/* naveto-site: the app's own design (Direction A, "Paper & Ember", 5 Oct 2026).
   Tokens copied from src/ui/tokens/colors.ts; ember is for rewards only. */
@font-face { font-family: "Atkinson"; src: url("/fonts/AtkinsonHyperlegibleNext-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/fonts/AtkinsonHyperlegibleNext-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/fonts/AtkinsonHyperlegibleNext-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #FBF6EF; --surface: #FFFFFF; --surface2: #F3EADF; --surface3: #E6D9C8;
  --border: #E6D9C8; --border-strong: #D3C2AD;
  --text: #22180F; --muted: #67533F; --faint: #7A6652;
  --ink: #22180F; --on-ink: #FBF6EF; --on-ink-muted: #E9D9C6;
  --ember: #C24E17; --ember-deep: #9C3B0E; --ember-soft: #FCE4D2;
  --akk: #C2410C; --akk-bg: #FFF1E8; --akk-br: #FED0AE;
  --nom: #1D4ED8; --nom-bg: #EFF4FF;
  --dat: #6D28D9; --dat-bg: #F3EEFF;
  --gen: #0F766E; --gen-bg: #E9F6F4;
  --ok: #1E7A4C; --ok-bg: #E2F2E8; --ok-br: #A9D8BC;
  --bad: #B42318; --bad-bg: #FDE8E5; --bad-br: #F4B4AC;
  --radius: 18px;
  --font: "Atkinson", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Noto Sans", "Noto Sans Devanagari", "Noto Sans Gujarati", "Noto Sans Tamil",
          "Noto Sans Telugu", "Noto Sans Malayalam", "Noto Sans Bengali", "Noto Sans Kannada", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14110E; --surface: #201A15; --surface2: #2B241D; --surface3: #3A3128;
    --border: #3A3128; --border-strong: #57493B;
    --text: #F7F0E6; --muted: #C4B4A2; --faint: #A49482;
    --ink: #F7F0E6; --on-ink: #14110E; --on-ink-muted: #4E4134;
    --ember: #F08A4B; --ember-deep: #F5A46B; --ember-soft: #3A2312;
    --akk: #FDA36B; --akk-bg: #38210F; --akk-br: #6B3D1B;
    --nom: #8FADFF; --nom-bg: #1B2540;
    --dat: #BFA4FF; --dat-bg: #291C42;
    --gen: #5FCBBB; --gen-bg: #10312C;
    --ok: #6FD08C; --ok-bg: #123020; --ok-br: #1F5637;
    --bad: #F58A8A; --bad-bg: #3A1717; --bad-br: #6B2626;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
}
a { color: var(--text); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* header */
.top { border-bottom: 1px solid var(--border); background: var(--bg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; text-decoration: none; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* type */
h1, h2, h3 { line-height: 1.2; margin: 0; }
h1 { font-size: clamp(32px, 5.4vw, 52px); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }
.lede { font-size: 19px; color: var(--muted); max-width: 36em; }
.label { font-size: 13px; color: var(--faint); font-weight: 600; }
.muted { color: var(--muted); }
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--border); }

/* hero */
.hero { padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; }
.hero h1 { margin: 16px 0 18px; }
.hero-art { display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: end; gap: 0; }
.hero-art img { width: 100%; }
.hero-art img:nth-child(2) { transform: translateY(-14px); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface2); color: var(--muted); font-size: 14px; font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 14px; background: var(--ink); color: var(--on-ink); font-weight: 600; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }

/* numbers */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.stat b { display: block; font-size: 28px; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 15px; }

/* the lesson card mock */
.demo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 22px; }
.speaker { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.speaker img { width: 56px; height: 56px; object-fit: contain; }
.sentence { font-size: 26px; font-weight: 600; line-height: 1.35; margin: 6px 0 4px; }
.gap { display: inline-block; min-width: 3.4em; border-bottom: 3px solid var(--bad); color: var(--bad); text-align: center; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.opt { border: 1px solid var(--border-strong); border-radius: 14px; padding: 12px; text-align: center; font-size: 20px; font-weight: 600; background: var(--surface); }
.opt.wrong { border-color: var(--bad-br); background: var(--bad-bg); color: var(--bad); text-decoration: line-through; }
.opt.right { border-color: var(--ok-br); background: var(--ok-bg); color: var(--ok); }
.sheet { border-radius: 16px; background: var(--bad-bg); border: 1px solid var(--bad-br); padding: 16px; }
.sheet .verdict { color: var(--bad); font-weight: 700; margin-bottom: 6px; }
.sheet .l1 { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--bad-br); }
.sheet .l1 .label { display: block; margin-bottom: 2px; }
.akk { color: var(--akk); background: var(--akk-bg); border: 1px solid var(--akk-br); border-radius: 6px; padding: 0 5px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.chip { font: inherit; font-size: 15px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.chip small { color: inherit; opacity: .7; margin-left: 4px; }

/* features */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.feature p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 8px; vertical-align: middle; }

/* cast */
.cast { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 28px; }
.member { text-align: center; }
.member img { width: 100%; max-width: 150px; margin: 0 auto 8px; aspect-ratio: 1; object-fit: contain; }
.member b { display: block; }
.member span { color: var(--muted); font-size: 14px; }
.member em { display: inline-block; margin-top: 4px; font-style: normal; font-size: 13px; padding: 2px 8px; border-radius: 999px; background: var(--surface2); color: var(--muted); }

/* languages */
.langs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.lang { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.lang b { display: block; font-size: 22px; }
.lang span { color: var(--muted); font-size: 15px; }

/* fire: a reward, so ember */
.flame { color: var(--ember-deep); background: var(--ember-soft); border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: 14px; }

/* footer */
.foot { border-top: 1px solid var(--border); padding: 36px 0 56px; color: var(--muted); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

/* documents (privacy, deletion) */
.doc { padding: 40px 0 72px; }
.doc h1 { font-size: clamp(28px, 4.4vw, 38px); margin-bottom: 6px; }
.doc h2 { font-size: 21px; margin: 2.2rem 0 .6rem; }
.doc .sub { color: var(--muted); margin: 0 0 2rem; }
.doc ul, .doc ol { padding-left: 1.25rem; }
.doc li { margin-bottom: .5rem; }
.doc table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: .6rem .7rem .6rem 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { font-size: 13px; color: var(--faint); font-weight: 600; }
.doc code { background: var(--surface2); padding: .1rem .35rem; border-radius: 4px; font-size: .9em; }
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0 0; }
.doc .foot-note { color: var(--muted); font-size: 15px; margin-top: 1.5rem; }
.doc a { color: var(--text); }
/* A button inside a document page keeps its own colours (27 Oct: the
   join page's buttons were dark text on the dark button). */
.doc a.btn { color: var(--on-ink); }
.doc a.btn.ghost { color: var(--text); }

@media (max-width: 900px) {
  .hero .wrap, .demo { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .cast { grid-template-columns: repeat(3, 1fr); }
  .langs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 48px 0; }
  .nav { gap: 14px; font-size: 14px; flex-wrap: nowrap; }
  .nav .wide { display: none; }
  .grid4 { grid-template-columns: 1fr; }
  .sentence { font-size: 22px; }
}

/* the feedback form (/feedback/) */
/* [hidden] must win over a class that sets display (.form is a grid). */
[hidden] { display: none !important; }
.form .group { display: grid; gap: 18px; }
.form { display: grid; gap: 18px; margin-top: 8px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.kinds legend { width: 100%; }
.kinds label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; font-size: 15px; }
.kinds label:has(input:checked) { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.kinds input { accent-color: var(--ember); margin: 0; }
.field { display: grid; gap: 6px; font-weight: 600; }
.field .row { display: flex; gap: 18px; font-weight: 400; }
.field .row label { display: inline-flex; gap: 6px; align-items: center; }
.form textarea, .form input:not([type="radio"]), .form select {
  font: inherit; font-weight: 400; color: var(--text); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 12px; padding: 10px 12px; width: 100%; }
.form textarea:focus, .form input:focus, .form select:focus { outline: 2px solid var(--ember); outline-offset: 1px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .fine { color: var(--muted); font-size: 14px; margin: 0; }
.form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; justify-self: start; min-width: 160px; }
.form .btn:disabled { opacity: .6; cursor: default; }
.btn.ghost { cursor: pointer; font: inherit; }
.note { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--surface2); }
.note.bad { background: var(--bad-bg); color: var(--bad); border: 1px solid var(--bad-br); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }


/* ======================================================================
   Home, 28 Nov 2026: install-first, with motion that shows the product.
   Every animation is transform/opacity only (smooth on a budget Android),
   and prefers-reduced-motion switches all of it off.
   ====================================================================== */

/* a soft warm light behind the hero */
.glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, var(--ember-soft), transparent 70%); opacity: .9; pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-6%, 8%) scale(1.08); } }

