/* Chuni Trip Planner landing page. Tokens follow DESIGN.md v2.1 (section 2, 3, 5, 9). */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/geist-400.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/geist-500.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/geist-600.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/geist-700.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --canvas: #FCFCFC;
  --surface: #FFFFFF;
  --surface-raised: #FFFFFF;
  --surface-sunken: #F5F5F5;
  --canvas-deep: #EFEFEF;
  --ink: #010101;
  --ink-muted: #5E5E5E;
  --ink-faint: #A1A3A5;
  --line: #EFEFEF;
  --control: #202020;
  --on-control: #FFFFFF;
  --primary-button: #202020;
  --on-primary-button: #FFFFFF;
  --button-disc: #FFFFFF;
  --accent: #F2A71B;
  --on-accent: #202020;
  --accent-soft: #FDF3DF;
  --success: #028152;
  --success-soft: #D0FAE6;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.45);
  --scrim: rgba(1, 1, 1, 0.55);
  --focus: #202020;
  --phone-frame: #202020;
  --route: #D9D9D9;

  --e1: 0 1px 2px rgba(12, 16, 48, 0.04), 0 4px 16px rgba(12, 16, 48, 0.06);
  --e2: 0 2px 6px rgba(12, 16, 48, 0.08), 0 16px 40px rgba(12, 16, 48, 0.14);
  --e3: 0 24px 64px rgba(12, 16, 48, 0.22);
  --card-border: transparent;

  --r-hero: 32px;
  --r-card: 24px;
  --r-tile: 16px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 400ms;

  --gutter: 20px;
  --max: 1200px;
  --font: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #2B2F34;
    --surface: #3B3E43;
    --surface-raised: #44464A;
    --surface-sunken: #292B2F;
    --canvas-deep: #18191D;
    --ink: #F9F8FA;
    --ink-muted: #C0C5CE;
    --ink-faint: #8C8E92;
    --line: #4C4E51;
    --control: #44464A;
    --on-control: #F9F8FA;
    --primary-button: #FFFFFF;
    --on-primary-button: #141414;
    --button-disc: #2B2F34;
    --on-accent: #141414;
    --accent-soft: #53472F;
    --success: #D0FAE6;
    --success-soft: #028152;
    --glass: rgba(43, 47, 52, 0.55);
    --glass-border: rgba(249, 248, 250, 0.12);
    --scrim: rgba(24, 25, 29, 0.6);
    --focus: #F2A71B;
    --phone-frame: #18191D;
    --route: #4C4E51;
    /* Dark theme: no shadows, depth from lighter surfaces and hairlines (DESIGN.md 5). */
    --e1: none;
    --e2: none;
    --e3: none;
    --card-border: #4C4E51;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "ss01" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 600; }
::selection { background: var(--accent); color: var(--on-accent); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .header-cta:focus-visible { border-radius: var(--r-pill); }

.icon { width: 22px; height: 22px; fill: currentColor; flex: none; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--primary-button); color: var(--on-primary-button);
  padding: 12px 20px; border-radius: var(--r-pill); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 20px; }

/* Platform visibility (data-os is set in <head>; without JS everything generic shows) */
.only-ios, .only-desktop { display: none; }
[data-os="ios"] .only-ios { display: block; }
[data-os="ios"] .hide-ios { display: none; }
[data-os="desktop"] .only-desktop { display: flex; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-header { background: var(--canvas); } }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: block; flex: none; border-radius: 8px; }
.brand img { height: 42px; width: auto; }
.site-nav { display: none; gap: 4px; margin-left: auto; }
.site-nav a {
  text-decoration: none; color: var(--ink-muted); font-size: 15px; font-weight: 500;
  padding: 10px 14px; border-radius: var(--r-pill);
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.site-nav a:hover { color: var(--ink); background: var(--surface-sunken); }
.header-cta {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  background: var(--primary-button); color: var(--on-primary-button);
  border-radius: var(--r-pill); font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out);
}
.header-cta:active { transform: scale(0.97); }
@media (min-width: 768px) {
  .site-nav { display: flex; }
  .header-cta { margin-left: 8px; }
}

