/* ================================================================== *
   DELTS — "Performance Training Console"
   Athletic telemetry: blueprint grid, lime signal, red record light,
   monospace HUD microcopy, ultra-condensed display type.
   Type: Anton (display) · Archivo (body) · Space Mono (labels)
 * ================================================================== */

:root {
  color-scheme: dark;

  --bg:        #070907;
  --bg-elev:   #0c0f0c;
  --bg-card:   rgba(14, 18, 13, 0.66);
  --ink:       #f3f7ec;
  --ink-dim:   #b8c4b1;
  --muted:     #76836f;

  /* themeable accent — JS swaps --accent; everything derives from it */
  --accent:      #c6f24e;
  --line:        color-mix(in srgb, var(--accent) 15%, transparent);
  --line-strong: color-mix(in srgb, var(--accent) 38%, transparent);
  --glow:        color-mix(in srgb, var(--accent) 26%, transparent);
  --wash:        color-mix(in srgb, var(--accent) 8%, transparent);

  --hair: rgba(255, 255, 255, 0.07);
  --red:  #ff4338;

  --font-display: "Anton", "Haettenschweiler", "Arial Narrow", sans-serif;
  --font-body:    "Archivo", system-ui, -apple-system, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;

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

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: clip;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* blueprint grid + glows, fixed behind content */
body::before {
  content: "";
  position: fixed;
  inset: -10vh -10vw;
  z-index: -3;
  background-image:
    linear-gradient(color-mix(in srgb, var(--accent) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 5%, transparent) 1px, transparent 1px),
    radial-gradient(60rem 60rem at 8% -10%, var(--glow), transparent 60%),
    radial-gradient(50rem 50rem at 100% 0%, rgba(255, 67, 56, 0.08), transparent 55%),
    radial-gradient(60rem 60rem at 80% 110%, var(--wash), transparent 60%);
  background-size: var(--grid) var(--grid), var(--grid) var(--grid), 100% 100%, 100% 100%, 100% 100%;
  transition: background-image 0.6s var(--ease);
}

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

a { color: inherit; text-decoration: none; }
img { display: block; }

::selection { background: var(--accent); color: #06070a; }

.shell { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }

/* scroll progress */
.scan-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  z-index: 90;
}

/* lagging cursor ring (fine pointers only) */
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 30px; height: 30px;
  margin: -15px 0 0 -15px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 95;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s, width 0.18s var(--ease), height 0.18s var(--ease), margin 0.18s var(--ease);
}
.cursor-ring.on { opacity: 0.9; }
.cursor-ring.grow { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
@media (hover: none) { .cursor-ring { display: none; } }

/* shared mono label */
.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.tag--muted { color: var(--muted); }

.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 67, 56, 0.6);
  animation: rec 1.6s ease-out infinite;
}
@keyframes rec {
  0%   { box-shadow: 0 0 0 0 rgba(255, 67, 56, 0.55); }
  100% { box-shadow: 0 0 0 10px rgba(255, 67, 56, 0); }
}

/* ------------------------------------------------------------------ */
/* HUD nav                                                            */
/* ------------------------------------------------------------------ */

.hud-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.hud-nav.stuck {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(130%);
  border-bottom-color: var(--line);
}

.hud-nav__in {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand img {
  width: 34px; height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 6px 18px -6px var(--glow);
  transition: transform 0.4s var(--ease);
}
.brand:hover img { transform: rotate(-8deg) scale(1.06); }

.hud-nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hud-nav__links a { position: relative; transition: color 0.25s; }
.hud-nav__links a:not(.nav-cta)::before {
  content: "";
  position: absolute; left: -12px; top: 50%;
  width: 4px; height: 4px; margin-top: -2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.25s;
}
.hud-nav__links a:hover { color: var(--ink); }
.hud-nav__links a:hover::before { opacity: 1; }

.nav-cta {
  color: #06070a !important;
  background: var(--accent);
  padding: 9px 16px;
  font-weight: 700;
  box-shadow: 0 8px 22px -10px var(--accent);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px var(--accent); }

/* ------------------------------------------------------------------ */
/* Buttons                                                            */
/* ------------------------------------------------------------------ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); background: var(--wash); border-color: var(--accent); }

.btn--solid {
  background: var(--accent);
  border-color: var(--accent);
  color: #06070a;
  box-shadow: 0 16px 36px -16px var(--accent);
}
.btn--solid:hover { background: var(--accent); color: #06070a; box-shadow: 0 22px 46px -16px var(--accent); }

.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* clipped corner accent on solid btn */
.btn--solid::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  border-width: 0 12px 12px 0;
  border-style: solid;
  border-color: transparent var(--bg) transparent transparent;
}

