:root {
    --ink: #1e201d;
    --ink-soft: #5e625b;
    --paper: #f6f7f9;
    --white: #ffffff;
    --line: #d9dcd5;
    --red: #cf2116;
    --red-dark: #bd190d;
    --blue: #3a76c5;
    --green: #2b7d68;
    --night: #171816;
    --serif: "Lora", Georgia, "Songti SC", "STSong", serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
svg { width: 1.05em; height: 1.05em; stroke-width: 1.8; }
:where(a, button, summary, select):focus-visible {
    outline: 3px solid #f4b53f;
    outline-offset: 4px;
}

/* A reading workspace introduces the product before the feature tour. */
.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 12px clamp(22px, 4vw, 68px);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; width: fit-content; text-decoration: none; font-weight: 700; }
.brand-logo { width: 36px; height: 36px; display: block; flex: 0 0 36px; border-radius: 5px; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 1.7vw, 28px); }
.site-nav a, .header-sign-in { color: var(--ink-soft); text-decoration: none; font-size: 12px; font-weight: 600; white-space: nowrap; }
.site-nav a:hover, .header-sign-in:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.language-switch { min-height: 44px; display: inline-grid; grid-template-columns: 36px 48px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: #f5f6f8; }
.language-switch button { display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--ink-soft); font-size: 11px; font-weight: 600; }
.language-switch button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px #202a3614; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 600; transition: background .18s ease, border-color .18s ease; }
.button-light { background: var(--ink); color: #fff; }
.button-light:hover { background: #383e35; }
.button-red { background: var(--red); color: #fff; }
.button-red:hover { background: var(--red-dark); }
.button-dark { margin-top: 28px; background: var(--night); color: #fff; }
.button[aria-disabled="true"] { background: #d7d9d4; color: #6e736b; cursor: default; pointer-events: none; }
.button-outline { border-color: #ffffff80; color: #fff; background: transparent; }
.menu-button { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
section[id], main[id] { scroll-margin-top: 100px; }
.hero {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(36px, 6vw, 96px);
    row-gap: 56px;
    padding: 64px clamp(24px, 6vw, 100px) 0;
    background: #f6f7f9;
    color: var(--ink);
}
.hero-content { min-width: 0; max-width: 580px; }
.eyebrow { margin: 0 0 16px; color: var(--red); font-size: 12px; line-height: 1.4; font-weight: 600; }
.hero-eyebrow { margin: 0 0 24px; color: var(--ink-soft); font-size: 14px; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(40px, 4vw, 60px); line-height: 1.16; font-weight: 500; letter-spacing: -.045em; }
.hero h1 span { display: block; }
html[lang="zh-CN"] .hero h1 { font-size: clamp(36px, 3.6vw, 54px); line-height: 1.38; letter-spacing: -.03em; }
.hero-copy { max-width: 470px; margin: 24px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 600; }
.text-link:hover { color: var(--red); }
.hero-start-note { margin: 16px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.hero-preview { min-width: 0; overflow: hidden; border: 1px solid #d5dce4; border-radius: 10px; background: #fff; box-shadow: 0 14px 36px #303b4a0a; }
.hero-preview-toolbar { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 22px; border-bottom: 1px solid #e7eaf0; background: #fcfcfd; }
.hero-preview-toolbar > span { display: flex; align-items: center; gap: 10px; color: #4b5667; font-size: 12px; }
.hero-preview-toolbar strong { font-weight: 500; }
.hero-preview-toolbar a { width: 44px; height: 44px; display: grid; place-items: center; color: #536477; }
.hero-preview-page { padding: 32px 34px 26px; }
.hero-preview-source { margin: 0 0 18px; color: #697483; font-size: 10px; }
.hero-preview-page h2 { margin: 0 0 22px; color: #293343; font: 500 clamp(28px, 3vw, 42px)/1.14 var(--serif); letter-spacing: -.03em; }
.hero-preview-page > p:not(.hero-preview-source) { margin: 0; color: #4c5663; font: 500 14px/1.85 var(--serif); }
.hero-preview-page > p.hero-preview-passage { margin-top: 14px; color: #66717f; }
#hero-word { margin: 0; padding: 2px 4px; border: 0; border-bottom: 2px solid #d3ad44; border-radius: 2px; background: #fcf0c6; color: #3d382b; font: inherit; }
#hero-word:hover { background: #f6e5a8; }
#hero-word[aria-expanded="false"] { border-bottom-style: dashed; }
.hero-word-note { margin: 0 22px 22px; padding: 18px 20px; border-left: 3px solid #517d70; border-radius: 0 6px 6px 0; background: #f0f5f3; }
.hero-word-note[hidden] { display: block; visibility: hidden; }
.hero-note-label { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; color: #45675c; font-size: 10px; }
.hero-note-word { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.hero-note-word strong { color: #283c35; font: 500 20px var(--serif); }
.hero-note-word > span { color: #53675f; font-size: 10px; }
.hero-word-note > p:not(.hero-note-label) { margin: 10px 0 0; color: #455b51; font-size: 12px; line-height: 1.65; }
.hero-word-note > p.hero-note-context { padding-top: 10px; border-top: 1px solid #d6e2dc; color: #52685e; font-size: 11px; }
.hero-preview-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; padding: 12px 22px; border-top: 1px solid #e7eaf0; color: #687384; font-size: 9px; line-height: 1.6; }
.hero-details { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin: 0; padding: 24px 0; border-top: 1px solid #dce2e8; list-style: none; color: #616a76; font-size: 12px; }
.hero-details li { display: flex; align-items: center; gap: 10px; }
.hero-details svg { width: 17px; height: 17px; color: #56685d; }
.product-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.journey {
    display: grid;
    grid-template-columns: minmax(240px, .85fr) minmax(0, 1.5fr);
    align-items: end;
    gap: clamp(32px, 5vw, 80px);
    padding: clamp(62px, 7vw, 104px) clamp(22px, 7vw, 112px);
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.journey-heading { max-width: 520px; }
.journey-heading h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(28px, 3.3vw, 44px);
    line-height: 1.08;
    font-weight: 500;
}
.journey-heading > p:last-child {
    margin: 20px 0 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
}
.journey-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid #bdc1b9;
    border-bottom: 1px solid #bdc1b9;
    list-style: none;
}
.journey-steps li + li { border-left: 1px solid #bdc1b9; }
.journey-steps a {
    min-height: 188px;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    align-items: start;
    gap: 12px;
    padding: 22px 18px 18px;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.journey-steps a:hover { background: #fff; }
.journey-steps a > span {
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}
.journey-steps strong {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
}
.journey-steps small {
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1.55;
}
.journey-steps svg {
    justify-self: end;
    color: var(--green);
    transition: transform .2s ease;
}
.journey-steps a:hover svg { transform: translate(3px, 3px); }

.section { padding: clamp(78px, 10vw, 150px) clamp(22px, 7vw, 112px); }
.section-heading { max-width: 820px; }
.section-heading h2, .context-copy h2, .listen-sticky h2, .final-copy h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 500;
}
.section-heading > p:last-child, .context-copy > p, .listen-intro {
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.75;
}

.section-pick {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(580px, 1.35fr);
    align-items: center;
    gap: clamp(48px, 8vw, 124px);
    background: #fff;
}
.pick-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(36px, 4.5vw, 64px); line-height: 1.08; font-weight: 500; }
.pick-copy > p:not(.eyebrow) { margin: 24px 0 0; color: var(--ink-soft); line-height: 1.75; }
.pick-features { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pick-features li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.pick-features svg { flex: 0 0 auto; color: var(--green); }
.pick-demo {
    position: relative;
    min-width: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid #cfd2cc;
    border-radius: 8px;
    background: #f3f1ec;
    box-shadow: 0 28px 70px rgba(28,31,27,.16);
}
.browser-bar { height: 48px; display: grid; grid-template-columns: 58px 1fr 30px; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid #d3d5d0; background: #f8f8f6; }
.browser-dots { display: flex; gap: 5px; }
.browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: #c9cbc6; }
.browser-dots i:first-child { background: #ec695f; }
.browser-dots i:nth-child(2) { background: #e7bd52; }
.browser-dots i:last-child { background: #66bd6a; }
.browser-address { min-width: 0; height: 28px; display: flex; align-items: center; gap: 7px; padding: 0 10px; overflow: hidden; border: 1px solid #dedfdb; border-radius: 5px; background: #fff; color: #6a6e67; font-size: 9px; }
.browser-address span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-extension-icon { width: 27px; height: 27px; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--serif); font-weight: 700; }
.source-page { height: calc(100% - 90px); padding: clamp(26px, 4vw, 54px) clamp(30px, 6vw, 82px); background: #fffdfa; }
.source-masthead { padding-bottom: 10px; border-bottom: 3px solid #e3120b; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.source-section { margin-top: 28px; color: #d51b13; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.source-page h3 { max-width: 70%; margin: 9px 0 12px; font-family: var(--serif); font-size: clamp(24px, 3.2vw, 45px); line-height: 1.08; }
.source-deck { max-width: 62%; margin: 0; color: #6b6b65; font-family: var(--serif); font-size: clamp(10px, 1.1vw, 14px); line-height: 1.55; }
.source-lines { width: 58%; margin-top: 24px; }
.source-lines i { display: block; height: 5px; margin-top: 8px; background: #deddd7; }
.source-lines i:nth-child(2) { width: 96%; }
.source-lines i:nth-child(3) { width: 86%; }
.source-lines i:nth-child(4) { width: 93%; }
.source-lines i:nth-child(5) { width: 72%; }
.pick-popup { position: absolute; z-index: 5; top: 40px; right: 14px; width: min(270px, 46%); padding: 18px; border: 1px solid #d7d9d3; border-radius: 7px; background: #fff; box-shadow: 0 18px 44px rgba(28,31,27,.22); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.pick-demo.popup-open .pick-popup { opacity: 1; visibility: visible; transform: none; }
.pick-popup-brand { display: flex; align-items: center; gap: 9px; }
.pick-popup-brand > span { width: 25px; height: 25px; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--serif); font-weight: 700; }
.pick-popup-brand strong { font-size: 12px; }
.pick-popup > p { margin: 17px 0 7px; color: #757a72; font-size: 9px; }
.pick-article-title { min-height: 38px; font-family: var(--serif); font-size: 13px; line-height: 1.4; }
.pick-sync-button { width: 100%; height: 36px; margin-top: 14px; padding: 0 10px; border: 0; border-radius: 5px; background: var(--night); color: #fff; font-size: 10px; font-weight: 700; }
.pick-sync-button span { align-items: center; justify-content: center; gap: 7px; }
.sync-idle { display: flex; }
.sync-working, .sync-done { display: none; }
.pick-demo.syncing .sync-idle, .pick-demo.done .sync-idle, .pick-demo.done .sync-working { display: none; }
.pick-demo.syncing .sync-working, .pick-demo.done .sync-done { display: flex; }
.pick-demo.syncing .sync-working svg { animation: pick-spin 1s linear infinite; }
.pick-demo.done .pick-sync-button { background: var(--green); }
.pick-progress { height: 2px; margin-top: 10px; overflow: hidden; background: #e1e3de; }
.pick-progress i { display: block; width: 0; height: 100%; background: var(--red); transition: width 1.3s ease; }
.pick-demo.syncing .pick-progress i { width: 68%; }
.pick-demo.done .pick-progress i { width: 100%; background: var(--green); }
.pick-popup small { display: block; margin-top: 10px; color: #92968f; font-size: 8px; }
.pick-cursor { position: absolute; z-index: 9; top: 18px; right: 14px; color: #161814; filter: drop-shadow(0 1px 1px #fff); pointer-events: none; transition: top .7s cubic-bezier(.2,.8,.2,1), right .7s cubic-bezier(.2,.8,.2,1); }
.pick-cursor svg { width: 24px; height: 24px; fill: #fff; stroke-width: 2; }
.pick-cursor::after { content: ""; position: absolute; left: -8px; top: -8px; width: 27px; height: 27px; border: 2px solid var(--blue); border-radius: 50%; opacity: 0; }
.pick-demo.popup-open .pick-cursor::after, .pick-demo.syncing .pick-cursor::after { animation: pick-click .45s ease-out; }
.pick-demo.syncing .pick-cursor, .pick-demo.done .pick-cursor { top: 58%; right: 18%; }
.pick-demo-caption { position: absolute; left: 0; right: 0; bottom: 0; height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-top: 1px solid #d8dad5; background: #fff; color: #6b7068; font-size: 9px; font-weight: 700; }
.pick-demo-caption > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.pick-demo-caption > span:first-child > i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(233,35,19,.1); }
.pick-install { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(280px, .72fr) minmax(580px, 1.35fr); gap: clamp(48px, 8vw, 124px); margin-top: 30px; padding-top: 58px; border-top: 1px solid var(--line); }
.pick-install-heading h3 { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.14; font-weight: 500; }
.pick-install-heading > p:last-child { margin: 18px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.pick-install-options { align-self: start; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.install-option { min-height: 64px; display: grid; grid-template-columns: 18px 1fr 16px; align-items: center; gap: 8px; padding: 11px 13px; border: 1px solid #cfd2cc; border-radius: 7px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.install-option:hover { transform: translateY(-2px); border-color: #9fa49b; box-shadow: 0 10px 24px rgba(28,31,27,.08); }
.install-option > svg:first-child { width: 15px; height: 15px; color: var(--green); }
.install-option > svg:last-child { width: 15px; height: 15px; color: #858a81; }
.install-option span { min-width: 0; }
.install-option strong, .install-option small { display: block; }
.install-option strong { font-size: 12px; }
.install-option small { margin-top: 4px; color: #7a7f77; font-size: 9px; line-height: 1.35; }
.install-option-primary { border-color: #242622; background: #242622; color: #fff; }
.install-option-primary:hover { border-color: #242622; box-shadow: 0 10px 24px rgba(28,31,27,.16); }
.install-option-primary > svg:first-child, .install-option-primary > svg:last-child { color: #fff; }
.install-option-primary small { color: #bfc3bb; }
.manual-install { grid-column: 2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.manual-install summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; font-size: 12px; font-weight: 700; }
.manual-install summary::-webkit-details-marker { display: none; }
.manual-install summary svg { transition: transform .18s ease; }
.manual-install[open] summary svg { transform: rotate(180deg); }
.manual-install ol { margin: 4px 0 18px; padding-left: 22px; color: #555a52; font-size: 12px; line-height: 1.8; }
.manual-install > p { margin: 0 0 14px; color: #777c74; font-size: 9px; line-height: 1.6; overflow-wrap: anywhere; }
.manual-install code { padding: 2px 4px; background: #f0f1ed; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.manual-install > a { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px; color: var(--green); font-size: 11px; font-weight: 700; }

.section-read { background: var(--paper); }
.surface-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1080px;
    margin: 64px 0 0;
    border-bottom: 1px solid #bfc3bb;
}
.surface-tab {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #777c73;
    font-size: 13px;
    font-weight: 700;
}
.surface-tab.active { color: var(--ink); border-bottom-color: var(--red); }
.availability-badge {
    padding: 4px 6px;
    border: 1px solid #b9bdb5;
    border-radius: 4px;
    color: #747970;
    font-size: 8px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}
.surface-layout {
    display: grid;
    grid-template-columns: minmax(260px, .68fr) minmax(560px, 1.5fr);
    align-items: center;
    gap: clamp(44px, 7vw, 112px);
    margin-top: 66px;
}
.surface-copy h3 { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3vw, 46px); line-height: 1.15; }
.surface-copy > p { color: var(--ink-soft); line-height: 1.75; }
.feature-lines { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.feature-lines li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.feature-lines svg { color: var(--green); }

.reader-demo {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #cfd2cc;
    border-radius: 8px;
    background: #f3f4f1;
    box-shadow: 0 28px 70px rgba(28,31,27,.18);
}
.surface-html-demo { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #f3f4f1; }
.surface-html-demo[hidden] { display: none; }
.surface-mock { width: 100%; height: 100%; }
.surface-mock[hidden] { display: none; }
.surface-article-mock { display: grid; grid-template-columns: 42px 22% minmax(0, 1fr) 25%; background: #f7f6f2; color: #30312e; }
.mock-reader-rail { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 15px 0; border-right: 1px solid #deddd7; background: #f0f1ed; color: #787c75; }
.mock-reader-rail svg { width: 14px; height: 14px; }
.mock-avatar { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #385f54; color: #fff; font-size: 9px; font-weight: 800; }
.mock-article-list { display: flex; flex-direction: column; gap: 7px; padding: 17px 10px; border-right: 1px solid #deddd7; background: #f6f6f3; }
.mock-article-list > strong { padding: 0 6px 8px; font-size: 10px; }
.mock-article-list span { padding: 8px 7px; border-radius: 5px; color: #747870; font: 600 8px/1.35 var(--sans); }
.mock-article-list span.active { background: #e4e9e5; color: #30342f; }
.mock-reader-page { min-width: 0; background: #fbfaf6; }
.mock-reader-toolbar { height: 42px; display: grid; grid-template-columns: 18px minmax(0, 1fr) 18px 18px; align-items: center; gap: 8px; padding: 0 13px; border-bottom: 1px solid #deddd7; color: #73776f; }
.mock-reader-toolbar strong { overflow: hidden; color: #4e514c; font-family: var(--serif); font-size: 9px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.mock-reader-toolbar svg { width: 13px; height: 13px; }
.mock-reader-page article { padding: 38px clamp(22px, 4.5vw, 52px); }
.mock-reader-page article small { color: var(--red); font-size: 6px; font-weight: 800; }
.mock-reader-page article h3 { margin: 10px 0 18px; font-family: var(--serif); font-size: clamp(19px, 2.6vw, 34px); line-height: 1.07; font-weight: 500; }
.mock-reader-page article p { margin: 0 0 13px; color: #666961; font: 12px/1.65 var(--serif); }
.mock-reader-page mark { padding: 1px 3px; border-radius: 3px; background: #dce9f6; color: inherit; }
.mock-footnotes { padding: 15px 12px; border-left: 1px solid #deddd7; background: #f6f5f1; }
.mock-note-tabs { display: flex; justify-content: space-between; padding: 0 2px 12px; border-bottom: 1px solid #deddd7; color: #777b74; font-size: 9px; }
.mock-note-tabs strong { color: #30322f; }
.mock-note-card { margin-top: 14px; padding: 13px; border: 1px solid #d9d7cf; border-radius: 6px; background: #fff; box-shadow: 0 8px 18px rgba(31,34,29,.05); }
.mock-note-card small { color: var(--green); font-size: 6px; font-weight: 800; }
.mock-note-card > strong { display: block; margin: 7px 0; font-family: var(--serif); font-size: 13px; }
.mock-note-card p { margin: 0 0 10px; color: #6c7068; font: 8px/1.5 var(--sans); }
.mock-note-card > span { color: var(--green); font-size: 7px; font-weight: 700; }
@keyframes mock-reader-highlight { 0%, 18%, 100% { background: transparent; } 35%, 75% { background: #dce9f6; } }
.surface-vocab-mock { padding: 18px clamp(24px, 7vw, 70px) 28px; background: #f3f4f1; color: #30312e; }
.mock-vocab-header { display: flex; align-items: center; justify-content: space-between; }
.mock-vocab-header > div { display: grid; gap: 2px; }
.mock-vocab-header strong { font-family: var(--serif); font-size: 13px; }
.mock-vocab-header small { color: #92968f; font-size: 5px; }
.mock-vocab-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border: 1px solid #dedfd9; border-radius: 5px; background: #e8e9e5; color: #777b74; font-size: 8px; text-align: center; }
.mock-vocab-tabs > * { padding: 7px; }
.mock-vocab-tabs strong { border-radius: 4px; background: #fff; color: #30322f; box-shadow: 0 1px 4px rgba(28,30,27,.08); }
.mock-vocab-filters { display: flex; gap: 7px; margin: 13px 0 10px; color: #747870; font-size: 6px; }
.mock-vocab-filters span { padding: 4px 7px; border-radius: 9px; }
.mock-vocab-filters span.active { background: #fee5e0; color: var(--red); }
.mock-vocab-card { max-width: 540px; margin: auto; padding: 20px 23px 16px; border-top: 2px solid var(--red); border-radius: 6px; background: #fff; box-shadow: 0 14px 35px rgba(29,32,27,.12); }
.mock-vocab-card > small { color: var(--red); font-size: 6px; font-weight: 800; }
.mock-vocab-word { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.mock-vocab-word h3 { margin: 0; font-family: var(--serif); font-size: 24px; }
.mock-pronunciation { width: 23px; height: 23px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #edf3f1; color: var(--green); }
.mock-vocab-word svg { width: 12px; height: 12px; }
.mock-phonetic { margin: 3px 0 10px; color: #769489; font-size: 8px; }
.mock-vocab-card blockquote { margin: 0 0 10px; padding: 7px 9px; border-left: 2px solid var(--red); background: #faf8f4; color: #6e716b; font: 9px/1.45 var(--serif); }
.mock-vocab-definition { padding: 10px; border-radius: 5px; background: #eaf4ef; }
.mock-vocab-definition strong { font: 700 9px/1.4 var(--sans); }
.mock-vocab-definition p { margin: 5px 0 0; color: #5f6862; font: 8px/1.45 var(--sans); }
.mock-vocab-source { margin-top: 9px; color: #8b8f88; font-size: 6px; }
.mock-review-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.mock-review-actions span { padding: 6px 3px; border: 1px solid #d8dad4; border-radius: 4px; background: #fff; color: #646861; font: 700 7px var(--sans); text-align: center; }
.mock-review-actions span:nth-child(3) { border-color: #80ad9c; background: #eef6f2; color: #356c59;  }
@keyframes mock-review-choice { 0%, 20%, 100% { box-shadow: none; } 38%, 75% { box-shadow: 0 0 0 3px rgba(53,108,89,.13); } }
.surface-demo-unavailable { width: 100%; aspect-ratio: 16 / 10; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 28px; background: #eceee9; color: #777c74; text-align: center; }
.surface-demo-unavailable[hidden] { display: none; }
.surface-demo-unavailable svg { width: 36px; height: 36px; color: var(--green); }
.surface-demo-unavailable strong { color: var(--ink); font-family: var(--serif); font-size: clamp(22px, 2.5vw, 34px); font-weight: 500; }
.surface-demo-unavailable span { font-size: 11px; }
.surface-demo-shot {
    margin: 0;
    width: 100%;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #eceee9;
}
.surface-demo-shot[hidden] { display: none; }
.surface-demo-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #eceee9;
}
.surface-demo-shot.is-phone {
    background:
        radial-gradient(circle at 18% 12%, rgba(255,255,255,.55), transparent 42%),
        linear-gradient(160deg, #e7ebe6 0%, #dfe4de 100%);
}
.surface-demo-shot.is-phone img {
    width: auto;
    max-width: 42%;
    height: 92%;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(28, 32, 27, .18);
}
.reader-demo-caption {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 14px;
    border-top: 1px solid #d8dad5;
    background: #fff;
    color: #62665f;
    font-size: 10px;
    font-weight: 700;
}
.reader-demo-caption > span { display: inline-flex; align-items: center; gap: 7px; }
.reader-demo-caption > span > i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(233,35,19,.1); }
.reader-demo-caption a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }
.reader-demo-caption a[hidden] { display: none; }

.section-listen { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(360px, 1fr); gap: clamp(70px, 10vw, 160px); background: var(--night); color: #f5f5f2; }
.listen-sticky { align-self: start; position: sticky; top: 90px; }
.listen-icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 40px; border: 1px solid #555953; border-radius: 50%; color: #fff; }
.listen-icon svg { width: 25px; height: 25px; }
.listen-sticky .eyebrow { color: #77b8a5; }
.listen-intro { color: #aeb3aa; }
.listen-modes { border-top: 1px solid #484b46; }
.audio-reader-demo { position: relative; overflow: hidden; margin: 0 0 34px; border: 1px solid #555a53; border-radius: 8px; background: #f8f7f3; color: #292a27; box-shadow: 0 26px 65px rgba(0,0,0,.24); }
.audio-demo-toolbar { position: relative; min-height: 54px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 0 14px 0 18px; border-bottom: 1px solid #d9d8d2; background: rgba(255,255,255,.92); }
.audio-demo-title { overflow: hidden; color: #555851; font-family: var(--serif); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.audio-demo-status { color: #70746d; font-size: 9px; font-weight: 700; white-space: nowrap; }
.audio-demo-controls { position: relative; display: flex; align-items: center; gap: 3px; min-width: 28px; }
.audio-demo-icon { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #656962; cursor: pointer; }
.audio-demo-icon:hover, .audio-reader-demo[data-audio-state="menu"] .audio-demo-main, .audio-reader-demo[data-audio-state="playing"] .audio-demo-main, .audio-reader-demo[data-audio-state="paused"] .audio-demo-main { background: #eeede8; color: #20211f; }
.audio-demo-icon svg { width: 16px; height: 16px; }
.audio-demo-stop, .audio-demo-speed { display: none; }
.audio-reader-demo[data-audio-state="playing"] .audio-demo-stop, .audio-reader-demo[data-audio-state="paused"] .audio-demo-stop, .audio-reader-demo[data-audio-state="playing"] .audio-demo-speed, .audio-reader-demo[data-audio-state="paused"] .audio-demo-speed { display: grid; }
.audio-demo-speed { width: 56px; height: 44px; padding: 0 4px; border: 1px solid #d5d3cb; border-radius: 6px; background: #fff; color: #3e413c; font-size: 10px; }
.audio-demo-menu { position: absolute; z-index: 4; top: 48px; right: 0; width: 206px; display: none; gap: 2px; padding: 6px; border: 1px solid #d7d5ce; border-radius: 8px; background: #fff; box-shadow: 0 15px 35px rgba(30,32,28,.16); }
.audio-reader-demo[data-audio-state="menu"] .audio-demo-menu { display: grid; }
.audio-demo-menu button { min-height: 44px; display: flex; align-items: center; gap: 9px; padding: 6px 9px; border: 0; border-radius: 6px; background: transparent; color: #2f312e; font: 700 10px var(--sans); text-align: left; cursor: pointer; }
.audio-demo-menu button:hover, .audio-demo-menu button.demo-target { background: #f0efea; }
.audio-demo-menu svg { width: 15px; height: 15px; color: #6a7068; }
.audio-demo-progress { height: 3px; background: #e3e1db; }
.audio-demo-progress span { display: block; width: 0; height: 100%; background: var(--red); transition: width .25s linear; }
.audio-reader-demo[data-audio-state="playing"] .audio-demo-progress span { animation: audio-demo-progress 8s linear forwards; }
.audio-reader-demo[data-audio-state="paused"] .audio-demo-progress span { width: 48%; }
.audio-demo-page { min-height: 310px; padding: 45px clamp(28px, 6vw, 66px) 58px; background: #f8f7f3; }
.audio-demo-kicker { margin: 0 0 14px; color: var(--red); font-size: 8px; font-weight: 800; }
.audio-demo-page h3 { max-width: 520px; margin: 0; font-family: var(--serif); font-size: clamp(25px, 3.2vw, 39px); line-height: 1.08; font-weight: 500; }
.audio-demo-dialogue { margin-top: 32px; border-top: 1px solid #d6d5cf; }
.audio-demo-dialogue p { display: grid; grid-template-columns: 48px 1fr; gap: 12px; margin: 0; padding: 13px 10px; color: #5d605a; font-family: var(--serif); font-size: 12px; line-height: 1.55; transition: background .2s ease; }
.audio-demo-dialogue strong { color: #20221f; font-family: var(--sans); font-size: 9px; text-transform: uppercase; }
.audio-reader-demo[data-audio-state="playing"] .audio-demo-dialogue p:first-child, .audio-reader-demo[data-audio-state="paused"] .audio-demo-dialogue p:first-child { background: #dce9f6; }
.audio-demo-caption { min-height: 42px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 12px 14px; border-top: 1px solid #d8d7d1; background: #fff; color: #696d66; font-size: 9px; font-weight: 500; line-height: 1.6; }
.audio-demo-caption span { display: inline-flex; align-items: center; gap: 7px; }
.audio-demo-caption i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(233,35,19,.1); }
.audio-demo-cursor { position: absolute; z-index: 6; top: 18px; right: 25px; width: 15px; height: 20px; opacity: 0; pointer-events: none; transform: rotate(-18deg); transition: top .45s ease, right .45s ease, opacity .2s ease; }
.audio-demo-cursor::before { content: ""; position: absolute; inset: 0; background: #151613; clip-path: polygon(0 0, 85% 70%, 48% 72%, 31% 100%); }
.audio-reader-demo.auto-demo .audio-demo-cursor { opacity: 1; }
.audio-reader-demo.auto-demo[data-audio-state="menu"] .audio-demo-cursor { top: 112px; right: 92px; }
.audio-reader-demo.auto-demo[data-audio-state="playing"] .audio-demo-cursor { top: 18px; right: 84px; }
@keyframes audio-demo-progress { from { width: 4%; } to { width: 82%; } }
.listen-mode { display: grid; grid-template-columns: 46px 1fr; gap: 26px; padding: 44px 0 54px; border-bottom: 1px solid #484b46; }
.listen-mode > span { color: #7c8279; font-size: 12px; }
.listen-mode h3 { margin: 0; font-family: var(--serif); font-size: clamp(25px, 2.8vw, 38px); font-weight: 500; }
.listen-mode p { margin: 15px 0 0; color: #aeb3aa; line-height: 1.72; }

.section-context { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(420px, 1fr); align-items: center; gap: clamp(70px, 11vw, 170px); background: #eef3f1; }
.context-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.context-actions span { padding: 9px 13px; border: 1px solid #bacbc4; border-radius: 6px; color: #255c4b; font-size: 12px; font-weight: 700; }
.definition-demo { max-width: 600px; padding: clamp(26px, 4vw, 48px); border: 1px solid #bfcfc9; border-radius: 8px; background: #fff; box-shadow: 0 22px 55px rgba(27,63,52,.1); }
.definition-word { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.word-label { font-family: var(--serif); font-size: clamp(30px, 4vw, 50px); }
.definition-pronunciation { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #bfd2cb; border-radius: 50%; background: #eef5f2; color: #27634f; }
.ipa { margin: 5px 0 22px; color: var(--green); font-size: 14px; }
.definition { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.65; }
.context-quote { margin-top: 28px; padding: 20px 0 0 22px; border-top: 1px solid #d8e3df; border-left: 3px solid var(--blue); }
.context-quote span { color: var(--blue); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.context-quote p { margin: 9px 0 0; color: #4d5752; font-size: 13px; line-height: 1.65; }
.definition-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; padding-top: 16px; border-top: 1px solid #d8e3df; color: #77817b; font-size: 10px; }
.definition-footer .definition-add { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 0; border-radius: 5px; background: var(--blue); color: #fff; font-weight: 700; }

.section-intelligence { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(540px, 1.22fr); gap: clamp(52px, 8vw, 120px); background: #f5f5f2; }
.intelligence-heading { grid-column: 1 / -1; max-width: 980px; }
.intelligence-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(40px, 5.5vw, 76px); line-height: 1.05; font-weight: 500; }
.intelligence-heading > p:last-child { max-width: 760px; margin: 24px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.ai-capabilities { border-top: 1px solid #cfd2cb; }
.ai-capabilities article { display: grid; grid-template-columns: 26px 28px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid #cfd2cb; }
.ai-capabilities article > span { color: #989d94; font-size: 9px; font-weight: 800; }
.ai-capabilities article > svg { width: 24px; height: 24px; color: var(--green); }
.ai-capabilities h3 { margin: 0; font-size: 15px; }
.ai-capabilities p { margin: 9px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.boundary-demo { align-self: start; min-width: 0; padding: clamp(24px, 3.3vw, 42px); border: 1px solid #c8ccc4; border-radius: 8px; background: #fff; box-shadow: 0 24px 58px rgba(28,31,27,.1); }
.boundary-demo-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.boundary-kicker { display: block; margin-bottom: 9px; color: var(--green); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.boundary-demo-header strong { display: block; font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); line-height: 1; font-weight: 500; }
.boundary-demo-header strong small { color: #7b8078; font-family: var(--sans); font-size: 10px; font-weight: 600; }
.boundary-live { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid #cddbd5; border-radius: 5px; color: #276650; font-size: 9px; font-weight: 700; white-space: nowrap; }
.boundary-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(43,125,104,.1); }
.boundary-range-row { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; color: #747971; font-size: 10px; }
.boundary-range-row strong { color: var(--ink); }
.boundary-scale { position: relative; height: 9px; margin-top: 10px; border-radius: 4px; background: linear-gradient(90deg, #dce9e2 0 34%, #d9e3f1 34% 68%, #eee2c9 68% 100%); }
.boundary-scale-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 56%; border-radius: 4px; background: rgba(43,125,104,.58); transition: width .45s ease; }
.boundary-marker { position: absolute; left: 56%; top: -6px; width: 2px; height: 21px; background: var(--ink); transition: left .45s ease; }
.boundary-marker span { position: absolute; right: 0; bottom: 27px; width: max-content; transform: translateX(50%); color: var(--ink); font-size: 8px; font-weight: 800; }
.boundary-scale-labels { display: flex; justify-content: space-between; margin-top: 9px; color: #92978e; font-size: 8px; }
.boundary-context { margin-top: 30px; padding: 19px 0; border-top: 1px solid #e0e2dd; border-bottom: 1px solid #e0e2dd; }
.boundary-context > span { color: #888d84; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.boundary-context p { margin: 9px 0 0; font-family: var(--serif); font-size: clamp(15px, 1.5vw, 19px); line-height: 1.65; }
.boundary-word { padding: 1px 2px; border-bottom: 2px solid #e0a832; background: rgba(243,188,67,.18); color: inherit; transition: background .25s ease, border-color .25s ease; }
.boundary-demo[data-feedback="known"] .boundary-word { border-bottom-color: transparent; background: transparent; }
.boundary-evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; padding: 20px 0; border-bottom: 1px solid #e0e2dd; }
.boundary-evidence > div { display: flex; align-items: center; gap: 8px; color: #5e635b; font-size: 9px; }
.boundary-evidence svg { flex: 0 0 auto; color: var(--green); }
.boundary-feedback { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; }
.boundary-feedback > div:first-child strong, .boundary-feedback > div:first-child span { display: block; }
.boundary-feedback > div:first-child strong { font-size: 11px; }
.boundary-feedback > div:first-child span { margin-top: 5px; color: #858a82; font-size: 9px; }
.boundary-feedback-actions { display: inline-grid; grid-template-columns: 1fr 1fr; flex: 0 0 auto; padding: 2px; border: 1px solid #d3d6d0; border-radius: 6px; background: #f2f3ef; }
.boundary-feedback-actions button { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; border: 0; border-radius: 4px; background: transparent; color: #555a52; font-size: 9px; font-weight: 700; }
.boundary-feedback-actions button.active { background: #fff; color: var(--green); box-shadow: 0 1px 4px rgba(28,31,27,.1); }
.boundary-settings-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; color: var(--green); font-size: 10px; font-weight: 700; text-decoration: none; }
.boundary-demo[data-feedback="known"] .boundary-scale-fill { width: 61%; }
.boundary-demo[data-feedback="known"] .boundary-marker { left: 61%; }
.boundary-demo[data-feedback="learning"] .boundary-scale-fill { width: 52%; }
.boundary-demo[data-feedback="learning"] .boundary-marker { left: 52%; }

.section-remember { background: #fff; }
.learning-flow { display: grid; grid-template-columns: 1fr 72px 1fr 72px 1fr; align-items: start; margin-top: 82px; }
.flow-step > span { color: var(--red); font-size: 11px; font-weight: 800; }
.flow-step > svg { width: 34px; height: 34px; display: block; margin: 30px 0 24px; color: var(--green); }
.flow-step h3 { margin: 0; font-family: var(--serif); font-size: 28px; }
.flow-step p { max-width: 260px; margin: 13px 0 0; color: var(--ink-soft); line-height: 1.65; }
.flow-line { height: 1px; margin-top: 66px; background: #bfc4bc; }
.ownership-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 100px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ownership-row > div { padding: 42px clamp(20px, 3vw, 42px); border-right: 1px solid var(--line); }
.ownership-row > div:first-child { padding-left: 0; }
.ownership-row > div:last-child { border-right: 0; }
.ownership-row svg { width: 25px; height: 25px; color: var(--blue); }
.ownership-row h3 { margin: 24px 0 10px; font-size: 17px; }
.ownership-row p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }

.section-groups {
    display: grid;
    grid-template-columns: minmax(300px, .78fr) minmax(560px, 1.22fr);
    align-items: center;
    gap: clamp(54px, 8vw, 120px);
    background: #eef1ec;
}
.groups-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(40px, 5.2vw, 72px); line-height: 1.06; font-weight: 500; }
.groups-copy > p:not(.eyebrow) { max-width: 640px; margin: 24px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.group-principles { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid #c8cec5; }
.group-principles li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 19px 0; border-bottom: 1px solid #c8cec5; }
.group-principles li > span { color: var(--red); font-size: 9px; font-weight: 800; }
.group-principles strong { font-size: 13px; }
.group-preview {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #c7ccc4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(28,31,27,.14);
}
.group-preview-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid #dde0da; background: #f8f8f5; }
.group-preview-identity { min-width: 0; display: flex; align-items: center; gap: 12px; }
.group-preview-avatar { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 50%; background: #315f53; color: #fff; font-family: var(--serif); font-size: 13px; font-weight: 700; }
.group-preview-identity small, .group-preview-identity strong { display: block; }
.group-preview-identity small { margin-bottom: 4px; color: #878c84; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.group-preview-identity strong { overflow: hidden; font-family: var(--serif); font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.group-preview-members { display: inline-flex; align-items: center; gap: 7px; color: #686e65; font-size: 9px; font-weight: 700; white-space: nowrap; }
.group-preview-members svg { width: 14px; height: 14px; color: var(--green); }
.group-preview-toolbar { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 20px; border-bottom: 1px solid #e1e3de; }
.group-preview-toolbar strong, .group-preview-toolbar span { display: block; }
.group-preview-toolbar strong { font-size: 12px; }
.group-preview-toolbar div > span { margin-top: 4px; color: #8a8f87; font-size: 8px; }
.group-preview-live { display: inline-flex !important; align-items: center; gap: 7px; color: #39715f; font-size: 8px !important; font-weight: 800; }
.group-preview-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(43,125,104,.1);  }
.group-preview-article { position: relative; min-height: 128px; padding: 21px 160px 21px 20px; border-bottom: 1px solid #e1e3de; transition: background .2s ease; }
.group-preview-article:hover { background: #fafbf8; }
.group-preview-article.is-new { box-shadow: inset 3px 0 0 var(--red); }
.group-preview-source { color: #71776e; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.group-preview-source span { display: inline-block; margin-left: 7px; padding: 3px 5px; border-radius: 3px; background: #fee8e4; color: var(--red); font-size: 7px; }
.group-preview-article h3 { max-width: 420px; margin: 10px 0 7px; font-family: var(--serif); font-size: clamp(17px, 2vw, 23px); line-height: 1.22; font-weight: 500; }
.group-preview-article p { margin: 0; color: #92978f; font-size: 8px; }
.group-preview-import, .group-preview-imported { position: absolute; top: 50%; right: 20px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transform: translateY(-50%); }
.group-preview-import { padding: 0 11px; border: 0; border-radius: 5px; background: var(--night); color: #fff; font-size: 8px; font-weight: 800; }
.group-preview-import svg, .group-preview-imported svg { width: 12px; height: 12px; }
.group-preview-imported { color: var(--green); font-size: 8px; font-weight: 800; }
.group-preview-footer { min-height: 76px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 17px; padding: 15px 20px; background: #f8f8f5; }
.group-preview-faces { display: flex; padding-left: 7px; }
.group-preview-faces span { width: 27px; height: 27px; display: grid; place-items: center; margin-left: -7px; border: 2px solid #f8f8f5; border-radius: 50%; background: #dce7e2; color: #285a4c; font-size: 7px; font-weight: 800; }
.group-preview-faces span:nth-child(2) { background: #e4e5ef; color: #4e5274; }
.group-preview-faces span:nth-child(3) { background: #efe4d8; color: #775f47; }
.group-preview-faces span:last-child { background: #e7e8e4; color: #737870; }
.group-preview-footer p { max-width: 440px; margin: 0; color: #737970; font-size: 9px; line-height: 1.55; }

.final-cta { min-height: 560px; display: flex; align-items: center; padding: clamp(80px, 11vw, 160px) clamp(22px, 8vw, 132px); background: #20231f; color: #fff; }
.final-copy { max-width: 880px; }
.final-copy .eyebrow { color: #7db7a6; }
.final-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

footer { min-height: 120px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 30px clamp(22px, 5vw, 76px); background: #111210; color: #d6d8d3; }
footer p { margin: 0; color: #7f847c; font-size: 12px; }
footer > div { justify-self: end; display: flex; gap: 22px; }
footer > div a { color: #aeb2ab; font-size: 12px; text-decoration: none; }
footer > .site-registration { grid-column: 1 / -1; justify-self: center; color: #aeb2ab; font-size: 12px; line-height: 1.6; text-decoration: none; }
footer > .site-registration:hover { text-decoration: underline; }

.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes hero-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes cue { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes progress { from { width: 22%; } to { width: 68%; } }
@keyframes pick-spin { to { transform: rotate(360deg); } }
@keyframes pick-click { 0% { opacity: .9; transform: scale(.35); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes group-preview-pulse { 0%, 100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }

@media (max-width: 1020px) {
    .site-header { min-height: 72px; }
    .site-nav { display: none; }
    .menu-button { display: grid; }
    .site-nav.open { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 18px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 12px 18px #202a360a; }
    .site-nav.open a { min-height: 44px; display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid #e9ecef; }
    .hero { column-gap: 32px; padding-top: 44px; }
    .hero h1 { font-size: 38px; }
    .hero-preview-page { padding: 26px 24px; }
    .hero-preview-page h2 { font-size: 30px; }
    .hero-actions { gap: 10px 16px; }
    .journey { grid-template-columns: 1fr; align-items: start; }
    .journey-heading { max-width: 680px; }
    .section-pick { grid-template-columns: 1fr; }
    .pick-copy { max-width: 720px; }
    .pick-install { grid-template-columns: 1fr; gap: 30px; }
    .manual-install { grid-column: 1; }
    .surface-layout { grid-template-columns: 1fr; }
    .surface-copy { max-width: 660px; }
    .section-listen, .section-context { grid-template-columns: 1fr; }
    .section-intelligence { grid-template-columns: 1fr; }
    .section-groups { grid-template-columns: 1fr; }
    .groups-copy { max-width: 720px; }
    .group-preview { width: 100%; max-width: 820px; }
    .listen-sticky { position: static; max-width: 700px; }
    .definition-demo { width: 100%; max-width: 760px; }
}

@media (max-width: 720px) {
    .site-header { min-height: 68px; gap: 12px; padding: 10px 18px; }
    .header-sign-in, .header-actions .button { display: none; }
    .header-actions { gap: 8px; }
    .language-switch { grid-template-columns: 34px 44px; }
    .site-nav.open { padding-inline: 18px; }
    .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 38px 20px 0; }
    .hero-content { max-width: 560px; }
    .hero-eyebrow { margin-bottom: 18px; font-size: 12px; }
    .hero h1 { font-size: clamp(34px, 8.4vw, 48px); }
    html[lang="zh-CN"] .hero h1 { font-size: clamp(32px, 8.4vw, 48px); }
    .hero-copy { margin-top: 18px; font-size: 14px; line-height: 1.8; }
    .hero-actions { margin-top: 22px; gap: 12px 20px; }
    .hero-start-note { margin-top: 10px; font-size: 11px; }
    .hero-preview-page { padding: 28px 24px; }
    .hero-preview-page h2 { font-size: 32px; }
    .hero-word-note { margin-inline: 16px; padding: 16px; }
    .hero-preview-footer { padding-inline: 16px; }
    .hero-details { justify-content: flex-start; gap: 14px 24px; padding: 20px 0; font-size: 11px; }
    .journey { gap: 38px; padding: 62px 18px; }
    .journey-steps { grid-template-columns: 1fr 1fr; }
    .journey-steps li + li { border-left: 0; }
    .journey-steps li:nth-child(even) { border-left: 1px solid #bdc1b9; }
    .journey-steps li:nth-child(n + 3) { border-top: 1px solid #bdc1b9; }
    .journey-steps a { min-height: 154px; }
    .section { padding: 72px 18px; }
    .section-pick { gap: 48px; }
    .pick-demo { aspect-ratio: 4 / 3; }
    .source-page { padding: 24px 20px; }
    .source-page h3 { max-width: 78%; font-size: 27px; }
    .source-deck { max-width: 72%; }
    .pick-popup { width: 54%; padding: 13px; }
    .pick-popup > p { margin-top: 12px; }
    .pick-install { margin-top: 6px; padding-top: 42px; }
    .pick-install-options { grid-template-columns: 1fr; }
    .surface-tabs { grid-template-columns: 1fr; border-top: 1px solid #bfc3bb; }
    .surface-tab { justify-content: flex-start; padding: 0 10px; border-bottom: 1px solid #bfc3bb; border-left: 3px solid transparent; }
    .surface-tab.active { border-left-color: var(--red); border-bottom-color: #bfc3bb; }
    .surface-layout { margin-top: 48px; }
    .surface-article-mock { grid-template-columns: 34px minmax(0, 1fr); }
    .mock-article-list, .mock-footnotes { display: none; }
    .mock-reader-rail { gap: 16px; padding-top: 11px; }
    .mock-reader-page article { padding: 25px 19px; }
    .mock-reader-page article h3 { font-size: 24px; }
    .mock-reader-page article p { font-size: 10px; }
    .surface-vocab-mock { padding: 14px 14px 22px; }
    .mock-vocab-tabs { margin-top: 12px; }
    .mock-vocab-card { padding: 15px 15px 12px; }
    .mock-vocab-definition p { display: none; }
    .section-listen { gap: 62px; }
    .listen-mode { grid-template-columns: 32px 1fr; gap: 14px; }
    .audio-demo-toolbar { grid-template-columns: minmax(0, 1fr) auto; }
    .audio-demo-status { display: none; }
    .audio-demo-page { min-height: 280px; padding: 36px 22px 52px; }
    .audio-demo-caption { font-size: 8px; }
    .section-context { gap: 54px; }
    .section-intelligence { gap: 48px; }
    .boundary-demo-header, .boundary-feedback { align-items: flex-start; flex-direction: column; }
    .boundary-feedback-actions { width: 100%; }
    .boundary-feedback-actions button { min-width: 0; }
    .definition-demo { padding: 24px 20px; }
    .definition-footer { align-items: flex-start; flex-direction: column; }
    .learning-flow { grid-template-columns: 1fr; gap: 46px; margin-top: 58px; }
    .flow-line { display: none; }
    .flow-step > svg { margin-top: 20px; }
    .ownership-row { grid-template-columns: 1fr; margin-top: 72px; }
    .ownership-row > div, .ownership-row > div:first-child { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .ownership-row > div:last-child { border-bottom: 0; }
    .section-groups { gap: 52px; }
    .group-preview-header, .group-preview-toolbar { padding-inline: 15px; }
    .group-preview-article { min-height: 154px; padding: 18px 15px 62px; }
    .group-preview-import, .group-preview-imported { top: auto; right: auto; bottom: 17px; left: 15px; transform: none; }
    .group-preview-footer { grid-template-columns: 1fr; gap: 10px; padding-inline: 15px; }
    .final-cta { min-height: 520px; padding: 76px 18px; }
    .final-actions { align-items: stretch; flex-direction: column; }
    footer { grid-template-columns: 1fr; align-items: start; }
    footer > div { justify-self: start; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

.product-skip-link { position: fixed; z-index: 100; top: -100px; left: 16px; padding: 12px 18px; background: white; color: #171816; }
.product-skip-link:focus { top: 12px; }
.section-agent { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,7vw,110px); align-items: center; background: #182320; color: #f5f5f2; }
.agent-copy { max-width: 620px; }
.agent-copy .eyebrow { color: #b8cebc; }
.agent-copy h2 { font: 500 clamp(38px,4.5vw,64px)/1.1 var(--serif); letter-spacing: -.035em; margin: 18px 0 24px; }
.agent-copy > p:not(.eyebrow) { color: #c0cdc5; font-size: 16px; line-height: 1.85; }
.agent-principles { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 21px; }
.agent-principles strong { display: block; font-size: 14px; margin-bottom: 6px; }
.agent-principles span { display: block; color: #c0cdc5; font-size: 13px; line-height: 1.75; }
.agent-manual-link { display: inline-flex; gap: 8px; align-items: center; margin: 20px 0 0 20px; font-size: 13px; text-underline-offset: 5px; }
.agent-demo { padding: clamp(22px,3vw,38px); background: #f5f5f2; color: #1e201d; border-radius: 18px; min-width: 0; }
.agent-demo-top { display:flex; justify-content:space-between; font-weight:600; font-size:13px; margin-bottom:34px; }
.agent-user-bubble { margin-left:15%; padding:17px 20px; border-radius:16px 16px 3px 16px; background:#e8ece7; font-size:14px; line-height:1.65; }
.agent-preview-card { padding:24px; margin-top:24px; border:1px solid #d9dcd5; border-radius:14px; background:white; }
.agent-preview-card h3 { font:500 24px/1.3 var(--serif); margin:12px 0; }
.agent-preview-card p { font-size:13px; line-height:1.8; color:#5e625b; }
.agent-preview-state { display:inline-block; padding:9px 12px; background:#ecf1eb; border-radius:6px; font-size:11px; }
.agent-demo-input { margin:26px 0 12px; padding:15px; border:1px solid #d9dcd5; border-radius:12px; font-size:12px; color:#5e625b; }
.agent-caption { font-size:10px; line-height:1.5; color:#5e625b; }
.agent-guide { border-top:1px solid #d9dcd5; margin-top:24px; padding-top:20px; }
.agent-guide h3 { font-size:15px; margin:0 0 10px; }
.agent-guide p { font-size:12px; line-height:1.7; color:#5e625b; }
.agent-guide a { font-size:13px; text-underline-offset:4px; }
@media (max-width:1020px) { .section-agent { grid-template-columns:1fr; } .agent-copy { max-width:760px; } }
@media (max-width:720px) { .section-agent { gap:36px; } .agent-manual-link { margin-left:0; display:flex; width:fit-content; } }

/* Headings: keep the last line from holding one or two stray characters. */
h1, h2, h3 { text-wrap: balance; }
/* Inline text links: give them a comfortable touch target without moving the text. */
#surface-demo-link, .boundary-settings-link, .agent-manual-link, .agent-guide a, .pick-install details a, footer > div a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
@media (max-width:720px) { .agent-manual-link { display: flex; } footer > div { gap: 0 22px; } }
#surface-link[hidden], #surface-demo-link[hidden] { display: none; }
