/* ─────────────────────────────────────────────────────────────
   Sigil — sigilmine.lol
   Dense board layout. Palette traced from the brand banner:
   near-black ground, blue-white cube glow.
   ───────────────────────────────────────────────────────────── */

:root {
  --bg:        #000208;
  --bg-alt:    #04060f;
  --ink:       #e9edfb;
  --ink-soft:  #a3adcc;
  --ink-mute:  #6f7899;
  --line:      rgba(122, 148, 232, 0.20);
  --line-soft: rgba(122, 148, 232, 0.10);
  --blue:      #7d9bff;
  --blue-hot:  #a9bfff;
  --blue-deep: #3f5bd6;
  --glow:      rgba(93, 124, 255, 0.35);
  --card:      rgba(9, 14, 30, 0.74);
  --card-hi:   rgba(20, 28, 55, 0.7);

  --board: 1400px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { 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(--ink);
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blue); color: #000; padding: 10px 16px;
}
.skip:focus { left: 0; }

/* ── background field ─────────────────────────────────────── */

#field {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(80, 110, 240, 0.16), transparent 62%),
    radial-gradient(95% 70% at 50% 45%, transparent 38%, rgba(0, 2, 8, 0.82) 100%);
}

.nav, .board, .foot { position: relative; z-index: 2; }

/* ── nav ──────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 22px;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.nav.stuck {
  background: rgba(0, 2, 8, 0.78);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 650; letter-spacing: -0.01em;
  font-size: 16px;
}
.brand img {
  width: 32px; height: 32px;
  filter: drop-shadow(0 0 16px rgba(130, 162, 255, .65));
}
.foot .brand img { width: 24px; height: 24px; }

.nav-links {
  display: flex; gap: 24px; margin-left: auto;
  font-size: 13.5px; color: var(--ink-soft);
}
.nav-links a {
  text-decoration: none; position: relative; padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--blue); transition: right .25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

/* ── buttons ──────────────────────────────────────────────── */

/* The corner is cut on the bottom right, the same notch the mark carries.
   The element's own background is the 1px rule; ::before is the fill and
   ::after is the sheen, both clipped a hair tighter so the rule survives. */

.btn {
  --notch: 13px;
  --rule: rgba(132, 158, 240, 0.34);
  --fill: linear-gradient(170deg, rgba(28, 38, 72, 0.72), rgba(10, 15, 32, 0.72));

  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px;
  border: 0;
  background: var(--rule);
  color: var(--ink); text-decoration: none;
  font-size: 14px; font-weight: 560; letter-spacing: -0.005em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)),
                     calc(100% - var(--notch)) 100%, 0 100%);
  transition: transform .18s ease, background .22s ease, box-shadow .22s ease;
}

.btn::before,
.btn::after {
  content: ""; position: absolute; inset: 1px; z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch) + 1px),
                     calc(100% - var(--notch) + 1px) 100%, 0 100%);
}
.btn::before { background: var(--fill); }

/* sheen — parked off the left edge, swept across on hover */
.btn::after {
  background: linear-gradient(105deg, transparent 38%, rgba(190, 210, 255, .22) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform .55s cubic-bezier(.22, 1, .3, 1);
}
.btn:hover::after,
.btn:focus-visible::after { transform: translateX(130%); }

.btn:hover {
  --rule: rgba(158, 184, 255, 0.62);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -20px rgba(110, 145, 255, .9);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: none;
  --rule: var(--blue-hot);
  box-shadow: 0 0 0 3px rgba(125, 155, 255, .22);
}

.btn-sm { --notch: 10px; padding: 8px 16px; font-size: 13px; }

.btn-primary {
  --rule: rgba(255, 255, 255, 0.5);
  --fill: linear-gradient(178deg, #ffffff 0%, #eaefff 46%, #c3d1ff 100%);
  color: #050914; font-weight: 660;
  box-shadow: 0 16px 44px -20px rgba(130, 162, 255, .95);
}
.btn-primary::after {
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .75) 50%, transparent 62%);
}
.btn-primary:hover {
  --rule: #ffffff;
  --fill: linear-gradient(178deg, #ffffff 0%, #ffffff 48%, #d5deff 100%);
  box-shadow: 0 20px 52px -20px rgba(150, 180, 255, 1);
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn::after { transition: none; }
  .btn:hover { transform: none; }
  .btn::after { display: none; }
}

.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── the board ────────────────────────────────────────────── */

.board {
  max-width: var(--board);
  margin: 0 auto;
  padding: 6px 18px 26px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 13px;
  align-items: stretch;
}

/* Every panel carries the mark's cut corner. Same trick as the buttons:
   the element background is the rule, ::before is the fill. */
.cell {
  --notch: 18px;
  position: relative; isolation: isolate;
  padding: 22px;
  background: var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)),
                     calc(100% - var(--notch)) 100%, 0 100%);
}
.cell::before {
  content: ""; position: absolute; inset: 1px; z-index: -1;
  background: var(--card);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch) + 1px),
                     calc(100% - var(--notch) + 1px) 100%, 0 100%);
}

