/* orbio.run: the orbio.so look. Paper, ink, one neon; DM Sans text, Geist Mono numbers and labels. One sheet, no build. */

@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/dm-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/geist-mono-latin.woff2') format('woff2'); }

:root {
  --paper: #f8f8f6;
  --paper-2: #f0f0ec;
  --paper-3: #e6e6e0;
  --white: #fffefd;
  --ink: #141413;
  --ink-2: #3f3f3b;
  --ink-3: #6f6f68;
  --ink-4: #a19d94;
  --line: rgba(20, 20, 19, 0.10);
  --line-strong: rgba(20, 20, 19, 0.20);
  --neon: #c9ff3f;
  --neon-2: #b8f22e;
  --neon-ink: #3f5a12;
  --neon-tint: #f1fbd9;
  --ok: #2f7a4f;
  --ok-tint: #e7f3ec;
  --bad: #a8402f;
  --bad-tint: #f8ebe7;
  --warn: #7a5a1c;
  --warn-tint: #f6eedc;
  --shadow-1: 0 1px 2px rgba(20, 20, 19, 0.06);
  --shadow-2: 0 1px 2px rgba(20, 20, 19, 0.05), 0 22px 44px -28px rgba(20, 20, 19, 0.32);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --r: 18px;
  --sans: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --gutter: 20px;
  --maxw: 72rem;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--neon); color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--paper); }
.skip:focus { top: 10px; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.muted { color: var(--ink-3); }
.nowrap { white-space: nowrap; }
.break { overflow-wrap: anywhere; word-break: break-word; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
main { flex: 1; position: relative; }
@media (max-width: 360px) { :root { --gutter: 14px; } }

/* --------------------------------------------------------------------------------------- $ORUN coin bar */

.coinbar { background: var(--ink); color: var(--paper); font: 400 12.5px/1.3 var(--sans); }
.coinbar-in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; padding: 4px var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.coinbar .tick { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: -0.01em; white-space: nowrap; }
.coinbar .tick::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); }
.coinbar .tick em { font-style: normal; color: var(--neon); }
.coinbar .copy { opacity: .72; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coinbar .sep { width: 1px; height: 14px; background: rgba(248, 248, 246, .25); flex: none; }
.coinbar a, .coinbar button { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border: 1px solid rgba(248, 248, 246, .28); border-radius: 999px; background: transparent; color: var(--paper); font: 500 12px/1 var(--sans); white-space: nowrap; }
.coinbar a:hover, .coinbar button:hover { background: rgba(248, 248, 246, .1); }
.coinbar .bd-icon { width: 13px; height: 13px; }
@media (max-width: 760px) { .coinbar .copy, .coinbar .sep.wide { display: none; } }

/* --------------------------------------------------------------------------------------------- header */

.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in oklab, var(--paper) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: 44px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand b { font: 700 17px/1 var(--sans); letter-spacing: -0.035em; }
.brand b span { color: var(--ink-3); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font: 400 14px/1 var(--sans); letter-spacing: -0.01em; color: var(--ink-3); padding: 14px 0; transition: color .15s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current='page'] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--neon-2); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.menu-btn { display: none !important; }
@media (max-width: 760px) {
  .nav { min-height: 58px; gap: 10px; }
  .nav-links { display: none; }
  .menu-btn { display: inline-flex !important; }
}
@media (max-width: 380px) { .nav-right .hide-xs { display: none; } }

