:root {
  /* The brand palette. The app (android ui/theme/Theme.kt) and the icon use the same colours. */
  --paper: #F4EFE7;
  --paper-2: #EAE3D8;
  --card: #FFFDF9;
  --ink: #1B1813;
  --ink-2: #5A544B;
  --muted: #8C857A;
  --ink-rgb: 27, 24, 19;
  --paper-rgb: 244, 239, 231;
  --card-rgb: 255, 253, 249;
  --line: rgba(var(--ink-rgb), 0.11);
  --line-2: rgba(var(--ink-rgb), 0.06);
  --accent: #C2452A;
  --accent-2: #D4593C;
  --accent-dark: #A3361F;
  --accent-rgb: 194, 69, 42;
  --accent-soft: #F6DED5;
  --warm: #E39B2E;
  --warm-rgb: 227, 155, 46;
  --bar: #EAE3D8;
  --night: #191511;
  --night-2: #241F18;
  --night-ink: #F0E9DE;
  --night-muted: #A79C8C;
  --night-line: rgba(240, 233, 222, .12);
  --night-glow: rgba(227, 155, 46, .22);
  --night-em: #E9A94F;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* The earlier ivory-and-indigo palette, kept for comparison: ?palette=indigo. */
:root[data-palette="indigo"] {
  --paper: #F4F1EA;
  --paper-2: #ECE7DD;
  --card: #FBFAF6;
  --ink: #17182B;
  --ink-2: #45475C;
  --muted: #84859A;
  --ink-rgb: 23, 24, 43;
  --paper-rgb: 244, 241, 234;
  --accent: #4A53C4;
  --accent-2: #6C74DA;
  --accent-soft: #E3E3F4;
  --warm: #D9935A;
  --night: #15172C;
  --night-2: #1E2140;
  --night-ink: #EDEAF7;
  --night-muted: #9C9DBC;
  --night-glow: rgba(108, 116, 218, .28);
  --night-em: #AEB3F5;
  --card-rgb: 251, 250, 246;
  --accent-dark: #3E46B0;
  --accent-rgb: 74, 83, 196;
  --warm-rgb: 217, 147, 90;
  --bar: #DCDCEF;
  --night-line: rgba(237, 234, 247, .12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
em { font-style: italic; color: var(--accent); }

.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 32px;
  padding: 18px max(24px, calc((100vw - 1200px) / 2));
  background: rgba(var(--paper-rgb), .78);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line-2);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 600 15px var(--sans); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img, .brand .mark { border-radius: 7px; display: block; }
.brand .mark { border-radius: 0; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-size: 14px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  white-space: nowrap;
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(var(--card-rgb), .6);
}
.nav-cta:hover { text-decoration: none; border-color: rgba(var(--ink-rgb), .25); }

/* Buttons */
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--accent); color: #fff; font: 500 15px var(--sans);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 30px -10px rgba(var(--accent-rgb), .55);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.button::after { content: "→"; transition: transform .3s var(--ease); }
.button:hover { text-decoration: none; background: var(--accent-dark); }
.button:hover::after { transform: translateX(3px); }
.button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.button.ghost::after { content: none; }
.button.ghost:hover { box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .3); }

/* Shared type */
.label, .kicker { font: 500 13px var(--sans); color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 4px rgba(var(--warm-rgb), .22); }
.lead { color: var(--ink-2); font-size: 18px; line-height: 1.6; max-width: 36ch; }
.title { font-family: var(--serif); font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.015em; max-width: 21ch; }

/* The 3D story */
.story { position: relative; }
html.motion .story { height: 720vh; }
.stage {
  position: relative;
  background:
    radial-gradient(55% 60% at 72% 46%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 70%),
    radial-gradient(40% 40% at 88% 90%, rgba(var(--accent-rgb), .06), transparent 70%);
}
html.motion .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
html.static #scene, html.static .progress { display: none; }

