/* Refeed — v3 "Escape the scroll" */

:root {
  --ink: #0e1420;
  --ground: #f5f6f8;
  --surface: #ffffff;
  --line: #e2e5eb;
  --muted: #5b6475;
  --body: #3a4252;
  --blue: #2340e0;
  --blue-fill: #2340e0;
  --blue-soft: #e8ecff;
  --blue-mist: #dfe5ff;
  --warn: #c2410c;
  --warn-soft: #ffece2;
  --on-fill: #ffffff;
  --near-lbl: #ffffff;

  /* the scroll: always a warm, overheated dark */
  --chaos-bg: #1b100b;
  --chaos-glow: rgba(234, 88, 12, 0.45);
  /* the calm side */
  --calm-a: #eef1ff;
  --calm-b: #f8f9ff;

  --band: #0e1420;
  --band-ink: #f2f4f8;
  --band-body: #b9c1d0;

  --phone-frame: #0e1420;
  --shadow: 0 40px 80px -40px rgba(14, 20, 32, 0.45), 0 12px 24px -12px rgba(14, 20, 32, 0.18);

  --display: "Space Grotesk", ui-sans-serif, sans-serif;
  --text: "Manrope", ui-sans-serif, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: 32px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f4f8;
    --ground: #0a0e16;
    --surface: #121825;
    --line: #232b3a;
    --muted: #9aa3b4;
    --body: #c9cfdb;
    --blue: #8a9cff;
    --blue-fill: #2f4bff;
    --blue-soft: #19214a;
    --blue-mist: #202a5c;
    --warn: #f28a5c;
    --warn-soft: #2a1710;
    --near-lbl: #1b100b;
    --chaos-bg: #170c07;
    --chaos-glow: rgba(234, 88, 12, 0.35);
    --calm-a: #0f1633;
    --calm-b: #0b1022;
    --band: #060910;
    --band-ink: #f2f4f8;
    --band-body: #aab3c4;
    --phone-frame: #000000;
    --shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
    color-scheme: dark;
  }
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--body);
  font: 400 17px/1.6 var(--text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* soft grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }

a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { color: var(--ink); font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--blue-fill); color: var(--on-fill); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }

