/* ============================================================
   BASIS. Phosphor terminal-ledger design system, v2.
   One locked dark theme. One phosphor accent. Radius 0.
   Density is the aesthetic: every ornament is a real readout.
   ============================================================ */

:root {
  --bg: #0a0c0b;
  --bg-raise: #0f1311;
  --bg-deep: #070908;
  --ink: #e8ede9;
  --dim: #8b968f;
  --dimmer: #565e59;
  --faint: rgba(232, 237, 233, 0.13);
  --faint-2: rgba(232, 237, 233, 0.06);
  --phos: #4fd98c;
  --phos-dim: rgba(79, 217, 140, 0.13);
  --phos-glow: 0 0 14px rgba(79, 217, 140, 0.33);
  --sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --max: 1280px;
  --nav-h: 62px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--phos); color: var(--bg); }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.15rem; }
a { color: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding-left: clamp(1rem, 4vw, 2.5rem); padding-right: clamp(1rem, 4vw, 2.5rem); }

/* CRT scanline film over everything, plus a vignette */
.scanlines {
  position: fixed; inset: 0; z-index: 80; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 60%, rgba(0, 0, 0, 0.32)),
    repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 0, 0, 0.14) 2px 3px);
}

/* ---------------- boot overlay (home only) ---------------- */
.boot {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg-deep);
  display: flex; align-items: flex-end;
  padding: 8vh clamp(1.5rem, 6vw, 5rem);
  font-family: var(--mono); font-size: 0.8rem; color: var(--dim);
  transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1);
}
.boot.is-done { transform: translateY(-101%); }
.boot-lines { display: flex; flex-direction: column; gap: 0.35rem; }
.boot-lines div { opacity: 0; }
.boot-lines div.on { opacity: 1; }
.boot-lines .ok { color: var(--phos); }

/* ---------------- nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 70;
  display: flex; align-items: center; gap: 2rem;
  height: var(--nav-h); padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(10, 12, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--faint);
}
.wordmark {
  font-family: var(--mono); font-weight: 500; font-size: 1rem;
  letter-spacing: 0.24em; text-decoration: none;
}
.wordmark .cursor { color: var(--phos); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wordmark .cursor { animation: none; } }

.nav-links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav-links a {
  font-family: var(--mono); font-size: 0.78rem; color: var(--dim);
  text-decoration: none; padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--phos); border-bottom-color: var(--phos); }
.nav-clock { font-family: var(--mono); font-size: 0.7rem; color: var(--dimmer); letter-spacing: 0.08em; }
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-clock { margin-left: auto; }
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em; text-decoration: none;
  padding: 0.75rem 1.4rem; border: 1px solid var(--ink);
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--phos); border-color: var(--phos); color: #05130a; box-shadow: var(--phos-glow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--faint); }
.btn-ghost:hover { border-color: var(--phos); color: var(--phos); }
.nav .btn { padding: 0.5rem 1rem; }

/* ---------------- panel chrome: corner brackets ---------------- */
.panel {
  position: relative;
  border: 1px solid var(--faint);
  background: var(--bg-raise);
}
.panel::before, .panel::after {
  content: ""; position: absolute; width: 9px; height: 9px; pointer-events: none;
}
.panel::before { top: -1px; left: -1px; border-top: 1px solid var(--phos); border-left: 1px solid var(--phos); }
.panel::after { bottom: -1px; right: -1px; border-bottom: 1px solid var(--phos); border-right: 1px solid var(--phos); }

.panel-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--faint);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; color: var(--dim);
}
.panel-head .right { letter-spacing: 0.05em; color: var(--dimmer); }

/* ---------------- ticker tape ---------------- */
.ticker {
  border-bottom: 1px solid var(--faint);
  background: var(--bg-deep);
  overflow: hidden; white-space: nowrap;
  height: 34px; display: flex; align-items: center;
  position: relative; z-index: 5;
}
.ticker-track {
  display: inline-flex; gap: 2.6rem; padding-right: 2.6rem;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em;
  animation: tape 46s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.ticker-track span { color: var(--dim); }
.ticker-track span b { color: var(--ink); font-weight: 500; }
.ticker-track span i { font-style: normal; color: var(--phos); }

/* ---------------- section header pattern ---------------- */
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  border-top: 1px solid var(--faint);
  padding-top: 1.1rem; margin-bottom: 2.4rem;
}
.sec-head .meta { font-family: var(--mono); font-size: 0.7rem; color: var(--dimmer); letter-spacing: 0.12em; white-space: nowrap; }
@media (max-width: 640px) { .sec-head { flex-direction: column; gap: 0.4rem; } }

