/* hoodminer.live — HoodMiners rig index
 *
 * Palette, motion and layout come from the Claude Design prototype
 * (HoodMiners Rarity.dc.html). The prototype's inline styles are lifted into
 * classes here with values preserved exactly; its `style-hover` attributes
 * become real :hover rules, and its CTAs become real buttons with focus rings.
 *
 * The rig art is deliberately served at 48px and upscaled by the browser
 * (image-rendering: pixelated). This is a pre-reveal: the full-resolution art
 * is never sent to the client, so it cannot be recovered from the network tab
 * the way a CSS blur can.
 */

@font-face {
  font-family: "InterVar";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;      /* one variable file covers every weight we use */
  font-display: swap;
  font-style: normal;
}

:root {
  --lime: #ccff00;
  --ink: #292b31;
  --ink-75: rgba(41, 43, 49, 0.75);
  --ink-70: rgba(41, 43, 49, 0.7);
  --ink-65: rgba(41, 43, 49, 0.65);
  --ink-60: rgba(41, 43, 49, 0.6);
  --ink-55: rgba(41, 43, 49, 0.55);
  --ink-40: rgba(41, 43, 49, 0.4);
  --ink-30: rgba(41, 43, 49, 0.3);
  --ink-28: rgba(41, 43, 49, 0.28);
  --ink-05: rgba(41, 43, 49, 0.05);
  --violet: #5d5294;
  --radius: 8px;
  --sans: "InterVar", "Inter", system-ui, -apple-system, sans-serif;
  /* Numerals sit on the same grid as the pixel art, so the pixelation reads
     as a deliberate language rather than a compression artefact. */
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--lime);
}

body {
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--violet); }

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

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: clamp(20px, 3vw, 36px) clamp(20px, 4vw, 48px) 64px;
}
/* The footer absorbs leftover height so it sits at the bottom of a short page
   instead of floating mid-viewport; the gap above it comes from the preceding
   block, so long pages still breathe. */
.page > *:nth-last-child(2) { margin-bottom: 56px; }

/* Author display rules outrank the UA stylesheet's [hidden] { display: none },
   so anything toggled via the hidden attribute — the countdown, the verify
   step, the admin views — needs this to actually stay hidden. */
[hidden] { display: none !important; }

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

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink-30);
}

.brand { display: flex; align-items: baseline; gap: 14px; }

/* The logo is a rig at its true 48px source, upscaled with hard edges — the
   same sealed treatment as the art, so the mark and the collection match. */
.mark {
  width: 34px;
  height: auto;
  align-self: center;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  flex: none;
}

.wordmark {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-60);
  white-space: nowrap;
}

.masthead-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.status { display: flex; align-items: center; gap: 8px; }

/* Square, not round — it belongs to the same pixel grid as the rigs. */
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--ink);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

.status-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
  white-space: nowrap;
}

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

.btn {
  display: inline-block;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 9px 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn:hover { background: var(--ink); color: var(--lime); }
.btn-sm { padding: 8px 16px; }
.btn-ghost { border-color: var(--ink-40); color: rgba(41, 43, 49, 0.8); }
.btn-ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn:disabled:hover { background: transparent; color: var(--ink); }

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

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: center;
  padding: 44px 0 40px;
}

.hero-copy { display: flex; flex-direction: column; gap: 20px; max-width: 460px; }

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 0.94;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.hero p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-75);
  text-wrap: pretty;
}

.hero-actions { display: flex; gap: 10px; padding-top: 4px; flex-wrap: wrap; }

.hero-rig { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* The shaft: strata scrolling past, rails either side, and a runner falling
   down the centre track. Masked top and bottom so it fades rather than stops. */
.shaft {
  position: absolute;
  left: 50%;
  top: -32px;
  height: 84%;
  width: 64px;
  transform: translateX(-50%);
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 86%, transparent);
}
.shaft-strata {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(41, 43, 49, 0.34) 0 1px, transparent 1px 14px);
  animation: strata 2.6s linear infinite;
}
.shaft-rail { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(41, 43, 49, 0.5); }
.shaft-rail-l { left: 0; }
.shaft-rail-r { right: 0; }
.shaft-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: rgba(41, 43, 49, 0.28);
  overflow: hidden;
}
.shaft-runner {
  width: 2px;
  height: 30%;
  background: var(--ink);
  animation: shaft-run 1.5s cubic-bezier(0.35, 0, 0.7, 1) infinite;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 120px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(41, 43, 49, 0.22), transparent);
  animation: glow-pulse 1.5s ease-in-out infinite;
  z-index: 0;
}

