/* Glassbox: an instrument panel. Dark, quiet surfaces; color only carries meaning
   (mint = verified / approved, amber = waiting on a human, blue = model, violet = human override). */
:root {
  --bg: #0a0c0d; --bg2: #0e1113; --panel: #12161a; --panel2: #171c20; --line: #222a2f; --line2: #2d363c;
  --ink: #e7ede9; --muted: #8d9a95; --dim: #5d6965;
  --mint: #9ef0c9; --mint-d: #1d3a2f; --amber: #ffc56b; --amber-d: #3a2c14; --red: #ff8070; --red-d: #3b1c18;
  --blue: #93b9ff; --blue-d: #17253d; --violet: #c9adff; --violet-d: #2a2140;
  --display: "Space Grotesk", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 14px; --gut: 16px; --max: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; min-height: 100dvh; display: flex; flex-direction: column; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--mint); color: #08110d; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: 6px; }
.mono, code, .hash { font-family: var(--mono); font-size: .86em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 12px var(--gut); padding-top: max(12px, env(safe-area-inset-top)); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -.01em; color: var(--ink); }
.brand .logo { width: 26px; height: 26px; color: var(--mint); }
.brand.small { font-size: 15px; } .brand.small .logo { width: 20px; height: 20px; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 14px; }
.nav a:hover { color: var(--ink); background: var(--panel); }
.nav a.on { color: var(--ink); background: var(--panel2); }
.nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.badge { position: absolute; top: 3px; right: 4px; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: var(--amber); color: #1d1405; font: 700 10.5px/17px var(--mono); font-style: normal; text-align: center; }
@media (max-width: 720px) {
  .top { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; padding: 6px 8px; padding-bottom: max(6px, env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg2) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); justify-content: space-around; z-index: 30; }
  .nav a { flex-direction: column; gap: 3px; font-size: 11px; padding: 6px 10px; flex: 1; }
  .nav a.on { background: none; color: var(--mint); }
  .nav svg { width: 21px; height: 21px; }
  .badge { top: 1px; right: calc(50% - 22px); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

main { flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); outline: none; }
.foot { border-top: 1px solid var(--line); margin-top: 64px; }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 22px var(--gut); display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 13px; }
.foot-links { display: flex; gap: 14px; margin-left: auto; }
.foot-links a { color: var(--muted); text-decoration: none; } .foot-links a:hover { color: var(--ink); }