.eyebrow {
  margin: 0 0 18px;
  font: 700 12px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow-warn { color: #ff9a6b; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 15px/1 var(--text); text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue-fill); color: var(--on-fill); }
.btn-primary:hover { background: #1a33c4; }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- header ---------- */
.site-head { position: relative; z-index: 5; }
.head-row { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font: 700 21px/1 var(--display); letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.head-nav { display: flex; gap: 6px; }
.head-nav a {
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 9px 14px; border-radius: 999px;
}
.head-nav a:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- hero ---------- */
.hero { padding: 28px 0 40px; }

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas: "status status" "title lede";
  column-gap: 64px;
  align-items: end;
}
.status {
  grid-area: status;
  justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 26px; padding: 8px 14px 8px 12px;
  border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font: 700 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-fill); box-shadow: 0 0 0 4px var(--blue-soft); }

.hero h1 {
  grid-area: title;
  font-size: clamp(50px, 8.6vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.strike-word { position: relative; display: inline-block; color: var(--warn); }
.strike-line {
  position: absolute; left: -0.04em; right: -0.04em; top: 52%;
  height: 0.09em; border-radius: 0.05em; background: var(--ink);
  transform-origin: left center; transform: rotate(-3deg);
  animation: strike 0.7s cubic-bezier(.7, 0, .2, 1) 0.5s both;
}
@keyframes strike { from { transform: rotate(-3deg) scaleX(0); } to { transform: rotate(-3deg) scaleX(1); } }
.calm-word {
  display: block; margin-top: 0.28em;
  font-size: 0.4em; line-height: 1.05; letter-spacing: -0.035em;
  color: var(--blue);
}

.hero-lede { grid-area: lede; }
.lede { font-size: 19px; line-height: 1.55; margin: 0 0 26px; max-width: 40ch; }
.lede strong { color: var(--ink); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* the stage: scroll vs. feed */
.stage {
  position: relative;
  margin: 56px 0 0;
  height: 640px;
  border-radius: 40px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 70% at 78% 40%, var(--blue-mist), transparent 70%),
    linear-gradient(160deg, var(--calm-a), var(--calm-b));
  box-shadow: inset 0 0 0 1px var(--line);
}

.chaos {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(50% 60% at 18% 30%, var(--chaos-glow), transparent 70%),
    radial-gradient(40% 50% at 40% 90%, rgba(255, 61, 127, 0.22), transparent 70%),
    var(--chaos-bg);
  clip-path: polygon(0 0, 61% 0, 45% 100%, 0 100%);
  overflow: hidden;
}
.chaos-tilt {
  position: absolute; top: -30%; bottom: -30%; left: -6%; width: 72%;
  display: flex; gap: 14px; justify-content: center;
  transform: rotate(-9deg);
}
.col { flex: 0 0 104px; overflow: hidden; animation: jitter 1.6s steps(1) infinite; }
.col-b { animation-delay: -.4s; }
.col-c { animation-delay: -.9s; }
.col-d { animation-delay: -1.2s; }
.col-e { animation-delay: -.6s; }
.track { display: flex; flex-direction: column; animation: up 16s linear infinite; }
.col-a .track { animation-duration: 13s; }
.col-b .track { animation-duration: 9s; animation-direction: reverse; }
.col-c .track { animation-duration: 11s; }
.col-d .track { animation-duration: 7.5s; animation-direction: reverse; }
.col-e .track { animation-duration: 10s; }
@keyframes up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes jitter {
  0% { transform: translate(0, 0); }
  20% { transform: translate(1.5px, -1px); }
  40% { transform: translate(-1px, 1.5px); }
  60% { transform: translate(1px, 1px); }
  80% { transform: translate(-1.5px, -.5px); }
}

.clip {
  position: relative;
  aspect-ratio: 9 / 16;
  margin-bottom: 14px;
  border-radius: 14px;
  overflow: hidden;
  display: grid; place-items: center;
}
/* fake overlay UI: progress line + a column of round buttons */
.clip::before {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 8px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #fff 0 38%, rgba(255,255,255,.3) 38%);
}
.clip::after {
  content: ""; position: absolute; right: 7px; bottom: 26px; width: 12px; height: 46px;
  background: radial-gradient(circle, rgba(255,255,255,.85) 0 5px, transparent 5.5px) 0 0 / 12px 16px repeat-y;
}
.clip i {
  position: absolute; left: 7px; top: 7px;
  font: 700 10.5px/1 var(--mono); font-style: normal; color: #fff;
  background: #c2410c; padding: 4px 6px; border-radius: 6px;
}
.clip b {
  font: 700 12px/1.05 var(--display); color: #fff; text-align: center; text-transform: uppercase;
  padding: 0 8px; transform: rotate(-6deg);
  text-shadow: 0 2px 0 #000, 0 0 12px rgba(0,0,0,.5);
  letter-spacing: -0.01em;
}
.k1 { background: linear-gradient(170deg, #ff7a3d, #b8350b 70%); }
.k2 { background: linear-gradient(200deg, #ffd23d, #ff6a3d); }
.k3 { background: radial-gradient(circle at 30% 30%, #ff3d7f, #521131 75%); }
.k4 { background: linear-gradient(160deg, #3a2a22, #0f0806); }
.k5 { background: linear-gradient(190deg, #d8ff5a, #2fae6a); }
.k6 { background: repeating-linear-gradient(45deg, #ff5e1a 0 10px, #ff8a4c 10px 20px); }

.tag {
  position: absolute; z-index: 3;
  font: 700 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 9px 12px; border-radius: 999px;
}
.tag-scroll { top: 24px; left: 24px; background: #c2410c; color: #fff; }
.tag-calm { top: 24px; right: 24px; background: var(--blue-fill); color: var(--on-fill); }

.noise {
  position: absolute; z-index: 3;
  font: 700 12px/1 var(--mono); color: #fff; background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.25);
  padding: 7px 10px; border-radius: 999px;
  animation: blink 2.2s steps(1) infinite;
}
.n1 { left: 30%; top: 22%; transform: rotate(8deg); }
.n2 { left: 9%; bottom: 14%; transform: rotate(-6deg); animation-delay: -1.1s; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

.calm {
  position: absolute; z-index: 0; top: 0; bottom: 0; right: 0; width: 48%;
  display: flex; justify-content: center;
}

/* phone */
.phone {
  position: relative; margin-top: 64px;
  width: 300px; aspect-ratio: 9 / 19.5; flex: none;
  padding: 11px; border-radius: 48px;
  background: var(--phone-frame);
  box-shadow: var(--shadow);
}
.screen {
  height: 100%; border-radius: 38px; overflow: hidden;
  background: var(--ground); padding: 12px 16px 16px; position: relative;
  color: var(--ink);
}
.sb { display: flex; align-items: center; justify-content: space-between; height: 26px; font: 700 12px/1 var(--text); padding: 0 8px; }
.island { width: 78px; height: 22px; border-radius: 12px; background: #000; }
.sb-r { width: 22px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.app-head { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 12px; }
.app-title { font: 700 28px/1 var(--display); letter-spacing: -0.04em; }
.gear { color: var(--ink); }
.chips { display: flex; gap: 5px; overflow: hidden; margin-bottom: 12px; }
.chip { flex: none; padding: 6px 10px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 700 11px/1 var(--text); }
.chip.on { background: var(--ink); color: var(--ground); box-shadow: none; }
.kicker { margin: 0 0 10px; font: 700 9px/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.row { display: grid; grid-template-columns: 104px 1fr; gap: 10px; margin-bottom: 12px; align-items: start; }
.th { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; }
.th i {
  position: absolute; right: 5px; bottom: 5px;
  font: 700 9.5px/1 var(--mono); font-style: normal; color: #fff;
  background: rgba(8, 12, 20, .82); padding: 3px 5px; border-radius: 5px;
}
.meta b { display: block; font: 600 11.5px/1.25 var(--text); color: var(--ink); }
.meta small { display: block; margin-top: 3px; font-size: 10px; line-height: 1.2; color: var(--muted); }
.ask {
  position: absolute; left: 12px; right: 12px; bottom: 14px;
  padding: 11px 14px; border-radius: 999px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 11px; color: var(--muted);
}

/* abstract thumbnails, drawn in CSS */
.th-es {
  background:
    radial-gradient(circle at 30% 42%, #fff 0 11%, transparent 11.5%),
    radial-gradient(circle at 62% 56%, #ffd9c7 0 13%, transparent 13.5%),
    linear-gradient(135deg, #2340e0, #6f86ff);
}
.th-es2 {
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,.9) 18% 62%, transparent 62%) 0 34% / 100% 9% no-repeat,
    linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,.55) 18% 48%, transparent 48%) 0 54% / 100% 9% no-repeat,
    linear-gradient(135deg, #12204f, #2340e0);
}
.th-chess {
  background:
    linear-gradient(180deg, transparent 40%, rgba(14,20,32,.55)),
    repeating-conic-gradient(#0e1420 0 25%, #c9d2ff 0 50%) 50% 50% / 22px 22px;
}
.th-py {
  background:
    linear-gradient(90deg, #7d93ff 0 24%, transparent 24%) 14% 28% / 70% 8% no-repeat,
    linear-gradient(90deg, #e8ecff 0 60%, transparent 60%) 24% 46% / 70% 8% no-repeat,
    linear-gradient(90deg, #ffb48a 0 36%, transparent 36%) 24% 64% / 70% 8% no-repeat,
    linear-gradient(90deg, #e8ecff 0 48%, transparent 48%) 14% 82% / 70% 8% no-repeat,
    #0e1420;
}

/* the 10-minute gate */
.gate {
  position: absolute; z-index: 4; left: 53%; top: 50%;
  width: 210px; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow), 0 0 0 10px color-mix(in srgb, var(--surface) 35%, transparent);
  display: grid; place-items: center;
}
.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; }
.ticks { stroke: var(--line); stroke-width: 6; stroke-dasharray: 1.4 8.23; }
.ring-track { stroke: var(--blue-soft); stroke-width: 10; }
.ring-fill {
  stroke: var(--blue-fill); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 100 100; stroke-dashoffset: 0;
  animation: fill-ring 2.4s cubic-bezier(.6, 0, .2, 1) .3s both;
}
@keyframes fill-ring { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.gate-text { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gate-num { font: 700 44px/1 var(--mono); letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.gate-label { font: 700 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.stage-captions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; }
.cap { margin: 0; font: 600 15px/1.3 var(--text); color: var(--muted); }
.cap span { display: inline-flex; align-items: center; gap: 10px; }
.cap-left span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--warn); }
.cap-right { text-align: right; }
.cap-right span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--blue-fill); order: 0; }

/* ---------- 10-minute rule ---------- */
.rule-sec { padding: 120px 0 110px; }
.rule-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.rule-copy h2 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 22px; }
.rule-copy p:not(.eyebrow) { margin: 0; font-size: 18px; max-width: 46ch; }
.big-ten {
  font: 700 clamp(104px, 17vw, 250px)/0.8 var(--display);
  letter-spacing: -0.07em;
  white-space: nowrap;
  justify-self: end;
  color: var(--blue-fill);
}
.big-ten span:not(:first-child) { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.big-ten .colon { -webkit-text-stroke-color: var(--warn); }

.timeline {
  margin-top: 64px;
  background: var(--surface);
  border-radius: 32px;
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 30px 36px 26px;
}
.tl-head { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 26px; }
.tl-key { display: inline-flex; align-items: center; gap: 9px; font: 700 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tl-key::before { content: ""; width: 18px; height: 8px; border-radius: 4px; }
.tl-key.out::before { background: var(--warn); }
.tl-key.in::before { background: var(--blue-fill); }

.tl-plot { position: relative; padding-top: 30px; padding-bottom: 34px; }
.tl-outzone {
  position: absolute; left: 0; top: 30px; bottom: 34px; width: 22.22%;
  border-radius: 10px;
  background: repeating-linear-gradient(-45deg, var(--warn-soft) 0 6px, transparent 6px 12px);
}
.tl-gate {
  position: absolute; z-index: 2; top: 0; bottom: 26px; left: 22.22%;
  width: 0; border-left: 2px dashed var(--ink);
}
.tl-gate span {
  position: absolute; top: 0; left: 0; transform: translateX(-50%);
  font: 700 12px/1 var(--mono); color: var(--on-fill); background: var(--ink);
  padding: 6px 8px; border-radius: 7px; white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
  .tl-gate span { color: var(--ground); }
}
.tl-row { position: relative; height: 20px; margin: 0 0 9px; display: flex; align-items: center; }
.tl-row .bar {
  height: 100%; width: max(var(--w), 5px);
  border-radius: 5px;
  transform-origin: left center;
  transition: transform .9s cubic-bezier(.3, .7, .2, 1);
  transition-delay: calc(var(--i) * 60ms);
}
.tl-row .lbl { font: 700 11.5px/1 var(--mono); margin-left: 8px; white-space: nowrap; }
.tl-row.out .bar { background: var(--warn); }
.tl-row.out .lbl { color: var(--warn); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.tl-row.in .bar { background: var(--blue-fill); }
.tl-row.in .lbl, .tl-row.near .lbl {
  position: absolute; left: calc(max(var(--w), 5px) - 8px); transform: translateX(-100%);
  margin: 0; color: var(--on-fill);
}
.tl-row.near .lbl { text-decoration: line-through; color: var(--near-lbl); }
.tl-scale { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; border-top: 1px solid var(--line); }
.tl-scale span {
  position: absolute; left: var(--x); top: 8px;
  font: 500 11px/1 var(--mono); color: var(--muted); white-space: nowrap;
}
.tl-scale span:first-child { transform: none; }

/* ---------- how it works ---------- */
.how { padding: 110px 0; background: var(--surface); border-block: 1px solid var(--line); }
.how h2 { font-size: clamp(36px, 4.6vw, 60px); max-width: 16ch; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { position: relative; }
.step-vis {
  height: 190px; border-radius: 24px; background: var(--ground);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  margin-bottom: 24px; overflow: hidden;
}
.step-n { display: block; font: 700 13px/1 var(--mono); color: var(--blue); letter-spacing: 0.06em; margin-bottom: 12px; }
.step h3 { font-size: 24px; margin-bottom: 10px; letter-spacing: -0.025em; }
.step p { margin: 0; font-size: 16px; max-width: 36ch; }

.bubble {
  max-width: 270px; padding: 14px 16px; border-radius: 18px 18px 18px 6px;
  background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(14,20,32,.5);
  font: 600 15px/1.4 var(--text); color: var(--ink);
}
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--blue-fill); vertical-align: -0.15em; margin-left: 2px; animation: blink 1.1s steps(1) infinite; }

.vis-topics { flex-direction: column; gap: 9px; }
.topic {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue);
  font: 700 14px/1 var(--text);
}
.topic::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.topic:nth-child(2) { transform: translateX(18px); }
.topic:nth-child(3) { transform: translateX(-12px); }

.mini {
  width: 100%; max-width: 280px; display: grid; grid-template-columns: 118px 1fr; gap: 12px; align-items: center;
  background: var(--surface); padding: 10px; border-radius: 16px;
  box-shadow: 0 1px 0 var(--line), 0 16px 30px -20px rgba(14,20,32,.6);
}
.mini .th i { font-size: 10px; }
.mini-meta b { display: block; font: 700 13px/1.25 var(--text); color: var(--ink); }
.mini-meta small { display: block; margin-top: 6px; font: 700 11px/1 var(--mono); color: var(--blue); }

/* ---------- won't do ---------- */
.nots {
  padding: 110px 0;
  background:
    radial-gradient(40% 60% at 100% 0%, rgba(194, 65, 12, 0.22), transparent 70%),
    var(--band);
  color: var(--band-body);
}
.nots h2 { color: var(--band-ink); font-size: clamp(36px, 4.6vw, 60px); }
.not-list { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.not { padding: 28px 0; border-top: 1px solid rgba(255,255,255,.12); }
.not h3 { color: var(--band-ink); font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.04em; margin-bottom: 12px; }
.not s { text-decoration-color: #ff7a3d; text-decoration-thickness: 0.11em; }
.not p { margin: 0; font-size: 16.5px; max-width: 44ch; }

/* ---------- android mirror ---------- */
.mirror { padding: 110px 0; }
.mirror-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.mirror h2 { font-size: clamp(34px, 4.2vw, 54px); margin-bottom: 20px; }
.mirror-copy p:not(.eyebrow) { margin: 0 0 14px; font-size: 18px; max-width: 48ch; }
.mirror-copy .fine { font-size: 15px; color: var(--muted); }
.meter {
  background: var(--surface); border-radius: 28px; padding: 28px;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.meter-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; font: 700 15px/1.2 var(--display); color: var(--ink); }
.lock { display: inline-flex; align-items: center; gap: 6px; font: 700 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 7px 10px; border-radius: 999px; }
.bar { display: flex; gap: 6px; height: 56px; }
.seg { border-radius: 14px; }
.seg.on { flex: 1; background: var(--blue-fill); }
.seg.off { flex: 2.4; background: repeating-linear-gradient(-45deg, var(--warn) 0 7px, color-mix(in srgb, var(--warn) 75%, var(--surface)) 7px 14px); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--body); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 12px; height: 12px; border-radius: 4px; }
.sw.on { background: var(--blue-fill); }
.sw.off { background: var(--warn); }
.illus { margin: 18px 0 0; font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- youtube & privacy ---------- */
.legal-sec { padding: 0 0 110px; }
.yt-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  background: var(--surface); border-radius: 28px; padding: 34px 38px;
  box-shadow: inset 0 0 0 1px var(--line);
  border-left: 6px solid var(--blue-fill);
}
.yt-card h2 { font-size: 26px; margin-bottom: 12px; letter-spacing: -0.025em; }
.yt-card p { margin: 0; font-size: 15.5px; line-height: 1.65; max-width: 78ch; overflow-wrap: anywhere; }
.yt-links { display: flex; flex-direction: column; gap: 10px; }

/* ---------- closer ---------- */
.closer { padding: 40px 0 130px; text-align: center; }
.closer-bars { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-bottom: 34px; }
.closer-bars span { display: block; height: 14px; border-radius: 7px; background: var(--ink); }
.closer-bars span:nth-child(1) { width: 72px; }
.closer-bars span:nth-child(2) { width: 104px; background: var(--blue-fill); }
.closer-bars span:nth-child(3) { width: 54px; }
.closer h2 { font-size: clamp(42px, 7vw, 100px); letter-spacing: -0.055em; line-height: 0.95; }
.closer h2 span { color: var(--blue); }
.closer p { margin: 28px auto 0; font-size: 18px; max-width: 46ch; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 28px 0 44px; font-size: 14px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.foot-brand img { border-radius: 6px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a { color: var(--ink); font-weight: 700; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }

/* ---------- progressive reveal (only once JS confirms it can reveal) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .steps .reveal:nth-child(2) { transition-delay: .1s; }
.js .steps .reveal:nth-child(3) { transition-delay: .2s; }
.js .not-list .reveal:nth-child(even) { transition-delay: .1s; }
.js .timeline:not(.in) .bar { transform: scaleX(0); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .gate { width: 180px; left: 50%; }
  .gate-num { font-size: 38px; }
  .calm { width: 44%; }
  .phone { width: 280px; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .hero-copy { grid-template-columns: 1fr; grid-template-areas: "status" "title" "lede"; }
  .hero h1 { margin-bottom: 26px; }
  .rule-grid, .mirror-grid { grid-template-columns: 1fr; }
  .big-ten { justify-self: start; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step-vis { height: 170px; }
  .yt-card { grid-template-columns: 1fr; }
  .yt-links { flex-direction: row; flex-wrap: wrap; }

  /* stack the stage: scroll on top, feed below */
  .stage { height: 780px; border-radius: 32px; }
  .chaos { clip-path: polygon(0 0, 100% 0, 100% 31%, 0 40%); }
  .chaos-tilt { left: -20%; width: 140%; top: -20%; bottom: 40%; }
  .calm { top: 45%; width: 100%; left: 0; align-items: flex-start; }
  .phone { margin-top: 0; width: 270px; }
  .gate { top: 35.5%; left: 50%; width: 160px; }
  .gate-num { font-size: 34px; }
  .gate-label { font-size: 10px; }
  .tag-calm { display: none; }
  .n1 { left: 62%; top: 12%; }
  .n2 { left: 8%; top: 24%; bottom: auto; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .head-row { padding-top: 16px; padding-bottom: 16px; }
  .head-nav a { padding: 8px 10px; font-size: 14px; }
  .hide-sm { display: none; }
  .hero { padding-top: 16px; }
  .status { font-size: 10.5px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(48px, 15vw, 64px); }
  .calm-word { font-size: 0.5em; }
  .lede { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .stage { margin-top: 36px; height: 700px; border-radius: 28px; }
  .chaos-tilt { gap: 10px; }
  .col { flex-basis: 84px; }
  .clip { border-radius: 11px; margin-bottom: 10px; }
  .clip b { font-size: 10px; }
  .phone { width: 252px; padding: 9px; border-radius: 42px; }
  .screen { border-radius: 34px; padding: 10px 13px; }
  .row { grid-template-columns: 92px 1fr; }
  .gate { width: 140px; top: 35%; }
  .gate-num { font-size: 30px; }
  .ticks { stroke-width: 5; }
  .tag-scroll { top: 16px; left: 16px; font-size: 11px; }
  .stage-captions { grid-template-columns: 1fr; gap: 8px; }
  .cap-right { text-align: left; }
  .rule-sec, .how, .nots, .mirror { padding: 80px 0; }
  .timeline { margin-top: 44px; padding: 22px 16px 18px; border-radius: 24px; }
  .tl-row { height: 18px; margin-bottom: 8px; }
  .tl-row .lbl { font-size: 10.5px; margin-left: 5px; }
  .tl-row.in .lbl, .tl-row.near .lbl { left: calc(max(var(--w), 5px) - 5px); }
  .tl-scale span { font-size: 10px; }
  .big-ten span:not(:first-child) { -webkit-text-stroke-width: 1.5px; }
  .not-list { grid-template-columns: 1fr; margin-top: 36px; }
  .meter { padding: 22px; }
  .yt-card { padding: 24px 20px; border-radius: 22px; border-left-width: 5px; }
  .yt-links .btn { flex: 1 1 auto; }
  .legal-sec { padding-bottom: 80px; }
  .closer { padding-bottom: 90px; }
  .closer p { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .timeline:not(.in) .bar { transform: none; }
}