/* phone menu */
.sheet-back { position: fixed; inset: 0; z-index: 40; background: rgba(20, 20, 19, .3); opacity: 0; transition: opacity .2s var(--ease); }
.sheet-back.open { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; top: 0; z-index: 41; background: var(--paper); border-bottom: 1px solid var(--line); border-radius: 0 0 20px 20px; padding: 8px var(--gutter) calc(18px + var(--safe-b)); transform: translateY(-104%); transition: transform .3s cubic-bezier(.32, .72, 0, 1); box-shadow: 0 30px 60px -30px rgba(20, 20, 19, .4); }
.sheet.open { transform: none; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.sheet nav { display: grid; margin: 6px 0 16px; }
.sheet nav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 4px; font: 500 19px/1 var(--sans); letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.sheet nav a .bd-icon { width: 18px; height: 18px; color: var(--ink-3); }
.sheet nav a[aria-current='page'] { color: var(--neon-ink); }

/* --------------------------------------------------------------------------------------------- footer */

.site-footer { margin-top: 88px; border-top: 1px solid var(--line); padding: 28px 0 calc(28px + var(--safe-b)); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 14px 22px; flex-wrap: wrap; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font: 500 13.5px/1.3 var(--sans); }
.foot-brand svg { width: 24px; height: 24px; flex: none; }
.foot-note { margin: 0; font-size: 13px; color: var(--ink-3); }
.foot-note a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.foot-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; margin-left: auto; }
.foot-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0 10px; font-size: 13px; color: var(--ink-3); border-radius: 8px; }
.foot-links a:hover { color: var(--ink); background: var(--paper-2); }
.foot-links .bd-icon { width: 13px; height: 13px; }
@media (max-width: 640px) { .foot-links { margin-left: -10px; } }

/* ----------------------------------------------------------------------------------------------- type */

h1, h2, h3, h4 { margin: 0; font-family: var(--sans); letter-spacing: -0.03em; color: var(--ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--neon-2); box-shadow: 0 0 0 3px rgba(201, 255, 63, .35); }
.h-hero { font-size: clamp(2.5rem, 8.6vw, 4.6rem); line-height: 1.0; font-weight: 700; letter-spacing: -0.045em; text-wrap: balance; }
.h-page { font-size: clamp(2.1rem, 6.2vw, 3.3rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.04em; text-wrap: balance; }
.h-sec { font-size: clamp(1.7rem, 4.6vw, 2.45rem); line-height: 1.06; font-weight: 700; letter-spacing: -0.04em; text-wrap: balance; }
.h-card { font-size: 17px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
.lede { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 35rem; text-wrap: pretty; margin: 20px 0 0; }
.body { color: var(--ink-2); max-width: 40rem; margin: 12px 0 0; text-wrap: pretty; }
.marker { position: relative; z-index: 0; white-space: nowrap; }
.marker::before { content: ''; position: absolute; z-index: -1; inset: .14em -.08em 0 -.06em; background: var(--neon); border-radius: .06em; transform: rotate(-1.4deg); transform-origin: 50% 60%; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--neon-2); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link:hover { text-decoration-color: var(--ink); }

/* ------------------------------------------------------------------------------------------- controls */

.bd-icon { width: 16px; height: 16px; flex: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--white); color: var(--ink); font: 500 14.5px/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap; box-shadow: var(--shadow-1); transition: transform .15s var(--ease), background-color .15s var(--ease), opacity .15s; -webkit-tap-highlight-color: transparent; }
.btn:hover { background: var(--paper-2); }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 15.5px; border-radius: 13px; }
.btn-block { width: 100%; }
.btn-primary { border-color: rgba(20, 20, 19, .14); background: var(--neon); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 26px -14px rgba(120, 170, 0, .9), var(--shadow-1); }
.btn-primary:hover { background: var(--neon-2); }
.btn-ink { border-color: transparent; background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2a2a27; }
.btn-ghost { border-color: transparent; background: transparent; box-shadow: none; color: var(--ink-2); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-danger { color: var(--bad); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .5; cursor: not-allowed; transform: none; }
.btn.busy { pointer-events: none; opacity: .75; }
.btn.busy .bd-icon-loader, .spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--white); box-shadow: var(--shadow-1); }
.icon-btn .bd-icon { width: 18px; height: 18px; }
.icon-btn.sm { width: 40px; height: 40px; border-radius: 10px; }
.icon-btn.sm .bd-icon { width: 16px; height: 16px; }

