:root {
  --bg: #0b0c0f;
  --panel: #14161b;
  --panel-2: #1a1d24;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef0f4;
  --muted: #9aa1ad;
  --amber: #ffb04a;
  --blue: #4a9dff;
  --ok: #5fd08a;
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
code { font: 0.85em ui-monospace, "SF Mono", Menlo, monospace; background: rgba(255,255,255,.07); padding: 1px 6px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
small { color: var(--muted); }

.top { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 12px max(16px, calc((100vw - var(--wrap)) / 2)); background: rgba(11,12,15,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 18px; }
.brand b { color: var(--amber); font-weight: 650; }
.top nav { display: flex; gap: 20px; font-size: 14px; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--text); }
@media (max-width: 560px) { .top nav a:nth-child(-n+2) { display: none; } }

.hero { --stage: min(52vh, 480px); position: relative; overflow: hidden; }
#stage { display: block; width: 100%; height: var(--stage); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--stage) - 70px); height: 70px; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,12,15,0), var(--bg)); }
.hero-copy { position: relative; z-index: 2; width: min(var(--wrap), 100% - 32px); margin: 0 auto; padding: 8px 0 64px; }
.eyebrow { color: var(--amber); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin: 0 0 14px; }
h1 { font-size: clamp(38px, 6.4vw, 76px); max-width: 15ch; font-weight: 700; }
.lede { max-width: 56ch; color: #c6cbd4; font-size: clamp(17px, 2vw, 20px); margin: 18px 0 26px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }

.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; font: 600 15px/1 inherit; color: #1a1205;
  background: linear-gradient(90deg, var(--amber), #ffd08a); padding: 13px 20px; border-radius: 999px; }
.btn.ghost { color: var(--text); background: rgba(255,255,255,.08); border: 1px solid var(--line); }
.btn.sm { padding: 8px 14px; font-size: 13px; }
.btn.full { width: 100%; text-align: center; padding: 14px; margin-top: 10px; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.band { padding: 80px max(16px, calc((100vw - var(--wrap)) / 2)); }
.band.alt { background: #0f1115; border-block: 1px solid var(--line); }
.band h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.band h2 small { font-size: 14px; font-weight: 500; letter-spacing: 0; margin-left: 10px; }
.sub { color: var(--muted); max-width: 62ch; margin: 0 0 36px; }

.steps { list-style: none; padding: 0; margin: 34px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.steps .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.roles { display: grid; grid-template-columns: 1fr minmax(120px, 1.2fr) 1fr; align-items: center; gap: 12px; }
.role { border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); background: var(--panel); }
.role h3 { font-size: 20px; margin-bottom: 4px; }
.role p { margin: 0; color: var(--muted); font-size: 14px; }
.role.amber { border-color: rgba(255,176,74,.5); box-shadow: inset 0 0 40px rgba(255,176,74,.07); }
.role.blue { border-color: rgba(74,157,255,.5); box-shadow: inset 0 0 40px rgba(74,157,255,.07); }
.role.amber h3 { color: var(--amber); } .role.blue h3 { color: var(--blue); }
.link { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--amber), var(--blue)); position: relative; }
.link span { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); white-space: nowrap; font-size: 12px; color: var(--muted); }
@media (max-width: 700px) { .roles { grid-template-columns: 1fr; } .link { height: 36px; width: 4px; margin: 0 auto; background: linear-gradient(var(--amber), var(--blue)); } .link span { left: 14px; top: 8px; transform: none; } }

.screens { display: grid; grid-template-columns: 1.25fr 1.1fr .75fr; gap: 28px; align-items: start; }
@media (max-width: 1000px) { .screens { grid-template-columns: 1fr; max-width: 520px; } }
.shot { margin: 0; }
.shot figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }

.chip { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); }
.chip.ok { color: var(--ok); background: rgba(95,208,138,.12); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.amber { background: var(--amber); } .dot.blue { background: var(--blue); }
.label { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: 10.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }

.mac .menubar { display: flex; gap: 16px; align-items: center; padding: 6px 14px; font-size: 12px; background: rgba(255,255,255,.08); border-radius: 10px 10px 0 0; color: #d6dae1; }
.mac .menubar u { margin-left: auto; text-decoration: none; }
.mac .menubar i { font-style: normal; background: rgba(255,255,255,.14); padding: 1px 8px; border-radius: 6px; }
.popover { margin: 0 0 0 auto; width: min(100%, 340px); background: var(--panel-2); border: 1px solid var(--line); border-radius: 0 0 16px 16px; border-top: 0;
  padding: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.pop-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.machine { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.machine div { flex: 1; } .machine b { display: block; font-size: 14px; } .machine small { font-size: 12px; } .machine em { font-style: normal; font-size: 12px; color: var(--muted); }
.pending { margin-top: 8px; padding: 14px; background: rgba(255,176,74,.08); border: 1px solid rgba(255,176,74,.35); border-radius: 12px; }
.pending b { display: block; font-size: 15px; margin-bottom: 4px; }
.pending p { margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }
.row { display: flex; gap: 8px; }
.pop-foot { margin-top: 12px; font-size: 12px; color: var(--muted); }

.window { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.wbar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: rgba(255,255,255,.05); font-size: 12px; color: var(--muted); }
.wbar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3e47; }
.wbar span { margin-left: 8px; }
.wbody { padding: 18px; }
.rhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.rhead b { font-size: 18px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid; border-image: linear-gradient(var(--amber), var(--blue)) 1; }
.timeline li { display: grid; grid-template-columns: 62px 1fr; gap: 2px 10px; padding: 8px 0; font-size: 13px; }
.timeline time { color: var(--muted); font: 12px ui-monospace, Menlo, monospace; grid-row: span 2; padding-top: 2px; }
.timeline b { font-size: 14px; } .timeline span { color: var(--muted); }
.redact { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.05); font-size: 12px; color: var(--muted); }

.device { position: relative; width: min(100%, 280px); margin: 0 auto; aspect-ratio: 9 / 18.5; background: #000; border: 8px solid #23262d; border-radius: 40px; padding: 44px 12px 14px; overflow: hidden;
  background-image: radial-gradient(120% 60% at 50% 0, #1b2230, #000); }
.island { position: absolute; top: 10px; left: 50%; width: 84px; height: 24px; margin-left: -42px; background: #000; border-radius: 14px; }
.live { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #000; border: 1px solid var(--line); border-radius: 22px; margin-bottom: 12px; }
.live div { flex: 1; } .live b { display: block; font-size: 13px; } .live small { font-size: 11px; } .live em { font-style: normal; font-size: 12px; color: var(--blue); font-variant-numeric: tabular-nums; }
.card { background: var(--panel-2); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.card h4 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.nobox { margin-top: 12px; font-size: 11.5px; color: var(--muted); text-align: center; padding: 0 8px; }

.never { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; max-width: 760px; }
.never li { padding: 14px 16px 14px 44px; position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.never li::before { content: "✕"; position: absolute; left: 16px; top: 13px; color: var(--amber); font-weight: 700; }

.status { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
@media (max-width: 700px) { .status { grid-template-columns: 1fr; } }
.status > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.status h3 { margin-bottom: 10px; font-size: 20px; }
.status ul { margin: 0; padding-left: 18px; color: #c6cbd4; }
.status li { margin: 6px 0; }

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 28px max(16px, calc((100vw - var(--wrap)) / 2)); color: var(--muted); font-size: 13px; }
