/* vyre.run v2. Bone theme: paper by day, graphite by night. One stylesheet for every page.
   Structure follows the teardown in team/site/twenty-teardown.md (eyebrow, heading, one line; product as hero;
   mono labels; clipped corners; plus-mark frames). Colours and type are Vyre's own. */
:root {
  --bg: #F4F1EA;
  --panel: #FBFAF6;
  --sunk: #ECE8DE;
  --line: #DCD7CC;
  --line-2: #C9C3B7;
  --ink: #141311;
  --ink-2: #4A463F;
  --ink-3: #6B665D;
  --accent: #5B3FD0;
  --accent-wash: rgba(91, 63, 208, 0.10);
  --dot: rgba(91, 63, 208, 0.55);
  --ok: #1F7A4D;
  --shadow: 0 1px 0 rgba(20,19,17,.04), 0 30px 60px -28px rgba(20,19,17,.28), 0 8px 18px -10px rgba(20,19,17,.18);
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --max: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0D0C; --panel: #161513; --sunk: #1E1C1A; --line: #2B2926; --line-2: #3A3733;
    --ink: #F1EEE6; --ink-2: #B3AEA4; --ink-3: #8C877D;
    --accent: #B8A4FF; --accent-wash: rgba(184,164,255,.12); --dot: rgba(184,164,255,.6); --ok: #6FD3A0;
    --shadow: 0 1px 0 rgba(241,238,230,.05) inset, 0 30px 60px -28px rgba(0,0,0,.75), 0 8px 18px -10px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E0D0C; --panel: #161513; --sunk: #1E1C1A; --line: #2B2926; --line-2: #3A3733;
  --ink: #F1EEE6; --ink-2: #B3AEA4; --ink-3: #8C877D;
  --accent: #B8A4FF; --accent-wash: rgba(184,164,255,.12); --dot: rgba(184,164,255,.6); --ok: #6FD3A0;
  --shadow: 0 1px 0 rgba(241,238,230,.05) inset, 0 30px 60px -28px rgba(0,0,0,.75), 0 8px 18px -10px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
code, pre, kbd { font-family: var(--mono); }
code { font-size: .9em; background: var(--sunk); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }

/* Labels and eyebrows */
.lbl { font: 500 11px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow { display: block; font: 400 15px/1.4 var(--sans); color: var(--ink-2); margin: 0 0 18px; }
.eyebrow::before { content: ""; display: inline-block; width: 14px; height: 6px; background: var(--accent); margin-right: 10px; vertical-align: middle; position: relative; top: -1px; }
.center .eyebrow { text-align: center; }

/* Type */
.display { font-weight: 400; font-size: clamp(40px, 7.2vw, 84px); line-height: 1.02; letter-spacing: -0.035em; margin: 0; color: var(--ink-3); text-wrap: balance; }
.display b, .h2 b, .h3 b { font-weight: 600; color: var(--ink); }
.h2 { font-weight: 400; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.03em; margin: 0; color: var(--ink-3); text-wrap: balance; max-width: 18em; }
.h3 { font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.02em; margin: 0; color: var(--ink-3); }
.lead { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 38em; margin: 18px 0 0; text-wrap: pretty; }
.center { text-align: center; }
.center .lead, .center .h2 { margin-inline: auto; }
.sm { font-size: 14px; color: var(--ink-3); }
p { margin: 0 0 1em; text-wrap: pretty; }

/* Buttons, with a clipped corner like a drafting sheet */
.btn { --cutbg: var(--bg); position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; font: 500 12px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid var(--ink); background: transparent; color: var(--ink); transition: transform .15s var(--ease), background .15s; white-space: nowrap; }
.btn::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; background: linear-gradient(135deg, transparent 0 46%, var(--ink) 46% 54%, var(--cutbg) 54%); }
.btn-fill { background: var(--ink); color: var(--bg); }
.btn-fill::after { background: linear-gradient(135deg, transparent 0 46%, var(--ink) 46% 54%, var(--cutbg) 54%); }
.btn:hover { transform: translateY(-1px); }
.btn-fill:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn:not(.btn-fill):hover { background: var(--sunk); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 11px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.center .btn-row { justify-content: center; }
.panel .btn, .card .btn { --cutbg: var(--panel); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand svg { display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-links a { font: 500 12px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; text-decoration: none; padding: 12px 14px; color: var(--ink); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-end { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--sunk); }
.menu-btn { display: none; }
@media (max-width: 880px) {
  .nav-links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px; margin: 0; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-grid; }
  .nav-end .btn { display: none; }
}

/* Hero */
.hero { position: relative; padding: clamp(56px, 9vw, 112px) 0 96px; overflow: hidden; }
.hero .eyebrow { text-align: center; }
.hero .copy { position: relative; z-index: 2; text-align: center; max-width: 920px; margin-inline: auto; }
.hero .display { font-size: clamp(38px, 7vw, 82px); }
.hero .lead { margin-inline: auto; max-width: 34em; }
.hero-keep { margin: 14px 0 0; font-size: 17px; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.hero-note { margin: 18px 0 0; font: 400 12px/1.5 var(--mono); color: var(--ink-3); letter-spacing: .02em; }
.stage { position: relative; margin-top: clamp(40px, 6vw, 72px); padding-bottom: 0; }
.stage canvas.field { position: absolute; left: -4vw; right: -4vw; top: -50px; bottom: -40px; width: calc(100% + 8vw); height: calc(100% + 90px); z-index: 0; pointer-events: none; }
.stage-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.stage-row { position: relative; width: min(100%, 880px); }
.stage-row .lumen { width: 100%; }
.stage-row .phone { position: absolute; right: -4%; bottom: -36px; width: min(30%, 236px); z-index: 3; }
@media (max-width: 760px) { .stage-row .phone { position: relative; right: auto; bottom: auto; width: 62%; margin: -28px 0 0 auto; } }

/* Product windows built in markup. Everything here is sample data. */
.win { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; text-align: left; }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--sunk); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.win-bar i:nth-child(1) { background: #FF5F57; } .win-bar i:nth-child(2) { background: #FEBC2E; } .win-bar i:nth-child(3) { background: #28C840; }
.win-bar .t { margin-inline: auto; padding-right: 40px; font: 500 11px var(--mono); color: var(--ink-3); letter-spacing: .04em; }
.win.dark-win { background: #161513; border-color: #2B2926; color: #F1EEE6; }
.lumen .body { padding: 18px 20px 14px; min-height: 330px; display: flex; flex-direction: column; gap: 14px; }
.ask { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; background: var(--bg); font-size: 17px; min-height: 52px; }
.ask .k { font: 500 11px var(--mono); color: var(--ink-3); border: 1px solid var(--line-2); padding: 2px 6px; border-radius: 4px; flex: none; }
.ask .caret { display: inline-block; width: 1.5px; height: 1.1em; background: var(--accent); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sends { font: 400 12px var(--mono); color: var(--ink-3); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sends b { color: var(--ink); font-weight: 500; }
.scene { display: none; animation: rise .45s var(--ease) both; }
.scene.on { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ans { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--bg); }
.ans .src { font: 400 11px var(--mono); color: var(--ink-3); margin-bottom: 6px; display: flex; gap: 8px; flex-wrap: wrap; }
.ans .src .tag { color: var(--accent); }
.ans .ah { display: block; margin: 0 0 4px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.ans p { margin: 0; color: var(--ink-2); font-size: 15px; }
.ans .why { margin-top: 10px; font: 400 12px var(--mono); color: var(--ink-3); }
.held { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; font: 500 11px var(--mono); letter-spacing: .04em; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); background: var(--panel); white-space: nowrap; }
.pill.go { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill.acc { color: var(--accent); border-color: var(--accent); }
.pill.ok { color: var(--ok); border-color: var(--ok); }
.dots { display: flex; gap: 6px; margin-top: auto; padding-top: 6px; }
.dots i { width: 22px; height: 2px; background: var(--line-2); transition: background .3s; }
.dots i.on { background: var(--accent); }
.demo-tag { margin: 12px 0 0; font: 400 11px var(--mono); color: var(--ink-3); text-align: center; letter-spacing: .02em; }

/* Phone */
.phone { background: #0E0D0C; color: #F1EEE6; border: 7px solid #26231F; border-radius: 34px; box-shadow: var(--shadow); overflow: hidden; text-align: left; aspect-ratio: 9 / 18.5; display: flex; flex-direction: column; }
.phone .notch { width: 34%; height: 18px; background: #26231F; border-radius: 0 0 12px 12px; margin: 0 auto; flex: none; }
.phone .scr { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 0; }
.phone .hdr { display: flex; justify-content: space-between; align-items: center; font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8C877D; }
.phone .ph { margin: 2px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.need { background: #1E1C1A; border: 1px solid #2B2926; border-radius: 12px; padding: 10px 11px; font-size: 12.5px; line-height: 1.4; }
.need small { display: block; color: #8C877D; font: 400 10px var(--mono); margin-top: 6px; }
.need .acts { display: flex; gap: 6px; margin-top: 8px; }
.need .acts span { flex: 1; text-align: center; padding: 6px 0; border-radius: 8px; font: 500 11px var(--sans); background: #2B2926; color: #F1EEE6; }
.need .acts span:first-child { background: #F1EEE6; color: #0E0D0C; }
.faceid { margin-top: auto; display: flex; align-items: center; gap: 8px; font: 400 10.5px var(--mono); color: #B8A4FF; border: 1px solid #3A3733; border-radius: 10px; padding: 8px 10px; }

/* Frames with plus marks */
.frame { position: relative; border: 1px solid var(--line); margin: 0; }
.frame::before, .frame::after, .frame > .pl-a, .frame > .pl-b { content: "+"; position: absolute; font: 400 14px/1 var(--mono); color: var(--accent); }
.frame::before { top: -8px; left: -4px; } .frame::after { top: -8px; right: -4px; }
.frame > .pl-a { bottom: -9px; left: -4px; } .frame > .pl-b { bottom: -9px; right: -4px; }

/* Works-on bar */
.works { margin-top: clamp(56px, 8vw, 96px); background: var(--bg); }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.works-grid a { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 24px; text-decoration: none; border-left: 1px solid var(--line); transition: background .2s; }
.works-grid a:first-child { border-left: 0; }
.works-grid a:hover { background: var(--panel); }
.works-grid .ic { width: 28px; height: 28px; color: var(--ink); margin-bottom: 8px; }
.works-grid b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.works-grid span { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.works-grid .go { margin-top: auto; padding-top: 10px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 860px) { .works-grid { grid-template-columns: 1fr 1fr; } .works-grid a:nth-child(3) { border-left: 0; } .works-grid a:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .works-grid { grid-template-columns: 1fr; } .works-grid a { border-left: 0; border-top: 1px solid var(--line); } .works-grid a:first-child { border-top: 0; } }

/* Sections */
section.sec { padding: clamp(72px, 10vw, 136px) 0 0; }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.problem { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.art { position: relative; aspect-ratio: 1 / 1; background: #141311; border-radius: 4px; overflow: hidden; clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%); }
.art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pains { margin-top: 32px; }
.pains > div { border-top: 1px dashed var(--line-2); padding: 18px 0; }
.pains h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.pains p { margin: 0; color: var(--ink-2); max-width: 30em; }
@media (max-width: 860px) { .problem { grid-template-columns: 1fr; } .art { max-width: 420px; } }

/* Lego pieces */
.pieces { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.piece { --cutbg: var(--bg); position: relative; background: var(--panel); border: 1px solid var(--line); padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 10px; min-height: 230px; transition: transform .2s var(--ease), border-color .2s; }
.piece::after { content: ""; position: absolute; top: -1px; right: -1px; width: 22px; height: 22px; background: linear-gradient(225deg, var(--cutbg) 0 47%, var(--line-2) 47% 53%, transparent 53%); }
.piece:hover { transform: translateY(-3px); border-color: var(--line-2); }
.piece .num { font: 500 11px var(--mono); color: var(--accent); letter-spacing: .08em; }
.piece svg { width: 44px; height: 44px; color: var(--ink); margin: 6px 0; }
.piece h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.piece p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 1060px) { .pieces { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .pieces { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .pieces { grid-template-columns: 1fr; } .piece { min-height: 0; } }

/* Feature rows */
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.feat.flip .feat-copy { order: 2; }
.feat-copy .num { font: 500 11px var(--mono); color: var(--accent); letter-spacing: .09em; display: block; margin-bottom: 12px; }
.feat-copy .h2 { font-size: clamp(28px, 3.8vw, 44px); }
.list { list-style: none; margin: 28px 0 0; padding: 0; }
.list li { border-top: 1px dashed var(--line-2); padding: 14px 0; display: grid; gap: 2px; }
.list li:last-child { border-bottom: 1px dashed var(--line-2); }
.list b { font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.list span { color: var(--ink-2); font-size: 15px; }
.mock { position: relative; }
.mock::before { content: ""; position: absolute; inset: -18px; background-image: radial-gradient(var(--dot) 1px, transparent 1.4px); background-size: 12px 12px; -webkit-mask: radial-gradient(ellipse at 70% 30%, #000 0, transparent 70%); mask: radial-gradient(ellipse at 70% 30%, #000 0, transparent 70%); opacity: .55; z-index: 0; }
.mock > * { position: relative; z-index: 1; }
@media (max-width: 880px) { .feat { grid-template-columns: 1fr; } .feat.flip .feat-copy { order: 0; } }

/* Mock internals */
.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14.5px; }
.row:first-child { border-top: 0; }
.row .grow { flex: 1; min-width: 0; }
.row small { display: block; color: var(--ink-3); font: 400 12px var(--mono); }
.row .st { font: 500 11px var(--mono); color: var(--ink-3); white-space: nowrap; }
.row .st.on { color: var(--accent); }
.mk { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--mono); color: var(--bg); background: var(--ink); flex: none; }
.mk.sq { border-radius: 8px; background: var(--sunk); color: var(--ink); border: 1px solid var(--line); }
.mk.vi { background: var(--accent); color: #fff; }
.msg { padding: 14px 16px; border-top: 1px solid var(--line); font-size: 14.5px; }
.msg:first-child { border-top: 0; }
.msg .who { font: 500 11px var(--mono); color: var(--ink-3); letter-spacing: .04em; margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.sysline { text-align: center; font: 400 11px var(--mono); color: var(--ink-3); padding: 8px 0; border-top: 1px solid var(--line); background: var(--sunk); }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 14px; padding: 14px 16px; font-size: 14px; }
.kv dt { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.kv dd { margin: 0; color: var(--ink); }
.sealed { letter-spacing: .2em; color: var(--ink-3); }

/* Direction timeline */
.road { position: relative; margin-top: 12px; }
.road::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 0; border-left: 1px dashed var(--line-2); }
.stop { position: relative; padding: 0 0 clamp(36px, 5vw, 56px) 48px; }
.stop::before { content: ""; position: absolute; left: 5px; top: 9px; width: 13px; height: 13px; background: var(--bg); border: 2px solid var(--accent); border-radius: 50%; }
.stop.now::before { background: var(--accent); }
.stop .ver { font: 500 12px var(--mono); letter-spacing: .09em; color: var(--accent); text-transform: uppercase; margin: 0 0 6px; }
.stop h3 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -.025em; }
.stop p { color: var(--ink-2); max-width: 40em; }
.stop ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 28px; max-width: 880px; }
.stop li { border-top: 1px dashed var(--line-2); padding: 12px 0; font-size: 15px; color: var(--ink-2); }
.stop li b { color: var(--ink); font-weight: 600; display: block; }
.note { background: var(--panel); border: 1px solid var(--line); padding: 18px 20px; font-size: 15px; color: var(--ink-2); max-width: 44em; }
.note b { color: var(--ink); }

/* Cost block */
.cost { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--panel); border: 1px solid var(--line); }
.cost > div { padding: 26px 24px 28px; border-left: 1px solid var(--line); }
.cost > div:first-child { border-left: 0; }
.cost .big { color: var(--ink); font-size: clamp(28px, 3.2vw, 38px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 10px; }
.cost p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .cost { grid-template-columns: 1fr; } .cost > div { border-left: 0; border-top: 1px solid var(--line); } .cost > div:first-child { border-top: 0; } }

/* Install */
.term { background: #141311; color: #F1EEE6; border-radius: 8px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; font: 400 14px/1.5 var(--mono); margin: 10px 0; overflow: hidden; }
.term .pr { color: #8C877D; flex: none; }
.term code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; flex: 1; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.term code::-webkit-scrollbar { display: none; }
.term button { flex: none; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #F1EEE6; background: transparent; border: 1px solid #3A3733; border-radius: 4px; padding: 6px 10px; cursor: pointer; }
.term button:hover { background: #26231F; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 24px 0 0; }
.steps li { counter-increment: s; position: relative; padding: 16px 0 16px 52px; border-top: 1px dashed var(--line-2); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 18px; font: 500 12px var(--mono); color: var(--accent); }
.steps b { font-weight: 600; }
.need-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--panel); margin-top: 24px; }
.need-list > div { padding: 18px 20px; border-left: 1px solid var(--line); }
.need-list > div:first-child { border-left: 0; }
.need-list b { display: block; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
@media (max-width: 700px) { .need-list > div { border-left: 0; border-top: 1px solid var(--line); } .need-list > div:first-child { border-top: 0; } }

/* Page head (inner pages) */
.phead { padding: clamp(56px, 8vw, 104px) 0 0; }
.phead .display { font-size: clamp(36px, 6vw, 68px); max-width: 14em; }
.crumbs { font: 400 12px var(--mono); color: var(--ink-3); margin-bottom: 22px; }
.crumbs a { color: var(--ink-3); }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 500; letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 22px var(--mono); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0 0 20px; max-width: 42em; }

/* Closing */
.closing { padding: clamp(80px, 11vw, 150px) 0; text-align: center; position: relative; overflow: hidden; }
.closing .display { font-size: clamp(40px, 7vw, 88px); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--panel); }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; }
.foot .fh { margin: 0 0 14px; font: 500 11px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .tag { color: var(--ink-3); font-size: 14px; max-width: 22em; margin: 14px 0 0; }
.foot-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; font: 400 12px var(--mono); color: var(--ink-3); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .scene { animation: none; } .ask .caret { animation: none; } }
@media print { .nav, .stage canvas, .menu-btn { display: none; } }

.lumen.typing .scenes { opacity: .2; transition: opacity .2s; }

/* Start page parts */
.part { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 40px 0; border-top: 1px dashed var(--line-2); max-width: 880px; }
.part:last-of-type { border-bottom: 1px dashed var(--line-2); }
.part .n { font: 500 13px var(--mono); color: var(--accent); padding-top: 8px; }
.part h2 { margin: 0 0 14px; font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -.025em; }
.part p, .part li { color: var(--ink-2); }
.part ul, .part ol { padding-left: 1.2em; margin: 0 0 1em; }
.part li { margin: .5em 0; }
.part li b, .part li strong, .part p strong { color: var(--ink); font-weight: 600; }
@media (max-width: 600px) { .part { grid-template-columns: 1fr; gap: 4px; } }
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }

/* CTA pairs under a centred heading sit centred */
.hero .btn-row, .closing .btn-row { justify-content: center; }
/* Star on GitHub: our own markup, no count. One pill, the toggle's height and border. */
.star-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 500 12px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.star-pill:hover { background: var(--sunk); }
.star-pill .star-ic { display: block; color: var(--accent); }
.star-pill span { display: block; line-height: 1; }
.star-ic { flex: none; }
.btn .star-ic { color: currentColor; }
.foot a.star-link { display: inline-flex; align-items: center; gap: 7px; }
.foot a.star-link .star-ic { color: var(--accent); }
