/* Glint design system
   Signature: a horizon line, the page mirrored under it, chamfered corners, a light glint that sweeps across things.
   Palette: bone paper, ink, one hot lime, one ember for alerts. No purple, no teal. */

:root {
  --bone: #ecede6;
  --paper: #f6f6f1;
  --ink: #0a0b09;
  --ink-2: #1a1c18;
  --steel: #7d837a;
  --steel-2: #a6aba2;
  --line: rgba(10, 11, 9, 0.14);
  --lime: #c6f51f;
  --lime-deep: #8fb300;
  --ember: #ff4f1a;
  --fg: var(--ink);
  --bg: var(--bone);
  --surface: var(--paper);
  --muted: #5d6359;
  --cut: 12px;
  --font-display: 'Bricolage Grotesque', 'Inter Tight', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wrap: 1240px;
}

.night {
  --fg: var(--bone);
  --bg: var(--ink);
  --surface: var(--ink-2);
  --muted: #9a9f94;
  --line: rgba(236, 237, 230, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 96px;
}
img, svg, canvas, video { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

.section { background: var(--bg); color: var(--fg); padding: 110px 0; position: relative; }
.section.tight { padding: 70px 0; }
.section + .section:not(.night):not(.paper) { border-top: 1px solid var(--line); }
.paper { background: var(--paper); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; margin: 0; }
h1 { font-size: clamp(54px, 8.2vw, 124px); font-weight: 800; letter-spacing: -0.045em; }
h2 { font-size: clamp(36px, 5vw, 68px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--muted); max-width: 56ch; }
.kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.kicker::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.mono { font-family: var(--font-mono); }
.hl { background: var(--lime); color: var(--ink); padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
em.it { font-style: normal; color: var(--lime-deep); }
.night em.it { color: var(--lime); }

/* ---------- chamfered buttons ---------- */
.btn {
  --c: var(--cut);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
  padding: 16px 26px; border: 0; cursor: pointer; text-decoration: none; overflow: hidden;
  background: var(--ink); color: var(--bone);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
}
.btn:hover::after { transform: translateX(120%) skewX(-20deg); transition: transform 0.7s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.line:hover { background: var(--ink); color: var(--bone); }
.night .btn:not(.lime):not(.line) { background: var(--bone); color: var(--ink); }
.night .btn.line:hover { background: var(--bone); color: var(--ink); }
.btn.sm { padding: 10px 16px; font-size: 14px; --c: 8px; }
.btn[disabled], .btn.off { opacity: 0.45; pointer-events: none; }
.link { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--lime-deep); }

/* ---------- top bar + dock ---------- */
.top { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; pointer-events: none; }
.top > * { pointer-events: auto; }
.mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.05em; color: var(--ink); }
.top.on-night .mark { color: var(--bone); }
.mark svg { width: 32px; height: 32px; }
.mark .word { position: relative; overflow: hidden; }
.mark .word::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.9) 50%, transparent 65%); transform: translateX(-130%) skewX(-20deg); animation: sweep 6s ease-in-out infinite; mix-blend-mode: overlay; }
@keyframes sweep { 0%, 70% { transform: translateX(-130%) skewX(-20deg); } 100% { transform: translateX(130%) skewX(-20deg); } }
.top-right { display: flex; gap: 10px; align-items: center; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; background: var(--ink); color: var(--bone); text-decoration: none; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: background 0.2s, color 0.2s; }
.icon-btn:hover { background: var(--lime); color: var(--ink); }
.icon-btn svg { width: 17px; height: 17px; }

