/* ============================================================
   Simple AI Book — sections
   ============================================================ */

/* ---------- Ambient glow utility ---------- */
.glow {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(60px); opacity: .9; z-index: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; padding: 168px 0 80px; text-align: center; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, var(--p50) 0%, rgba(244,243,255,0) 55%),
    var(--paper);
}
.hero-copy { position: relative; z-index: 5; max-width: 880px; margin: 0 auto; }
.hero .display { margin: 22px auto 0; max-width: 15ch; }
.hero .lede { margin: 26px auto 0; text-align: center; max-width: 52ch; font-size: clamp(18px,1.6vw,22px); }
.hero-cta {
  margin-top: 38px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.hero-micro { margin-top: 20px; font-size: 13.5px; color: var(--ink-faint); font-weight: 500; }
.hero-micro b { color: var(--ink-soft); font-weight: 600; }

/* The spatial product stage */
.stage {
  position: relative; margin: 56px auto 0; width: 100%; max-width: 1080px;
  height: clamp(580px, 64vw, 720px);
  display: flex; align-items: center; justify-content: center;
}
.stage .glow-core {
  width: 560px; height: 560px; left: 50%; top: 46%; margin: -280px 0 0 -280px;
  background: radial-gradient(circle, rgba(127,86,217,.55), rgba(127,86,217,0) 65%);
  filter: blur(70px); opacity: .55;
}
.stage .glow-warm {
  width: 420px; height: 420px; left: 28%; top: 70%; margin: -210px 0 0 -210px;
  background: radial-gradient(circle, rgba(255,196,140,.5), rgba(255,196,140,0) 65%);
  filter: blur(80px); opacity: .35;
}

/* Ambient drifting multilingual words */
.ambient-word {
  position: absolute; font-family: var(--serif); font-style: italic;
  color: var(--ink); opacity: .07; z-index: 1; white-space: nowrap;
  font-size: clamp(28px, 4vw, 56px); pointer-events: none; user-select: none;
}

/* ============================================================
   PHONE + READER  (reusable)
   ============================================================ */
.site-hidden { display: none !important; }

.phone {
  position: relative; z-index: 4;
  width: 320px; aspect-ratio: 320 / 660;
  border-radius: 52px; padding: 13px;
  background: linear-gradient(155deg, #2a2520, #100d0b 60%);
  box-shadow:
    var(--glow),
    0 50px 90px -30px rgba(26,22,19,.55),
    0 8px 20px rgba(26,22,19,.3),
    inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone::after { /* side button highlights */
  content: ""; position: absolute; inset: 0; border-radius: 52px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.18), inset 0 -1px 2px rgba(0,0,0,.4);
  pointer-events: none;
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden;
  background: var(--paper); display: flex; flex-direction: column;
}
.hero-phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 104px; height: 30px; background: #0d0a09; border-radius: 999px; z-index: 20;
}

/* Reader screen */
.reader {
  flex: 1; display: flex; flex-direction: column; background: var(--paper);
  color: var(--ink); position: relative; text-align: left;
}
.reader-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 26px 6px; font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.reader-status .dots { display: flex; gap: 5px; align-items: center; }
.reader-status svg { display: block; }
.reader-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 22px 12px; color: var(--ink-faint);
}
.reader-bar .title { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.reader-bar .icons { display: flex; gap: 16px; }
.reader-bar svg { width: 17px; height: 17px; stroke: var(--ink-faint); }
.reader-body {
  flex: 1; padding: 6px 26px 24px; overflow: hidden;
  font-family: var(--serif); font-size: 16.5px; line-height: 1.62; color: #2a241f;
}
.reader-body .ch { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 12px; }
.reader-body p { margin: 0 0 14px; text-wrap: pretty; }
.reader-body .drop::first-letter {
  font-size: 3.1em; line-height: .8; float: left; padding: 6px 8px 0 0;
  font-weight: 500; color: var(--ink);
}
.reader-progress {
  padding: 10px 26px 18px; display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--ink-faint); font-family: var(--sans); font-weight: 500;
}
.reader-progress .track { flex: 1; height: 3px; background: var(--paper-3); border-radius: 2px; margin: 0 12px; overflow: hidden; }
.reader-progress .fill { height: 100%; width: 38%; background: var(--accent); border-radius: 2px; }

/* a tappable word */
.tw { position: relative; cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease); border-radius: 4px; padding: 0 1px; }
.tw.active { background: var(--p100); color: var(--accent-deep); box-shadow: inset 0 -2px 0 var(--p300); }

