/* REVVIER project website. Tokens follow docs/BRAND.md and src/ui/theme.ts of the app. */

@font-face { font-family: "Manrope"; src: url("../fonts/Manrope_400Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope_600SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope_800ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed_700Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #171A18;
  --ink-2: #0F1110;
  --ink-3: #262A27;
  --paper: #F3F1E8;
  --panel: #FCFBF7;
  --stone: #E9EAE2;
  --line: #DADDD2;
  --line-dark: #343935;
  --acid: #DFFF00;
  --acid-soft: #EDF5AF;
  --muted: #5E665F;
  --muted-dark: #A7ADA5;
  --green: #2D684C;
  --blue: #426E8F;
  --danger: #A92E35;

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --radius: 20px;
  --radius-lg: 28px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--acid); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--acid); color: var(--ink); padding: 10px 16px; border-radius: 12px; font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.eyebrow .num { font-family: var(--font-mono); letter-spacing: 0; background: var(--ink); color: var(--acid); padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.on-dark .eyebrow { color: var(--muted-dark); }
.on-dark .eyebrow .num { background: var(--acid); color: var(--ink); }
.display { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; overflow-wrap: break-word; hyphens: auto; }
.h2 { font-size: clamp(32px, 9vw, 84px); max-width: 15ch; }
.h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 3.2vw, 34px); line-height: 1; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 60ch; color: var(--muted); }
.on-dark .lead { color: var(--muted-dark); }
.mono { font-family: var(--font-mono); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-acid { background: var(--acid); color: var(--ink); }
.btn-ghost { border-color: currentColor; }
.btn .arrow { font-family: var(--font-mono); }

/* Demo labels: every illustrative preview carries one. */
.demo-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: var(--ink); color: var(--acid); padding: 5px 10px; border-radius: 999px; }
.demo-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acid); }
.demo-tag--light { background: var(--acid); color: var(--ink); }
.demo-tag--light::before { background: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 241, 232, .92); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(243, 241, 232, .8); backdrop-filter: saturate(1.4) blur(12px); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 30px; width: auto; }
.nav-toggle { display: none; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover { background: var(--stone); }
.site-nav .nav-cta { background: var(--ink); color: var(--paper); margin-left: 6px; }
.site-nav .nav-cta:hover { background: var(--ink-3); }

@media (max-width: 899px) {
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; font-weight: 800; cursor: pointer; }
  .nav-toggle .bars { position: relative; width: 18px; height: 2px; background: currentColor; transition: background-color .15s; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .2s ease; }
  .nav-toggle .bars::before { top: -6px; }
  .nav-toggle .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .js .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; gap: 2px; }
  .js .site-nav a { width: 100%; min-height: 52px; font-size: 18px; padding: 0 12px; border-radius: 14px; }
  .js .site-nav .nav-cta { margin: 10px 0 0; justify-content: center; }
  /* Without JavaScript the links stay visible as a wrapping row below the logo. */
  html:not(.js) .header-inner { flex-wrap: wrap; padding: 10px 0; }
  html:not(.js) .site-nav a { min-height: 40px; padding: 0 10px; font-size: 14px; }
}

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; isolation: isolate; }
.hero-bands { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bands svg { position: absolute; right: -12%; top: -8%; width: min(1100px, 130%); height: auto; opacity: .09; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 112px); }
.hero-status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; border: 1px solid var(--line-dark); border-radius: 18px; padding: 6px 14px 6px 6px; font-size: 13px; font-weight: 600; color: var(--muted-dark); margin-bottom: 28px; }
.hero-status .dot { display: inline-flex; align-items: center; gap: 8px; background: var(--ink-3); color: var(--paper); border-radius: 999px; padding: 4px 10px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.hero-status .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 rgba(223, 255, 0, .6); animation: pulse 2.4s ease-out infinite; }
.hero h1 { font-size: clamp(46px, 13vw, 108px); }
@media (min-width: 1024px) { .hero h1 { font-size: clamp(46px, 8.6vw, 108px); } }
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--acid); }
.hero .lead { margin-top: 28px; color: #C9CDC5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--muted-dark); max-width: 52ch; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(223, 255, 0, .55); } 70% { box-shadow: 0 0 0 10px rgba(223, 255, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(223, 255, 0, 0); } }

/* Phone preview */
.phone-stage { position: relative; justify-self: center; width: 100%; max-width: 360px; }
.phone-stage .demo-tag { position: absolute; z-index: 2; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.phone { position: relative; aspect-ratio: 9 / 18.5; border-radius: 46px; background: var(--ink-2); padding: 11px; box-shadow: 0 0 0 1px #2E332F, 0 40px 80px -30px rgba(0, 0, 0, .8); transform: rotate(-2.5deg); }
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; }
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 8px; }
.phone-top img { height: 18px; width: auto; }
.phone-top .mono { font-size: 11px; color: var(--muted); }
.phone-chips { display: flex; gap: 6px; padding: 4px 14px 10px; overflow: hidden; }
.phone-chips span { flex: none; font-size: 11px; font-weight: 800; padding: 6px 11px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.phone-chips span.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.phone-map { position: relative; flex: 1; min-height: 0; }
.phone-map svg { width: 100%; height: 100%; }
.phone-sheet { position: absolute; left: 10px; right: 10px; bottom: 58px; background: var(--ink); color: var(--paper); border-radius: 22px; padding: 14px 16px 16px; }
.phone-sheet .kicker { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.phone-sheet .title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 26px; line-height: 1; margin: 6px 0 8px; }
.phone-sheet .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-family: var(--font-mono); font-size: 11px; color: #C9CDC5; }
.phone-sheet .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.phone-sheet .badge { font-size: 10px; font-weight: 800; border: 1px solid var(--line-dark); border-radius: 999px; padding: 4px 9px; }
.phone-sheet .go { background: var(--acid); color: var(--ink); font-weight: 800; font-size: 13px; padding: 9px 16px; border-radius: 999px; }
.phone-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; display: flex; justify-content: space-around; align-items: center; background: var(--panel); border-top: 1px solid var(--line); font-size: 10px; font-weight: 800; color: var(--muted); }
.phone-tabs .on { color: var(--ink); }
.phone-tabs .on::before { content: ""; display: block; width: 18px; height: 3px; background: var(--ink); border-radius: 2px; margin: 0 auto 5px; }

/* Sections */
.section { padding: clamp(72px, 10vw, 132px) 0; }
.section--panel { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--stone { background: var(--stone); }
.on-dark { background: var(--ink); color: var(--paper); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { margin: 0; }

/* Interactive map demo */
.map-demo { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); }
.map-view { position: relative; min-height: 520px; background: #E9E8DE; }
.map-view > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-toolbar { position: absolute; z-index: 3; left: 16px; right: 16px; top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; pointer-events: none; }
.map-toolbar > * { pointer-events: auto; }
.chips { display: none; flex-wrap: wrap; gap: 6px; }
.js .chips { display: flex; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-weight: 800; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip:hover { border-color: var(--ink); }

.pin { position: absolute; z-index: 2; transform: translate(-50%, -100%); display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer; }
.pin .shape { display: grid; place-items: center; width: 44px; height: 44px; font-weight: 800; font-size: 15px; transition: transform .15s ease; box-shadow: 0 6px 14px -6px rgba(23, 26, 24, .55); }
.pin .stem { width: 2px; height: 10px; background: var(--ink); }
.pin:hover .shape { transform: scale(1.08); }
.pin[aria-pressed="true"] .shape { outline: 3px solid var(--ink); outline-offset: 3px; }
.pin--event .shape { background: var(--acid); color: var(--ink); border-radius: 14px; border: 2px solid var(--ink); }
.pin--crew .shape { background: var(--ink); color: var(--acid); border-radius: 14px 14px 22px 22px; }
.pin--driver .shape { background: var(--panel); color: var(--ink); border-radius: 50%; border: 2px solid var(--ink); }
.pin--cluster .shape { background: var(--ink); color: var(--paper); border-radius: 50%; border: 3px solid var(--panel); font-family: var(--font-mono); }
.pin--internal .shape { background: var(--panel); border-style: dashed; }
.pin .shape svg { width: 22px; height: 22px; }
.pin.is-hidden { display: none; }
.pin--a { left: 58%; top: 48%; }
.pin--b { left: 29%; top: 72%; }
.pin--c { left: 73%; top: 78%; }
.pin--d { left: 19%; top: 40%; }
.pin--e { left: 84%; top: 36%; }
.pin--f { left: 45%; top: 30%; }

.map-legend { position: absolute; z-index: 3; left: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px 14px; background: rgba(252, 251, 247, .94); border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; font-size: 12px; font-weight: 600; max-width: calc(100% - 32px); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { display: inline-block; width: 12px; height: 12px; }
.lg-event { background: var(--acid); border: 2px solid var(--ink); border-radius: 4px; }
.lg-internal { background: var(--panel); border: 2px dashed var(--ink); border-radius: 4px; }
.lg-crew { background: var(--ink); border-radius: 3px 3px 6px 6px; }
.lg-driver { background: var(--panel); border: 2px solid var(--ink); border-radius: 50%; }

.map-detail { border-left: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.map-detail .type { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.map-detail .title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 34px; line-height: .95; }
.map-detail dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.map-detail dt { color: var(--muted); font-weight: 600; }
.map-detail dd { margin: 0; font-family: var(--font-mono); font-size: 13px; }
.map-detail .note { font-size: 14px; color: var(--muted); margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--ink); width: max-content; }
.badge--public::before { content: "◎"; }
.badge--internal { border-style: dashed; }
.badge--internal::before { content: "⌂"; }
.badge--verified { background: var(--ink); color: var(--acid); }
.badge--verified::before { content: "✓"; }
.fake-action { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink); color: var(--paper); border-radius: 18px; padding: 12px 12px 12px 16px; font-size: 13px; }
.fake-action span:last-child { background: var(--acid); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 800; white-space: nowrap; }

.map-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.map-facts div { padding: 22px 24px 0 0; }
.map-facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.map-facts h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.map-facts p { font-size: 15px; color: var(--muted); margin: 0; }

/* Drivers / garage */
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.garage-card { position: relative; background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: 22px; box-shadow: 0 30px 60px -36px rgba(23, 26, 24, .7); }
.garage-card .demo-tag { position: absolute; top: -12px; right: 22px; }
.garage-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.garage-tabs { display: flex; gap: 6px; margin: 16px 0; }
.garage-tabs span { font-size: 12px; font-weight: 800; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-dark); }
.garage-tabs span.on { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.car-stage { position: relative; border-radius: 18px; background: linear-gradient(160deg, #2A2F2B 0%, #1D201E 100%); overflow: hidden; aspect-ratio: 16 / 9; }
.car-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.car-stage .count { position: absolute; right: 12px; bottom: 12px; font-family: var(--font-mono); font-size: 11px; background: rgba(15, 17, 16, .8); border-radius: 999px; padding: 4px 9px; }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.thumbs span { aspect-ratio: 1; border-radius: 8px; background: var(--ink-3); border: 1px solid var(--line-dark); }
.thumbs span.on { border: 2px solid var(--acid); }
.thumbs span.empty { background: transparent; border-style: dashed; }
.car-name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 18px 0 4px; }
.car-meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted-dark); }
.mods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mods span { font-size: 12px; border-radius: 10px; background: var(--ink-3); padding: 6px 10px; }
.mods b { color: var(--acid); font-weight: 800; margin-right: 4px; }

.feature-list { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: f; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.feature-list li::before { counter-increment: f; content: counter(f, decimal-leading-zero); grid-row: span 2; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 3px; }
.feature-list h3 { font-size: 18px; font-weight: 800; line-height: 1.3; }
.feature-list p { margin: 0; color: var(--muted); font-size: 15px; }

/* Crews */
.crew-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.hub { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: 22px; }
.hub .demo-tag { position: absolute; top: -12px; left: 22px; }
.hub-head { display: flex; align-items: center; gap: 14px; padding: 8px 0 18px; border-bottom: 1px solid var(--line); }
.hub-logo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: var(--acid); font-family: var(--font-display); font-weight: 700; font-size: 22px; flex: none; }
.hub-head .name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 26px; line-height: 1; }
.hub-head .sub { font-size: 13px; color: var(--muted); }
.hub-rows { list-style: none; margin: 0; padding: 0; }
.hub-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hub-rows li:last-child { border-bottom: 0; }
.hub-rows .label { font-weight: 800; }
.hub-rows .sub { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.hub-rows .val { font-family: var(--font-mono); font-size: 13px; white-space: nowrap; }
.hub-rows .val--acid { background: var(--acid); border-radius: 999px; padding: 3px 10px; font-weight: 600; }
.hub-event { margin-top: 8px; background: var(--ink); color: var(--paper); border-radius: 18px; padding: 16px; }
.hub-event .kicker { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.hub-event .title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 24px; line-height: 1; margin: 6px 0 10px; }
.hub-event .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--font-mono); font-size: 12px; color: #C9CDC5; }
.cap { margin-top: 12px; height: 8px; background: var(--ink-3); border-radius: 999px; overflow: hidden; }
.cap span { display: block; height: 100%; width: 62%; background: var(--acid); }

.crew-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 36px; }
.crew-points div { padding: 18px 0; border-top: 1px solid var(--line-dark); }
.crew-points h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; display: flex; gap: 8px; align-items: baseline; }
.crew-points h3::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--acid); transform: skewX(-18deg); }
.crew-points p { margin: 0; font-size: 15px; color: var(--muted-dark); }
.callout { margin-top: 28px; border: 1px solid var(--line-dark); border-left: 4px solid var(--acid); border-radius: 14px; padding: 16px 18px; font-size: 15px; color: #C9CDC5; }
.callout strong { color: var(--paper); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 6px; background: repeating-linear-gradient(90deg, var(--ink) 0 28px, transparent 28px 40px); opacity: .9; }
.step { position: relative; padding-top: 76px; }
.step .n { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--acid); border: 2px solid var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 30px; }
.step h3 { font-size: 20px; font-weight: 800; line-height: 1.25; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.step .flag { display: inline-block; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; border: 1px dashed var(--ink); border-radius: 999px; padding: 3px 9px; }

/* Status board */
.status-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.status-col { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.status-col h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.status-col .sym { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; font-family: var(--font-mono); font-size: 15px; font-weight: 600; flex: none; }
.status-col--done .sym { background: var(--ink); color: var(--acid); }
.status-col--setup .sym { background: var(--acid); color: var(--ink); border: 1px solid var(--ink); }
.status-col--open .sym { border: 1.5px dashed var(--ink); }
.status-col .hint { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.status-col ul { list-style: none; margin: 0; padding: 0; }
.status-col li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 28px; padding: 18px 22px; border: 1px dashed var(--ink); border-radius: var(--radius); }
.platforms strong { font-weight: 800; }
.platform { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.platform small { font-family: var(--font-mono); font-weight: 600; font-size: 11px; color: var(--muted); text-transform: uppercase; }
.platforms p { margin: 0; font-size: 14px; color: var(--muted); flex: 1 1 260px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; font-size: 18px; font-weight: 800; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ink); font-family: var(--font-mono); font-size: 18px; font-weight: 400; transition: transform .2s ease, background-color .2s; }
.faq-list details[open] summary::after { content: "−"; background: var(--acid); }
.faq-list summary:hover::after { background: var(--acid-soft); }
.faq-list .answer { padding: 0 52px 22px 0; color: var(--muted); }
.faq-list .answer p:last-child { margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 64px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.footer-top img { height: 40px; width: auto; }
.footer-claim { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 5vw, 52px); line-height: .95; margin-top: 18px; }
.footer-claim span { color: var(--acid); }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; text-decoration: none; font-weight: 600; color: #C9CDC5; }
.footer-nav a:hover { color: var(--paper); background: var(--ink-3); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 24px; font-size: 13px; color: var(--muted-dark); }
.footer-bottom p { margin: 0; max-width: 70ch; }

/* Legal draft pages */
.legal { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 112px); }
.legal .wrap { max-width: calc(820px + 2 * var(--gutter)); }
.draft-banner { display: flex; gap: 14px; align-items: flex-start; background: var(--acid); border: 2px solid var(--ink); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 40px; font-size: 15px; }
.draft-banner strong { display: block; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.draft-banner .sym { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--acid); font-family: var(--font-mono); font-weight: 600; }
.draft-banner p { margin: 4px 0 0; }
.legal h1 { font-size: clamp(44px, 9vw, 96px); margin-bottom: 24px; }
.legal h2 { font-size: 20px; font-weight: 800; margin: 40px 0 10px; }
.legal p, .legal li { color: #2F3430; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.ph { background: var(--acid-soft); border: 1px dashed var(--ink); border-radius: 6px; padding: 0 6px; font-family: var(--font-mono); font-size: .88em; white-space: normal; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; text-decoration: none; margin-bottom: 20px; }
.back-link:hover { text-decoration: underline; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { font-size: clamp(64px, 14vw, 160px); }
.notfound p { color: var(--muted); }

/* Responsive */
@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; }
  .phone-stage { max-width: 320px; margin-top: 8px; }
  .section-head { grid-template-columns: 1fr; }
  .map-demo { grid-template-columns: 1fr; }
  .map-detail { border-left: 0; border-top: 1px solid var(--line); }
  .split, .crew-layout, .faq-layout { grid-template-columns: 1fr; }
  .status-board { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 719px) {
  .map-view { min-height: 480px; }
  .chip { min-height: 36px; padding: 0 11px; font-size: 13px; }
  .map-facts { grid-template-columns: 1fr; }
  .map-facts div, .map-facts div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .crew-points { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .step { padding: 0 0 0 80px; min-height: 60px; }
  .faq-list .answer { padding-right: 0; }
  .hero-actions .btn { flex: 1 1 220px; }
}
@media (max-width: 380px) {
  body { font-size: 15px; }
  .brand img { height: 24px; }
  .pin .shape { width: 40px; height: 40px; }
  .map-detail { padding: 18px; }
  .garage-card, .hub { padding: 16px; }
  .mods span { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover { transform: none; }
}

@media print {
  .site-header, .nav-toggle, .hero-bands, .chips { display: none !important; }
  .hero, .on-dark, .site-footer { background: #fff; color: #000; }
}
