/* The Leading Zeros: site styles. Tokens from brand/DESIGN.md. */
@font-face { font-family: 'Geist'; src: url('../assets/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../assets/fonts/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ground: #0f2a22;
  --ground-2: #0b211b;
  --panel: #143329;
  --panel-2: #1a3d31;
  --hairline: #24493d;
  --hairline-2: #2f5a4b;
  --ink: #eef2f0;
  --ink-2: #b9c8c1;
  --ink-3: #8ea89e;
  --accent: #7ef0b4;
  --accent-ink: #0b211b;
  --accent-dim: rgba(126, 240, 180, .14);
  --danger: #ff8a7a;
  --t0: #b9c8c1; --t1: #7ec8f0; --t2: #c6a6ff; --t3: #ffc46b; --t4: #ff7a7a;
  --shadow: 0 24px 60px rgba(4, 20, 14, .5);
  --r: 12px;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --col: min(1560px, 100vw - 64px);
  --pad: 96px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
@media (max-width: 760px) { :root { --col: calc(100vw - 32px); --pad: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ground); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--sans); background: var(--ground); color: var(--ink); min-height: 100dvh; overflow-x: hidden; padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); overscroll-behavior-y: none; }
body.lenis { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }
a, button, input, select, textarea { touch-action: manipulation; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
code, .mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.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; }
.col { width: var(--col); margin: 0 auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- chrome ---------- */
.nav { position: sticky; top: 0; z-index: 40; height: 68px; display: flex; align-items: center; background: color-mix(in srgb, var(--ground) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline); }
.nav .col { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 22px; margin-left: 8px; font-size: 15px; color: var(--ink-2); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--hairline); }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; background: var(--ground-2); border-bottom: 1px solid var(--hairline); padding: 8px 16px 16px; }
  .nav-links.open a { padding: 12px 4px; border-bottom: 1px solid var(--hairline); font-size: 17px; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav .btn-secondary.wallet { display: none; }
}
.demo-tag { display: none; position: fixed; left: 16px; bottom: 16px; z-index: 50; padding: 8px 12px; border-radius: var(--r); background: #3b2d12; color: #ffd27a; border: 1px solid #6a4f1a; font: 500 12px/1 var(--mono); }
body[data-demo] .demo-tag { display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r); font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .15s var(--ease), background .2s, color .2s, border-color .2s; border: 1px solid transparent; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #9af5c6; color: var(--accent-ink); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--hairline-2); }
.btn-secondary:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn .spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.footer { border-top: 1px solid var(--hairline); padding: 40px 0 48px; color: var(--ink-3); font-size: 14px; }
.footer .col { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer .addr { font-family: var(--mono); font-size: 12px; word-break: break-all; }
@media (max-width: 760px) { .footer .col { grid-template-columns: 1fr 1fr; } }

/* ---------- preloader ---------- */
.pre { position: fixed; inset: 0; z-index: 100; background: var(--ground-2); display: grid; place-items: center; transition: opacity .5s var(--ease), visibility .5s; }
.pre img { width: 72px; height: 72px; animation: fan 1.1s cubic-bezier(.3, 0, .2, 1) forwards; }
.pre.done { opacity: 0; visibility: hidden; }
@keyframes fan { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pre { display: none; } }

/* ---------- common blocks ---------- */
.section { padding: var(--pad) 0; }
.section + .section { border-top: 1px solid var(--hairline); }
.h-display { font-size: clamp(34px, 3.3vw, 56px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.h2 { font-size: clamp(28px, 2.4vw, 38px); margin-bottom: 14px; }
.h3 { font-size: 22px; }
.lede { color: var(--ink-2); font-size: 18px; max-width: 62ch; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.label { font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.accent { color: var(--accent); }
.panel { background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--r); }
.hair { border-top: 1px solid var(--hairline); }
.grid { display: grid; gap: 16px; }
.grid > *, .coin-grid > *, .launch-grid > *, .coin-head > *, .rig-page > *, .how-wrap > *, .fees > *, .hero .col > * { min-width: 0; }
.g2 { grid-template-columns: 1fr 1fr; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.readout { padding: 16px 18px; }
.readout .label { margin-bottom: 8px; }
.readout .v { font: 500 30px/1.05 var(--mono); letter-spacing: -.02em; }
.readout .sub { color: var(--ink-3); font-size: 13px; margin-top: 6px; }
.readout.live .v { color: var(--accent); }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font: 500 12px/1 var(--mono); letter-spacing: .02em; color: var(--c, var(--ink-2)); background: color-mix(in srgb, var(--c, var(--ink-2)) 16%, transparent); }
.chip.t0 { --c: var(--t0); } .chip.t1 { --c: var(--t1); } .chip.t2 { --c: var(--t2); } .chip.t3 { --c: var(--t3); } .chip.t4 { --c: var(--t4); }
.chip.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hash { font-family: var(--mono); font-size: 13px; letter-spacing: .01em; word-break: break-all; color: var(--ink-2); }
.hash .z { color: var(--accent); }
.hash .z0 { color: var(--ink-3); }

/* rig card */
.rig { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 14px; align-items: start; }
.rig .art { width: 112px; height: 112px; border-radius: 8px; background: var(--ground-2); border: 1px solid var(--hairline); display: grid; place-items: center; position: relative; overflow: hidden; }
.rig .art svg { width: 100%; height: 100%; }
.rig .name { font-weight: 600; font-size: 16px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rig .meta { color: var(--ink-3); font-size: 13px; margin-top: 4px; font-family: var(--mono); }
.rig .earn { margin-top: 10px; font: 500 20px/1 var(--mono); }
.rig .earn small { font: 500 12px/1 var(--mono); color: var(--ink-3); margin-left: 6px; }
.rig.big { grid-template-columns: 1fr; }
.rig.big .art { width: 100%; height: auto; aspect-ratio: 1; }

/* feed rows */
.feed { display: grid; gap: 0; }
.feed-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--hairline); min-width: 0; }
.feed-row .hash { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-row .sym { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.feed-row .bits { font-family: var(--mono); font-size: 13px; }
.feed-row .ago { color: var(--ink-3); font-size: 12px; font-family: var(--mono); min-width: 44px; text-align: right; }
@media (max-width: 640px) { .feed-row { grid-template-columns: 1fr auto; } .feed-row .sym, .feed-row .ago { display: none; } }

/* coin list */
.coin-row { display: grid; grid-template-columns: 56px 1.4fr 1fr 1fr 1fr 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--hairline); }
.coin-row:hover { background: var(--panel); }
.coin-row img, .coin-row .img { width: 56px; height: 56px; border-radius: 10px; background: var(--panel-2); object-fit: cover; }
.coin-row .k { font-size: 12px; color: var(--ink-3); font-family: var(--mono); }
.coin-row .v { font-family: var(--mono); font-size: 15px; }
.coin-row .nm { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.coin-row .nm small { display: block; color: var(--ink-3); font-weight: 400; font-family: var(--mono); font-size: 12px; }
@media (max-width: 960px) { .coin-row { grid-template-columns: 48px 1fr 1fr auto; } .coin-row .hide-m { display: none; } }

/* forms */
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; height: 46px; padding: 0 14px; border-radius: var(--r); background: var(--ground-2); border: 1px solid var(--hairline-2); color: var(--ink); }
.field textarea { height: auto; padding: 12px 14px; min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field .help { color: var(--ink-3); font-size: 13px; }
.field .err { color: var(--danger); font-size: 13px; }
.field input::placeholder { color: var(--ink-3); }
.seg { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border: 1px solid var(--hairline-2); border-radius: var(--r); }
.seg button { height: 36px; padding: 0 16px; border-radius: 8px; font-family: var(--mono); font-size: 14px; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.panel > .tbl { margin: 8px 0; }
.panel > .tbl tr:last-child td { border-bottom: 0; }
.tbl th { text-align: left; font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 10px 12px; border-bottom: 1px solid var(--hairline); }
.tbl td { padding: 12px; border-bottom: 1px solid var(--hairline); font-family: var(--mono); vertical-align: top; }
.tbl td.sans { font-family: var(--sans); }
.tbl a.mono { color: var(--accent); }

.empty { padding: 40px 20px; text-align: center; color: var(--ink-3); border: 1px dashed var(--hairline-2); border-radius: var(--r); }
.skel { background: linear-gradient(90deg, var(--panel) 25%, var(--panel-2) 50%, var(--panel) 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: 8px; min-height: 18px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.toast { position: fixed; right: 16px; bottom: 16px; z-index: 60; background: var(--panel-2); border: 1px solid var(--hairline-2); border-radius: var(--r); padding: 12px 16px; max-width: 360px; font-size: 14px; box-shadow: var(--shadow); }
.toast.err { border-color: var(--danger); }

/* ---------- home ---------- */
.hero { padding: 48px 0 56px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 70%; background: radial-gradient(60% 60% at 30% 20%, rgba(126, 240, 180, .10), transparent 70%); pointer-events: none; }
.hero .col { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; position: relative; }
.hero-copy .h-display { margin-bottom: 20px; }
.hero-copy .h-display .line { display: block; overflow: hidden; }
.hero-copy .h-display .line > span { display: block; }
.hero-copy .lede { margin-bottom: 26px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stage { display: grid; grid-template-columns: 1fr 300px; gap: 16px; min-height: 420px; }
.hero-term { padding: 16px 18px; font-family: var(--mono); font-size: 13px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.hero-term .head { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 12px; margin-bottom: 10px; }
.hero-term .stream { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; min-height: 300px; mask-image: linear-gradient(to bottom, transparent, #000 22%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%); }
.hero-term .stream .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-3); min-width: 0; }
.hero-term .stream .l .hash { white-space: nowrap; }
.hero-term .stream .l.hit { color: var(--ink); }
.hero-term .stream .l.hit .z { color: var(--accent); font-weight: 600; }
.hero-term .foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hairline); color: var(--ink-2); font-size: 12px; }
.hero-rig { align-self: end; }
.hero-rig .cap { padding: 10px 14px 0; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 1100px) { .hero .col { grid-template-columns: 1fr; } .hero-stage { min-height: 0; } }
@media (max-width: 640px) { .hero-stage { grid-template-columns: 1fr; } .hero-term .stream { min-height: 140px; } }

.stats-band { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.stats-band .readout { border-right: 1px solid var(--hairline); background: transparent; border-radius: 0; }
.stats-band .readout:last-child { border-right: 0; }
@media (max-width: 960px) { .stats-band { grid-template-columns: repeat(2, 1fr); } .stats-band .readout:nth-child(2n) { border-right: 0; } .stats-band .readout { border-bottom: 1px solid var(--hairline); } }

.how { position: relative; }
.how-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.how-steps { display: grid; gap: 0; }
.how-step { padding: 22px 0; border-top: 1px solid var(--hairline); opacity: .45; transition: opacity .3s; }
.how-step.on { opacity: 1; }
.how-step h3 { margin-bottom: 6px; }
.how-step p { color: var(--ink-2); max-width: 52ch; }
.how-stage { position: sticky; top: 96px; min-height: 520px; padding: 24px; display: grid; grid-template-rows: auto 1fr auto; gap: 16px; min-width: 0; overflow: hidden; }
.how-stage .scene { display: grid; place-items: center; min-width: 0; }
.how-stage .scene > div { grid-area: 1 / 1; width: 100%; min-width: 0; overflow: hidden; opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.how-stage .scene > div.on { opacity: 1; transform: none; }
@media (max-width: 960px) { .how-wrap { grid-template-columns: 1fr; } .how-stage { position: static; min-height: 0; } }

.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tier { padding: 18px; border-top: 3px solid var(--c); }
.tier .nm { font-weight: 600; font-size: 18px; color: var(--c); }
.tier .odds { font: 500 28px/1 var(--mono); margin: 12px 0 4px; }
.tier .w { color: var(--ink-3); font-size: 13px; font-family: var(--mono); }
@media (max-width: 960px) { .tiers { grid-template-columns: repeat(2, 1fr); } }

.fees { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.split { display: grid; grid-template-columns: 8fr 1fr 1fr; gap: 4px; height: 56px; border-radius: var(--r); overflow: hidden; }
.split > div { display: grid; place-items: center; font: 600 14px var(--mono); }
.split .rigs { background: var(--accent); color: var(--accent-ink); }
.split .l, .split .p { background: var(--panel-2); color: var(--ink-2); }

.marq { overflow: hidden; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 14px 0; }
.marq-track { display: flex; gap: 40px; width: max-content; will-change: transform; }
.marq-item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .marq-track { transform: none !important; } }

.cta-band { padding: 56px 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 960px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } .fees { grid-template-columns: 1fr; } }

/* ---------- coin page ---------- */
.coin-head { display: grid; grid-template-columns: 88px 1fr auto; gap: 20px; align-items: center; margin-bottom: 24px; }
.coin-head img, .coin-head .img { width: 88px; height: 88px; border-radius: 14px; background: var(--panel-2); object-fit: cover; }
.coin-head .h2 { margin-bottom: 4px; }
.coin-head .links { display: flex; gap: 10px; flex-wrap: wrap; min-width: 0; }
.coin-head .h2 { overflow-wrap: anywhere; }
.coin-head #c-mint { overflow-wrap: anywhere; }
.coin-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.launch-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 960px) { .coin-grid, .launch-grid { grid-template-columns: 1fr; } .coin-head { grid-template-columns: 64px 1fr; } .coin-head .links { grid-column: 1 / -1; } .seg { display: grid; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); } .seg button { padding: 0 8px; } }
.mine-panel { padding: 20px; display: grid; gap: 14px; }
.mine-panel .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mine-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mine-stats .readout { padding: 12px; }
.mine-stats .readout .v { font-size: 20px; }
.window-bar { height: 6px; border-radius: 3px; background: var(--ground-2); overflow: hidden; }
.window-bar > i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .9s linear; }
.rigs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 12px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--hairline); margin-bottom: 16px; overflow-x: auto; }
.tabs button { padding: 10px 14px; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 500; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- rig page ---------- */
.rig-page { display: grid; grid-template-columns: 420px 1fr; gap: 32px; align-items: start; }
.checks { display: grid; gap: 0; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.check .ok { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--mono); background: var(--accent-dim); color: var(--accent); }
.check .ok.bad { background: rgba(255, 138, 122, .16); color: var(--danger); }
.check .d { color: var(--ink-3); font-size: 13px; font-family: var(--mono); word-break: break-all; margin-top: 4px; }
@media (max-width: 960px) { .rig-page { grid-template-columns: 1fr; } }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.docs > * { min-width: 0; }
.docs article h2, .docs article p { overflow-wrap: anywhere; }
.docs nav { position: sticky; top: 92px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.docs nav a.on { color: var(--accent); }
.docs article h2 { font-size: 26px; margin: 48px 0 12px; scroll-margin-top: 90px; }
.docs article h2:first-child { margin-top: 0; }
.docs article h3 { font-size: 18px; margin: 24px 0 8px; }
.docs article p { color: var(--ink-2); margin-bottom: 12px; max-width: 72ch; }
.docs article li { color: var(--ink-2); margin-bottom: 6px; }
.docs .tbl { display: block; overflow-x: auto; }
.docs .tbl td { overflow-wrap: anywhere; }
.docs pre { background: var(--ground-2); border: 1px solid var(--hairline); border-radius: var(--r); padding: 14px 16px; overflow-x: auto; font-size: 13px; line-height: 1.5; }
.docs code { font-size: 13px; background: var(--ground-2); padding: 2px 6px; border-radius: 6px; }
.docs pre code { background: none; padding: 0; }
@media (max-width: 960px) { .docs { grid-template-columns: minmax(0, 1fr); } .docs nav { position: static; display: flex; flex-wrap: wrap; gap: 12px; } }

.copyable { display: inline-flex; vertical-align: middle; gap: 8px; align-items: center; font-family: var(--mono); font-size: 13px; background: var(--ground-2); border: 1px solid var(--hairline); border-radius: 8px; padding: 6px 10px; max-width: 100%; }
.copyable span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copyable button { color: var(--accent); font-size: 12px; }

/* file input */
.field input[type=file] { padding: 10px 14px; height: auto; border-style: dashed; cursor: pointer; }
.field input[type=file]::file-selector-button { font: inherit; color: var(--accent-ink); background: var(--accent); border: 0; border-radius: 8px; padding: 8px 12px; margin-right: 12px; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .skel { animation: none; }
  .btn, .how-step, .how-stage .scene > div, .window-bar > i, .pre { transition: none; }
  .how-stage .scene > div { transform: none; }
}
