:root {
    --landing-ink: #111111;
    --landing-muted: #6d6d6d;
    --landing-line: rgba(255,255,255,0.1);
    --landing-paper: #f4f1ed;
    --landing-white: #ffffff;
    --landing-dark: #0b0b0b;
    --landing-orange: #f45b0a;
    --landing-orange-soft: rgba(244, 91, 10, 0.14);
    --landing-surface: #171717;
    --landing-surface-2: #1f1f1f;
    --landing-surface-3: #262626;
    --landing-font: var(--cs-font-sans, "Geist", "Avenir Next", sans-serif);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--landing-ink); background: var(--landing-paper); font-family: var(--landing-font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.landing-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 0 max(5vw, 24px); border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(11,11,11,.86); backdrop-filter: blur(18px); }
.landing-brand { display: inline-flex; align-items: center; gap: 10px; color: #ffffff; font-size: 1.08rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.landing-brand img { width: 38px; height: 38px; object-fit: contain; }
.landing-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 38px; }
.landing-nav a,.login-link { color: rgba(255,255,255,.72); font-size: .88rem; font-weight: 500; text-decoration: none; transition: color .18s ease; }
.landing-nav a:hover,.login-link:hover { color: var(--landing-orange); }
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: 16px; flex: 0 0 auto; }
.landing-language-switch { position: relative; flex: 0 0 auto; margin: 0; }
.landing-language-menu { position: relative; }
.landing-language-menu summary { display: grid; width: 36px; height: 36px; place-items: center; list-style: none; border: 0; border-radius: 6px; color: rgba(255,255,255,.78); cursor: pointer; transition: background .16s ease, color .16s ease; }
.landing-language-menu summary::-webkit-details-marker { display: none; }
.landing-language-menu summary:hover,.landing-language-menu[open] summary { background: rgba(255,255,255,.06); color: #ffffff; }
.landing-language-menu summary svg { width: 19px; height: 19px; }
.landing-language-options { position: absolute; top: calc(100% + 7px); right: 0; z-index: 25; display: none; min-width: 140px; flex-direction: column; gap: 2px; margin: 0; padding: 4px; list-style: none; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; background: #151515; box-shadow: none; }
.landing-language-menu[open] .landing-language-options { display: flex; }
.landing-language-options li { margin: 0; padding: 0; }
.landing-language-options button { display: flex; width: 100%; min-height: 34px; align-items: center; justify-content: flex-start; padding: 0 9px; border: 0; border-radius: 4px; background: transparent; color: rgba(255,255,255,.74); font: 500 .78rem/1.2 var(--landing-font); text-align: left; cursor: pointer; transition: background .16s ease, color .16s ease; }
.landing-language-options button:hover { color: #ffffff; background: rgba(255,255,255,.06); }
.landing-language-options button.is-active { background: var(--landing-orange); color: #111111; }
.landing-language-options button:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--landing-orange); outline-offset: 2px; }
.signup-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 17px; border-radius: 999px; background: var(--landing-orange); color: #111111; font-size: .85rem; font-weight: 700; text-decoration: none; transition: transform .18s ease, filter .18s ease; }
.signup-link:hover { filter: brightness(1.08); transform: translateY(-1px); }
.nav-toggle { display: none; }
.nav-toggle .close-icon { display: none; }
.nav-toggle[aria-expanded="true"] .menu-icon { display: none; }
.nav-toggle[aria-expanded="true"] .close-icon { display: block; }

.hero { position: relative; display: flex; min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); flex-direction: column; justify-content: center; isolation: isolate; overflow: hidden; padding: 92px max(5vw, 24px) 28px; background: linear-gradient(180deg, #0a0a0a 0%, #111111 35%, #0e0e0e 100%); color: #f4f5f1; }
.hero::before { position: absolute; z-index: 0; inset: 0; background: radial-gradient(ellipse 50% 38% at 50% 70%, rgba(244,91,10,.2), transparent 100%), radial-gradient(ellipse 90% 65% at 50% 105%, rgba(244,91,10,.07), transparent 76%); animation: hero-light-breathe 7s ease-in-out infinite alternate; content: ""; pointer-events: none; }
@keyframes hero-light-breathe { from { opacity: .68; } to { opacity: 1; } }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); justify-items: stretch; gap: clamp(24px, 3vw, 48px); align-items: center; width: min(100%, 1600px); margin: 0 auto; }
.hero-copy { position: relative; z-index: 1; width: 100%; max-width: 620px; margin: 0; text-align: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.68); font: 500 .68rem/1.4 "Geist Mono", monospace; letter-spacing: .11em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--landing-orange); box-shadow: 0 0 0 5px rgba(244,91,10,.16); }
.hero h1 { margin: 20px 0 16px; color: #ffffff; font-size: clamp(2.6rem, 3.8vw, 4rem); font-weight: 600; line-height: 0.96; letter-spacing: -0.06em; }
.hero h1 br + span { color: var(--landing-orange); }
.hero-copy > p { max-width: 650px; margin: 0; color: rgba(255,255,255,.72); font-size: 1.08rem; line-height: 1.7; }
.hero-copy > .hero-promise { margin-top: 12px; color: rgba(244,91,10,.92); font-size: .9rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.primary-cta { display: inline-flex; align-items: center; gap: 25px; min-height: 52px; margin-top: 27px; padding: 0 22px; border: 1px solid rgba(244,91,10,.9); border-radius: 999px; background: var(--landing-orange); color: #111111; font-size: .88rem; font-weight: 700; text-decoration: none; box-shadow: 0 18px 34px rgba(244,91,10,.25); transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.primary-cta:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 20px 40px rgba(244,91,10,.35); }
.primary-cta span { font-size: 1.1rem; }
.hero-media { width: 100%; min-width: 0; }
.hero-video-frame { overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: #050505; box-shadow: 0 24px 64px rgba(0,0,0,.4); }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-video[hidden] { display: none; }
.hero-video-dots { display: flex; justify-content: center; gap: 7px; margin-top: 13px; }
.hero-video-dot { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.hero-video-dot::before { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.42); content: ""; transition: background .2s ease, transform .2s ease; }
.hero-video-dot.is-active::before { background: var(--landing-orange); transform: scale(1.35); }
.hero-video-dot:focus-visible { outline: 2px solid var(--landing-orange); outline-offset: 1px; }
.window-bar { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 17px; border-bottom: 1px solid #e1e6e2; background: #fff; }
.window-controls { display: flex; gap: 6px; width: 100px; }
.window-controls i { width: 8px; height: 8px; border-radius: 50%; background: var(--landing-orange); }
.window-controls i:nth-child(2) { background: #e4c38b; }
.window-controls i:nth-child(3) { background: #9bc7a9; }
.window-title { display: inline-flex; align-items: center; gap: 8px; color: #303a35; font-size: .78rem; font-weight: 600; }
.window-title img { width: 20px; height: 20px; }
.window-title > span { color: #a4aca7; font-weight: 400; }
.window-state { display: inline-flex; align-items: center; gap: 7px; width: 100px; justify-content: flex-end; color: #748078; font: 500 .67rem/1 "Geist Mono", monospace; }
.window-state i { width: 6px; height: 6px; border-radius: 50%; background: #63a67c; }
.window-content { display: grid; grid-template-columns: 66px minmax(0,1fr); min-height: 345px; }
.preview-rail { display: flex; flex-direction: column; align-items: center; gap: 17px; padding: 17px 0; border-right: 1px solid #e1e6e2; background: #f0f3f0; }
.rail-brand { display: grid; width: 32px; height: 32px; place-items: center; margin-bottom: 7px; border: 1px solid #d8dfda; border-radius: 7px; background: #fff; }
.rail-brand img { width: 21px; height: 21px; }
.rail-line { width: 23px; height: 23px; border: 1px solid #d8dfda; border-radius: 6px; }
.rail-line.active { border-color: var(--landing-orange); background: var(--landing-orange); }
.rail-line.short { height: 18px; }
.rail-bottom { flex: 1; }
.preview-main { width: min(100%, 790px); margin: 0 auto; padding: 32px 5.5% 25px; color: var(--landing-ink); }
.preview-kicker { display: flex; justify-content: space-between; color: #78857d; font: 500 .62rem/1 "Geist Mono", monospace; letter-spacing: .1em; }
.preview-kicker span { color: var(--landing-orange); }
.preview-main h2 { margin: 16px 0 4px; font-size: 1.35rem; font-weight: 600; }
.preview-prompt { margin: 0 0 11px; color: #6d7972; font-size: .84rem; }
.equation-image { display: flex; align-items: center; min-height: 88px; padding: 14px 18px; border: 1px solid #27302c; border-radius: 6px; background: #202426; }
.equation-image img { display: block; width: 192px; height: 58px; max-width: 100%; object-fit: contain; }
.preview-answer { display: flex; gap: 12px; max-width: 620px; margin-top: 20px; }
.answer-mark { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: 1px solid #e2e8e3; border-radius: 7px; background: white; }
.answer-mark img { width: 20px; height: 20px; }
.answer-label { color: #76827b; font: 500 .62rem/1.4 "Geist Mono", monospace; letter-spacing: .08em; }
.preview-answer p { margin: 5px 0 0; color: #3c4841; font-size: .85rem; line-height: 1.6; }
.preview-composer { display: flex; align-items: center; justify-content: space-between; height: 42px; margin-top: 18px; padding: 0 9px 0 13px; border: 1px solid #dfe5e0; border-radius: 7px; background: #fff; color: #9aa39d; font-size: .75rem; }
.composer-send { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 5px; background: var(--landing-ink); color: white; font-size: 1rem; }
.scroll-cue { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; margin-top: 42px; color: #b6c4bc; font-size: .77rem; text-decoration: none; }
.scroll-cue span { width: 18px; height: 27px; border: 1px solid #86958c; border-radius: 10px; position: relative; }
.scroll-cue span::after { position: absolute; top: 5px; left: 7px; width: 2px; height: 5px; background: var(--landing-mint); content: ""; }

@media (max-width: 760px) {
    .hero { padding: 66px max(6vw, 22px) 28px; }
    .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .hero-copy { max-width: 600px; margin: 0 auto; text-align: center; }
    .hero-copy > p { margin-right: auto; margin-left: auto; }
    .hero-media { width: min(100%, 620px); margin: 0 auto; }
    .scroll-cue { margin-top: 32px; }
}

.section-wrap { padding: 100px max(8vw, 28px); }
.features { background: #ffffff; }
.dark-eyebrow { color: var(--landing-muted); }
.features-heading { max-width: 680px; }
.features-heading h2,.pricing-heading h2,.contact-intro h2,.faq-heading h2 { margin: 17px 0 14px; font-size: clamp(2.3rem, 3vw, 3.2rem); font-weight: 650; line-height: 1.06; letter-spacing: -0.04em; }
.features-heading > p,.pricing-heading > p,.contact-intro > p { max-width: 440px; color: var(--landing-muted); font-size: .95rem; line-height: 1.75; }
.feature-showcase { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: clamp(32px,6vw,82px); align-items: center; margin-top: 48px; }
.feature-series { margin-top: 52px; border-top: 1px solid var(--landing-line); }
.feature-row { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(32px,7vw,96px); align-items: center; padding: 38px 0; border-bottom: 1px solid var(--landing-line); }
.feature-row-reverse .feature-row-copy { order: 2; }
.feature-row-reverse > img { order: 1; }
.feature-row-copy { min-width: 0; }
.feature-row-index { color: var(--landing-orange); font: 500 .64rem/1.4 "Geist Mono", monospace; letter-spacing: .06em; }
.feature-row-copy h3 { margin: 16px 0 5px; color: var(--landing-ink); font-size: 1.12rem; font-weight: 600; }
.feature-row-copy h3:not(:first-of-type) { margin-top: 23px; }
.feature-row-copy p { margin: 0; color: var(--landing-muted); font-size: .86rem; line-height: 1.65; }
.feature-row > img { display: block; width: 100%; max-height: 410px; border: 1px solid #e0e6e1; border-radius: 6px; background: #f1f4f1; object-fit: contain; }
.motion-ready .scroll-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready .scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }
.feature-tabs { border-top: 1px solid var(--landing-line); }
.feature-tab { display: grid; grid-template-columns: 34px minmax(0,1fr) 24px; align-items: center; gap: 13px; width: 100%; min-height: 82px; padding: 12px 7px; border: 0; border-bottom: 1px solid var(--landing-line); background: transparent; color: var(--landing-ink); font: inherit; text-align: left; cursor: pointer; transition: background .18s ease, padding .18s ease; }
.feature-tab:hover,.feature-tab[aria-selected="true"] { padding-right: 13px; padding-left: 13px; background: #f4f7f4; }
.feature-tab:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--landing-orange); outline-offset: 2px; }
.feature-tab-index { color: #89958e; font: 500 .68rem/1 "Geist Mono", monospace; }
.feature-tab[aria-selected="true"] .feature-tab-index { color: var(--landing-orange); }
.feature-tab-copy { display: grid; gap: 5px; min-width: 0; }
.feature-tab-copy strong { font-size: .93rem; font-weight: 600; }
.feature-tab-copy > span { color: var(--landing-muted); font-size: .77rem; line-height: 1.45; }
.feature-tab-arrow { color: #9aa49d; font-size: 1rem; text-align: right; transition: color .18s ease, transform .18s ease; }
.feature-tab[aria-selected="true"] .feature-tab-arrow { color: var(--landing-orange); transform: translate(2px,-2px); }
.feature-preview { min-width: 0; padding: 18px; border-radius: 6px; background: #edf2ee; }
.math-scene { position: absolute; z-index: 0; inset: 0; display: block; width: 100%; height: 100%; background: #000; pointer-events: none; }
.feature-preview-heading { display: flex; justify-content: space-between; gap: 12px; padding: 0 2px 14px; color: #637169; font: 500 .59rem/1.3 "Geist Mono", monospace; letter-spacing: .04em; }
.feature-preview-heading > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.feature-preview-heading i { width: 6px; height: 6px; border-radius: 50%; background: #5aa27a; }
.feature-preview-label { text-align: right; }
.feature-preview-screen { overflow: hidden; min-height: 420px; border: 1px solid #dce4de; border-radius: 5px; background: #fff; }
.feature-panel { min-height: 420px; }
.feature-panel[hidden] { display: none; }
.feature-screenshot { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; background: #f4f6f5; }
.preview-chrome { display: flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border-bottom: 1px solid #e7ece8; background: #fbfcfb; }
.preview-chrome > span { width: 6px; height: 6px; border-radius: 50%; background: var(--landing-orange); }
.preview-chrome > span:nth-child(2) { background: #e6c689; }
.preview-chrome > span:nth-child(3) { background: #92c4a0; }
.preview-chrome b { overflow: hidden; margin: 0 auto; color: #78847c; font-size: .61rem; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.mock-chat-layout { display: grid; grid-template-columns: 38px minmax(0,1fr); min-height: 326px; }
.mock-rail { display: flex; flex-direction: column; align-items: center; gap: 13px; padding: 13px 0; border-right: 1px solid #edf0ed; background: #f6f8f6; }
.mock-rail img { width: 22px; height: 22px; margin-bottom: 5px; }
.mock-rail i { width: 16px; height: 16px; border: 1px solid #dce4de; border-radius: 5px; }
.mock-rail i:first-of-type { border-color: var(--landing-orange); background: var(--landing-orange); }
.mock-chat-content { display: flex; flex-direction: column; min-width: 0; padding: 18px clamp(14px,3vw,27px) 14px; }
.mock-chat-meta { display: flex; justify-content: space-between; gap: 8px; color: #76837b; font: 500 .57rem/1.3 "Geist Mono", monospace; }
.mock-online { color: #53916e; }
.mock-question { align-self: flex-end; max-width: 90%; margin: 17px 0 16px; padding: 10px 12px; border-radius: 8px 8px 2px 8px; background: #edf3ef; color: #39463f; font-size: .75rem; line-height: 1.55; }
.mock-answer { display: flex; align-items: flex-start; gap: 9px; color: #39463f; font-size: .7rem; line-height: 1.55; }
.mock-answer-mark { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; border: 1px solid #e2e8e3; border-radius: 6px; }
.mock-answer-mark img { width: 16px; height: 16px; }
.mock-answer p { margin: 4px 0; color: #68756d; }
.mock-equation { margin: 8px 0; padding: 9px 11px; border-left: 2px solid var(--landing-orange); background: #f8f8f5; color: #24322b; font-family: Georgia,serif; font-size: .89rem; }
.mock-composer { display: flex; align-items: center; justify-content: space-between; min-height: 34px; margin-top: auto; padding: 0 7px 0 10px; border: 1px solid #e1e7e2; border-radius: 5px; color: #9aa39d; font-size: .63rem; }
.mock-composer span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 4px; background: var(--landing-ink); color: white; font-size: .85rem; }
.mock-calculator,.mock-keyboard-view,.mock-image-view,.mock-test-view { width: min(100% - 36px,390px); margin: 20px auto 10px; }
.mock-calc-top { display: flex; justify-content: space-around; padding: 7px 4px; border: 1px solid #e3e8e5; border-radius: 5px; background: #f8faf8; color: #718078; font: 500 .52rem/1 "Geist Mono", monospace; }
.mock-calc-top span:nth-child(2) { color: var(--landing-orange); }
.mock-calc-display { display: grid; gap: 7px; min-height: 92px; margin: 10px 0; padding: 12px; border: 1px solid #e1e7e2; border-radius: 6px; }
.mock-calc-display small,.mock-input-label { color: #818d85; font: 500 .54rem/1.3 "Geist Mono", monospace; letter-spacing: .06em; }
.mock-calc-display strong { color: #25332c; font: 1rem/1.25 Georgia,serif; }
.mock-calc-display > span { color: #578064; font: .83rem/1.3 Georgia,serif; }
.mock-keypad { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; }
.mock-keypad > span { display: grid; min-height: 32px; place-items: center; border: 1px solid #e7ebe8; border-radius: 5px; background: #fff; color: #425149; font: 600 .72rem/1.1 Georgia,serif; }
.mock-keypad > span:nth-child(4n) { color: #4282a0; }
.mock-keypad > span:last-child { background: #548f75; color: white; }
.mock-equation-input { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 88px; margin: 10px 0 14px; border-bottom: 1px solid #e8ece9; color: #27352d; font: 1.3rem/1.2 Georgia,serif; }
.mock-fraction { display: inline-grid; text-align: center; font-size: .95rem; }
.mock-fraction b { padding: 0 4px 3px; border-bottom: 1px solid currentColor; font-weight: 400; }
.mock-fraction i { padding-top: 3px; font-style: normal; }
.mock-caret { width: 1px; height: 22px; background: var(--landing-orange); animation: blink 1.2s step-end infinite; }
.mock-keyboard { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; }
.mock-keyboard > span { display: grid; min-height: 36px; place-items: center; border: 1px solid #e2e8e3; border-radius: 5px; background: #fbfcfb; color: #3e5147; font: 600 .72rem/1 Georgia,serif; }
.mock-keyboard .mock-frac-key { line-height: .8; }
.mock-keyboard .mock-space-key { grid-column: span 2; color: #78847d; font: 500 .57rem/1 var(--landing-font); }
.mock-photo { position: relative; display: grid; min-height: 115px; margin: 12px 0; place-items: center; overflow: hidden; border: 1px solid #e1e7e2; background: #22252a; }
.mock-photo img { width: min(100%,285px); height: 72px; object-fit: contain; }
.mock-photo > span { position: absolute; right: 8px; bottom: 7px; color: #fff; font: 500 .5rem/1 "Geist Mono",monospace; letter-spacing: .05em; }
.mock-image-answer { display: flex; gap: 8px; align-items: flex-start; color: #435148; font-size: .64rem; line-height: 1.5; }
.mock-image-answer p { margin: 3px 0; color: #748078; }
.mock-test-top { display: flex; justify-content: space-between; gap: 8px; color: #718078; font: 500 .52rem/1.3 "Geist Mono",monospace; }
.mock-progress { height: 4px; margin: 9px 0 21px; background: #e9efeb; }
.mock-progress i { display: block; width: 34%; height: 100%; background: #72a58a; }
.mock-test-view h3 { margin: 0 0 12px; color: #344139; font-size: .84rem; font-weight: 550; }
.mock-test-equation { margin-bottom: 13px; color: #25332b; font: 1.1rem/1.3 Georgia,serif; }
.feature-panel .math-render,.feature-panel .math-render .katex { color: var(--landing-orange); }
.math-latex-layer { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.math-latex-equation { position: absolute; display: block; color: var(--landing-orange); opacity: .66; font-size: 1.15rem; animation: latex-drift 9s ease-in-out infinite alternate; }
.math-latex-equation .katex { color: inherit; }
@keyframes latex-drift { to { transform: translate3d(var(--drift-x, 32px),var(--drift-y, -26px),0) rotate(var(--drift-rotation, 2deg)); } }
.mock-choice { display: flex; align-items: center; gap: 8px; min-height: 32px; margin-top: 6px; padding: 4px 8px; border: 1px solid #e3e9e4; border-radius: 4px; color: #516057; font-size: .65rem; }
.mock-choice i { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: #f1f5f2; color: #647269; font: normal 500 .55rem/1 "Geist Mono",monospace; }
.feature-preview-link { display: flex; align-items: center; justify-content: space-between; min-height: 42px; margin: 0 18px; border-top: 1px solid #edf0ed; color: #40554a; font-size: .7rem; font-weight: 600; text-decoration: none; }
.feature-preview-link span { color: var(--landing-orange); font-size: .94rem; }

.platform { background: linear-gradient(180deg, #f2f0ee 0%, #f7f5f3 100%); }
.platform-heading { max-width: 700px; }
.platform-heading h2 { margin: 17px 0 14px; color: var(--landing-ink); font-size: clamp(2.3rem, 3vw, 3.2rem); font-weight: 650; line-height: 1.06; letter-spacing: -0.04em; }
.platform-heading > p { max-width: 500px; color: var(--landing-muted); font-size: .95rem; line-height: 1.75; }
.platform-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 16px; margin-top: 38px; }
.platform-item { display: flex; min-width: 0; grid-column: span 2; flex-direction: column; overflow: hidden; padding: 0 20px 20px; border: 1px solid rgba(17,17,17,.08); border-radius: 18px; background: rgba(255,255,255,.8); box-shadow: 0 14px 32px rgba(17,17,17,.04); }
.platform-item:nth-child(4) { grid-column: 2 / span 2; }
.platform-item:nth-child(5) { grid-column: 4 / span 2; }
.platform-visual { position: relative; display: flex; height: 132px; flex: 0 0 auto; align-items: center; justify-content: center; margin: 0 -20px 18px; overflow: hidden; border-bottom: 1px solid #e4eae5; }
.society-visual { background: #edf3ee; }
.books-visual { background: #f5eee7; }
.practice-visual { background: #eaf1f3; }
.class-visual { background: #f1efe6; }
.account-visual { background: #edf0e9; }
.visual-window { position: absolute; top: 16px; left: 18px; display: flex; gap: 4px; }
.visual-window span { width: 5px; height: 5px; border-radius: 50%; background: #b6c4ba; }
.visual-window span:first-child { background: #e48a68; }
.society-post { position: absolute; top: 35px; left: 22px; display: flex; width: 67%; gap: 8px; align-items: center; padding: 8px; border: 1px solid #e0e7e1; border-radius: 5px; background: #fff; box-shadow: 0 4px 10px rgba(39,58,47,.05); }
.society-post > i,.class-members i { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #dcebe1; color: #536d5b; font: normal 500 .48rem/1 "Geist Mono",monospace; }
.society-post > div { display: grid; width: 100%; gap: 5px; }
.society-post b,.society-post span,.book-page span,.book-question span,.class-lines span,.account-caption span { display: block; height: 4px; border-radius: 4px; background: #dfe7e0; }
.society-post b { width: 52%; background: #aebdb2; }
.society-post span { width: 86%; }
.society-post-second { top: 74px; left: auto; right: 18px; width: 62%; }
.society-post-second > i { background: #f2e3d8; color: #93644d; }
.society-reactions { position: absolute; bottom: 17px; left: 26px; display: flex; gap: 4px; }
.society-reactions span { width: 10px; height: 4px; border-radius: 4px; background: #c9d8cd; }
.society-reactions span:first-child { background: #e88968; }
.book-page { display: flex; width: 72px; height: 88px; flex-direction: column; gap: 7px; padding: 10px 9px; border: 1px solid #e5d9cd; border-radius: 4px; background: #fff; box-shadow: 0 5px 12px rgba(74,54,39,.07); transform: rotate(-5deg); }
.book-page b { margin-bottom: 1px; color: #d27b54; font: 600 .48rem/1 "Geist Mono",monospace; }
.book-page span { width: 100%; height: 3px; background: #e8e4de; }
.book-page span:nth-of-type(2) { width: 72%; }
.book-selection { display: flex; gap: 5px; margin: 31px 0 0 8px; }
.book-selection i { display: grid; width: 25px; height: 32px; place-items: center; border: 1px solid #dedbd5; border-radius: 3px; background: #fff; color: #8d928c; font: normal 500 .52rem/1 "Geist Mono",monospace; }
.book-selection i.selected { border-color: #dd9b78; background: #f8e8dc; color: #a46142; }
.book-question { position: absolute; right: 17px; bottom: 15px; display: grid; width: 102px; gap: 6px; padding: 8px; border: 1px solid #e6ddd3; border-radius: 4px; background: rgba(255,255,255,.92); }
.book-question span:first-child { width: 84%; }
.book-question span:nth-child(2) { width: 60%; }
.book-question i { position: absolute; right: 7px; bottom: 7px; color: #d37a54; font: normal .7rem/1 sans-serif; }
.practice-score { display: flex; width: 113px; height: 72px; align-items: center; gap: 7px; padding: 10px; border: 1px solid #dce5e7; border-radius: 5px; background: #fff; }
.practice-score b { color: #315a60; font-size: 1.9rem; font-weight: 600; }
.practice-score > span { color: #748488; font: 500 .49rem/1.45 "Geist Mono",monospace; }
.practice-score i { display: grid; width: 20px; height: 20px; margin-left: auto; place-items: center; border-radius: 50%; background: #dcece3; color: #4b8262; font: normal .7rem/1 sans-serif; }
.practice-bars { display: flex; height: 66px; align-items: end; gap: 5px; margin-left: 14px; }
.practice-bars span { width: 8px; height: 35%; border-radius: 2px 2px 0 0; background: #9dc5c6; }
.practice-bars span:nth-child(2) { height: 62%; }
.practice-bars span:nth-child(3) { height: 47%; background: #e5a078; }
.practice-bars span:nth-child(4) { height: 82%; }
.practice-labels { position: absolute; right: 18px; bottom: 17px; display: flex; gap: 4px; }
.practice-labels i { width: 14px; height: 3px; border-radius: 3px; background: #cbd9db; }
.class-badge { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid #ded9c8; border-radius: 7px; background: #fff; color: #867857; font-size: 1.15rem; font-weight: 600; }
.class-members { display: flex; margin-left: 15px; }
.class-members i { width: 28px; height: 28px; margin-left: -5px; border: 2px solid #f1efe6; background: #d8e6d9; }
.class-members i:nth-child(2) { background: #efddcb; color: #866a50; }
.class-members i:nth-child(3) { background: #dce5eb; color: #536b79; }
.class-members i:nth-child(4) { background: #fff; color: #72766d; }
.class-lines { position: absolute; right: 18px; bottom: 15px; display: flex; width: 29%; flex-direction: column; gap: 5px; }
.class-lines span { width: 100%; height: 3px; background: #d9d8ca; }
.class-lines span:nth-child(2) { width: 73%; }
.class-lines span:nth-child(3) { width: 88%; }
.account-meter { display: flex; width: 170px; height: 49px; align-items: center; gap: 4px; padding: 8px; border: 1px solid #dce3db; border-radius: 5px; background: #fff; }
.account-meter span { width: 13px; height: 22px; border-radius: 2px; background: #dce8df; }
.account-meter span:nth-child(-n+5) { background: #7eaa8d; }
.account-meter b { margin-left: auto; color: #4d7159; font: 600 .7rem/1 "Geist Mono",monospace; }
.account-chart { display: flex; height: 52px; align-items: end; gap: 5px; margin-left: 13px; }
.account-chart i { width: 7px; height: 35%; border-radius: 2px 2px 0 0; background: #a9c5ac; }
.account-chart i:nth-child(2) { height: 55%; }
.account-chart i:nth-child(3) { height: 42%; }
.account-chart i:nth-child(4) { height: 78%; background: #e7a07a; }
.account-chart i:nth-child(5) { height: 62%; }
.account-chart i:nth-child(6) { height: 90%; }
.account-chart i:nth-child(7) { height: 72%; }
.account-caption { position: absolute; right: 20px; bottom: 16px; display: grid; width: 30%; gap: 5px; }
.account-caption span { width: 100%; height: 3px; background: #d4dfd4; }
.account-caption span:last-child { width: 64%; }
.platform-index { color: #7d8b81; font: 500 .63rem/1.4 "Geist Mono",monospace; letter-spacing: .06em; }
.platform-item h3 { margin: 9px 0 6px; color: var(--landing-ink); font-size: 1.08rem; font-weight: 600; line-height: 1.35; }
.platform-item p { max-width: 540px; margin: 0; color: #59665e; font-size: .81rem; line-height: 1.6; }
.platform-item > a { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; color: #3e5548; font-size: .76rem; font-weight: 600; text-decoration: none; }
.platform-item > a span { color: var(--landing-orange); font-size: .95rem; transition: transform .18s ease; }
.platform-item > a:hover span { transform: translate(2px,-2px); }
.platform-item > a:focus-visible { outline: 2px solid var(--landing-orange); outline-offset: 4px; }
.platform-item-wide { grid-column: 4 / span 2; }

.pricing { background: linear-gradient(180deg, #131313 0%, #0e0e0e 100%); color: #f5f5f3; }
.pricing-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pricing-topline > a { color: rgba(255,255,255,.7); font-size: .8rem; font-weight: 600; text-decoration: none; }
.pricing-topline > a span { margin-left: 7px; color: var(--landing-orange); }
.pricing-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 14px 0 36px; }
.pricing-heading h2 { margin-bottom: 0; color: #ffffff; }
.pricing-heading > p { max-width: 370px; margin-bottom: 4px; color: rgba(255,255,255,.72); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 25px 24px 23px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.04); }
.featured-plan { border-color: var(--landing-orange); background: rgba(244,91,10,.06); box-shadow: 0 18px 40px rgba(244,91,10,.12); }
.price-head { display: flex; align-items: center; justify-content: space-between; }
.price-head h3 { margin: 0; font-size: 1.03rem; font-weight: 600; }
.plan-index { color: #89958e; font: 500 .65rem/1 "Geist Mono", monospace; }
.price { display: flex; align-items: baseline; gap: 7px; margin: 22px 0 8px; }
.price > span { font-size: 2.55rem; font-weight: 600; line-height: 1; }
.price-allowance > span { font-size: 1.05rem; line-height: 1.35; }
.price small { color: var(--landing-muted); font-size: .77rem; }
.price-summary { min-height: 43px; margin: 0; color: var(--landing-muted); font-size: .82rem; line-height: 1.55; }
.price-card ul { display: grid; gap: 11px; margin: 21px 0 24px; padding: 18px 0 0; border-top: 1px solid #e8ece8; list-style: none; }
.price-card li { position: relative; padding-left: 17px; color: #46524b; font-size: .77rem; line-height: 1.4; }
.price-card li::before { position: absolute; top: 0; left: 0; color: var(--landing-orange); content: "✓"; font-weight: 700; }
.price-button { display: flex; align-items: center; justify-content: center; min-height: 43px; margin-top: auto; border: 1px solid #bfcac2; border-radius: 5px; color: var(--landing-ink); font-size: .82rem; font-weight: 600; text-decoration: none; transition: background .18s ease, color .18s ease; }
.price-button:hover { background: var(--landing-ink); color: white; }
.featured-button { border-color: var(--landing-orange); background: var(--landing-orange); color: #241d19; }
.featured-button:hover { filter: brightness(.92); color: white; }
.featured-note { position: absolute; top: -10px; right: 18px; padding: 5px 8px; background: var(--landing-orange); color: #fff; font: 500 .58rem/1 "Geist Mono", monospace; letter-spacing: .08em; }
.pricing-note { margin: 18px 0 0; color: #758078; font-size: .72rem; }

.contact { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(240px,.8fr) minmax(0,1.2fr); gap: 9vw; background: linear-gradient(180deg, #0a0a0a 0%, #111111 100%); color: #f5f6f3; }
.contact > :not(.math-scene):not(.math-latex-layer) { position: relative; z-index: 1; }
.contact .eyebrow { color: rgba(244,91,10,.9); }
.contact-intro h2 { color: #fff; }
.contact-intro > p { color: rgba(255,255,255,.72); }
.contact-list { border-top: 1px solid rgba(255,255,255,.08); }
.contact-list > a { display: grid; grid-template-columns: minmax(100px,.65fr) minmax(0,1.3fr) 24px; align-items: center; gap: 12px; min-height: 78px; border-bottom: 1px solid rgba(255,255,255,.08); text-decoration: none; }
.contact-list > a > span:first-child { color: rgba(255,255,255,.7); font-size: .77rem; }
.contact-list strong { overflow-wrap: anywhere; color: #f5f6f3; font-size: .96rem; font-weight: 500; }
.contact-arrow { color: var(--landing-orange); text-align: right; transition: transform .18s ease; }
.contact-list > a:hover .contact-arrow { transform: translate(3px,-3px); }

.faq { display: grid; grid-template-columns: minmax(220px,.75fr) minmax(0,1.25fr); gap: 9vw; background: #ffffff; }
.faq-heading h2 { max-width: 300px; }
.faq-list { border-top: 1px solid var(--landing-line); }
.faq-list details { border-bottom: 1px solid var(--landing-line); }
.faq-list summary { position: relative; padding: 21px 35px 21px 0; color: #2d3933; font-size: .91rem; font-weight: 550; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 4px; color: var(--landing-orange); content: "+"; font-size: 1.2rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 600px; margin: -4px 0 21px; color: var(--landing-muted); font-size: .84rem; line-height: 1.7; }

.landing-footer { padding: 58px max(8vw,28px) 18px; background: #e5ebe6; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; padding-bottom: 46px; }
.footer-brand { font-size: 1.05rem; }
.footer-brand img { width: 34px; height: 34px; }
.footer-brand-block p { max-width: 250px; margin: 15px 0 0; color: #66736b; font-size: .84rem; line-height: 1.6; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-column h2 { margin: 4px 0 5px; color: #4c5b52; font: 500 .65rem/1.2 "Geist Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.footer-column a { max-width: 100%; color: #39463f; font-size: .8rem; text-decoration: none; overflow-wrap: anywhere; }
.footer-column a:hover,.footer-bottom a:hover { color: var(--landing-orange); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 54px; border-top: 1px solid #cfd8d1; color: #69756d; font-size: .71rem; }
.footer-bottom > div { display: flex; gap: 20px; }
.footer-bottom a { color: #56635b; text-decoration: none; }
.back-top { white-space: nowrap; }

.legal-page { min-height: 100vh; background: var(--landing-paper); }
.legal-home-link { color: #46514c; font-size: .84rem; text-decoration: none; }
.legal-main { width: min(760px,calc(100% - 40px)); margin: 0 auto; padding: 64px 0 90px; }
.legal-back { display: inline-block; margin-bottom: 38px; color: #56635b; font-size: .82rem; text-decoration: none; }
.legal-main h1 { margin: 15px 0 8px; font-size: 3rem; font-weight: 600; }
.legal-updated { margin: 0 0 40px; color: #7b867f; font-size: .8rem; }
.legal-section { padding: 22px 0; border-top: 1px solid var(--landing-line); }
.legal-section h2 { margin: 0 0 9px; font-size: 1.04rem; font-weight: 600; }
.legal-section p { margin: 0; color: #5e6b63; font-size: .92rem; line-height: 1.8; }
.legal-contact { margin-top: 30px; color: #59665e; font-size: .9rem; }
.legal-contact a { color: var(--landing-orange); }
.legal-footer { display: flex; gap: 24px; align-items: center; padding: 18px max(5vw,20px); border-top: 1px solid var(--landing-line); color: #6b776f; font-size: .74rem; }
.legal-footer a { color: #46534b; text-decoration: none; }
.refund-main { max-width: 860px; }
.refund-intro { margin-bottom: 40px; }
.refund-intro h1 { max-width: 720px; }
.refund-intro > p:last-child { max-width: 680px; color: #59665e; font-size: 1rem; line-height: 1.75; }
.refund-callout { margin: 22px 0 32px; padding: 20px 22px; border-left: 3px solid var(--landing-orange); background: #fff; color: #536159; font-size: .9rem; line-height: 1.75; }
.refund-section { padding: 26px 0; border-top: 1px solid var(--landing-line); scroll-margin-top: 20px; }
.refund-section h2 { margin: 0 0 12px; font-size: 1.18rem; font-weight: 600; }
.refund-section p,.refund-section li { color: #536159; font-size: .9rem; line-height: 1.8; }
.refund-section p { margin: 0 0 12px; }
.refund-section ul { margin: 8px 0 15px; padding-left: 22px; }
.refund-section li { margin: 5px 0; padding-left: 3px; }
.refund-section a { color: var(--landing-orange); overflow-wrap: anywhere; }
.refund-review-note { padding: 15px 17px; border: 1px solid var(--landing-line); background: rgba(255,255,255,.65); color: #536159; font-size: .85rem; line-height: 1.7; }
.privacy-main { width: min(1120px,calc(100% - 48px)); padding-top: 48px; }
.privacy-heading { max-width: 780px; padding: 26px 0 38px; }
.privacy-heading .legal-back { margin-bottom: 26px; }
.privacy-heading h1 { max-width: 700px; font-size: clamp(2.6rem,5vw,4.8rem); line-height: 1.04; }
.privacy-heading .legal-updated { margin-top: 16px; }
.privacy-lede { max-width: 660px; margin: 20px 0 0; color: #59665e; font-size: 1.03rem; line-height: 1.75; }
.privacy-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: clamp(38px,7vw,100px); align-items: start; }
.privacy-toc { position: sticky; top: 28px; padding: 18px 0; border-top: 2px solid var(--landing-ink); }
.privacy-toc h2 { margin: 0 0 12px; font: 500 .68rem/1.3 "Geist Mono",monospace; color: #77827b; text-transform: uppercase; }
.privacy-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: privacy-section; }
.privacy-toc li { counter-increment: privacy-section; }
.privacy-toc a { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 8px; padding: 7px 0; color: #4c5b52; font-size: .76rem; line-height: 1.4; text-decoration: none; }
.privacy-toc a::before { content: counter(privacy-section, decimal-leading-zero); color: var(--landing-orange); font: 500 .68rem/1.5 "Geist Mono",monospace; }
.privacy-toc a:hover { color: var(--landing-orange); }
.privacy-content { min-width: 0; }
.privacy-summary { margin-bottom: 36px; padding: 22px 24px; border-left: 3px solid var(--landing-orange); background: #fff; }
.privacy-summary h2 { margin: 0 0 9px; font-size: 1.02rem; }
.privacy-summary p { margin: 0; color: #59665e; font-size: .88rem; line-height: 1.75; }
.privacy-section { padding: 30px 0; border-top: 1px solid var(--landing-line); scroll-margin-top: 24px; }
.privacy-section h2 { margin: 0 0 14px; font-size: 1.28rem; font-weight: 600; }
.privacy-section h3 { margin: 22px 0 8px; font-size: .96rem; font-weight: 600; }
.privacy-section p,.privacy-section li { color: #536159; font-size: .9rem; line-height: 1.8; }
.privacy-section p { margin: 0 0 12px; }
.privacy-section ul { margin: 8px 0 16px; padding-left: 21px; }
.privacy-section li { padding-left: 3px; margin: 4px 0; }
.privacy-section a,.privacy-contact a { color: var(--landing-orange); overflow-wrap: anywhere; }
.privacy-note { padding: 14px 16px; border: 1px solid #dfe5e1; background: rgba(255,255,255,.65); }
.privacy-contact { margin: 14px 0 40px; padding: 24px; background: var(--landing-dark); color: #f6f8f6; }
.privacy-contact h2 { margin: 0 0 8px; font-size: 1.12rem; }
.privacy-contact p { margin: 0; color: #d2ddd6; font-size: .88rem; line-height: 1.7; }
.privacy-contact a { color: var(--landing-orange); }

@media (max-width: 900px) {
    .nav-toggle { display: grid; width: 38px; height: 38px; margin-left: 0; place-items: center; border: 1px solid var(--landing-line); border-radius: 5px; background: white; color: var(--landing-ink); }
    .header-actions { margin-left: auto; }
    .nav-toggle svg { width: 20px; height: 20px; }
    .landing-nav { position: absolute; top: 75px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 24px 14px; border-bottom: 1px solid var(--landing-line); background: white; }
    .landing-nav.open { display: flex; }
    .landing-nav a { padding: 12px 2px; border-bottom: 1px solid #edf0ed; }
    .landing-nav .landing-language-switch { align-self: flex-start; margin-top: 10px; }
    .landing-nav a:last-child { border-bottom: 0; }
    .section-wrap { padding: 78px 6vw; }
    .platform-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
    .platform-item,.platform-item:nth-child(4),.platform-item:nth-child(5) { grid-column: span 2; }
    .contact,.faq { grid-template-columns: 1fr; gap: 38px; }
    .contact-intro,.faq-heading,.features-heading { max-width: 600px; }
    .pricing-grid { gap: 10px; }
    .price-card { padding: 21px 18px; }
    .price-card li { font-size: .72rem; }
    .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
    .feature-showcase { grid-template-columns: minmax(0,1fr); gap: 30px; margin-top: 32px; }
    .feature-preview { padding: 14px; }
    .feature-series { margin-top: 34px; }
    .feature-row,.feature-row-reverse { grid-template-columns: minmax(0,1fr); gap: 20px; padding: 27px 0; }
    .feature-row-reverse .feature-row-copy,.feature-row-reverse > img { order: initial; }
    .feature-row > img { max-height: 360px; }
}

@media (max-width: 680px) {
    html { scroll-padding-top: 70px; }
    .landing-header { min-height: 66px; padding: 0 18px; }
    .landing-brand { gap: 7px; font-size: .96rem; }
    .landing-brand img { width: 34px; height: 34px; }
    .nav-toggle { display: grid; width: 38px; height: 38px; margin-left: 0; place-items: center; border: 1px solid var(--landing-line); border-radius: 5px; background: white; color: var(--landing-ink); }
    .nav-toggle svg { width: 20px; height: 20px; }
    .landing-nav { position: absolute; top: 65px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 18px 14px; border-bottom: 1px solid var(--landing-line); background: white; }
    .landing-nav.open { display: flex; }
    .landing-nav a { padding: 12px 2px; border-bottom: 1px solid #edf0ed; }
    .landing-nav .landing-language-switch { align-self: flex-start; margin-top: 10px; }
    .landing-nav a:last-child { border-bottom: 0; }
    .header-actions { gap: 11px; margin-left: auto; }
    .login-link { font-size: .78rem; }
    .signup-link { min-height: 36px; padding: 0 11px; font-size: .76rem; }
    .hero { min-height: calc(100vh - 66px); min-height: calc(100svh - 66px); padding: 58px 20px 25px; background-position: center, right center; background-size: cover, 92vw auto; }
    .hero h1 { margin-top: 17px; font-size: 2.65rem; }
    .hero-layout { gap: 28px; }
    .hero-copy > p { max-width: 420px; font-size: .92rem; }
    .window-bar { height: 40px; padding: 0 10px; }
    .window-controls { width: 43px; gap: 4px; }
    .window-controls i { width: 6px; height: 6px; }
    .window-title { gap: 5px; font-size: .65rem; }
    .window-title img { width: 17px; height: 17px; }
    .window-state { width: 45px; font-size: .58rem; }
    .window-content { grid-template-columns: 38px minmax(0,1fr); min-height: 285px; }
    .preview-rail { gap: 12px; padding-top: 13px; }
    .rail-brand { width: 25px; height: 25px; }
    .rail-brand img { width: 17px; height: 17px; }
    .rail-line { width: 18px; height: 18px; }
    .preview-main { padding: 22px 15px 17px; }
    .preview-main h2 { margin-top: 12px; font-size: 1.05rem; }
    .preview-prompt { font-size: .75rem; }
    .equation-image { min-height: 70px; padding: 7px 11px; }
    .equation-image img { width: 168px; height: auto; }
    .preview-answer { gap: 8px; margin-top: 14px; }
    .answer-mark { width: 23px; height: 23px; }
    .answer-mark img { width: 17px; height: 17px; }
    .preview-answer p { font-size: .76rem; }
    .preview-composer { height: 36px; margin-top: 14px; font-size: .68rem; }
    .composer-send { width: 24px; height: 24px; }
    .scroll-cue { margin-top: 29px; }
    .section-wrap { padding: 64px 20px; }
    .features-heading h2,.pricing-heading h2,.contact-intro h2,.faq-heading h2 { font-size: 2.2rem; }
    .platform-heading h2 { font-size: 2.2rem; }
    .platform-grid { grid-template-columns: minmax(0,1fr); margin-top: 28px; }
    .platform-item,.platform-item:nth-child(4),.platform-item:nth-child(5) { grid-column: auto; padding: 0 18px 18px; }
    .platform-visual { height: 118px; margin: 0 -18px 17px; }
    .platform-item-wide { grid-column: auto; }
    .features-heading > p { font-size: .88rem; }
    .feature-showcase { gap: 23px; margin-top: 25px; }
    .feature-tab { grid-template-columns: 26px minmax(0,1fr) 20px; gap: 9px; min-height: 75px; padding: 10px 3px; }
    .feature-tab:hover,.feature-tab[aria-selected="true"] { padding-right: 9px; padding-left: 9px; }
    .feature-tab-copy strong { font-size: .87rem; }
    .feature-tab-copy > span { font-size: .73rem; }
    .feature-preview { padding: 11px; }
    .feature-preview-heading { align-items: flex-start; font-size: .5rem; }
    .feature-preview-screen,.feature-panel { min-height: 390px; }
    .mock-chat-layout { min-height: 296px; }
    .mock-chat-content { padding: 16px 11px 12px; }
    .mock-question { max-width: 96%; font-size: .68rem; }
    .mock-calculator,.mock-keyboard-view,.mock-image-view,.mock-test-view { width: calc(100% - 24px); margin-top: 18px; }
    .pricing-topline { align-items: flex-start; flex-direction: column; gap: 13px; }
    .pricing-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin: 12px 0 28px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 14px; }
    .price-card { padding: 23px; }
    .price-card li { font-size: .78rem; }
    .contact-list > a { grid-template-columns: minmax(95px,.7fr) minmax(0,1.3fr) 18px; gap: 7px; min-height: 75px; }
    .contact-list > a > span:first-child { font-size: .68rem; }
    .contact-list strong { font-size: .77rem; }
    .faq-list summary { font-size: .84rem; }
    .landing-footer { padding: 42px 20px 12px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 18px; padding-bottom: 33px; }
    .footer-brand-block { grid-column: 1 / -1; }
    .footer-column a { font-size: .73rem; }
    .footer-bottom { flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 14px 0; font-size: .66rem; }
    .footer-bottom > div { gap: 12px; }
    .back-top { margin-left: auto; }
    .legal-main { padding: 42px 0 64px; }
    .legal-main h1 { font-size: 2.3rem; }
    .refund-intro { margin-bottom: 28px; }
    .refund-callout { padding: 17px; }
    .refund-section { padding: 22px 0; }
    .privacy-main { width: min(100% - 36px,760px); padding-top: 25px; }
    .privacy-heading { padding: 18px 0 28px; }
    .privacy-heading h1 { font-size: 2.65rem; }
    .privacy-layout { grid-template-columns: minmax(0,1fr); gap: 30px; }
    .privacy-toc { position: static; padding: 15px 0 10px; }
    .privacy-toc ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 18px; }
    .privacy-summary { margin-bottom: 20px; padding: 18px; }
    .privacy-section { padding: 24px 0; }
    .privacy-contact { padding: 20px; }
    .legal-footer { flex-wrap: wrap; gap: 14px 20px; }
    .math-latex-equation { font-size: .88rem; }
}

@media (max-width: 390px) {
    .landing-header { gap: 7px; padding: 0 12px; }
    .landing-brand { gap: 4px; font-size: .85rem; }
    .landing-brand img { width: 30px; height: 30px; }
    .nav-toggle { width: 34px; height: 34px; }
    .header-actions { gap: 8px; margin-left: auto; }
    .signup-link { min-height: 33px; padding: 0 8px; font-size: .7rem; }
}

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

.landing-page {
    --landing-ink: #f2f2ef;
    --landing-muted: #a4a4a0;
    --landing-line: rgba(255,255,255,.1);
    --landing-paper: #0b0b0b;
    --landing-white: #151515;
    --landing-dark: #090909;
    --landing-orange: #ff6a1a;
    --landing-orange-soft: rgba(255,106,26,.12);
    --landing-surface: #121212;
    --landing-surface-2: #191919;
    --landing-surface-3: #222222;
    color: var(--landing-ink);
    background: var(--landing-dark);
}

.landing-page .hero {
    background: radial-gradient(ellipse 42% 34% at 50% 52%, rgba(255,106,26,.1), transparent 100%), linear-gradient(180deg, #080808 0%, #101010 55%, #0a0a0a 100%);
}

.landing-page .hero-copy > * {
    animation: landing-rise .75s cubic-bezier(.2,.7,.2,1) both;
}

.landing-page .hero-copy h1 { animation-delay: 80ms; }
.landing-page .hero-copy > p:not(.hero-promise) { animation-delay: 190ms; }
.landing-page .hero-copy > .hero-promise { animation-delay: 290ms; }
.landing-page .hero-copy .primary-cta { animation-delay: 390ms; }
.landing-page .scroll-cue { animation: landing-rise .75s 520ms cubic-bezier(.2,.7,.2,1) both; }

@keyframes landing-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.landing-page .features,
.landing-page .faq {
    background: #101010;
}

.landing-page .platform {
    background: linear-gradient(180deg, #0d0d0d 0%, #111111 100%);
}

.landing-page .feature-preview {
    border: 1px solid rgba(255,255,255,.08);
    background: #191919;
}

.landing-page .feature-preview-heading { color: #a3a39e; }
.landing-page .feature-tab:hover,
.landing-page .feature-tab[aria-selected="true"] { background: #1b1b1b; }

.landing-page .platform-item {
    border-color: rgba(255,255,255,.09);
    border-radius: 8px;
    background: #171717;
    box-shadow: 0 16px 38px rgba(0,0,0,.2);
    transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .3s ease;
}

.landing-page .platform-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255,106,26,.32);
    box-shadow: 0 20px 44px rgba(0,0,0,.32), 0 0 24px rgba(255,106,26,.06);
}

.landing-page .platform-visual {
    border-bottom-color: rgba(255,255,255,.08);
    background: #121212;
}

.landing-page .society-visual,
.landing-page .books-visual,
.landing-page .practice-visual,
.landing-page .class-visual,
.landing-page .account-visual { background: #121212; }

.landing-page .platform-index,
.landing-page .platform-item p { color: #a4a4a0; }
.landing-page .platform-item > a { color: #e4e4df; }
.landing-page .platform-item h3 { color: #f4f4f1; }

.landing-page .pricing {
    background: linear-gradient(180deg, #111111 0%, #0c0c0c 100%);
}

.landing-page .price-card {
    border-color: rgba(255,255,255,.1);
    border-radius: 8px;
    background: #171717;
    transition: transform .28s cubic-bezier(.2,.7,.2,1), border-color .28s ease, box-shadow .28s ease;
}

.landing-page .price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.2);
}

.landing-page .featured-plan {
    border-color: rgba(255,106,26,.7);
    background: linear-gradient(145deg, rgba(255,106,26,.09), #171717 48%);
    box-shadow: 0 18px 44px rgba(255,106,26,.08);
}

.landing-page .price-summary,
.landing-page .price-card li { color: #b7b7b2; }
.landing-page .price-card ul { border-color: rgba(255,255,255,.1); }
.landing-page .price-button { border-color: rgba(255,255,255,.22); color: #f2f2ef; }
.landing-page .price-button:hover { background: #272727; color: #fff; }
.landing-page .featured-button,
.landing-page .featured-button:hover { border-color: var(--landing-orange); color: #111; }

.landing-page .faq-list summary { color: #eeeeea; }
.landing-page .faq-list details p { color: #a4a4a0; }

.landing-page .landing-footer {
    border-top: 1px solid rgba(255,255,255,.08);
    background: #090909;
}

.landing-page .footer-brand-block p,
.landing-page .footer-column a,
.landing-page .footer-bottom,
.landing-page .footer-bottom a { color: #a4a4a0; }
.landing-page .footer-column h2 { color: #e0e0dc; }
.landing-page .footer-bottom { border-color: rgba(255,255,255,.1); }
.landing-page main > section,
.landing-page .landing-footer { position: relative; isolation: isolate; }
.landing-page main > section > :not(.math-scene):not(.math-latex-layer),
.landing-page .landing-footer > :not(.math-latex-layer) { position: relative; z-index: 1; }
.landing-page .math-latex-layer { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.landing-page .math-latex-equation { font-size: 1.1rem; opacity: .3; animation: latex-drift 12s ease-in-out infinite alternate; text-shadow: 0 0 20px rgba(255,106,26,.48); }
.landing-page .hero .math-latex-equation { font-size: 1.45rem; opacity: .46; text-shadow: 0 0 24px rgba(255,106,26,.58); }

@media (max-width: 900px) {
    .landing-page .nav-toggle { background: #171717; color: #f2f2ef; }
    .landing-page .landing-nav { background: #101010; }
    .landing-page .landing-nav a { border-color: rgba(255,255,255,.08); }
}

@media (max-width: 680px) {
    .landing-page .math-latex-equation { font-size: .78rem; opacity: .22; }
    .landing-page .hero .math-latex-equation { font-size: .9rem; opacity: .24; }
}

@media (prefers-reduced-motion: reduce) {
    .landing-page .hero-copy > *,
    .landing-page .scroll-cue { animation: none; }
    .landing-page .math-latex-equation { animation: none; }
    .landing-page .platform-item,
    .landing-page .price-card { transition: none; }
}

.landing-page .primary-cta,
.landing-page .signup-link,
.landing-page .landing-language-options button.is-active {
    background: var(--landing-orange);
    box-shadow: 0 0 28px rgba(255,106,26,.18);
}

.landing-page .window-bar,
.landing-page .preview-rail,
.landing-page .preview-main,
.landing-page .preview-composer,
.landing-page .feature-preview-screen,
.landing-page .preview-chrome,
.landing-page .mock-rail,
.landing-page .mock-calc-top,
.landing-page .mock-keypad > span,
.landing-page .mock-keyboard > span,
.landing-page .mock-choice,
.landing-page .mock-choice i {
    border-color: rgba(255,255,255,.1);
    background: #141414;
    color: #d7d7d2;
}

.landing-page .window-bar,
.landing-page .preview-rail,
.landing-page .preview-composer,
.landing-page .preview-chrome,
.landing-page .mock-rail {
    border-color: rgba(255,255,255,.08);
}

.landing-page .preview-main h2,
.landing-page .preview-answer p,
.landing-page .window-title,
.landing-page .mock-answer,
.landing-page .mock-calc-display strong,
.landing-page .mock-equation-input,
.landing-page .mock-test-view h3,
.landing-page .mock-test-equation,
.landing-page .mock-choice { color: #eeeeea; }

.landing-page .preview-kicker,
.landing-page .preview-prompt,
.landing-page .answer-label,
.landing-page .window-state,
.landing-page .mock-chat-meta,
.landing-page .mock-answer p,
.landing-page .mock-calc-display small,
.landing-page .mock-input-label,
.landing-page .mock-test-top { color: #9c9c97; }

.landing-page .equation-image,
.landing-page .mock-question,
.landing-page .mock-equation,
.landing-page .mock-calc-display,
.landing-page .mock-equation-input,
.landing-page .mock-progress {
    border-color: rgba(255,255,255,.1);
    background: #1c1c1c;
    color: #eeeeea;
}

.landing-page .mock-question { background: rgba(255,106,26,.1); }
.landing-page .mock-online,
.landing-page .mock-calc-top span:nth-child(2),
.landing-page .mock-calc-display > span,
.landing-page .mock-keypad > span:nth-child(4n) { color: var(--landing-orange); }
.landing-page .mock-keypad > span:last-child,
.landing-page .mock-composer span,
.landing-page .composer-send { background: var(--landing-orange); color: #111; }
.landing-page .mock-progress i { background: var(--landing-orange); }
.landing-page .mock-test-equation { color: #f0c2a8; }
.landing-page .feature-preview-link { border-color: rgba(255,255,255,.1); color: #e4e4df; }
.landing-page .feature-screenshot,
.landing-page .feature-row > img { filter: invert(1) hue-rotate(180deg) saturate(.82); }

.landing-page .society-post,
.landing-page .book-page,
.landing-page .book-question,
.landing-page .practice-score,
.landing-page .book-selection i,
.landing-page .class-badge,
.landing-page .account-meter {
    border-color: rgba(255,255,255,.12);
    background: #1b1b1b;
    color: #e5e5e0;
    box-shadow: 0 8px 20px rgba(0,0,0,.24);
}

.landing-page .society-post b,
.landing-page .society-post span,
.landing-page .book-page span,
.landing-page .book-question span,
.landing-page .class-lines span,
.landing-page .account-caption span { background: #38332f; }

.landing-page .society-post > i,
.landing-page .class-members i,
.landing-page .practice-score i,
.landing-page .book-selection i.selected {
    border-color: rgba(255,106,26,.24);
    background: rgba(255,106,26,.14);
    color: #ffb184;
}

.landing-page .book-page b,
.landing-page .book-question i,
.landing-page .practice-score b,
.landing-page .account-meter b { color: var(--landing-orange); }
.landing-page .book-selection i { background: #191919; color: #b7b7b2; }
.landing-page .practice-score > span { color: #b7b7b2; }
.landing-page .practice-bars span,
.landing-page .account-meter span { background: #38332f; }
.landing-page .practice-bars span:nth-child(3),
.landing-page .account-meter span:nth-child(-n+5),
.landing-page .account-chart i:nth-child(4) { background: var(--landing-orange); }
.landing-page .account-chart i { background: #514137; }

@media (prefers-reduced-motion: reduce) {
    .landing-page .primary-cta,
    .landing-page .signup-link,
    .landing-page .landing-language-options button.is-active { box-shadow: none; }
}

.landing-page .hero {
    background-image:
        radial-gradient(ellipse 42% 34% at 50% 52%, rgba(255,106,26,.1), transparent 100%),
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(180deg, #080808 0%, #101010 55%, #0a0a0a 100%);
    background-size: auto, 64px 64px, 64px 64px, auto;
}

.landing-page .hero .math-scene { background: transparent; }
.landing-page .hero h1 { line-height: 1.04; letter-spacing: 0; text-wrap: balance; }
.landing-page .features-heading h2,
.landing-page .pricing-heading h2,
.landing-page .contact-intro h2,
.landing-page .faq-heading h2,
.landing-page .platform-heading h2 { letter-spacing: 0; text-wrap: balance; }
.landing-page .primary-cta,
.landing-page .signup-link { border-radius: 6px; }
.landing-page .primary-cta span { transition: transform .2s ease; }
.landing-page .primary-cta:hover span { transform: translateX(3px); }
.landing-page .feature-preview { border-radius: 8px; }
.landing-page .feature-tab[aria-selected="true"] { box-shadow: inset 2px 0 var(--landing-orange); }
.landing-page ::selection { background: rgba(255,106,26,.32); color: #fff; }

.landing-page .features .platform-item { padding: 18px 20px 20px; }