/* ---------- Translation card (floating) ---------- */
.tcard {
  background: var(--card); border-radius: var(--r-md);
  box-shadow: var(--sh-3), 0 0 0 1px var(--line-soft);
  padding: 16px 18px; width: 248px; text-align: left;
  position: relative;
}
.tcard.glassy {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}
.tcard .src-word { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.tcard .pron { font-family: var(--sans); font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }
.tcard .divider { height: 1px; background: var(--line); margin: 12px 0; }
.tcard .target { font-size: 16px; font-weight: 600; color: var(--accent-deep); }
.tcard .ctx { font-size: 13px; color: var(--ink-soft); margin-top: 7px; line-height: 1.45; }
.tcard .pos { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--p50); padding: 3px 8px; border-radius: 6px; margin-top: 10px; }
.tcard .tag-ai {
  position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--accent);
}
.tcard .tag-ai .spark { width: 12px; height: 12px; }
.tcard .save {
  margin-top: 13px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
}
.tcard .save .plus { width: 18px; height: 18px; border-radius: 6px; background: var(--p50); color: var(--accent); display: grid; place-items: center; }

/* floating positions on the hero stage */
.float { position: absolute; z-index: 6; }
.float-tl { left: 2%; top: 20%; }
.float-br { right: 1%; bottom: 16%; }
.float-vocab { right: 4%; top: 12%; }
.hero-float-card {
  filter: drop-shadow(0 18px 34px rgba(26,22,19,.16));
  pointer-events: none;
}
.hero-float-card img {
  width: 100%;
  height: auto;
}
.hero-float-card-01 { width: clamp(214px, 25vw, 312px); left: 7%; top: 15%; }
.hero-float-card-02 { width: clamp(230px, 27vw, 336px); right: 7%; top: 34%; }
.hero-float-card-03 { width: clamp(198px, 23vw, 286px); left: 9%; bottom: 15%; }

/* vocab mini card */
.vcard {
  background: var(--card); border-radius: var(--r-md); padding: 14px 16px;
  box-shadow: var(--sh-2), 0 0 0 1px var(--line-soft); width: 200px; text-align: left;
}
.vcard .front { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.vcard .back { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }
.vcard .meta { margin-top: 11px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--ink-faint); font-weight: 500; }
.vcard .streak { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); }

/* ---------- App icon mark slot ---------- */
image-slot { display: block; }
.app-icon-lg {
  width: 96px; height: 96px; border-radius: 22px; overflow: hidden;
  box-shadow: var(--sh-2), inset 0 0 0 1px var(--line-soft);
}

/* ============================================================
   CHAPTERS — pinned scroll storytelling
   ============================================================ */
.chapters-intro { padding: 120px 0 40px; text-align: center; }
.chapters-intro .display { max-width: 16ch; margin: 18px auto 0; }

.chapter { position: relative; }
.chapter-sticky {
  position: sticky; top: 0; height: 100vh; min-height: 680px;
  display: grid; align-items: center; overflow: hidden;
}
.chapter-grid {
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: center;
}
.chapter-text { max-width: 100%; }
.chapter-num {
  font-family: var(--serif); font-size: 15px; font-style: italic; color: var(--accent-deep);
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px;
}
.chapter-num .bigno { font-size: 64px; line-height: .8; font-style: normal; color: var(--ink); letter-spacing: -.02em; opacity: .12; }
.chapter-text h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; letter-spacing: -.01em; }
.chapter-text .say { margin-top: 22px; font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 100%; }
.chapter-text .pull {
  margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 20px;
  color: var(--ink); padding-left: 18px; border-left: 2px solid var(--p300); line-height: 1.4;
}
.chapter-phone-col { display: flex; align-items: center; justify-content: center; position: relative; }

/* progress meter at side */
.chapter-steps { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 8; }
.chapter-steps span { width: 4px; height: 26px; border-radius: 3px; background: var(--line); transition: background .4s, height .4s; }
.chapter-steps span.on { background: var(--accent); height: 38px; }

