@font-face {
  font-family: Inter; src: url("fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap;
}
@font-face {
  font-family: Inter; src: url("fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap;
}
@font-face {
  font-family: Inter; src: url("fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap;
}
@font-face {
  font-family: Inter; src: url("fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap;
}
@font-face {
  font-family: Inter; src: url("fonts/inter-800.woff2") format("woff2"); font-weight: 800; font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #152340;
  --muted: #475979;
  --navy: #243e9c;
  --blue: #3855d4;
  --midnight: #101c36;
  --deep: #1a2e54;
  --soft-ink: #c9d7ee;
  --mint: #abf1d9;
  --mist: #f3f6fe;
  --frost: #e3edff;
  --sand: #fff3e6;
  --green: #e7f8f0;
  --lilac: #f0ecff;
  --border: #d3dff4;
  --shadow-blue: #c6d3ee;
  --hero-gradient: #111e3a url("style/navy-wash.svg") center / 100% 100% no-repeat;
  --paper-gradient: #f6faff url("style/paper-wash.svg") center / 100% 100% no-repeat;
  --practice-gradient: #efeaff url("style/practice-wash.svg") center / 100% 100% no-repeat;
  --gutter: clamp(24px, 5vw, 72px);
  --page-width: 1440px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: white; font: 400 16px/1.5 Inter, system-ui, sans-serif; }
body.public-page { --page-width: 1150px; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled, input:disabled { cursor: default; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #6aa9ff; outline-offset: 4px; }
[hidden], .mobile-only { display: none !important; }
.container {
  width: min(100% - var(--gutter) * 2, var(--page-width) - var(--gutter) * 2);
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  z-index: 4;
  inset: 12px auto auto 12px;
  padding: 8px 14px;
  background: white;
  color: var(--ink);
  border-radius: 6px;
  translate: 0 -160%;
}
.skip-link:focus { translate: 0; }
.button {
  display: inline-flex;
  min-height: 48px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 13px;
  padding: 0 20px;
  background: var(--blue);
  color: white;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.25;
}
.button:hover { filter: brightness(.95); }
.button-mint { background: var(--mint); color: var(--midnight); }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: fit-content;
  max-width: 100%;
  padding: 4px 13px;
  border-radius: 15px;
  background: white;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}
h2 { font-size: 58px; line-height: 63px; font-weight: 800; letter-spacing: 0; }
.section-lead { color: var(--muted); font-size: 20px; line-height: 30px; }

.site-header { min-height: 80px; background: var(--midnight); color: white; }
.header-inner {
  width: min(100%, var(--page-width));
  height: 80px;
  margin-inline: auto;
  padding-inline: var(--gutter) min(var(--gutter), 43px);
  display: flex;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 11px;
  background: var(--mint);
  color: var(--midnight);
  font-size: 21px;
}
.site-nav { display: grid; grid-template-columns: repeat(4, minmax(83px, 125px)); width: min(500px, 41vw); align-items: center; }
.site-nav a, .site-footer a { text-decoration: none; }
.site-nav a { display: flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; }
.site-nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
.header-action { flex: 0 0 173px; }
.site-footer {
  min-height: 174px;
  padding-block: 35px 18px;
  color: white;
  background: var(--midnight);
}
.footer-brand { font-size: 23px; line-height: 32px; font-weight: 800; }
.site-footer p { margin-top: 6px; color: var(--soft-ink); font-size: 15px; line-height: 24px; }
.site-footer nav { display: grid; grid-template-columns: repeat(5, minmax(0, 173px)); margin-top: 15px; }
.site-footer nav a { min-height: 44px; width: fit-content; display: flex; align-items: center; font-size: 15px; font-weight: 600; }

.hero {
  min-height: 662px;
  color: white;
  background: var(--deep) url("style/hero-desktop.svg") center bottom / max(100%, 1440px) 742px no-repeat;
}
.hero-inner { position: relative; min-height: inherit; }
.hero-copy { position: relative; z-index: 1; padding-top: 85px; width: min(610px, 53%); }
.hero-kicker { color: var(--soft-ink); background: var(--deep); }
.hero h1 { margin-top: 23px; font-size: clamp(55px, 5.77vw, 83px); line-height: 1.024; translate: 0 10px; font-weight: 800; }
.hero h1 span { display: block; color: var(--mint); }
.hero-copy > p:not(.platform) { max-width: 522px; margin-top: 20px; color: var(--soft-ink); font-size: 21px; line-height: 32px; }
.hero-copy .button { margin-top: 22px; min-width: 181px; }
.hero .platform { margin-top: 13px; color: var(--soft-ink); font-size: 14px; font-weight: 500; line-height: 20px; }
.hero-art { position: absolute; inset: 0; }
.phone {
  position: absolute;
  padding: 6px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: white;
  box-shadow: 0 7px var(--shadow-blue);
}
.phone img { width: 100%; height: auto; }
.hero-phone { width: clamp(215px, 19.31vw, 278px); left: 65.82%; top: 40px; transform-origin: center 278px; transform: rotate(-10deg); }
.callout {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 75px;
  padding: 9px 14px;
  background: white;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 5px #abbed9;
}
.callout span { color: var(--muted); font-size: 12px; line-height: 17px; font-weight: 600; }
.callout strong { font-size: 18px; font-weight: 800; line-height: 23px; }
.hero-translation { right: -21px; top: 145px; width: 230px; }
.hero-forms { left: 53.55%; top: 408px; width: 253px; }
.hero-save { position: absolute; right: 59px; top: 510px; color: var(--mint); background: var(--deep); }

.steps { min-height: 828px; padding-block: 80px 90px; }
.steps .section-lead { margin-top: 12px; }
.step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 26px;
  padding: 0;
  margin-top: 45px;
  list-style: none;
}
.step { min-height: 242px; border-radius: 24px; position: relative; padding: 18px 39% 20px 19px; }
.step-blue { background: var(--frost); }
.step-sand { background: var(--sand); }
.step-green { background: var(--green); }
.step-lilac { background: var(--lilac); }
.step-copy { margin-top: 14px; max-width: 310px; }
.step h3 { font-size: 29px; font-weight: 800; line-height: 33px; }
.step p { margin-top: 13px; color: var(--muted); font-size: 17px; line-height: 25px; }
.step img {
  position: absolute;
  right: 14px;
  top: 50%;
  translate: 0 -50%;
  width: min(138px, 31%);
  height: auto;
  padding: 4px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.feature-grid { display: grid; align-items: start; }
.feature-copy h2 { max-width: 100%; }
.feature-copy .section-lead { margin-top: 16px; }
.benefits { display: grid; gap: 17px; padding: 0; margin-top: 24px; list-style: none; }
.benefits li { position: relative; display: grid; gap: 2px; padding-left: 29px; }
.benefits li::before {
  content: "";
  position: absolute;
  inset: 4px auto auto 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--frost);
}
.benefits li::after {
  content: "";
  position: absolute;
  inset: 8px auto auto 5px;
  width: 7px;
  height: 4px;
  rotate: -46deg;
  border-bottom: 2px solid var(--navy);
  border-left: 2px solid var(--navy);
}
.benefits strong { font-size: 16px; line-height: 23px; font-weight: 700; }
.benefits span { color: var(--muted); font-size: 15px; line-height: 23px; }

.translation { background: var(--paper-gradient); min-height: 764px; }
.translation .feature-grid { grid-template-columns: minmax(0, 520fr) minmax(0, 698fr); gap: clamp(24px, 5.42vw, 78px); }
.translation .feature-copy { padding-top: 126px; }
.translation .section-lead, .translation .benefits { max-width: 465px; }
.translation-stage {
  min-height: 580px;
  position: relative;
  margin-top: 65px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--border);
  isolation: isolate;
}
.translation-stage::before { content: ""; position: absolute; inset: 13px; border-radius: 21px; background: var(--frost); z-index: -1; }
.demo-label { position: absolute; left: 25px; top: 21px; color: var(--navy); font-size: 14px; font-weight: 700; }
.translation-label { left: 26px; top: 32px; }
.demo-phone {
  position: absolute;
  z-index: 0;
  padding: 6px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 15px;
}
.translation-phone { left: 27px; top: 72px; width: min(232px, 37%); }
.demo-screen { position: relative; aspect-ratio: 292 / 632; overflow: hidden; background: #f5f2eb; isolation: isolate; }
.demo-frame { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 240ms ease-out; }
.demo-frame:first-child { opacity: 1; }
[data-step="result"] [data-frame="result"],
[data-step="details"] [data-frame="details"] { opacity: 1; }
.translation-explainer { position: absolute; left: 43.27%; right: 26px; top: 148px; }
.translation-explainer h3 { font-size: 24px; line-height: 34px; font-weight: 800; }
.translation-explainer ol { display: grid; gap: 17px; list-style: none; padding: 0; margin-top: 23px; }
.translation-explainer li { min-height: 72px; display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 9px; }
.translation-explainer strong { display: block; font-size: 17px; line-height: 24px; font-weight: 700; }
.translation-explainer p { max-width: 280px; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 21px; }
.demo-number { color: white; background: var(--navy); }
[data-step="typing"] li:nth-child(1) .demo-number,
[data-step="result"] li:nth-child(2) .demo-number,
[data-step="details"] li:nth-child(3) .demo-number { background: var(--blue); box-shadow: 0 0 0 3px #3855d431; }
.typing-mask {
  position: absolute;
  opacity: 0;
  top: 9.02%;
  left: 7.3%;
  width: 16%;
  height: 3.2%;
  border-left: 1px solid var(--navy);
  background: #fdfcf8;
  transform-origin: right;
}
[data-step="typing"] .typing-mask { opacity: 1; animation: reveal-word 680ms steps(5, end) both; }
@keyframes reveal-word { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.demo-tap {
  position: absolute;
  display: none;
  width: 23px;
  aspect-ratio: 1;
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 4px #3855d439;
  border-radius: 50%;
  translate: -50% -50%;
  animation: tap-ripple 370ms ease-out both;
}
[data-step="submit"] .demo-tap, [data-step="open-details"] .demo-tap { display: block; }
[data-step="submit"] .demo-tap { left: 50%; top: 20%; }
[data-step="open-details"] .demo-tap { left: 52%; top: 57%; }
[data-step="open-details"] [data-frame="result"] { opacity: 1; }
@keyframes tap-ripple { from { opacity: 0; scale: .6; } 45% { opacity: 1; } to { opacity: 0; scale: 1.25; } }

.grammar { min-height: 710px; }
.grammar .feature-grid { grid-template-columns: minmax(0, 687fr) minmax(0, 544fr); gap: clamp(24px, 4.52vw, 65px); }
.grammar .feature-copy { grid-area: 1 / 2; padding-top: 79px; }
.grammar h2 { max-width: 520px; }
.grammar .section-lead { max-width: 495px; }
.grammar .benefits { max-width: 505px; }
.grammar-stage {
  grid-area: 1 / 1;
  position: relative;
  margin-top: 65px;
  height: 580px;
  border-radius: 28px;
  background: #fcf5eb;
  isolation: isolate;
}
.grammar-stage::before { content: ""; position: absolute; z-index: -1; inset: 72px 6% 66px; background: #ffe9cd; border-radius: 50%; }
.forms-phone { width: min(225px, 36%); top: 30px; left: 8%; }
.usage-phone { width: min(213px, 36%); top: 49px; left: 44.84%; }
.grammar-example { width: min(325px, 52%); top: 461px; left: 47.31%; }

.practice { min-height: 776px; color: white; background: var(--hero-gradient); }
.practice .feature-grid { grid-template-columns: minmax(0, 530fr) minmax(0, 684fr); gap: clamp(24px, 5.76vw, 83px); }
.practice .feature-copy { padding-top: 123px; }
.practice .section-lead { max-width: 505px; color: var(--soft-ink); }
.practice .benefits span { color: var(--soft-ink); }
.practice .benefits li::before { background: var(--deep); }
.practice .benefits li::after { border-color: var(--mint); }
.practice-stage { margin-top: 63px; height: 643px; position: relative; border-radius: 28px; background: var(--practice-gradient); }
.flashcard-caption { top: 32px; }
.dashboard-phone { left: 7.89%; top: 78px; width: min(230px, 38%); }
.flashcard-phone { top: 64px; left: 54.09%; width: min(245px, 40%); }
.dashboard-label, .flashcard-label { position: absolute; bottom: 26px; }
.dashboard-label { left: 24px; }
.flashcard-label { left: 51.46%; }
.practice-demo-screen {
  padding: 10px 8px;
  background: #f5f2eb;
  color: #242a3b;
  font-size: 10px;
  line-height: 1.4;
  border-radius: 9px;
}
.practice-demo-header { display: grid; grid-template-columns: 1fr auto 1fr; gap: 5px; align-items: center; min-height: 25px; }
.practice-demo-header > span:first-child { padding-left: 3px; color: #243a73; font-size: 18px; line-height: 1; }
.practice-demo-header > span:last-child { padding-right: 3px; text-align: right; }
.practice-demo-progress { height: 3px; margin-block: 4px 10px; border-radius: 4px; background: #dad6d0; overflow: hidden; }
.practice-demo-progress::before { content: ""; display: block; width: 0; height: 100%; background: #233972; border-radius: inherit; transition: width 200ms ease-out; }
[data-step="speak"] .practice-demo-progress::before, [data-step="listening"] .practice-demo-progress::before,
[data-step="partial-transcript"] .practice-demo-progress::before, [data-step="transcribed"] .practice-demo-progress::before { width: 50%; }
[data-step="incorrect"] .practice-demo-progress::before { width: 100%; }
.practice-prompt { min-height: 105px; padding: 11px 6px; border: 1px solid #ded9d1; border-radius: 10px; background: #fdfcf8; text-align: center; }
.practice-prompt > span { display: inline-block; padding: 2px 6px; border-radius: 5px; background: #e8edf7; color: #233972; }
.practice-prompt > strong { display: block; margin-block: 4px; font-size: 25px; line-height: 1.16; }
.practice-prompt p { color: #535b6b; }
.practice-answer-label { margin-block: 10px 4px; font-weight: 700; }
.practice-answer { display: flex; align-items: center; min-height: 32px; padding-left: 7px; border: 1px solid #cecac1; border-radius: 7px; background: #fdfcf8; overflow: hidden; }
.practice-placeholder { color: #535b6b; }
.practice-answer:has(.practice-answer-text:not([hidden])) .practice-placeholder { display: none; }
.practice-answer-text { display: inline-block; font-size: 11px; }
.practice-mic { display: grid; place-items: center; width: 30px; min-height: 30px; margin-left: auto; border-left: 1px solid #cecac1; color: #233972; }
.practice-mic svg { width: 15px; }
.practice-wave { display: none; align-items: center; gap: 2px; height: 16px; }
.practice-wave i { width: 2px; height: 12px; border-radius: 2px; background: white; animation: voice-level 440ms ease-in-out infinite alternate; }
.practice-wave i:nth-child(2) { animation-delay: -220ms; }
.practice-wave i:nth-child(3) { animation-delay: -110ms; }
.practice-wave i:nth-child(4) { animation-delay: -330ms; }
:is([data-step="listening"], [data-step="partial-transcript"]) .practice-answer { border-color: #233972; box-shadow: 0 0 0 2px #23397218; }
:is([data-step="listening"], [data-step="partial-transcript"]) .practice-mic { background: #233972; }
:is([data-step="listening"], [data-step="partial-transcript"]) .practice-mic svg { display: none; }
:is([data-step="listening"], [data-step="partial-transcript"]) .practice-wave { display: flex; }
[data-step="listening"] .practice-placeholder { visibility: hidden; }
[data-step="typing-answer"] .practice-answer-text { animation: type-answer 680ms steps(5,end) both; }
@keyframes type-answer { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes voice-level { from { transform: scaleY(.26); } to { transform: scaleY(1); } }
.practice-check { display: grid; place-items: center; margin-top: 6px; min-height: 31px; border: 1px solid #ded9d1; border-radius: 7px; color: #535b6b; font-weight: 700; }
:is([data-step="written"], [data-step="transcribed"]) .practice-check { background: #233972; border-color: #233972; color: white; }
.practice-feedback { margin-top: 12px; padding: 10px 7px; border-radius: 8px; border: 1px solid #ccd9ed; background: #e8edf7; color: #233972; animation: show-feedback 210ms ease-out both; }
[data-step="incorrect"] .practice-feedback { border-color: #ead4b6; background: #f8ead6; color: #6a4528; }
.practice-grade { display: flex; gap: 5px; align-items: center; margin-bottom: 5px; font-size: 12px; font-weight: 700; }
.practice-grade span { display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; width: 15px; height: 15px; font-size: 9px; }
.practice-feedback dl > div { display: flex; justify-content: space-between; gap: 4px 6px; flex-wrap: wrap; margin-top: 4px; }
.practice-feedback dd { color: #242a3b; font-weight: 700; }
.practice-feedback [data-grade-hint] { margin-top: 6px; }
@keyframes show-feedback { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }

.editions { min-height: 462px; padding-top: 67px; }
.editions .section-lead { margin-top: 15px; max-width: 782px; }
.edition-grid { display: grid; grid-template-columns: minmax(0, 365fr) minmax(0, 906fr); gap: 25px; margin-top: 38px; }
.edition-grid > div { min-height: 136px; padding: 20px 22px; border-radius: 23px; }
.available-edition { background: var(--green); }
.available-edition h3 { margin-top: 13px; font-size: 27px; line-height: 33px; font-weight: 800; }
.planned-editions { background: var(--mist); }
.planned-editions h3 { font-size: 16px; line-height: 23px; font-weight: 700; }
.planned-editions ul { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 17px; padding: 0; list-style: none; }
.faq { min-height: 545px; padding-block: 48px 28px; background: var(--mist); }
.faq dl { max-width: 920px; display: grid; gap: 20px; margin-top: 20px; }
.faq dl > div { min-height: 78px; padding: 10px 14px 13px; border: 1px solid var(--border); border-radius: 15px; background: white; }
.faq dt { font-weight: 700; font-size: 16px; line-height: 23px; }
.faq dd { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 19px; }
.closing { min-height: 335px; padding-top: 52px; color: white; background: var(--hero-gradient); }
.store-platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; padding-bottom: 22px; }
.store-placeholder { display: flex; min-width: 134px; min-height: 50px; padding: 7px 15px; flex-direction: column; justify-content: center; border: 1px solid #8296b9; border-radius: 9px; background: #14223e; line-height: 1.25; }
.store-placeholder small { font-size: 11px; color: var(--soft-ink); }
.store-placeholder strong { font-size: 17px; }
.store-link { display: block; }
.store-link img { height: 46px; width: auto; }
.store-link-play img { height: 70px; }

.public-page .page-inner {
  width: min(100% - 128px, 1022px);
  margin-inline: auto;
}
.page-intro { min-height: 229px; padding-block: 37px 38px; background: var(--paper-gradient); }
.page-intro h1, .feedback-page h1 { font-size: 58px; line-height: 63px; font-weight: 800; translate: 0 6px; }
.page-intro p { margin-top: 11px; max-width: 800px; color: var(--muted); font-size: 18px; line-height: 24px; }
.public-content { padding-block: 46px 42px; }
.public-content p { color: var(--muted); }
.support-layout { display: grid; grid-template-columns: minmax(0, 572fr) minmax(0, 384fr); gap: min(5.56vw,64px); align-items: start; padding-bottom: 44px; }
.contact-card { order: 2; min-height: 146px; border-radius: 23px; padding: 19px 21px; background: var(--green); }
.contact-card h2 { font-size: 20px; line-height: 28px; }
.contact-card p { margin-top: 11px; max-width: 317px; font-size: 15px; line-height: 24px; }
.contact-card a { color: var(--navy); }
.delete-shortcut { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; font-size: 15px; font-weight: 600; }
[data-email-fallback] p { max-width: 46ch; margin-top: 8px; }
[data-email-fallback] a, .delete-content > p a { color: var(--navy); text-decoration: underline; text-underline-offset: .15em; overflow-wrap: anywhere; }
.request-form { min-width: 0; max-width: 572px; }
.support-layout .request-form button[type="submit"] { min-width: 154px; }
.form-field { display: grid; gap: 10px; margin-bottom: 20px; }
.form-field label { font-size: 15px; line-height: 21px; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 47px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font-size: 15px;
  line-height: 24px;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted); opacity: 1; }
.form-field select { appearance: none; cursor: pointer; }
.form-field select:invalid { color: var(--muted); }
.form-field textarea { min-height: 115px; resize: vertical; }
.request-result { margin-top: 20px; padding: 16px 18px; background: var(--green); border-radius: 18px; }
.request-result[data-status="error"] { background: var(--sand); }
.request-result :is(h2, h3) { margin-bottom: 6px; font-size: 19px; line-height: 26px; }
.request-result p { font-size: 15px; line-height: 22px; overflow-wrap: anywhere; }
.delete-content { border-top: 1px solid var(--border); padding-bottom: 48px; scroll-margin-top: 16px; }
.delete-content > p { max-width: 46ch; margin-top: 10px; }
.delete-content .request-form { margin-top: 27px; }
.delete-content .request-form button[type="submit"] { min-width: min(233px, 100%); }
.delete-content .form-note { margin-bottom: 15px; font-size: 15px; font-weight: 500; line-height: 21px; }
.legal-content { padding-bottom: 36px; }
.publication-status { font-size: 14px; line-height: 20px; font-weight: 600; }
.legal-content article { max-width: 820px; margin-top: 22px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 16px; margin-bottom: 28px; border: 1px solid var(--border); border-radius: 12px; background: var(--mist); }
.legal-toc a { min-height: 32px; display: inline-flex; align-items: center; }
.legal-content section { scroll-margin-block-start: 20px; }
.legal-content section + section { margin-top: 30px; }
.legal-content h2 { font-size: 20px; line-height: 28px; font-weight: 800; }
.legal-content section p, .legal-content dd, .legal-content li { color: var(--muted); font-size: 16px; line-height: 25px; }
.legal-content section p { margin-top: 8px; }
.legal-content section h2:not(:first-child) { margin-top: 18px; }
.legal-content a { color: var(--navy); text-underline-offset: .15em; overflow-wrap: anywhere; }
.legal-content ul { padding-inline-start: 22px; margin-top: 8px; }
.legal-content li + li { margin-top: 8px; }
.legal-definitions { margin-top: 12px; }
.legal-definitions dt { font-weight: 700; }
.legal-definitions dt:not(:first-child) { margin-top: 14px; }
.legal-definitions dd { margin-top: 4px; }
.feedback-page { padding-block: 38px 51px; }
.feedback-page > p { margin-top: 14px; color: var(--muted); font-size: 20px; line-height: 30px; }
.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 43px; }
.feedback-grid article { min-height: 257px; padding: 25px 18px 24px; border-radius: 23px; display: flex; flex-direction: column; align-items: start; background: var(--green); }
.feedback-grid h2 { font-size: 24px; line-height: 34px; }
.feedback-grid p { margin-block: 13px 15px; color: var(--muted); font-size: 16px; line-height: 24px; }
.feedback-grid .button { margin-top: auto; }
.feedback-grid article:nth-child(2) { background: var(--sand); }
.feedback-grid article:nth-child(3) { background: var(--mist); }

@media (min-width: 820px) and (max-width: 1099px) {
  h2 { font-size: 47px; line-height: 52px; }
  .site-nav { width: auto; grid-template-columns: repeat(4, auto); gap: 17px; margin-right: 20px; }
  .brand { font-size: 19px; }
  .header-action { flex-basis: auto; }
  .hero-forms { left: 49%; width: 208px; }
  .hero-translation { width: 185px; }
  .hero-phone { left: 64%; }
  .translation-explainer { left: 44%; right: 15px; }
  .translation-explainer h3 { font-size: 20px; line-height: 25px; }
  .grammar-example { left: 39%; width: 58%; }
  .flashcard-label { left: auto; right: 16px; }
}

@media (max-width: 819px) {
  :root { --gutter: 24px; }
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-flex !important; }
  h2 { font-size: 38px; line-height: 44px; }
  .section-lead { font-size: 17px; line-height: 26px; }
  .header-inner { padding-inline: 24px; }
  .brand { font-size: 20px; line-height: 25px; }
  .site-nav { display: flex; width: auto; margin-left: 8px; }
  .site-nav a { display: none; }
  .site-nav a:last-child { display: flex; color: var(--mint); font-size: 14px; translate: 0 -3px; }
  .header-action { display: none; }
  .site-footer { min-height: 240px; padding-block: 35px 15px; }
  .site-footer p { width: calc(100% + 12px); margin-top: 4px; }
  .site-footer nav { grid-template-columns: repeat(2, minmax(0, 166px)); margin-top: 17px; }
  .site-footer nav a { min-height: 31px; }
  .hero {
    min-height: 931px;
    background: var(--deep) url("style/hero-mobile.svg") center bottom / auto 1011px no-repeat;
  }
  .hero-copy { width: 100%; padding-top: 29px; }
  .hero h1 { margin-top: 19px; font-size: 43px; line-height: 49px; translate: 0 3px; }
  .hero-copy > p:not(.platform) { font-size: 17px; line-height: 26px; }
  .hero-phone { left: 20.18%; top: 405px; width: 199px; transform-origin: center 199px; transform: rotate(-7deg); }
  .hero-forms { top: 762px; left: -1px; width: 179px; }
  .hero-translation { top: 671px; right: -1px; width: 150px; }
  .steps { min-height: 1184px; padding-block: 52px 63px; }
  .step-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 26px; }
  .step { min-height: 211px; padding: 18px 41% 20px 19px; }
  .step h3 { font-size: 23px; line-height: 28px; }
  .step p { margin-top: 14px; font-size: 15px; line-height: 22px; }
  .step img { width: min(119px, 35%); }
  .step-copy { max-width: 177px; }
  .feature .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .feature-copy h2 { width: min(100%, 342px); }
  .feature-copy .section-lead { width: min(100%, 375px); }
  .feature-copy .benefits { width: min(100%, 485px); }
  .translation { min-height: 1094px; }
  .translation .feature-copy { padding-top: 55px; }
  .translation-stage { margin-top: 68px; width: 100%; }
  .translation-phone { width: min(210px, 72%); left: 50%; translate: -50% 0; }
  .translation-explainer { display: none; }
  .translation-summary { position: absolute; left: 26px; bottom: 27px; }
  .grammar { min-height: 1176px; }
  .grammar .feature-copy { grid-area: auto; padding-top: 53px; }
  .grammar-stage { grid-area: auto; height: 580px; margin-top: 52px; }
  .forms-phone { left: 50%; translate: -50% 0; top: 24px; width: min(213px, 76%); }
  .grammar-label { position: absolute; left: 24px; bottom: 20px; }
  .practice { min-height: 1128px; }
  .practice .feature-copy { padding-top: 52px; }
  .practice-stage { height: 548px; margin-top: 64px; }
  .flashcard-phone { width: min(210px, 72%); left: 50%; translate: -50% 0; }
  .flashcard-summary { position: absolute; left: 44px; bottom: 17px; }
  .editions { min-height: 499px; padding-top: 44px; }
  .edition-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 25px; }
  .edition-grid > div { border-radius: 18px; }
  .available-edition { display: flex; gap: 39px; align-items: start; }
  .edition-grid .available-edition { min-height: 82px; padding: 15px 14px; }
  .available-edition h3 { margin: 0; font-size: 18px; line-height: 28px; }
  .edition-grid .planned-editions { min-height: 114px; padding: 12px 14px; }
  .planned-editions h3 { font-size: 14px; line-height: 20px; }
  .planned-editions ul { gap: 3px; margin-top: 10px; }
  .faq { min-height: 728px; padding-block: 48px 36px; }
  .faq dl > div { min-height: 101px; }
  .closing { min-height: 303px; padding-top: 52px; }
  .public-page .page-inner { width: min(100% - 48px, 600px); }
  .page-intro { min-height: 210px; padding-block: 37px 28px; }
  .page-intro h1, .feedback-page h1 { font-size: 38px; line-height: 44px; translate: 0 2px; }
  .page-intro p { font-size: 16px; line-height: 24px; translate: 0 -2px; }
  .public-content { padding-block: 43px 42px; }
  .support-layout { grid-template-columns: minmax(0, 1fr); gap: 23px; padding-bottom: 44px; }
  .contact-card { order: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 0; background: transparent; min-height: 30px; }
  .contact-card h2 { display: inline-flex; align-items: center; padding: 4px 13px; min-height: 30px; font-size: 13px; line-height: 18px; font-weight: 600; border-radius: 15px; color: var(--navy); background: var(--frost); }
  .contact-card > p { display: none; }
  .delete-shortcut { margin-top: 0; font-size: 13px; }
  .request-form { max-width: 100%; }
  .delete-content { padding-bottom: 48px; }
  .legal-content { padding-bottom: 36px; }
  .feedback-grid { grid-template-columns: 1fr; }
}

@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .header-inner { padding-inline: var(--gutter); }
  .brand { font-size: 17px; gap: 8px; }
  .hero h1 { font-size: 38px; line-height: 44px; }
  .hero-forms { width: 155px; }
  .hero-translation { width: 132px; }
  .step { padding-right: 42%; }
  .step h3 { font-size: 20px; line-height: 25px; }
  .step p { font-size: 14px; }
  .editions, .faq { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-frame, .practice-demo-progress::before { transition: none; }
  .practice-answer-text, .practice-wave i, .practice-feedback { animation: none; }
  .typing-mask, .demo-tap { display: none !important; }
}


/* The locale control uses the existing header surface and works without JavaScript. */
.locale-menu { position: relative; z-index: 3; color: white; }
.locale-menu summary {
  display: flex;
  gap: 6px;
  min-height: 44px;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}
.locale-menu summary::-webkit-details-marker { display: none; }
.locale-menu nav {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-end: 0;
  display: grid;
  width: min(230px, calc(100vw - 48px));
  max-height: min(55vh, 500px);
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  box-shadow: 0 15px 40px rgb(16 28 54 / 22%);
}
.locale-menu:not([open]) nav { display: none; }
.locale-menu nav a { display: flex; align-items: center; min-height: 38px; padding: 6px 12px; border-radius: 6px; text-decoration: none; }
.locale-menu nav a:hover, .locale-menu nav a[aria-current] { background: var(--frost); }
.header-inner { column-gap: clamp(8px, 1.5vw, 22px); }
.site-nav { gap: clamp(6px, 1.1vw, 15px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.site-nav a, .locale-menu, .site-footer a { overflow-wrap: anywhere; }
.site-footer nav { grid-template-columns: repeat(6, minmax(0, 155px)); gap: 8px; }
.site-footer nav a { width: auto; }
.hero-copy { padding-bottom: 32px; }
.hero-copy h1, .feature h2, .page-hero h1, .step h3 { overflow-wrap: anywhere; }
.legal-content article[lang="en-US"] { text-align: start; }
[dir="rtl"] .demo-screen { direction: rtl; }
[dir="rtl"] .practice-prompt strong, [dir="rtl"] .practice-answer-text, [dir="rtl"] [data-given-answer], [dir="rtl"] [data-saved-answer] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .skip-link { inset-inline-start: 12px; inset-inline-end: auto; }
@media (max-width: 1099px) {
  .site-nav { width: auto; margin-inline: 0; }
}
@media (max-width: 819px) {
  .site-footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { margin-inline: 0; }
  .header-inner { flex-wrap: wrap; padding-block: 4px; }
  .header-inner .brand { margin-inline-end: auto; }
  .locale-menu summary { font-size: 13px; }
  .hero-copy { padding-bottom: 0; }
}
h1, h2, h3 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 819px) {
  .hero-art { position: relative; inset: auto; min-height: 526px; margin-block-start: 32px; }
  .hero-phone { top: 0; }
  .hero-translation { top: 266px; }
  .hero-forms { top: 357px; }
}