.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; min-width: 0; }
.field > .lbl { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font: 500 13px/1.3 var(--sans); color: var(--ink-2); }
.field > .lbl small { font: 400 12px/1.3 var(--mono); color: var(--ink-3); }
.input, .select, .textarea { width: 100%; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white); font: 400 16px/1.3 var(--sans); color: var(--ink); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); -webkit-appearance: none; appearance: none; }
.textarea { padding: 12px 14px; min-height: 140px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink-2); box-shadow: 0 0 0 4px rgba(201, 255, 63, .45); }
.input.mono { font-family: var(--mono); letter-spacing: -0.02em; }
.input[aria-invalid='true'], .textarea[aria-invalid='true'] { border-color: var(--bad); }
.select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236f6f68' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.help { font-size: 12.5px; line-height: 1.45; color: var(--ink-3); margin: 0; }
.err { font-size: 13.5px; line-height: 1.45; color: var(--bad); margin: 0; }
.err:empty { display: none; }
.okmsg { font-size: 13.5px; line-height: 1.45; color: var(--ok); margin: 0; }
.okmsg:empty { display: none; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper-2); min-width: 0; }
.seg button { min-width: 0; min-height: 40px; padding: 0 6px; border: 0; border-radius: 9px; background: transparent; font: 500 13.5px/1.1 var(--sans); color: var(--ink-3); transition: background .15s var(--ease), color .15s var(--ease); }
.seg button[aria-pressed='true'], .seg button[aria-selected='true'] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-1), 0 0 0 1px var(--line); }
@media (max-width: 400px) { .seg.wrap4 { grid-auto-flow: row; grid-template-columns: 1fr 1fr; } }

.switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .knob { position: relative; width: 44px; height: 26px; flex: none; border-radius: 999px; background: var(--paper-3); border: 1px solid var(--line-strong); transition: background .15s var(--ease); }
.switch .knob::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-1); transition: transform .2s var(--ease); }
.switch input:checked + .knob { background: var(--neon); }
.switch input:checked + .knob::after { transform: translateX(18px); }
.switch input:focus-visible + .knob { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------------------------------------------------------------------------------------------- cards */

.card { position: relative; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-2); padding: 20px; min-width: 0; }
@media (min-width: 640px) { .card { padding: 24px; } }
.card.flat { box-shadow: var(--shadow-1); }
.card.paper { background: var(--paper); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; min-width: 0; }
.card-head h2, .card-head h3 { font: 600 15.5px/1.2 var(--sans); letter-spacing: -0.015em; }
.card-head .meta { font: 400 12px/1.2 var(--mono); color: var(--ink-3); }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.stack-sm { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.row.wr { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.spacer { flex: 1; }

.kv { display: grid; margin: 0; }
.kv > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line-strong); min-width: 0; }
.kv > div:last-child { border-bottom: 0; }
.kv dt { font-size: 13px; color: var(--ink-3); flex: none; }
.kv dd { margin: 0; font: 500 13.5px/1.35 var(--mono); letter-spacing: -0.02em; text-align: right; min-width: 0; overflow-wrap: anywhere; }

.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 9px; border-radius: 999px; font: 500 11.5px/1 var(--mono); letter-spacing: -0.01em; white-space: nowrap; background: var(--paper-3); color: var(--ink-2); }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.badge.plain::before { display: none; }
.badge.ok { background: var(--ok-tint); color: var(--ok); }
.badge.bad { background: var(--bad-tint); color: var(--bad); }
.badge.warn { background: var(--warn-tint); color: var(--warn); }
.badge.neon { background: var(--neon); color: var(--ink); }
.badge.run::before { animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .2; } }

.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--warn-tint); color: #4f3a10; font-size: 13.5px; line-height: 1.5; }
.note .bd-icon { width: 16px; height: 16px; margin-top: 2px; }
.note.neon { background: var(--neon-tint); color: var(--neon-ink); }
.note.bad { background: var(--bad-tint); color: var(--bad); }
.note.plain { background: var(--paper-2); color: var(--ink-2); }