.hero-rig-frame { position: relative; width: 100%; max-width: 560px; }

.hero-rig-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  animation: rig-bob 5s ease-in-out infinite;
}

.hero-caption { display: flex; align-items: center; gap: 10px; align-self: flex-start; }
.hero-caption-rule { width: 26px; height: 1px; background: var(--ink); }
.hero-caption-text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-70);
  white-space: nowrap;
}

/* ---------- countdown ---------- */

/* The ERC-6551 pitch: stated once, in the page's existing mono voice, so it
   reads as a spec plate on the machine rather than marketing copy. */
.spec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
  gap: clamp(16px, 4vw, 48px);
  padding: 26px 0 30px;
  border-top: 1px solid var(--ink-30);
}
.spec-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-tags span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-70);
  border: 1px solid var(--ink-30);
  border-radius: 6px;
  padding: 5px 9px;
  white-space: nowrap;
}
.spec-line {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-70);
}

.countdown {
  display: flex;
  align-items: flex-end;
  gap: clamp(14px, 3vw, 30px);
  padding: 26px 0 30px;
  border-top: 1px solid var(--ink-30);
  flex-wrap: wrap;
}
.countdown-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-65);
  padding-bottom: 6px;
  white-space: nowrap;
}
.countdown-units { display: flex; gap: clamp(12px, 2.4vw, 26px); }
.cd-unit { display: flex; flex-direction: column; gap: 2px; }
.cd-value {
  font-family: var(--mono);
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cd-unit-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.countdown-note { font-size: 12px; color: var(--ink-55); padding-bottom: 8px; }

/* ---------- ladder ---------- */

.ladder-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 16px;
  border-top: 1px solid var(--ink-30);
}
.ladder-head h2 {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-65);
  white-space: nowrap;
}
.ladder-hint { font-size: 12px; color: var(--ink-55); white-space: nowrap; }

/* The ladder is a descent, not a product grid: nine seams stacked as rock
   strata, each one deeper and denser than the last. Scrolling the page is
   meant to feel like going down the shaft. */
.ladder { display: block; border-top: 1px solid var(--ink-30); }

.seam {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(88px, 124px) auto 1fr auto;
  align-items: center;
  gap: clamp(10px, 2.5vw, 26px);
  padding: 9px 14px 9px 10px;
  border-bottom: 1px solid var(--ink-30);
  cursor: pointer;
  overflow: hidden;
  transition: background 200ms ease, padding 200ms ease;
}

/* The rock. Density and contrast climb with depth, so the deepest seams read
   as the hardest ground — the ladder tells you where you are without labels. */
.seam::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      calc(-8deg + var(--i) * 1.6deg),
      var(--ink-30) 0 1px,
      transparent 1px calc(15px - var(--i) * 1.1px));
  opacity: calc(0.3 + var(--i) * 0.075);
  pointer-events: none;
  transition: opacity 200ms ease;
}
.seam:hover::before { opacity: calc(0.5 + var(--i) * 0.08); }
.seam:hover { background: var(--ink-05); }
.seam > * { position: relative; z-index: 1; }

.seam-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink-55);
  transition: color 180ms ease;
}
.seam:hover .seam-num { color: var(--ink); }

.seam-art {
  width: 100%;
  aspect-ratio: 1.43 / 1;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  image-rendering: pixelated;
  animation: rig-bob-sm 4.6s ease-in-out infinite;
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.3, 1), filter 240ms ease;
}
/* The one reveal gesture: hovering sharpens a step, as if the rig is starting
   to resolve. It never actually reveals — the source is 48px. */
.seam:hover .seam-art { transform: scale(1.13) translateX(4px); filter: contrast(1.14) saturate(1.1); }

.seam-body { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.seam-lock {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-40);
  transition: color 180ms ease;
}
.seam:hover .seam-lock { color: var(--ink-75); }

/* The seam itself, running out to the depth reading — it fills the gutter with
   the page's own metaphor instead of dead space, and travels on hover. */