/* ---------- Buttons (DESIGN.md 7.9) ---------- */
.cta-group { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 22px 0 8px;
  border-radius: var(--r-pill);
  font-size: 16px; font-weight: 600; line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-disc {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn:active .btn-disc { transform: scale(0.9) rotate(-8deg); }
.btn-label { flex: 1 1 auto; }
.btn-chevrons { display: inline-flex; gap: 1px; margin-left: 6px; }
.btn-chevrons i {
  width: 8px; height: 8px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); opacity: 0.35;
}

.btn-primary { background: var(--primary-button); color: var(--on-primary-button); box-shadow: var(--e1); }
.btn-primary .btn-disc { background: var(--button-disc); color: var(--primary-button); }
.btn-primary:hover { box-shadow: var(--e2); }

.btn-secondary { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-secondary .btn-disc { background: var(--surface-sunken); color: var(--ink); }
.btn-secondary .btn-chevrons { display: none; }
.btn-secondary:hover { background: var(--surface-sunken); }
.btn-secondary:hover .btn-disc { background: var(--surface); }

@media (prefers-reduced-motion: no-preference) {
  .btn-primary .btn-chevrons i { animation: chevron 1.8s var(--ease-out) infinite; }
  .btn-primary .btn-chevrons i:nth-child(2) { animation-delay: 0.18s; }
  .btn-primary .btn-chevrons i:nth-child(3) { animation-delay: 0.36s; }
}
@keyframes chevron { 0%, 60%, 100% { opacity: 0.3; } 25% { opacity: 1; } }

/* On iPhone the web app is the main way in */
[data-os="ios"] .cta-group .cta-apk { display: none; }
[data-os="ios"] .cta-web { background: var(--primary-button); color: var(--on-primary-button); box-shadow: var(--e1); }
[data-os="ios"] .cta-web .btn-disc { background: var(--button-disc); color: var(--primary-button); }
[data-os="ios"] .cta-web .btn-chevrons { display: inline-flex; }
[data-os="ios"] .cta-web:hover { background: var(--primary-button); box-shadow: var(--e2); }

.text-link {
  color: var(--ink); font-weight: 600; font-size: 15px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: var(--ink-faint);
  display: inline-block; padding: 10px 0;
}
.text-link:hover { text-decoration-color: currentColor; }

.release-line {
  font-size: 13px; line-height: 18px; color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.release-line[hidden] { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 24px 0 56px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-muted);
  padding: 6px 14px 6px 10px; border-radius: var(--r-pill);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: 24px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
h1 {
  font-size: clamp(42px, 9.6vw, 76px);
  line-height: 1.0; font-weight: 700; letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 12ch;
}
.lede {
  margin-top: 20px; max-width: 34em;
  font-size: clamp(17px, 2.2vw, 19px); line-height: 1.55; color: var(--ink-muted);
  text-wrap: pretty;
}
.hero .cta-group { margin-top: 32px; }
.hero .release-line { margin-top: 12px; }
.hero-note { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--ink-muted); max-width: 30em; }
.hero-note strong { color: var(--ink); }
.hide-ios.hero-note { display: none; }
[data-os="desktop"] .hide-ios.hero-note { display: block; }

.hero-visual { position: relative; padding-bottom: 28px; max-width: 520px; width: 100%; margin: 0 auto; }
.hero-photo {
  position: relative; overflow: hidden;
  border-radius: var(--r-hero);
  aspect-ratio: 4 / 5;
  background: var(--surface-sunken);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.glass-chip {
  position: absolute; left: 16px; top: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px 8px 10px; border-radius: var(--r-pill);
  font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink);
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  box-shadow: inset 0 0 0 1px var(--glass-border);
}
.glass-chip .icon { width: 16px; height: 16px; }

/* Phone frame */
.phone {
  --w: 260px;
  position: relative; z-index: 2;
  width: var(--w); flex: none;
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.16);
  background: var(--phone-frame);
  box-shadow: var(--e3);
}
@media (prefers-color-scheme: dark) { .phone { box-shadow: 0 0 0 1px var(--line); } }
.phone img {
  width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top;
  border-radius: calc(var(--w) * 0.13);
  background: #FCFCFC;
}
.phone-hero {
  --w: clamp(188px, 54vw, 280px);
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
}

@media (min-width: 1024px) {
  .hero { padding: 40px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; }
  .hero-visual { margin: 0 0 0 auto; padding-bottom: 0; }
  .phone-hero { --w: 272px; left: -56px; bottom: -40px; transform: none; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.section-head { max-width: 640px; }
.section-head h2 {
  font-size: clamp(32px, 5vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-head p { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--ink-muted); text-wrap: pretty; }
.section-head p.small { font-size: 14px; line-height: 20px; }

/* ---------- Features ---------- */
.features { padding-top: 32px; }
.feature { display: grid; gap: 32px; align-items: center; margin-top: 64px; }
.feature-copy { max-width: 480px; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-sunken); color: var(--ink);
  margin-bottom: 20px;
}
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: clamp(26px, 3.4vw, 32px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.feature-copy > p { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--ink-muted); text-wrap: pretty; }
.ticks { margin-top: 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; line-height: 22px; font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 6px; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-faint);
}

.stage {
  position: relative; overflow: hidden;
  display: flex; justify-content: center; align-items: center;
  min-height: 460px; padding: 40px 20px;
  border-radius: var(--r-hero);
  background: var(--surface-sunken);
  box-shadow: inset 0 0 0 1px var(--card-border);
}
.stage .phone { --w: clamp(200px, 58vw, 272px); }
.route { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.route path { fill: none; stroke: var(--route); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 0.1 18; vector-effect: non-scaling-stroke; }

.map-card {
  position: absolute; z-index: 1;
  width: min(48%, 280px); aspect-ratio: 390 / 380;
  right: 6%; top: 10%;
  border-radius: var(--r-card); overflow: hidden;
  background: #FCFCFC;
  box-shadow: var(--e2);
}
@media (prefers-color-scheme: dark) { .map-card { box-shadow: 0 0 0 1px var(--line); } }
.map-card img { width: 100%; height: 100%; object-fit: cover; }
.map-card .glass-chip { top: 12px; right: 12px; left: auto; padding: 6px 12px; font-size: 12px; background: rgba(255,255,255,0.8); color: #010101; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5); }
.stage-trip { justify-content: flex-start; padding-left: 8%; }

.ticket {
  position: absolute; z-index: 3;
  right: 5%; bottom: 9%;
  width: min(62%, 250px);
  padding: 18px 20px 14px;
  border-radius: var(--r-card);
  background: #202020; color: #FFFFFF;
  box-shadow: var(--e3);
  font-variant-numeric: tabular-nums;
}
@media (prefers-color-scheme: dark) { .ticket { background: var(--surface-raised); box-shadow: 0 0 0 1px var(--line); } }
.ticket-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ticket-label { font-size: 13px; color: rgba(255,255,255,0.72); }
.ticket-badge { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.02em; padding: 4px 10px; border-radius: var(--r-pill); background: #EDEAFF; color: #6617E9; }
.ticket-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 6px; }
.ticket-name { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.ticket-amount { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.ticket-perf { position: relative; margin: 14px -20px 10px; border-top: 1.5px dashed rgba(255,255,255,0.22); }
.ticket-perf::before, .ticket-perf::after { content: ""; position: absolute; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface-sunken); }
.ticket-perf::before { left: -8px; }
.ticket-perf::after { right: -8px; }
.ticket-foot { font-size: 12px; color: rgba(255,255,255,0.64); }
.stage-expenses { justify-content: flex-start; padding-left: 10%; }

.stage-ai .phone-back { display: none; }

@media (min-width: 600px) {
  .stage { min-height: 560px; }
  .stage-ai { gap: 20px; }
  .stage-ai .phone { --w: clamp(190px, 30vw, 250px); }
  .stage-ai .phone-back { display: block; margin-top: -56px; }
  .stage-ai .phone:not(.phone-back) { margin-top: 56px; }
}

@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; margin-top: 96px; }
  .feature:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature:nth-of-type(even) .feature-copy { order: 2; }
  .stage { min-height: 620px; }
}

/* Destinations */
.dest-scroller {
  margin: 56px calc(-1 * var(--gutter)) 0;
  padding: 4px var(--gutter) 12px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
  border-radius: 0;
}
.dest-scroller::-webkit-scrollbar { display: none; }
.dest-scroller:focus-visible { outline-offset: -2px; }
.dest-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 62%); gap: 12px; }
.dest-card {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--r-card);
  scroll-snap-align: start;
  background: var(--surface-sunken);
}
.dest-card img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-color-scheme: dark) { .dest-card img, .hero-photo img, .final-card img { filter: brightness(0.94); } }
.dest-label {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: grid; gap: 2px;
  padding: 12px 14px; border-radius: 18px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  box-shadow: inset 0 0 0 1px var(--glass-border);
}
.dest-label b { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.005em; }
.dest-label span { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
@media (min-width: 600px) { .dest-row { grid-auto-columns: minmax(220px, 38%); } }
@media (min-width: 1024px) {
  .dest-scroller { margin-left: 0; margin-right: 0; padding: 0; overflow: visible; }
  .dest-row { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Extras */
.extras { display: grid; gap: 12px; margin-top: 64px; }
.extra {
  padding: 24px; border-radius: var(--r-card);
  background: var(--surface); box-shadow: var(--e1), inset 0 0 0 1px var(--card-border);
}
.extra .feature-icon { width: 44px; height: 44px; margin-bottom: 16px; }
.extra .feature-icon .icon { width: 22px; height: 22px; }
.extra h3 { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.005em; }
.extra p { margin-top: 6px; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
@media (min-width: 600px) { .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .extras { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 96px; } }

/* ---------- Get the app ---------- */
.get { background: var(--surface-sunken); }
@media (prefers-color-scheme: dark) { .get { background: var(--canvas-deep); } }
.get-grid { display: grid; gap: 16px; margin-top: 40px; align-items: stretch; }
.get-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 28px 24px; border-radius: var(--r-card);
  background: var(--surface); box-shadow: var(--e1), inset 0 0 0 1px var(--card-border);
}
.get-card h3 { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.get-card > p { margin-top: 8px; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.get-card > p.muted { color: var(--ink-muted); }
.get-actions { margin-top: 24px; display: grid; gap: 10px; justify-items: start; }
.get-actions .release-line { margin-top: -2px; }
.get-card .btn { max-width: 100%; }
.how-list { margin-top: 24px; display: grid; gap: 14px; width: 100%; padding-top: 20px; border-top: 1px solid var(--line); }
.how-list dt { font-size: 14px; line-height: 20px; font-weight: 600; }
.how-list dd { font-size: 14px; line-height: 20px; color: var(--ink-muted); margin-top: 2px; }
.card-qr { align-items: center; text-align: center; justify-content: center; }
.card-qr .qr { width: 148px; height: 148px; border-radius: 16px; padding: 0; margin-bottom: 20px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); }
.card-qr > p { max-width: 26em; }

[data-os="ios"] .card-web { order: -1; }
[data-os="ios"] .card-android .feature-icon { color: var(--ink-muted); }

@media (min-width: 768px) {
  .get-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-qr { grid-column: 1 / -1; flex-direction: row; text-align: left; gap: 24px; }
  .card-qr .qr { margin-bottom: 0; }
}
@media (min-width: 1100px) {
  [data-os="desktop"] .get-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 0.8fr); }
  .card-qr { grid-column: auto; flex-direction: column; text-align: center; gap: 0; }
  .card-qr .qr { margin-bottom: 20px; }
  .get-card { padding: 32px; }
}

/* ---------- Install steps (route timeline, DESIGN.md 7.5) ---------- */
.install-grid { display: grid; gap: 40px; }
.steps { position: relative; display: grid; gap: 12px; counter-reset: none; }
.step { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; }
.step::before {
  content: ""; position: absolute; left: 17px; top: 40px; bottom: -12px; width: 2px;
  background-image: radial-gradient(circle, var(--route) 1px, transparent 1.5px);
  background-size: 2px 7px; background-repeat: repeat-y;
}
.step-last::before { display: none; }
.step-node {
  position: relative; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  margin-top: 16px;
  background: var(--surface-sunken); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.step-last .step-node { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.step-last .step-node .icon { width: 18px; height: 18px; }
.step-card {
  padding: 18px 20px; border-radius: var(--r-tile);
  background: var(--surface); box-shadow: var(--e1), inset 0 0 0 1px var(--card-border);
}
.step-card h3 { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.005em; }
.step-card p { margin-top: 6px; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.step-card strong { color: var(--ink); }
.install .section-head p.small { margin-top: 20px; }
@media (min-width: 900px) {
  .install-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .install .section-head { position: sticky; top: 104px; }
}

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq-grid { display: grid; gap: 32px; }
.faq-list {
  border-radius: 20px; overflow: hidden;
  background: var(--surface); box-shadow: var(--e1), inset 0 0 0 1px var(--card-border);
}
.faq-list details + details { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 18px 20px;
  font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.005em;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 6px;
  border-right: 2px solid var(--ink-muted); border-bottom: 2px solid var(--ink-muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq-list details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-list summary:hover { background: var(--surface-sunken); }
.faq-list summary:focus-visible { outline-offset: -3px; border-radius: 20px; }
.faq-list details p { padding: 0 20px 20px; font-size: 16px; line-height: 24px; color: var(--ink-muted); max-width: 44em; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .faq-list summary { padding: 20px 28px; }
  .faq-list details p { padding: 0 28px 24px; }
}

/* ---------- Final CTA ---------- */
.final { padding-top: 0; }
.final-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-hero);
  min-height: 520px;
  display: flex; align-items: flex-end;
  padding: 12px;
  background: var(--surface-sunken);
}
.final-card picture, .final-card img { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-card img { object-fit: cover; object-position: 50% 60%; }
.final-panel {
  position: relative; z-index: 1; width: 100%;
  padding: 24px 20px;
  border-radius: 24px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  box-shadow: inset 0 0 0 1px var(--glass-border);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .final-panel, .glass-chip, .dest-label { background: var(--surface); }
}
.final-panel h2 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.final-panel p { margin-top: 10px; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.final-panel .cta-group { margin-top: 24px; }
@media (min-width: 768px) {
  .final-card { min-height: 560px; padding: 24px; }
  .final-panel { width: auto; max-width: 560px; padding: 32px; }
}

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 32px; }
.footer-brand img { height: 42px; width: auto; }
.footer-brand p { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-nav a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 10px 0; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.credits { display: grid; gap: 12px; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.credits a { color: var(--ink-muted); text-underline-offset: 3px; text-decoration-color: var(--ink-faint); }
.credits a:hover { color: var(--ink); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; }
  .footer-nav { justify-content: flex-end; align-self: start; }
  .credits { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }
}

/* ---------- Reveal on scroll (only with JS and when motion is welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .final, .skip-link { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