section { position: relative; }
.section-pad { padding-top: clamp(4rem, 9vh, 7rem); padding-bottom: clamp(4rem, 9vh, 7rem); }

/* vertical grid rails inside sections, aligned to the container */
.rails { position: relative; }
.rails::before {
  content: ""; position: absolute; inset: 0 auto 0 50%;
  width: 1px; background: var(--faint-2); pointer-events: none;
}
@media (max-width: 900px) { .rails::before { display: none; } }

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--nav-h) - 34px);
  display: flex; align-items: center;
  overflow: hidden;
}
#field {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  opacity: 0.85;
}
.hero-grid {
  position: relative; z-index: 1;
  width: 100%;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-top: 3rem; padding-bottom: 3.5rem;
}
.hero-kicker {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em;
  color: var(--phos); margin-bottom: 1.3rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.hero-kicker .dot { width: 6px; height: 6px; background: var(--phos); box-shadow: var(--phos-glow); animation: pulse 2.2s ease infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .hero-kicker .dot { animation: none; } }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  max-width: 13ch;
}
.hero h1 .accent { color: var(--phos); text-shadow: var(--phos-glow); }
.hero-sub { margin-top: 1.5rem; color: var(--dim); max-width: 44ch; font-size: 1.06rem; }
.hero-ctas { display: flex; gap: 0.9rem; margin-top: 2.3rem; flex-wrap: wrap; }
.hero-readouts {
  margin-top: 2.8rem; display: flex; gap: 2.2rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.72rem; color: var(--dimmer);
}
.hero-readouts b { display: block; font-weight: 500; font-size: 1.05rem; color: var(--ink); margin-bottom: 0.1rem; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
}

/* the desk panel */
.desk-panel { font-family: var(--mono); }
.desk-panel .panel-body { padding: 0.4rem 1.2rem 1.1rem; }
.desk-module { padding-top: 0.9rem; }
.mod-label { font-size: 0.64rem; letter-spacing: 0.16em; color: var(--dim); margin-bottom: 0.5rem; display: flex; justify-content: space-between; }
.mod-label .src { color: var(--dimmer); letter-spacing: 0.04em; }
.mod-body { display: flex; flex-direction: column; min-height: 92px; }
.mod-row {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.76rem; line-height: 1.95;
  border-bottom: 1px solid var(--faint-2);
}
.mod-row:last-child { border-bottom: 0; }
.mod-row .k { color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mod-row .v { color: var(--ink); flex-shrink: 0; }
.mod-row .v.up { color: var(--phos); }
.mod-err { font-size: 0.72rem; color: var(--dimmer); padding: 1.3rem 0; }
.skel-row { height: 17px; margin: 5px 0; background: var(--faint-2); position: relative; overflow: hidden; }
.skel-row::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(232, 237, 233, 0.08), transparent);
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .skel-row::after { animation: none; } }

/* ---------------- stat wall ---------------- */
.stat-wall {
  border-top: 1px solid var(--faint); border-bottom: 1px solid var(--faint);
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg-deep);
}
.stat {
  padding: 2rem 1.4rem 1.7rem;
  border-left: 1px solid var(--faint);
  border-top: 1px solid var(--faint);
  display: flex; flex-direction: column; gap: 0.35rem;
}
.stat:nth-child(-n+4) { border-top: 0; }
.stat:nth-child(4n+1) { border-left: 0; }
.stat-num { font-family: var(--mono); font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 500; letter-spacing: -0.02em; }
.stat-label { font-size: 0.76rem; color: var(--dim); letter-spacing: 0.05em; }
@media (max-width: 820px) {
  .stat-wall { grid-template-columns: repeat(2, 1fr); }
  .stat { border-top: 1px solid var(--faint); border-left: 1px solid var(--faint); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(2n+1) { border-left: 0; }
}

/* ---------------- pipeline (pinned horizontal) ---------------- */
.pipe { position: relative; border-bottom: 1px solid var(--faint); background: var(--bg-deep); overflow: hidden; }
.pipe-track { display: flex; height: 100dvh; align-items: stretch; }
.pipe-panel {
  flex: 0 0 78vw; min-width: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem clamp(2rem, 6vw, 5rem);
  border-right: 1px solid var(--faint-2);
  position: relative;
}
.pipe-step {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em; color: var(--phos);
  margin-bottom: 1.2rem;
}
.pipe-panel h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); max-width: 16ch; }
.pipe-panel p { color: var(--dim); max-width: 48ch; margin-top: 1.1rem; }
.pipe-data {
  margin-top: 2rem; display: flex; gap: 2.4rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.72rem; color: var(--dimmer);
}
.pipe-data b { display: block; font-weight: 500; font-size: 1.15rem; color: var(--phos); margin-bottom: 0.15rem; }
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .pipe-track { flex-direction: column; height: auto; }
  .pipe-panel { flex: none; padding: 3.5rem clamp(1rem, 4vw, 2.5rem); border-right: 0; border-bottom: 1px solid var(--faint-2); }
}