.empty { display: grid; justify-items: center; gap: 8px; padding: 28px 14px; text-align: center; color: var(--ink-3); font-size: 14px; border: 1px dashed var(--line-strong); border-radius: 14px; background: var(--paper); }
.empty b { font: 600 15px/1.3 var(--sans); color: var(--ink); }
.skel { display: inline-block; min-width: 3.5em; height: .9em; border-radius: 4px; background: linear-gradient(90deg, var(--paper-3), var(--paper-2), var(--paper-3)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; vertical-align: middle; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* toasts */
.toasts { position: fixed; left: 50%; bottom: calc(18px + var(--safe-b)); z-index: 70; display: grid; gap: 8px; width: min(420px, calc(100vw - 28px)); transform: translateX(-50%); pointer-events: none; }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 13.5px; line-height: 1.45; box-shadow: 0 18px 40px -18px rgba(20, 20, 19, .6); pointer-events: auto; transition: opacity .3s; }
.toast .bd-icon { margin-top: 2px; color: var(--neon); }
.toast.bad .bd-icon { color: #ff9c8a; }
.toast a { color: var(--neon); text-decoration: underline; text-underline-offset: 3px; }

/* dialogs */
.dlg-back { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgba(20, 20, 19, .34); padding: 0; }
@media (min-width: 640px) { .dlg-back { align-items: center; padding: 24px; } }
.dlg { position: relative; width: 100%; max-width: 480px; max-height: calc(100svh - 24px); overflow: auto; background: var(--white); border-radius: 20px 20px 0 0; padding: 20px var(--gutter) calc(20px + var(--safe-b)); box-shadow: 0 30px 80px -30px rgba(20, 20, 19, .6); overscroll-behavior: contain; }
@media (min-width: 640px) { .dlg { border-radius: 20px; padding: 24px; } }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dlg-head h2 { font: 600 18px/1.25 var(--sans); letter-spacing: -0.02em; }

/* ---------------------------------------------------------------------------------------------- the mark */

.mark-tile { fill: var(--ink); }

/* ------------------------------------------------------------------------------------------- sections */

.section { padding: 84px 0 0; }
.section-head { display: grid; gap: 12px; margin-bottom: 34px; max-width: 44rem; }
@media (max-width: 640px) { .section { padding-top: 64px; } .section-head { margin-bottom: 24px; } }

/* hero */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 65% at 70% 30%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 70% 65% at 70% 30%, #000 10%, transparent 72%); opacity: .55; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .hero { padding-top: 36px; } }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px 0 6px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); font-size: 13px; color: var(--ink-2); box-shadow: var(--shadow-1); max-width: 100%; }
.hero-kicker b { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: var(--neon); font: 500 11px/1 var(--mono); letter-spacing: .02em; }
.hero-kicker .bd-icon { width: 13px; height: 13px; color: var(--ink-3); }
.hero h1 { margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 32px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); max-width: 35rem; }
.hero-facts li { display: grid; gap: 3px; }
.hero-facts b { font: 500 20px/1 var(--mono); letter-spacing: -0.04em; }
.hero-facts span { font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 420px) { .hero-cta .btn { flex: 1 1 100%; } }

/* the run receipt (hero sample and the real one) */
.receipt { position: relative; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--white); box-shadow: 0 1px 2px rgba(20, 20, 19, .06), 0 40px 80px -46px rgba(20, 20, 19, .55); overflow: hidden; min-width: 0; }
.rc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--paper); min-width: 0; }
.rc-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rc-id .glyph { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--ink); color: var(--neon); }
.rc-id .glyph svg { width: 17px; height: 17px; }
.rc-id b { display: block; font: 600 14.5px/1.2 var(--sans); letter-spacing: -0.015em; overflow-wrap: anywhere; }
.rc-id span { display: block; font: 400 11.5px/1.3 var(--mono); color: var(--ink-3); overflow-wrap: anywhere; }
.rc-state { position: relative; display: inline-grid; flex: none; }
.rc-state > * { grid-area: 1 / 1; }
.rc-steps { list-style: none; margin: 0; padding: 6px 0; }
.rc-step { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 18px; min-width: 0; }
.rc-step + .rc-step { border-top: 1px dashed var(--line); }
.rc-kind { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line); }
.rc-kind svg { width: 14px; height: 14px; }
.rc-step.k-model .rc-kind { background: var(--neon-tint); color: var(--neon-ink); border-color: rgba(63, 90, 18, .16); }
.rc-step.k-code .rc-kind { background: var(--ink); color: var(--neon); border-color: var(--ink); }
.rc-main { min-width: 0; }
.rc-main b { display: block; font: 500 12.5px/1.3 var(--mono); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.rc-main span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--ink-2); overflow-wrap: anywhere; }
.rc-main code { display: block; margin-top: 5px; padding: 6px 8px; border-radius: 7px; background: var(--paper-2); font: 400 11.5px/1.45 var(--mono); color: var(--ink-3); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 7.5em; overflow: hidden; }
.rc-cost { font: 500 12.5px/1.3 var(--mono); letter-spacing: -0.02em; color: var(--ink-2); white-space: nowrap; text-align: right; padding-top: 1px; }
.rc-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line-strong); background: var(--paper); }
.rc-total span { font-size: 13px; color: var(--ink-3); }
.rc-total b { font: 600 17px/1 var(--mono); letter-spacing: -0.03em; }
.rc-total b small { font-size: 11px; font-weight: 500; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.rc-report { padding: 14px 18px 18px; border-top: 1px dashed var(--line-strong); font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.rc-report .lbl { display: block; margin-bottom: 6px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.receipt .perf { position: absolute; left: 0; right: 0; height: 10px; background: radial-gradient(circle at 5px 5px, var(--paper) 3.5px, transparent 4px) 0 0 / 14px 10px repeat-x; }
@media (max-width: 380px) { .rc-step { grid-template-columns: 24px minmax(0, 1fr); } .rc-cost { grid-column: 2; text-align: left; } .rc-top, .rc-step, .rc-total, .rc-report { padding-left: 14px; padding-right: 14px; } }

/* hero sample: steps print one after another, then the run is done */
.hero-receipt { position: relative; }
.hero-receipt .tag { position: absolute; top: -12px; right: 18px; z-index: 2; }
.hero-receipt .rc-step { opacity: 0; transform: translateY(6px); animation: stepIn .5s var(--ease) forwards; animation-delay: calc(var(--i) * 650ms + 300ms); }
.hero-receipt .rc-total, .hero-receipt .rc-report { opacity: 0; animation: stepIn .5s var(--ease) forwards; animation-delay: 3.9s; }
.hero-receipt .st-run { animation: hideAt 0s linear 3.9s forwards; }
.hero-receipt .st-done { opacity: 0; animation: showAt 0s linear 3.9s forwards; }
@keyframes stepIn { to { opacity: 1; transform: none; } }
@keyframes hideAt { to { opacity: 0; visibility: hidden; } }
@keyframes showAt { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-receipt .rc-step, .hero-receipt .rc-total, .hero-receipt .rc-report { opacity: 1; transform: none; animation: none; }
  .hero-receipt .st-run { display: none; }
  .hero-receipt .st-done { opacity: 1; animation: none; }
  html { scroll-behavior: auto; }
}

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { position: relative; display: grid; align-content: start; gap: 10px; padding: 22px 20px 22px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-1); min-width: 0; }
.step .no { font: 500 12px/1 var(--mono); color: var(--ink-3); }
.step .art { width: 54px; height: 54px; margin: 6px 0 4px; }
.step h3 { font: 600 18px/1.25 var(--sans); letter-spacing: -0.025em; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.step p b { font-weight: 600; color: var(--ink); }

/* tools and prices */
.uses { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 860px) { .uses { grid-template-columns: minmax(0, 1fr); } }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px dashed var(--line-strong); min-width: 0; }
.price-list li:last-child { border-bottom: 0; }
.price-list .pi { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); }
.price-list .pi svg { width: 17px; height: 17px; }
.price-list b { display: block; font: 600 14.5px/1.3 var(--sans); letter-spacing: -0.015em; }
.price-list span { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.price-list .pr { font: 500 13px/1.35 var(--mono); letter-spacing: -0.02em; text-align: right; white-space: nowrap; }
.price-list .pr small { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: 0; }
@media (max-width: 420px) { .price-list li { grid-template-columns: 34px minmax(0, 1fr); } .price-list .pr { grid-column: 2; text-align: left; white-space: normal; } }
.model-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.model-table th { text-align: left; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 0 0 10px; }
.model-table th + th, .model-table td + td { text-align: right; }
.model-table td { padding: 12px 0; border-top: 1px dashed var(--line-strong); }
.model-table td:first-child b { display: block; font-weight: 600; letter-spacing: -0.015em; }
.model-table td:first-child span { display: block; font: 400 11.5px/1.3 var(--mono); color: var(--ink-3); overflow-wrap: anywhere; }
.model-table td + td { font: 500 13px/1 var(--mono); letter-spacing: -0.02em; white-space: nowrap; padding-left: 10px; }
.fine { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }

/* templates */
.tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .tpls { grid-template-columns: minmax(0, 1fr); } }
.tpl { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px 20px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-1); min-width: 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.tpl:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.tpl-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tpl h3 { font: 600 19px/1.2 var(--sans); letter-spacing: -0.025em; }
.tpl .link { margin-top: auto; padding-top: 4px; align-self: flex-start; }
.tpl blockquote { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font: 400 13px/1.55 var(--mono); color: var(--ink-2); letter-spacing: -0.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line-strong); font: 500 11.5px/1 var(--mono); color: var(--ink-2); background: var(--paper); }