.chapter { max-width: min(460px, 40vw); }
.chapter h2 { font-family: var(--serif); font-size: clamp(40px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -0.015em; margin-bottom: 20px; }
.chapter > p:not(.step):not(.kicker) { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.hero { max-width: min(560px, 44vw); }
.hero h1 { font-family: var(--serif); font-size: clamp(48px, 7.2vw, 112px); line-height: .95; letter-spacing: -0.025em; margin-bottom: 28px; }
.step { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; font-weight: 500; margin-bottom: 20px; }
.step span { font-variant-numeric: tabular-nums; color: var(--accent); padding-right: 14px; border-right: 1px solid var(--line); }

html.motion .chapter {
  position: absolute; left: max(24px, calc((100vw - 1200px) / 2)); top: 50%;
  transform: translateY(-50%);
  opacity: 0; visibility: hidden;
}
html.motion .chapter.hero { opacity: 1; visibility: visible; }
html.motion .chapter .still { display: none; }

.progress {
  position: absolute; left: max(24px, calc((100vw - 1200px) / 2)); bottom: 36px;
  display: flex; align-items: center; gap: 14px; color: var(--muted); font: 500 12px var(--sans); font-variant-numeric: tabular-nums;
}
.progress-bar { width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.progress-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* The plain version, for reduced motion or no WebGL */
html.static .stage { max-width: 1200px; margin: 0 auto; padding: 130px 24px 40px; display: grid; gap: 96px; background: none; }
html.static .chapter { max-width: none; display: grid; grid-template-columns: 1fr 300px; gap: 8px 64px; align-items: center; }
html.static .chapter > * { grid-column: 1; }
html.static .chapter .still { grid-column: 2; grid-row: 1 / span 6; border-radius: 30px; border: 8px solid var(--night-2); box-shadow: 0 30px 60px -20px rgba(var(--ink-rgb), .35); }

/* Shop kinds */
.kinds { padding: 26px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); overflow: hidden; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; width: max-content; animation: drift 60s linear infinite; }
.track span { font: italic 400 30px var(--serif); color: var(--ink-2); white-space: nowrap; display: flex; align-items: center; }
.track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--warm); opacity: .7; margin: 0 34px; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } }

/* Sections */
.section { padding: 140px 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.head { display: grid; margin-bottom: 64px; }

.num { font: 500 12px var(--sans); color: var(--accent); font-variant-numeric: tabular-nums; }

.night { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.night::before { content: ""; position: absolute; top: -20%; right: -10%; width: 70%; height: 90%; background: radial-gradient(closest-side, var(--night-glow), transparent); pointer-events: none; }
.night .label { color: var(--night-muted); }
.night em { color: var(--night-em); }
.night .lead { color: var(--night-muted); margin-top: 28px; max-width: 40ch; }
.wrap.two { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; position: relative; }
.promises { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--night-line); }
.promises li { display: grid; grid-template-columns: 48px 1fr; padding: 22px 0; border-bottom: 1px solid var(--night-line); font-size: 17px; color: var(--night-ink); }
.promises span { font: 500 12px/2 var(--sans); color: var(--night-em); font-variant-numeric: tabular-nums; }


.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 0; font: 500 18px var(--sans); letter-spacing: -0.015em; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--ink-2); max-width: 62ch; }


