:root {
  color-scheme: light;
  --navy: #071b47;
  --blue: #1769f5;
  --blue-deep: #0751d2;
  --blue-soft: #e8f0ff;
  --ink: #071b47;
  --ink-soft: #59667e;
  --line: #dce5f1;
  --paper: #fff;
  --canvas: #f6f8fc;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--canvas); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 max(32px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgb(220 229 241 / 70%);
  background: rgb(246 248 252 / 88%);
  backdrop-filter: blur(18px) saturate(160%);
}

.brand, .footer-brand { display: flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 850; letter-spacing: -.03em; text-decoration: none; }
.wave-mark { display: flex; align-items: center; justify-content: center; gap: 2px; width: 34px; height: 34px; border-radius: 11px; background: var(--blue-soft); }
.wave-mark i { display: block; width: 3px; border-radius: 99px; background: var(--blue); }
.wave-mark i:nth-child(1), .wave-mark i:nth-child(5) { height: 8px; }
.wave-mark i:nth-child(2), .wave-mark i:nth-child(4) { height: 15px; }
.wave-mark i:nth-child(3) { height: 22px; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { color: var(--ink-soft); font-size: 13px; font-weight: 750; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--blue); }

main, footer { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.eyebrow, .section-label { margin: 0; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .15em; }
h1 { margin: 14px 0 24px; font-size: clamp(52px, 7vw, 84px); line-height: 1.08; letter-spacing: -.065em; }
h2 { margin: 0; font-size: clamp(34px, 4.8vw, 56px); line-height: 1.18; letter-spacing: -.055em; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  height: calc(100svh - 72px);
  min-height: 560px;
  padding: clamp(28px, 5svh, 54px) 0;
}
.hero-lead { margin: 0; color: var(--ink-soft); font-size: clamp(17px, 2vw, 21px); line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 32px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 24px; border-radius: 16px; color: white; background: var(--blue); font-weight: 800; text-decoration: none; box-shadow: 0 14px 34px rgb(23 105 245 / 20%); }
.primary-button:hover { background: var(--blue-deep); transform: translateY(-1px); }
.text-link, .light-link { font-size: 14px; font-weight: 750; text-underline-offset: 5px; }
.availability { display: flex; align-items: center; gap: 8px; margin: 24px 0 0; color: var(--ink-soft); font-size: 12px; }
.availability span { width: 7px; height: 7px; border-radius: 50%; background: #33b47c; box-shadow: 0 0 0 5px rgb(51 180 124 / 12%); }

.app-preview { position: relative; display: grid; justify-items: center; margin: 0; }
.app-preview::before { position: absolute; inset: 12% -12% 8%; border-radius: 50%; background: var(--blue-soft); content: ""; }
.phone-frame {
  position: relative;
  z-index: 1;
  width: auto;
  height: min(70svh, 660px);
  max-width: 100%;
  aspect-ratio: 368 / 800;
  padding: 7px;
  border-radius: clamp(32px, 5svh, 48px);
  background: #071326;
  box-shadow: 0 28px 70px rgb(7 27 71 / 24%);
  transform: rotate(1.5deg);
}
.phone-screen { position: relative; overflow: hidden; width: 100%; height: 100%; border-radius: inherit; }
.app-screen { display: block; width: 100%; height: 100%; object-fit: cover; }
.current-lesson-image {
  position: absolute;
  top: 31.2%;
  left: 9.45%;
  width: 81.1%;
  height: 14.65%;
  border-radius: 14px;
  object-fit: cover;
}
.app-preview figcaption { position: relative; z-index: 1; margin-top: 12px; color: var(--ink-soft); font-size: 11px; }

.how { padding: 112px 0 120px; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 80px; }
.section-heading h2 { margin-top: 14px; }
.section-heading > p { margin: 0; color: var(--ink-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 58px; }
.steps article { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 26px; background: var(--paper); }
.steps svg { width: 48px; height: 48px; margin-bottom: 42px; fill: none; stroke: var(--blue); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.steps article > span { position: absolute; top: 28px; right: 28px; color: #9ba9bc; font-size: 11px; font-weight: 850; }
.steps h3 { margin: 0 0 8px; font-size: 23px; letter-spacing: -.03em; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.free-strip { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; padding: 54px 60px; border-radius: 30px; color: white; background: var(--navy); }
.free-strip .section-label { color: #8eb8ff; }
.free-strip h2 { margin-top: 10px; font-size: clamp(28px, 4vw, 43px); }
.free-strip dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.free-strip dl div { padding: 4px 20px; border-left: 1px solid rgb(199 210 231 / 20%); }
.free-strip dt { font-size: 27px; font-weight: 900; letter-spacing: -.04em; }
.free-strip dd { margin: 2px 0 0; color: #c7d2e7; font-size: 11px; }

.future-voice { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; padding: 140px 0; }
.voice-line { display: grid; place-items: center; min-height: 390px; border: 1px solid var(--line); border-radius: 50% 50% 46% 54% / 48% 45% 55% 52%; background: var(--blue-soft); }
.voice-line svg { width: 88%; overflow: visible; fill: none; stroke: var(--blue); stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }
.voice-line circle { opacity: .14; stroke-width: 1.5; }
.voice-arc { opacity: .72; }
.voice-copy h2 { margin: 14px 0 20px; }
.voice-copy > p { max-width: 530px; margin: 0; color: var(--ink-soft); font-size: 17px; }
.voice-plans { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.voice-plans span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-soft); background: var(--paper); font-size: 13px; }
.voice-plans strong { margin-right: 7px; color: var(--ink); }
.light-link { display: inline-block; margin-top: 24px; color: var(--blue); }

.plans { padding: 110px 0 120px; border-top: 1px solid var(--line); }
.plan-heading { align-items: end; }
.plan-status { justify-self: end; color: var(--blue); font-size: 12px; font-weight: 800; }
.plan-status::before { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgb(23 105 245 / 10%); content: ""; }
.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 54px; }
.plan-card { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); }
.plan-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 28px; border-bottom: 1px solid var(--line); }
.plan-card header p { margin: 0; font-size: 13px; font-weight: 850; }
.plan-card h3 { margin: 3px 0 0; font-size: 30px; letter-spacing: -.04em; }
.plan-card header > span { color: var(--ink-soft); font-size: 11px; }
.plan-card ul { display: grid; gap: 0; margin: 0; padding: 8px 28px 22px; list-style: none; }
.plan-card li { position: relative; padding: 15px 0 15px 26px; border-bottom: 1px solid var(--line); font-size: 14px; }
.plan-card li:last-child { border-bottom: 0; }
.plan-card li::before { position: absolute; top: 20px; left: 2px; width: 9px; height: 5px; border-bottom: 2px solid var(--blue); border-left: 2px solid var(--blue); transform: rotate(-45deg); content: ""; }
.premium-plan { color: white; border-color: #163765; background: var(--navy); }
.premium-plan header, .premium-plan li { border-color: rgb(199 210 231 / 16%); }
.premium-plan header > span { color: #aebfd9; }
.premium-plan li::before { border-color: #8eb8ff; }
.plan-details { max-width: 760px; margin-top: 22px; color: var(--ink-soft); font-size: 12px; }
.plan-details summary { width: fit-content; cursor: pointer; color: var(--ink); font-weight: 800; }
.plan-details p { margin: 10px 0 0; }

.closing { padding: 80px 0 120px; text-align: center; }
.closing h2 { margin: 14px auto 20px; }
.closing > p:not(.section-label) { margin: 0 0 28px; color: var(--ink-soft); }
footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 38px 0 46px; border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--ink-soft); font-size: 12px; font-weight: 700; }
footer > p { grid-column: 1 / -1; margin: 0; color: #8996aa; font-size: 11px; }

:focus-visible { outline: 3px solid rgb(23 105 245 / 35%); outline-offset: 4px; }

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --blue: #76aaff;
    --blue-deep: #8fbbff;
    --blue-soft: #172d4b;
    --ink: #eef4ff;
    --ink-soft: #aab8cc;
    --line: #293b53;
    --paper: #111d2e;
    --canvas: #07111f;
  }
  .site-header { border-bottom-color: rgb(41 59 83 / 75%); background: rgb(7 17 31 / 88%); }
  .primary-button { color: white; background: #2d72db; box-shadow: 0 14px 34px rgb(0 0 0 / 28%); }
  .phone-frame { background: #354961; box-shadow: 0 35px 80px rgb(0 0 0 / 42%); }
  .free-strip, .premium-plan { background: #0a1c36; }
  .free-strip { border: 1px solid #29466f; }
  .voice-line { border-color: #29466f; }
  footer > p { color: #8493a9; }
}

@media (prefers-reduced-motion: no-preference) {
  .primary-button { transition: background .2s ease, transform .2s ease; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(220px, 290px); gap: 32px; }
  .hero-copy { max-width: 720px; }
  .phone-frame { height: min(66svh, 590px); }
  .section-heading, .free-strip, .future-voice { grid-template-columns: 1fr; gap: 42px; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 210px; }
  .free-strip { padding: 50px; }
  .future-voice { gap: 50px; }
  .voice-line { width: min(100%, 520px); margin: 0 auto; }
  .plan-status { justify-self: start; }
}

@media (max-width: 640px) {
  .site-header { height: 64px; padding: 0 20px; }
  .site-header nav a { display: none; }
  .site-header nav a:nth-last-child(2), .site-header nav a:last-child { display: block; }
  .site-header nav { gap: 18px; }
  main, footer { width: min(100% - 40px, 560px); }
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 18px;
    height: calc(100svh - 64px);
    min-height: 590px;
    padding: 24px 0 18px;
  }
  h1 { margin: 8px 0 12px; font-size: clamp(40px, 12vw, 52px); }
  .eyebrow { font-size: 9px; }
  .hero-lead { font-size: 15px; line-height: 1.65; }
  .hero-lead br { display: none; }
  .hero-actions { gap: 16px; margin-top: 18px; }
  .hero .primary-button { min-height: 48px; padding: 0 18px; border-radius: 14px; font-size: 14px; }
  .availability { margin-top: 12px; }
  .app-preview { align-self: stretch; overflow: hidden; }
  .phone-frame { height: min(41svh, 350px); border-radius: 34px; transform: rotate(.5deg); }
  .app-preview figcaption { display: none; }
  .app-preview::before { right: 0; left: 0; }
  .how, .future-voice, .plans { padding: 80px 0; }
  .compact-heading { gap: 20px; }
  .steps { margin-top: 38px; }
  .steps article { min-height: 0; padding: 24px; border-radius: 22px; }
  .steps svg { margin-bottom: 28px; }
  .free-strip { gap: 30px; padding: 34px 24px; border-radius: 26px; }
  .free-strip dl { gap: 18px; }
  .free-strip dl div { padding: 0; border-left: 0; }
  .free-strip dt { font-size: 21px; }
  .voice-line { min-height: 290px; }
  .voice-copy > p { font-size: 15px; }
  .plan-heading { gap: 22px; }
  .plan-cards { grid-template-columns: 1fr; margin-top: 38px; }
  .plan-card { border-radius: 24px; }
  .closing { padding: 70px 0 90px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  footer > p { grid-column: auto; }
}

@media print {
  .site-header { position: static; }
  .hero-actions { display: none; }
  .hero, .section-heading, .free-strip, .future-voice { grid-template-columns: 1fr; }
}
