/* =========================================================
   Bloon Developments · AI systems pages
   Builds on ../styles.css (tokens, header, buttons, panels, FAQ, footer).
   ========================================================= */

.sys-page { --dark: #0f0f10; --dark-2: #161618; --dark-line: #2a2a2c; --dark-text: #f2f2ee; --dark-muted: #a6a6a0; --blue-light: #7d9bff; }

/* solid full stops (no travelling dot on these pages) */
.sys-page .pdot { background: var(--blue); }
.sys-page .pdot.pd-red { background: var(--red); }
.sys-page .pdot.pd-green { background: var(--green); }
.sys-page .pdot.pd-blue { background: var(--blue); }

.display-sm { font-size: clamp(40px, 5.4vw, 88px); }
.inline-link { font-weight: 700; color: var(--blue); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; transition: background-size .4s var(--ease); }
.inline-link:hover { background-size: 30% 1.5px; }
.section-intro p:last-child { margin-bottom: 0; }

/* shared dark-section treatment */
.sys-day, .tx-hero, .tx-proof { background: var(--dark); color: var(--dark-text); }
.sys-day .eyebrow, .tx-hero .eyebrow, .tx-proof .eyebrow { color: var(--dark-text); }
.sys-day .eyebrow .num, .tx-proof .eyebrow .num { color: var(--blue-light); }
.sys-day em, .tx-hero em, .tx-proof em { color: var(--blue-light); }
.sys-day .section-intro, .tx-proof .section-intro, .sys-day .lead-sm { color: var(--dark-muted); }
.sys-day .fine-print, .tx-proof .fine-print { color: #7a7a75; }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; font: 700 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; border: 1.5px solid currentColor; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-live { color: var(--green-text); }
.pill-wip { color: #b06a00; }
.pill-plan { color: var(--muted); }
.pill-core { color: var(--blue); }
.pill-live::before { animation: ping-dot 1.8s var(--ease) infinite; }
@keyframes ping-dot { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 50%, transparent); } 60% { box-shadow: 0 0 0 5px transparent; } }

/* ---------- breadcrumb + layer switch ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font: 600 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: inherit; transition: color .2s; }
.crumbs a:hover { color: var(--blue); }
.layer-switch { display: inline-flex; margin-bottom: clamp(24px, 3vw, 36px); border: 1.5px solid var(--ink); }
.layer-switch a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; font-size: 14px; font-weight: 700; transition: background .25s, color .25s; }
.layer-switch a + a { border-left: 1.5px solid var(--ink); }
.layer-switch a:hover { background: var(--paper); }
.layer-switch a[aria-current="page"] { background: var(--ink); color: #fff; }
.ls-dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; }
.layer-switch a[aria-current="page"] .ls-dot { background: var(--green); border-color: var(--green); }

/* =========================================================
   BUSINESS PAGE
   ========================================================= */

/* ---------- hero ---------- */
.sys-hero {
  position: relative; isolation: isolate; overflow: clip;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(24px, 3.4vw, 48px)) var(--gutter) clamp(56px, 7vw, 96px);
}
.sys-hero-grid, .tx-hero-grid { position: absolute; inset: 0 var(--gutter); z-index: -1; display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; }
.sys-hero-grid i, .tx-hero-grid i { border-left: 1px solid var(--line); }
.sys-hero-grid i:last-child, .tx-hero-grid i:last-child { border-right: 1px solid var(--line); }
.sys-title { margin: 0 0 clamp(24px, 3vw, 36px); font-size: clamp(50px, min(6.4vw, 10.5vh), 126px); font-weight: 900; line-height: .88; letter-spacing: -.062em; }
.sys-hero .lead { max-width: 42ch; margin-bottom: 32px; }
.sys-ctas { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }

