html { scroll-behavior: smooth; }
.wrap { width: min(calc(100% - 104px), 1160px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 12px; padding: 10px 16px; background: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.header-layout { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 77px; gap: 20px; }
.wordmark { display: inline-flex; justify-self: start; align-items: center; gap: 10px; font-size: 1rem; font-weight: 690; line-height: 1.18; text-decoration: none; }
.mark { position: relative; flex: 0 0 31px; width: 31px; height: 31px; border-radius: 10px; background: var(--ink); }
.mark::before, .mark::after { content: ""; position: absolute; width: 11px; height: 6px; left: 50%; border: 1.5px solid #fff; border-radius: 50%; transform: rotate(-34deg); }
.mark::before { top: 8px; margin-left: -8px; }
.mark::after { top: 15px; margin-left: -5px; }
.header-layout nav { display: flex; align-items: center; gap: 9px; padding: 5px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.header-layout nav a, .locale { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: .87rem; font-weight: 650; text-decoration: none; }
.header-layout nav a { padding-inline: 16px; border-radius: 9px; }
.header-layout nav a[href="#how"] { background: #e6ddff; color: #42257e; }
.header-layout nav a[href="#languages"] { background: #d8eaff; color: #204870; }
.header-layout nav a[href="#teach"] { background: #d8f3e4; color: #24563e; }
.header-layout nav a:hover { box-shadow: inset 0 0 0 1px currentColor; }
.locale:hover { background: var(--paper); color: var(--violet-dark); }
.locale { justify-self: end; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px; }

.hero { width: calc(100% - 44px); max-width: 1550px; margin: 0 auto; padding-block: clamp(42px, 4.2vw, 60px) 38px; border: 1px solid var(--violet-dark); border-radius: 28px; background: var(--violet); }
.hero-intro { max-width: 790px; margin-inline: auto; color: var(--paper); text-align: center; }
.hero-intro :focus-visible { outline-color: var(--paper); }
.hero h1 { font-size: clamp(3.2rem, 5.35vw, 4.8rem); font-weight: 570; line-height: 1.01; letter-spacing: -.04em; text-wrap: balance; }
.hero h1 span + span { color: var(--on-violet-soft); }
.hero-description { max-width: 60ch; margin: 15px auto 0; font-size: clamp(1.02rem, 1.55vw, 1.16rem); color: var(--on-violet-soft); text-wrap: pretty; }
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: min(100%, 400px); margin: 20px auto 0; }
.hero-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; margin-top: 5px; padding: 6px 13px; color: var(--paper); font-size: .94rem; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.hero-link:hover { color: var(--on-violet-soft); }
.text-control:hover { text-decoration: underline; text-underline-offset: 4px; }

.classroom { --topic-wash: var(--lavender); --topic-border: var(--lavender-border); width: min(100%, 1020px); margin: clamp(19px, 2vw, 28px) auto 0; padding: 15px; border: 1px solid var(--paper); border-radius: var(--frame-radius); background: var(--paper); box-shadow: 0 20px 55px #2119634d, 0 2px 8px #21196330; scroll-margin-top: 18px; }
.classroom:has([data-goal=family][aria-pressed=true]) { --topic-wash: var(--mint); --topic-border: var(--mint-border); }
.classroom:has([data-goal=travel][aria-pressed=true]) { --topic-wash: var(--honey); --topic-border: var(--honey-border); }
.classroom-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 1px 12px; }
.classroom-header h2 { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 690; }
.lesson-symbol { display: block; width: 21px; height: 19px; position: relative; border-radius: 6px; background: var(--lavender); }
.lesson-symbol::before { content: ""; position: absolute; width: 11px; height: 8px; left: 5px; top: 5px; border: 1px solid var(--violet); border-radius: 2px; }
.lesson-symbol::after { content: ""; position: absolute; width: 4px; height: 4px; left: 9px; top: 8px; border-top: 1px solid var(--violet); border-bottom: 1px solid var(--violet); }
.goals { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 3px; margin: 0; }
.goals button { min-height: 44px; padding: 5px 12px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 640; font-size: .85rem; }
.goals button:hover { border-color: var(--lavender-border); }
.goals button[aria-pressed=true] { background: var(--ink); color: var(--paper); }

.classroom-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: 12px; align-items: stretch; }
.lesson-main { min-width: 0; }
.classroom-media { position: relative; color: var(--muted); }
.video-stage { position: relative; min-height: 0; aspect-ratio: 2.27; border-radius: var(--card-radius); overflow: hidden; isolation: isolate; background: #34303a; }
.video-stage > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 50% 23%; }
.participant { position: absolute; left: 8px; bottom: 8px; padding: 2px 7px; color: #fff; background: #171619e8; border-radius: 5px; font-size: .73rem; font-weight: 620; }
.tutor-label { bottom: 10px; left: 10px; }
.learner-tile { position: absolute; overflow: hidden; width: clamp(86px, 10.5vw, 125px); aspect-ratio: 1.38; bottom: 11px; right: 11px; border-radius: 11px; border: 2px solid white; background: var(--rail); box-shadow: 0 3px 15px #221a2b4d; }
.learner-tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.learner-tile .participant { left: 4px; bottom: 4px; font-size: .66rem; }
.classroom-media figcaption { padding: 4px 2px 7px; font-size: .73rem; }
.exercise { display: grid; grid-template-columns: 1fr 1.25fr; align-items: start; gap: 10px; padding: 11px; border-radius: 13px; background: var(--topic-wash); }
.exercise .label { color: var(--muted); font-size: .71rem; }
.prompt { padding: 6px 1px 3px 2px; }
.exercise h3 { margin-top: 3px; font-size: clamp(1rem, 1.45vw, 1.22rem); font-weight: 660; line-height: 1.23; letter-spacing: -.012em; }
.response { padding: 8px 10px; border-radius: 9px; background: var(--paper); }
.phrase { margin-top: 3px; font-size: .9rem; font-weight: 640; line-height: 1.25; }
.translation { margin-top: 4px; color: var(--muted); font-size: .77rem; line-height: 1.3; }

.lesson-rail { align-self: stretch; padding: clamp(12px, 1.8vw, 24px); border-radius: var(--card-radius); background: var(--rail); }
.lesson-rail > h3 { margin-top: 5px; font-size: clamp(1.32rem, 2.1vw, 1.76rem); font-weight: 640; line-height: 1.07; letter-spacing: -.036em; }
.lesson-steps { display: grid; gap: 7px; margin: 13px 0 0; padding: 0; list-style: none; counter-reset: lesson; }
.lesson-steps li { counter-increment: lesson; }
.lesson-steps details { border: 1px solid transparent; border-radius: 10px; background: white; overflow-wrap: anywhere; }
.lesson-steps summary, .faq summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.lesson-steps summary { display: grid; grid-template-columns: 23px 1fr 12px; align-items: center; gap: 8px; min-height: 43px; padding: 5px 9px; font-size: .88rem; font-weight: 660; line-height: 1.27; }
.lesson-steps summary:focus-visible { outline-offset: -2px; border-radius: 9px; }
.lesson-steps summary::before { content: counter(lesson, decimal-leading-zero) / ""; display: grid; place-items: center; width: 23px; height: 23px; background: var(--rail); color: var(--muted); border-radius: 6px; font-size: .71rem; font-variant-numeric: tabular-nums; }
.lesson-steps summary::after, .faq summary::after { content: "+" / ""; color: var(--violet-dark); font-size: 1rem; font-weight: 560; }
.lesson-steps details[open] { background: var(--topic-wash); border-color: var(--topic-border); }
.lesson-steps details[open] summary::before { background: var(--paper); color: var(--violet-dark); }
.lesson-steps details[open] summary::after, .faq details[open] summary::after { content: "−" / ""; }
.lesson-steps details p { padding: 0 14px 10px 41px; color: var(--muted); font-size: .81rem; line-height: 1.35; }

.language-section { padding-block: clamp(51px, 6vw, 78px); text-align: center; }
.language-section h2, .path h2, .tutor h2, .faq h2 { font-size: clamp(2rem, 3.75vw, 3.4rem); letter-spacing: -.043em; line-height: 1.07; font-weight: 620; text-wrap: balance; }
.language-section > p, .tutor p { margin-top: 12px; color: var(--muted); }
.language-section ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 23px 0 0; padding: 0; list-style: none; }
.language-section li a { display: inline-flex; align-items: center; gap: 7px; min-height: 46px; padding: 6px 15px; border: 1px solid var(--chip-border, var(--line)); border-radius: var(--control-radius); background: var(--chip-fill, var(--paper)); font-size: .94rem; font-weight: 635; text-decoration: none; }
.language-section li a:hover { border-color: currentColor; }
.language-section a[data-language="english"] { --chip-fill: #dcecff; --chip-border: #a4c4ec; }
.language-section a[data-language="spanish"] { --chip-fill: #fddfce; --chip-border: #eab8a0; }
.language-section a[data-language="igbo"] { --chip-fill: var(--mint); --chip-border: var(--mint-border); }
.language-section a[data-language="yoruba"] { --chip-fill: #f9e0ef; --chip-border: #e8b7d3; }
.language-section a[data-language="swahili"] { --chip-fill: var(--honey); --chip-border: var(--honey-border); }
.language-section .language-other { --chip-fill: var(--lavender); --chip-border: var(--lavender-border); color: var(--violet-dark); }

.learning-section { padding-block: clamp(41px, 5.3vw, 71px); background: var(--rail); }
.learning-layout { display: grid; grid-template-columns: 1fr .83fr; gap: clamp(27px, 7vw, 106px); align-items: center; }
.path h2, .faq h2 { max-width: 13ch; }
.path-steps { display: grid; gap: 9px; margin: 19px 0 0; padding: 0; list-style: none; counter-reset: path; }
.path-steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 11px; padding: 6px 0; counter-increment: path; }
.path-steps li::before { content: counter(path) / ""; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: white; color: var(--violet-dark); font-size: .86rem; font-weight: 690; }
.path-steps h3 { font-size: 1rem; font-weight: 685; line-height: 1.35; }
.path-steps p { margin-top: 3px; color: var(--muted); font-size: .95rem; }
.pilot-package { padding: clamp(23px, 4vw, 44px); border: 1px solid var(--lavender-border); border-radius: var(--card-radius); background: var(--lavender); }
.pilot-package h3 { margin-top: 7px; font-weight: 650; font-size: clamp(2.65rem, 5vw, 4.3rem); line-height: 1.04; letter-spacing: -.05em; }
.package-duration { margin-top: 4px; font-weight: 640; }
.package-note { margin-top: 9px; color: var(--muted); font-size: .91rem; }
.pilot-package .button { margin-top: 18px; }
.tutor { padding-top: clamp(39px, 5.5vw, 75px); }
.tutor-layout { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 4.6vw, 55px); border-radius: var(--card-radius); border: 1px solid var(--line); background: var(--paper); }
.tutor h2 { text-wrap: normal; font-size: clamp(1.9rem, 3.35vw, 3rem); }
.tutor p { max-width: 57ch; }
.tutor .button { flex-shrink: 0; }
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(26px, 7vw, 95px); padding-block: clamp(46px, 6vw, 84px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 52px; padding: 9px 30px 9px 0; font-weight: 640; }
.faq summary::after { position: absolute; right: 5px; }
.faq details p { padding: 0 13px 14px 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); }
.footer-layout { min-height: 84px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; padding-block: 12px; }
.footer-layout .wordmark { margin-right: auto; }
.text-control { display: inline-flex; min-height: 44px; align-items: center; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: .87rem; text-decoration: none; }
.not-found { min-height: 75vh; display: grid; align-content: center; justify-items: start; gap: 13px; }

dialog { position: fixed; width: min(calc(100% - 24px), 620px); max-height: calc(100% - 24px); padding: clamp(23px, 5vw, 42px); border: 1px solid var(--line); border-top: 4px solid var(--violet); border-radius: var(--card-radius); background: white; color: var(--ink); }
dialog::backdrop { background: #211925a8; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-close { position: absolute; top: 9px; right: 9px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--control-radius); color: var(--ink); background: white; font-size: 1.5rem; }
.dialog-close:hover { background: var(--lavender); }
dialog h2 { padding-right: 35px; font-size: clamp(1.9rem, 5vw, 2.8rem); letter-spacing: -.045em; line-height: 1.08; font-weight: 650; }
.dialog-description, .complete-view p { margin-top: 13px; color: var(--muted); }
.preview-notice { margin: 14px 0 19px; padding: 9px 11px; background: var(--lavender); border-radius: 8px; color: var(--muted); font-size: .85rem; }
.survey-form { display: grid; gap: 16px; }
.survey-form > button, .complete-view button { justify-self: start; margin-top: 9px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field label, .field legend { font-size: .94rem; font-weight: 655; }
.field input:not([type=checkbox]), .field select, .field textarea { width: 100%; min-height: 44px; border: 1px solid var(--line-strong); color: var(--ink); background: var(--paper); padding: 7px 9px; border-radius: 8px; }
.field textarea { resize: vertical; }
.fieldset-reset { margin: 0; padding: 0; border: 0; }
.fieldset-reset legend { margin-bottom: 5px; padding: 0; }
.checkbox-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
.checkbox-list label, .check-row { display: flex; align-items: center; gap: 7px; min-height: 36px; }
input[type=checkbox] { flex: 0 0 17px; width: 17px; height: 17px; margin: 0; accent-color: var(--violet); }
.contact-fields { display: grid; gap: 5px; padding-top: 10px; border-top: 1px solid var(--line); }
.contact-fields .field { margin-top: 6px; }

@media (max-width: 930px) {
  .wrap { width: calc(100% - 53px); }
  .hero { width: calc(100% - 28px); }
  .hero .wrap { width: calc(100% - 36px); }
  .exercise { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 30px); }
  .header-layout { min-height: 64px; grid-template-columns: 1fr auto auto; gap: 10px; }
  .wordmark { gap: 7px; font-size: .86rem; }
  .header-layout nav { padding: 0; border: 0; background: transparent; }
  .header-layout nav a { padding-inline: 8px; font-size: .82rem; white-space: nowrap; }
  .header-layout .desktop-nav { display: none; }
  .locale { font-size: .82rem; }
  .hero { width: calc(100% - 14px); padding: 28px 0 18px; border-radius: 19px; }
  .hero .wrap { width: calc(100% - 18px); }
  .hero-intro { padding-inline: 6px; }
  .hero h1 { max-width: 18ch; margin-inline: auto; font-size: clamp(2.5rem, 9vw, 4.6rem); line-height: 1.01; }
  .hero-description { margin-top: 12px; }
  .actions { margin-top: 17px; gap: 8px; }
  .actions .button { padding-inline: 8px; gap: 6px; }
  .classroom { margin-top: 19px; padding: 9px; border-radius: 16px; }
  .classroom-header { gap: 6px; margin-bottom: 6px; }
  .classroom-header h2 { font-size: .85rem; gap: 5px; line-height: 1.14; }
  .lesson-symbol { flex: 0 0 21px; }
  .goals button { padding: 4px 6px; font-size: .81rem; }
  .classroom-layout { grid-template-columns: 1fr; gap: 9px; }
  .video-stage { aspect-ratio: 1.62; border-radius: 12px; }
  .video-stage > img { object-position: 48% 36%; }
  .exercise { padding: 8px; }
  .lesson-rail { border-radius: 12px; }
  .learning-layout, .faq { grid-template-columns: 1fr; gap: 22px; }
  .path h2, .faq h2 { max-width: none; text-wrap: wrap; }
  .tutor-layout { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 355px) {
  .classroom-header h2 { font-size: .78rem; }
  .goals button { font-size: .77rem; }
  .checkbox-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.survey-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-error{color:#a5263e;font-weight:600}.form-error:empty{display:none}.survey-consent{display:grid;gap:12px}.survey-privacy{padding:12px;background:var(--lavender);border-radius:10px;font-size:.88rem}.survey-privacy p{margin-top:10px}.survey-kicker{color:var(--violet);font-size:.78rem;letter-spacing:.12em;font-weight:700}.complete-view code{display:block;overflow-wrap:anywhere;margin:12px 0;padding:12px;background:var(--lavender);border-radius:8px}.survey-form button:disabled{opacity:.65;cursor:wait}dialog h3{margin:24px 0 14px}


.competitor-section{display:grid;gap:18px;margin-block:12px;padding-top:24px;border-top:1px solid var(--line)}.survey-section-heading p{font-size:.72rem;font-weight:700;letter-spacing:.1em;color:var(--violet)}.survey-section-heading h3{margin:5px 0 0;font-size:1.5rem;line-height:1.15}.field-help{font-size:.85rem;color:var(--muted);line-height:1.5}.platform-table{border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-top:8px}.platform-row{display:grid;grid-template-columns:minmax(0,1fr) 80px 80px;align-items:center;min-height:44px;border-top:1px solid var(--line);font-size:.87rem}.platform-row:first-child{border-top:0}.platform-row>span:first-child{padding:9px 12px}.platform-row>span:not(:first-child){text-align:center}.platform-row label{display:flex;align-items:center;justify-content:center;min-height:44px;cursor:pointer}.platform-head{background:var(--lavender);font-size:.75rem;font-weight:650}.platform-head>span{padding:8px 3px}.platform-row:has(input:checked){background:#f5f2ff}@media(max-width:420px){.platform-row{grid-template-columns:minmax(0,1fr) 65px 65px}}
