/* =========================================================================
   Runzo — runzo.fit

   One stylesheet, no framework, no build step. The palette is the running
   app's own (apps/mobile/src/constants/territory.ts) so the site and the
   first screen after installing are continuously branded: #f59e0b is your
   territory, #38bdf8 is a rival's, and the hexes here are the real H3
   geometry rather than an illustration.

   Every text/background pair in the tokens below was measured against WCAG
   before being written down. The weakest is --faint at 5.16:1 on --bg.

   Motion rule, obeyed throughout: transform and opacity only. Nothing here
   animates a property that triggers layout or paint per frame, and
   prefers-reduced-motion switches animation *off* rather than shortening it.
   ========================================================================= */

/* ---------- tokens ------------------------------------------------------ */

:root {
  /* Ground. Slightly deeper than the app's #0f1115 so the gradients below
     have somewhere to bloom into. */
  --bg: #0b0d11;
  --panel: #14171d;
  --panel-2: #191d25;
  --line: #262b35;

  --text: #f2f5f9;   /* 17.78:1 on --bg */
  --dim: #a8b2c1;    /*  9.08:1 */
  --faint: #7b8494;  /*  5.16:1 */

  --mine: #f59e0b;   /* your territory */
  --mine-2: #fb923c; /* the warm end of the CTA gradient */
  --rival: #38bdf8;  /* everybody else */

  --radius: 14px;
  --radius-lg: 22px;
  --pill: 999px;

  --measure: 62ch;
  --shell: 1120px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font: 400 clamp(1rem, 0.96rem + 0.2vw, 1.075rem)/1.65
        ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* A designed focus ring rather than the browser default — this is the only
   affordance a keyboard user has, so it should look deliberate. */
:focus-visible {
  outline: 2px solid var(--mine);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* ---------- the light behind everything --------------------------------- */

/* Two soft radial blooms, fixed so they do not scroll with content: warm
   behind the hero, cool low and off-centre. Large and low-opacity, so they
   read as light rather than as shapes. Painted on a pseudo-element at
   z-index -1 so nothing has to sit in a stacking context to be above them. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70rem 50rem at 18% -10%, rgba(245, 158, 11, 0.16), transparent 60%),
    radial-gradient(55rem 45rem at 88% 12%, rgba(251, 146, 60, 0.09), transparent 62%),
    radial-gradient(60rem 50rem at 72% 92%, rgba(56, 189, 248, 0.10), transparent 60%);
}

/* ---------- layout ------------------------------------------------------ */

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--mine);
  color: var(--bg);
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 700;
  z-index: 100;
}
.skip:focus { left: 0; }

/* 9vw between sections measured at ~250 px of dead space on a 1440 desktop —
   airy on a phone, adrift on a laptop. This scales far more gently. */
section { padding-block: clamp(3.25rem, 5.2vw, 5.25rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mine);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: linear-gradient(90deg, var(--mine), transparent);
}

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.022em; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.3vw, 2.9rem); }
h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -0.01em; }

p { max-width: var(--measure); color: var(--dim); }
.lede { font-size: clamp(1.075rem, 1rem + 0.5vw, 1.28rem); color: var(--dim); }

.section-head { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }

/* ---------- header ------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-block: 0.9rem;
  background: rgba(11, 13, 17, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header[data-scrolled] {
  border-bottom-color: var(--line);
  background: rgba(11, 13, 17, 0.9);
}
.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand svg { width: 26px; height: 29px; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--text); }
@media (max-width: 720px) { .nav .nav-link { display: none; } }

/* ---------- buttons ----------------------------------------------------- */

.btn {
  --lift: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(var(--lift));
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease),
              box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}
