/* ==========================================================================
   REVVMEET — revvmeet.com
   Design tokens lifted straight from the product brand:
   asphalt #0A0A0B · carbon surfaces · ivory #F5F2EC · revv green #37D437
   Type: Archivo (display, expanded) · Inter (body) · JetBrains Mono (instrument)
   ========================================================================== */

:root {
  --asphalt: #0A0A0B;
  --carbon: #121214;
  --carbon-2: #18181B;
  --ivory: #F5F2EC;
  --smoke: rgba(245, 242, 236, 0.58);
  --smoke-dim: rgba(245, 242, 236, 0.34);
  --line: rgba(245, 242, 236, 0.10);
  --line-strong: rgba(245, 242, 236, 0.18);
  --revv: #37D437;
  --revv-deep: #1C7A2E;
  --revv-glow: rgba(55, 212, 55, 0.16);

  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --max: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--asphalt);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Fine grain so big dark fields don't band on OLED — same trick the app uses */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--revv); color: var(--asphalt); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* --------------------------------------------------------------------------
   RPM scroll gauge — the page's progress bar, read like a tachometer.
   A fixed tick band across the top; the green sweep is scroll progress and
   the mono readout maps 0–100% to 800–8000 rpm.
   -------------------------------------------------------------------------- */
.rpm-band {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 5px;
  z-index: 200;
  background:
    repeating-linear-gradient(90deg,
      var(--line-strong) 0, var(--line-strong) 1px,
      transparent 1px, transparent 10%);
  background-color: rgba(10, 10, 11, 0.7);
}
.rpm-band .rpm-fill {
  position: absolute; inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, var(--revv-deep), var(--revv));
  box-shadow: 0 0 12px var(--revv-glow);
}
.rpm-readout {
  position: fixed;
  top: 11px; right: 12px;
  z-index: 200;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--smoke-dim);
  background: rgba(10, 10, 11, 0.65);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 7px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
.rpm-readout .val { color: var(--revv); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.brand .word {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 115%;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}
.brand .word b { color: var(--revv); font-weight: 800; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--smoke);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--ivory); }
@media (max-width: 720px) { .site-nav .hide-m { display: none; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1;
  padding: 13px 22px;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--revv);
  color: #06140A;
  box-shadow: 0 0 0 0 var(--revv-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--revv-glow), 0 2px 8px rgba(0,0,0,0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--revv); color: var(--revv); }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(64px, 10vh, 120px) 0 clamp(48px, 7vh, 88px);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .copy { order: 2; }
  .hero .mark { order: 1; }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--revv);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--revv);
}
@media (max-width: 860px) { .hero .eyebrow::before { display: none; } }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 122%;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 18px 0 22px;
}
.hero h1 .accent { color: var(--revv); }

.hero .sub {
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--smoke);
  max-width: 480px;
  margin-bottom: 32px;
}
@media (max-width: 860px) { .hero .sub { margin-left: auto; margin-right: auto; } }

.hero .cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 860px) { .hero .cta-row { justify-content: center; } }

.platform-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--smoke-dim);
  text-transform: uppercase;
}

.hero .mark { position: relative; display: grid; place-items: center; }
.hero .mark img {
  width: min(100%, 440px);
  height: auto;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.75));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero .mark::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--revv-glow), transparent 65%);
  filter: blur(40px);
  z-index: -1;
}

/* --------------------------------------------------------------------------
   Marquee divider — the product's own slogan, running like a pit wall board
   -------------------------------------------------------------------------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  background: var(--carbon);
}
.marquee .track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: slide 32s linear infinite;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--smoke);
  white-space: nowrap;
}
.marquee .track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee .tick { color: var(--revv); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee .track { animation: none; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(64px, 9vh, 110px) 0; }
.section-head { max-width: 620px; margin-bottom: clamp(36px, 5vh, 56px); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 14px 0 14px;
}
.section-head p { color: var(--smoke); font-size: 16.5px; }

/* Feature grid — instrument-panel cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

.feature {
  position: relative;
  background: var(--carbon);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  overflow: hidden;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--carbon-2);
}
.feature::after {
  content: "";
  position: absolute;
  top: 0; left: 24px;
  width: 28px; height: 2px;
  background: var(--revv);
  opacity: 0;
  transition: opacity 0.18s ease, width 0.18s ease;
}
.feature:hover::after { opacity: 1; width: 44px; }

.feature .tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--revv);
  margin-bottom: 14px;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 19px;
  letter-spacing: 0.005em;
  margin-bottom: 10px;
}
.feature p { font-size: 14.5px; color: var(--smoke); }

/* --------------------------------------------------------------------------
   Convoy band — full-bleed panel with animated route line
   -------------------------------------------------------------------------- */