/* ------------------------------------------------------------------ */
/* Section scaffolding + HUD ticks                                    */
/* ------------------------------------------------------------------ */

section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }

.sec-head {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 56px;
}
.sec-head .tag { display: inline-flex; align-items: center; gap: 10px; }
.sec-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.sec-head p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 56ch;
}

/* a divider rule with a coordinate label */
.rule {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ------------------------------------------------------------------ */
/* HERO                                                               */
/* ------------------------------------------------------------------ */

.hero { padding-top: clamp(48px, 7vw, 90px); padding-bottom: 0; overflow: hidden; }

.hero__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero__top span { display: inline-flex; align-items: center; gap: 8px; }

.hero__title {
  margin: clamp(20px, 3vw, 38px) 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(5.5rem, 25vw, 23rem);
  line-height: 0.78;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero__title .ch {
  display: inline-block;
  transform: translateY(110%);
  animation: drop 0.9s var(--ease) forwards;
}
.hero__title .ch:nth-child(2) { animation-delay: 0.06s; }
.hero__title .ch:nth-child(3) { animation-delay: 0.12s; }
.hero__title .ch:nth-child(4) { animation-delay: 0.18s; }
.hero__title .ch:nth-child(5) { animation-delay: 0.24s; }
@keyframes drop { to { transform: none; } }

/* lime fill on the last letter as a "signal" */
.hero__title .ch--hot { color: var(--accent); }

.hero__lower {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
  padding: 36px 0 clamp(60px, 8vw, 110px);
  border-top: 1px solid var(--line);
  margin-top: clamp(20px, 3vw, 40px);
}
.hero__lead {
  max-width: 46ch;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-dim);
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* digital session timer card */
.timer-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}
.timer-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255,67,56,0.12), transparent 60%);
  pointer-events: none;
}
.timer-card__top {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.timer-card__time {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 14px 0 4px;
}
.timer-card__rec { color: var(--red); display: inline-flex; align-items: center; gap: 8px; }
.timer-card__foot {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-dim);
  border-top: 1px solid var(--hair); margin-top: 16px; padding-top: 14px;
}
.timer-card__foot b { color: var(--accent); font-weight: 700; }

/* ------------------------------------------------------------------ */
/* MARQUEE                                                            */
/* ------------------------------------------------------------------ */