.footer { border-top: 1px solid var(--line); padding: 32px 0 0; overflow: hidden; }
.foot { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.foot-links { margin-left: auto; display: flex; gap: 22px; }
.foot-links a { color: var(--ink-2); }
.wordmark { font: 400 clamp(80px, 19vw, 280px)/.8 var(--serif); letter-spacing: -0.04em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(var(--ink-rgb), .14); margin: 40px 0 -0.12em; white-space: nowrap; }

/* Features: a bento of small, real pieces of the app */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  grid-column: span 2; display: flex; flex-direction: column; gap: 26px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; padding: 28px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 40px -28px rgba(var(--ink-rgb), .25);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 26px 50px -28px rgba(var(--ink-rgb), .32); }
.t-today, .t-offer { grid-column: span 4; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 36px; }
.t-offer { grid-column: span 6; grid-template-columns: 1fr 1fr; }
.tile h3, .steps h3 { font: 500 19px/1.3 var(--sans); letter-spacing: -0.015em; margin: 10px 0 8px; }
.tile-text > p:not(.num), .steps li > p:not(.num) { color: var(--ink-2); font-size: 15.5px; }
.num { font: 500 12px var(--sans); color: var(--accent); font-variant-numeric: tabular-nums; }
.tile > .ui { flex: 1; display: grid; place-items: center; min-height: 150px; }
.tile > .ui-today { display: block; place-items: normal; flex: none; min-height: 0; align-self: stretch; }
.tile > .ui-find { place-items: stretch; align-content: center; }

/* The little app pieces share the app's look: white cards, hairlines, brick accents */
.ui { font-family: var(--sans); color: var(--ink); }
.ui small { display: block; font-size: 11.5px; color: var(--muted); }
.ui .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--accent); color: #fff; font: 600 11px var(--sans); }