.dock {
  position: fixed; z-index: 60; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 6px; background: var(--ink); max-width: calc(100vw - 20px);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.dock a {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; text-decoration: none;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #b9bdb2; white-space: nowrap;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color 0.2s, background 0.2s;
}
.dock a:hover { color: var(--bone); background: rgba(255, 255, 255, 0.08); }
.dock a.on { background: var(--lime); color: var(--ink); }
.dock .tk { color: var(--lime); }
.dock a.on .tk { color: var(--ink); }
@media (max-width: 760px) {
  .dock { overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .dock::-webkit-scrollbar { display: none; }
  .dock a { padding: 11px 13px; font-size: 11.5px; }
  .top { padding: 0 16px; }
}

/* ---------- hero: the horizon ---------- */
.hero { position: relative; min-height: 100vh; min-height: max(100vh, 860px); background: var(--bone); overflow: hidden; }
.hero { --hy: 54%; }
.hero .horizon { position: absolute; left: 0; right: 0; top: var(--hy, 54%); height: 0; border-top: 1.5px solid var(--ink); z-index: 3; }
.hero .horizon span { position: absolute; right: 28px; top: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero .horizon span.l { right: auto; left: 28px; }
.hero-copy { position: absolute; z-index: 4; left: max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); top: 0; width: min(780px, 60vw); height: var(--hy, 54%); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 8px; }
.hero-copy h1 { font-size: clamp(44px, 6.3vw, 98px); line-height: 0.95; }
.hero-copy h1 { -webkit-box-reflect: below 6px linear-gradient(transparent 55%, rgba(0, 0, 0, 0.3)); }
.hero-below { position: absolute; z-index: 4; left: max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); top: calc(var(--hy, 54%) + 118px); width: min(500px, 40vw); }
.hero-below .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
#heroChart { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.hero-stats { position: absolute; z-index: 4; right: max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); bottom: 108px; display: flex; gap: 0; background: var(--ink); color: var(--bone); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.hero-stats div { padding: 14px 18px; border-left: 1px solid rgba(255, 255, 255, 0.12); min-width: 128px; }
.hero-stats div:first-child { border-left: 0; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 23px; letter-spacing: -0.03em; line-height: 1.1; }
.hero-stats small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #9a9f94; }
.hero-stats .ok { color: var(--lime); }
@media (max-width: 980px) {
  .hero { display: flex; flex-direction: column; min-height: 0; padding: 104px 16px 130px; }
  .hero-copy { position: static; width: auto; height: auto; padding: 0; order: 1; }
  .hero-below { order: 2; }
  .hero .horizon { order: 3; }
  .hero-stats { order: 4; }
  .hero-copy h1 { font-size: clamp(42px, 12vw, 80px); -webkit-box-reflect: none; }
  .hero-below { position: static; width: auto; margin-top: 24px; }
  .hero .horizon { position: relative; top: auto; left: auto; right: auto; margin: 190px -16px 0; }
  .hero .horizon span.l { left: 16px; }
  .hero-stats { position: static; margin-top: 270px; flex-wrap: wrap; width: 100%; }
  .hero-stats div { flex: 1 1 45%; min-width: 0; }
}

/* ---------- cards, grids ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); padding: 28px; position: relative; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.card .n { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--lime-deep); display: block; margin-bottom: 38px; }
.night .card .n { color: var(--lime); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
@media (max-width: 900px) { .head { grid-template-columns: 1fr; gap: 20px; } }

/* two-venue mirror card: the same coin on two sides of a line */
.mirror { display: grid; grid-template-rows: 1fr auto 1fr; background: var(--surface); border: 1px solid var(--line); }
.mirror .half { padding: 26px 28px; }
.mirror .half.b { transform: none; background: linear-gradient(to bottom, rgba(198, 245, 31, 0.08), transparent); }
.mirror .axis { height: 0; border-top: 1.5px solid var(--fg); position: relative; }
.mirror .axis::after { content: attr(data-l); position: absolute; right: 14px; top: -10px; padding: 0 8px; background: var(--surface); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.vname { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.big { font-family: var(--font-display); font-size: clamp(34px, 4vw, 54px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.row:last-child { border-bottom: 0; }
.row span:first-child { color: var(--muted); }
.row b { font-family: var(--font-mono); font-weight: 500; font-size: 14px; text-align: right; }

/* step rail */
.rail { display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.rail > div { display: grid; grid-template-columns: 92px 1fr 1.1fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; counter-increment: s; }
.rail > div::before { content: '0' counter(s); font-family: var(--font-mono); font-size: 14px; color: var(--lime-deep); letter-spacing: 0.1em; padding-top: 6px; }
.night .rail > div::before { color: var(--lime); }
.rail h3 { font-size: clamp(24px, 2.6vw, 36px); }
.rail p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .rail > div { grid-template-columns: 52px 1fr; } .rail > div > div { grid-column: 2; } }

.pill { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 9px; border: 1px solid currentColor; }
.pill.lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 8px; box-shadow: 0 0 0 0 rgba(198, 245, 31, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(198, 245, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(198, 245, 31, 0); } }

/* ticker */
.ticker { overflow: hidden; background: var(--ink); color: var(--bone); border-block: 1px solid #000; }
.ticker .tr { display: flex; gap: 56px; white-space: nowrap; padding: 14px 0; width: max-content; animation: tick 40s linear infinite; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.ticker .tr span b { color: var(--lime); font-weight: 500; }
@keyframes tick { to { transform: translateX(-50%); } }

/* lab / forms */
.panel { background: var(--surface); border: 1px solid var(--line); padding: 26px; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
label.f { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.field { margin-bottom: 20px; }
input[type='text'], input[type='number'], textarea, select {
  width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; background: var(--bone); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 0; outline: none;
}
input:focus, textarea:focus, select:focus { box-shadow: 4px 4px 0 var(--lime); }
.night input, .night textarea, .night select { background: var(--ink); color: var(--bone); border-color: var(--bone); }
input[type='range'] { width: 100%; accent-color: var(--ink); }
.night input[type='range'] { accent-color: var(--lime); }
.val { font-family: var(--font-mono); font-size: 13px; float: right; color: var(--fg); letter-spacing: 0; text-transform: none; }
.chartbox { background: var(--surface); border: 1px solid var(--line); padding: 14px; position: relative; }
.chartbox canvas { width: 100%; height: 340px; }
.legend { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.legend i { display: inline-block; width: 18px; height: 3px; vertical-align: middle; margin-right: 8px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); margin-top: 16px; background: var(--surface); }
.kpis div { padding: 16px 18px; border-left: 1px solid var(--line); }
.kpis div:first-child { border-left: 0; }
.kpis b { display: block; font-family: var(--font-display); font-size: 28px; letter-spacing: -0.03em; }
.kpis small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 700px) { .kpis { grid-template-columns: 1fr 1fr; } .kpis div:nth-child(3) { border-left: 0; } .kpis div:nth-child(n + 3) { border-top: 1px solid var(--line); } }

/* launch timeline */
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; opacity: 0.38; transition: opacity 0.3s; }
.tl li .ix { width: 26px; height: 26px; display: grid; place-items: center; border: 1.5px solid currentColor; font-family: var(--font-mono); font-size: 11px; }
.tl li.on { opacity: 1; }
.tl li.done { opacity: 1; }
.tl li.done .ix { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.tl li b { font-family: var(--font-display); font-size: 18px; letter-spacing: -0.02em; }
.tl li small { display: block; color: var(--muted); font-size: 14px; }
.tl li code { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* tables */
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th { text-align: left; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 400; padding: 12px 14px; border-bottom: 1.5px solid var(--fg); }
table.t td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t td code, code { font-family: var(--font-mono); font-size: 0.88em; }
.scroll-x { overflow-x: auto; }

/* faq */
details.faq { border-bottom: 1px solid var(--line); padding: 22px 0; }
details.faq summary { cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 20px; }
details.faq summary::after { content: '+'; font-family: var(--font-mono); font-weight: 400; }
details.faq[open] summary::after { content: '–'; }
details.faq p { color: var(--muted); margin: 14px 0 0; max-width: 70ch; }

/* footer */
.foot { background: var(--ink); color: var(--bone); padding: 70px 0 130px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .foot .cols { grid-template-columns: 1fr 1fr; } }
.foot h4 { font-family: var(--font-mono); font-weight: 400; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #8d9288; margin-bottom: 16px; }
.foot a { display: block; text-decoration: none; padding: 5px 0; color: var(--bone); }
.foot a:hover { color: var(--lime); }
.foot .fine { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; color: #8d9288; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot .mark { color: var(--bone); font-size: 30px; margin-bottom: 14px; }

/* page header for inner pages */
.phead { background: var(--bone); padding: 150px 0 70px; position: relative; overflow: hidden; }
.phead::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; border-bottom: 1.5px solid var(--ink); }
.phead h1 { font-size: clamp(46px, 7vw, 104px); max-width: 14ch; }
.phead .lead { margin-top: 22px; }

/* reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.in { opacity: 1; transform: none; }

/* docs */
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 48px; max-width: 1400px; margin: 0 auto; padding: 130px 28px 60px; }
.docs nav.side { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 190px); overflow: auto; font-size: 14.5px; }
.docs nav.side h5 { font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; }
.docs nav.side h5:first-child { margin-top: 0; }
.docs nav.side a { display: block; text-decoration: none; padding: 6px 10px; color: var(--muted); border-left: 2px solid var(--line); }
.docs nav.side a:hover { color: var(--ink); }
.docs nav.side a.on { color: var(--ink); border-left-color: var(--ink); background: var(--paper); font-weight: 600; }
.docs article { min-width: 0; }
.docs article h1 { font-size: clamp(40px, 5vw, 68px); margin-bottom: 24px; }
.docs article h2 { font-size: clamp(26px, 3vw, 38px); margin: 56px 0 16px; letter-spacing: -0.03em; }
.docs article h3 { font-size: 22px; margin: 34px 0 10px; }
.docs article p, .docs article li { max-width: 72ch; }
.docs article ul, .docs article ol { padding-left: 22px; }
.docs article li { margin: 6px 0; }
.docs article a { text-decoration-color: var(--lime-deep); text-underline-offset: 3px; }
.docs article pre { background: var(--ink); color: var(--bone); padding: 20px 22px; overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.6; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.docs article :not(pre) > code { background: rgba(10, 11, 9, 0.07); padding: 2px 6px; }
.docs .callout { border-left: 3px solid var(--lime-deep); background: var(--paper); padding: 16px 20px; margin: 22px 0; max-width: 72ch; }
.docs .callout b { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.docs .callout.warn { border-left-color: var(--ember); }
.docs nav.toc { position: sticky; top: 96px; align-self: start; font-size: 13.5px; }
.docs nav.toc h5 { font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.docs nav.toc a { display: block; text-decoration: none; color: var(--muted); padding: 4px 0; }
.docs nav.toc a:hover { color: var(--ink); }
.docs .pn { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.docs .pn a { text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.docs .pn small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1100px) { .docs { grid-template-columns: 220px minmax(0, 1fr); } .docs nav.toc { display: none; } }
@media (max-width: 760px) { .docs { grid-template-columns: 1fr; padding-top: 100px; } .docs nav.side { position: static; max-height: none; border-bottom: 1px solid var(--line); padding-bottom: 14px; } }

/* motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