.marquee {
  background: var(--accent);
  color: #06070a;
  border-block: 1px solid color-mix(in srgb, var(--accent) 60%, #000);
  overflow: hidden;
  padding: 16px 0;
  transition: background 0.6s var(--ease);
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: slide 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.marquee__track span::after { content: "✦"; font-size: 0.7em; opacity: 0.6; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ */
/* TELEMETRY (stats)                                                  */
/* ------------------------------------------------------------------ */

.telemetry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.telemetry__cell {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.telemetry__cell:last-child { border-right: none; }
.telemetry__cell .idx {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.telemetry__cell .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.9;
  margin: 14px 0 12px;
  color: var(--accent);
}
.telemetry__cell .lbl { color: var(--ink-dim); font-size: 0.96rem; line-height: 1.4; }

/* ------------------------------------------------------------------ */
/* FEATURES — spec sheet                                              */
/* ------------------------------------------------------------------ */

.spec { border-top: 1px solid var(--line); }

.spec__row {
  display: grid;
  grid-template-columns: 90px minmax(220px, 1fr) 1.4fr auto;
  gap: 28px;
  align-items: baseline;
  padding: 30px 16px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}
.spec__row::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.35s var(--ease);
}
.spec__row:hover { background: var(--wash); padding-left: 26px; }
.spec__row:hover::before { transform: scaleY(1); }

.spec__idx { font-family: var(--font-mono); font-size: 0.9rem; color: var(--accent); letter-spacing: 0.05em; }
.spec__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.spec__desc { color: var(--ink-dim); line-height: 1.55; font-size: 1rem; }
.spec__meta {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
  border: 1px solid var(--line); padding: 6px 10px; align-self: center;
}

/* ------------------------------------------------------------------ */
/* PRODUCT / FLOW                                                     */
/* ------------------------------------------------------------------ */

.flow { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }

.stage {
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 30% 0%, var(--glow), transparent 55%),
    radial-gradient(90% 80% at 100% 100%, rgba(255,67,56,0.08), transparent 55%),
    var(--bg-card);
  padding: 40px;
  display: grid;
  place-items: center;
  min-height: 600px;
  overflow: hidden;
}
.stage::before, .stage::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--line-strong);
}
.stage::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.stage::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.phone {
  position: relative;
  width: min(320px, 100%);
  border: 11px solid #0a0c0a;
  border-radius: 50px;
  background: linear-gradient(180deg, #060806, #04060a);
  padding: 18px 16px 22px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 40px 90px -30px #000;
  animation: bob 7s var(--ease) infinite alternate;
}
@keyframes bob { to { transform: translateY(-12px); } }
.phone::before {
  content: ""; position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 24px; border-radius: 99px; background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.phone__bar {
  display: flex; justify-content: space-between; align-items: center; margin-top: 34px;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.phone__timer {
  width: 168px; height: 168px; margin: 22px auto;
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, #ff6359, #e10d0d 54%, #6e0202);
  box-shadow: inset 0 0 0 7px rgba(255,255,255,0.1), 0 0 60px -6px rgba(245,0,0,0.55);
  color: #fff; font-family: var(--font-display); font-size: 2.6rem; letter-spacing: 0.02em;
  animation: pulseRing 3.2s ease-in-out infinite;
}
@keyframes pulseRing {
  0%,100% { box-shadow: inset 0 0 0 7px rgba(255,255,255,0.1), 0 0 60px -6px rgba(245,0,0,0.5); }
  50%     { box-shadow: inset 0 0 0 7px rgba(255,255,255,0.12), 0 0 80px 2px rgba(245,0,0,0.72); }
}
.phone__panel { border: 1px solid var(--line); padding: 14px; background: rgba(18,26,17,0.7); }
.phone__metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 12px; }
.phone__metrics span {
  display: grid; gap: 4px; font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.phone__metrics strong { font-family: var(--font-display); color: var(--accent); font-size: 1.4rem; line-height: 1; }
.phone__row { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-top: 1px solid var(--hair); }
.phone__row img { width: 40px; height: 40px; border-radius: 12px; background: #000; }
.phone__row b { display: block; font-size: 0.86rem; }
.phone__row small { color: var(--muted); font-size: 0.72rem; }

/* stepper */
.stepper { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__no {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent);
  letter-spacing: 0.1em; padding-top: 6px;
}
.step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  text-transform: uppercase;
  line-height: 0.95;
}
.step p { margin: 0; color: var(--ink-dim); line-height: 1.55; max-width: 48ch; }

/* ------------------------------------------------------------------ */
/* THEMES                                                             */
/* ------------------------------------------------------------------ */

.themes__inner {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  gap: 36px;
}
.themes__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.themes__head h2 {
  margin: 12px 0 0; font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem); text-transform: uppercase; line-height: 0.9;
}
.themes__hint { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.swatches { display: flex; flex-wrap: wrap; gap: 18px; }
.swatch {
  position: relative;
  display: grid; gap: 12px; justify-items: center;
  cursor: pointer;
  border: 1px solid var(--hair);
  background: rgba(255,255,255,0.02);
  padding: 18px 22px;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.swatch:hover { transform: translateY(-6px); border-color: var(--line-strong); background: rgba(255,255,255,0.04); }
.swatch.active { border-color: var(--accent); background: var(--wash); }
.swatch img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 10px 24px -10px #000; }
.swatch span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }
.swatch.active span { color: var(--ink); }

/* ------------------------------------------------------------------ */
/* SPLIT cards (privacy / docs)                                       */
/* ------------------------------------------------------------------ */

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 32px;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; top: 16px; right: 16px;
  width: 14px; height: 14px;
  border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong);
  opacity: 0; transition: opacity 0.35s;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: color-mix(in srgb, var(--bg-card) 86%, var(--accent)); }
.card:hover::after { opacity: 1; }
.card .tag { margin-bottom: 16px; display: block; }
.card h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 1.7rem; text-transform: uppercase; line-height: 0.95; }
.card p { margin: 0 0 8px; color: var(--ink-dim); line-height: 1.55; }
.card a.lnk { color: var(--accent); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; display: inline-flex; gap: 6px; margin-top: 8px; }
.card a.lnk:hover { text-decoration: underline; }
.card code { font-family: var(--font-mono); font-size: 0.84em; padding: 2px 7px; background: var(--wash); color: var(--accent); }

/* ------------------------------------------------------------------ */
/* CTA band                                                           */
/* ------------------------------------------------------------------ */