.btn:hover { --lift: -2px; border-color: #39404d; }
.btn:active { --lift: 0px; transition-duration: 0.06s; }

.btn-primary {
  background: linear-gradient(135deg, var(--mine), var(--mine-2));
  border-color: transparent;
  color: #0b0d11;          /* 9.05:1 on the amber end, 8.59:1 on the warm end */
  padding-inline: 1.7rem;
  box-shadow: 0 6px 22px -8px rgba(245, 158, 11, 0.55);
}
.btn-primary:hover {
  box-shadow: 0 12px 34px -10px rgba(245, 158, 11, 0.7);
}
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover { --lift: 0; }

/* ---------- hero -------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 4.5vw, 4rem) clamp(3rem, 5.5vw, 5rem);
}
.hero .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero .shell { grid-template-columns: 1fr; }
}

.hero h1 { margin-bottom: 1.25rem; }
/* The gradient sits on the phrase naming the product's promise, so the eye
   lands there rather than on decoration.

   Amber to orange only — an earlier version ran through to the rival blue and
   the transition band fell to roughly 4:1 across "ground.", which is the sort
   of thing that looks like a style choice and reads as a legibility bug. Both
   ends here measure 9.05:1 and 8.59:1, and nothing between them is paler. */
.grad {
  background: linear-gradient(100deg, var(--mine) 0%, var(--mine-2) 62%, #fdba74 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede { margin-bottom: 2rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero-note {
  margin-top: 1.1rem;
  font-size: 0.88rem;
  color: var(--faint);
  max-width: 46ch;
}

/* The hex field. Aspect-ratio reserves its box before it paints, so it can
   never shift layout — CLS target is 0 and an animated hero is the usual way
   that target is missed. */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}
.hero-art svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- the hex field ----------------------------------------------- */

/* Each hex carries its own --d (delay) from the markup, so one keyframe set
   drives the whole wave with no JS. Fill and stroke opacity only — the
   polygons never move, so there is no layout cost at any point. */
.hx { transform-box: fill-box; transform-origin: center; }
.hx-base { fill: rgba(255, 255, 255, 0.022); stroke: rgba(255, 255, 255, 0.05); stroke-width: 1; }

.hx-mine {
  fill: var(--mine);
  stroke: var(--mine);
  stroke-width: 1.5;
  opacity: 0;
  animation: claim 14s var(--ease) infinite;
  animation-delay: var(--d, 0s);
}
.hx-rival {
  fill: var(--rival);
  stroke: var(--rival);
  stroke-width: 1.5;
  stroke-dasharray: 4 3;      /* dashed = a rival's, as in the app */
  opacity: 0;
  animation: claim-rival 14s var(--ease) infinite;
  animation-delay: var(--d, 0s);
}

/* Claim, hold, decay — the game's loop. The fill stays far below the stroke so
   a hex reads as an outline with a wash, which is how the real map draws it.

   **It decays to a cold residue, never to zero**, and the first and last frames
   are identical so there is no jump at the loop boundary. An earlier version
   faded out completely, which left the hero visibly *blank* for about three
   seconds in every fourteen — caught by screenshotting the loop at 2s, 6s and
   12s rather than by watching it, because the empty window is easy to miss and
   impossible to unsee once a visitor lands in it.

   Decaying rather than vanishing is also the honest version: in the app, ground
   goes cold and stays claimable, it does not evaporate. */
@keyframes claim {
  0%   { opacity: 0.32; fill-opacity: 0.05; transform: scale(1); }
  4%   { opacity: 1;    fill-opacity: 0.30; transform: scale(1.05); }
  9%   { opacity: 1;    fill-opacity: 0.30; transform: scale(1); }
  62%  { opacity: 1;    fill-opacity: 0.30; transform: scale(1); }
  88%  { opacity: 0.32; fill-opacity: 0.05; transform: scale(1); }
  100% { opacity: 0.32; fill-opacity: 0.05; transform: scale(1); }
}
@keyframes claim-rival {
  0%   { opacity: 0.28; fill-opacity: 0.04; transform: scale(1); }
  6%   { opacity: 1;    fill-opacity: 0.24; transform: scale(1.05); }
  11%  { opacity: 1;    fill-opacity: 0.24; transform: scale(1); }
  66%  { opacity: 1;    fill-opacity: 0.24; transform: scale(1); }
  90%  { opacity: 0.28; fill-opacity: 0.04; transform: scale(1); }
  100% { opacity: 0.28; fill-opacity: 0.04; transform: scale(1); }
}

/* The runner's trace, drawn once per loop across the field. */
.hx-route {
  fill: none;
  stroke: url(#routeGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: trace 14s var(--ease) infinite;
}
@keyframes trace {
  0%   { stroke-dashoffset: 1200; opacity: 0; }
  4%   { opacity: 1; }
  45%  { stroke-dashoffset: 0; opacity: 1; }
  75%  { stroke-dashoffset: 0; opacity: 0.35; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}


/* The stagger, as rules rather than inline `style="--d:…"` attributes.

   That swap is what lets the Content-Security-Policy drop
   `style-src 'unsafe-inline'` entirely — there is now no inline style anywhere
   on this site, so the policy is `style-src 'self'` and an injected style
   attribute would be refused rather than merely unlikely. Verified by serving
   the real header locally and watching for violations.

   `nth-of-type` counts polygons, so mine and rivals live in separate <g>
   groups; sharing one group would make the selectors count each other. */
.hx-mines .hx-mine:nth-of-type(1)  { animation-delay: 0.35s; }
.hx-mines .hx-mine:nth-of-type(2)  { animation-delay: 0.63s; }
.hx-mines .hx-mine:nth-of-type(3)  { animation-delay: 0.91s; }
.hx-mines .hx-mine:nth-of-type(4)  { animation-delay: 1.19s; }
.hx-mines .hx-mine:nth-of-type(5)  { animation-delay: 1.47s; }
.hx-mines .hx-mine:nth-of-type(6)  { animation-delay: 1.75s; }
.hx-mines .hx-mine:nth-of-type(7)  { animation-delay: 2.03s; }
.hx-mines .hx-mine:nth-of-type(8)  { animation-delay: 2.31s; }
.hx-mines .hx-mine:nth-of-type(9)  { animation-delay: 2.59s; }
.hx-mines .hx-mine:nth-of-type(10)  { animation-delay: 2.87s; }
.hx-mines .hx-mine:nth-of-type(11)  { animation-delay: 3.15s; }
.hx-mines .hx-mine:nth-of-type(12)  { animation-delay: 3.43s; }
.hx-mines .hx-mine:nth-of-type(13)  { animation-delay: 3.71s; }

.hx-rivals .hx-rival:nth-of-type(1) { animation-delay: 2.60s; }
.hx-rivals .hx-rival:nth-of-type(2) { animation-delay: 3.10s; }
.hx-rivals .hx-rival:nth-of-type(3) { animation-delay: 3.60s; }
.hx-rivals .hx-rival:nth-of-type(4) { animation-delay: 4.10s; }
.hx-rivals .hx-rival:nth-of-type(5) { animation-delay: 4.60s; }

/* One hex per freshness tier. --f is fill opacity, --s stroke, --d the offset
   that keeps the four from breathing in unison. */
.decay-hex.d-fresh  { --f: 0.42; --s: 1;   --d: 0s; }
.decay-hex.d-fading { --f: 0.30; --s: 0.8; --d: 0.4s; }
.decay-hex.d-cold   { --f: 0.18; --s: 0.6; --d: 0.8s; }
.decay-hex.d-gone   { --f: 0.08; --s: 0.5; --d: 1.2s; }

/* Reveal stagger across a row. */
.rd-2 { --rd: 0.06s; }
.rd-3 { --rd: 0.12s; }

/* Layout one-offs that used to be inline. */
.grid-tight { margin-top: 1.1rem; }
.after-grid { margin-top: 1.5rem; }
.after-grid a { color: var(--mine); }
.footer-tag { margin-top: 0.75rem; }

/* ---------- cards ------------------------------------------------------- */

.grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.card {
  position: relative;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
/* A hairline along the top edge, catching the bloom behind the panel. This is
   the whole "glass" effect — one gradient, no blur, no cost. */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.55), transparent);
  opacity: 0.6;
}
.card:hover { transform: translateY(-3px); border-color: #333a46; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.96rem; color: var(--dim); }

.card-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.22);
  margin-bottom: 1rem;
}
.card-icon svg { width: 1.2rem; height: 1.2rem; stroke: var(--mine); fill: none; stroke-width: 2; }
.card-icon.cool { background: rgba(56, 189, 248, 0.12); border-color: rgba(56, 189, 248, 0.22); }
.card-icon.cool svg { stroke: var(--rival); }

