/* WARDEN — molten chrome */
@font-face { font-family: "Big Shoulders Display"; src: url("/fonts/bigshoulders.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jbmono.woff") format("woff"); font-weight: 100 800; font-display: swap; }
:root {
  --void: #060607;
  --slag: #121214;
  --iron: #1c1c20;
  --seam: #2a2a30;
  --ash: #8a8780;
  --bone: #ece9e3;
  --molten: #ff5a1f;
  --ember: #ff8f52;
  --ok: #b9e3c6;
  --chrome: linear-gradient(176deg, #ffffff 0%, #d9d5ce 28%, #77736d 52%, #f3f0ea 60%, #a7a29a 78%, #4a4743 100%);
  --heat: linear-gradient(180deg, var(--ember), var(--molten));
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r-s: 6px;
  --r-l: 18px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after { /* film grain over everything, like the mark */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--molten); color: var(--void); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ───────── type */
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .92; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(64px, 11vw, 168px); }
h2 { font-size: clamp(44px, 6.4vw, 92px); }
h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1; }
p { margin: 0 0 1em; max-width: 62ch; }
.lede { font-size: clamp(18px, 1.7vw, 21px); color: #cfcbc4; max-width: 46ch; }
.muted { color: var(--ash); }
.chrome-text {
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(255, 90, 31, .18));
}
code, .mono { font-family: var(--mono); font-size: .86em; }

/* ───────── nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(6, 6, 7, .72); border-bottom: 1px solid rgba(255,255,255,.05); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 800 24px/1 var(--display); letter-spacing: .04em; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: #bdb9b2; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--bone); }
@media (max-width: 760px) { .nav-links a.hide-s { display: none; } .nav-links { gap: 16px; } }

/* ───────── buttons */
.btn {
  --bg: var(--bone); --fg: var(--void);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); font: 600 15px/1 var(--body); text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.heat { --bg: var(--molten); --fg: #140700; box-shadow: 0 0 0 1px rgba(255,143,82,.4), 0 10px 40px -10px rgba(255,90,31,.7); }
.btn.ghost { --bg: transparent; --fg: var(--bone); box-shadow: inset 0 0 0 1px var(--seam); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ash); }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }

/* ───────── hero */
.hero { position: relative; min-height: calc(100svh - 68px); display: grid; align-items: center; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; padding-block: 64px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 span { display: block; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.orb { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: end; }
.orb svg { width: 100%; height: 100%; overflow: visible; }
.orb::after { content: ""; position: absolute; inset: 12% 8% -6%; z-index: -1; background: radial-gradient(closest-side, rgba(255,90,31,.45), transparent 70%); filter: blur(30px); }
.hero-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: radial-gradient(60% 100% at 70% 100%, rgba(255,90,31,.16), transparent 70%); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 56px; }
  .orb { order: -1; max-width: 340px; justify-self: center; margin-bottom: -10px; }
}

/* ───────── sections */
section { position: relative; }
.band { padding-block: clamp(80px, 12vw, 150px); }
.band.tight { padding-block: clamp(60px, 8vw, 100px); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--seam) 20%, var(--seam) 80%, transparent); }

