:root {
  --bg: #000;
  --panel: #0a0a0a;
  --line: #222;
  --text: #e8e8e8;
  --dim: #8a8a8a;
  --amber: #ffa028;
  --up: #3ad08a;
  --down: #ff5c5c;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --cond: 'IBM Plex Sans Condensed', 'Arial Narrow', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font: 16px/1.6 var(--mono); -webkit-font-smoothing: antialiased; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; width: min(1180px, 100% - 40px); margin: 0 auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--cond); font-weight: 700; letter-spacing: .01em; margin: 0; line-height: 1.08; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }

.bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; font-family: var(--cond); font-size: 18px; letter-spacing: .14em; }
.brand b { color: var(--dim); font-weight: 600; }
.status { font-size: 12px; letter-spacing: .14em; color: var(--amber); display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; background: var(--amber); display: inline-block; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }

.kicker { color: var(--amber); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }

.hero { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; padding: 72px 0 56px; }
.hero h1 { font-size: clamp(36px, 4.3vw, 56px); }
.hero h1 span { color: var(--dim); }
.lede { color: #bdbdbd; max-width: 34em; margin: 22px 0 28px; }

.join { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.join input[type=email] {
  flex: 1 1 240px; min-width: 0; background: var(--panel); color: var(--text); border: 1px solid #333;
  font: inherit; padding: 14px 16px; outline: none;
}
.join input[type=email]:focus { border-color: var(--amber); }
.join button, .roles button {
  background: var(--amber); color: #000; border: 0; font: 600 15px var(--mono); letter-spacing: .04em;
  padding: 14px 20px; cursor: pointer;
}
.join button:hover { background: #ffb450; }
.join button:focus-visible, .roles button:focus-visible, .close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.join button[disabled] { opacity: .6; cursor: progress; }
.msg { flex-basis: 100%; margin: 4px 0 0; min-height: 1.6em; font-size: 14px; color: var(--dim); }
.msg.err { color: var(--down); }
.msg.ok { color: var(--up); }
.fine { color: var(--dim); font-size: 13px; margin: 6px 0 0; min-height: 1.6em; }

.replay { margin: 0; border: 1px solid var(--line); background: var(--panel); }
.replay-head, .replay figcaption {
  display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 12px; color: var(--dim); letter-spacing: .06em;
}
.replay-head { border-bottom: 1px solid var(--line); }
.replay-head b { color: var(--amber); margin-right: 6px; }
.replay figcaption { border-top: 1px solid var(--line); flex-wrap: wrap; }
.tally { color: var(--text); }
.rec { display: flex; align-items: center; gap: 6px; color: var(--down); }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--down); animation: blink 1.2s steps(2) infinite; }
#replay { display: block; width: 100%; height: auto; aspect-ratio: 720 / 420; }

.redact {
  font-style: normal; background: #e8e8e8; color: #e8e8e8; padding: 0 .2em; user-select: none;
  letter-spacing: -.02em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-bottom: 96px; }
.stats div { padding: 26px 22px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font: 700 clamp(30px, 3.6vw, 46px) var(--cond); color: var(--text); font-variant-numeric: tabular-nums; }
.stats div:last-child b { color: var(--down); }
.stats span { color: var(--dim); font-size: 13px; }
.stats:has(+ .stats-2) { margin-bottom: 0; }
.stats-2 { border-top: 0; }
.stats-kicker { grid-column: 1 / -1; margin: 0; padding: 14px 22px; border-bottom: 1px solid var(--line);
  color: var(--amber); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.stats-2 div:nth-child(4) b { color: var(--down); }
.stats-2 div:last-child b { color: var(--amber); }

.board { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; margin-bottom: 104px; }
.board h2, .how h2, .final h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 18px; }
.board-copy p { color: #bdbdbd; margin: 0 0 14px; }
.table { border: 1px solid var(--line); background: var(--panel); font-size: 14px; }
.tr { display: grid; grid-template-columns: 1.7fr 1fr .6fr; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #161616; align-items: center; }
.tr.th { color: var(--amber); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.tr span:nth-child(2), .tr span:nth-child(3) { text-align: right; }
.neg { color: var(--down); font-variant-numeric: tabular-nums; }
.tr.sealed { background: repeating-linear-gradient(135deg, #111 0 10px, #0a0a0a 10px 20px); }
.tr.sealed span:last-child { color: var(--amber); letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.tnote { margin: 0; padding: 12px 16px; color: var(--dim); font-size: 12px; }

.method { margin: -64px 0 96px; }
.method details { border: 1px solid var(--line); background: var(--panel); }
.method summary { cursor: pointer; padding: 16px 20px; color: var(--amber); font-size: 13px; letter-spacing: .08em; list-style: none; }
.method summary::-webkit-details-marker { display: none; }
.method summary::before { content: '+ '; }
.method details[open] summary::before { content: '− '; }
.method summary:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.method dl { display: grid; grid-template-columns: 180px 1fr; gap: 12px 24px; margin: 0; padding: 4px 20px 22px; font-size: 14px; }
.method dt { color: var(--text); font-weight: 600; }
.method dd { margin: 0; color: #bdbdbd; }

.flow { margin-bottom: 104px; }
.flow h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 26px; }
.flow ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.flow li { padding: 22px 22px 24px; border-right: 1px solid var(--line); }
.flow li:last-child { border-right: 0; }
.flow .n { color: var(--amber); font-size: 13px; }
.flow h3 { font-size: 22px; margin: 10px 0 8px; }
.flow p { margin: 0; color: #bdbdbd; font-size: 14px; }

.how { margin-bottom: 104px; }
.how ol { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how li { border: 1px solid var(--line); background: var(--panel); padding: 26px 24px 28px; position: relative; }
.how .n { color: var(--amber); font-size: 13px; }
.how h3 { font-size: 26px; margin: 14px 0 12px; }
.how p { color: #bdbdbd; margin: 0; font-size: 15px; }
.how .locked p .redact { background: #2a2a2a; color: #2a2a2a; line-height: 1.9; }
.how .locked h3 .redact { background: #e8e8e8; }
.dimh { color: var(--dim); }
.waitlist-only { text-decoration: none; }
.waitlist-only:hover { border-color: var(--amber); }
.how li.unlocked { border-color: #4a3410; }
.how li.unlocked p { margin-bottom: 14px; }
.how li.unlocked ul { margin: 0; padding-left: 18px; color: #bdbdbd; font-size: 14px; }
.how li.unlocked li { border: 0; background: none; padding: 0 0 6px; }
.how li.unlocked .lock { color: var(--up); border-color: #1d4a33; }
.unlocked-note { color: var(--up) !important; }
.lock { display: inline-block; margin-top: 18px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); border: 1px solid #4a3410; padding: 4px 8px; }

.final { text-align: center; padding: 64px 0 96px; border-top: 1px solid var(--line); }
.final h2 { max-width: 16em; margin-inline: auto; }
.final p { color: var(--dim); margin: 0 auto 28px; max-width: 36em; }
.final .join { margin: 0 auto; }
.final .msg { text-align: center; }

dialog { background: #0b0b0b; color: var(--text); border: 1px solid #333; padding: 32px; width: min(460px, 100% - 32px); }
dialog::backdrop { background: rgba(0, 0, 0, .78); }
dialog h2 { font-size: 40px; margin-bottom: 10px; }
dialog h2 span { color: var(--amber); }
dialog p { color: #bdbdbd; margin: 0 0 14px; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles button { background: transparent; color: var(--text); border: 1px solid #444; font-weight: 500; padding: 10px 14px; }
.roles button:hover, .roles button[aria-pressed=true] { border-color: var(--amber); color: var(--amber); }
.close { margin-top: 10px; background: none; border: 0; color: var(--dim); font: inherit; cursor: pointer; padding: 6px 0; text-decoration: underline; }

footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px; border-top: 1px solid var(--line); color: #666; font-size: 12px; }

@media (max-width: 900px) {
  .hero, .board { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 44px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats-2 div:nth-child(2) { border-right: 1px solid var(--line); }
  .stats-2 div:nth-child(3) { border-right: 0; }
  .stats-2 div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .how ol { grid-template-columns: 1fr; }
  .flow ol { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(2) { border-right: 0; }
  .flow li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .method { margin-top: -56px; }
  .method dl { grid-template-columns: 1fr; gap: 4px; }
  .method dd { margin-bottom: 12px; }
}
@media (max-width: 520px) {
  main { width: calc(100% - 28px); }
  .bar { padding: 14px; }
  .brand { font-size: 15px; letter-spacing: .08em; gap: 8px; }
  .status { font-size: 10px; letter-spacing: .1em; }
  .join button { flex: 1 1 100%; }
  .tr { grid-template-columns: 1.4fr .9fr .5fr; font-size: 13px; padding: 12px; }
  .replay-head .rec { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dot, .rec i { animation: none; }
}