/* ---------------- ledger entry figure ---------------- */
.ledger-entry {
  margin: 2.2rem 0;
  font-family: var(--mono); font-size: 0.82rem;
}
.entry-row {
  display: flex; gap: 1.5rem; padding: 0.72rem 1.2rem;
  border-bottom: 1px solid var(--faint-2);
}
.entry-row:last-child { border-bottom: 0; }
.entry-key { color: var(--dim); width: 6.5rem; flex-shrink: 0; }
.entry-val { word-break: break-all; }
.entry-verdict { background: var(--phos-dim); }
.entry-verdict .entry-val { color: var(--phos); text-shadow: var(--phos-glow); }

/* ---------------- prose ---------------- */
.prose { max-width: 720px; }
.prose p { color: var(--dim); margin-top: 1.1rem; }
.prose h2 { color: var(--ink); max-width: 24ch; }
.prose strong { color: var(--ink); font-weight: 500; }

.code-excerpt {
  margin: 2.2rem 0; padding: 1.3rem 1.5rem;
  border-left: 2px solid var(--phos);
  background: var(--bg-raise);
  font-family: var(--mono); font-size: 0.8rem; line-height: 1.8;
  overflow-x: auto;
}
.code-excerpt .c { color: var(--dim); }

/* ---------------- gap visualization (refusal page) ---------------- */
.gapviz { margin: 2.4rem 0; }
.gapviz svg { width: 100%; height: auto; display: block; }