.live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* the headline names one language after another, in step with the phone */
.swap { display: inline-block; color: var(--ember); }
.swap.in { animation: swapIn .55s cubic-bezier(.2,.8,.2,1); }
@keyframes swapIn { from { opacity: 0; transform: translateY(.35em); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stores.center { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 20px 8px 16px;
  border-radius: 14px; background: var(--ink); color: var(--on-ink); text-decoration: none; font-weight: 700; font-size: 18px;
  line-height: 1.1; transition: transform .2s ease, box-shadow .2s ease; box-shadow: 0 6px 18px -8px rgba(0,0,0,.45); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 12px; font-weight: 600; opacity: .8; }
.store:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0,0,0,.5); }
.store:active { transform: translateY(0) scale(.98); }
/* on a phone, its own store comes first and the other steps back */
.os-ios .store[data-store="android"], .os-android .store[data-store="ios"] {
  background: transparent; color: var(--text); box-shadow: none; border: 1px solid var(--border-strong); order: 2; }
.fine { color: var(--faint); font-size: 14px; margin: 14px 0 0; }
.nav-get { color: var(--on-ink) !important; background: var(--ink); font-weight: 700; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }

/* the phone */
.stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone { position: relative; width: 290px; height: 580px; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #3a332c, #14110e); box-shadow: 0 40px 80px -30px rgba(40,20,0,.55), inset 0 0 0 2px #4a4038;
  animation: hover 6s ease-in-out infinite; z-index: 2; }