.convoy {
  position: relative;
  background: var(--carbon);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.convoy .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding-top: clamp(64px, 9vh, 100px);
  padding-bottom: clamp(64px, 9vh, 100px);
}
@media (max-width: 860px) { .convoy .wrap { grid-template-columns: 1fr; } }

.convoy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.06;
  text-transform: uppercase;
  margin: 14px 0 16px;
}
.convoy p { color: var(--smoke); font-size: 16px; max-width: 460px; }
.convoy ul {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 11px;
}
.convoy li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  color: var(--ivory);
}
.convoy li::before {
  content: "›";
  color: var(--revv);
  font-family: var(--font-mono);
  font-weight: 700;
}

.route-canvas { position: relative; min-height: 300px; }
.route-canvas svg { width: 100%; height: auto; display: block; }
.route-path {
  fill: none;
  stroke: var(--revv);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  filter: drop-shadow(0 0 6px var(--revv-glow));
  animation: dash 2.4s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -36; } }
.route-ghost { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.route-node { fill: var(--asphalt); stroke: var(--revv); stroke-width: 2; }
.route-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  fill: var(--smoke);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Trim levels (tiers)
   -------------------------------------------------------------------------- */
.trims {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 860px) { .trims { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.trim {
  background: var(--carbon);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.trim.elite {
  border-color: rgba(55, 212, 55, 0.45);
  background:
    linear-gradient(180deg, rgba(55, 212, 55, 0.06), transparent 45%),
    var(--carbon);
}
.trim .badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--smoke);
}
.trim.elite .badge { color: var(--revv); }
.trim h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.trim .blurb { font-size: 14.5px; color: var(--smoke); min-height: 44px; }
.trim ul { list-style: none; display: grid; gap: 10px; flex: 1; }
.trim li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ivory);
  align-items: baseline;
}
.trim li::before {
  content: "—";
  color: var(--revv);
  font-family: var(--font-mono);
}
.trim .foot {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--smoke-dim);
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* --------------------------------------------------------------------------
   Get the app — store cards (custom, brand-consistent; not official badges)
   -------------------------------------------------------------------------- */
.download .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.download .section-head .eyebrow { justify-content: center; }
.download .section-head .eyebrow::before { display: none; }

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 620px) { .store-grid { grid-template-columns: 1fr; } }

.store-card {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--carbon);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.store-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--carbon-2);
}
.store-card::after {
  content: "";
  position: absolute;
  top: 0; left: 24px;
  width: 28px; height: 2px;
  background: var(--revv);
  opacity: 0;
  transition: opacity 0.18s ease, width 0.18s ease;
}
.store-card:hover::after { opacity: 1; width: 44px; }

.store-glyph {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--asphalt);
  color: var(--revv);
}
.store-glyph svg { width: 24px; height: 24px; display: block; }

.store-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.store-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke-dim);
}
.store-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 115%;
  font-size: 20px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.store-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
}
.store-chip {
  margin-left: auto;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--revv);
  background: var(--revv-glow);
  border: 1px solid rgba(55, 212, 55, 0.4);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Waitlist
   -------------------------------------------------------------------------- */