/* ---------------- teletype ---------------- */
.teletype-feed { list-style: none; padding: 0.7rem 1.3rem 1rem; }
.teletype-feed li {
  font-family: var(--mono); font-size: 0.75rem; line-height: 2.15;
  color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.teletype-feed li .t { color: var(--phos); margin-right: 1rem; }

/* ---------------- gates ---------------- */
.gate-track { display: grid; grid-template-columns: repeat(3, 1fr); }
.gate { padding: 1.3rem 1.4rem 1.3rem 0; margin-right: 1.4rem; border-top: 2px solid var(--faint); }
.gate.is-current { border-top-color: var(--phos); }
.gate-amt { font-family: var(--mono); font-size: 1.45rem; display: block; margin-bottom: 0.5rem; }
.gate.is-current .gate-amt { color: var(--phos); text-shadow: var(--phos-glow); }
.gate-desc { font-size: 0.86rem; color: var(--dim); }
@media (max-width: 720px) { .gate-track { grid-template-columns: 1fr; } .gate { margin-right: 0; } }

/* ---------------- verdict widget ---------------- */
.widget { margin-top: 2.4rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.widget-controls { padding: 2rem; border-right: 1px solid var(--faint); }
.control { margin-bottom: 1.8rem; }
.control > label { display: block; font-family: var(--mono); font-size: 0.78rem; color: var(--dim); margin-bottom: 0.65rem; }
.control output { font-family: var(--mono); font-size: 0.95rem; color: var(--phos); display: inline-block; margin-top: 0.45rem; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--faint); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; background: var(--ink); cursor: pointer; border: 0; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; background: var(--ink); cursor: pointer; border: 0; border-radius: 0; }
input[type="range"]:focus-visible { outline: 1px solid var(--phos); outline-offset: 4px; }
.control-toggle { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 0; }
.control-toggle .toggle { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0; cursor: pointer; font-family: var(--mono); font-size: 0.78rem; color: var(--dim); }
.toggle input { position: absolute; opacity: 0; }
.toggle-box { display: inline-flex; width: 15px; height: 15px; border: 1px solid var(--dim); flex-shrink: 0; transition: background 0.12s ease, border-color 0.12s ease; }
.toggle input:checked + .toggle-box { background: var(--phos); border-color: var(--phos); box-shadow: var(--phos-glow); }
.toggle input:focus-visible + .toggle-box { outline: 1px solid var(--phos); outline-offset: 3px; }
.widget-readout { padding: 2rem; display: flex; flex-direction: column; }
.readout-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 0.85rem; color: var(--dim);
  padding: 0.55rem 0; border-bottom: 1px solid var(--faint-2);
}
.readout-row strong { color: var(--ink); font-weight: 500; font-size: 1rem; }
.verdict { margin-top: auto; padding-top: 1.7rem; }
.verdict-word {
  display: inline-block; font-family: var(--mono); font-weight: 500;
  font-size: 1.35rem; letter-spacing: 0.1em; padding: 0.35rem 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.verdict[data-verdict="sized"] .verdict-word { background: var(--phos); color: #05130a; box-shadow: var(--phos-glow); }
.verdict[data-verdict="watch"] .verdict-word { border: 1px solid var(--ink); color: var(--ink); }
.verdict[data-verdict="refused"] .verdict-word {
  color: var(--ink);
  background: repeating-linear-gradient(45deg, transparent 0 4px, var(--faint) 4px 8px);
  border: 1px solid var(--faint);
}
.verdict-why { display: block; margin-top: 0.85rem; font-size: 0.86rem; color: var(--dim); max-width: 40ch; }
@media (max-width: 860px) {
  .widget { grid-template-columns: 1fr; }
  .widget-controls { border-right: 0; border-bottom: 1px solid var(--faint); }
}

/* ---------------- audience cards ---------------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.4rem; }
.audience .panel { padding: 1.7rem; display: flex; flex-direction: column; }
.audience h3 { margin-bottom: 0.7rem; }
.audience p { font-size: 0.9rem; color: var(--dim); }
.plink {
  display: inline-block; margin-top: 1.2rem; padding-top: 0.2rem;
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em;
  color: var(--phos); text-decoration: none; border-bottom: 1px solid transparent;
}
.plink:hover { border-bottom-color: var(--phos); }
.audience .plink { margin-top: auto; padding-top: 1.2rem; }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }

/* what-ships list inside offers */
.ships { list-style: none; margin-top: 0.4rem; }
.ships li {
  font-family: var(--mono); font-size: 0.76rem; line-height: 1.6;
  padding: 0.38rem 0; border-bottom: 1px solid var(--faint-2); color: var(--ink);
}
.ships li:last-child { border-bottom: 0; }
.ships li::before { content: "+ "; color: var(--phos); }
.offer-note { font-family: var(--mono); font-size: 0.72rem; color: var(--dimmer); }
.guarantee { font-size: 0.85rem; color: var(--ink); border-left: 2px solid var(--phos); padding-left: 0.9rem; }

/* terms strip: 4-col variant of the process grid */
.process.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .process.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process.cols-4 { grid-template-columns: 1fr; } }

/* engine live strip + verdict chips */
.engine-strip {
  margin-top: 2rem; display: flex; gap: 2.6rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.72rem; color: var(--dimmer);
}
.engine-strip b { display: block; font-weight: 500; font-size: 1.35rem; color: var(--phos); margin-bottom: 0.15rem; }
.vchip {
  display: inline-block; font-size: 0.62rem; letter-spacing: 0.08em;
  padding: 0.05rem 0.4rem; margin-right: 0.7rem; border: 1px solid var(--faint);
}
.vchip[data-v="REFUSED"] { background: repeating-linear-gradient(45deg, transparent 0 3px, var(--faint) 3px 6px); }
.vchip[data-v="WATCH-ONLY"] { color: var(--ink); }
.vchip[data-v="PRICED"] { color: var(--phos); border-color: rgba(79, 217, 140, 0.4); }

/* citation lines */
.cite { font-family: var(--mono); font-size: 0.68rem; color: var(--dimmer); margin-top: 1rem; }

/* ---------------- catalog cards (refusal page) ---------------- */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.4rem; }
.catalog .panel { padding: 1.6rem; }
.catalog h3 { font-size: 1rem; margin-bottom: 0.7rem; }
.catalog p { font-size: 0.88rem; color: var(--dim); }
.catalog .fig { font-family: var(--mono); font-size: 1.5rem; color: var(--phos); display: block; margin-bottom: 0.9rem; }
@media (max-width: 860px) { .catalog { grid-template-columns: 1fr; } }