.hero   { grid-column: span 7; }
.rails  { grid-column: span 5; }
.claim  { grid-column: span 6; }
.steps  { grid-column: span 12; }
.run    { grid-column: span 7; }
.econ   { grid-column: span 5; }
.facts  { grid-column: span 8; }
.links  { grid-column: span 4; }
.closer { grid-column: span 12; }

/* ── shared cell typography ───────────────────────────────── */

.cell-k {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue); margin: 0 0 8px;
}
.cell-k.warn { color: #e58a8a; }

.cell h2 {
  margin: 0 0 12px;
  font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.15; letter-spacing: -0.028em; font-weight: 650;
  text-wrap: balance;
}
.cell h3 {
  margin: 0 0 5px;
  font-size: 14.5px; letter-spacing: -0.015em; font-weight: 620;
}
.cell p { margin: 0 0 11px; color: var(--ink-soft); }
.cell p:last-child { margin-bottom: 0; }
.cell p.strong { color: var(--ink); font-weight: 550; }
.muted { color: var(--ink-mute) !important; font-size: 13.5px; }

.cell-head { margin-bottom: 16px; }
.cell-head h2 { margin-bottom: 0; }

/* ── hero cell ────────────────────────────────────────────── */

.hero {
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  padding: clamp(22px, 2.4vw, 30px);
  background: linear-gradient(150deg, rgba(150, 178, 255, .38), var(--line) 55%);
}
.hero::before {
  background:
    radial-gradient(90% 110% at 12% 0%, rgba(58, 84, 190, 0.34), transparent 62%),
    var(--card);
}

h1 {
  margin: 0;
  font-size: clamp(32px, 3.9vw, 52px);
  line-height: 0.99;
  letter-spacing: -0.042em;
  font-weight: 680;
}
.grad {
  background: linear-gradient(180deg, #ffffff 0%, #9fb6ff 78%, #6b86e8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lede {
  max-width: 52ch; margin: 14px 0 0 !important;
  font-size: 15px; color: var(--ink-soft) !important;
}

.hero .cta-row { margin-top: 20px; }

/* the spec row along the bottom of the hero — the last item is live */
.stat-strip {
  margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.stat-strip > div {
  background: rgba(3, 6, 16, 0.68);
  padding: 11px 14px;
}
.stat-strip dt {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 5px;
}
.stat-strip dd {
  margin: 0;
  font-size: 14px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em;
}
.stat-strip .live dd {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  color: var(--blue-hot);
}
.stat-strip .dot {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--blue); box-shadow: 0 0 10px var(--blue);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ── source credit ────────────────────────────────────────── */

.src-link {
  display: inline-block; margin-top: 4px;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-mute);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.src-link:hover { color: var(--blue); border-bottom-color: var(--blue-deep); }

/* ── claim pair ───────────────────────────────────────────── */

.claim.neg { background: rgba(228, 130, 130, 0.22); }
.claim.neg em { color: #e5a0a0; font-style: italic; }
.claim.neg p { color: var(--ink-mute); }
.claim.neg h2 { color: var(--ink); }

.claim.pos {
  background: linear-gradient(150deg, rgba(150, 178, 255, .5), var(--line) 60%);
}
.claim.pos::before {
  background:
    radial-gradient(90% 120% at 90% 100%, rgba(58, 84, 190, 0.3), transparent 60%),
    var(--card);
}
.claim.pos strong { color: #fff; }

/* ── mining strip ─────────────────────────────────────────── */

.steps { padding-bottom: 0; }

.step-strip {
  list-style: none; margin: 0 -22px -0px; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
}
.step-strip li {
  background: rgba(5, 9, 20, 0.72);
  padding: 16px 18px 20px;
  transition: background .25s ease;
}
.step-strip li:hover { background: rgba(125, 155, 255, 0.06); }
.step-strip .num {
  display: block; margin-bottom: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em;
  color: var(--blue);
}
.step-strip p { font-size: 13px; margin: 0; color: var(--ink-mute); }

/* ── run it ───────────────────────────────────────────────── */

.run .sub { font-size: 14px; margin-bottom: 16px; }

.terminal {
  border: 1px solid var(--line-soft);
  background: rgba(2, 4, 12, 0.92);
  overflow: hidden;
}
.term-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,.02);
}
.term-bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.14);
}
.term-bar p {
  margin: 0 0 0 8px !important; font-family: var(--mono); font-size: 11px;
  color: var(--ink-mute) !important;
}
.terminal pre {
  margin: 0; padding: 18px;
  overflow-x: auto;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.8;
}
.terminal code { color: var(--ink-soft); }
.terminal .c { color: #55618a; }
.terminal .p { color: var(--blue); }
.terminal .s { color: #fff; }
.terminal .o { color: #8fd9b0; }

/* ── economics ────────────────────────────────────────────── */

.loop { display: flex; flex-direction: column; gap: 0; }
.loop-node {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}
.loop-node:first-child { border-top: 0; padding-top: 0; }
.loop-i {
  flex: none;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(125, 155, 255, .3);
  background: rgba(125, 155, 255, .08);
  color: var(--blue-hot);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
}
.loop-node p { font-size: 13px; margin: 0; color: var(--ink-mute); }
.loop-note {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px; color: var(--ink-mute) !important;
}

/* ── facts ────────────────────────────────────────────────── */

.fact-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-bottom: 16px;
}
.fact { background: rgba(5, 9, 20, 0.72); padding: 14px 16px; }
.fact-k {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-mute) !important; margin: 0 0 6px !important;
}
.fact-v { margin: 0 !important; font-size: 15px; font-weight: 600; color: var(--ink) !important; }
.fact-v.pending { color: var(--ink-mute) !important; font-weight: 500; }
.vault-k { margin-bottom: 7px !important; }

.copy {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  background: rgba(0,0,0,.4);
  color: var(--ink); cursor: pointer; text-align: left;
  font: inherit;
  transition: border-color .2s ease, background .2s ease;
}
.copy:hover { border-color: rgba(140, 168, 255, .45); background: rgba(125, 155, 255, .07); }
.copy code {
  font-family: var(--mono); font-size: 12.5px; word-break: break-all;
  color: var(--blue-hot);
}
.copy-state {
  flex: none;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-mute);
}
.copy.done .copy-state { color: #8fd9b0; }

/* ── resources ────────────────────────────────────────────── */

.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li + li { margin-top: 4px; }
.linklist a {
  display: flex; flex-direction: column; gap: 1px;
  padding: 10px 12px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.linklist a:hover {
  background: rgba(125, 155, 255, .07);
  border-color: var(--line-soft);
}
.linklist span { font-size: 13.5px; font-weight: 550; }
.linklist code {
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-mute);
  word-break: break-all;
}

/* ── closer ───────────────────────────────────────────────── */

.closer {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 22px clamp(22px, 3vw, 34px);
  background: linear-gradient(120deg, rgba(150, 178, 255, .42), var(--line) 60%);
}
.closer::before {
  background:
    radial-gradient(60% 160% at 20% 50%, rgba(58, 84, 190, 0.32), transparent 65%),
    var(--card);
}
.closer img {
  width: 56px; height: 56px; flex: none;
  filter: drop-shadow(0 0 34px rgba(120, 152, 255, .65));
}
.closer h2 { margin: 0; flex: 1 1 260px; }
.closer .cta-row { margin-left: auto; }

/* ── footer ───────────────────────────────────────────────── */

.foot {
  border-top: 1px solid var(--line-soft);
  background: rgba(2, 4, 12, .8);
}
.foot-inner {
  max-width: var(--board); margin: 0 auto;
  padding: 18px 22px 26px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.foot .brand { flex: none; }
.disclaimer {
  margin: 0; flex: 1 1 420px;
  font-size: 12px; line-height: 1.6; color: var(--ink-mute);
}
.foot-links { display: flex; gap: 20px; font-size: 13px; color: var(--ink-soft); }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* ── reveal ───────────────────────────────────────────────── */

.reveal {
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .epoch .dot { animation: none; }
}

/* ── responsive ───────────────────────────────────────────── */

@media (max-width: 1180px) {
  .board { grid-template-columns: repeat(6, 1fr); }
  .hero   { grid-column: span 6; grid-row: auto; }
  .rails  { grid-column: span 3; }
  .claim  { grid-column: span 3; }
  .steps  { grid-column: span 6; }
  .run    { grid-column: span 6; }
  .econ   { grid-column: span 6; }
  .facts  { grid-column: span 6; }
  .links  { grid-column: span 6; }
  .closer { grid-column: span 6; }
  .step-strip { grid-template-columns: repeat(3, 1fr); }
}

/* Full-width hero would leave a void to the right of the copy, so the spec
   row stands up as a column beside it instead. */
@media (min-width: 681px) and (max-width: 1180px) {
  .hero { flex-direction: row; align-items: stretch; gap: clamp(20px, 3vw, 34px); }
  .hero-copy { flex: 1 1 auto; }
  .stat-strip {
    flex: 0 0 clamp(190px, 24vw, 240px);
    grid-template-columns: 1fr;
    align-content: start;
  }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .btn-sm { margin-left: auto; }
  .step-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .board { grid-template-columns: 1fr; gap: 11px; padding: 12px 12px 22px; }
  .hero, .rails, .claim, .steps,
  .run, .econ, .facts, .links, .closer { grid-column: span 1; }
  .cell { padding: 18px; }
  .step-strip { grid-template-columns: 1fr; margin: 0 -18px; }
  .fact-grid { grid-template-columns: 1fr; }
  .hero { gap: 18px; }
  .stat-strip { grid-template-columns: 1fr; }
  .copy { flex-direction: column; align-items: flex-start; gap: 8px; }
  .closer { flex-direction: column; align-items: flex-start; }
  .closer .cta-row { margin-left: 0; }
  .cta-row .btn { flex: 1 1 auto; }
}

/* ── docs page ────────────────────────────────────────────── */

.doc-wrap {
  position: relative; z-index: 2;
  max-width: var(--board); margin: 0 auto;
  padding: 18px 18px 40px;
  display: grid; grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.toc { position: sticky; top: 66px; }
.toc nav { display: flex; flex-direction: column; gap: 1px; }
.toc a {
  padding: 7px 10px;
  font-size: 13px; color: var(--ink-mute); text-decoration: none;
  border-left: 1px solid var(--line-soft);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.toc a:hover {
  color: var(--ink); border-left-color: var(--blue);
  background: rgba(125, 155, 255, .06);
}

/* the prose sits on a panel, same silhouette as the board's cells — without
   it the cube field reads straight through a long column of body text */
.prose {
  --notch: 20px;
  position: relative; isolation: isolate;
  max-width: 78ch; min-width: 0;
  padding: clamp(22px, 3vw, 38px);
  background: var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)),
                     calc(100% - var(--notch)) 100%, 0 100%);
}
.prose::before {
  content: ""; position: absolute; inset: 1px; z-index: -1;
  background: rgba(6, 10, 24, 0.93);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch) + 1px),
                     calc(100% - var(--notch) + 1px) 100%, 0 100%);
}