/* Stage-driven floating elements within chapter */
.demo-card { position: absolute; opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.demo-card.show { opacity: 1; transform: none; }

/* ---------- Chapter 2 — real app reader screen (Figma 16042-71803) ----------
   Colours taken from the app's default-light reader theme (readerThemeTokens.ts):
   reading bg #F5F5F5 · reading text #1A1A1A · translation block #E9E8E8
   translate icon bg #D5D5D4 / symbol #444 · divider #CECECD
   No brand tint on the active paragraph (the real app applies none). */
.reader-fig { background: #F5F5F5; color: #1A1A1A; }
.reader-fig .reader-status { color: #181D27; padding-bottom: 12px; }
.fig-toolbar { display: flex; align-items: center; gap: 0; padding: 0 10px 12px; }
.fig-toolbar .fig-icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; }
.fig-toolbar .fig-icon img { display: block; object-fit: contain; }
.fig-toolbar .fig-icon-back img { width: 10.6667px; height: 18.6667px; }
.fig-toolbar .fig-icon-settings img { width: 20px; height: 16px; }
.fig-title { flex: 1; min-width: 0; text-align: center; font-family: var(--sans); }
.fig-title .t { display: block; font-size: 13px; font-weight: 600; color: #181D27; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fig-title .a { display: block; font-size: 11px; color: #535862; margin-top: 1px; }
.fig-body { flex: 1; overflow: hidden; padding: 2px 0 18px; }

.fig-para { display: flex; gap: 6px; align-items: flex-start; padding: 0 16px; margin-bottom: 12px; }
.fig-text { flex: 1; min-width: 0; font-family: 'Merriweather', var(--serif); font-size: 14px; font-weight: 300; line-height: 1.5; color: #1A1A1A; }
.fig-nav { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; align-self: stretch; }
.fig-ticon { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: #D5D5D4; display: grid; place-items: center; color: #444444; }
.fig-ticon svg { width: 10px; height: 10px; }
.fig-divider { flex: 1; width: 1px; min-height: 12px; background: #CECECD; border-radius: 1px; opacity: 0; transition: opacity .45s var(--ease); }
.fig-divider.on { opacity: 1; }

/* translated block reveal — driven by scroll (.show) */
.fig-trans { padding: 0 28px 0 16px; max-height: 0; opacity: 0; overflow: hidden; margin-bottom: 0;
  transition: max-height .7s var(--ease), opacity .5s var(--ease), margin .5s var(--ease); }
.fig-trans.show { max-height: 320px; opacity: 1; margin-bottom: 12px; }
.fig-trans-card { background: #E9E8E8; border-radius: 12px 0 12px 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.fig-listen { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; background: #FAFAFA; border: 1px solid #D5D7DA; border-radius: 999px; padding: 3px 10px; font-family: var(--sans); font-size: 11px; font-weight: 500; color: #181D27; cursor: pointer; }
.fig-listen svg { width: 13px; height: 13px; color: #535862; }
.fig-trans-card .fig-text { font-size: 14px; color: #1A1A1A; }

/* Chapter 1 — word translation scroll demo, reusing the Figma reader shell */
.reader-word-demo .fig-body { position: relative; overflow: hidden; padding-bottom: 0; }
.word-scroll-copy {
  transition: transform .75s var(--ease);
  will-change: transform;
}
.word-scroll-copy .fig-para { margin-bottom: 10px; }
.word-scroll-copy .fig-text { font-size: 14px; line-height: 1.42; }
.fig-word-target {
  border-radius: 4px;
  padding: 0 2px;
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.fig-word-target.active {
  background: #9E77ED;
  color: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(158,119,237,.18);
}
.word-sheet {
  position: absolute; left: 50%; bottom: -20px; z-index: 5;
  width: min(120%, 350px);
  transform: translate(-50%, 105%);
  transition: transform .72s var(--ease);
  pointer-events: none;
}
.word-sheet.show { transform: translate(-50%, 0); }
.word-sheet-img { display: block; width: 100%; height: auto; }

@media (max-width: 720px) {
  .word-sheet.show { transform: translate(-50%, 22px); }
}

/* Chapter 3 — Book vocabulary screen copied from the app's LearningHomeScreen */
.chapter[data-chapter="ch3"] .chapter-phone-col { position: relative; }
.chapter[data-chapter="ch3"] .phone { margin-right: 0; }
.ch3-phone .phone-screen { background: #F5F5F5; }
.bv-app {
  --bv-bg: #F5F5F5; --bv-surface: #FFFFFF; --bv-muted: #E9EAEB; --bv-soft: #F9F5FF;
  --bv-ink: #181D27; --bv-ink2: #535862; --bv-ink3: #717680; --bv-brand: #9E77ED;
  --bv-brand-strong: #7F56D9; --bv-border: #E9EAEB;
  width: 100%; height: 100%; overflow: hidden; background: var(--bv-bg);
  color: var(--bv-ink); font-family: Inter, var(--sans); text-align: left;
}
.bv-scroll { min-height: 1120px; padding-bottom: 20px; transition: transform .8s var(--ease); will-change: transform; }
.bv-status { position: relative; z-index: 4; background: var(--bv-bg); color: var(--bv-ink); padding-bottom: 12px; }
.bv-header { height: 56px; padding: 0 16px; display: flex; align-items: center; }
.bv-icon-button, .bv-header-spacer { width: 44px; height: 44px; flex: 0 0 44px; }
.bv-icon-button { border: 0; background: transparent; color: var(--bv-ink); display: grid; place-items: center; padding: 0; }
.bv-title { flex: 1; min-width: 0; text-align: center; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--bv-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-content { padding: 8px 16px 0; }
.bv-stats-card {
  border: 1px solid var(--bv-border); border-radius: 10px; background: var(--bv-surface);
  padding: 16px; display: flex; flex-direction: column; gap: 16px;
}
.bv-stats-head { display: flex; align-items: center; gap: 16px; }
.bv-ring { position: relative; width: 88px; height: 88px; display: grid; place-items: center; flex: 0 0 88px; }
.bv-ring svg { position: absolute; inset: 0; }
.bv-ring-value { position: relative; margin-top: -8px; font-size: 22px; line-height: 24px; font-weight: 700; color: var(--bv-ink); }
.bv-ring-label { position: absolute; top: 49px; font-size: 11px; line-height: 14px; color: var(--bv-ink2); }
.bv-stats-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bv-stats-copy span { font-size: 14px; line-height: 20px; color: var(--bv-ink2); }
.bv-stats-copy strong { font-size: 24px; line-height: 32px; font-weight: 700; color: var(--bv-ink); }
.bv-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.bv-stat-cell {
  min-height: 56px; border: 1px solid #F5F5F5; border-radius: 10px; background: #F5F5F5;
  padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; overflow: hidden;
}
.bv-stat-cell span { min-width: 0; display: flex; align-items: center; gap: 6px; font-size: 10px; line-height: 14px; font-weight: 500; letter-spacing: .2px; text-transform: uppercase; color: var(--bv-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-stat-cell i { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 6px; }
.bv-stat-cell strong { font-size: 24px; line-height: 32px; font-weight: 700; color: var(--bv-ink); }
.bv-section { padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.bv-section-title, .bv-count { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--bv-ink2); }
.bv-quick-card {
  height: 74px; border: 1px solid var(--bv-brand-strong); border-radius: 10px; background: var(--bv-brand-strong);
  padding: 16px; display: flex; align-items: center; gap: 10px; overflow: hidden;
}
.bv-card-icon {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.2); color: #FFFFFF;
  display: grid; place-items: center; flex: 0 0 36px;
}
.bv-card-icon svg { width: 20px; height: 20px; }
.bv-card-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bv-card-copy strong, .bv-mode-card strong { font-size: 16px; line-height: 24px; font-weight: 600; color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-card-copy em, .bv-mode-card em { font-size: 12px; line-height: 18px; font-style: normal; color: #E9D7FE; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-chevron { width: 18px; height: 18px; flex: 0 0 18px; color: #FFFFFF; }
.bv-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bv-mode-card {
  height: 140px; border: 1px solid var(--bv-border); border-radius: 10px; background: var(--bv-surface);
  padding: 16px; display: flex; flex-direction: column; justify-content: flex-start; gap: 0; overflow: hidden;
}
.bv-mode-card .bv-card-icon { background: var(--bv-soft); color: var(--bv-brand); margin-bottom: auto; }
.bv-mode-card strong { color: var(--bv-ink); }
.bv-mode-card em { color: var(--bv-ink2); margin-top: 2px; }
.bv-mode-card.is-disabled { background: #F5F5F5; border-color: #D5D7DA; opacity: .78; }
.bv-mode-card.is-disabled .bv-card-icon { background: rgba(0,0,0,.1); color: #A4A7AE; }
.bv-mode-card.is-disabled strong, .bv-mode-card.is-disabled em { color: #717680; }
.bv-words-area { padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.bv-tabs {
  height: 36px; border-radius: 999px; background: #E9EAEB; padding: 2px; display: grid; grid-template-columns: repeat(2, 1fr); align-items: center;
}
.bv-tabs span {
  height: 32px; border-radius: 20px; display: grid; place-items: center;
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--bv-ink);
}
.bv-tabs .active { background: #FFFFFF; color: var(--bv-brand); }
.bv-word-list { border: 1px solid var(--bv-border); border-radius: 10px; background: #FFFFFF; overflow: hidden; }
.bv-word-row {
  position: relative; min-height: 64px; border-top: 1px solid var(--bv-border); padding: 10px 14px;
  display: grid; grid-template-columns: 1fr auto 24px; align-items: center; gap: 8px;
}
.bv-word-row:first-child { border-top: 0; }
.bv-word-main { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bv-word-main strong { display: block; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--bv-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-word-main span { display: block; font-size: 12px; line-height: 16px; color: var(--bv-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-badge {
  border: 1px solid; border-radius: 999px; padding: 2px 8px; font-size: 12px; line-height: 18px; font-weight: 500; white-space: nowrap;
}
.bv-badge.brand { background: #F9F5FF; border-color: #E9D7FE; color: #6941C6; }
.bv-badge.warning { background: #FFFAEB; border-color: #FEDF89; color: #B54708; }
.bv-badge.success { background: #ECFDF3; border-color: #ABEFC6; color: #067647; }
.bv-badge.error { background: #FEF3F2; border-color: #FECDCA; color: #B42318; }
.bv-row-icon { width: 24px; height: 24px; border: 0; background: transparent; color: #A4A7AE; display: grid; place-items: center; padding: 0; }
.bv-row-icon svg { width: 24px; height: 24px; }
.bv-word-row p {
  grid-column: 1 / -1; margin: 0; background: #E9EAEB; border-radius: 0 12px 12px 12px;
  padding: 12px 16px; font-size: 16px; line-height: 1.4; color: var(--bv-ink);
}
.bv-word-row p b { color: var(--bv-brand); font-weight: 700; }

/* ============================================================
   FEATURE STRIP (screenshots — user replaceable)
   ============================================================ */
.shots { padding: 120px 0; }
.shots-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.shots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shot {
  background: var(--card); border-radius: var(--r-lg); padding: 28px 28px 0; overflow: hidden;
  box-shadow: var(--sh-1), 0 0 0 1px var(--line-soft); position: relative;
}
.shot h4 { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -.01em; }
.shot p { font-size: 15px; color: var(--ink-soft); margin-top: 10px; line-height: 1.5; }
.shot .shot-img { margin-top: 22px; border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: 0 -1px 0 var(--line-soft); }
.shot image-slot { width: 100%; height: 280px; }

/* ---------- In-card app screen mockups (mirror the real app UI) ---------- */
.appshot {
  --app-bg: #F5F5F5; --app-surface: #FFFFFF; --app-ink: #181D27;
  --app-ink2: #535862; --app-line: #E9EAEB; --app-brand: #7F56D9; --app-brand-soft: #F4F3FF;
  position: relative; width: 100%; height: 300px; overflow: hidden;
  background: var(--app-bg); border-radius: 16px 16px 0 0;
  font-family: var(--sans); color: var(--app-ink); text-align: left;
}
/* reader + word sheet */
.as-reader-body { padding: 22px 20px 0; font-family: var(--serif); font-size: 15px; line-height: 1.6; color: #2a241f; }
.as-reader-body .as-ch { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 10px; }
.as-reader-body p { margin: 0 0 10px; }
.as-reader-body .hw { background: var(--p100); color: var(--accent-deep); border-radius: 4px; padding: 0 2px; box-shadow: inset 0 -2px 0 var(--p300); }
.as-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; background: var(--app-surface);
  border-radius: 20px 20px 0 0; padding: 10px 18px 22px;
  box-shadow: 0 -10px 30px rgba(26,22,19,.12);
}
.as-grab { display: block; width: 38px; height: 4px; border-radius: 2px; background: rgba(113,118,128,.4); margin: 0 auto 14px; }
.as-sheet-head { display: flex; align-items: center; gap: 10px; }
.as-word { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--app-ink); }
.as-trans { font-size: 14px; color: var(--app-ink); margin-top: 8px; line-height: 1.45; }
.as-cta {
  margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--app-brand); color: #fff; font-weight: 600; font-size: 14px;
  height: 42px; border-radius: 999px;
}
.as-cta .plus { font-size: 16px; line-height: 1; }
/* shared speaker button */
.spk {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--ink-soft); display: grid; place-items: center; cursor: pointer;
}
.spk svg { width: 15px; height: 15px; }
.tcard .word-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.as-sheet .spk { border-color: var(--app-line); color: var(--app-ink2); margin-left: auto; }
/* learning home */
.as-bar { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 6px; }
.as-bar .as-back { font-size: 22px; color: var(--app-ink2); line-height: 1; }
.as-bar .as-title { font-size: 16px; font-weight: 600; color: var(--app-ink); }
.as-bar .as-title.big { font-size: 22px; font-weight: 700; }
.as-bar .as-add { width: 30px; height: 30px; border-radius: 50%; background: var(--app-brand); color: #fff; display: grid; place-items: center; font-size: 18px; line-height: 1; box-shadow: 0 6px 16px -4px rgba(127,86,217,.5); }
.as-stats { display: flex; gap: 8px; padding: 8px 18px 14px; }
.as-stat { font-size: 12.5px; font-weight: 600; color: var(--app-ink2); background: var(--app-surface); border: 1px solid var(--app-line); padding: 7px 12px; border-radius: 12px; }
.as-stat.brand { color: var(--app-brand); background: var(--app-brand-soft); border-color: transparent; }
.as-mode { display: flex; align-items: center; gap: 12px; margin: 0 18px 10px; padding: 13px 14px; background: var(--app-surface); border: 1px solid var(--app-line); border-radius: 16px; }
.as-mode .as-ico { width: 24px; height: 24px; color: var(--app-brand); flex-shrink: 0; }
.as-mode .as-ico svg { width: 24px; height: 24px; }
.as-mode b { display: block; font-size: 14px; font-weight: 600; color: var(--app-ink); }
.as-mode i { display: block; font-size: 11.5px; font-style: normal; color: var(--app-ink2); margin-top: 1px; }
/* library list */
.as-seg { display: flex; gap: 2px; margin: 4px 18px 14px; padding: 2px; background: #E9EAEB; border-radius: 10px; }
.as-seg span { flex: 1; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--app-ink2); padding: 7px 0; border-radius: 8px; }
.as-seg span.on { background: #fff; color: var(--app-brand); box-shadow: 0 1px 2px rgba(10,13,18,.06); }
.as-book { display: flex; align-items: center; gap: 12px; margin: 0 18px 8px; padding: 8px; background: var(--app-surface); border: 1px solid var(--app-line); border-radius: 10px; }
.as-cover { width: 36px; height: 50px; border-radius: 2px 4px 4px 2px; flex-shrink: 0; background: linear-gradient(140deg, var(--c1), var(--c2)); box-shadow: 0 2px 4px rgba(10,13,18,.18); }
.as-book .as-meta { flex: 1; min-width: 0; }
.as-book .as-meta b { display: block; font-size: 13.5px; font-weight: 600; color: var(--app-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-book .as-meta i { display: block; font-size: 11.5px; font-style: normal; color: var(--app-ink2); margin-top: 2px; }
.as-book .as-prog { font-size: 12px; font-weight: 600; color: var(--app-ink2); flex-shrink: 0; }

/* ============================================================
   FREE LIBRARY (dark, layered)
   ============================================================ */
.library { background: var(--night); color: var(--paper); padding: 150px 0 150px; overflow: hidden; position: relative; }
.lib-shelf {
  position: relative; z-index: 4; margin-top: 76px;
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 1.6vw, 26px);
  perspective: 1400px;
}
.lib-book {
  position: relative; flex-shrink: 0;
  width: clamp(112px, 12vw, 158px); aspect-ratio: 2 / 3;
  border-radius: 3px 7px 7px 3px;
  background: linear-gradient(140deg, var(--c1), var(--c2));
  box-shadow:
    0 30px 60px -22px rgba(0,0,0,.75),
    inset 3px 0 0 rgba(255,255,255,.12),
    inset -1px 0 6px rgba(0,0,0,.5);
  padding: 22px 16px 18px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease); will-change: transform;
}
.lib-book::before { /* spine line */
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px;
  background: rgba(255,255,255,.14);
}
.lib-book::after { /* gloss */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.16), transparent 38%);
  pointer-events: none;
}
.lib-book .ttl {
  font-family: var(--serif); font-weight: 500; font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.08; color: #f6f1ea; letter-spacing: .01em;
}
.lib-book .lang {
  display: block; margin-top: 8px; font-family: var(--sans); font-size: 10px;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.lib-book .aut {
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}
.lib-book.lib-raise { margin-bottom: 34px; }
.lib-book:hover { transform: translateY(-10px) rotateX(4deg); box-shadow: 0 44px 80px -24px rgba(0,0,0,.85), var(--glow); }
.lib-foot {
  position: relative; z-index: 4; text-align: center; margin: 56px auto 0;
  max-width: 980px; display: flex; align-items: center; justify-content: center;
  gap: 10px 16px; flex-wrap: wrap;
  font-size: 13px; letter-spacing: .04em; color: var(--night-faint); font-weight: 500;
}
.lib-foot a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--night-soft);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.24);
  text-underline-offset: 3px;
}
.lib-foot img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 16px;
}
.lib-foot a:hover { color: var(--paper); text-decoration-color: rgba(255,255,255,.5); }

@media (max-width: 720px) {
  .lib-shelf { flex-wrap: wrap; gap: 14px; }
  .lib-book { width: 30%; }
  .lib-book.lib-raise { margin-bottom: 0; }
}
.aud { padding: 130px 0; background: var(--paper-2); }
.aud-head { max-width: 760px; margin-bottom: 64px; }
.aud-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.aud-card {
  background: var(--card); border-radius: var(--r-lg); padding: 32px 30px;
  box-shadow: var(--sh-1), 0 0 0 1px var(--line-soft); position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column; justify-content: space-between; min-height: 220px;
}
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2), 0 0 0 1px var(--line-soft); }
.aud-card .idx { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--ink-faint); }
.aud-card h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.01em; margin-top: 14px; line-height: 1.05; }
.aud-card p { font-size: 16px; color: var(--ink-soft); margin-top: 14px; line-height: 1.5; }
.aud-card .glyph { position: absolute; right: -14px; bottom: -20px; font-family: var(--serif); font-size: 140px; color: var(--ink); opacity: .04; line-height: 1; pointer-events: none; }
.aud-card.feature { background: var(--ink); color: var(--paper); grid-column: span 5; }
.aud-card.feature h4 { color: var(--paper); }
.aud-card.feature p { color: var(--night-soft); }
.aud-card.feature .idx { color: var(--p300); }
.aud-card.feature .glyph { color: #fff; opacity: .06; }
.aud-card.w7 { grid-column: span 7; }
.aud-card.w6 { grid-column: span 6; }
.aud-card.w4 { grid-column: span 4; }
.aud-card.w12 { grid-column: span 12; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { padding: 130px 0; }
.how-head { text-align: center; max-width: 560px; margin: 0 auto 72px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; }
.how-step { padding: 40px 32px; position: relative; }
.how-step .no {
  font-family: var(--serif); font-size: 15px; color: var(--accent-deep);
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--p200);
  background: var(--p50); margin-bottom: 24px;
}
.how-step h4 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.01em; }
.how-step p { font-size: 15.5px; color: var(--ink-soft); margin-top: 12px; line-height: 1.55; max-width: 26ch; }
.how-step:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 64px; width: 1px; height: 90px; background: var(--line);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: 0 0 130px; background: var(--paper-2); }
.pricing-head { text-align: center; max-width: 24ch; margin: 0 auto 18px; }
.pricing-sub { text-align: center; color: var(--ink-soft); font-size: 16px; margin-bottom: 60px; }
.plans { display: grid; grid-template-columns: 1fr 1.12fr; gap: 24px; max-width: 920px; margin: 0 auto; align-items: stretch; }
.plan {
  background: var(--card); border-radius: var(--r-xl); padding: 38px 36px;
  box-shadow: var(--sh-1), 0 0 0 1px var(--line-soft); display: flex; flex-direction: column;
}
.plan .pname { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.plan .price { font-family: var(--serif); font-weight: 400; font-size: 56px; letter-spacing: -.02em; margin-top: 14px; min-height: 80px; display: flex; flex-direction: column; justify-content: flex-end; }
.plan .price .per { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--ink-faint); }
.plan ul { list-style: none; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.plan li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.plan li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.plan .btn { margin-top: 28px; width: 100%; }
.plan .foot { margin-top: 14px; font-size: 12.5px; color: var(--ink-faint); text-align: center; }
.plan.pro {
  position: relative; color: var(--paper);
  background: linear-gradient(165deg, #2a2138 0%, #1a1613 70%);
  box-shadow: var(--sh-3), 0 0 0 1px rgba(127,86,217,.4), var(--glow);
}
.plan.pro::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-xl); pointer-events: none;
  background: radial-gradient(80% 60% at 80% 0%, rgba(127,86,217,.35), transparent 60%);
}
.plan.pro .pname { color: var(--p300); }
.plan.pro li { color: var(--night-soft); }
.plan.pro li.bold { color: var(--paper); font-weight: 600; }
.plan.pro .foot { color: var(--night-soft); line-height: 1.5; text-align: left; }
.plan.pro .price { color: var(--paper); }
.plan.pro .price .per { color: var(--night-faint); }
.plan.pro .price-coffee { margin-top: 14px; min-height: 80px; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; }
.price-coffee-big { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.0; letter-spacing: -.02em; color: var(--paper); }
.price-coffee-sub { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--night-soft); }
.plan .badge {
  position: absolute; top: 24px; right: 28px; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink); background: var(--p300); padding: 6px 12px; border-radius: 999px;
}

/* ============================================================
   PRIVACY
   ============================================================ */
.privacy { padding: 150px 0; text-align: center; position: relative; overflow: hidden; }
.privacy .lock {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 30px;
  display: grid; place-items: center; background: var(--card);
  box-shadow: var(--sh-2), 0 0 0 1px var(--line-soft); color: var(--accent-deep);
}
.privacy .h2 { max-width: 18ch; margin: 0 auto; }
.privacy .lede { margin: 24px auto 0; text-align: center; max-width: 54ch; }
.privacy-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.priv-item { background: var(--paper); padding: 30px 26px; text-align: left; }
.priv-item .k { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15.5px; white-space: nowrap; }
.priv-item .k svg { width: 17px; height: 17px; color: var(--accent); }
.priv-item p { font-size: 14px; color: var(--ink-soft); margin-top: 10px; line-height: 1.5; }

/* ============================================================
   LEGAL PAGES (privacy / terms)
   ============================================================ */
.legal { padding: 150px 0 110px; }
.legal-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.legal-head .h2 { margin: 14px auto 0; max-width: 18ch; }
.legal-head .updated { margin-top: 20px; font-size: 13.5px; color: var(--ink-faint); font-weight: 500; }
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body section { margin-bottom: 40px; scroll-margin-top: 110px; }
.legal-body h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -.01em; line-height: 1.1; margin-bottom: 14px;
}
.legal-body h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; margin: 22px 0 8px; }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.legal-body p { margin-bottom: 12px; }
.legal-body ol { margin: 0 0 12px; padding-left: 22px; }
.legal-body ul { margin: 0 0 12px; padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body blockquote {
  margin: 16px 0; padding: 14px 16px; background: var(--card);
  border-left: 2px solid var(--p300); border-radius: 8px;
}
.legal-body blockquote p:last-child { margin-bottom: 0; }
.legal-body table {
  width: 100%; border-collapse: collapse; margin: 18px 0 20px;
  background: var(--paper); border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-soft);
}
.legal-body th, .legal-body td {
  padding: 12px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line-soft); font-size: 14px; line-height: 1.5;
}
.legal-body th { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); background: var(--card); }
.legal-body tr:last-child td { border-bottom: 0; }
.legal-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.legal-body .ph {
  display: block; font-style: italic; color: var(--accent-deep);
  background: var(--p50); border-left: 2px solid var(--p300);
  border-radius: 6px; padding: 10px 14px; margin: 4px 0 12px; font-size: 14.5px;
}
.legal-body a.inline { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal-toc {
  max-width: 760px; margin: 0 auto 48px; padding: 22px 26px;
  background: var(--card); border-radius: var(--r-md); box-shadow: var(--sh-1), 0 0 0 1px var(--line-soft);
}
.legal-toc h5 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 40px; }
.legal-toc li { font-size: 14.5px; line-height: 1.9; color: var(--ink-soft); }
.legal-toc a:hover { color: var(--accent-deep); }
@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
  .legal-body table, .legal-body thead, .legal-body tbody, .legal-body tr, .legal-body th, .legal-body td { display: block; }
  .legal-body thead { display: none; }
  .legal-body table { box-shadow: none; background: transparent; }
  .legal-body tr {
    margin-bottom: 12px; background: var(--paper); border-radius: 12px;
    overflow: hidden; box-shadow: 0 0 0 1px var(--line-soft);
  }
  .legal-body td { border-bottom: 1px solid var(--line-soft); }
  .legal-body tr td:last-child { border-bottom: 0; }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { position: relative; padding: 170px 0 150px; text-align: center; overflow: hidden; background: var(--night); color: var(--paper); }
.final .glow-a { width: 700px; height: 700px; left: 50%; top: 30%; margin: -350px 0 0 -350px; background: radial-gradient(circle, rgba(127,86,217,.6), transparent 62%); filter: blur(80px); opacity: .55; }
.final .glow-b { width: 460px; height: 460px; left: 22%; top: 90%; margin: -230px 0 0 -230px; background: radial-gradient(circle, rgba(105,56,239,.55), transparent 62%); filter: blur(90px); opacity: .4; }
.final .eyebrow { color: var(--p300); }
.final .display { color: var(--paper); max-width: 16ch; margin: 22px auto 0; }
.final .lede { color: var(--night-soft); margin: 24px auto 0; text-align: center; max-width: 50ch; }
.final-cta { margin-top: 40px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.final-micro { margin-top: 22px; font-size: 13.5px; color: var(--night-faint); }
/* floating books in final */
.final-book { position: absolute; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); z-index: 1; opacity: .9; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--night); color: var(--night-soft); padding: 60px 0 50px; border-top: 1px solid var(--night-line); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer .brand { color: var(--paper); }
.footer-tag { margin-top: 16px; font-size: 14px; color: var(--night-faint); max-width: 30ch; line-height: 1.5; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--night-faint); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--night-soft); padding: 6px 0; transition: color .2s; white-space: nowrap; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--night-line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--night-faint); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  /* un-pin the scroll-storytelling chapters: stack as normal blocks */
  .chapter { height: auto !important; }
  .chapter-sticky { position: static; height: auto; min-height: 0; display: block; padding: 64px 0; }
  .chapter-num { margin: 0 0 16px !important; justify-content: center; }
  .chapter-phone-col { min-height: 360px; margin-bottom: 8px; }
  .chapter-grid { grid-template-columns: 1fr; gap: 56px; justify-items: center; text-align: center; }
  .chapter-text { max-width: 80ch; order: 2; }
  .chapter-text .pull { border: none; padding-left: 0; }
  .chapter-steps { display: none; }
  .shots-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .aud-card, .aud-card.feature, .aud-card.w7, .aud-card.w6, .aud-card.w4, .aud-card.w12 { grid-column: span 12 !important; }
}
@media (max-width: 860px) {
  /* keep the 3 steps side-by-side longer; just tighten them */
  .how-step { padding: 32px 20px; }
  .how-step h4 { font-size: 24px; }
  .how-step:not(:last-child)::after { top: 56px; height: 76px; }
}
@media (max-width: 640px) {
  .how-steps { grid-template-columns: 1fr; gap: 32px; max-width: 420px; margin: 0 auto; }
  .how-step { padding: 8px 0; text-align: center; }
  .how-step .no { margin-bottom: 16px; }
  .how-step p { max-width: none; margin-left: auto; margin-right: auto; }
  .how-step:not(:last-child)::after { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .hero { padding-top: 130px; }
  .chapters-intro { padding-top: 64px; }
  .legal { padding-top: 176px; }
  .legal-body section { scroll-margin-top: 132px; }
  .stage { height: 640px; margin-top: 38px; max-width: 100%; }
  .stage .phone { width: min(76vw, 300px); }
  .float-tl { left: -2%; top: 8%; }
  .float-br { right: -2%; bottom: 8%; }
  .float-vocab { display: none; }
  .hero-float-card { filter: drop-shadow(0 14px 28px rgba(26,22,19,.15)); }
  .hero-float-card-01 { width: min(58vw, 196px); left: 16px; top: 8%; }
  .hero-float-card-02 { width: min(56vw, 220px); right: 3%; top: 53%; }
  .hero-float-card-03 { width: min(50vw, 200px); left: 8%; bottom: 8%; }
  .ambient-word { display: none; }
  .bv-scroll { min-height: 1080px; }
  .bv-content { padding-left: 14px; padding-right: 14px; }
}