/* ---------- shared atoms ---------- */
.eyebrow { font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(24px, 4vw, 32px); line-height: 1.12; }
h3 { font-size: 17px; letter-spacing: -.01em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel2); color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; cursor: pointer; transition: border-color .15s, background .15s, transform .1s; white-space: nowrap; }
.btn:hover { border-color: var(--muted); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--mint); color: #07120d; border-color: var(--mint); }
.btn.primary:hover { background: #b6f6d7; }
.btn.amber { background: var(--amber); color: #1d1405; border-color: var(--amber); }
.btn.danger { border-color: color-mix(in srgb, var(--red) 55%, transparent); color: var(--red); background: transparent; }
.btn.violet { border-color: color-mix(in srgb, var(--violet) 55%, transparent); color: var(--violet); background: transparent; }
.btn.ghost { background: transparent; }
.btn.sm { min-height: 34px; padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { background: none; border: 0; padding: 0; color: var(--mint); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; font: 500 11.5px/1.4 var(--mono); border: 1px solid var(--line2); color: var(--muted); white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.nodot::before { display: none; }
.chip.auto_logged { color: var(--muted); }
.chip.awaiting_human { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 40%, transparent); background: color-mix(in srgb, var(--amber) 8%, transparent); }
.chip.approved { color: var(--mint); border-color: color-mix(in srgb, var(--mint) 40%, transparent); }
.chip.rejected { color: var(--red); border-color: color-mix(in srgb, var(--red) 40%, transparent); }
.chip.overridden { color: var(--violet); border-color: color-mix(in srgb, var(--violet) 40%, transparent); }
.chip.expired { color: var(--dim); }
.chip.model { color: var(--blue); } .chip.rules { color: var(--muted); }
.chip.ok { color: var(--mint); } .chip.wait { color: var(--amber); } .chip.bad { color: var(--red); }
.risk-low { color: var(--muted); } .risk-medium { color: var(--amber); } .risk-high, .risk-critical { color: var(--red); }
.action { font: 600 12.5px/1 var(--mono); letter-spacing: .02em; padding: 5px 8px; border-radius: 7px; background: var(--panel2); border: 1px solid var(--line2); white-space: nowrap; }
.action.quiet { color: var(--muted); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(158, 240, 201, .6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(158, 240, 201, 0); } 100% { box-shadow: 0 0 0 0 rgba(158, 240, 201, 0); } }
.skeleton { background: linear-gradient(90deg, var(--panel) 0%, var(--panel2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 10px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { padding: 36px 20px; text-align: center; color: var(--muted); }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 14px; margin: 22px 0 10px; }
.back:hover { color: var(--ink); }
.page-head { padding: 34px 0 18px; display: grid; gap: 10px; }
.page-head p { margin: 0; color: var(--muted); max-width: 62ch; }

/* ---------- landing ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: center; min-height: calc(100dvh - 140px); padding: 40px 0 30px; }
.hero h1 { font-size: clamp(40px, 6.6vw, 76px); line-height: .98; letter-spacing: -.035em; margin: 16px 0 18px; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lede { font-size: clamp(16px, 1.6vw, 18.5px); color: #b9c4bf; max-width: 50ch; margin: 0 0 26px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; font-size: 13px; color: var(--muted); }
.hero .facts b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.rig { position: relative; padding: 18px; border-radius: 20px; background: radial-gradient(120% 90% at 80% 0%, rgba(158, 240, 201, .07), transparent 60%), var(--panel); border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.rig-head { display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); color: var(--muted); padding: 2px 4px 14px; border-bottom: 1px dashed var(--line2); }
.rig-head a { margin-left: auto; color: var(--mint); text-decoration: none; }
.stages { list-style: none; margin: 0; padding: 12px 0 0; display: grid; gap: 0; }
.stage { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; position: relative; padding: 9px 4px; }
.stage::before { content: ""; position: absolute; left: 20px; top: 38px; bottom: -10px; width: 2px; background: var(--line2); }
.stage:last-child::before { display: none; }
.stage .dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--panel2); border: 1px solid var(--line2); color: var(--muted); font: 600 12px var(--mono); position: relative; z-index: 1; transition: all .4s; }
.stage.lit .dot { color: #07120d; background: var(--mint); border-color: var(--mint); box-shadow: 0 0 22px -4px rgba(158, 240, 201, .7); }
.stage.lit.amber .dot { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 22px -4px rgba(255, 197, 107, .7); }
.stage.lit::before { background: linear-gradient(var(--mint), var(--line2)); }
.stage b { display: block; font: 600 14.5px/1.3 var(--display); }
.stage span { display: block; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.stage span code { color: var(--ink); }
.rig-foot { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line2); font-size: 13px; }
.rig-foot .hash { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }

.section { padding: 64px 0 8px; }
.section > .head { display: grid; gap: 10px; margin-bottom: 26px; max-width: 64ch; }
.section > .head p { margin: 0; color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.agent-card { padding: 20px; display: grid; gap: 12px; align-content: start; text-decoration: none; transition: border-color .15s, transform .15s; }
.agent-card:hover { border-color: var(--line2); transform: translateY(-2px); }
.agent-card .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.agent-card p { margin: 0; color: var(--muted); font-size: 14px; }
.menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.menu li { display: flex; justify-content: space-between; gap: 10px; align-items: center; font: 500 12px/1.3 var(--mono); }
.menu li .gate { font-size: 11px; color: var(--muted); }
.menu li .gate.h { color: var(--amber); }
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; counter-reset: s; }
.pipeline > div { padding: 16px; position: relative; }
.pipeline > div::before { counter-increment: s; content: "0" counter(s); font: 500 11px var(--mono); color: var(--mint); display: block; margin-bottom: 10px; }
.pipeline p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }
.nongoals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.nongoals li { padding: 14px 16px 14px 46px; position: relative; color: #c3ccc8; font-size: 14.5px; }
.nongoals li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%; border: 1.6px solid var(--red); background: linear-gradient(45deg, transparent 45%, var(--red) 45%, var(--red) 55%, transparent 55%); }
.nongoals li b { color: var(--ink); font-weight: 600; }
.verify-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; padding: 26px; align-items: center; }
.verify-band > * { min-width: 0; }
.verify-band pre { margin: 0; padding: 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font: 12px/1.6 var(--mono); color: #b9c4bf; overflow-x: auto; white-space: pre; }
.token-band { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; padding: 22px 24px; }
.token-band .ca { font: 500 13px var(--mono); padding: 9px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line2); overflow-wrap: anywhere; cursor: pointer; }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 30px; padding-top: 28px; }
  .grid3, .pipeline { grid-template-columns: minmax(0, 1fr); }
  .pipeline { gap: 8px; }
  .grid2, .nongoals, .verify-band { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- console ---------- */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.stat { padding: 14px 16px; }
.stat b { display: block; font: 600 24px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); }
.stat.amber b { color: var(--amber); } .stat.mint b { color: var(--mint); } .stat.violet b { color: var(--violet); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); overflow-x: auto; max-width: 100%; }
.seg button { border: 0; background: none; padding: 7px 12px; border-radius: 9px; font-size: 13px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg button.on { background: var(--panel2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
select.sel { appearance: none; background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238d9a95' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; border: 1px solid var(--line); color: var(--ink); border-radius: 12px; padding: 9px 32px 9px 12px; font: inherit; font-size: 13px; }
.toggle { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); cursor: pointer; margin-left: auto; }
.toggle input { accent-color: var(--mint); width: 16px; height: 16px; }
.feed { display: grid; gap: 8px; }
.run { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; text-decoration: none; transition: border-color .15s, background .15s; }
.run:hover { border-color: var(--line2); background: var(--panel2); }
.run.new { animation: flash 1.6s ease-out; }
@keyframes flash { from { box-shadow: 0 0 0 1px var(--mint), 0 0 30px -8px rgba(158, 240, 201, .5); } to { box-shadow: none; } }
.run .id { font: 500 12px var(--mono); color: var(--dim); }
.run .id b { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.run .main { min-width: 0; display: grid; gap: 6px; }
.run .hl { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.run .sub { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12.5px; color: var(--muted); }
.run .right { display: grid; justify-items: end; gap: 6px; }
.onchain { font: 500 11px var(--mono); color: var(--dim); display: inline-flex; gap: 5px; align-items: center; }
.onchain.ok { color: var(--mint); }
.onchain svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .stat:last-child { grid-column: span 2; }
  .run { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .run .id { display: flex; gap: 8px; align-items: baseline; } .run .id b { display: inline; }
  .run .right { justify-items: start; grid-auto-flow: column; justify-content: start; }
  .run .hl { white-space: normal; }
  .toggle { margin-left: 0; }
}

/* ---------- trace viewer ---------- */
.trace-head { display: grid; gap: 12px; padding: 4px 0 20px; }
.trace-head .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.trace-head h1 { font-size: clamp(24px, 4vw, 36px); line-height: 1.12; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.layout > * { min-width: 0; }
.layout .side { position: sticky; top: 76px; display: grid; gap: 14px; }
@media (max-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr); } .layout .side { position: static; } }
.panel { padding: 18px; }
.panel > h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.panel > h3 small { margin-left: auto; font: 400 12px var(--body); color: var(--muted); letter-spacing: 0; }
.stack { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.stack > *, .side > * { min-width: 0; }
.decision { display: grid; gap: 14px; }
.decision .dtop { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.decision p { margin: 0; color: #c9d2ce; }
.conf { display: grid; gap: 6px; }
.conf .bar { height: 6px; border-radius: 6px; background: var(--panel2); overflow: hidden; }
.conf .bar i { display: block; height: 100%; background: var(--blue); border-radius: 6px; }
.conf .lbl { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.evidence { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.evidence li { display: grid; grid-template-columns: minmax(110px, 160px) minmax(0, 1fr); gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); font-size: 14px; }
.evidence li code { color: var(--mint); overflow-wrap: anywhere; }
.counter { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.counter li { padding-left: 18px; position: relative; color: #c3ccc8; font-size: 14px; }
.counter li::before { content: "↺"; position: absolute; left: 0; color: var(--amber); }
@media (max-width: 560px) { .evidence li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
details.fold { border-top: 1px solid var(--line); }
details.fold:first-of-type { border-top: 0; }
details.fold > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 0; font-weight: 600; font-size: 14px; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after { content: "+"; margin-left: auto; font: 400 18px var(--mono); color: var(--muted); }
details.fold[open] > summary::after { content: "–"; }
.thinking { white-space: pre-wrap; font-size: 14px; color: #b9c4bf; padding: 14px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); border-left: 3px solid var(--blue); max-height: 420px; overflow: auto; margin-bottom: 12px; }
.tbl-wrap { overflow-x: auto; margin: 0 -2px 12px; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font: 500 11px var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td.wrap { white-space: normal; min-width: 160px; }
.tbl tr.hot td { background: color-mix(in srgb, var(--amber) 6%, transparent); }
.up { color: var(--mint); } .down { color: var(--red); }
.sev { font: 600 11px var(--mono); text-transform: uppercase; }
.sev.critical, .sev.high { color: var(--red); } .sev.medium { color: var(--amber); } .sev.low, .sev.info { color: var(--muted); }
.timeline { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.timeline li { display: grid; grid-template-columns: 60px minmax(0, 1fr) 70px; gap: 10px; align-items: center; font-size: 13px; padding: 5px 0; }
.timeline .t { font: 500 11.5px var(--mono); color: var(--dim); }
.timeline .s { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline .s.err { color: var(--red); }
.timeline .ms { display: grid; gap: 3px; font: 500 11px var(--mono); color: var(--muted); text-align: right; }
.timeline .ms i { display: block; height: 3px; border-radius: 3px; background: var(--blue); justify-self: end; min-width: 2px; }
.kv { display: grid; grid-template-columns: minmax(110px, 150px) minmax(0, 1fr); gap: 8px 14px; font-size: 13px; margin: 0 0 12px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-family: var(--mono); font-size: 12.5px; overflow-wrap: anywhere; }
pre.json { margin: 0 0 12px; padding: 14px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); font: 12px/1.55 var(--mono); color: #b9c4bf; overflow: auto; max-height: 420px; white-space: pre-wrap; overflow-wrap: anywhere; }
.integrity { display: grid; gap: 12px; }
.integrity .h { font: 500 12px/1.5 var(--mono); overflow-wrap: anywhere; color: var(--ink); padding: 10px 12px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); }
.integrity .lbl { font-size: 12px; color: var(--muted); margin-bottom: 4px; display: block; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: 13px; }
.checks li .ic { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--mono); }
.checks li.ok .ic { background: var(--mint-d); color: var(--mint); }
.checks li.bad .ic { background: var(--red-d); color: var(--red); }
.checks li.na .ic { background: var(--amber-d); color: var(--amber); }
.checks li small { display: block; font: 11.5px/1.45 var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.verdict { padding: 12px 14px; border-radius: 12px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.verdict.ok { background: var(--mint-d); color: var(--mint); }
.verdict.bad { background: var(--red-d); color: var(--red); }
.gatebox { padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line2); font-size: 14px; display: grid; gap: 6px; }
.gatebox.held { border-color: color-mix(in srgb, var(--amber) 50%, transparent); background: color-mix(in srgb, var(--amber) 5%, transparent); }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reviews li { padding: 12px 14px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); display: grid; gap: 6px; font-size: 14px; }
.reviews li .who { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); }
.reviews li q { color: #d4dcd8; quotes: "“" "”"; }

/* ---------- decide box (operator) ---------- */
.decide { display: grid; gap: 12px; }
.decide textarea, .field { width: 100%; background: var(--bg2); border: 1px solid var(--line2); border-radius: 12px; color: var(--ink); padding: 11px 13px; font: 15px/1.45 var(--body); resize: vertical; }
.decide textarea:focus, .field:focus { outline: none; border-color: var(--mint); }
.decide .acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.decide .ov { display: grid; gap: 8px; }
.queue { display: grid; gap: 12px; }
.qitem { padding: 16px; display: grid; gap: 12px; }
.qitem .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qitem .hl { font: 600 16px/1.35 var(--display); }
.qitem p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- ledger ---------- */
.chainlist { display: grid; gap: 0; }
.link-row { display: grid; grid-template-columns: 64px 74px minmax(0, 1fr) 110px; gap: 12px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 13px; text-decoration: none; }
.link-row:hover { background: var(--panel2); }
.link-row .hash { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c3ccc8; }
.link-row .hash small { display: block; color: var(--dim); }
.link-row.broken { background: var(--red-d); }
@media (max-width: 640px) { .link-row { grid-template-columns: 48px minmax(0, 1fr) 86px; } .link-row .kind { display: none; } }

/* ---------- sheets / login ---------- */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(4, 6, 6, .66); backdrop-filter: blur(4px); display: grid; align-items: end; justify-items: center; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: min(480px, 100%); max-height: 92dvh; overflow: auto; background: var(--panel); border: 1px solid var(--line2); border-radius: 22px 22px 0 0; padding: 22px var(--gut) calc(26px + env(safe-area-inset-bottom)); display: grid; gap: 16px; animation: up .25s cubic-bezier(.2, .9, .3, 1); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 640px) { .scrim { align-items: center; } .sheet { border-radius: 22px; padding: 28px; } }
.sheet .head { display: flex; gap: 12px; align-items: start; }
.sheet .head h2 { font-size: 24px; }
.sheet .head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.sheet .x { margin-left: auto; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel2); cursor: pointer; flex: none; }
.auth-form { display: grid; gap: 10px; }
.auth-label { font-size: 13px; color: var(--muted); }
.auth-input { width: 100%; font-size: 18px; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line2); background: var(--bg2); color: var(--ink); }
.auth-input:focus { outline: none; border-color: var(--mint); }
.code-input { text-align: center; letter-spacing: .5em; font: 600 26px var(--mono); }
.auth-err { margin: 0; color: var(--red); font-size: 13.5px; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 12px; } .auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
.sheet .btn { width: 100%; min-height: 52px; font-size: 15.5px; }
#toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 60; padding: 11px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px; transition: all .25s; max-width: calc(100% - 32px); text-align: center; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 721px) { #toast { bottom: 28px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* =====================================================================
   Glass layer (3D canvas behind, translucent UI in front)
   ===================================================================== */
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; transition: opacity .6s; }
body { background: radial-gradient(120% 70% at 75% -10%, #10201a 0%, transparent 55%), radial-gradient(90% 60% at -10% 110%, #141026 0%, transparent 60%), var(--bg); background-attachment: fixed; }
.top, main, .foot { position: relative; z-index: 2; }
.top { z-index: 20; }
#progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--mint), #c9fff0 60%, var(--amber)); z-index: 40; pointer-events: none; }
.card { background: rgba(17, 21, 25, .78); border-color: rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.glass { position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015) 40%, rgba(158, 240, 201, .025)), rgba(14, 18, 21, .62); border: 1px solid rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 20px 50px -30px rgba(0, 0, 0, .9); }
@media (min-width: 721px) {
  .glass, .card { -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
  .feed .card, .chainlist { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(158, 240, 201, .35), rgba(255, 255, 255, .04) 35%, rgba(255, 255, 255, 0) 60%, rgba(201, 173, 255, .22)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

/* tilt + glare */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .25s ease, border-color .2s; transform-style: preserve-3d; will-change: transform; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(158, 240, 201, .10), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tilt:hover::after { opacity: 1; }
.magnetic { transition: transform .25s cubic-bezier(.2, .9, .3, 1.3), background .15s; }

/* reveals */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), transform .9s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), filter .9s var(--d, 0s); }
.js-reveal .reveal.in { opacity: 1; transform: none; filter: none; }
.split .w { display: inline-block; }
.js-reveal .split .w { opacity: 0; transform: translateY(.45em) rotateX(-40deg); transform-origin: 50% 100%; transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 90ms + 80ms); }
.js-reveal .split.in .w { opacity: 1; transform: none; }
.shimmer { background: linear-gradient(100deg, var(--mint) 0%, #e9fff6 22%, var(--mint) 44%, #8fe3ff 70%, var(--mint) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); min-height: calc(100svh - 64px); align-items: center; padding: 30px 0 70px; position: relative; }
.hero-copy { max-width: 600px; }
.hero h1 { font-size: clamp(46px, 7.4vw, 96px); text-shadow: 0 10px 40px rgba(0, 0, 0, .5); perspective: 600px; }
.hero .lede { color: #c2ccc7; text-shadow: 0 2px 20px rgba(0, 0, 0, .8); }
.live-strip { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 9px 14px; border-radius: 99px; background: rgba(14, 18, 21, .66); border: 1px solid rgba(158, 240, 201, .2); font-size: 13px; color: var(--muted); text-decoration: none; max-width: 100%; }
.live-strip .ls-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.live-strip b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.live-strip code { color: var(--mint); }
.live-strip:hover { border-color: rgba(158, 240, 201, .5); color: var(--ink); }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .25); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--mint); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 720px) {
  .hero { min-height: 0; padding-top: 37vh; align-items: end; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .scroll-cue { display: none; }
  .facts span { flex: 0 0 auto; }
}
/* no 3D (WebGL unavailable): bring back a static visual for the hero */
html:not(.has-3d) .hero { background: radial-gradient(50% 50% at 78% 45%, rgba(158, 240, 201, .12), transparent 70%); }

/* loop */
.loop-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; margin-bottom: 26px; }
.loop-space { min-height: 360px; }
@media (max-width: 900px) { .loop-grid { grid-template-columns: minmax(0, 1fr); } .loop-space { min-height: 0; display: none; } }
@media (max-width: 720px) { html.has-3d .loop-space { display: block; order: -1; min-height: 190px; } html.has-3d .loop { padding-top: 40px; } }
.rig.glass { background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01) 40%), rgba(13, 17, 20, .72); }
.section { padding-top: 110px; }
.section > .head h2 { font-size: clamp(28px, 4.4vw, 46px); }
.pipeline > div { overflow: hidden; }
.pipeline > div h3 { font-size: 19px; }
.agent-card { position: relative; overflow: hidden; }
.agent-card h3 { font-size: 21px; }
.nongoals li { overflow: hidden; }
.finale { padding-bottom: 40px; }
.finale .token-band { padding: clamp(24px, 4vw, 44px); gap: 24px 40px; }
.run { position: relative; overflow: hidden; }
.run::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: transparent; transition: background .2s; }
.run:hover::before { background: var(--mint); }
.btn.primary { box-shadow: 0 0 0 0 rgba(158, 240, 201, 0), 0 10px 30px -10px rgba(158, 240, 201, .55); }
.btn.primary:hover { box-shadow: 0 0 0 4px rgba(158, 240, 201, .12), 0 14px 40px -10px rgba(158, 240, 201, .7); }
.page-head h2 { font-size: clamp(30px, 5vw, 48px); }
body[data-page="inner"] .page-head, body[data-page="inner"] .trace-head { text-shadow: 0 2px 24px rgba(0, 0, 0, .7); }
@media (prefers-reduced-motion: reduce) { .js-reveal .reveal, .js-reveal .split .w { opacity: 1 !important; transform: none !important; filter: none !important; } .shimmer { animation: none; } }
.feed .card.run { background: rgba(15, 19, 22, .9); }
.feed .card.run:hover { background: rgba(22, 27, 31, .94); }
.chainlist { background: rgba(15, 19, 22, .9); }

/* =====================================================================
   v3 · Provenance: black, liquid metal, serif italics, masked entrances
   ===================================================================== */
html, body { background: #000 !important; color: #fff; }
:root { --bg: #000; --bg2: #070707; --panel: #0b0b0c; --panel2: #121214; --line: rgba(255,255,255,.1); --line2: rgba(255,255,255,.16); --ink: #fff; --muted: #9a9a9a; --dim: #5f5f63;
  --display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --serif: "Instrument Serif", "Times New Roman", Times, serif; }
body { background: #000 !important; font-family: var(--body); letter-spacing: -0.011em; text-rendering: optimizeLegibility; }
h1, h2, h3, .brand { font-family: var(--display); font-weight: 500; letter-spacing: -0.045em; }
h2 em, h1 em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.03em; color: var(--muted); }
.grain { position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
#gl { opacity: 1; }
.eyebrow { color: var(--muted); font-family: var(--body); font-weight: 400; letter-spacing: -0.01em; text-transform: none; font-size: 13px; }

/* header: logo · liquid-metal pills · CTA */
.top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 22px 40px 10px; background: transparent !important; border: 0; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; position: sticky; top: 0; }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#000 0%, rgba(0,0,0,.7) 60%, transparent); pointer-events: none; }
.brand { font-size: 15.5px; font-weight: 600; letter-spacing: -0.03em; gap: 9px; justify-self: start; }
.brand .logo { color: #fff; width: 22px; height: 22px; }
.nav { margin: 0; justify-self: center; gap: 8px; display: flex; }
.nav .pill { position: relative; overflow: hidden; height: 40px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 7px; border: 1px solid rgba(198,198,198,.55); background: linear-gradient(105deg, #050505 0%, #2a2a2a 48%, #4a4a4a 100%); color: #f3f3f3; font-size: 14px; font-weight: 400; letter-spacing: -0.01em; white-space: nowrap; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; flex-direction: row; gap: 6px; }
.nav .pill::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.16) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s ease; }
.nav .pill:hover::before { transform: translateX(120%); }
.nav .pill:hover, .nav .pill.on { border-color: rgba(235,235,235,.9); background: linear-gradient(105deg, #111 0%, #3a3a3a 45%, #6a6a6a 100%); box-shadow: 0 0 18px rgba(200,210,230,.18); color: #fff; }
.nav .pill .badge { position: static; margin-left: 2px; }
.top-right { justify-self: end; display: flex; gap: 8px; align-items: center; }
.burger { display: none; width: 42px; height: 42px; border-radius: 6px; border: 1px solid var(--line2); background: rgba(8,8,8,.55); place-items: center; align-content: center; gap: 5px; cursor: pointer; z-index: 60; }
.burger span { display: block; width: 16px; height: 1.5px; background: #fff; border-radius: 1px; transition: transform .25s, opacity .2s; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.menu-backdrop { display: none; }

/* liquid-glass buttons */
.btn { position: relative; isolation: isolate; overflow: hidden; height: 40px; min-height: 0; padding: 0 16px; border-radius: 6px; font-size: 13.5px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; transition: background .35s, border-color .35s, box-shadow .35s, color .35s, filter .35s, transform .25s; background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(0,0,0,.45) 50%, rgba(160,175,200,.08)); color: #fff; border: 1px solid rgba(198,198,198,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.45) 48%, transparent 76%); transform: translateX(-130%); transition: transform .65s ease; pointer-events: none; }
.btn:hover::after { transform: translateX(130%); }
.btn:hover { border-color: rgba(220,230,255,.75); background: linear-gradient(135deg, rgba(210,225,255,.18), rgba(0,0,0,.35) 48%, rgba(180,195,220,.16)); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 20px rgba(170,200,255,.22); }
.btn.primary, .btn-solid { background: linear-gradient(180deg, #fff 0%, #e7e7e7 48%, #cfcfcf 100%); color: #111; border: 1px solid #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.95); }
.btn.primary:hover, .btn-solid:hover { background: linear-gradient(180deg, #fff 0%, #f3f6ff 42%, #d5def2 100%); border-color: #f2f6ff; box-shadow: inset 0 1px 0 #fff, 0 0 22px rgba(186,208,255,.35), 0 8px 18px rgba(255,255,255,.12); color: #111; }
.btn.ghost { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn.sm { height: 34px; }
.sheet .btn { height: 52px; }

/* hero: bottom-centered copy over the 3D scene */
.hero { display: flex !important; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; min-height: calc(100svh - 72px); padding: 0 0 28px; }
.hero-copy { max-width: 860px; display: flex; flex-direction: column; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 9px 15px; border-radius: 5px; background: linear-gradient(90deg, #7d7d7d 0%, #2a2a2a 52%, #0a0a0a 100%); color: #f2f2f2; font-size: 12.5px; letter-spacing: -0.01em; }
.hero-badge svg { width: 18px; height: 20px; filter: drop-shadow(0 0 3px rgba(255,255,255,.45)); animation: in-star .9s cubic-bezier(.16,1,.3,1) .28s both; }
.hero h1 { font-size: clamp(34px, 4vw, 58px); line-height: 1.12; letter-spacing: -0.045em; font-weight: 500; margin: 0; display: flex; flex-direction: column; align-items: center; text-shadow: 0 6px 40px rgba(0,0,0,.6); }
.headline-line { display: block; overflow: hidden; padding: .06em .15em .14em; }
.hero h1 em { font-size: 1.08em; color: #b9b9b9; animation: in-em 1.2s cubic-bezier(.16,1,.3,1) .72s both; }
.hero .lede { max-width: 470px; margin: 18px 0 0; color: #9a9a9a; font-size: 15.5px; line-height: 1.55; text-shadow: 0 2px 16px rgba(0,0,0,.9); }
.hero .ctas { margin-top: 26px; justify-content: center; gap: 10px; }
.hero .ctas .btn { height: 42px; padding: 0 18px; }
.hero-stats { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding: 0 32px; color: #d8d8d8; font-size: 13.5px; }
.hero-stats .stat-i { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; letter-spacing: -0.015em; text-decoration: none; }
.hero-stats .stat-i b { font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stats svg { width: 20px; height: 20px; flex: none; }
.hero .live-strip { margin-top: 18px; background: rgba(10,10,10,.6); border-color: rgba(255,255,255,.14); }
.scroll-cue { display: none; }

/* entrance motion (resting state visible; keyframes run from 0% during the delay) */
.appear { animation-duration: 1.05s; animation-fill-mode: both; animation-timing-function: cubic-bezier(.16,1,.3,1); animation-delay: var(--d, .08s); }
.appear--scale { animation-name: in-scale; } .appear--soft { animation-name: in-soft; } .appear--mask { animation-name: in-mask; } .appear--pop { animation-name: in-pop; }
.appear--btn { animation-name: in-btn; } .appear--side { animation-name: in-side; } .appear--stat { animation-name: in-stat; }
.appear.is-in { animation: none; opacity: 1; transform: none; clip-path: none; filter: none; }
@keyframes in-scale { from { opacity: 0; transform: scale(.84); } to { opacity: 1; transform: none; } }
@keyframes in-soft { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes in-mask { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }
@keyframes in-pop { 0% { opacity: 0; transform: scale(.9); } 70% { opacity: 1; transform: scale(1.03); } 100% { opacity: 1; transform: scale(1); } }
@keyframes in-btn { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes in-side { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes in-stat { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes in-star { 0% { transform: scale(.2) rotate(-50deg); opacity: 0; } 65% { transform: scale(1.2) rotate(8deg); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes in-em { from { opacity: .35; filter: blur(4px); } to { opacity: 1; filter: none; } }
.js-reveal .reveal { filter: none; transform: translateY(30px); }
.js-reveal .reveal.in { transform: none; }

/* sections + surfaces in monochrome glass */
.section { padding-top: 130px; }
.section > .head { text-align: left; }
.section > .head h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; }
.glass, .card { background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.012) 45%), rgba(6,6,7,.72); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px -40px rgba(0,0,0,1); }
.glass::before { background: linear-gradient(140deg, rgba(255,255,255,.32), rgba(255,255,255,.04) 35%, rgba(255,255,255,0) 60%, rgba(180,195,255,.2)); }
.feed .card.run, .chainlist { background: rgba(8,8,9,.9); }
.feed .card.run:hover { background: rgba(16,16,18,.94); }
.run:hover::before { background: #fff; }
.chip { border-color: rgba(255,255,255,.14); }
.action { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.stat b { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; }
.page-head h2, .trace-head h1 { font-weight: 500; }
.foot { border-top: 1px solid rgba(255,255,255,.08); }
#progress { background: linear-gradient(90deg, #fff, #cdd6ff 50%, #ffd6c9); height: 1px; }
.shimmer { background: none; -webkit-background-clip: initial; background-clip: initial; color: #9a9a9a !important; animation: none; }
.tilt::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.08), transparent 45%); }

@media (max-width: 1279px) { .top { padding: 16px 28px 10px; } .nav .pill { height: 36px; padding: 0 14px; font-size: 13px; } }
@media (max-width: 900px) {
  body { padding-bottom: 0; }
  .top { grid-template-columns: 1fr auto; padding: max(14px, env(safe-area-inset-top)) 18px 10px; }
  .burger { display: grid; }
  .header-cta { display: none; }
  .menu-backdrop { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(8,8,8,.42); opacity: 0; visibility: hidden; transition: opacity .28s, visibility .28s; }
  body.menu-open .menu-backdrop { opacity: 1; visibility: visible; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
  .nav { position: fixed; inset: 0; z-index: 45; flex-direction: column; justify-content: center; gap: 12px; padding: max(96px, calc(env(safe-area-inset-top) + 88px)) 22px 32px; background: transparent; border: 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .28s, visibility .28s, transform .28s; }
  body.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.menu-open { overflow: hidden; }
  .nav .pill { width: 100%; height: 56px; font-size: 19px; border-radius: 10px; justify-content: center; flex-direction: row; flex: none; }
  .nav .pill.on { color: #fff; }
  .brand, .top-right { position: relative; z-index: 80; }
  .hero { min-height: calc(100svh - 64px); padding: 0 0 28px; }
  .hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .hero .lede { font-size: 15.5px; max-width: 100%; }
  .hero-stats { flex-direction: column; gap: 14px; margin-top: 36px; padding: 0; white-space: normal; }
  .hero-stats .stat-i { white-space: normal; }
  #toast { bottom: calc(24px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) { .hero .ctas { flex-direction: column; width: 100%; } .hero .ctas .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .appear, .hero h1 em, .hero-badge svg { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; } .grain { animation: none; } }

/* side vignette: hides where the hands' wrists end, and frames the scene */
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.85) 5%, transparent 18%, transparent 82%, rgba(0,0,0,.85) 95%, #000 100%), radial-gradient(120% 90% at 50% 40%, transparent 60%, rgba(0,0,0,.6) 100%); }

.hero-copy { width: 100%; max-width: min(860px, 100%); }
.headline-line > span { max-width: 100%; }
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(29px, 8.4vw, 40px); }
  .headline-line { padding: .06em 0 .12em; }
  .hero .lede { padding: 0 4px; }
  .hero .live-strip { max-width: 100%; }
  .hero-badge { margin-bottom: 16px; }
}
.hero h1 em { color: #d2d2d2; text-shadow: none; padding-right: .06em; }

/* hero background video: full bleed, 100% opacity, no overlay; fades as you leave the hero */
.hero-video { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; object-fit: cover; z-index: 0; pointer-events: none; background: #000; transition: opacity .2s linear; }
#gl { z-index: 1; }
.vignette { z-index: 1; background: linear-gradient(90deg, #000 0%, transparent 6%, transparent 94%, #000 100%); }
.hero-copy { position: relative; isolation: isolate; }
.hero-copy::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 58%; width: 130%; height: 120%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(0,0,0,.62), rgba(0,0,0,.35) 55%, transparent); filter: blur(10px); pointer-events: none; }
.hero .lede { color: #b4b4b4; }

/* ---------- cursor light + ring (desktop) ---------- */
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 3; background: radial-gradient(closest-side, rgba(205,215,255,.10), rgba(255,255,255,.035) 45%, transparent 72%); mix-blend-mode: screen; transition: opacity .4s; will-change: transform; }
.cursor-ring { position: fixed; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; pointer-events: none; z-index: 120; border: 1px solid rgba(255,255,255,.55); transition: transform .25s cubic-bezier(.2,.9,.3,1.3), background .25s, border-color .25s, opacity .3s; mix-blend-mode: difference; will-change: transform; }
.cursor-ring.hot { background: rgba(255,255,255,.9); border-color: transparent; }
[data-depth] { transition: translate .25s ease-out; will-change: translate; }
.hero-video { transform: scale(1.06); will-change: transform; }
/* ---------- logo: tilted P seal, orbit spins and the commit dot pulses on hover ---------- */
.brand .logo { width: 26px; height: 26px; overflow: visible; }
.brand .logo-orbit { transform-origin: 16px 16px; transition: opacity .3s; animation: orbit 14s linear infinite; }
.brand .logo-dot { transform-origin: 22.6px 25.2px; transition: transform .35s cubic-bezier(.2,.9,.3,1.6); }
.brand:hover .logo-orbit { opacity: .9; animation-duration: 3s; }
.brand:hover .logo-dot { transform: scale(1.45); }
.brand span { background: linear-gradient(100deg, #fff 30%, #9a9a9a 50%, #fff 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 7s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes sheen { from { background-position: 125% 0; } to { background-position: -125% 0; } }
/* hero stats: wide avatar icon */
.hero-stats svg.stat-wide { width: 38px; height: 21px; }
.hero-stats .stat-i { transition: color .3s; } .hero-stats .stat-i:hover { color: #fff; }
@media (hover: none) { .cursor-glow, .cursor-ring { display: none; } }
@media (prefers-reduced-motion: reduce) { .brand .logo-orbit, .brand span { animation: none; } }
/* finale: the chrome mark gets the right half of the screen */
.finale { min-height: 88vh; display: flex; align-items: center; }
@media (min-width: 901px) { .finale .token-band { max-width: 600px; flex-direction: column; align-items: flex-start; } }
@media (max-width: 900px) { .finale { min-height: 0; padding-top: 52vh; } }
html, body { overflow-x: hidden; }
main { overflow-x: clip; }
.hero h1 em { animation: in-em 1.2s cubic-bezier(.16,1,.3,1) .72s backwards; color: #9a9a9a; }

/* =====================================================================
   v5 · simple visual steps, video + falling particles across the site
   ===================================================================== */
.center { text-align: center; }
.section > .head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section > .head.center p { margin: 0 auto; }
.section { padding-top: 140px; }
.steps-row { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; counter-reset: s; }
.steps-row::before { content: ""; position: absolute; left: 12%; right: 12%; top: 92px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); background-size: 200% 100%; animation: flow 3s linear infinite; }
@keyframes flow { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.step { position: relative; text-align: center; padding: 0 10px; }
.step h3 { font-size: 22px; margin: 6px 0 6px; }
.step p { margin: 0 auto; color: #a8a8a8; font-size: 15px; max-width: 24ch; }
.step-n { font: 500 12px var(--mono); color: #8a8a8a; letter-spacing: .1em; }
.step-viz { position: relative; width: 184px; height: 184px; margin: 0 auto 18px; border-radius: 28px; display: grid; place-items: center; background: radial-gradient(120% 120% at 30% 0%, rgba(255,255,255,.12), rgba(255,255,255,.02) 45%, rgba(0,0,0,.4)), rgba(8,8,9,.55); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 30px 60px -30px rgba(0,0,0,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .5s cubic-bezier(.2,.9,.3,1.2), border-color .3s, box-shadow .3s; transform: perspective(700px) rotateX(var(--rx,0)) rotateY(var(--ry,0)); }
.step:hover .step-viz { border-color: rgba(255,255,255,.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 0 40px rgba(200,215,255,.15); }
/* 1 · radar */
.viz-watch svg { width: 132px; height: 132px; }
.viz-watch .ring { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1; }
.viz-watch .sweep { transform-origin: 60px 60px; animation: spin 3.2s linear infinite; }
.viz-watch .sweep path { fill: url(#none); fill: rgba(255,255,255,.18); }
.viz-watch .blip { fill: #fff; opacity: 0; animation: blip 3.2s infinite; filter: drop-shadow(0 0 4px #fff); }
.viz-watch .b1 { animation-delay: .35s; } .viz-watch .b2 { animation-delay: 1.9s; } .viz-watch .b3 { animation-delay: 2.5s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { 0%, 100% { opacity: 0; transform: scale(.4); } 8% { opacity: 1; transform: scale(1.3); } 45% { opacity: .2; transform: scale(1); } }
.viz-watch .blip { transform-box: fill-box; transform-origin: center; }
/* 2 · proposal cycling + confidence */
.viz-propose { align-content: center; gap: 12px; }
.chip-cycle { position: relative; height: 34px; width: 132px; overflow: hidden; border-radius: 8px; border: 1px solid rgba(198,198,198,.55); background: linear-gradient(105deg, #050505 0%, #2a2a2a 48%, #4a4a4a 100%); }
.chip-cycle span { position: absolute; inset: 0; display: grid; place-items: center; font: 500 12.5px var(--mono); letter-spacing: .04em; opacity: 0; animation: cyc 8s infinite; }
.chip-cycle span:nth-child(2) { animation-delay: 2s; } .chip-cycle span:nth-child(3) { animation-delay: 4s; } .chip-cycle span:nth-child(4) { animation-delay: 6s; }
@keyframes cyc { 0% { opacity: 0; transform: translateY(100%); } 5%, 22% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; transform: translateY(-100%); } }
.viz-propose .conf { width: 132px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.12); overflow: hidden; }
.viz-propose .conf i { display: block; height: 100%; background: linear-gradient(90deg, #8a8a8a, #fff); border-radius: 5px; animation: fill 2s cubic-bezier(.2,.8,.2,1) infinite; }
@keyframes fill { 0% { width: 8%; } 60%, 100% { width: 78%; } }
.viz-propose small { font: 11px var(--mono); color: #8a8a8a; }
/* 3 · approve tap */
.viz-decide .dbtns { display: grid; gap: 8px; }
.viz-decide .dbtns span { width: 120px; height: 32px; border-radius: 7px; display: grid; place-items: center; font-size: 13px; font-weight: 500; }
.viz-decide .ok { background: linear-gradient(180deg, #fff, #cfcfcf); color: #111; animation: press 3s infinite; }
.viz-decide .no { border: 1px solid rgba(255,255,255,.3); color: #ddd; }
.viz-decide .tap { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #fff; top: 66px; left: 112px; opacity: 0; animation: tap 3s infinite; }
.viz-decide .check { position: absolute; top: 18px; right: 18px; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-size: 14px; font-weight: 700; opacity: 0; animation: chk 3s infinite; }
@keyframes press { 0%, 38%, 52%, 100% { transform: scale(1); } 45% { transform: scale(.93); } }
@keyframes tap { 0%, 30% { opacity: 0; transform: translate(30px, 30px) scale(1.4); } 42% { opacity: 1; transform: none; } 55% { opacity: 0; transform: scale(1.8); } 100% { opacity: 0; } }
@keyframes chk { 0%, 50% { opacity: 0; transform: scale(.4); } 58%, 88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
/* 4 · hash settles, block joins the chain */
.viz-seal { align-content: center; gap: 16px; }
.hashline { font: 500 12px var(--mono); color: #9a9a9a; }
.hashline b { color: #fff; font-weight: 500; display: inline-block; animation: scramble 3s steps(1) infinite; }
.hashline b:nth-child(2) { animation-delay: .15s; } .hashline b:nth-child(3) { animation-delay: .3s; } .hashline b:nth-child(4) { animation-delay: .45s; }
@keyframes scramble { 0%, 30% { opacity: .25; filter: blur(2px); } 40%, 100% { opacity: 1; filter: none; } }
.viz-seal .blocks { display: flex; gap: 8px; align-items: center; justify-content: center; }
.viz-seal .blocks i { width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.06); position: relative; }
.viz-seal .blocks i + i::before { content: ""; position: absolute; right: 100%; top: 50%; width: 8px; height: 1px; background: rgba(255,255,255,.5); }
.viz-seal .blocks .new { background: #fff; box-shadow: 0 0 16px #fff; animation: join 3s infinite; }
@keyframes join { 0%, 40% { opacity: 0; transform: translateY(-26px) scale(.6); } 60%, 100% { opacity: 1; transform: none; } }
/* promises + narrow feed */
.feed.narrow { max-width: 760px; margin: 0 auto; }
.promises { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 34px 0 0; padding: 0; }
.promises li { padding: 9px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.16); background: rgba(8,8,9,.55); font-size: 14px; color: #d8d8d8; display: inline-flex; gap: 8px; align-items: center; backdrop-filter: blur(10px); }
.promises li span { color: #ff8070; font-size: 12px; }
/* make surfaces float over the moving background */
.glass, .card { background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.012) 45%), rgba(6,6,7,.6); }
.feed .card.run, .chainlist { background: rgba(6,6,7,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (max-width: 900px) {
  .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps-row::before { display: none; }
  .step-viz { width: 150px; height: 150px; }
  .viz-watch svg { width: 110px; height: 110px; }
  .section { padding-top: 96px; }
}
@media (max-width: 480px) { .steps-row { gap: 12px; row-gap: 34px; } .step-viz { width: 138px; height: 138px; border-radius: 22px; } .viz-watch svg { width: 96px; height: 96px; } .step h3 { font-size: 19px; } .step p { font-size: 13.5px; } .chip-cycle, .viz-propose .conf { width: 108px; } .viz-decide .dbtns span { width: 100px; } .viz-decide .tap { left: 92px; top: 58px; } }

/* =====================================================================
   v6 · black with turquoise-green touches
   ===================================================================== */
:root { --acc: #2ff3c6; --acc-2: #13c9a3; --acc-soft: rgba(47,243,198,.14); --acc-line: rgba(47,243,198,.45); --mint: #2ff3c6; }
::selection { background: var(--acc); color: #001510; }
/* the ribbon picks up a cool green cast; blacks stay black */
.video-tint { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(80% 70% at 50% 35%, #1ff0c0 0%, #0aa98a 55%, #04473a 100%); mix-blend-mode: multiply; opacity: .55; }
body:not([data-page="home"]) .video-tint { opacity: .65; }
.hero h1 em, h2 em, .serif { color: var(--acc) !important; text-shadow: 0 0 28px rgba(47,243,198,.35); }
.eyebrow { color: var(--acc); }
.brand .logo-dot { fill: var(--acc); filter: drop-shadow(0 0 4px var(--acc)); }
.brand .logo-orbit { stroke: var(--acc); }
.hero-badge { background: linear-gradient(90deg, #0f6b58 0%, #0b2a24 52%, #050a09 100%); box-shadow: inset 0 0 0 1px rgba(47,243,198,.25); }
.hero-badge svg { fill: var(--acc); filter: drop-shadow(0 0 5px var(--acc)); }
.nav .pill:hover, .nav .pill.on { border-color: var(--acc-line); box-shadow: 0 0 18px rgba(47,243,198,.22); }
.nav .pill .badge, .badge { background: var(--acc); color: #001510; }
.btn.primary, .btn-solid { background: linear-gradient(180deg, #fff 0%, #e9fff8 48%, #bfeee2 100%); }
.btn.primary:hover, .btn-solid:hover { background: linear-gradient(180deg, #fff 0%, #e6fff8 42%, #a6f5e1 100%); border-color: #d9fff5; box-shadow: inset 0 1px 0 #fff, 0 0 26px rgba(47,243,198,.45), 0 8px 18px rgba(255,255,255,.12); }
.btn:hover { border-color: var(--acc-line); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 0 22px rgba(47,243,198,.25); }
.pulse { background: var(--acc); box-shadow: 0 0 0 0 rgba(47,243,198,.6); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(47,243,198,0); } 100% { box-shadow: 0 0 0 0 rgba(47,243,198,0); } }
#progress { background: linear-gradient(90deg, var(--acc-2), var(--acc) 60%, #fff); height: 2px; }
.live-strip code, .run .hl code { color: var(--acc); }
.hero-stats b { color: var(--acc) !important; }
.cursor-ring { border-color: var(--acc); mix-blend-mode: normal; box-shadow: 0 0 12px rgba(47,243,198,.4); }
.cursor-ring.hot { background: rgba(47,243,198,.18); border-color: var(--acc); }
.cursor-glow { background: radial-gradient(closest-side, rgba(47,243,198,.12), rgba(47,243,198,.03) 45%, transparent 72%); }
/* steps in green */
.step-n { color: var(--acc); }
.step:hover .step-viz { border-color: var(--acc-line); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 0 44px rgba(47,243,198,.22); }
.steps-row::before { background: linear-gradient(90deg, transparent, var(--acc), transparent); background-size: 200% 100%; opacity: .6; }
.viz-watch .ring { stroke: rgba(47,243,198,.3); }
.viz-watch .sweep path { fill: rgba(47,243,198,.28); }
.viz-watch .blip { fill: var(--acc); filter: drop-shadow(0 0 5px var(--acc)); }
.viz-propose .conf i { background: linear-gradient(90deg, var(--acc-2), var(--acc)); box-shadow: 0 0 10px var(--acc); }
.viz-decide .check { background: var(--acc); color: #001510; box-shadow: 0 0 16px var(--acc); }
.viz-decide .tap { border-color: var(--acc); }
.hashline b { color: var(--acc); }
.viz-seal .blocks i { border-color: var(--acc-line); }
.viz-seal .blocks i + i::before { background: var(--acc-line); }
.viz-seal .blocks .new { background: var(--acc); box-shadow: 0 0 18px var(--acc); }
.promises li { border-color: rgba(47,243,198,.22); }
.glass::before { background: linear-gradient(140deg, rgba(47,243,198,.45), rgba(255,255,255,.04) 35%, rgba(255,255,255,0) 60%, rgba(47,243,198,.2)); }
.run:hover::before { background: var(--acc); }
.onchain.ok, .chip.ok, .chip.approved { color: var(--acc); }
.stat.mint b, .verdict.ok { color: var(--acc); }
a.link, .link { color: var(--acc); }
.hero h1 em { color: #7dffe3 !important; text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 22px rgba(0,0,0,.75), 0 0 34px rgba(47,243,198,.35); }

/* no yellow/amber anywhere: 'waiting on a human' accents use a pale turquoise */
:root { --amber: #bafff0; --amber-d: #0b2e27; }
.risk-medium { color: #8ff7e0; }

/* ---------- cursor v2: no transition on the moving element ---------- */
.cursor-glow, .cursor-ring { opacity: 0; transition: opacity .35s ease; }
body.cursor-on .cursor-glow, body.cursor-on .cursor-ring { opacity: 1; }
.cursor-glow { width: 560px; height: 560px; margin: -280px 0 0 -280px; background: radial-gradient(closest-side, rgba(47,243,198,.13), rgba(47,243,198,.05) 40%, rgba(255,255,255,.015) 62%, transparent 75%); mix-blend-mode: screen; }
.cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 0; background: none; box-shadow: none; mix-blend-mode: normal; }
.cursor-ring i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(47,243,198,.9); box-shadow: 0 0 14px rgba(47,243,198,.45), inset 0 0 8px rgba(47,243,198,.25); transform: scale(.6); transition: transform .3s cubic-bezier(.2,.9,.3,1.25), background .3s, border-color .3s, box-shadow .3s; }
.cursor-ring.hot i { transform: scale(1.35); background: rgba(47,243,198,.12); box-shadow: 0 0 22px rgba(47,243,198,.55), inset 0 0 12px rgba(47,243,198,.3); }
.cursor-ring.down i { transform: scale(.45); background: rgba(47,243,198,.3); transition-duration: .12s; }
.cursor-ring.hot { background: none; border: 0; }
[data-depth] { transition: none; }

/* =====================================================================
   v8 · Oxide-like type: Geist (≈ Suisse Int'l) + DM Mono (≈ GT America Mono)
   ===================================================================== */
:root { --display: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --body: "Geist", "Inter", system-ui, -apple-system, sans-serif; --mono: "DM Mono", "JetBrains Mono", ui-monospace, monospace; }
body { font-family: var(--body); letter-spacing: -0.005em; font-weight: 400; }
h1, h2, h3, .brand, .hero h1, .section > .head h2, .page-head h2, .trace-head h1, .stat b { font-family: var(--display); font-weight: 400; letter-spacing: -0.035em; }
.hero h1 { font-weight: 400; letter-spacing: -0.04em; }
.brand { font-weight: 500; letter-spacing: -0.02em; }
/* Oxide-style labels: small uppercase mono */
.eyebrow, .step-n, .chip, .action, .stat span, .hero-badge, .live-strip, .onchain, .nav .pill, .btn, .hero-stats .stat-i, .seg button, .toggle, .kv dt, .tbl th, .run .id, .timeline .t, .promises li {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; font-weight: 400; }
.eyebrow { font-size: 12px; }
.nav .pill { font-size: 12.5px; }
.btn { font-size: 12.5px; font-weight: 500; }
.hero-badge { font-size: 11.5px; }
.hero-stats .stat-i { font-size: 12px; }
.hero-stats .stat-i b { font-family: var(--mono); }
.live-strip { font-size: 11.5px; }
.chip, .action { font-size: 11px; }
.stat span { font-size: 11px; }
.promises li { font-size: 12px; }
.step p, .hero .lede, .section > .head p, .page-head p { font-family: var(--body); letter-spacing: -0.005em; }
.run .hl { font-weight: 400; }
/* Trial (launcher request): accent words in Geist upright instead of the serif italic.
   Revert = remove class "type-geist-accent" from <html> in index.html. */
html.type-geist-accent .hero h1 em, html.type-geist-accent h2 em, html.type-geist-accent .serif {
  font-family: var(--display) !important; font-style: normal !important; font-weight: 400; letter-spacing: -0.035em; font-size: 1em !important; }

.ca-pill { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 8px 8px 14px; border-radius: 99px; border: 1px solid var(--acc-line); background: rgba(6,20,17,.7); color: #e6fff8; cursor: pointer; font: 12px var(--mono); box-shadow: 0 0 24px rgba(47,243,198,.18); }
.ca-pill span { color: var(--acc); font-weight: 500; }
.ca-pill code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca-pill b { font-weight: 500; padding: 5px 10px; border-radius: 99px; background: var(--acc); color: #001510; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
