:root {
    --bg: #f4f3ef;
    --surface: #ffffff;
    --surface-soft: #ebe9e2;
    --ink: #15171a;
    --muted: #666b72;
    --line: #d8d5cc;
    --accent: #5d6cff;
    --accent-2: #f4c84a;
    --accent-3: #a7e0c3;
    --dark: #111318;
    --dark-2: #1d2027;
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow: 0 24px 70px rgba(21, 23, 26, .10);
    --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.site-shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding: 112px 0; }
.section-pad--soft { background: var(--surface-soft); }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
    position: fixed !important;
    top: 12px; left: 12px;
    width: auto; height: auto;
    margin: 0; padding: 10px 14px;
    clip: auto; overflow: visible;
    background: #fff; color: #111;
    z-index: 9999; border-radius: 10px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 243, 239, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(216, 213, 204, .8);
}
.site-header__inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .08em;
}
.brand__mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: var(--ink);
    overflow: hidden;
}
.brand__mark svg { width: 26px; height: 26px; }
.brand__word { font-size: 15px; }
.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14px;
    font-weight: 650;
}
.site-nav a {
    text-decoration: none;
    color: #3f444a;
    transition: color .18s ease, background .18s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); }
.site-nav .nav-contact {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
}

.hero {
    position: relative;
    overflow: hidden;
    padding-top: 96px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: -140px auto auto 56%;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(93,108,255,.18), rgba(93,108,255,0) 68%);
    pointer-events: none;
}
.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
    gap: 72px;
    align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.62);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #4f555d;
    margin-bottom: 30px;
}
.status-pill__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #3da76d;
    box-shadow: 0 0 0 5px rgba(61,167,109,.12);
}
.eyebrow {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 12px;
    font-weight: 800;
    color: #616772;
}
.eyebrow--light { color: rgba(255,255,255,.64); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(50px, 6.4vw, 84px);
    line-height: .96;
    letter-spacing: -.055em;
}
.hero__lede {
    max-width: 700px;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.55;
    color: #515760;
    margin-bottom: 34px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 13px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 760;
    font-size: 14px;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--ink); color: #fff; box-shadow: 0 12px 28px rgba(21,23,26,.16); }