.seam-run {
  height: 1px;
  min-width: 30px;
  background: repeating-linear-gradient(90deg, var(--ink-40) 0 4px, transparent 4px 11px);
  opacity: 0.75;
}
.seam:hover .seam-run { animation: decode 700ms linear infinite; opacity: 1; }

.seam-depth {
  font-family: var(--mono);
  font-size: clamp(13px, 2.4vw, 19px);
  letter-spacing: 0.06em;
  color: var(--ink-40);
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}
.seam:hover /* The seam itself, running out to the depth reading — it fills the gutter with
   the page's own metaphor instead of dead space, and travels on hover. */
.seam-run {
  height: 1px;
  min-width: 30px;
  background: repeating-linear-gradient(90deg, var(--ink-40) 0 4px, transparent 4px 11px);
  opacity: 0.75;
}
.seam:hover .seam-run { animation: decode 700ms linear infinite; opacity: 1; }

.seam-depth { color: var(--ink); transform: translateX(-3px); }

/* Narrow screens: drop the leader line so the redaction bar and the depth
   reading stop colliding, and tighten the columns. Removing the run from flow
   leaves exactly four items for four columns. */
@media (max-width: 620px) {
  .seam {
    grid-template-columns: 34px 78px 1fr auto;
    gap: 10px;
    padding: 8px 2px;
  }
  .seam-run { display: none; }
  .seam-num { font-size: 11px; }
  .redact { width: min(150px, 32vw); height: 13px; }
  .seam-depth { font-size: 12px; }
}

/* Hold a seam to take a core sample. The fill is the drill working its way
   across the band; letting go before it lands resets it. */
.seam-drill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--ink-05);
  border-right: 2px solid var(--ink);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.seam.drilling .seam-drill { opacity: 1; }
.seam.drilling { background: var(--ink-05); }
.seam.drilling .seam-art { transform: scale(1.13) translateX(4px) rotate(-1.5deg); }

.seam.tapped .seam-lock { color: var(--ink); font-weight: 600; }
.seam.tapped .seam-num { color: var(--ink); }
.seam.tapped::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ink);
}

/* The chip that pops out when a core lands. */
.chip {
  position: fixed;
  width: 7px;
  height: 7px;
  background: var(--ink);
  pointer-events: none;
  z-index: 50;
}

/* Core-sample tally in the masthead. */
.cores {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-60);
  white-space: nowrap;
}
.cores-pips { display: flex; gap: 3px; }
.cores-pips i {
  width: 6px;
  height: 6px;
  background: transparent;
  border: 1px solid var(--ink-40);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.cores-pips i.on { background: var(--ink); border-color: var(--ink); transform: scale(1.25); }
.cores.full { color: var(--ink); }

/* The payoff for taking all nine. Teases; reveals nothing. */
.payoff {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink-05);
  font-size: 14px;
  line-height: 1.5;
}
.payoff b { font-family: var(--mono); letter-spacing: 0.1em; }

/* Keyboard descent hint. */
.keyhint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-55);
}
@media (max-width: 900px) { .keyhint { display: none; } }

/* Live depth read-out pinned to the edge of the viewport: the page reports how
   far down you are, which is the whole conceit made legible. */
.gauge {
  position: fixed;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}
.gauge.on { opacity: 1; }
.gauge-track {
  position: relative;
  width: 2px;
  height: 210px;
  background: var(--ink-40);
}
.gauge-head {
  position: absolute;
  left: 50%;
  top: 0;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  background: var(--ink);
  transition: top 90ms linear;
}
.gauge-read {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink);
  writing-mode: vertical-rl;
}
@media (max-width: 900px) { .gauge { display: none; } }

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

.foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--ink-30);
  font-size: 12px;
  color: var(--ink-60);
  flex-wrap: wrap;
}
.foot-links { display: flex; gap: 18px; }

/* ---------- forms (whitelist + admin) ---------- */

.panel {
  max-width: 560px;
  border: 1px solid var(--ink-28);
  border-radius: var(--radius);
  padding: 22px 24px 24px;
}
.panel-wide { max-width: 1040px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink-40);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
}
.input::placeholder { color: var(--ink-40); }
.input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-color: transparent; }
textarea.input { font-size: 12.5px; line-height: 1.5; resize: vertical; min-height: 120px; }