/* ---------------- arch / stack (system page) ---------------- */
.sys-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 4rem); }
.arch-list > div { padding: 1.25rem 0; border-top: 1px solid var(--faint-2); display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; }
.arch-list dt { font-weight: 700; font-size: 0.98rem; }
.arch-list dd { color: var(--dim); font-size: 0.92rem; }
@media (max-width: 720px) { .arch-list > div { grid-template-columns: 1fr; gap: 0.3rem; } }
.stack-panel { align-self: start; position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.stack-list { list-style: none; padding: 0.4rem 1.4rem 1rem; }
.stack-list li {
  font-family: var(--mono); font-size: 0.8rem; line-height: 1.7;
  padding: 0.6rem 0; border-bottom: 1px solid var(--faint-2); color: var(--ink);
}
.stack-list li:last-child { border-bottom: 0; }

/* pipeline schematic svg */
.schematic { margin-top: 2.6rem; }
.schematic svg { width: 100%; height: auto; display: block; }
.schematic text { font-family: var(--mono); }

/* ---------------- offers (services page) ---------------- */
.offer-grid { margin-top: 2.4rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.offer { padding: 1.9rem; display: flex; flex-direction: column; gap: 1rem; }
.offer p { color: var(--dim); font-size: 0.95rem; }
.offer-build { background: var(--phos-dim); }
.offer-feed {
  grid-column: 1 / -1;
  flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem;
  background:
    radial-gradient(circle, rgba(79, 217, 140, 0.06) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--bg-raise);
}
.offer-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.offer-price { font-family: var(--mono); font-size: 0.85rem; color: var(--ink); }
@media (max-width: 820px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-feed { flex-direction: column; align-items: flex-start; }
}

/* process steps */
.process { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 2.4rem; }
.process .step { padding: 1.2rem 1.2rem 1.2rem 0; margin-right: 1.2rem; border-top: 2px solid var(--faint); }
.process b { font-family: var(--mono); font-size: 0.92rem; display: block; margin-bottom: 0.45rem; color: var(--phos); }
.process span { font-size: 0.82rem; color: var(--dim); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 760px; margin-top: 2.2rem; }
.faq details { border-top: 1px solid var(--faint-2); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 0;
  font-weight: 700; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--phos); }
.faq details[open] summary::after { content: "-"; }
.faq details p { color: var(--dim); font-size: 0.92rem; padding-bottom: 1.2rem; max-width: 62ch; }

/* ---------------- page hero (subpages) ---------------- */
.page-hero { padding-top: clamp(3.5rem, 8vh, 6rem); padding-bottom: clamp(2.5rem, 5vh, 4rem); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 18ch; }
.page-hero .lede { margin-top: 1.3rem; color: var(--dim); max-width: 54ch; font-size: 1.05rem; }
.page-hero .hero-kicker { margin-bottom: 1.1rem; }

/* ---------------- big desk boards (desk page) ---------------- */
.boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.boards .mod-body { min-height: 240px; }
.boards .desk-module { padding: 0.4rem 1.2rem 1.1rem; }
@media (max-width: 1000px) { .boards { grid-template-columns: 1fr; } .boards .mod-body { min-height: 0; } }

/* ---------------- reveal helper ---------------- */
.rv { opacity: 1; }

/* ---------------- footer ---------------- */
.footer { border-top: 1px solid var(--faint); background: var(--bg-deep); }
.footer-inner { padding-top: 2.6rem; padding-bottom: 3rem; }
.footer-legal { font-size: 0.82rem; color: var(--dim); max-width: 74ch; }
.footer-meta {
  margin-top: 1.7rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.75rem; color: var(--dimmer);
}
.footer-meta a { color: var(--ink); text-decoration: none; }
.footer-meta a:hover { color: var(--phos); }
.footer-nav { display: flex; gap: 1.4rem; }