/* the burn band */
.band { position: relative; overflow: hidden; border-radius: 24px; background: var(--ink); color: var(--paper); padding: 40px 36px; }
@media (max-width: 640px) { .band { padding: 28px 20px; border-radius: 20px; } }
.band::after { content: ''; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(201, 255, 63, .22); box-shadow: 0 0 0 48px rgba(201, 255, 63, .03), 0 0 0 96px rgba(201, 255, 63, .02); pointer-events: none; }
.band-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: end; }
@media (max-width: 860px) { .band-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
.band .eyebrow { color: rgba(248, 248, 246, .6); }
.band h2 { color: var(--paper); margin-top: 14px; }
.band h2 em { font-style: normal; color: var(--neon); }
.band p { color: rgba(248, 248, 246, .72); margin: 14px 0 0; max-width: 32rem; }
.band-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-radius: 16px; overflow: hidden; background: rgba(248, 248, 246, .14); }
.band-stats > div { display: grid; gap: 6px; padding: 18px; background: #1c1c1a; min-width: 0; }
.band-stats b { font: 500 clamp(1.35rem, 3.6vw, 1.85rem)/1 var(--mono); letter-spacing: -0.04em; color: var(--neon); overflow-wrap: anywhere; }
.band-stats span { font-size: 12.5px; color: rgba(248, 248, 246, .6); }
.band-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.band .btn:not(.btn-primary) { background: transparent; color: var(--paper); border-color: rgba(248, 248, 246, .3); box-shadow: none; }
.band .btn:not(.btn-primary):hover { background: rgba(248, 248, 246, .08); }
.band .status { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font: 500 12px/1 var(--mono); color: rgba(248, 248, 246, .7); }
.band .status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--neon); }