.msg {
  margin: 14px 0 0;
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-40);
  font-size: 13px;
  line-height: 1.45;
}
.msg-ok { border-color: var(--ink); background: var(--ink-05); }
.msg-err { border-color: #a11; color: #7d0d0d; background: rgba(170, 17, 17, 0.07); }
.msg[hidden] { display: none; }

.hint { font-size: 12px; line-height: 1.5; color: var(--ink-60); }

.table-wrap { overflow-x: auto; border: 1px solid var(--ink-28); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 620px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--ink-28); font-size: 13px; }
th {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
  font-weight: 500;
}
td.addr { font-family: var(--mono); font-size: 12px; word-break: break-all; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--ink-05); }

.pill {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--ink-40);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pill-yes { border-color: var(--ink); background: var(--ink); color: var(--lime); }

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

@keyframes rig-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rig-bob-sm { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes shaft-run { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
@keyframes strata { from { transform: translateY(0); } to { transform: translateY(14px); } }
@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scaleX(0.9); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1.12); }
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes decode { from { background-position-x: 0; } to { background-position-x: 11px; } }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-5px); }
  30% { transform: translateX(4px); }
  45% { transform: translateX(-3px); }
  60% { transform: translateX(2px); }
  75% { transform: translateX(-1px); }
}
@keyframes mote { from { transform: translateY(-10px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } to { transform: translateY(240px); opacity: 0; } }
@keyframes stamp {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(1.6) rotate(-8deg); }
  22% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-8deg); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1) rotate(-8deg); }
}

/* Entrance choreography. Guarded behind .js-reveal so the page is never left
   blank if the script fails to run — without JS these simply stay visible. */
.js-reveal .reveal { opacity: 0; }
.js-reveal .reveal.in { animation: rise 620ms cubic-bezier(0.2, 0.7, 0.3, 1) both; }

/* Ore falling down the shaft, behind the rig. */
.mote {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 3px;
  background: var(--ink);
  opacity: 0;
  animation: mote 2.8s linear infinite;
}

/* Hover reads as the card trying to decode itself and failing — the tease
   without the reveal. */
.seam:hover .redact { animation: decode 520ms steps(5) infinite; }
.seam.knock { animation: shake 420ms ease; }

/* Clicking a sealed card stamps it rather than doing nothing. */
.seam .seal-stamp {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 5px 10px;
  pointer-events: none;
  opacity: 0;
}
.seam.knock .seal-stamp { animation: stamp 900ms ease both; }

.spec-tags span { transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }
.spec-tags span:hover { transform: translateY(-2px); border-color: var(--ink); background: var(--ink-05); }

.btn { transition: transform 120ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease; }
.btn:active { transform: translateY(1px) scale(0.985); }

.hero-rig-frame { transition: transform 260ms cubic-bezier(0.2, 0.7, 0.3, 1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* Drilling still works; it just fills without easing, and no chip flies. */
  .chip { display: none; }
  /* The entrance states are opacity, not animation — they need explicit undoing
     or the whole page would stay invisible under reduced motion. */
  .js-reveal .reveal { opacity: 1 !important; }
  .mote { display: none; }
  .hero-rig-frame { transform: none !important; }
}

/* Stands in for the grade name: same row height as the revealed label will be,
   so nothing shifts when the names go in at reveal. */
.redact {
  display: block;
  width: min(230px, 34vw);
  height: 15px;
  background: repeating-linear-gradient(90deg, var(--ink-40) 0 9px, transparent 9px 14px);
}

/* Share card shown after a successful whitelist submit. */
#share { margin-top: 18px; }
.share-canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ink-30);
  border-radius: var(--radius);
  image-rendering: auto;
}
.share-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 10px; }

/* ---------- X gate checklist ---------- */

.checks { list-style: none; margin: 18px 0 16px; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--ink-28);
}
.check:last-child { border-bottom: 0; }
.check-mark {
  flex: none;
  width: 15px;
  height: 15px;
  border: 1px solid var(--ink-40);
  position: relative;
}
/* Filled block rather than a tick glyph — same pixel language as the rest. */
.check.done .check-mark { background: var(--ink); border-color: var(--ink); }
.check-label { flex: 1; font-size: 14px; line-height: 1.4; }
.check.done .check-label { color: var(--ink-60); text-decoration: line-through; }
.check.done .btn { opacity: 0.45; pointer-events: none; }

/* ---------- social proof ---------- */

.social {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60);
  white-space: nowrap;
}