/* the problem */
.threats { display: grid; gap: 0; border-top: 1px solid var(--seam); }
.threat { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--seam); }
.threat h3 { color: var(--bone); }
.threat p { margin: 0; color: #bdb9b2; }
@media (max-width: 640px) { .threat { grid-template-columns: 1fr; gap: 8px; } }

/* ───────── gauntlet (the memorable thing) */
.gauntlet { margin-top: 56px; border-radius: var(--r-l); background: linear-gradient(180deg, var(--slag), #0b0b0d); box-shadow: inset 0 0 0 1px var(--seam); overflow: hidden; }
.g-pick { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px; border-bottom: 1px solid var(--seam); }
.g-pick button {
  font: 500 14px/1.2 var(--body); color: #cfcbc4; background: var(--iron); border: 0; border-radius: 999px;
  padding: 10px 16px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--seam);
}
.g-pick button[aria-pressed="true"] { background: var(--bone); color: var(--void); box-shadow: none; }
.g-track { position: relative; display: grid; grid-template-columns: 110px repeat(4, 1fr) 110px; align-items: stretch; min-height: 300px; padding: 0 12px; }
.g-end { display: flex; align-items: flex-end; justify-content: center; text-align: center; font-size: 13px; color: var(--ash); padding: 12px 4px 22px; }
.g-end strong { display: block; font: 800 22px/1 var(--display); color: var(--bone); margin-bottom: 6px; letter-spacing: .02em; }
.g-wall { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 20px 6px 22px; text-align: center; }
.g-wall::before {
  content: ""; position: absolute; top: 22px; bottom: 96px; left: 50%; width: 10px; transform: translateX(-50%);
  border-radius: 6px; background: var(--chrome); opacity: .75;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
  transition: box-shadow .3s ease, opacity .3s ease;
}
.g-wall.hit::before { background: var(--heat); opacity: 1; box-shadow: 0 0 24px 4px rgba(255,90,31,.7); }
.g-wall.pass::before { opacity: .35; }
.g-wall b { font: 800 22px/1 var(--display); letter-spacing: .04em; }
.g-wall small { display: block; color: var(--ash); font-size: 12.5px; margin-top: 4px; line-height: 1.3; }
.g-tx {
  position: absolute; top: 50%; left: 40px; width: 56px; height: 56px; margin-top: -78px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #bdb8ae 35%, #4c4944 70%, #ff5a1f 100%);
  box-shadow: 0 0 30px rgba(255,90,31,.35);
  transition: left .9s cubic-bezier(.6,.05,.3,1), transform .25s ease;
}
.g-tx.stopped { animation: shake .4s ease; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(4px); } }
.g-out { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-top: 1px solid var(--seam); min-height: 76px; }
.g-out p { margin: 0; }
.g-out code { color: var(--ember); }
.g-out .verdict { font: 800 22px/1 var(--display); letter-spacing: .03em; }
.verdict.ok { color: var(--ok); }
.verdict.no { color: var(--molten); }
@media (max-width: 760px) {
  .g-track { grid-template-columns: 1fr; grid-template-rows: auto repeat(4, 74px) auto; min-height: 0; padding: 8px 20px; }
  .g-wall { flex-direction: row; justify-content: flex-start; gap: 16px; padding: 0 0 0 60px; text-align: left; }
  .g-wall::before { top: 50%; bottom: auto; left: 0; width: 44px; height: 8px; transform: translateY(-50%); }
  .g-end { justify-content: flex-start; align-items: center; text-align: left; padding: 14px 0; }
  .g-tx { left: auto; right: 20px; top: 20px; margin: 0; width: 40px; height: 40px; transition: top .9s cubic-bezier(.6,.05,.3,1); }
}

/* walls detail */
.walls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--seam); }
.wall { padding: 32px 28px 8px 0; border-right: 1px solid var(--seam); }
.wall + .wall { padding-left: 28px; }
.wall:last-child { border-right: 0; }
.wall .num { font: 800 64px/1 var(--display); color: transparent; -webkit-text-stroke: 1px #4a4742; margin-bottom: 18px; }
.wall h3 { margin-bottom: 12px; }
.wall p { color: #bdb9b2; font-size: 15.5px; }
.wall ul { margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ash); }
.wall li { padding: 7px 0; border-top: 1px solid rgba(255,255,255,.05); }
@media (max-width: 980px) { .walls { grid-template-columns: 1fr 1fr; } .wall:nth-child(2) { border-right: 0; } .wall:nth-child(3) { padding-left: 0; } .wall:nth-child(n+3) { border-top: 1px solid var(--seam); } }
@media (max-width: 560px) { .walls { grid-template-columns: 1fr; } .wall, .wall + .wall { padding-left: 0; border-right: 0; border-top: 1px solid var(--seam); } }

/* steps */
.steps { counter-reset: s; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--seam); }
.steps li::before { content: counter(s); font: 800 44px/1 var(--display); color: var(--molten); }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: #bdb9b2; }