.waitlist {
  text-align: center;
  position: relative;
}
.waitlist h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 122%;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.02;
  text-transform: uppercase;
  margin: 14px auto 16px;
  max-width: 760px;
}
.waitlist .sub { color: var(--smoke); max-width: 480px; margin: 0 auto 34px; }

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
@media (max-width: 520px) { .waitlist-form { flex-direction: column; } }
.waitlist-form input[type="email"] {
  flex: 1;
  background: var(--carbon);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ivory);
  outline: none;
  transition: border-color 0.15s ease;
  min-width: 0;
}
.waitlist-form input[type="email"]::placeholder { color: var(--smoke-dim); }
.waitlist-form input[type="email"]:focus { border-color: var(--revv); }
.waitlist-msg {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  min-height: 18px;
}
.waitlist-msg.ok { color: var(--revv); }
.waitlist-msg.err { color: #FF6B5E; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 38px;
  background: var(--carbon);
}
.site-footer .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.foot-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-nav a { font-size: 13.5px; color: var(--smoke); }
.foot-nav a:hover { color: var(--ivory); }
.site-footer .legal {
  font-size: 12.5px;
  color: var(--smoke-dim);
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Document pages (privacy / terms / support)
   -------------------------------------------------------------------------- */
.doc { padding: clamp(48px, 7vh, 80px) 0 clamp(64px, 9vh, 110px); }
.doc .wrap { max-width: 760px; }
.doc h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(30px, 4vw, 44px);
  text-transform: uppercase;
  line-height: 1.04;
  margin: 14px 0 10px;
}
.doc .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--smoke-dim);
  margin-bottom: 36px;
}
.doc h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 21px;
  margin: 42px 0 12px;
  scroll-margin-top: 90px;
}
.doc h2 .num {
  color: var(--revv);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  margin-right: 10px;
}
.doc p { color: var(--smoke); margin-bottom: 14px; font-size: 15.5px; }
.doc strong { color: var(--ivory); font-weight: 600; }
.doc ul { margin: 0 0 14px 20px; color: var(--smoke); display: grid; gap: 7px; font-size: 15.5px; }
.doc a { color: var(--revv); }
.doc a:hover { text-decoration: underline; }
.doc .placeholder {
  background: rgba(55, 212, 55, 0.08);
  border: 1px dashed rgba(55, 212, 55, 0.4);
  border-radius: 4px;
  padding: 0 6px;
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--revv);
  white-space: nowrap;
}
.doc .callout {
  background: var(--carbon);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--revv);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 0 0 28px;
  font-size: 14.5px;
  color: var(--smoke);
}

/* Support cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}
@media (max-width: 620px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--carbon);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.contact-card .tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--revv);
  margin-bottom: 10px;
}
.contact-card a.mail {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ivory);
  word-break: break-all;
}
.contact-card a.mail:hover { color: var(--revv); }
.contact-card p { font-size: 13.5px; color: var(--smoke); margin-top: 8px; }

/* 404 */
.nf {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}
.nf .code {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(80px, 16vw, 160px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-strong);
}
.nf h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 115%;
  font-size: 26px;
  text-transform: uppercase;
  margin: 12px 0 10px;
}
.nf p { color: var(--smoke); margin-bottom: 28px; }

/* Reveal on scroll (hidden state only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--revv);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   EXPANDED LANDING SECTIONS (how it works · preview · clans · culture · faq)
   Same identity, more surface area.
   ========================================================================== */

/* --------------------------------------------------------------------------
   How it works — numbered instrument steps
   -------------------------------------------------------------------------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  background: var(--carbon);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.step:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--carbon-2); }
.step-no {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--revv);
  display: inline-block;
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 18px;
  margin-bottom: 9px;
}
.step p { font-size: 14px; color: var(--smoke); }
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--revv);
  transition: width 0.25s ease;
}
.step:hover::before { width: 100%; }

/* --------------------------------------------------------------------------
   App preview — CSS phone mockups (illustrative, not screenshots)
   -------------------------------------------------------------------------- */
