:root {
  --ink: #152a5e;
  --paper: #f4f6f2;
  --white: #fff;
  --gold: #e8a33d;
  --wash: #e9eee9;
  --muted: #52617b;
  --line: #cdd4d8;
  color-scheme: light;
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; font-size: 17px; line-height: 1.55; }
button, select { font: inherit; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; }
button, select { color: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; text-underline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
p { text-wrap: pretty; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible, [role="button"]:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 12px; padding: 12px 20px; color: var(--white); background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; }
.wordmark { font-family: 'Newsreader', Georgia, serif; font-size: 32px; line-height: 1; white-space: nowrap; text-decoration: none; }
.wordmark em, .edition-brand em { font-weight: 400; }
.beta { font-family: 'Bricolage Grotesque', Arial, sans-serif; font-size: 11px; margin-left: 8px; vertical-align: super; }
.header-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.header-nav > a:not(.button) { text-decoration: none; }
.header-nav > a:not(.button):hover { text-decoration: underline; }
.language-picker select { border: 0; background: transparent; max-width: 130px; min-height: 44px; padding: 8px 4px; font-size: 14px; cursor: pointer; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 16px; font-weight: 500; line-height: 1.3; text-align: center; }
.button:hover { background: #254579; }
.button-small { min-height: 44px; padding: 11px 19px; font-size: 14px; }
.text-link { display: inline-block; font-size: 16px; font-weight: 500; padding-block: 10px; }
.text-link:hover { text-decoration-thickness: 2px; }
.hero { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: 76px; padding-block: clamp(24px, 4svh, 48px); }
.intro-label { margin-bottom: 28px; font-size: 14px; }
h1 { font-size: clamp(44px, 4.65vw, 66px); line-height: 1.04; letter-spacing: -.035em; max-width: 12ch; }
.hero-description { max-width: 36ch; font-size: 19px; line-height: 1.6; margin-top: 26px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 30px; }
.quiet { color: var(--muted); font-size: 13px; line-height: 1.5; }
.hero-copy > .quiet { margin-top: 16px; }
.sample-stage { width: 100%; max-width: 300px; justify-self: center; align-self: start; scroll-margin-top: 20px; }
.sample-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; margin-bottom: 14px; }
.sample-heading > span:last-child { color: var(--muted); text-align: right; }
.app-screens { position: relative; width: min(100%, 260px, 26svh); margin-inline: auto; aspect-ratio: 430 / 932; background: var(--ink); border: 1px solid var(--ink); border-radius: 8px; overflow: hidden; touch-action: pan-y; }
.app-shot { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.app-shot.is-active { opacity: 1; visibility: visible; }
.app-shot img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.tour-caption { display: flex; align-items: center; gap: 16px; min-height: 48px; margin-top: 10px; font-size: 14px; }
#tour-title { flex: 1; min-width: 0; }
#tour-counter { font-size: 12px; color: var(--muted); white-space: nowrap; }
#tour-playback { display: flex; align-items: center; justify-content: center; width: 40px; min-height: 44px; padding: 8px; border: 0; background: transparent; color: var(--ink); }
#tour-playback .play-symbol, #tour-playback[data-paused="true"] .pause-symbol { display: none; }
#tour-playback[data-paused="true"] .play-symbol { display: block; }
.carousel-navigation { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.carousel-arrow { display: flex; justify-content: center; align-items: center; flex: 0 0 34px; min-height: 44px; padding: 6px; border: 0; background: transparent; color: var(--ink); }
.carousel-tabs { display: flex; align-items: center; justify-content: center; min-width: 0; }
.carousel-tabs button { position: relative; flex: 0 0 26px; min-height: 44px; padding: 0; background: transparent; border: 0; color: var(--ink); }
.carousel-tabs button::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; margin: auto; }
.carousel-tabs button[aria-selected="true"]::before { background: currentColor; width: 8px; height: 8px; }
.carousel-arrow:hover, #tour-playback:hover { background: var(--wash); }
.sample-note { color: var(--muted); margin-top: 4px; font-size: 11px; text-align: center; }

.edition-section { background: var(--wash); padding-block: 80px; }
.edition-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 108px; align-items: center; }
.edition-preview { width: min(100%, 240px, 26svh); margin: 0; justify-self: center; background: var(--ink); border-radius: 8px; overflow: hidden; }
.edition-preview img { width: 100%; }
.reading-way { margin-top: 26px; }
.reading-way h3 { font-size: 29px; line-height: 1.2; }
.section-copy .reading-way p { margin-top: 10px; font-size: 16px; line-height: 1.6; }
.hero > *, .edition-layout > *, .install-layout > *, .faq-section > * { min-width: 0; }
.section-copy h2, .support-section > h2, .faq-section > h2 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -.025em; }
.section-copy p { margin-top: 22px; font-size: 18px; max-width: 39ch; }
.section-copy .section-note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.section-copy .text-link, .section-copy .button { margin-top: 25px; }
.support-section { padding-block: 80px 86px; }
.support-section > h2 { text-align: center; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 56px; }
.support-item h3 { margin-top: 22px; font-size: 27px; line-height: 1.2; }
.support-item p { margin-top: 12px; font-size: 16px; }
.support-item p.quiet { font-size: 14px; }
.type-illustration { display: flex; align-items: center; height: 68px; }
.levels { font: 30px/1 'Newsreader', Georgia, serif; gap: 12px; }
.levels span { padding: 11px 12px 8px; border: 1px solid var(--line); }
.levels span:nth-child(2) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.vocabulary { gap: 16px; font: 34px/1 'Newsreader', Georgia, serif; }
.vocabulary span:first-child { border-bottom: 2px dotted var(--ink); }
.vocabulary span:last-child { color: var(--muted); font-style: italic; font-size: 25px; }
.audio-lines { gap: 6px; }
.audio-lines i { display: block; width: 4px; height: 13px; background: var(--ink); }
.audio-lines i:nth-child(3n) { height: 32px; }
.audio-lines i:nth-child(3n + 1) { height: 22px; }
.audio-lines i:nth-child(5), .audio-lines i:nth-child(10) { height: 50px; }
.audio-lines i:nth-child(8) { height: 60px; background: #9d6718; }
.install-section { background: var(--wash); padding-block: 72px; }
.install-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 108px; }
.install-guide { max-width: 440px; }
.phone-transfer { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; font-size: 14px; }
#qr-box { width: 136px; min-width: 136px; background: var(--paper); }
#qr-box img, #qr-box svg { display: block; width: 100%; height: auto; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; list-style: none; padding-block: 20px; min-height: 64px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; font-size: 22px; line-height: 1; font-weight: 400; }
details[open] > summary::after { content: '−'; }
.install-platform { padding-block: 24px; border-bottom: 1px solid var(--line); }
.install-platform h3 { font: inherit; font-size: 18px; }
.install-instructions { margin-top: 18px; font-size: 14px; }
.install-instructions p { margin-top: 12px; }
.install-instructions ol { margin: 0; padding-left: 22px; }
.install-instructions li + li { margin-top: 10px; }
.install-instructions .button { margin-top: 4px; }
.faq-section { display: grid; grid-template-columns: .85fr 1.4fr; gap: 84px; padding-block: 80px; }
.faq-section > h2 { max-width: 10ch; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list details p { padding-bottom: 24px; color: var(--muted); font-size: 16px; max-width: 60ch; }
.language-list { line-height: 2; }
.closing-section { background: var(--ink); color: var(--paper); }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 56px; }
.closing-inner h2 { font-size: 40px; line-height: 1.1; }
.button-cream { background: var(--paper); color: var(--ink); border-color: var(--paper); flex-shrink: 0; }
.button-cream:hover { background: var(--white); }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding-block: 36px; }
.site-footer .wordmark { font-size: 26px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; font-size: 13px; }
.site-footer .quiet { flex-basis: 100%; font-size: 11px; }
@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px); }
  .hero { gap: 42px; }
  .edition-layout, .install-layout { gap: 56px; }
  .header-nav { gap: 20px; }
  .support-grid { gap: 28px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 12px; }
  .shell { width: calc(100% - 40px); max-width: 540px; }
  .header-inner { min-height: 68px; gap: 12px; }
  .header-nav { gap: 0; }
  .how-link { display: none; }
  .header-nav .button { display: none; }
  .wordmark { font-size: 28px; }
  .header-inner .wordmark, .site-footer .wordmark { display: inline-block; min-height: 44px; padding-block: 8px; }
  .language-picker select { max-width: 124px; font-size: 16px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 28px 36px; }
  .hero-copy { max-width: 540px; }
  h1 { max-width: 15ch; font-size: clamp(38px, 10.5vw, 48px); line-height: 1.07; letter-spacing: -.03em; }
  .intro-label { margin-bottom: 14px; font-size: 12px; }
  .hero-description { font-size: 16px; line-height: 1.55; margin-top: 16px; max-width: 38ch; }
  .hero-actions { margin-top: 22px; gap: 12px 20px; }
  .hero-actions .button { flex: 1; padding-inline: 20px; }
  .hero-actions .text-link { min-height: 48px; display: inline-flex; align-items: center; }
  .hero-copy > .quiet { margin-top: 12px; font-size: 12px; }
  .sample-stage { width: 100%; max-width: 380px; border-top: 1px solid var(--line); padding-top: 18px; scroll-margin-top: 12px; }
  .sample-heading { margin-bottom: 12px; font-size: 12px; }
  .app-screens { width: min(100%, 240px, calc((100svh - 220px) * 430 / 932)); }
  .tour-caption { gap: 12px; margin-top: 8px; min-height: 44px; }
  #tour-playback { flex: 0 0 44px; }
  .carousel-navigation { gap: 4px; }
  .carousel-arrow { flex-basis: 44px; }
  .carousel-tabs { justify-content: flex-start; flex: 1; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .carousel-tabs::-webkit-scrollbar { display: none; }
  .carousel-tabs button { flex: 0 0 auto; min-width: 44px; padding-inline: 12px; font-size: 13px; border-bottom: 2px solid transparent; }
  .carousel-tabs button[aria-selected="true"] { border-bottom-color: var(--ink); font-weight: 600; }
  .carousel-tabs button::before { display: none; }
  .carousel-tabs .sr-only { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .sample-note { margin-top: 10px; font-size: 11px; }
  .edition-section, .install-section { padding-block: 36px; }
  .edition-layout { display: block; }
  .edition-preview { display: none; }
  .section-copy h2, .support-section > h2, .faq-section > h2 { font-size: 32px; line-height: 1.13; }
  .section-copy p { margin-top: 16px; font-size: 16px; }
  .reading-way { margin-top: 24px; }
  .reading-way + .reading-way { padding-top: 22px; border-top: 1px solid var(--line); }
  .reading-way h3 { font-size: 25px; }
  .section-copy .reading-way p { margin-top: 8px; font-size: 15px; line-height: 1.6; }
  .section-copy .section-note { margin-top: 18px; font-size: 13px; }
  .section-copy .text-link { margin-top: 12px; min-height: 44px; }
  .support-section { padding-block: 36px; }
  .support-section > h2 { text-align: left; }
  .support-grid { grid-template-columns: 1fr; gap: 0; margin-top: 22px; }
  .support-item { display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 18px; border-bottom: 1px solid var(--line); padding-block: 22px; }
  .support-item:first-child { padding-top: 0; }
  .support-item:last-child { border: 0; padding-bottom: 0; }
  .support-item h3 { grid-column: 2; margin-top: 0; font-size: 24px; line-height: 1.15; }
  .support-item p { grid-column: 2; margin-top: 8px; font-size: 15px; line-height: 1.55; }
  .support-item p.quiet { font-size: 13px; }
  .type-illustration { grid-column: 1; grid-row: 1 / span 3; height: 46px; align-self: start; }
  .levels { gap: 3px; font-size: 15px; }
  .levels span { padding: 7px 4px 5px; }
  .vocabulary { flex-direction: column; align-items: flex-start; gap: 5px; font-size: 23px; }
  .vocabulary span:last-child { font-size: 18px; }
  .audio-lines { gap: 2px; }
  .audio-lines i { width: 3px; height: 10px; flex-shrink: 0; }
  .audio-lines i:nth-child(3n) { height: 24px; }
  .audio-lines i:nth-child(3n + 1) { height: 16px; }
  .audio-lines i:nth-child(5), .audio-lines i:nth-child(10) { height: 32px; }
  .audio-lines i:nth-child(8) { height: 40px; }
  .install-layout { grid-template-columns: 1fr; gap: 24px; }
  .install-layout .section-copy .button { width: 100%; margin-top: 20px; }
  .install-guide { width: 100%; max-width: none; }
  .phone-transfer { display: none; }
  .install-platform { padding-block: 22px; }
  .install-platform:first-of-type { border-top: 1px solid var(--line); }
  .install-platform h3 { font-size: 18px; font-weight: 500; }
  .install-instructions { margin-top: 14px; font-size: 15px; line-height: 1.6; }
  .install-instructions .quiet { font-size: 13px; }
  .install-instructions .button { min-height: 48px; font-size: 16px; }
  #install-status:empty { display: none; }
  .faq-section { grid-template-columns: 1fr; gap: 22px; padding-block: 36px; }
  .faq-section > h2 { max-width: none; }
  .faq-list summary { font-size: 16px; gap: 20px; }
  .faq-list details p { font-size: 15px; }
  .closing-inner { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 32px; }
  .closing-inner h2 { font-size: 32px; }
  .closing-inner .button { width: 100%; }
  .site-footer { gap: 14px; padding-block: 28px; }
  .site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin-left: 0; flex-basis: 100%; font-size: 14px; }
  .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 32px); }
  .wordmark { font-size: 24px; }
  .beta { font-size: 9px; margin-left: 4px; }
  .language-picker select { max-width: 116px; }
  .support-item { grid-template-columns: 70px minmax(0, 1fr); column-gap: 14px; }
  .levels { gap: 2px; font-size: 14px; }
  .levels span { padding-inline: 3px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .app-shot { transition: opacity .45s ease, visibility .45s; }
}