@keyframes hover { 50% { transform: translateY(-10px) rotate(-.6deg); } }
.notch { position: absolute; top: 20px; left: 50%; width: 86px; height: 24px; margin-left: -43px; border-radius: 14px; background: #0b0a09; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--bg); padding: 52px 16px 16px;
  font-size: 14px; color: var(--text); }
.p-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--faint); font-weight: 600; }
.p-bar { width: 90px; height: 6px; border-radius: 3px; background: var(--surface2); overflow: hidden; }
.p-bar i { display: block; height: 100%; width: 55%; background: var(--ok); border-radius: 3px; }
.p-speaker { display: flex; gap: 10px; align-items: center; margin: 18px 0 12px; }
.p-speaker img { width: 44px; height: 44px; object-fit: contain; }
.p-speaker b { display: block; font-size: 14px; }
.p-speaker span { font-size: 12px; color: var(--faint); }
.p-sentence { font-size: 21px; font-weight: 700; line-height: 1.3; }
.p-gap { display: inline-block; min-width: 3.2em; border-bottom: 3px solid var(--border-strong); text-align: center; transition: border-color .3s; }
.p-fill { display: inline-block; }
.s-tap .p-fill { animation: pop .3s ease-out; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.s-judged .p-gap { border-color: var(--bad); color: var(--bad); }
.p-gloss { color: var(--muted); font-size: 13px; margin: 4px 0 14px; }
.p-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p-opt { border: 1px solid var(--border-strong); border-radius: 12px; padding: 10px 4px; text-align: center; font-weight: 700; font-size: 16px;
  background: var(--surface); transition: background .3s, color .3s, border-color .3s, transform .2s; }
.s-tap .p-opt[data-o="kein"] { transform: scale(.95); }
.s-judged .p-opt[data-o="kein"] { background: var(--bad-bg); border-color: var(--bad-br); color: var(--bad); text-decoration: line-through; transform: none; }
.s-judged .p-opt[data-o="keinen"] { background: var(--ok-bg); border-color: var(--ok-br); color: var(--ok); }
/* the finger that taps "kein" */
.finger { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(120,90,60,.35);
  border: 2px solid rgba(255,255,255,.8); left: 60%; top: 92%; opacity: 0; transition: left .7s cubic-bezier(.3,.7,.2,1), top .7s cubic-bezier(.3,.7,.2,1), opacity .3s; }
.s-aim .finger { opacity: 1; }
.s-tap .finger { transform: scale(.8); }
.s-judged .finger { opacity: 0; }
/* the explanation sheet slides up */
.p-sheet { position: absolute; left: 10px; right: 10px; bottom: 10px; border-radius: 20px; padding: 14px; background: var(--bad-bg);
  border: 1px solid var(--bad-br); font-size: 12.5px; line-height: 1.45; transform: translateY(115%); transition: transform .55s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 -10px 30px -16px rgba(0,0,0,.4); }
.s-sheet .p-sheet { transform: none; }
.p-verdict { color: var(--bad); font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.p-en { color: var(--text); }
.p-l1 { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--bad-br); font-size: 13.5px; }
.p-l1name { display: block; font-size: 11px; font-weight: 700; color: var(--faint); margin-bottom: 2px; }
.s-sheet .p-l1 { animation: fadeUp .5s .25s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

/* the cast floating around the phone */
.cast-float { position: absolute; width: 120px; height: 120px; object-fit: contain; z-index: 1; filter: drop-shadow(0 12px 14px rgba(0,0,0,.18)); }
.f1 { left: -6px; top: 40px; animation: bob 5s ease-in-out infinite; }
.f2 { right: -10px; top: 170px; width: 110px; animation: bob 6s ease-in-out -2s infinite; z-index: 3; }
.f3 { left: 6px; bottom: 30px; width: 96px; animation: bob 4.5s ease-in-out -1s infinite; z-index: 3; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(3deg); } }

/* reveal on scroll (only once JavaScript is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .06s; } .hero .reveal:nth-child(3) { transition-delay: .12s; }
.hero .reveal:nth-child(4) { transition-delay: .18s; } .hero .reveal:nth-child(5) { transition-delay: .24s; }
.grid4 .reveal:nth-child(2), .stats .reveal:nth-child(2), .cast .reveal:nth-child(2) { transition-delay: .07s; }
.grid4 .reveal:nth-child(3), .stats .reveal:nth-child(3), .cast .reveal:nth-child(3) { transition-delay: .14s; }
.grid4 .reveal:nth-child(4), .stats .reveal:nth-child(4), .cast .reveal:nth-child(4) { transition-delay: .21s; }
.stats .reveal:nth-child(5), .cast .reveal:nth-child(5) { transition-delay: .28s; }
.cast .reveal:nth-child(6) { transition-delay: .35s; }
.feature, .stat, .lang, .member img { transition: transform .25s ease, box-shadow .25s ease; }
.feature:hover, .stat:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.35); }
.member:hover img { transform: translateY(-6px) rotate(-3deg); }
.band { background: var(--surface2); border-top: 0 !important; }

/* the last call */
.final { text-align: center; }
.final-face { margin: 0 auto 14px; width: 120px; animation: bob 5s ease-in-out infinite; }
.final .fine a { color: var(--muted); }

/* the install dock on phones */
.dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: 10px 10px 10px 12px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.45); transform: translateY(140%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.dock.up { transform: none; }
.dock img { width: 40px; height: 40px; }
.dock div { flex: 1; min-width: 0; line-height: 1.2; }
.dock b { display: block; font-size: 15px; }
.dock span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.dock-btn { background: var(--ink); color: var(--on-ink); text-decoration: none; font-weight: 700; padding: 10px 18px; border-radius: 12px; }
@media (min-width: 901px) { .dock { display: none; } }

@media (max-width: 900px) {
  .hero { padding-top: 32px; }
  .stage { min-height: 520px; order: 2; }
  .phone { width: 260px; height: 520px; }
  .cast-float { width: 96px; height: 96px; }
  .f1 { left: 0; } .f2 { right: 0; width: 90px; } .f3 { width: 80px; }
}
@media (max-width: 560px) {
  /* On a phone: the promise, then the buttons, then the details. */
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .stores { order: 3; margin-top: 18px; }
  .hero-copy .lede { order: 4; margin-top: 18px; font-size: 16px; }
  .hero-copy .fine { order: 5; }
  .hero h1 { margin-bottom: 0; }
  .stage { min-height: 470px; }
  .phone { width: 240px; height: 470px; }
  .store { flex: 1 1 100%; justify-content: center; }
  .foot { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