.cta {
  position: relative;
  text-align: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(110% 140% at 50% 0%, var(--glow), transparent 55%),
    var(--bg-card);
  padding: clamp(56px, 9vw, 110px) 28px;
  overflow: hidden;
}
.cta h2 {
  margin: 18px auto 0; max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.84; text-transform: uppercase; letter-spacing: -0.01em;
}
.cta p { margin: 22px auto 0; max-width: 50ch; color: var(--ink-dim); font-size: 1.1rem; }
.cta .hero__cta { justify-content: center; margin-top: 34px; }

/* ------------------------------------------------------------------ */
/* Legal pages                                                        */
/* ------------------------------------------------------------------ */

.doc-main { padding: 40px 0 110px; }
.doc-head { padding: clamp(40px, 6vw, 72px) 0 36px; border-bottom: 1px solid var(--line); margin-bottom: 44px; }
.doc-head .tag { display: inline-flex; align-items: center; gap: 10px; }
.doc-head h1 {
  margin: 16px 0 0; font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 8rem); line-height: 0.84; text-transform: uppercase;
}
.policy { display: grid; gap: 16px; max-width: 940px; }
.policy article {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  border: 1px solid var(--line); background: var(--bg-card);
  padding: 28px; transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.policy article:hover { border-color: var(--line-strong); transform: translateX(4px); background: var(--wash); }
.policy .pno { font-family: var(--font-mono); font-size: 0.82rem; color: var(--accent); letter-spacing: 0.08em; }
.policy h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; }
.policy p, .policy li { color: var(--ink-dim); line-height: 1.7; }
.policy ul { margin: 12px 0 0; padding-left: 20px; }

/* ------------------------------------------------------------------ */
/* Footer                                                             */
/* ------------------------------------------------------------------ */

.foot { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 60%, transparent); }
.foot__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding: 64px 0 48px;
}
.foot__brand { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 6rem); text-transform: uppercase; line-height: 0.85; }
.foot__brand p { font-family: var(--font-body); font-size: 0.96rem; color: var(--muted); max-width: 38ch; margin: 18px 0 0; line-height: 1.55; letter-spacing: 0; }
.foot__cert { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.foot__cert img { width: 72px; height: 72px; flex: none; }
.foot__cert span { font-family: var(--font-body); font-size: 0.9rem; color: var(--muted); line-height: 1.4; letter-spacing: 0; }
.foot__col h4 { margin: 0 0 16px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.foot__col a, .foot__col span { display: block; color: var(--ink-dim); padding: 6px 0; font-size: 0.96rem; transition: color 0.25s; }
.foot__col a:hover { color: var(--accent); }
.foot__bar {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}

/* ------------------------------------------------------------------ */
/* Reveal                                                             */
/* ------------------------------------------------------------------ */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger.in > * { animation: rise 0.7s var(--ease) backwards; }
.stagger.in > *:nth-child(1){animation-delay:.04s}
.stagger.in > *:nth-child(2){animation-delay:.1s}
.stagger.in > *:nth-child(3){animation-delay:.16s}
.stagger.in > *:nth-child(4){animation-delay:.22s}
.stagger.in > *:nth-child(5){animation-delay:.28s}
.stagger.in > *:nth-child(6){animation-delay:.34s}
.stagger.in > *:nth-child(7){animation-delay:.4s}
.stagger.in > *:nth-child(8){animation-delay:.46s}
.stagger.in > *:nth-child(9){animation-delay:.52s}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */

@media (max-width: 1000px) {
  .hud-nav__links a:not(.nav-cta) { display: none; }
  .hero__lower { grid-template-columns: 1fr; gap: 30px; }
  .telemetry { grid-template-columns: repeat(2, 1fr); }
  .telemetry__cell:nth-child(2) { border-right: none; }
  .telemetry__cell:nth-child(1), .telemetry__cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr; }
  .stage { order: 2; min-height: auto; }
  .cards { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; gap: 28px; }
  .spec__row { grid-template-columns: 60px 1fr; gap: 6px 18px; }
  .spec__desc { grid-column: 2; }
  .spec__meta { display: none; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 30px, 1280px); }
  .telemetry { grid-template-columns: 1fr; }
  .telemetry__cell { border-right: none; border-bottom: 1px solid var(--line); }
  .telemetry__cell:last-child { border-bottom: none; }
  .hero__cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .policy article { grid-template-columns: 1fr; gap: 8px; }
  .cursor-ring { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .ch { transform: none; }
}
