/* Ponderica — site styles. Colors and type follow Vesper's HUD (neon red, rose, warm near-black). */
@font-face { font-family: "Chakra Petch"; src: url("../fonts/ChakraPetch-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("../fonts/ChakraPetch-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Oxanium"; src: url("../fonts/Oxanium-Variable.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #07030a;
  --center-glow: #3a0712;
  --panel: rgba(12, 4, 8, 0.9);
  --panel-clear: rgba(46, 10, 18, 0.55);
  --accent: #ff1f3d;
  --accent-glow: #c0102a;
  --rose: #ff5a6e;
  --decor: #ff8a98;
  --link: #ffb3bd;
  --text: #fff1f3;
  --muted: #c99aa3;
  --faint: #7d5560;
  --warn: #f2d24b;
  --done: #57d6a0;
  --line: #8a4a56;
  --title: "Oxanium", "Helvetica Neue", sans-serif;
  --ui: "Chakra Petch", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--link); }
button, input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layers ---------- */
.orb-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 5; pointer-events: none; }
.orb-fallback { display: none; }
.no-webgl .orb-fallback {
  display: block; position: fixed; z-index: 5; pointer-events: none; border-radius: 50%;
  left: 50%; top: 40vh; width: min(34vw, 34vh); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 42% 38%, #ffd0d7 0, var(--accent) 30%, #3a0712 68%, transparent 71%);
  box-shadow: 0 0 120px 30px rgba(255, 31, 61, 0.35);
  transition: all 0.35s cubic-bezier(.2, .8, .2, 1);
}
.no-webgl.docked .orb-fallback { left: calc(100vw - 80px); top: calc(100vh - 80px); width: 90px; }
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 50% 38%, var(--center-glow), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 120%, rgba(58, 7, 18, 0.55), transparent 70%);
  transition: opacity 0.6s;
}
.docked .bg-glow { opacity: 0.45; }
.scanlines {
  position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: 0.35;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
main, .footer { position: relative; z-index: 2; }
.topbar { z-index: 20; }
.hero .hero-copy, .hero .mic-row { z-index: 6; position: relative; }

/* ---------- Boot ---------- */
.boot {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg);
  transition: opacity 0.45s ease, visibility 0.45s;
}
.boot.gone { opacity: 0; visibility: hidden; }
.boot-lines { font-size: 13px; letter-spacing: 0.18em; color: var(--muted); }
.boot-lines p { margin: 0.3em 0; opacity: 0; animation: bootLine 0.18s forwards; }
.boot-lines p:nth-child(1) { color: var(--accent); animation-delay: 0.05s; }
.boot-lines p:nth-child(2) { animation-delay: 0.2s; }
.boot-lines p:nth-child(3) { animation-delay: 0.35s; }
.boot-lines p:nth-child(4) { animation-delay: 0.5s; }
.boot-lines p:nth-child(5) { animation-delay: 0.65s; }
.boot-lines b { color: var(--text); font-weight: 600; }
@keyframes bootLine { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Micro type + buttons ---------- */
.micro, .kicker, .card-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0; font-weight: 600;
}
.kicker { color: var(--rose); }
.card-label span { color: var(--accent); }