/* code */
pre.code {
  margin: 0; padding: 22px 24px; border-radius: var(--r-l); overflow-x: auto;
  background: #0b0b0d; box-shadow: inset 0 0 0 1px var(--seam);
  font: 13.5px/1.7 var(--mono); color: #d8d4cd;
}
pre.code .k { color: var(--ember); }
pre.code .s { color: #c8e0b8; }
pre.code .c { color: #6c6963; }

/* token */
.token { border-radius: var(--r-l); padding: clamp(28px, 5vw, 56px); background: radial-gradient(80% 120% at 100% 0%, rgba(255,90,31,.18), transparent 60%), var(--slag); box-shadow: inset 0 0 0 1px var(--seam); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.token img { width: clamp(110px, 16vw, 180px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 20px 60px -20px rgba(255,90,31,.6); }
.ca { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.ca-box { flex: 1 1 320px; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--void); box-shadow: inset 0 0 0 1px var(--seam); }
.ca-box code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d8d4cd; }
@media (max-width: 640px) { .token { grid-template-columns: 1fr; } }

/* footer */
footer { padding: 48px 0 40px; border-top: 1px solid var(--seam); color: var(--ash); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--bone); }

/* ───────── console */
.console { padding-block: 40px 100px; }
.c-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.c-head h1 { font-size: clamp(52px, 7vw, 96px); }
.panel { background: var(--slag); border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--seam); padding: 24px; }
.panel h2 { font-size: 30px; margin-bottom: 6px; }
.panel > p.muted { font-size: 15px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 20px; }
label { display: grid; gap: 6px; font-size: 13.5px; color: #bdb9b2; }
input, select {
  width: 100%; min-height: 44px; padding: 0 14px; border-radius: var(--r-s); border: 0;
  background: var(--void); color: var(--bone); font: 15px var(--body);
  box-shadow: inset 0 0 0 1px var(--seam);
}
input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--ember); }
input.mono { font-family: var(--mono); font-size: 13.5px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.row > label { flex: 1 1 200px; }
.stat { padding: 16px 18px; border-radius: var(--r-s); background: var(--void); box-shadow: inset 0 0 0 1px var(--seam); min-width: 0; }
.stat span { display: block; font-size: 12.5px; color: var(--ash); margin-bottom: 6px; }
.stat strong { font: 700 26px/1.1 var(--display); letter-spacing: .02em; overflow-wrap: anywhere; }
.stat .addr { font: 13px/1.4 var(--mono); }
.meter { height: 6px; border-radius: 4px; background: var(--iron); overflow: hidden; margin-top: 10px; }
.meter i { display: block; height: 100%; width: 0; background: var(--heat); transition: width .5s ease; }
.state-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(185,227,198,.1); color: var(--ok); }
.state-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.state-pill.halted { background: rgba(255,90,31,.12); color: var(--molten); }
.halt-btn { min-height: 64px; font-size: 17px; width: 100%; }
.list { display: grid; gap: 8px; }
.item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; padding: 14px 16px; border-radius: var(--r-s); background: var(--void); box-shadow: inset 0 0 0 1px var(--seam); font-size: 14.5px; }
.item code { color: #cfcbc4; overflow-wrap: anywhere; }
.empty { padding: 22px; text-align: center; color: var(--ash); font-size: 14.5px; border-radius: var(--r-s); box-shadow: inset 0 0 0 1px dashed var(--seam); border: 1px dashed var(--seam); }
.wallet-chip { display: inline-flex; align-items: center; gap: 8px; font: 13px var(--mono); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 12px; background: var(--bone); color: var(--void); font-weight: 600; font-size: 14.5px; transition: opacity .2s ease, transform .2s ease; box-shadow: 0 20px 50px -10px rgba(0,0,0,.6); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--molten); color: #160800; }
.hidden { display: none !important; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button { border: 0; background: transparent; color: var(--ash); font: 600 14.5px var(--body); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--iron); color: var(--bone); box-shadow: inset 0 0 0 1px var(--seam); }
.note { font-size: 13.5px; color: var(--ash); margin-top: 10px; }

/* docs */
.doc { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding-block: 48px 120px; }
.doc aside { position: sticky; top: 92px; align-self: start; display: grid; gap: 10px; font-size: 15px; }
.doc aside a { text-decoration: none; color: var(--ash); }
.doc aside a:hover { color: var(--bone); }
.doc article h2 { font-size: clamp(38px, 4.4vw, 56px); margin: 72px 0 20px; scroll-margin-top: 90px; }
.doc article h2:first-child { margin-top: 0; }
.doc article h3 { margin: 32px 0 10px; font-size: 26px; }
.doc article pre { margin: 18px 0 24px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 16px 0 24px; }
.doc th, .doc td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--seam); vertical-align: top; }
.doc th { color: var(--ash); font-weight: 500; }
.doc td code { color: var(--ember); }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } .doc aside { position: static; grid-auto-flow: column; overflow-x: auto; } .doc table { display: block; overflow-x: auto; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ───────── sandbox */
.missions { margin-bottom: 20px; padding: 18px 20px; border-radius: var(--r-l); background: var(--slag); box-shadow: inset 0 0 0 1px var(--seam); }
.m-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.m-head strong { font: 800 22px/1 var(--display); letter-spacing: .02em; }
.m-head span { font: 600 14px var(--body); color: var(--ash); }
.m-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: m; }
.m-list li { counter-increment: m; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--void); box-shadow: inset 0 0 0 1px var(--seam); font-size: 14px; color: #bdb9b2; transition: background .3s ease, color .3s ease; }
.m-list li::before { content: counter(m); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--iron); font: 700 12px var(--body); color: var(--ash); }
.m-list li.ok { background: rgba(185,227,198,.1); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(185,227,198,.25); }
.m-list li.ok::before { content: "✓"; background: var(--ok); color: var(--void); }
.m-list li.pop { animation: pop .6s ease; }
@keyframes pop { 40% { transform: scale(1.06); } }
.done { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; background: radial-gradient(70% 140% at 100% 0%, rgba(255,90,31,.2), transparent 60%), var(--slag); }
.sb-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.sb-grid > .panel { min-width: 0; }
@media (max-width: 960px) { .sb-grid { grid-template-columns: 1fr; } }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.presets button { font: 500 14px/1.2 var(--body); color: var(--bone); background: var(--iron); border: 0; border-radius: 999px; padding: 11px 16px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--seam); transition: background .15s ease; }
.presets button:hover { background: #26262b; }
.presets button:active { background: var(--bone); color: var(--void); }
.custom { margin-top: 18px; border-top: 1px solid var(--seam); padding-top: 14px; }
.custom summary { cursor: pointer; font-weight: 600; font-size: 15px; color: #cfcbc4; }
select { width: 100%; min-height: 44px; padding: 0 12px; border-radius: var(--r-s); border: 0; background: var(--void); color: var(--bone); font: 14px var(--body); box-shadow: inset 0 0 0 1px var(--seam); }
label.check { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; min-height: 44px; }
label.check input { width: 18px; min-height: 18px; accent-color: var(--molten); }
.rogue { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; padding: 18px; border-radius: var(--r-s); background: linear-gradient(90deg, rgba(255,90,31,.12), transparent 70%), var(--void); box-shadow: inset 0 0 0 1px rgba(255,90,31,.25); }
.clock { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: var(--r-s); background: var(--void); box-shadow: inset 0 0 0 1px var(--seam); }
.clock strong { display: block; font: 700 22px/1.1 var(--display); letter-spacing: .02em; }
.log { display: grid; gap: 8px; margin-top: 14px; max-height: 460px; overflow-y: auto; padding-right: 4px; }
.entry { padding: 12px 14px; border-radius: var(--r-s); background: var(--void); box-shadow: inset 0 0 0 1px var(--seam); border-left: 3px solid var(--seam); animation: in .25s ease; }
@keyframes in { from { opacity: 0; transform: translateY(-4px); } }
.entry.landed { border-left-color: var(--ok); }
.entry.held { border-left-color: var(--ember); }
.entry.refused { border-left-color: var(--molten); }
.entry.summary { border-left-color: var(--bone); background: var(--iron); }
.e-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.e-time { font: 12px var(--mono); color: var(--ash); }
.e-label { flex: 1; font-weight: 600; font-size: 14.5px; min-width: 0; }
.e-badge { font-size: 12.5px; font-weight: 600; }
.landed .e-badge { color: var(--ok); }
.held .e-badge { color: var(--ember); }
.refused .e-badge { color: var(--molten); }
.e-code { display: block; margin-top: 6px; color: var(--ember); font-size: 12.5px; overflow-wrap: anywhere; }
.e-detail { margin-top: 4px; font-size: 13.5px; color: #bdb9b2; }
.toggles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.tog { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-s); background: var(--void); box-shadow: inset 0 0 0 1px var(--seam); cursor: pointer; color: var(--bone); }
.tog input { width: 18px; min-height: 18px; accent-color: var(--molten); flex: none; }
.tog strong { display: block; font-size: 14.5px; }
.tog small { display: block; color: var(--ash); font-size: 12.5px; }
.tog:has(input:checked) { box-shadow: inset 0 0 0 1px rgba(255,143,82,.45); }

/* ───────── next-step routing (end of pages) */
.next { margin-top: clamp(56px, 8vw, 100px); }
.next h2 { margin-bottom: 24px; }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.path { display: block; padding: 22px 22px 24px; border-radius: var(--r-l); background: var(--slag); box-shadow: inset 0 0 0 1px var(--seam); text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
.path:hover { box-shadow: inset 0 0 0 1px var(--ember); transform: translateY(-2px); }
.path strong { display: block; font: 800 28px/1 var(--display); letter-spacing: .01em; margin-bottom: 10px; }
.path span { color: #bdb9b2; font-size: 15px; }
.path.primary { background: radial-gradient(90% 120% at 100% 0%, rgba(255,90,31,.25), transparent 60%), var(--slag); box-shadow: inset 0 0 0 1px rgba(255,90,31,.35); }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }

/* faq */
.faq { border-top: 1px solid var(--seam); }
.faq details { border-bottom: 1px solid var(--seam); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 800 26px/1.05 var(--display); letter-spacing: .01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--molten); font-size: 30px; line-height: .8; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #bdb9b2; padding-bottom: 20px; margin: 0; }
.g-more { padding: 0 20px 18px; font-size: 15px; }
.g-more a { color: var(--ember); }
.live-stat { display: inline-flex; gap: 10px; align-items: baseline; margin-top: 26px; font-size: 14.5px; color: var(--ash); }
.live-stat strong { font: 800 26px/1 var(--display); color: var(--bone); }
/* keep the hero CTA above the fold */
.hero h1 { font-size: clamp(60px, min(8.2vw, 13.5vh), 132px); margin-bottom: 22px; }
.hero .wrap { padding-block: 40px; }
.hero .cta { margin-top: 26px; }
@media (max-width: 900px) { .orb { max-width: 220px; margin-bottom: -20px; } .hero .wrap { padding-block: 20px 48px; } }

.orb img { width: 100%; height: 100%; object-fit: contain; animation: drift 14s ease-in-out infinite; }
@keyframes drift { 50% { transform: translateY(-10px) rotate(-3deg); } }

/* ───────── motion */

.chrome-text { background-size: 100% 220%; animation: sheen 7s ease-in-out infinite; }
@keyframes sheen { 0%, 100% { background-position: 50% 0%; } 50% { background-position: 50% 100%; } }

.js-motion .hero h1 > span { display: block; opacity: 0; transform: translateY(40px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.js-motion .hero h1 > span:nth-child(2) { animation-delay: .12s; }
.js-motion .hero h1 > span:nth-child(3) { animation-delay: .24s; }
.js-motion .hero .lede, .js-motion .hero .cta, .js-motion .hero .cta + p { opacity: 0; animation: rise .8s .45s cubic-bezier(.2,.7,.2,1) forwards; }
.js-motion .hero .cta { animation-delay: .6s; }
.js-motion .hero .cta + p { animation-delay: .75s; }
.js-motion .orb { opacity: 0; animation: orbIn 1.4s .1s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes orbIn { from { opacity: 0; transform: scale(.85) rotate(-8deg); } to { opacity: 1; transform: none; } }
.orb { transition: transform .4s ease-out; will-change: transform; }
.hero-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 1; left: 0; top: 0; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255,90,31,.14), transparent 70%); transition: opacity .3s ease; opacity: 0; }
.hero:hover .hero-glow { opacity: 1; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.wall .num { transition: color .6s ease, -webkit-text-stroke-color .6s ease; }
.wall.in .num, .wall:hover .num { color: var(--molten); -webkit-text-stroke-color: var(--molten); }
.wall:nth-child(2) { transition-delay: .08s; } .wall:nth-child(3) { transition-delay: .16s; } .wall:nth-child(4) { transition-delay: .24s; }
.btn.heat { position: relative; overflow: hidden; }
.btn.heat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: glint 4.5s ease-in-out infinite; }
@keyframes glint { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.token img { animation: spinSlow 30s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .js-motion .hero h1 > span, .js-motion .hero .lede, .js-motion .hero .cta, .js-motion .hero .cta + p, .js-motion .orb { opacity: 1; transform: none; }
}

.nav-x { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; text-decoration: none; font: 700 16px var(--body); color: var(--bone); box-shadow: inset 0 0 0 1px var(--seam); }
.nav-x:hover { box-shadow: inset 0 0 0 1px var(--ash); }
.hero-ca { display: flex; align-items: center; gap: 12px; max-width: 520px; margin-top: 22px; padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(6,6,7,.7); box-shadow: inset 0 0 0 1px var(--seam); }
.hero-ca-lab { font: 700 12px var(--body); letter-spacing: .08em; color: var(--molten); }
.hero-ca code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d8d4cd; font-size: 13.5px; }
.nav .btn { white-space: nowrap; }
@media (max-width: 420px) { .nav-links { gap: 10px; } .nav .btn.sm { padding: 0 12px; } .brand { font-size: 20px; } }