.button--quiet { background: rgba(255,255,255,.6); border-color: var(--line); }
.hero__signals {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hero__signals span {
    font-size: 12px;
    font-weight: 700;
    color: #666c73;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.52);
    border: 1px solid rgba(216,213,204,.72);
}

.hero__visual {
    position: relative;
    min-height: 520px;
    border-radius: 38px;
    background: var(--dark);
    overflow: hidden;
    box-shadow: var(--shadow);
    isolation: isolate;
}
.visual-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.hero__visual::before {
    content: "";
    position: absolute;
    width: 310px; height: 310px;
    border-radius: 50%;
    right: -70px; top: -65px;
    background: var(--accent);
    filter: blur(0);
    opacity: .85;
}
.hero__visual::after {
    content: "";
    position: absolute;
    width: 250px; height: 250px;
    border-radius: 50%;
    left: -86px; bottom: -100px;
    background: var(--accent-2);
    opacity: .85;
}
.lesson-card {
    position: absolute;
    z-index: 3;
    border-radius: 24px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 20px 50px rgba(0,0,0,.24);
}
.lesson-card--main {
    left: 50%; top: 48%;
    transform: translate(-50%,-50%) rotate(-2deg);
    width: min(78%, 390px);
    padding: 28px;
}
.lesson-card__label {
    display: block;
    color: #747a81;
    font-size: 12px;
    font-weight: 760;
    margin-bottom: 9px;
}
.lesson-card strong { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.word-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.word-row span {
    background: #eef0ff;
    border: 1px solid #d8dcff;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 750;
}
.lesson-card__progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 22px; }
.lesson-card__progress i { height: 5px; border-radius: 99px; background: #e6e7eb; }
.lesson-card__progress i:first-child, .lesson-card__progress i:nth-child(2) { background: var(--accent); }
.mini-card {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 13px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 14px 32px rgba(0,0,0,.18);
}
.mini-card span { font-size: 12px; }
.mini-card--play { left: 7%; top: 18%; background: var(--accent-2); transform: rotate(-5deg); }
.mini-card--listen { right: 8%; bottom: 17%; background: var(--accent-3); transform: rotate(4deg); }
.mini-card--retry { right: 7%; top: 24%; background: #fff; transform: rotate(3deg); }

.proof-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.3); }
.proof-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-strip__grid > div { padding: 24px 26px; border-right: 1px solid var(--line); }
.proof-strip__grid > div:first-child { padding-left: 0; }
.proof-strip__grid > div:last-child { border-right: 0; }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { font-size: 14px; }
.proof-strip span { margin-top: 4px; color: #747980; font-size: 12px; }

.section-heading { max-width: 700px; }
.section-heading--wide { max-width: 860px; }
.section-heading h2, .page-hero h1, .closing-cta h2 {
    margin-bottom: 20px;
    font-size: clamp(36px, 4.8vw, 62px);
    line-height: 1.02;
    letter-spacing: -.045em;
}
.section-heading p:not(.eyebrow), .page-lede {
    color: #5a6068;
    font-size: 18px;
    max-width: 800px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 52px;
}
.feature-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.62);
}
.feature-card__num { margin-bottom: auto; color: #8a8f96; font-size: 12px; font-weight: 800; }
.feature-card h3 { margin-bottom: 10px; font-size: 28px; letter-spacing: -.03em; }
.feature-card p { margin-bottom: 0; color: #626870; font-size: 14px; }
.feature-card--accent { background: #e8eaff; border-color: #cfd4ff; }
.feature-card--dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.feature-card--dark p { color: rgba(255,255,255,.7); }

.demo-layout {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 72px;
    align-items: center;
}
.demo-copy { max-width: 520px; }
.plain-checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; }
.plain-checks li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.plain-checks li::before { content: "✓"; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #dceade; color: #1f7443; font-size: 12px; }
.demo-card {
    background: var(--surface);
    border: 1px solid rgba(21,23,26,.1);
    box-shadow: var(--shadow);
    border-radius: 30px;
    padding: 30px;
    min-height: 480px;
}
.demo-card__top { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.demo-kicker { display: block; margin-bottom: 4px; color: #7b8087; font-size: 12px; font-weight: 760; }
.demo-card__top strong { font-size: 22px; letter-spacing: -.02em; }
.demo-step { font-size: 12px; font-weight: 800; color: #6b7179; background: #f1f1ef; padding: 7px 9px; border-radius: 999px; }
.demo-progress { height: 6px; margin: 22px 0 34px; background: #ececea; border-radius: 999px; overflow: hidden; }
.demo-progress span { display: block; width: 0; height: 100%; background: var(--accent); border-radius: inherit; transition: width .35s ease; }
.demo-stage { min-height: 265px; }
.demo-prompt { font-size: 20px; font-weight: 740; line-height: 1.35; margin-bottom: 22px; }
.demo-answer {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 14px;
    border: 1px dashed #c9cad0;
    color: #737880;
    background: #fbfbfa;
}
.demo-word-bank, .demo-options { display: flex; flex-wrap: wrap; gap: 10px; }
.demo-word, .demo-option, .demo-listen-button, .demo-restart {
    appearance: none;
    border: 1px solid #d6d8df;
    background: #fff;
    border-radius: 12px;
    padding: 10px 13px;
    cursor: pointer;
    font-weight: 760;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.demo-word:hover, .demo-option:hover, .demo-listen-button:hover, .demo-restart:hover { transform: translateY(-1px); border-color: #aeb3c0; }
.demo-word:disabled, .demo-option:disabled { opacity: .5; cursor: default; transform: none; }
.demo-options--stack { display: grid; margin-top: 16px; }
.demo-option--wide { text-align: left; width: 100%; }
.demo-listen-button { background: var(--dark); color: #fff; border-color: var(--dark); }
.demo-feedback { min-height: 28px; margin-top: 18px; font-size: 13px; font-weight: 760; }
.demo-feedback.is-success { color: #2d7b4b; }
.demo-feedback.is-retry { color: #a66c08; }
.demo-feedback.is-neutral { color: #5f6670; }
.demo-complete { text-align: center; padding: 22px 12px 8px; }
.demo-complete__mark { width: 56px; height: 56px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 18px; background: #dceade; color: #1c7a46; font-size: 24px; font-weight: 900; }
.demo-complete h3 { margin-bottom: 8px; font-size: 28px; }
.demo-complete p { color: #666c74; max-width: 460px; margin: 0 auto 20px; }
.demo-restart { background: #eef0ff; border-color: #d6d9ff; }

.split-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.section-heading--sticky { position: sticky; top: 120px; }
.use-cases { border-top: 1px solid var(--line); }
.use-case { display: grid; grid-template-columns: 190px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.use-case span { font-size: 14px; font-weight: 800; }
.use-case p { margin: 0; color: #626871; }

.trust-section { background: var(--dark); color: #fff; }
.trust-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: end; }
.trust-panel h2 { max-width: 620px; margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.045em; }
.trust-copy p { color: rgba(255,255,255,.7); font-size: 18px; }
.text-link { display: inline-flex; gap: 8px; font-weight: 760; text-decoration: none; }
.text-link--light { color: #fff; }

.stage-section { background: #ece9e0; }
.stage-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.stage-grid h2 { font-size: clamp(38px, 4vw, 58px); line-height: 1.02; letter-spacing: -.045em; }
.stage-copy > p { font-size: 18px; color: #5b6169; }
.stage-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.stage-tags span { padding: 9px 12px; border: 1px solid #d2cfc7; border-radius: 999px; font-size: 12px; font-weight: 760; background: rgba(255,255,255,.5); }

.closing-cta__inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.closing-cta h2 { max-width: 800px; margin-bottom: 0; }
.closing-cta__actions { display: flex; gap: 10px; flex-shrink: 0; }

.site-footer { background: #0f1115; color: #fff; padding: 72px 0 26px; }
.site-footer__main { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-bottom: 54px; }
.brand--footer { color: #fff; }
.footer-brand p { margin: 18px 0 0; color: rgba(255,255,255,.58); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.footer-links > div { display: grid; align-content: start; gap: 9px; }
.footer-links strong { margin-bottom: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.84); }
.footer-links a:hover { color: #fff; }
.site-footer__bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.48); font-size: 12px; }

.page-main { min-height: 70vh; }
.page-hero { padding: 110px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero--dark { background: var(--dark); color: #fff; border-bottom: 0; }
.page-hero--dark .page-lede { color: rgba(255,255,255,.68); }
.content-shell { max-width: 900px; }
.page-hero h1 { max-width: 900px; }
.page-lede { max-width: 760px; font-size: 20px; }
.policy-date { color: #7a7f86; font-size: 13px; font-weight: 700; margin-top: 30px; }
.page-section { padding: 84px 0; }
.page-section--soft { background: var(--surface-soft); }
.prose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 70px; }
.prose-grid h2, .policy-shell h2 { margin-bottom: 10px; font-size: 27px; letter-spacing: -.025em; }
.prose-grid p, .policy-shell p { color: #5d636b; }
.policy-shell { max-width: 780px; }
.policy-shell h2 { margin-top: 42px; }
.policy-shell h2:first-child { margin-top: 0; }
.detail-cards, .safety-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.detail-cards article, .safety-grid article {
    padding: 26px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.62);
    border-radius: var(--radius-lg);
}
.detail-cards span, .safety-grid span { display: block; margin-bottom: 40px; color: #8a8f96; font-size: 12px; font-weight: 800; }
.detail-cards h2, .safety-grid h2 { font-size: 25px; margin-bottom: 10px; }
.detail-cards p, .safety-grid p { margin-bottom: 0; color: #626870; }
.notice-box {
    margin-top: 34px;
    padding: 24px;
    border-radius: 18px;
    background: #eceeff;
    border: 1px solid #d6daff;
}
.notice-box strong { display: block; margin-bottom: 6px; }
.notice-box p { margin: 0; color: #5b6170; }
.contact-card {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 42px;
    box-shadow: var(--shadow);
}
.contact-card span { display: block; margin-bottom: 8px; color: #797e85; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.contact-card > a { display: inline-block; margin-bottom: 22px; font-size: clamp(28px, 4vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -.04em; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.contact-card p { max-width: 640px; margin-bottom: 0; color: #646a72; }
.content-card { padding: 72px 0; }
.content-card h1 { font-size: clamp(40px, 5vw, 60px); letter-spacing: -.04em; }
.entry-content { color: #5d636b; }
.error-card { min-height: 54vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }

:focus-visible { outline: 3px solid rgba(93,108,255,.38); outline-offset: 3px; }

@media (max-width: 1000px) {
    :root { --shell: min(100% - 28px, 900px); }
    .site-nav { gap: 16px; }
    .site-nav a:not(.nav-contact):nth-child(3), .site-nav a:not(.nav-contact):nth-child(4) { display: none; }
    .hero__grid, .demo-layout, .split-section, .trust-panel, .stage-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero__visual { min-height: 500px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .section-heading--sticky { position: static; }
    .proof-strip__grid { grid-template-columns: repeat(2, 1fr); }
    .proof-strip__grid > div:nth-child(2) { border-right: 0; }
    .proof-strip__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .proof-strip__grid > div:first-child, .proof-strip__grid > div:nth-child(3) { padding-left: 0; }
    .site-footer__main { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 700px) {
    :root { --shell: calc(100% - 24px); }
    .section-pad { padding: 78px 0; }
    .site-header__inner { min-height: 66px; }
    .site-nav a:not(.nav-contact) { display: none !important; }
    .nav-contact { font-size: 13px; }
    .hero { padding-top: 68px; }
    .hero__grid { gap: 42px; }
    .hero h1 { font-size: clamp(46px, 14vw, 64px); }
    .hero__lede { font-size: 18px; }
    .hero__visual { min-height: 400px; border-radius: 26px; }
    .lesson-card--main { width: 78%; padding: 22px; }
    .lesson-card strong { font-size: 20px; }
    .mini-card--retry { right: 4%; top: 15%; }
    .mini-card--listen { right: 4%; bottom: 12%; }
    .mini-card--play { left: 4%; top: 16%; }
    .proof-strip__grid { grid-template-columns: 1fr 1fr; }
    .proof-strip__grid > div { padding: 18px 12px; }
    .feature-grid, .detail-cards, .safety-grid, .prose-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 220px; }
    .demo-card { padding: 22px; min-height: 460px; border-radius: 24px; }
    .use-case { grid-template-columns: 1fr; gap: 7px; }
    .closing-cta__inner { align-items: flex-start; flex-direction: column; }
    .closing-cta__actions { width: 100%; flex-wrap: wrap; }
    .site-footer__main, .footer-links { grid-template-columns: 1fr; }
    .site-footer__bottom { flex-direction: column; }
    .page-hero { padding: 82px 0 58px; }
    .page-section { padding: 66px 0; }
    .contact-card { padding: 28px; border-radius: 24px; }
    .contact-card > a { font-size: clamp(24px, 8.5vw, 38px); overflow-wrap: anywhere; }
}

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