.btn {
  --b: rgba(255, 220, 226, 0.55);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 16px; border: 1px solid var(--b); outline: 1px solid rgba(255, 220, 226, 0.18); outline-offset: 2px;
  background: rgba(10, 3, 6, 0.6); color: var(--text); text-decoration: none; cursor: pointer;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  transition: background 0.15s, box-shadow 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { border-color: #fff; box-shadow: 0 0 18px rgba(255, 31, 61, 0.35); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .chip:focus-visible, .mood:focus-visible, .kill:focus-visible, input:focus-visible {
  outline: 2px solid #fff; outline-offset: 3px;
}
.btn-small { padding: 7px 12px; font-size: 11px; }
.btn-big { padding: 15px 26px; font-size: 13px; }
.btn-hot, .btn[aria-pressed="true"] {
  background: var(--accent); border-color: var(--accent); outline-color: rgba(255, 31, 61, 0.4);
  box-shadow: 0 0 22px rgba(255, 31, 61, 0.45);
}
.btn-hot:hover, .btn[aria-pressed="true"]:hover { background: #ff3a55; }
.btn:disabled, .chip:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 18px;
  padding: 14px var(--gutter); background: linear-gradient(to bottom, rgba(7, 3, 10, 0.92), rgba(7, 3, 10, 0));
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font-family: var(--title); font-weight: 700; letter-spacing: 0.22em; font-size: 15px;
}
.brand-mark {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffd0d7, var(--accent) 45%, #3a0712 80%);
  box-shadow: 0 0 12px var(--accent);
}
.sys { font-size: 11px; letter-spacing: 0.2em; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.sys b { color: var(--done); font-weight: 600; }
.killed .sys b { color: var(--warn); }
.blink { width: 6px; height: 6px; background: var(--done); display: inline-block; animation: blink 1s steps(1) infinite; }
.killed .blink { background: var(--warn); }
@keyframes blink { 50% { opacity: 0; } }
.nav { margin-left: auto; display: flex; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; padding: 0 var(--gutter) 120px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center;
}
.orb-hit {
  position: absolute; z-index: 6; border-radius: 50%; border: 0; background: transparent; cursor: pointer;
  left: 50%; top: 40vh; width: 30vh; height: 30vh; transform: translate(-50%, -50%);
}
.hero-copy { padding-top: max(64vh, 330px); max-width: 980px; }
.caption {
  display: inline-flex; align-items: center; gap: 10px; min-height: 2em; margin: 0 0 18px;
  font-size: 15px; color: var(--text); text-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
}
.pill {
  flex: none; padding: 2px 8px; font-size: 10px; letter-spacing: 0.18em; font-weight: 600; color: #fff;
  background: var(--accent); box-shadow: 0 0 10px rgba(255, 31, 61, 0.5);
}
.wordmark {
  position: relative; margin: 6px 0 4px; font-family: var(--title); font-weight: 800; line-height: 0.95;
  font-size: clamp(46px, min(10.5vw, 15vh), 150px); letter-spacing: 0.06em;
  background: linear-gradient(180deg, #fff 0%, #ffd0d7 45%, var(--rose) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 31, 61, 0.35));
}
.wordmark::after {
  content: attr(data-text); position: absolute; inset: 0; color: var(--accent); -webkit-text-fill-color: var(--accent);
  mix-blend-mode: screen; opacity: 0; clip-path: inset(40% 0 45% 0); transform: translateX(-4px);
  animation: glitch 7s infinite steps(1);
}
@keyframes glitch {
  0%, 93%, 100% { opacity: 0; }
  94% { opacity: 0.8; clip-path: inset(12% 0 70% 0); transform: translateX(5px); }
  95% { opacity: 0.6; clip-path: inset(60% 0 20% 0); transform: translateX(-6px); }
  96% { opacity: 0; }
}
.lede { font-size: clamp(17px, 2.1vw, 22px); color: var(--muted); margin: 8px 0 26px; }
.lede em { color: var(--text); font-style: normal; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin: 12px 0 0; font-size: 12px; color: var(--faint); letter-spacing: 0.08em; }
.moods { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 30px; }
.mood {
  --c: var(--accent);
  padding: 5px 10px; font-size: 10.5px; letter-spacing: 0.16em; font-weight: 600; cursor: pointer;
  background: transparent; border: 1px solid color-mix(in srgb, var(--c) 70%, #fff 10%); color: var(--text);
  transition: background 0.15s, box-shadow 0.15s;
}
.mood:hover { box-shadow: 0 0 14px var(--c); }
.mood.is-on { background: var(--c); box-shadow: 0 0 18px var(--c); }
.deco { position: absolute; z-index: 1; color: var(--accent); font-family: var(--title); font-weight: 700; font-size: 22px; opacity: 0.55; pointer-events: none; }
.slash.s1 { left: calc(50% - 34vh); top: calc(40vh - 26vh); }
.slash.s2 { left: calc(50% + 32vh); top: calc(40vh - 26vh); }
.slash.s3 { left: calc(50% - 34vh); top: calc(40vh + 22vh); }
.slash.s4 { left: calc(50% + 32vh); top: calc(40vh + 22vh); }
.scroll-cue {
  position: absolute; bottom: 26px; right: var(--gutter); font-size: 11px; letter-spacing: 0.25em; color: var(--muted);
  text-decoration: none; display: flex; align-items: center; gap: 8px; z-index: 6;
}
.scroll-cue i { width: 1px; height: 28px; background: linear-gradient(var(--accent), transparent); animation: cue 1.6s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Mic row ---------- */
.mic-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.hero > .mic-row { position: absolute; left: var(--gutter); bottom: 22px; right: 160px; }
.meter { display: flex; gap: 2px; height: 10px; }
.meter i { width: 5px; height: 100%; background: #2a0c13; transition: background 0.06s; }
.meter i.on { background: var(--accent-glow); }
.meter i.on.hi { background: var(--accent); }
.meter i.on.pk { background: #ffd0d7; }
.readout b { color: var(--text); font-weight: 600; display: inline-block; min-width: 5ch; text-align: right; }
.live-dot { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blink 1s steps(1) infinite; }
.mic-note { color: var(--faint); letter-spacing: 0.06em; }
.device { color: var(--text); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.device i { font-style: normal; color: var(--muted); }
.transcript { color: var(--text); font-weight: 600; letter-spacing: 0.02em; font-size: 14px; min-height: 1.4em; }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter) 40px; }
.sec-head { position: relative; max-width: 760px; margin-bottom: 44px; }
.sec-num {
  position: absolute; right: calc(100% + 18px); top: -6px; font-family: var(--title); font-size: 13px; color: var(--accent);
  letter-spacing: 0.2em;
}
.sec-head h2, .join h2 {
  font-family: var(--title); font-weight: 700; font-size: clamp(32px, 5vw, 58px); line-height: 1.02; margin: 10px 0 14px;
  letter-spacing: 0.01em;
}
.sec-sub { color: var(--muted); font-size: 17px; margin: 0; max-width: 640px; }

/* ---------- Cards (HUD chrome) ---------- */
.card {
  position: relative; padding: 22px 22px 34px; background: var(--panel);
  border: 1px solid rgba(255, 31, 61, 0.75);
  box-shadow: 0 0 0 1px rgba(255, 31, 61, 0.12), 0 0 22px rgba(255, 31, 61, 0.18), inset 0 0 30px rgba(255, 31, 61, 0.06);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.card::before {
  /* small red square and white dot at the corners */
  content: ""; position: absolute; top: -4px; right: -4px; width: 7px; height: 7px; background: var(--decor);
  box-shadow: -14px 0 0 -2px #fff;
}
.card::after {
  content: "ADDED JUST NOW  ·  " attr(data-code); position: absolute; left: 22px; right: 22px; bottom: 10px;
  font-size: 9.5px; letter-spacing: 0.2em; color: var(--faint); white-space: pre;
}
.card h3 { font-family: var(--title); font-weight: 700; font-size: 21px; line-height: 1.15; margin: 12px 0 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .card-label { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-grid .card { transform-style: preserve-3d; will-change: transform; }
.feature-grid .card:hover { border-color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 36px rgba(255, 31, 61, 0.4); }

/* Reveal: dim → outline → full */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { animation: cardIn 0.7s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes cardIn {
  0% { opacity: 0; transform: translateY(16px); filter: brightness(0.3); }
  35% { opacity: 0.45; filter: brightness(0.5) saturate(0.4); }
  60% { opacity: 1; filter: brightness(1.6); }
  100% { opacity: 1; transform: none; filter: none; }
}

/* ---------- Demo stage ---------- */
.stage {
  border: 1px solid rgba(255, 220, 226, 0.25); background: rgba(7, 3, 10, 0.88);
  box-shadow: 0 0 60px rgba(255, 31, 61, 0.12); padding: 14px; display: grid; gap: 12px;
}
.stage-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.stage-top b { color: var(--text); }
.stage-buttons { display: flex; gap: 8px; }
.stage-main { display: grid; grid-template-columns: 1fr 300px; gap: 12px; min-height: 0; }
.viewport {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #050207;
  border: 1px solid rgba(255, 31, 61, 0.25);
  background-image: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(58, 7, 18, 0.6), transparent 80%);
}
.viewport-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--faint); gap: 6px; pointer-events: none; }
.viewport-empty p { margin: 0; }
.viewport.has-content .viewport-empty, .viewport.camera .viewport-empty { display: none; }

.feed { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.viewport.camera .feed { opacity: 1; visibility: visible; }
.desk { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: contrast(1.05) saturate(0.75); cursor: crosshair; }
.feed::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.6));
}
.feed-tag { position: absolute; left: 10px; top: 10px; z-index: 3; font-size: 10px; letter-spacing: 0.2em; padding: 2px 6px; background: rgba(0, 0, 0, 0.6); color: var(--warn); }
.shutter { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: #fff; opacity: 0; }
.viewport.opening .shutter { animation: shutter 0.45s ease-out; }
@keyframes shutter {
  0% { opacity: 1; clip-path: inset(49.8% 0 49.8% 0); }
  40% { opacity: 0.85; clip-path: inset(0 0 0 0); }
  100% { opacity: 0; clip-path: inset(0 0 0 0); }
}
.boxes { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hl {
  position: absolute; border: 1.5px solid #ff4d7a; background: rgba(255, 45, 111, 0.14);
  box-shadow: 0 0 14px rgba(255, 45, 111, 0.45); pointer-events: auto; cursor: pointer;
  animation: hlIn 0.18s ease-out;
}
.hl::before, .hl::after {
  content: ""; position: absolute; width: 12px; height: 12px; border: 3px solid #ffd0dc;
}
.hl::before { left: -3px; top: -3px; border-right: 0; border-bottom: 0; }
.hl::after { right: -3px; bottom: -3px; border-left: 0; border-top: 0; }
.hl span {
  position: absolute; left: -1.5px; bottom: 100%; margin-bottom: 2px; padding: 1px 6px; font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; background: #ffc2d1; color: #2a0510; white-space: nowrap;
}
.hl.out { animation: hlOut 0.18s ease-in forwards; }
@keyframes hlIn { from { opacity: 0; } }
@keyframes hlOut { to { opacity: 0; } }

.board {
  position: absolute; inset: 0; z-index: 3; padding: 30px 16px 16px; pointer-events: none; overflow-y: auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 16px; align-content: start; align-items: start;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.viewport:has(.status-card:not([hidden])) .board { bottom: 132px; }
.bcard:has(.proof-btn) h4, .bcard:has(.proof-btn) .micro:first-of-type, .bcard:has(.proof-btn) .redtitle { margin-right: 52px; }
.board > * { pointer-events: auto; }
.bcard:nth-child(3n + 2) { transform: translateY(10px); }
.bcard:nth-child(3n) { transform: translateY(-4px); }
.bcard.confirm, .bcard.wide { grid-column: span 2; }
.bcard {
  position: relative; background: var(--panel); border: 1px solid var(--accent);
  box-shadow: 0 0 16px rgba(255, 31, 61, 0.35); padding: 10px 12px 12px; font-size: 12.5px; color: var(--muted);
  opacity: 0; animation: bIn 0.6s forwards;
}
.viewport.camera .bcard { background: rgba(10, 3, 6, 0.82); border-color: #ffd0d7; }
@keyframes bIn {
  0% { opacity: 0.15; border-color: transparent; box-shadow: none; }
  30% { opacity: 0.4; border-color: var(--accent); }
  60% { opacity: 1; filter: brightness(1.7); }
  100% { opacity: 1; filter: none; }
}
.bcard.out { animation: bOut 0.25s forwards; }
@keyframes bOut { to { opacity: 0; transform: scale(0.97); } }
.bcard .tag {
  position: absolute; left: 0; right: 0; bottom: 100%; display: flex; justify-content: space-between; gap: 8px;
  margin-bottom: 3px; font-size: 9px; letter-spacing: 0.16em; color: var(--muted); white-space: nowrap; overflow: hidden;
}
.bcard .tag em { font-style: normal; color: var(--warn); }
.bcard h4 { margin: 0 0 6px; font-family: var(--title); font-size: 15px; line-height: 1.15; color: var(--text); }
.bcard p { margin: 0 0 6px; }
.bcard .big { font-family: var(--title); font-weight: 800; font-size: clamp(30px, 4vw, 50px); line-height: 1; color: var(--text); }
.bcard .big small { font-size: 0.35em; margin-left: 4px; color: var(--muted); font-weight: 600; }
.bcard .redpill { display: inline-block; background: var(--accent); color: #fff; font-size: 9.5px; letter-spacing: 0.14em; padding: 2px 7px; margin: 6px 0; font-weight: 600; }
.bcard .redtitle { background: var(--accent); color: #fff; font-family: var(--title); font-weight: 700; padding: 4px 8px; margin: -2px -4px 8px; font-size: 13px; }
.bcard .specs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; font-size: 11px; }
.bcard .specs b { color: var(--text); font-weight: 600; }
.bcard .bars { display: grid; gap: 5px; margin: 6px 0; }
.bcard .bar { display: grid; grid-template-columns: 62px 1fr 34px; align-items: center; gap: 6px; font-size: 10.5px; }
.bcard .bar i { height: 9px; background: #fff; transform-origin: left; animation: barGrow 0.8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes barGrow { from { transform: scaleX(0); } }
.bcard .caveat { font-size: 10.5px; color: var(--faint); font-style: italic; margin: 4px 0 0; }
.bcard.unsourced { border-color: var(--warn); box-shadow: 0 0 16px rgba(242, 210, 75, 0.25); }
.bcard .flag { display: inline-block; background: var(--warn); color: #1a1405; font-size: 9.5px; letter-spacing: 0.14em; padding: 2px 7px; font-weight: 600; margin-bottom: 6px; }
.bcard .pager { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 10px; letter-spacing: 0.14em; }
.bcard .pager button { width: 20px; height: 20px; padding: 0; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 10px; }
.bcard .pager button:hover { border-color: #fff; }
.bcard ul { margin: 0; padding-left: 14px; font-size: 11px; }
.bcard li { margin: 2px 0; }
.bcard a { color: var(--link); }
.proof-btn {
  position: absolute; right: 6px; top: 6px; font-size: 9px; letter-spacing: 0.14em; padding: 2px 6px; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--muted);
}
.proof-btn:hover, .proof-btn[aria-expanded="true"] { border-color: #fff; color: #fff; }
.proof {
  margin-top: 8px; padding: 8px; border-left: 2px solid var(--accent); background: rgba(255, 31, 61, 0.06); font-size: 11px;
}
.proof q { display: block; color: var(--text); margin-top: 2px; }
.confirm .actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.confirm .waiting { color: var(--warn); font-size: 10.5px; letter-spacing: 0.14em; margin-top: 8px; }
.steps { list-style: none; padding: 0 !important; margin: 4px 0 0; }
.steps li { display: flex; gap: 8px; align-items: baseline; font-size: 11.5px; }
.steps li::before { content: "■"; color: var(--done); font-size: 9px; }
.steps li.wait::before { color: var(--warn); animation: blink 1s steps(1) infinite; }
.steps li.pending::before { color: var(--faint); }

/* Status card (working) */
.status-card {
  position: absolute; z-index: 4; left: 16px; bottom: 12px; width: min(340px, calc(100% - 32px)); padding: 10px 12px;
  background: rgba(8, 3, 6, 0.92); border: 1px solid var(--accent);
  box-shadow: 0 0 22px rgba(255, 31, 61, 0.45), inset 0 0 18px rgba(255, 31, 61, 0.1);
  animation: bIn 0.7s forwards;
}
.status-card[hidden] { display: none; }
.status-card p { margin: 0; }
.sc-head { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.18em; color: var(--muted); }
.blinker { color: #fff3e8; animation: blink 1s steps(1) infinite; }
.status-card.done .blinker { animation: none; color: var(--done); }
.sc-title { font-family: var(--title); font-weight: 800; font-size: 18px; margin: 4px 0 !important; }
.sc-line { font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted); }
.cells { display: grid; grid-template-columns: repeat(30, 1fr); gap: 2px; margin: 8px 0 6px; }
.cells i { height: 7px; background: #2a0c13; }
.cells i.on { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.status-card.done .cells i { background: var(--done); box-shadow: none; }
.sc-counts { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.16em; color: var(--muted); }

/* Log */
.log-panel { display: flex; flex-direction: column; gap: 8px; min-height: 0; border: 1px solid rgba(255, 220, 226, 0.15); padding: 10px; background: rgba(10, 3, 6, 0.6); }
.log { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; min-height: 120px; max-height: 100%; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.log li { animation: logIn 0.25s ease-out; }
.log .who { display: block; font-size: 9.5px; letter-spacing: 0.2em; color: var(--faint); margin-bottom: 1px; }
.log .you { color: var(--muted); }
.log .it { color: var(--text); }
.log .it .pill { font-size: 9px; padding: 1px 5px; margin-right: 6px; vertical-align: 1px; }
.log .sys { color: var(--warn); font-size: 11px; letter-spacing: 0.12em; }
@keyframes logIn { from { opacity: 0; transform: translateY(4px); } }
.text-row { display: flex; gap: 6px; margin-top: 4px; }
.text-row input, .waitlist input {
  flex: 1; min-width: 0; background: rgba(0, 0, 0, 0.5); border: 1px solid var(--line); padding: 8px 10px; color: var(--text);
}
.text-row input:focus, .waitlist input:focus { border-color: #fff; outline: none; box-shadow: 0 0 12px rgba(255, 31, 61, 0.35); }

.prompts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
  padding: 7px 12px; border: 1px solid rgba(255, 90, 110, 0.55); background: rgba(255, 31, 61, 0.06); color: var(--text);
  font-size: 13px; cursor: pointer; transition: background 0.15s, box-shadow 0.15s;
}
.chip:hover:not(:disabled) { background: rgba(255, 31, 61, 0.2); box-shadow: 0 0 14px rgba(255, 31, 61, 0.35); }
.chip.follow { border-style: dashed; }
.stage-mic { border-top: 1px solid rgba(255, 220, 226, 0.12); padding-top: 10px; }

/* ---------- Control ---------- */
.control-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 18px; align-items: stretch; }
.kill-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.kill {
  position: relative; width: 170px; height: 170px; border-radius: 50%; border: 0; cursor: pointer; margin-top: 6px;
  background: radial-gradient(circle at 45% 38%, #ff6b7d, var(--accent) 45%, #6a0716 100%);
  box-shadow: 0 0 0 8px rgba(255, 31, 61, 0.12), 0 0 0 9px rgba(255, 31, 61, 0.5), 0 0 60px rgba(255, 31, 61, 0.55), inset 0 -8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.12s, filter 0.3s;
}
.kill:hover { transform: scale(1.03); }
.kill:active { transform: scale(0.97); }
.kill-ring {
  position: absolute; inset: -22px; border-radius: 50%;
  background: repeating-conic-gradient(var(--warn) 0 10deg, #111 10deg 20deg);
  -webkit-mask: radial-gradient(circle, transparent 98px, #000 99px, #000 106px, transparent 107px);
  mask: radial-gradient(circle, transparent 98px, #000 99px, #000 106px, transparent 107px);
  opacity: 0.7; animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.kill-label { position: relative; font-family: var(--title); font-weight: 800; font-size: 19px; letter-spacing: 0.12em; color: #fff; line-height: 1.15; }
.killed .kill { filter: grayscale(1) brightness(0.55); }
.killed .kill-ring { animation-play-state: paused; }
.kill-state { color: var(--muted); font-size: 14px; min-height: 3em; }
.killed .kill-state { color: var(--warn); }
kbd { font-family: var(--ui); border: 1px solid var(--line); padding: 0 5px; color: var(--text); }
.cap-card { display: flex; flex-direction: column; gap: 12px; }
.cap-card h3 { margin-bottom: 0; }
.cap-row { display: flex; align-items: center; gap: 12px; }
.cap-row input { flex: 1; accent-color: var(--accent); }
.cap-row b { min-width: 8ch; text-align: right; font-weight: 600; }
.cap-meter { height: 10px; background: #2a0c13; position: relative; overflow: hidden; }
.cap-meter i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); transition: width 0.4s; }
.cap-meter.full i { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.cap-counts { display: flex; justify-content: space-between; font-size: 13px; }
.cap-card .btn { align-self: flex-start; }
.rules { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.rules li { position: relative; padding-left: 22px; color: var(--muted); font-size: 14.5px; }
.rules li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.rules b { color: var(--text); }

/* ---------- Join ---------- */
.join { padding-bottom: 120px; }
.join-card { max-width: 760px; margin: 0 auto; padding: 44px clamp(20px, 5vw, 56px) 54px; text-align: center; }
.join-card .sec-num { position: static; display: block; margin-bottom: 8px; }
.join-card .sec-sub { margin: 0 auto 26px; }
.waitlist { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; }
.waitlist input { padding: 14px 14px; font-size: 15px; }
.form-msg { min-height: 1.6em; margin-top: 14px !important; color: var(--text) !important; font-size: 14px !important; }
.form-msg.warn { color: var(--warn) !important; }
.download[hidden], .waitlist[hidden] { display: none; }

/* ---------- Footer, corner, kill banner, reticle ---------- */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 26px var(--gutter) 40px; padding-right: 180px;
  border-top: 1px solid rgba(255, 220, 226, 0.1); font-size: 12px; color: var(--faint); letter-spacing: 0.06em;
}
.corner-hit { position: fixed; z-index: 21; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: none; }
.docked .corner-hit { display: block; }
.corner-tag {
  position: fixed; z-index: 21; margin: 0; font-size: 9.5px; letter-spacing: 0.2em; color: var(--muted); white-space: nowrap;
  opacity: 0; transition: opacity 0.3s; pointer-events: none; transform: translateX(-100%);
  text-shadow: 0 0 8px #000, 0 0 8px #000;
}
.docked .corner-tag { opacity: 1; }
.kill-banner {
  position: fixed; z-index: 40; left: 50%; top: 64px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px;
  padding: 8px 10px 8px 16px; background: rgba(20, 16, 4, 0.95); border: 1px solid var(--warn); color: var(--warn);
  font-size: 13px; box-shadow: 0 0 24px rgba(242, 210, 75, 0.25); max-width: calc(100vw - 32px);
}
.kill-banner[hidden] { display: none; }
.kill-banner b { letter-spacing: 0.14em; }
.reticle {
  position: fixed; z-index: 50; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; pointer-events: none;
  opacity: 0; transition: opacity 0.2s, width 0.15s, height 0.15s, margin 0.15s;
}
.reticle i { position: absolute; width: 8px; height: 8px; border: 1.5px solid rgba(255, 90, 110, 0.9); }
.reticle i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.reticle i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.reticle i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.reticle i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.reticle.on { opacity: 1; }
.reticle.hot { width: 46px; height: 46px; margin: -23px 0 0 -23px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .control-grid { grid-template-columns: 1fr 1fr; }
  .rules-card { grid-column: 1 / -1; }
  .stage-main { grid-template-columns: 1fr; }
  .log-panel { max-height: 260px; }
}
@media (max-width: 720px) {
  .nav .btn:not([data-cta]) { display: none; }
  .sys { display: none; }
  .topbar { padding-top: 10px; padding-bottom: 10px; }
  .hero { padding-bottom: 150px; }
  .hero-copy { padding-top: 58vh; }
  .orb-hit { top: 33vh; width: 60vw; height: 40vw; }
  .deco { display: none; }
  .hero > .mic-row { right: var(--gutter); bottom: 64px; justify-content: center; }
  .mic-note { width: 100%; text-align: center; }
  .scroll-cue { display: none; }
  .feature-grid, .control-grid { grid-template-columns: 1fr; }
  .section { padding-top: 90px; }
  .sec-num { position: static; display: block; margin-bottom: 6px; }
  .viewport { aspect-ratio: 1 / 1; }
  .board { grid-template-columns: minmax(0, 1fr); padding: 28px 10px 10px; }
  .bcard.confirm, .bcard.wide { grid-column: auto; }
  .bcard:nth-child(n) { transform: none; }
  .viewport:has(.status-card:not([hidden])) .board { bottom: 156px; }
  .bcard { font-size: 11.5px; }
  .waitlist { flex-direction: column; }
  .footer { padding-right: var(--gutter); padding-bottom: 110px; }
  .stage { padding: 10px; }
  .stage-mic .readout { display: none; }
  .kill-banner { top: 56px; font-size: 12px; }
}

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