.ui-today { background: var(--accent); color: #fff; border-radius: 20px; padding: 18px 20px 14px; box-shadow: 0 24px 40px -24px rgba(var(--accent-rgb), .7); position: relative; overflow: hidden; }
.ui-today::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -110px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 40px rgba(255, 255, 255, .03); }
.today-top { display: flex; justify-content: space-between; font: 500 10.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.today-top b { font-weight: 500; color: #F2BE5C; letter-spacing: 0; text-transform: none; font-size: 12px; }
.today-big { display: flex; align-items: center; gap: 14px; margin: 4px 0 10px; }
.today-big strong { font: 400 64px/1 var(--serif); }
.today-big span { font-size: 12.5px; line-height: 1.5; opacity: .9; }
.chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 70px; }
.chart i { display: block; height: calc(var(--h) * 100%); border-radius: 5px 5px 2px 2px; background: rgba(255, 255, 255, .22); transform-origin: bottom; }
.chart i:nth-child(6) { background: #F2BE5C; }
.chart-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 6px; }
.chart-days b { font: 500 10px var(--sans); text-align: center; opacity: .7; }

.ticket {
  width: min(100%, 250px); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--accent); color: #fff; border-radius: 14px; padding: 16px 20px; position: relative;
  -webkit-mask: radial-gradient(circle 8px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 8px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  transform: rotate(-3deg); box-shadow: 0 20px 30px -20px rgba(var(--accent-rgb), .8);
}
.ticket .code { display: block; font: 600 17px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .14em; }
.ticket .valid { display: block; font-size: 11px; opacity: .75; margin-top: 2px; }
.ticket b { font: italic 400 34px var(--serif); color: #F2BE5C; }

.ui-find { width: 100%; display: grid; gap: 8px; place-items: stretch; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 13px; color: var(--ink); background: #fff; }
.search svg { color: var(--muted); }
.row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); font-size: 13px; }
.row > span:nth-child(2) { flex: 1; }
.row b { font-weight: 500; display: block; }
.row.dim { opacity: .55; }
.chip { font: 600 10px ui-monospace, Menlo, monospace; font-style: normal; color: #8A5812; background: #FBEBD3; padding: 4px 7px; border-radius: 7px; }

.sugg { width: 100%; background: #fff; border: 1px solid var(--line-2); border-left: 3px solid var(--warm); border-radius: 14px; padding: 14px 16px; }
.sugg small { color: #A8680F; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 10.5px; }
.sugg b { display: block; font-weight: 500; font-size: 15px; margin: 5px 0 12px; }
.sugg-act { display: flex; gap: 8px; }
.sugg-act i { font-style: normal; font-size: 12px; font-weight: 500; padding: 7px 12px; border-radius: 9px; background: var(--accent); color: #fff; }
.sugg-act i.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

.ui-redeem { display: grid; gap: 12px; justify-items: center; }
.boxes { display: flex; gap: 6px; }
.boxes i { width: 30px; height: 38px; display: grid; place-items: center; font: 600 16px var(--sans); font-style: normal; border: 1.5px solid var(--accent); border-radius: 9px; background: #fff; }
.done { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: #fff; background: #2E9E6B; padding: 6px 12px 6px 9px; border-radius: 999px; }

.seg { display: inline-flex; margin-top: 22px; padding: 3px; border-radius: 12px; background: var(--paper-2); font-size: 12.5px; font-weight: 500; }
.seg span { padding: 7px 12px; border-radius: 9px; color: var(--ink-2); }
.seg .on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(var(--ink-rgb), .12); }
.wa { width: min(100%, 360px); margin-left: auto; border-radius: 22px; overflow: hidden; background: #EFE7DD; border: 1px solid var(--line-2); box-shadow: 0 30px 50px -30px rgba(var(--ink-rgb), .35); }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; font-size: 13px; border-bottom: 1px solid var(--line-2); }
.wa-head b { font-weight: 600; display: block; }
.bubble { margin: 16px 14px 18px; padding: 11px 13px 8px; background: #fff; border-radius: 4px 14px 14px 14px; font-size: 13.5px; line-height: 1.5; max-width: 88%; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.bubble small { margin-top: 6px; text-align: right; font-size: 10.5px; }

/* Get started */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; padding: 24px 26px 28px; }
.ui-step { min-height: 150px; margin-bottom: 22px; border-radius: 16px; background: var(--paper); display: grid; place-content: center; gap: 10px; padding: 14px; text-align: center; }
.otp { display: flex; gap: 6px; justify-content: center; }
.otp i { width: 28px; height: 36px; display: grid; place-items: center; font: 600 16px var(--sans); font-style: normal; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.otp i.caret { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12); position: relative; }
.otp i.caret::after { content: ""; width: 1.5px; height: 16px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.conn { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 9px 12px; font-size: 13px; text-align: left; width: 240px; }
.conn > span:nth-child(2) { flex: 1; }
.conn b { font-weight: 500; display: block; }
.conn.dim { opacity: .6; }
.conn em { font-style: normal; font-size: 11px; color: #2E9E6B; display: flex; align-items: center; gap: 5px; }
.conn em i { width: 6px; height: 6px; border-radius: 50%; background: #2E9E6B; }
.wa-dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.wa-dot.gift { background: #FBEBD3; color: #A8680F; }
.ui-stand { grid-auto-flow: column; align-items: end; gap: 12px; }
.stand { width: 104px; padding: 8px 8px 7px; border-radius: 10px; background: var(--accent); color: #fff; box-shadow: 0 16px 22px -14px rgba(var(--accent-rgb), .8); }
.stand small { color: #fff; font: 400 13px var(--serif); margin-bottom: 5px; }
.stand img { display: block; width: 84px; height: 84px; margin: 0 auto; border-radius: 6px; }
.stand span { display: block; font-size: 9.5px; margin-top: 5px; opacity: .85; }
.stand.upi { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; transform: translateY(6px) scale(.92); }
.stand.upi small { color: var(--ink); }

/* Closing */
.closing { padding: 120px 0 0; text-align: center; overflow: hidden; background: radial-gradient(50% 50% at 50% 70%, rgba(var(--accent-rgb), .08), transparent 70%); }
.closing .label { justify-content: center; }
.closing h2 { font-family: var(--serif); font-size: clamp(56px, 9vw, 128px); line-height: .95; letter-spacing: -0.025em; }
.closing .lead { margin: 26px auto 0; text-align: center; }
.play { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 10px 20px 10px 16px; border-radius: 14px; background: var(--ink); color: #fff; text-align: left; font: 600 17px/1.1 var(--sans); }
.play small { display: block; font: 500 10.5px var(--sans); opacity: .7; letter-spacing: .02em; margin-bottom: 2px; }
.fan { position: relative; height: 430px; margin-top: 64px; }
.fan img { position: absolute; left: 50%; bottom: -150px; width: 250px; height: auto; border-radius: 34px; border: 7px solid #1d1a16; background: #1d1a16; box-shadow: 0 40px 70px -30px rgba(var(--ink-rgb), .45); transform-origin: 50% 120%; }
.fan img:nth-child(1) { transform: translateX(-50%) translateX(-190px) rotate(-11deg); }
.fan img:nth-child(2) { transform: translateX(-50%) translateY(-34px); z-index: 2; }
.fan img:nth-child(3) { transform: translateX(-50%) translateX(190px) rotate(11deg); }

@media (max-width: 900px) {
  /* Swipe through the features rather than scrolling past six tall boxes */
  .bento { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 4px 24px 18px; scrollbar-width: none; }
  .bento::-webkit-scrollbar { display: none; }
  .tile, .t-today, .t-offer { flex: 0 0 min(82vw, 340px); scroll-snap-align: center; display: flex; flex-direction: column; gap: 22px; padding: 22px; }
  .t-today .ui-today, .t-offer .ui-offer { order: -1; }
  .wa { margin: 0 auto; }
  .seg { margin-top: 16px; font-size: 11.5px; }
  .seg span { padding: 6px 9px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .ui-step { min-height: 132px; }
  .ui-stand { padding: 18px 14px 22px; }
  .fan { height: 320px; margin-top: 48px; }
  .fan img { width: 180px; border-radius: 26px; border-width: 5px; bottom: -110px; }
  .fan img:nth-child(1) { transform: translateX(-50%) translateX(-120px) rotate(-11deg); }
  .fan img:nth-child(3) { transform: translateX(-50%) translateX(120px) rotate(11deg); }
}

/* Reveal on scroll (set up by main.js) */
html.motion .reveal { opacity: 0; transform: translateY(26px); }

/* Narrow screens */
@media (max-width: 900px) {
  .nav { padding: 14px 18px; gap: 12px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; font-size: 12.5px; padding: 7px 12px; }
  .nav-cta .long { display: none; }
  .wrap.two { grid-template-columns: 1fr; gap: 48px; }
  .section { padding: 96px 0; }
  .head { margin-bottom: 40px; }
  .track span { font-size: 24px; }
  .progress { display: none; }

  html.static .chapter { grid-template-columns: 1fr; }
  html.static .chapter .still { grid-column: 1; grid-row: auto; max-width: 280px; margin-top: 24px; }
  .foot-links { margin-left: 0; }
}

/* Phone-shaped screens: the 3D scene on top, the words below */
@media (max-aspect-ratio: 9/10), (max-width: 640px) {
  html.motion .chapter {
    left: 0; right: 0; top: auto; bottom: 0; transform: none; max-width: none;
    padding: 80px 18px 36px;
    background: linear-gradient(180deg, rgba(var(--paper-rgb), 0), var(--paper) 30%);
  }
  .chapter h2 { font-size: 40px; margin-bottom: 12px; }
  .chapter > p:not(.step):not(.kicker) { font-size: 15.5px; }
  .hero h1 { font-size: 54px; margin-bottom: 16px; }
  .lead { font-size: 16px; }
  .actions { margin-top: 22px; }
  .progress { display: none; }
}

/* Text pages (privacy) */
.doc { max-width: 760px; margin: 0 auto; padding: 140px 24px 60px; }
.doc h1 { font-family: var(--serif); font-size: clamp(48px, 6vw, 76px); line-height: 1; letter-spacing: -0.02em; }
.doc .meta { color: var(--muted); margin: 18px 0 12px; font-size: 14px; }
.doc h2 { font: 500 20px var(--sans); letter-spacing: -0.015em; margin: 48px 0 12px; scroll-margin-top: 110px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 1.2rem; display: grid; gap: 8px; margin: 12px 0; }
.doc b { color: var(--ink); font-weight: 600; }