/* ---------- steps ------------------------------------------------------- */

.steps { counter-reset: step; display: grid; gap: 1.1rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step { position: relative; padding-top: 3.1rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: var(--pill);
  background: linear-gradient(135deg, var(--mine), var(--mine-2));
  color: #0b0d11;
  font-weight: 800;
  font-size: 0.96rem;
}

/* ---------- the decay strip --------------------------------------------- */

/* One hex per freshness tier, on a slow loop: what the copy would otherwise
   need a paragraph to explain. */
.decay {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.4rem);
  flex-wrap: wrap;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}
.decay-item { text-align: center; flex: 1 1 5.5rem; min-width: 5rem; }
.decay-hex { width: 100%; max-width: 4.4rem; margin: 0 auto 0.6rem; aspect-ratio: 1/1.1; }
.decay-hex polygon {
  fill: var(--mine);
  stroke: var(--mine);
  stroke-width: 3;
  animation: breathe 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes breathe {
  0%, 100% { fill-opacity: var(--f, 0.3); stroke-opacity: var(--s, 1); }
  50%      { fill-opacity: calc(var(--f, 0.3) * 0.55); stroke-opacity: calc(var(--s, 1) * 0.72); }
}
.decay-label { font-size: 0.8rem; font-weight: 700; color: var(--text); }
.decay-sub { font-size: 0.75rem; color: var(--faint); }

/* ---------- install ----------------------------------------------------- */

.install { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

/* Every option ships in the HTML; JS only *promotes* the matching one. So the
   base state is "visible and legible", and [data-primary] is the enhancement.
   A crawler and a JS-blocked browser see all three. */
.opt {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.opt[data-primary] {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.18), 0 18px 40px -22px rgba(245, 158, 11, 0.6);
  transform: translateY(-4px);
}
.opt h3 { margin-bottom: 0.35rem; }
.opt p { font-size: 0.88rem; color: var(--faint); margin: 0 auto 1.1rem; max-width: 26ch; }
.opt .btn { width: 100%; }

.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--pill);
  background: rgba(245, 158, 11, 0.14);
  color: var(--mine);
  border: 1px solid rgba(245, 158, 11, 0.26);
  margin-bottom: 0.85rem;
}
.badge.cool { background: rgba(56, 189, 248, 0.14); color: var(--rival); border-color: rgba(56, 189, 248, 0.26); }