/* faq */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item:first-child { border-top: 1px solid var(--line-strong); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; list-style: none; cursor: pointer; font: 600 16px/1.35 var(--sans); letter-spacing: -0.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq-item summary i::before, .faq-item summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s var(--ease); }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-item p { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 40rem; }

.end-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 28px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--white); box-shadow: var(--shadow-1); }
.end-cta p { margin: 0; font: 600 clamp(1.15rem, 3vw, 1.45rem)/1.3 var(--sans); letter-spacing: -0.025em; max-width: 34rem; }

/* inner pages */
.page-head { padding: 52px 0 0; display: grid; gap: 14px; }
@media (max-width: 640px) { .page-head { padding-top: 34px; } }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-1); min-width: 0; }
.stat b { font: 500 clamp(1.3rem, 4vw, 1.85rem)/1 var(--mono); letter-spacing: -0.04em; overflow-wrap: anywhere; }
.stat span { font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 14px 16px 10px; white-space: nowrap; }
.table td { padding: 12px 16px; border-top: 1px solid var(--line); white-space: nowrap; }
.table td.mono a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
@media (max-width: 560px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 12px 14px; border-top: 1px solid var(--line); }
  .table tr:first-child { border-top: 0; }
  .table td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
  .table td::before { content: attr(data-k); color: var(--ink-3); font-size: 12.5px; flex: none; }
  .table td.full::before { display: none; }
}
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