/* the field is decoration on the landing page; here it must not fight text */
body.docs #field { opacity: .38; }

.doc-h1 {
  margin: 0 0 26px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.05; letter-spacing: -0.04em; font-weight: 680;
}

.prose > .cell-k:first-child { margin-top: 0; }
.prose h2 {
  margin: 42px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.2; letter-spacing: -0.03em; font-weight: 650;
  scroll-margin-top: 74px;
}
.prose p { margin: 0 0 15px; color: var(--ink-soft); }
.prose p.strong { color: var(--ink); font-weight: 550; }
.prose em { color: var(--blue-hot); font-style: italic; }
.prose a { color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--blue-deep); }
.prose a:hover { color: var(--blue-hot); }
.prose code {
  font-family: var(--mono); font-size: 0.88em;
  color: var(--blue-hot); word-break: break-all;
}

/* status callout at the top of the page */
.callout {
  margin: 0 0 30px;
  padding: 16px 18px;
  border: 1px solid rgba(240, 185, 11, 0.28);
  background: rgba(240, 185, 11, 0.06);
}
.callout-k {
  margin: 0 0 6px !important;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: #e8c46a !important;
}
.callout p:last-child { margin: 0 !important; font-size: 14px; }

/* inline "this bit isn't published" marker */
.pending-note {
  display: flex; gap: 10px; align-items: baseline;
  margin: 18px 0 0 !important;
  padding: 11px 14px;
  border-left: 2px solid var(--blue-deep);
  background: rgba(125, 155, 255, .05);
  font-size: 13.5px; color: var(--ink-mute) !important;
}
.pending-tag {
  flex: none;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
}