/* The QR slot. A placeholder card, not a generated code — there is no install
   URL to encode yet, and a hand-rolled QR encoder is Reed-Solomon error
   correction that nothing here could test. */
.qr {
  width: 8.5rem;
  height: 8.5rem;
  margin: 0 auto 1.1rem;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(11, 13, 17, 0.86), rgba(11, 13, 17, 0.86)),
    repeating-conic-gradient(var(--faint) 0% 25%, transparent 0% 50%) 0 0 / 11px 11px;
  border: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
  padding: 0.5rem;
}

/* ---------- footer ------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem 2.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-note { font-size: 0.84rem; color: var(--faint); margin-top: 1.75rem; }

/* ---------- long-form pages (privacy, terms) ---------------------------- */

.prose { width: min(100% - 2.5rem, 46rem); margin-inline: auto; }
.prose h1 { font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem); margin-bottom: 0.75rem; }
.prose h2 {
  font-size: 1.42rem;
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.prose h3 { margin-top: 1.75rem; margin-bottom: 0.4rem; }
.prose p, .prose li { color: var(--dim); }
.prose p + p { margin-top: 0.9rem; }
.prose ul { margin: 0.9rem 0; padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.prose li { max-width: var(--measure); }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--mine); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.1rem 0; font-size: 0.94rem; }
.prose th, .prose td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th { color: var(--text); font-weight: 700; }
.prose td { color: var(--dim); }

.notice {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(245, 158, 11, 0.09);
  border: 1px solid rgba(245, 158, 11, 0.3);
  margin-block: 1.75rem;
}
.notice p { color: var(--text); font-size: 0.94rem; max-width: none; }
.updated { font-size: 0.86rem; color: var(--faint); }

/* ---------- scroll reveal ----------------------------------------------- */

/* Applied by JS only after it confirms IntersectionObserver exists, so a
   browser without it never gets the hidden state and simply shows content.
   The class goes on <html>, so there is no flash of shifted layout. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--rd, 0s);
}
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------------------------------------------- */

/* Off, not faster. Every loop stops, every reveal resolves, and the hex field
   settles into a claimed state so the hero still reads as territory. A reveal
   animation that leaves content hidden here would blank the page for exactly
   the people who asked for less movement. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }

  .hx-mine  { opacity: 1; fill-opacity: 0.30; }
  .hx-rival { opacity: 1; fill-opacity: 0.24; }
  .hx-route { stroke-dashoffset: 0; opacity: 0.8; }
  .decay-hex polygon { fill-opacity: var(--f, 0.3); stroke-opacity: var(--s, 1); }
}