.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 40px);
  justify-items: center;
  align-items: end;
}
@media (max-width: 860px) { .phones { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (max-width: 620px) { .phones { grid-template-columns: 1fr; gap: 36px; } }

.phone { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone-frame {
  position: relative;
  width: 100%;
  max-width: 234px;
  aspect-ratio: 9 / 19.5;
  background: #050506;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  padding: 9px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(245,242,236,0.04);
}
.phone-notch {
  position: absolute;
  top: 9px; left: 50%;
  transform: translateX(-50%);
  width: 40%; height: 16px;
  background: #050506;
  border-radius: 0 0 11px 11px;
  z-index: 3;
}
.screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #101013, var(--asphalt));
  display: flex;
  flex-direction: column;
  padding: 26px 12px 0;
}
.scr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.scr-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 115%;
  font-size: 15px;
  text-transform: uppercase;
}
.scr-rpm, .scr-dot {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--revv);
}
.scr-dot { color: #FF6B5E; }
.scr-tabs {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 40px;
  border-top: 1px solid var(--line);
}
.scr-tabs i { width: 18px; height: 18px; border-radius: 5px; background: var(--line-strong); display: block; }
.scr-tabs i.on { background: var(--revv); box-shadow: 0 0 10px var(--revv-glow); }

/* garage screen */
.scr-hero { height: 78px; border-radius: 10px; background: linear-gradient(135deg, var(--revv-deep), rgba(55,212,55,0.08)); border: 1px solid var(--line); margin-bottom: 10px; }
.scr-chips { display: flex; gap: 6px; margin-bottom: 12px; }
.scr-chips span { flex: 1; height: 22px; border-radius: 6px; background: var(--carbon-2); border: 1px solid var(--line); }
.scr-row { height: 34px; border-radius: 8px; background: var(--carbon-2); border: 1px solid var(--line); margin-bottom: 8px; }
.scr-row.short { width: 70%; }

/* meets screen */
.scr-map {
  position: relative;
  flex: 1;
  border-radius: 10px;
  background:
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 26px),
    var(--carbon);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.scr-map .pin {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50% 50% 50% 0;
  background: var(--smoke-dim);
  transform: rotate(-45deg);
}
.scr-map .pin:nth-child(1) { top: 24%; left: 30%; }
.scr-map .pin:nth-child(2) { top: 50%; left: 62%; }
.scr-map .pin:nth-child(3) { top: 70%; left: 38%; }
.scr-map .pin.you { background: var(--revv); box-shadow: 0 0 0 5px var(--revv-glow); top: 40%; left: 46%; }
.scr-card { height: 40px; border-radius: 8px; background: var(--carbon-2); border: 1px solid var(--line); margin-bottom: 10px; }

/* live screen */
.scr-video {
  flex: 1;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 38%, rgba(55,212,55,0.16), transparent 60%), #0E0E10;
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.scr-chat { display: grid; gap: 6px; margin-bottom: 10px; }
.scr-chat span { height: 11px; border-radius: 5px; background: var(--carbon-2); border: 1px solid var(--line); }
.scr-chat span.w2 { width: 80%; }
.scr-chat span.w3 { width: 60%; }

.phone figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
  text-align: center;
}
.preview-note {
  margin-top: 28px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--smoke-dim);
}

/* --------------------------------------------------------------------------
   Identities (clans) — collectible signature cards, accent per identity (--c)
   NOTE: provisional mockup content; final names/glyphs/colours TBD before launch.
   -------------------------------------------------------------------------- */
.clans { background: var(--carbon); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .clan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .clan-grid { grid-template-columns: 1fr; } }

.clan {
  --c: var(--ivory);
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--asphalt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.clan::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--c);
}
.clan:hover {
  transform: translateY(-3px);
  border-color: var(--c);
  box-shadow: 0 22px 50px -28px var(--c);
}
.clan-glyph {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  font-size: 30px;
  line-height: 1;
  color: var(--c);
}
.clan-info { min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.clan-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.clan-rarity {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c);
}
.clan-serial {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--smoke-dim);
}
.clan h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 115%;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Culture — values panel (rides on the .convoy band layout)
   -------------------------------------------------------------------------- */
.culture h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.06;
  text-transform: uppercase;
  margin: 14px 0 16px;
}
.values { display: grid; gap: 12px; }
.value {
  background: var(--asphalt);
  border: 1px solid var(--line);
  border-left: 3px solid var(--revv);
  border-radius: 10px;
  padding: 18px 20px;
}
.value .v-no {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--revv);
}
.value h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 17px;
  margin: 6px 0 5px;
}
.value p { font-size: 14px; color: var(--smoke); }

/* --------------------------------------------------------------------------
   FAQ — native accordion
   -------------------------------------------------------------------------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item {
  background: var(--carbon);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.16s ease;
}
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 108%;
  font-size: 16px;
  color: var(--ivory);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { position: relative; flex: 0 0 auto; width: 14px; height: 14px; }
.faq-ic::before, .faq-ic::after {
  content: "";
  position: absolute;
  background: var(--revv);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.faq-ic::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-ic::after { top: 0; left: 6px; width: 2px; height: 14px; }
.faq-item[open] .faq-ic::after { transform: scaleY(0); opacity: 0; }
.faq-a { padding: 0 20px 18px; }
.faq-a p { font-size: 14.5px; color: var(--smoke); }
.faq-a a { color: var(--revv); }
.faq-a a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Footer — columned
   -------------------------------------------------------------------------- */
.site-footer .top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 760px) { .site-footer .top { grid-template-columns: 1fr; } }
.foot-tag { font-size: 13.5px; color: var(--smoke); max-width: 320px; margin: 14px 0 12px; }
.foot-launch {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--revv);
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 480px) { .foot-cols { grid-template-columns: repeat(2, 1fr); } }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke-dim);
  margin-bottom: 3px;
}
.foot-col a { font-size: 13.5px; color: var(--smoke); transition: color 0.15s ease; }
.foot-col a:hover { color: var(--revv); }