.doc-steps { margin: 0 0 4px; padding-left: 20px; }
.doc-steps li { margin-bottom: 11px; color: var(--ink-soft); }
.doc-steps strong { color: var(--ink); font-weight: 600; }
.doc-steps::marker { color: var(--blue); }

.param-table {
  display: grid; grid-template-columns: max-content minmax(0, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin: 4px 0 0;
}
.param-table > div { display: contents; }
.param-table span {
  background: rgba(5, 9, 20, 0.78);
  padding: 10px 14px;
  font-size: 13.5px;
}
.param-table span:first-child {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-mute);
  white-space: nowrap;
}
.param-table span:last-child { color: var(--ink); }
.param-table span.pend { color: var(--ink-mute); font-style: italic; }

.prose .terminal { margin: 4px 0 0; }
.prose .copy { margin-top: 0; }
.doc-cta { margin-top: 30px; }

@media (max-width: 860px) {
  .doc-wrap { grid-template-columns: 1fr; padding: 14px 14px 34px; gap: 22px; }
  .toc { position: static; }
  .toc nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .toc a { border-left: 0; border: 1px solid var(--line-soft); }
  .param-table { grid-template-columns: 1fr; }
  .param-table span:first-child { padding-bottom: 2px; }
  .param-table span:last-child { padding-top: 2px; }
}