/* docs prose */
.docs-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .docs-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.toc { position: sticky; top: 88px; display: grid; gap: 2px; }
.toc a { display: flex; align-items: center; min-height: 36px; padding: 0 10px; border-radius: 8px; font-size: 14px; color: var(--ink-3); }
.toc a:hover { color: var(--ink); background: var(--paper-2); }
@media (max-width: 900px) { .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; } .toc a { min-height: 40px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); font-size: 13px; } }
.prose { max-width: 44rem; min-width: 0; }
.prose h2 { font: 700 clamp(1.4rem, 3.6vw, 1.75rem)/1.15 var(--sans); letter-spacing: -0.035em; margin: 52px 0 12px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 600 17px/1.3 var(--sans); letter-spacing: -0.02em; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin: 4px 0; }
.prose a { text-decoration: underline; text-decoration-color: var(--neon-2); text-decoration-thickness: 2px; text-underline-offset: 3px; color: var(--ink); }
.prose code { font: 400 .88em/1.4 var(--mono); padding: 1px 5px; border-radius: 5px; background: var(--paper-2); border: 1px solid var(--line); overflow-wrap: anywhere; }
.prose pre { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; background: var(--ink); color: var(--paper); overflow-x: auto; font: 400 13px/1.55 var(--mono); }
.prose pre code { padding: 0; border: 0; background: none; color: inherit; }
.prose .kv { margin: 0 0 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--white); padding: 4px 16px; }

/* rendered markdown in reports (escaped first, see js/ui/md.js) */
.md { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); overflow-wrap: anywhere; }
.md > :first-child { margin-top: 0; }
.md > :last-child { margin-bottom: 0; }
.md p { margin: 0 0 10px; }
.md h3, .md h4, .md h5 { font: 600 15px/1.35 var(--sans); letter-spacing: -0.015em; margin: 16px 0 6px; color: var(--ink); }
.md ul, .md ol { margin: 0 0 10px; padding-left: 20px; }
.md li { margin: 3px 0; }
.md code { font: 400 .88em/1.4 var(--mono); padding: 1px 5px; border-radius: 5px; background: var(--paper-2); }
.md pre { margin: 0 0 10px; padding: 12px 14px; border-radius: 10px; background: var(--paper-2); overflow-x: auto; font: 400 12.5px/1.5 var(--mono); }
.md pre code { background: none; padding: 0; }
.md a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--neon-2); text-underline-offset: 3px; }
.md blockquote { margin: 0 0 10px; padding: 2px 0 2px 12px; border-left: 3px solid var(--neon-2); color: var(--ink-3); }
.md hr { border: 0; border-top: 1px dashed var(--line-strong); margin: 14px 0; }

.lost { display: grid; justify-items: start; gap: 16px; padding: 90px 0 20px; }
.lost .big { font: 500 clamp(4rem, 16vw, 8rem)/1 var(--mono); letter-spacing: -0.06em; }

/* ticker chips: logos only from img/stocks (parestocks.com), a drawn letter for any other ticker */
.tk { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 9px 0 3px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); font: 500 11.5px/1 var(--mono); color: var(--ink); white-space: nowrap; }
.tk-logo { width: 20px; height: 20px; flex: none; border-radius: 50%; object-fit: contain; padding: 3px; background: var(--ink); }
.tk-letter { display: inline-grid; place-items: center; background: var(--ink); color: var(--neon); font: 600 10.5px/1 var(--mono); }
.tks { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-tks { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 18px; border-bottom: 1px solid var(--line); }
@media (max-width: 380px) { .rc-tks { padding-left: 14px; padding-right: 14px; } }

/* small shared pieces of the inner pages */
.narrow { max-width: 48rem; }
.section.tight { padding-top: 40px; }
.plain-list { margin: 0 0 18px; padding-left: 20px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.plain-list li { margin: 6px 0; }
.plain-list code { font: 400 .88em/1.4 var(--mono); padding: 1px 5px; border-radius: 5px; background: var(--paper-2); overflow-wrap: anywhere; }
.run-body { margin-top: 28px; }
.run-cta { margin-top: 28px; }
.spin-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--paper-3); border-top-color: var(--ink); animation: spin .8s linear infinite; }