/* activity feed card */
.feed { position: relative; background: #fff; border: 1.5px solid var(--ink); box-shadow: 14px 14px 0 var(--blue); }
.feed-top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1.5px solid var(--ink); font-size: 14px; }
.feed-top small { margin-left: auto; font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.feed-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.feed-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 2s var(--ease) infinite; }
.feed-list li { --tone: var(--blue); display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 18px; border-bottom: 1px solid var(--line); transition: background .4s; }
.feed-list li[data-tone="red"] { --tone: var(--red); }
.feed-list li[data-tone="green"] { --tone: var(--green); }
.feed-list li[data-tone="ink"] { --tone: var(--ink); }
.fi { width: 18px; height: 18px; margin-top: 2px; background: var(--tone); border-radius: 50%; }
li[data-tone="red"] > .fi { border-radius: 2px; rotate: 12deg; }
li[data-tone="green"] > .fi { border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
li[data-tone="ink"] > .fi { border-radius: 0; }
.feed-list strong { display: block; font-size: 15.5px; letter-spacing: -.015em; line-height: 1.3; }
.feed-list span { display: block; margin-top: 3px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.feed-list em { font: 700 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 7px; white-space: nowrap; }
.feed-list em.ok { color: var(--green-text); background: var(--green-soft); }
.feed-list em.wait { color: var(--red-text); background: var(--red-soft); }
.feed-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--paper); font-size: 14px; }
.feed-btn { padding: 8px 14px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
/* motion: items tick in one at a time (driven by systems.js) */
html.motion .feed-list li { opacity: .18; }
html.motion .feed-list li.show { opacity: 1; animation: feed-in .6s var(--ease); }
html.motion .feed-list li.work { opacity: 1; background: var(--blue-soft); }
html.motion .feed-list li.work em { visibility: hidden; }
html.motion .feed-list li.work::after { content: "working…"; grid-column: 3; grid-row: 1; font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
@keyframes feed-in { from { transform: translateX(-8px); } to { transform: none; } }

/* ---------- not a chatbot ---------- */
.sys-what { background: var(--paper); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.trio article { padding: 36px clamp(20px, 2.6vw, 40px) 8px; border-right: 1px solid var(--line-2); }
.trio article:first-child { padding-left: 0; }
.trio article:last-child { border-right: 0; padding-right: 0; }
.trio small { display: block; margin: 26px 0 8px; font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.trio h3 { margin-bottom: 14px; font-size: clamp(36px, 3.6vw, 56px); font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.trio p { color: var(--ink-2); font-size: 16.5px; max-width: 38ch; }
.trio-shape { width: 56px; height: 56px; }
.trio-shape i { display: block; width: 100%; height: 100%; transition: transform .7s var(--spring); }
.t-blue i { background: var(--blue); border-radius: 50%; }
.t-red i { background: var(--red); }
.t-green i { background: var(--green); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.trio article:hover .t-blue i { transform: translateY(-10px) scale(.92, 1.08); }
.trio article:hover .t-red i { transform: rotate(90deg) scale(.86); }
.trio article:hover .t-green i { transform: rotate(180deg); }

/* ---------- building blocks: map ---------- */
.blocks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.map-wrap { position: sticky; top: calc(var(--header-h) + 24px); }
.map { --ns: clamp(38px, 4.4vw, 60px); position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); aspect-ratio: 1; background: radial-gradient(circle at 50% 50%, var(--paper) 0 32%, transparent 32.2%), repeating-linear-gradient(0deg, transparent 0 calc(33.333% - 1px), var(--line) calc(33.333% - 1px) 33.333%), repeating-linear-gradient(90deg, transparent 0 calc(33.333% - 1px), var(--line) calc(33.333% - 1px) 33.333%); border: 1px solid var(--line); }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.map-lines line { stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.map-lines line.on { stroke: var(--tone, var(--blue)); stroke-width: 2.5; stroke-dasharray: 8 6; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -14; } }
.node {
  --tone: var(--blue);
  position: relative; z-index: 1;
  display: grid; place-items: center;
  padding: 0; background: none; border: 0; cursor: pointer; color: var(--ink);
}
.node[data-tone="red"] { --tone: var(--red); }
.node[data-tone="green"] { --tone: var(--green); }
.node[data-tone="ink"] { --tone: var(--ink); }
.node::before { content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--ns) * 1.7); aspect-ratio: 1; margin: calc(var(--ns) * -.85) 0 0 calc(var(--ns) * -.85); border-radius: 50%; border: 2px solid var(--tone); background: #fff; opacity: 0; transform: scale(.5); transition: transform .5s var(--spring), opacity .3s; }
.node > span { position: absolute; left: 4px; right: 4px; top: calc(50% + var(--ns) * .88 + 6px); text-align: center; font-size: clamp(12px, 1.05vw, 14.5px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: var(--muted); transition: color .25s; }
.node > small { position: absolute; left: 0; right: 0; top: calc(50% + var(--ns) * .88 + 26px); text-align: center; font: 700 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red-text); }
.node:hover > span, .node[aria-pressed="true"] > span { color: var(--ink); }
.node[aria-pressed="true"]::before { opacity: 1; transform: none; }
.node:focus-visible { outline: none; }
.node:focus-visible::before { opacity: 1; transform: none; border-style: dashed; }

.ns { position: relative; width: var(--ns); height: var(--ns); transition: transform .6s var(--spring); }
.node:hover .ns { transform: scale(1.08) rotate(-6deg); }
.node[aria-pressed="true"] .ns { transform: scale(.86); }
.ns::before, .ns::after { content: ""; position: absolute; }
.ns-circle::before { inset: 0; border-radius: 50%; background: var(--tone); }
.ns-square::before { inset: 4%; background: var(--tone); rotate: 10deg; }
.ns-tri::before { inset: 0; background: var(--tone); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ns-plug::before { left: 10%; right: 10%; top: 30%; bottom: 0; border-radius: 0 0 50% 50%; background: var(--tone); }
.ns-plug::after { left: 28%; top: 0; width: 12%; height: 34%; background: var(--tone); box-shadow: calc(var(--ns) * .32) 0 0 var(--tone); }
.ns-bars::before { left: 0; bottom: 0; width: 26%; height: 45%; background: var(--tone); box-shadow: calc(var(--ns) * .37) calc(var(--ns) * -.2) 0 var(--tone), calc(var(--ns) * .74) calc(var(--ns) * -.45) 0 var(--red); }
.ns-bars::after { left: 0; right: 0; bottom: -4px; height: 2px; background: var(--ink); }
.ns-window::before { inset: 0; border: calc(var(--ns) * .1) solid var(--tone); border-top-width: calc(var(--ns) * .26); }
.ns-window::after { left: 28%; top: 44%; width: 44%; height: 30%; background: var(--blue); }
.ns-spark::before { inset: 0; background: var(--tone); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.ns-lens::before { left: 0; top: 0; width: 72%; height: 72%; border-radius: 50%; border: calc(var(--ns) * .14) solid var(--tone); }
.ns-lens::after { right: 2%; bottom: 2%; width: 40%; height: 14%; background: var(--ink); rotate: 45deg; transform-origin: center; }
.node-hub { --ns: clamp(64px, 7.4vw, 100px); }
.node-hub::before { border-radius: 0; }
.ns-hub::before { inset: 0; background: var(--ink); }
.ns-hub::after { left: 50%; top: 50%; width: 30%; height: 30%; margin: -15% 0 0 -15%; border-radius: 50%; background: var(--green); animation: hub-beat 2.4s var(--ease) infinite; }
@keyframes hub-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.node-hub > span { color: var(--ink); font-weight: 800; }
.map-note { margin: 16px 0 0; font: 500 12px/1.5 var(--mono); color: var(--muted); }

/* building blocks: panels (reuse .panel from styles.css) */
.bpanel .panel-kicker { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-right: 76px; color: var(--ink); }
.panel[data-tone="ink"] .panel-shape { background: var(--ink); border-radius: 0; transform: rotate(45deg); }
.good-for { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.good-for li { padding: 6px 10px; background: var(--paper); font-size: 13px; font-weight: 600; }
html:not(.js) .block-panels .panel { margin-bottom: 16px; }

/* ---------- a day with the system (dark) ---------- */
.day-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.day-head { position: sticky; top: calc(var(--header-h) + 40px); }
.day-head .lead-sm { max-width: 40ch; margin-top: 28px; }
.day-legend { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 28px 0 18px; font: 600 12px var(--mono); color: var(--dark-muted); }
.day-legend li { display: flex; align-items: center; gap: 8px; }
.lg { width: 12px; height: 12px; }
.lg-blue { background: var(--blue-light); border-radius: 50%; }
.lg-red { background: var(--red); }
.lg-green { background: var(--green); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.lg-ink { background: var(--dark-text); }
.day-line { position: relative; }
.day-line::before { content: ""; position: absolute; left: 76px; top: 8px; bottom: 8px; width: 1px; background: var(--dark-line); }
.day-line li { --tone: var(--blue-light); position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 48px; padding: 0 0 clamp(32px, 4vw, 48px); }
.day-line li[data-tone="red"] { --tone: var(--red); }
.day-line li[data-tone="green"] { --tone: var(--green); }
.day-line li[data-tone="ink"] { --tone: var(--dark-text); }
.day-line li::before { content: ""; position: absolute; left: 70px; top: 5px; width: 13px; height: 13px; background: var(--tone); border-radius: 50%; box-shadow: 0 0 0 6px var(--dark); }
.day-line li[data-tone="red"]::before { border-radius: 1px; }
.day-line li[data-tone="green"]::before { border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); box-shadow: none; }
.day-line li[data-tone="ink"]::before { border-radius: 0; }
.day-line time { font: 700 14px/1.6 var(--mono); color: var(--dark-text); }
.day-tag { display: inline-block; margin-bottom: 10px; padding: 4px 8px; font: 700 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dark); background: var(--tone); }
.day-line h3 { margin-bottom: 8px; font-size: clamp(22px, 2.1vw, 30px); font-weight: 900; letter-spacing: -.04em; line-height: 1.08; }
.day-line p { margin: 0; color: var(--dark-muted); font-size: 16px; max-width: 54ch; }
.day-line li[data-tone="ink"] h3 { color: #fff; }
.day-line li[data-tone="ink"] { padding-top: 22px; padding-bottom: 22px; margin-bottom: clamp(32px, 4vw, 48px); background: linear-gradient(90deg, transparent 0 100px, var(--dark-2) 100px); }
.day-line li[data-tone="ink"]::before { top: 27px; }

/* ---------- ground rules ---------- */
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.rules article { position: relative; padding: 32px 28px 30px; background: #fff; transition: background .35s; }
.rules article:hover { background: var(--paper); }
.rule-n { display: block; margin-bottom: 20px; font: 900 64px/.8 var(--display); letter-spacing: -.06em; color: var(--blue); transition: transform .5s var(--spring); }
.rules article:nth-child(3n+2) .rule-n { color: var(--red); }
.rules article:nth-child(3n) .rule-n { color: var(--green); }
.rules article:hover .rule-n { transform: translateY(-6px) rotate(-6deg); }
.rules h3 { margin-bottom: 10px; font-size: clamp(20px, 1.8vw, 25px); font-weight: 900; letter-spacing: -.035em; line-height: 1.1; }
.rules p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- start small ---------- */
.sys-grow { background: var(--paper); }
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: st; }
.stages li { position: relative; padding: 28px 28px 30px; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.stages li:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(20, 20, 20, .25); }
.stages li:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 56px; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; background: var(--ink); color: #fff; font-size: 14px; }
.stage-art { display: flex; align-items: flex-end; gap: 8px; height: 64px; margin-bottom: 26px; }
.stage-art i { display: block; width: 28px; background: var(--blue); }
.sa-1 i { height: 28px; border-radius: 50%; }
.sa-2 i:nth-child(1) { height: 28px; border-radius: 50%; }
.sa-2 i:nth-child(2) { height: 42px; background: var(--red); }
.sa-3 i:nth-child(1) { height: 28px; border-radius: 50%; }
.sa-3 i:nth-child(2) { height: 42px; background: var(--red); }
.sa-3 i:nth-child(3) { height: 50px; background: var(--green); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.sa-3 i:nth-child(4) { height: 64px; width: 40px; background: var(--ink); }
.stages small { font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.stages h3 { margin: 10px 0 10px; font-size: clamp(22px, 2vw, 28px); font-weight: 900; letter-spacing: -.04em; line-height: 1.08; }
.stages p { color: var(--muted); font-size: 15.5px; }
.stage-eg { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font: 500 12.5px/1.5 var(--mono); color: var(--ink-2) !important; }
.grow-foot { margin-top: 28px; padding: 22px 26px; background: #fff; border-left: 4px solid var(--blue); }
.grow-foot p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- where things stand ---------- */
.status-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.status-grid .lead-sm { max-width: 56ch; margin-bottom: 28px; }
.status-list { border-top: 1px solid var(--ink); }
.status-list li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.status-list .pill { justify-self: start; margin-top: 3px; }
.status-list strong { display: block; font-size: 19px; letter-spacing: -.02em; }
.status-list div span { display: block; margin-top: 2px; color: var(--muted); font-size: 15px; }

/* ---------- CTA (blue) ---------- */
.sys-cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 11vw, 160px) var(--gutter); background: var(--blue); color: #fff; }
.sys-cta .eyebrow { color: #fff; }
.sys-cta .eyebrow .num { color: #fff; }
.sys-cta .lead-sm { max-width: 46ch; color: rgba(255, 255, 255, .88); }
.cta-title { margin-bottom: 32px; font-size: clamp(56px, 9.6vw, 170px); font-weight: 900; line-height: .86; letter-spacing: -.065em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.sys-cta .btn-blue { background: #fff; color: var(--ink); }
.sys-cta .btn-blue::before { background: var(--ink); }
.sys-cta .btn-blue:hover { color: #fff; }
.btn-line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-line::before { background: currentColor; }
.btn-line:hover > span { color: var(--blue); }
.btn-line-dark:hover > span { color: var(--ink); }
.cta-shapes { position: absolute; right: var(--gutter); top: 50%; z-index: -1; width: min(38vw, 460px); aspect-ratio: 1; translate: 0 -50%; }
.cta-shapes i { position: absolute; }
.cta-shapes i:nth-child(1) { left: 0; top: 8%; width: 58%; aspect-ratio: 1; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .5); animation: float 8s ease-in-out infinite; }
.cta-shapes i:nth-child(2) { right: 0; bottom: 0; width: 44%; aspect-ratio: 1; background: var(--red); rotate: -14deg; animation: float 7s ease-in-out -2s infinite; }
.cta-shapes i:nth-child(3) { right: 8%; top: 0; width: 30%; aspect-ratio: 1; background: var(--green); clip-path: polygon(50% 0, 100% 100%, 0 100%); rotate: 16deg; animation: float 6s ease-in-out -4s infinite; }

/* =========================================================
   TECHNICAL PAGE
   ========================================================= */
.tx-hero {
  position: relative; isolation: isolate; overflow: clip;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  grid-template-areas: "copy spec" "toc toc";
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: calc(var(--header-h) + clamp(32px, 5vw, 64px)) var(--gutter) clamp(40px, 5vw, 64px);
}
.tx-hero-grid i { border-color: #1f1f22 !important; }
.tx-hero-copy { grid-area: copy; }
.tx-hero .crumbs { color: #8a8a85; }
.tx-hero .crumbs a:hover { color: var(--blue-light); }
.tx-hero .layer-switch { border-color: #5a5a5e; }
.tx-hero .layer-switch a + a { border-left-color: #5a5a5e; }
.tx-hero .layer-switch a:hover { background: #1e1e21; }
.tx-hero .layer-switch a[aria-current="page"] { background: var(--dark-text); color: var(--ink); }
.tx-lead { max-width: 52ch; margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: #cfcfca; letter-spacing: -.01em; }
.tx-lead b { color: #fff; }

.spec-card { grid-area: spec; border: 1px solid var(--dark-line); background: var(--dark-2); font-family: var(--mono); }
.spec-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--dark-line); font-size: 11px; color: #7a7a75; }
.spec-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.spec-top i:nth-child(2) { background: #f2b01e; }
.spec-top i:nth-child(3) { background: var(--green); }
.spec-top span { margin-left: 10px; }
.spec-card dl { margin: 0; padding: 10px 0; }
.spec-card dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 7px 18px; font-size: 12.5px; line-height: 1.5; }
.spec-card dt { color: var(--blue-light); }
.spec-card dd { margin: 0; color: #d8d8d2; }
.c-green { color: #5fd69a; }
.c-amber { color: #f2b01e; }

.toc { grid-area: toc; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); margin-top: clamp(16px, 3vw, 40px); border-top: 1px solid #3a3a3e; }
.toc a { display: block; height: 100%; padding: 14px 12px 4px 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: #cfcfca; transition: color .2s; }
.toc a span { display: block; margin-bottom: 6px; font: 600 11px var(--mono); color: #6f6f6a; transition: color .2s; }
.toc a:hover { color: #fff; }
.toc a:hover span { color: var(--blue-light); }

/* ---------- thesis ---------- */
.theses { border-top: 1px solid var(--ink); }
.theses li { display: grid; grid-template-columns: minmax(80px, .3fr) minmax(0, 1fr); gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.th-n { font: 900 clamp(40px, 4.4vw, 72px)/.85 var(--display); letter-spacing: -.06em; color: var(--blue); }
.theses li:nth-child(3n+2) .th-n { color: var(--red); }
.theses li:nth-child(3n) .th-n { color: var(--green); }
.theses li > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px 48px; }
.theses h3 { font-size: clamp(22px, 2.1vw, 30px); font-weight: 900; letter-spacing: -.04em; line-height: 1.08; }
.theses p { margin: 0; color: var(--muted); font-size: 16.5px; }

/* ---------- architecture stack ---------- */
.tx-arch { background: var(--paper); }
.stack { position: relative; display: grid; gap: 10px; }
.stack-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line-2); }
.rail-pulse { position: absolute; left: -4px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
html.motion .rail-pulse { animation: rail 4.5s linear infinite; }
html.motion .rail-pulse.rp-2 { animation-delay: 2.25s; background: var(--red); }
@keyframes rail { from { top: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } to { top: calc(100% - 10px); opacity: 0; } }
.layer-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: stretch; padding-left: 22px; }
.layer-label { display: flex; flex-direction: column; justify-content: center; gap: 4px; font: 800 15px/1.2 var(--text); letter-spacing: -.01em; }
.layer-label span { font: 700 11px var(--mono); letter-spacing: .1em; color: var(--blue); }
.layer-boxes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.layer-boxes li { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 76px; padding: 14px 16px; background: #fff; border: 1.5px solid var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.layer-boxes li:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--ink); }
.layer-boxes b { font-size: 15px; letter-spacing: -.015em; line-height: 1.2; }
.layer-boxes span { font: 500 11.5px/1.45 var(--mono); color: var(--muted); }
.layer-boxes em { position: absolute; right: 8px; top: 8px; padding: 3px 6px; font: 700 9px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--green-text); }
.layer-boxes li.is-built { border-color: var(--green-text); box-shadow: inset 0 0 0 1.5px var(--green-text); }
.layer-key .layer-boxes li { background: var(--blue-soft); border-color: var(--blue); }
.layer-key .layer-boxes li:hover { box-shadow: 5px 5px 0 var(--blue); }
.layer-key .layer-label span { color: var(--blue); }
.layer-boundary .layer-boxes li { min-height: 0; padding: 14px 18px; background: transparent; border: 2px dashed var(--red); flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.layer-boundary .layer-boxes li:hover { transform: none; box-shadow: none; }
.layer-boundary b { color: var(--red-text); font: 800 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.layer-boundary .layer-label span { color: var(--red-text); }
.res-red { border-color: var(--red) !important; background: color-mix(in srgb, var(--red) 8%, #fff) !important; }
.res-green { border-color: var(--green-text) !important; background: color-mix(in srgb, var(--green) 10%, #fff) !important; }
.res-blue { border-color: var(--blue) !important; background: color-mix(in srgb, var(--blue) 7%, #fff) !important; }
.arch-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--ink); }
.arch-notes h3 { margin-bottom: 10px; font-size: 22px; font-weight: 900; letter-spacing: -.035em; }
.arch-notes p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- run lifecycle ---------- */
.runner { display: grid; grid-template-columns: 230px minmax(0, 1fr); background: var(--dark); color: var(--dark-text); border: 1px solid var(--ink); }
.run-steps { display: flex; flex-direction: column; padding: 10px 0; border-right: 1px solid var(--dark-line); }
.rs { position: relative; display: flex; align-items: center; gap: 14px; padding: 13px 22px; text-align: left; background: none; border: 0; color: #8a8a85; font-size: 15px; font-weight: 700; cursor: pointer; transition: color .2s, background .25s; }
.rs span { font: 600 11px var(--mono); color: #5a5a5e; transition: color .2s; }
.rs::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--blue-light); transform: scaleY(0); transition: transform .35s var(--ease); }
.rs:hover { color: #fff; background: #161618; }
.rs[aria-selected="true"] { color: #fff; background: #19191c; }
.rs[aria-selected="true"] span { color: var(--blue-light); }
.rs[aria-selected="true"]::before { transform: none; }
.rs.seen span { color: #5fd69a; }
.rs:focus-visible { outline-offset: -3px; }
.run-body { display: flex; flex-direction: column; min-width: 0; padding: clamp(20px, 3vw, 36px); }
.run-state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 26px; font: 600 11px var(--mono); }
.st-label { margin-right: 8px; color: #7a7a75; letter-spacing: .06em; }
.st-chip { padding: 5px 8px; border: 1px solid #3a3a3e; color: #6f6f6a; letter-spacing: .08em; text-transform: uppercase; transition: all .3s; }
.st-chip.on[data-st="queued"] { color: var(--dark); background: #cfcfca; border-color: #cfcfca; }
.st-chip.on[data-st="running"] { color: var(--dark); background: var(--blue-light); border-color: var(--blue-light); }
.st-chip.on[data-st="paused"] { color: var(--dark); background: #f2b01e; border-color: #f2b01e; }
.st-chip.on[data-st="done"] { color: var(--dark); background: #5fd69a; border-color: #5fd69a; }
.run-play { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 7px 12px; background: none; border: 1px solid #5a5a5e; color: var(--dark-text); font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .25s, border-color .25s; }
.run-play:hover { background: #1e1e21; border-color: var(--blue-light); }
.rp-icon { width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.run-play.playing .rp-icon { width: 8px; height: 10px; border: 0; box-shadow: inset 3px 0 0 currentColor, inset -3px 0 0 currentColor; }
html:not(.js) .run-play, html:not(.js) .run-state { display: none; }
.run-panel h3 { margin-bottom: 12px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.run-panel > p { max-width: 64ch; color: var(--dark-muted); font-size: 16px; }
.run-panel em { color: #fff; font-weight: 700; }
html.js .run-panel:not([hidden]) { animation: panel-in .5s var(--ease); }
html:not(.js) .run-panel[hidden] { display: block !important; margin-top: 36px; }
.code { margin: 20px 0 0; padding: 18px 20px; overflow-x: auto; background: #08080a; border: 1px solid var(--dark-line); font: 500 13px/1.75 var(--mono); color: #d8d8d2; white-space: pre; tab-size: 2; }
.code .k { color: var(--blue-light); }
.code .s { color: #cfcfca; }
.code .v { color: #9fe0bd; }
.code .n { color: #f2b01e; }
.code .c { color: #6f6f6a; }
.code .r { color: #ff7a6e; }
.code .g { color: #5fd69a; }
.code .a { color: #f2b01e; }

/* ---------- core components ---------- */
.tx-comp { background: var(--paper); }
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.comp { padding: 28px 28px 24px; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.comp:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(20, 20, 20, .25); }
.comp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.comp-head h3 { font-size: 24px; font-weight: 900; letter-spacing: -.04em; }
.comp > p { color: var(--ink-2); font-size: 15.5px; }
.cs { flex: none; width: 24px; height: 24px; transition: transform .6s var(--spring); }
.comp:hover .cs { transform: rotate(90deg) scale(1.1); }
.cs-blue { background: var(--blue); border-radius: 50%; }
.cs-red { background: var(--red); }
.cs-green { background: var(--green); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.cs-ink { background: var(--ink); }
.cs-ring { background: none; border: 4px solid var(--blue); }
.cs-red.cs-ring { border-color: var(--red); border-radius: 0; }
.ticks { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.ticks li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.ticks li::before { content: ""; width: 6px; height: 6px; margin-top: .5em; background: var(--ink); }

/* ---------- security ---------- */
.threats { border-top: 1.5px solid var(--ink); }
.th-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr) minmax(0, .6fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.th-row b { display: block; font-size: 17px; letter-spacing: -.015em; }
.th-row > span:first-child { color: var(--muted); }
.th-row > span:nth-child(2) { color: var(--ink-2); }
.th-head { padding: 12px 0; font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.th-head > span { color: var(--muted) !important; }
.where { font: 600 11.5px/1.5 var(--mono); color: var(--red-text); }
.tx-fine { max-width: 90ch; margin-top: 24px !important; }
.tx-fine code, .fine-print code { padding: 1px 5px; background: var(--paper); font-family: var(--mono); }

/* ---------- proof (dark) ---------- */
.proof-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 8%; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.pipeline { margin: 0; padding: 22px; border: 1px solid var(--dark-line); background: var(--dark-2); }
.pipeline .mono-label span { color: #7a7a75; }
.pipe-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: pf; }
.pipe-flow li { position: relative; padding: 16px 22px 16px 16px; border: 1px solid #3a3a3e; margin-right: 14px; background: var(--dark); }
.pipe-flow li:not(:last-child)::after { content: ""; position: absolute; right: -15px; top: 50%; width: 14px; height: 2px; background: var(--blue-light); }
.pipe-flow li:not(:last-child)::before { content: ""; position: absolute; right: -16px; top: calc(50% - 4px); border-left: 6px solid var(--blue-light); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.pipe-flow li:last-child { margin-right: 0; border-color: var(--green); }
.pipe-flow b { display: block; font: 700 13px var(--mono); color: #fff; }
.pipe-flow span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--dark-muted); }
html.motion .pipe-flow li { animation: pf-glow 6s steps(1) infinite; }
html.motion .pipe-flow li:nth-child(2) { animation-delay: 1s; }
html.motion .pipe-flow li:nth-child(3) { animation-delay: 2s; }
html.motion .pipe-flow li:nth-child(4) { animation-delay: 3s; }
html.motion .pipe-flow li:nth-child(5) { animation-delay: 4s; }
html.motion .pipe-flow li:nth-child(6) { animation-delay: 5s; }
@keyframes pf-glow { 0% { background: #172040; border-color: var(--blue-light); } 16%, 100% { background: var(--dark); border-color: #3a3a3e; } }
.proof-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(28px, 4vw, 48px); background: var(--dark-line); border: 1px solid var(--dark-line); }
.proof-stats > div { padding: 26px 22px; background: var(--dark); }
.proof-stats strong { display: block; margin-bottom: 10px; font: 900 clamp(40px, 4.4vw, 68px)/.9 var(--display); letter-spacing: -.06em; color: #fff; }
.proof-stats > div:nth-child(2) strong { color: var(--blue-light); }
.proof-stats > div:nth-child(3) strong { color: var(--red); }
.proof-stats > div:nth-child(4) strong { color: var(--green); }
.proof-stats span { font-size: 14px; color: var(--dark-muted); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 36px); margin-top: clamp(32px, 4vw, 56px); }
.proof-grid h3 { margin-bottom: 10px; padding-top: 18px; border-top: 2px solid var(--blue-light); font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.proof-grid article:nth-child(2) h3 { border-color: var(--red); }
.proof-grid article:nth-child(3) h3 { border-color: var(--green); }
.proof-grid article:nth-child(4) h3 { border-color: var(--dark-text); }
.proof-grid p { margin: 0; color: var(--dark-muted); font-size: 15px; }
.proof-chips { margin-top: clamp(32px, 4vw, 48px); }
.tx-proof .chips li { border-color: #3a3a3e; color: #cfcfca; }

/* ---------- module matrix ---------- */
.matrix { border-top: 1.5px solid var(--ink); }
.mx-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.3fr) 200px; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; transition: background .3s, padding .4s var(--ease); }
.mx-row:not(.mx-head):hover { background: var(--paper); padding-left: 12px; padding-right: 12px; }
.mx-row b { font-size: 17px; letter-spacing: -.02em; }
.mx-row > span:nth-child(2) { font: 500 12.5px/1.55 var(--mono); color: var(--muted); }
.mx-row > span:nth-child(3) { color: var(--ink-2); }
.mx-head { padding: 12px 0; font: 700 11px var(--mono) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mx-head > span { font: inherit !important; color: var(--muted) !important; }

/* ---------- decisions ---------- */
.tx-dec { background: var(--paper); }
.adrs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adr { padding: 26px 26px 22px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); }
.adr:nth-child(3n+2) { border-top-color: var(--red); }
.adr:nth-child(3n) { border-top-color: var(--green); }
.adr small { font: 700 11px var(--mono); letter-spacing: .1em; color: var(--muted); }
.adr h3 { margin: 10px 0 14px; font-size: 22px; font-weight: 900; letter-spacing: -.04em; line-height: 1.1; }
.adr p { margin: 0 0 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.adr p b { font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.adr-cost { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted) !important; }
.adr-cost b { color: var(--red-text) !important; }

/* ---------- roadmap ---------- */
.road { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); padding-top: 30px; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line-2); }
.road::after { content: ""; position: absolute; left: 0; top: 7px; width: 31%; height: 2px; background: var(--ink); }
.road li { position: relative; }
.r-dot { position: absolute; top: -30px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.r-done .r-dot { background: var(--green); border-color: var(--green); }
.r-now .r-dot { background: var(--blue); border-color: var(--blue); }
html.motion .r-now .r-dot { animation: ping-ring 2s var(--ease) infinite; }
@keyframes ping-ring { 0% { box-shadow: 0 0 0 0 rgba(36, 91, 255, .45); } 80%, 100% { box-shadow: 0 0 0 12px rgba(36, 91, 255, 0); } }
.road small { font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.road h3 { margin: 10px 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 900; letter-spacing: -.04em; line-height: 1.1; }
.road p { color: var(--muted); font-size: 15px; }

/* ---------- technical CTA ---------- */
.tx-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 100px); align-items: end; padding: clamp(80px, 11vw, 160px) var(--gutter); background: var(--blue); color: #fff; }
.tx-cta .eyebrow, .tx-cta .eyebrow .num { color: #fff; }
.tx-cta em { color: var(--ink); }
.tx-cta .cta-title { margin: 0; }
.tx-cta .lead-sm { color: rgba(255, 255, 255, .9); }
.tx-cta .email { color: #fff; border-color: #fff; }
.tx-cta .email:hover { color: var(--ink); border-color: var(--ink); }
.tx-cta .btn-blue { background: #fff; color: var(--ink); }
.tx-cta .btn-blue::before { background: var(--ink); }
.tx-cta .btn-blue:hover { color: #fff; }
.tx-cta .btn-line-dark:hover > span { color: var(--blue); }
.tx-cta .btn-line::before { background: #fff; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .toc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .toc li { border-bottom: 1px solid #242426; }
  .comp-grid, .adrs { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .pipe-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 0; }
  .pipe-flow li:nth-child(3) { margin-right: 0; }
  .pipe-flow li:nth-child(3)::before, .pipe-flow li:nth-child(3)::after { display: none; }
  .layer-row { grid-template-columns: 1fr; gap: 10px; }
  .layer-label { flex-direction: row; align-items: baseline; gap: 10px; }
  .layer-boxes { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .mx-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.2fr); }
  .mx-row > span:nth-child(4) { grid-column: 1 / -1; }
  .mx-head > span:nth-child(4) { display: none; }
  .theses li > div { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .sys-hero, .tx-hero { grid-template-columns: 1fr; grid-template-areas: none; min-height: auto; }
  .tx-hero-copy, .spec-card, .toc { grid-area: auto; }
  .sys-hero .lead { max-width: none; }
  .feed { box-shadow: 8px 8px 0 var(--blue); margin-right: 8px; }
  .trio { grid-template-columns: 1fr; }
  .trio article, .trio article:first-child, .trio article:last-child { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 20px; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .trio-shape { grid-row: 1 / span 3; width: 48px; height: 48px; }
  .trio small { margin-top: 0; }
  .blocks { grid-template-columns: 1fr; }
  .map-wrap { position: static; max-width: 520px; width: 100%; margin: 0 auto; }
  .day-grid { grid-template-columns: 1fr; }
  .day-head { position: static; }
  .stages { grid-template-columns: 1fr; }
  .stages li:not(:last-child)::after { content: "↓"; right: auto; left: 28px; top: auto; bottom: -15px; }
  .status-grid { grid-template-columns: 1fr; }
  .cta-shapes { opacity: .35; }
  .runner { grid-template-columns: 1fr; }
  .run-steps { flex-direction: row; overflow-x: auto; padding: 0; border-right: 0; border-bottom: 1px solid var(--dark-line); scrollbar-width: none; }
  .run-steps::-webkit-scrollbar { display: none; }
  .rs { flex: none; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; font-size: 14px; }
  .rs::before { left: 8px; right: 8px; top: auto; bottom: 0; width: auto; height: 3px; transform: scaleX(0); }
  .rs[aria-selected="true"]::before { transform: none; }
  .th-row { grid-template-columns: 1fr; gap: 6px; }
  .th-head { display: none; }
  .proof-head { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr; gap: 0; padding-top: 0; padding-left: 36px; }
  .road::before, .road::after { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .road::after { height: 30%; }
  .road li { padding-bottom: 28px; }
  .r-dot { left: -36px; top: 4px; }
  .tx-cta { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .sys-title { font-size: clamp(46px, 14vw, 80px); }
  .layer-switch a { padding: 9px 12px; font-size: 13px; }
  .sys-ctas .btn { flex: 1 1 100%; }
  .feed-list li { grid-template-columns: 20px minmax(0, 1fr); }
  .feed-list em { grid-column: 2; justify-self: start; }
  html.motion .feed-list li.work::after { grid-column: 2; grid-row: auto; }
  .map { --ns: 34px; }
  .node-hub { --ns: 54px; }
  .node > span { font-size: 11.5px; }
  .node > small { display: none; }
  .bpanel .panel-kicker { padding-right: 56px; }
  .day-line::before { left: 6px; }
  .day-line li { grid-template-columns: 1fr; gap: 6px; padding-left: 32px; }
  .day-line li::before { left: 0; }
  .day-line li[data-tone="ink"] { background: var(--dark-2); padding-right: 16px; }
  .day-line li[data-tone="ink"]::before { left: 0; }
  .rules, .comp-grid, .adrs, .proof-grid { grid-template-columns: 1fr; }
  .status-list li { grid-template-columns: 1fr; gap: 10px; }
  .toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-card dl > div { grid-template-columns: 84px minmax(0, 1fr); padding: 6px 14px; font-size: 11.5px; }
  .theses li { grid-template-columns: 1fr; gap: 10px; }
  .pipe-flow { grid-template-columns: 1fr; gap: 12px; }
  .pipe-flow li { margin-right: 0; }
  .pipe-flow li::before, .pipe-flow li::after { display: none; }
  .proof-stats { grid-template-columns: 1fr 1fr; }
  .mx-row { grid-template-columns: 1fr; gap: 6px; }
  .mx-head { display: none; }
  .code { font-size: 11.5px; padding: 14px; }
  .run-body { padding: 18px 16px 22px; }
  .run-play { margin-left: 0; }
  .layer-boxes { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .map-lines line.on { animation: none; }
  .cta-shapes i { animation: none; }
}
