/* Clear Desk Works · Warm Obsidian & Amber (owner direction, 2026-11-27).
   Obsidian canvas, raised hardware panels with a specular top edge, recessed wells, amber for signal and action.
   Self-hosted only, no outside requests. Fonts: Plus Jakarta Sans and JetBrains Mono, Latin variable WOFF2 from
   Fontsource 5.3.0, SIL Open Font License 1.1 (licence texts in /assets/fonts/). */
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin-wght.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --obsidian: #0d0c0b;
  --surface: #151311;
  --elevated: #1c1916;
  --recessed: #090807;
  --amber: #e59a3c;
  --amber-bright: #ffb85c;
  --text: #f4efe8;
  --soft: #a89f93;
  --muted: #665f56;
  --ink: #14110d;
  --amber-dim: rgba(229, 154, 60, .16);
  --amber-glow: rgba(229, 154, 60, .42);
  --hair: rgba(244, 239, 232, .08);
  --hi: rgba(255, 255, 255, .08);
  --edge-strong: rgba(244, 239, 232, .24);
  --error-on-dark: #ffa08f;
  --shadow-hw: 0 24px 48px -12px rgba(0, 0, 0, .85), 0 4px 12px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .05);
  --shadow-rec: inset 0 3px 10px rgba(0, 0, 0, .85), 0 1px 0 rgba(255, 255, 255, .05);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fg: var(--text);
  --fg-soft: var(--soft);
  --line: var(--hair);
  --kicker: var(--amber);
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --radius: 4px;
  --radius-lg: 4px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --tap: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: dark; background: var(--obsidian); }
body { margin: 0; background: var(--obsidian); color: var(--fg); font: 1.0625rem/1.6 var(--sans); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; position: relative; }
/* Ambient architectural grid behind every page. */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 40%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 95% 85% at 50% 40%, #000 55%, transparent 100%); }
img, svg, video { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 .5em; color: var(--fg); }
h1 { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p, ul, ol, dl, table { margin: 0 0 1rem; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber-bright); outline-offset: 3px; box-shadow: 0 0 0 3px var(--obsidian); border-radius: 3px; }
[hidden] { display: none !important; }
main:focus, [tabindex="-1"]:focus { outline: none; box-shadow: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 60; background: var(--amber); color: var(--ink); padding: 12px 16px; font-weight: 700; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.mono, .eyebrow, .kicker, .panel-label, .step-label, .tag, .fields dt, .draft-label, .crumbs, .lbl, .sec { font-family: var(--mono); }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--kicker); margin-bottom: 1rem; }
.lede { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.55; color: var(--fg-soft); max-width: 36em; }
.small, .muted { font-size: .92rem; color: var(--fg-soft); }
p.muted { font-size: inherit; }

/* Raised hardware panels (every card on the site). */
.paper, .card, .tile, .panel, .review-form, .aside-box, .surface, .mode, .preset, .complication-control, .offer {
  background: linear-gradient(180deg, var(--elevated) 0%, var(--surface) 100%); color: var(--text);
  border: 1px solid var(--hi); box-shadow: var(--shadow-hw);
}
/* Recessed wells (sit below the surface). */
.well, .source-message, .draft, .trace li, .table-scroll, .jobs li, .field input, .field select, .field textarea, .phone-list {
  background: var(--recessed); border: 1px solid var(--hair); box-shadow: var(--shadow-rec);
}

/* Header and menu */
.site-header { position: sticky; top: 0; z-index: 50; background: linear-gradient(to bottom, rgba(13, 12, 11, .95), rgba(13, 12, 11, .82)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--hair); }
.header-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; min-height: 72px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; min-height: var(--tap); margin-right: auto; color: var(--text); }
.brand-mark { width: 26px; height: 20px; fill: var(--text); flex: none; }
.brand::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: none; order: -1; display: none; }
.site-menu { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; }
.nav-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0 26px; margin: 0; padding: 0; }
.nav-list a { display: inline-flex; align-items: center; min-height: var(--tap); text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--soft); }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--text); }
.nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.nav-action { border-radius: 999px !important; }
.menu-button { display: none; }
.menu-icon { display: inline-block; width: 20px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; margin-left: 10px; vertical-align: middle; }
@media (max-width: 860px) {
  .js .menu-button { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); padding: 0 12px; background: var(--recessed); color: var(--text); border: 1px solid var(--hi); border-radius: 4px; font: 600 1rem var(--sans); cursor: pointer; box-shadow: var(--shadow-rec); }
  .js .menu-button[aria-expanded="true"] { border-color: var(--amber); color: var(--amber-bright); }
  .js .site-menu { display: none; }
  .js .site-menu[data-open] { display: flex; flex-direction: column; align-items: stretch; flex-basis: 100%; gap: 14px; padding: 8px 0 18px; }
  .js .site-menu .nav-list { flex-direction: column; }
  .js .site-menu .nav-list a { width: 100%; border-bottom: 1px solid var(--hair); font-size: 1.1rem; color: var(--text); }
  .site-menu { flex-basis: 100%; }
  .nav-action { width: 100%; }
  html:not(.js) .site-menu { padding-bottom: 8px; }
}

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--tap); padding: 10px 20px; border-radius: 4px; font: 700 .98rem/1.25 var(--display); text-decoration: none; text-align: center; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s ease, border-color .2s ease, background-color .2s ease; }
.btn-primary { background: linear-gradient(180deg, var(--amber-bright) 0%, var(--amber) 100%); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 235, 200, .35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 235, 200, .45); }
.btn-primary::after { content: "\2192"; font-weight: 400; }
.btn-secondary { background: var(--recessed); color: var(--text); border-color: var(--hi); box-shadow: var(--shadow-rec); }
.btn-secondary:hover, .btn-secondary[aria-pressed="true"] { border-color: var(--amber); color: var(--amber-bright); }
.btn-large { padding: 15px 26px; font-size: 1.08rem; }
.btn-soon { width: 100%; background: transparent; color: var(--soft); border: 1px dashed var(--edge-strong); font-weight: 600; cursor: not-allowed; box-shadow: none; }
.btn-soon:hover { transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); font-weight: 600; }
.link-arrow::after { content: "\2192"; color: var(--amber); text-decoration: none; display: inline-block; }
.link-btn { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 4px; background: none; border: 0; color: var(--soft); font: 600 1rem var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--text); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 1.6rem 0 0; }

/* Sections on inner pages */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.section-head { max-width: 46em; margin-bottom: 2rem; }
.sub { color: var(--fg-soft); font-size: 1.1rem; }
.on-dark, .band { background: var(--surface); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.rule-top { border-top: 1px solid var(--hair); }
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { max-width: 18em; font-size: clamp(2rem, 1.2rem + 3vw, 3.3rem); }
.prose { max-width: 44em; }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); }
.prose h3 { margin-top: 1.6rem; }
.prose li { margin-bottom: .4rem; }

/* ===== Home: the Signal Track ===== */
.track-page { position: relative; max-width: 1160px; margin: 0 auto; padding: 24px var(--gutter) 120px; }
.signal-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.track-base { fill: none; stroke: #26221e; stroke-width: 2.5; stroke-linecap: round; }
.track-lit { fill: none; stroke: url(#amberGradient); stroke-width: 3; stroke-linecap: round;  }
.beacon-halo { fill: none; stroke: rgba(229, 154, 60, .55); stroke-width: 1; }
.beacon-core { fill: var(--amber); stroke: rgba(255, 235, 200, .7); stroke-width: 1; }
.avatar-glyph { fill: var(--ink); }
.branch-lines path { fill: none; stroke: #2e2924; stroke-width: 1.5; stroke-linecap: round; }
html:not(.js) .signal-svg { display: none; }
.stage { position: relative; z-index: 1; padding: clamp(40px, 6vw, 64px) 0; transition: opacity .65s var(--ease), transform .65s var(--ease), filter .65s var(--ease); }
/* Center-of-focus dimming: only the stage nearest the middle of the screen is at full strength. */
.js .track-page[data-focus-ready] .stage:not(.is-focused):not(:focus-within) { opacity: .28; transform: scale(.985); filter: blur(.6px); }
.waypoint { width: 18px; height: 18px; margin: 0 auto 22px; border-radius: 50%; background: var(--obsidian); border: 2px solid #38322c; box-shadow: 0 0 0 6px var(--obsidian); transition: border-color .4s ease, box-shadow .4s ease; }
.stage.is-focused .waypoint, html:not(.js) .waypoint { border-color: var(--amber); box-shadow: 0 0 0 6px var(--obsidian); }
.stage-label { text-align: center; font: 500 .74rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 0 auto 16px; width: max-content; max-width: 100%; padding: 2px 10px; background: var(--obsidian); }
.hero-head { position: relative; z-index: 2; text-align: center; max-width: 760px; margin: 0 auto 28px; padding: 6px 12px; background: var(--obsidian); box-shadow: 0 0 36px 28px var(--obsidian); }
.hero-head h1 { margin-bottom: 14px; text-shadow: 0 12px 32px rgba(0, 0, 0, .8); }
.hero-head .eyebrow { color: var(--soft); letter-spacing: .1em; margin-bottom: 14px; }
.hero-sub { font-size: 1.12rem; line-height: 1.6; color: var(--soft); max-width: 36em; margin: 0 auto; }
.bay-label { text-align: center; font-size: .9rem; color: var(--soft); margin: 0 auto 14px; font-weight: 500; width: max-content; max-width: 100%; padding: 2px 10px; background: var(--obsidian); }
.switch-dock { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 960px; margin: 0 auto; padding: 12px; border-radius: 4px; background: var(--recessed); border: 1px solid var(--hair); box-shadow: var(--shadow-rec); }
.switch-dock li { display: flex; }
.tactile, .tier-node { --mx: 50%; --my: 50%; position: relative; overflow: hidden; cursor: pointer; transition: transform .28s var(--ease), border-color .28s ease, box-shadow .28s ease, color .28s ease; }
.tactile::before, .tier-node::before { content: ""; position: absolute; inset: 0; background: radial-gradient(160px circle at var(--mx) var(--my), rgba(229, 154, 60, .07), transparent 70%); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
/* Cursor sheen on the 1px border only, like light catching a metal edge. */
.tactile::after, .tier-node::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(120px circle at var(--mx) var(--my), rgba(255, 196, 120, .55), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.tactile:hover::after, .tier-node:hover::after { opacity: 1; }
.tactile:hover::before, .tier-node:hover::before { opacity: 1; }
.tactile { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 96px; padding: 16px 16px 18px; border-radius: 4px; background: linear-gradient(180deg, #1d1a17 0%, #141210 100%); border: 1px solid var(--hi); box-shadow: 0 10px 22px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .05); color: var(--soft); text-align: left; text-decoration: none; font: inherit; }
.tactile:hover { transform: translateY(-4px) scale(1.02); border-color: rgba(229, 154, 60, .45); color: var(--text); box-shadow: 0 18px 32px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05); }
.tactile[aria-pressed="true"] { transform: translateY(-2px); background: linear-gradient(rgba(229, 154, 60, .04), rgba(229, 154, 60, .04)), linear-gradient(180deg, #1d1a17 0%, #141210 100%); border-color: var(--amber); color: var(--text); box-shadow: 0 12px 26px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 220, 170, .22); }
.switch-top { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.switch-led { width: 8px; height: 8px; border-radius: 50%; background: #332e29; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .8); transition: background-color .25s ease, box-shadow .25s ease; }
.tactile[aria-pressed="true"] .switch-led { background: var(--amber-bright); box-shadow: 0 0 4px #fff; }
.switch-code { font: 500 .72rem var(--mono); color: var(--soft); letter-spacing: .06em; }
.tactile[aria-pressed="true"] .switch-code { color: var(--amber); }
.switch-title { font: 700 .98rem/1.3 var(--display); }
.not-sure { text-align: center; margin: 18px auto 0; color: var(--soft); width: max-content; max-width: 100%; padding: 0 10px; background: var(--obsidian); }
.not-sure a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text); font-weight: 600; }
.not-sure a::after { content: " \2192"; white-space: pre; color: var(--amber); }

.sim-frame { scroll-margin-top: 88px; max-width: 960px; margin: 0 auto; border-radius: var(--radius-lg); background: linear-gradient(180deg, #191613 0%, #110f0d 100%); border: 1px solid var(--hi); box-shadow: 0 34px 70px -15px rgba(0, 0, 0, .92), 0 0 0 1px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05); padding: clamp(16px, 2.5vw, 24px); }
.sim + .sim { margin-top: 28px; padding-top: 28px; border-top: 1px dashed var(--edge-strong); }
.js .sim-frame[data-sims-ready] .sim:not([data-active]) { display: none; }
.js .sim-frame[data-sims-ready] .sim + .sim { margin-top: 0; padding-top: 0; border-top: 0; }
.sim-topbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--hair); }
.sim-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font: 500 .78rem var(--mono); color: var(--soft); }
.sim-pill { padding: 4px 10px; border-radius: 3px; background: var(--amber-dim); color: var(--amber-bright); border: 1px solid rgba(229, 154, 60, .3); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.mode-toggle { display: inline-flex; background: var(--recessed); padding: 4px; border-radius: 4px; border: 1px solid var(--hair); box-shadow: var(--shadow-rec); }
.mode-btn { min-height: 44px; padding: 6px 14px; border: 0; border-radius: 3px; background: transparent; color: var(--soft); font: 600 .78rem var(--mono); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.mode-btn[aria-pressed="true"] { background: var(--elevated); color: var(--amber-bright); box-shadow: 0 4px 12px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .05); }
.sim-line { margin: 0 0 14px; font: 600 1.05rem/1.5 var(--display); color: var(--text); max-width: 46em; }
.sim-media .replay { min-height: var(--tap); padding: 6px 14px; font-size: .85rem; }
.receipt-next { margin: 14px 0 0; }
.follow-up { margin-top: 4px; }
/* Concept clip (16:9, one per route). */
.sim-media { margin: 0 0 18px; }
.sim-media video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: var(--recessed); border: 1px solid var(--hair); box-shadow: var(--shadow-rec); }
/* Clips generated with letterbox bars baked in (about 2.11:1 picture): crop the bars away. */
.sim-media video.clip-wide { aspect-ratio: 2.1 / 1; }
.sim-media figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 10px; font-size: .85rem; color: var(--soft); }
/* Three-beat phone demo (D-25). Base: three still screens (no-JS, reduced motion). [data-live]: one phone that plays. */
.run { margin: 0 0 20px; }
.run [data-i="0"] {--i:0} .run [data-i="1"] {--i:1} .run [data-i="2"] {--i:2} .run [data-i="3"] {--i:3} .run [data-i="4"] {--i:4} .run [data-i="5"] {--i:5} .run [data-i="6"] {--i:6} .run [data-i="7"] {--i:7} .run [data-i="8"] {--i:8} .run [data-i="9"] {--i:9} .run [data-i="10"] {--i:10} .run [data-i="11"] {--i:11} .run [data-i="12"] {--i:12} .run [data-i="13"] {--i:13} .run [data-i="14"] {--i:14} .run [data-i="15"] {--i:15} .run [data-i="16"] {--i:16} .run [data-i="17"] {--i:17} .run [data-i="18"] {--i:18} .run [data-i="19"] {--i:19} .run [data-i="20"] {--i:20} .run [data-i="21"] {--i:21} .run [data-i="22"] {--i:22} .run [data-i="23"] {--i:23}
.run-screens { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.run-k { margin: 0 0 8px; font-size: .88rem; line-height: 1.45; color: var(--soft); }
.run-k span { display: block; font: 600 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 2px; }
.run-card { padding: 14px; border-radius: 4px; background: var(--recessed); border: 1px solid var(--hair); box-shadow: var(--shadow-rec); font-size: .88rem; line-height: 1.5; }
.run-app { margin: 0 0 6px; font: 500 .68rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.run-h { margin: 0 0 10px; font: 700 1rem/1.3 var(--display); color: var(--text); }
.run-wave { display: flex; align-items: center; gap: 3px; height: 28px; margin: 0 0 10px; }
.run-wave i { flex: 1; height: calc(20% + (var(--h, 4) * 9%)); min-width: 2px; border-radius: 2px; background: var(--amber); opacity: .55; }
.run-wave i:nth-child(3n) { --h: 7; } .run-wave i:nth-child(4n+1) { --h: 3; } .run-wave i:nth-child(5n+2) { --h: 9; } .run-wave i:nth-child(7n) { --h: 5; }
.run-quote { margin: 0 0 10px; padding: 8px 12px; border-left: 3px solid var(--amber); background: var(--surface); border-radius: 3px; font: .84rem/1.55 var(--mono); }
.run-quote p { margin: 0; }
.run-lines { list-style: none; margin: 0 0 10px; padding: 0; }
.run-lines li { padding: 6px 0; border-top: 1px solid var(--hair); }
.run-lines li:first-child { border-top: 0; padding-top: 0; }
.run-flag { color: var(--amber-bright); }
.run-row { display: grid; grid-template-columns: minmax(5.5em, 38%) minmax(0, 1fr); gap: 8px; }
.run-rk { font: 500 .66rem/1.9 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--soft); }
.run-lines li.run-flag { padding: 6px 8px; margin: 2px 0; border: 1px dashed rgba(229, 154, 60, .55); border-radius: 3px; background: var(--amber-dim); }
.run-btns { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.run-btn { padding: 6px 10px; border-radius: 3px; border: 1px solid var(--edge-strong); background: var(--elevated); font: 600 .78rem var(--display); color: var(--text); }
.run-btn-main { border-color: var(--amber); color: var(--amber-bright); }
.run-meta { margin: 0; font-size: .78rem; color: var(--soft); }
.run-guard { margin: 12px 0 0; padding: 10px 12px; border-radius: 4px; border: 1px solid rgba(229, 154, 60, .35); background: var(--amber-dim); font-size: .82rem; line-height: 1.45; color: var(--text); }
.run-guard span { display: block; font: 600 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-bright); margin-bottom: 2px; }
.run figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px; font-size: .85rem; color: var(--soft); }
.run .replay { min-height: var(--tap); padding: 6px 14px; font-size: .85rem; }
/* Live: one phone outline (no status bar, carrier or logos) beside the three steps. */
.run[data-live] .run-body { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: center; }
.run[data-live] .run-device { position: relative; padding: 12px; border-radius: 38px; background: linear-gradient(180deg, #1c1915 0%, #0c0b0a 100%); border: 1px solid var(--hi); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05); }
.run[data-live] .run-device::before { content: ""; position: absolute; top: 18px; left: 50%; width: 54px; height: 5px; margin-left: -27px; border-radius: 3px; background: #000; z-index: 2; }
.run[data-live] .run-screens { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; min-height: 380px; border-radius: 28px; overflow: hidden; background: var(--recessed); border: 1px solid var(--hair); }
.run[data-live] .run-screen { grid-area: 1 / 1; padding: 34px 14px 14px; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); visibility: hidden; }
.run[data-live] .run-screen.is-on { opacity: 1; transform: none; visibility: visible; }
.run[data-live] .run-k { display: none; }
.run[data-live] .run-card { border: 0; box-shadow: none; background: transparent; padding: 0; }
.run[data-live] .is-on .run-quote span { animation: runWord .3s var(--ease) both; animation-delay: calc(.5s + var(--i) * .11s); }
.run[data-live] .is-on .run-line { animation: runIn .5s var(--ease) both; animation-delay: calc(.35s + var(--i) * .55s); }
.run[data-live] .is-on .run-wave i { animation: runWave 1.1s ease-in-out 3 alternate; transform-origin: center; }
.run[data-live] .is-on .run-wave i:nth-child(odd) { animation-delay: .2s; }
.run[data-live] .is-on .run-flag { animation: runIn .5s var(--ease) both, runFlag 1.4s ease-out 1; animation-delay: calc(.35s + var(--i) * .55s), calc(.9s + var(--i) * .55s); }
.run[data-live] .is-on .run-btn-main { animation: runRing 1.6s ease-out 2.4s infinite; }
@keyframes runWord { from { opacity: .08; } to { opacity: 1; } }
@keyframes runIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes runWave { from { transform: scaleY(.35); } to { transform: scaleY(1.15); } }
@keyframes runFlag { 0% { box-shadow: 0 0 0 0 rgba(229, 154, 60, .55); } 100% { box-shadow: 0 0 0 10px rgba(229, 154, 60, 0); } }
@keyframes runRing { 0% { box-shadow: 0 0 0 0 rgba(229, 154, 60, .5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(229, 154, 60, 0); } }
.run-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.run-step { display: grid; gap: 4px; width: 100%; min-height: var(--tap); padding: 12px 14px; text-align: left; border-radius: var(--radius); border: 1px solid var(--hair); background: var(--surface); color: var(--soft); font: inherit; font-size: .95rem; line-height: 1.5; cursor: pointer; transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease); }
.run-step .run-step-k { font: 600 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.run-step[aria-pressed="true"] { border-color: rgba(229, 154, 60, .5); background: linear-gradient(180deg, #17130f 0%, #0d0b09 100%); color: var(--text); }
.run-step[aria-pressed="true"] .run-step-k, .run-step.is-done .run-step-k { color: var(--amber); }
.run-bar { display: block; height: 2px; margin-top: 6px; border-radius: 2px; background: var(--hair); overflow: hidden; }
.run-bar i { display: block; height: 100%; width: 0; background: var(--amber); }
.run-step.is-done .run-bar i { width: 100%; }
.run[data-playing] .run-step[aria-pressed="true"] .run-bar i { animation: runBar var(--dur, 5s) linear both; }
.run:not([data-playing]) .run-step[aria-pressed="true"] .run-bar i { width: 100%; }
@keyframes runBar { from { width: 0; } to { width: 100%; } }
@media (max-width: 760px) {
  .run[data-live] .run-body { grid-template-columns: minmax(0, 1fr); }
  .run[data-live] .run-device { width: min(100%, 330px); margin: 0 auto; }
  .run[data-live] .run-screens { min-height: 340px; }
  .run-step .run-step-n { display: none; }
  .run-step .run-step-k { letter-spacing: .04em; font-size: .68rem; }
  .run-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .run-step { padding: 10px; font-size: .85rem; }
  .run-step .run-step-v { display: none; }
  .run-steps-caption { margin: 10px 0 0; font-size: .95rem; line-height: 1.5; color: var(--text); min-height: 4.5em; }
}
@media (min-width: 761px) { .run-steps-caption { display: none; } }
.sim-viewport { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); align-items: stretch; gap: 16px; }
.sim-pane { padding: clamp(16px, 2.5vw, 24px); border-radius: var(--radius); background: var(--recessed); border: 1px solid var(--hair); box-shadow: var(--shadow-rec); display: flex; flex-direction: column; transition: border-color .35s var(--ease), box-shadow .35s var(--ease), opacity .35s var(--ease); }
.sim-pane.is-lit { border-color: rgba(229, 154, 60, .45); background: linear-gradient(180deg, #17130f 0%, #0d0b09 100%); box-shadow: inset 0 2px 12px rgba(0, 0, 0, .7); }
.js .sim[data-mode] .sim-pane:not(.is-lit) { opacity: .55; }
.pane-tag { font: 500 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin: 0 0 10px; }
.sim-pane.is-lit .pane-tag { color: var(--amber); }
.pane-title { font: 700 1.15rem/1.3 var(--display); margin: 0 0 10px; }
.pane-quote { margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid var(--amber); background: var(--surface); border-radius: 3px; font: .92rem/1.55 var(--mono); }
.pane-quote p { margin: 0; }
.pane-body { font-size: .95rem; line-height: 1.6; color: var(--soft); margin: 0 0 12px; }
.pane-fields { margin: 0 0 12px; display: grid; gap: 0; }
.pane-fields div { display: grid; grid-template-columns: minmax(6.5em, 38%) minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid var(--hair); }
.pane-fields div:first-child { border-top: 0; }
.pane-fields dt { font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--soft); padding-top: 3px; }
.pane-fields dd { margin: 0; font-weight: 500; font-size: .95rem; }
.pane-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--hair); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font: 500 .78rem var(--mono); color: var(--soft); }
.pane-foot strong { color: var(--amber-bright); font-weight: 600; }
.sim-arrow { align-self: center; width: 44px; height: 44px; border-radius: 50%; background: var(--elevated); border: 1px solid var(--amber); color: var(--amber-bright); display: grid; place-items: center; font-weight: 700; box-shadow: none; margin: 0 auto; }
.sim-after-link { margin: 16px 0 0; text-align: right; }
@media (max-width: 860px) {
  .switch-dock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sim-viewport { grid-template-columns: minmax(0, 1fr); }
  .sim-arrow { transform: rotate(90deg); }
  .sim-after-link { text-align: left; }
}
@media (max-width: 480px) { .switch-dock { grid-template-columns: minmax(0, 1fr); } .tactile { min-height: 0; } }

.stage-intro { text-align: center; max-width: 640px; margin: 0 auto 32px; padding: 6px 0; background: radial-gradient(ellipse at center, rgba(13, 12, 11, .96) 60%, rgba(13, 12, 11, 0) 100%); }
.stage-intro h2 { margin-bottom: 10px; }
.stage-intro p { color: var(--soft); margin: 0; }
.tier-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 960px; margin: 0 auto; padding: 0; }
.tier-grid li { display: flex; }
.tier-node { width: 100%; display: block; padding: 24px 22px; border-radius: 4px; background: linear-gradient(180deg, #191613 0%, #12100e 100%); border: 1px solid var(--hi); box-shadow: var(--shadow-hw); color: var(--text); text-align: left; font: inherit; }
.tier-node:hover { transform: translateY(-6px) scale(1.015); border-color: rgba(229, 154, 60, .45); }
.tier-node[aria-pressed="true"] { transform: translateY(-4px); border-color: var(--amber); background: linear-gradient(180deg, #221b14 0%, #14110e 100%); box-shadow: 0 26px 52px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 214, 153, .25); }
.tier-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; font: 500 .74rem var(--mono); }
.tier-id { color: var(--soft); letter-spacing: .06em; }
.tier-node[aria-pressed="true"] .tier-id { color: var(--amber); }
.tier-badge { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--soft); border: 1px solid var(--hair); text-transform: uppercase; letter-spacing: .05em; font-size: .68rem; }
.tier-node[aria-pressed="true"] .tier-badge { background: var(--amber); color: var(--ink); border-color: var(--amber); font-weight: 600; }
.tier-name { display: block; font: 700 1.2rem/1.25 var(--display); margin-bottom: 8px; }
.tier-desc { display: block; font-size: .92rem; line-height: 1.55; color: var(--soft); margin-bottom: 16px; }
.tier-modules { display: flex; flex-direction: column; gap: 7px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: .88rem; color: var(--soft); }
.tier-modules span::before { content: "\25B8  "; white-space: pre; color: var(--amber); }
.tier-note { text-align: center; max-width: 40em; margin: 18px auto 0; color: var(--soft); font-size: .9rem; padding: 0 10px; background: var(--obsidian); width: max-content; }
@media (max-width: 860px) { .tier-grid { grid-template-columns: minmax(0, 1fr); } .tier-note { width: auto; } }

.receipt { max-width: 960px; margin: 0 auto; border-radius: var(--radius-lg); background: linear-gradient(180deg, #1b1713 0%, #110f0d 100%); border: 1px solid rgba(229, 154, 60, .35); box-shadow: 0 32px 64px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.receipt-readout { font: 500 .78rem/1.7 var(--mono); color: var(--amber); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.receipt-readout span + span::before { content: "\00B7  "; white-space: pre; color: var(--soft); }
.receipt h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.75rem); margin-bottom: 10px; }
.receipt-copy { color: var(--soft); font-size: .97rem; line-height: 1.6; margin-bottom: 22px; }
.receipt-actions { display: grid; gap: 10px; }
@media (min-width: 560px) { .receipt-actions { grid-template-columns: 1fr 1fr; } }
.receipt-actions .btn-soon { width: auto; }
.signoff { padding: 22px; border-radius: 4px; background: var(--recessed); border: 1px solid var(--hair); box-shadow: var(--shadow-rec); margin: 0; }
.signoff blockquote { margin: 0 0 16px; }
.signoff blockquote p { margin: 0; font-size: .97rem; line-height: 1.6; font-style: italic; }
.signoff-author { display: flex; align-items: center; gap: 12px; }
.photo-slot { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #2b241d 0 6px, #211c17 6px 12px); border: 1px solid var(--amber); color: var(--amber-bright); font: 700 1rem var(--display); }
.signoff-author b { display: block; font-size: .97rem; }
.signoff-author span { font: 500 .74rem var(--mono); color: var(--soft); letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 860px) { .receipt { grid-template-columns: minmax(0, 1fr); } }

.hud { opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; position: fixed; bottom: 22px; right: 24px; z-index: 40; display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 15px; border-radius: 999px; background: rgba(21, 19, 17, .9); border: 1px solid var(--hi); box-shadow: var(--shadow-hw); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 500 .74rem var(--mono); letter-spacing: .06em; color: var(--soft); text-transform: uppercase; }
.hud-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: none; }
@media (prefers-reduced-motion: no-preference) { .hud-dot { animation: pulse 2s infinite; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.85); } }
@media (max-width: 480px) { .hud { bottom: 12px; right: 12px; padding: 7px 12px; } }
/* Air-Gap Vault (D-28): second service page and home teaser. Our own diagram; no vendor marks. */
.vault-tag { margin: -4px 0 16px; font: 700 clamp(1.15rem, 2.2vw, 1.4rem)/1.3 var(--display); color: var(--amber-bright); }
.vault-tag span { display: block; margin-top: 4px; font: 500 .92rem/1.5 var(--sans); letter-spacing: 0; color: var(--soft); }
.vault-teaser-card .vault-tag { margin: 0 0 8px; font-size: 1.1rem; }
.vault-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.vault-steps li { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hair); }
.vault-steps p { margin: 6px 0 0; color: var(--soft); line-height: 1.6; }
.vault-step-k { font: 600 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.vault-teaser { padding: 0 0 clamp(48px, 7vw, 88px); }
.vault-teaser-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; max-width: 960px; margin: 0 auto; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius-lg); border: 1px solid var(--hi); background: linear-gradient(180deg, #171411 0%, #0f0d0b 100%); }
.vault-teaser-card > div { flex: 1 1 320px; min-width: 0; }
.vault-teaser-card h2 { margin: 4px 0 8px; }
.vault-teaser-card p:last-child { margin: 0; color: var(--soft); line-height: 1.6; }
/* Guide dot (D-26): rules-based helper. Trails the mouse; docked bottom-left on touch or with reduced motion. */
.guide-dot { position: fixed; top: 0; left: 0; z-index: 55; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; pointer-events: none; will-change: transform; }
.guide-dot span { width: 12px; height: 12px; border-radius: 50%; background: var(--amber-bright); box-shadow: 0 0 0 5px rgba(229, 154, 60, .16); transition: transform .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease); }
@media (prefers-reduced-motion: no-preference) { .guide-dot span { animation: guidePulse 2.8s ease-in-out infinite; } }
@keyframes guidePulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(229, 154, 60, .14); } 50% { box-shadow: 0 0 0 9px rgba(229, 154, 60, .05); } }
.guide.is-guiding .guide-dot span { transform: scale(.6); background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .12), 0 0 22px rgba(255, 255, 255, .6); animation: none; }
.guide.is-docked .guide-dot { top: auto; left: 16px; bottom: 16px; margin: 0; pointer-events: auto; transform: none; border-radius: 50%; background: rgba(21, 19, 17, .9); border: 1px solid var(--hi); box-shadow: var(--shadow-hw); }
.guide-dot:focus-visible { outline: 2px solid var(--amber-bright); outline-offset: 2px; border-radius: 50%; }
.is-guided { outline: 2px solid rgba(255, 255, 255, .85); outline-offset: 6px; box-shadow: 0 0 0 10px rgba(255, 255, 255, .04); transition: outline-color .4s var(--ease), box-shadow .4s var(--ease); border-radius: var(--radius); }
.guide-bubble { position: fixed; z-index: 56; top: 0; left: 0; width: min(330px, calc(100vw - 32px)); padding: 14px 16px 10px; border-radius: 4px; background: rgba(28, 25, 21, .97); border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .85), 0 0 30px rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@media (prefers-reduced-motion: no-preference) { .guide-bubble:not([hidden]) { animation: guideIn .35s var(--ease) both; } }
@keyframes guideIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.guide-k { margin: 0 0 4px; font: 600 .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.guide-text { margin: 0 0 8px; font-size: .95rem; line-height: 1.5; color: var(--text); }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; }
.guide-go { min-height: var(--tap); padding: 6px 14px; font-size: .85rem; }
.guide-close, .guide-off { min-height: var(--tap); padding: 0 6px; border: 0; background: transparent; color: var(--soft); font: 600 .85rem var(--display); cursor: pointer; }
.guide-close { color: var(--text); }
.guide-close:hover, .guide-off:hover { color: var(--amber-bright); }
.guide.is-docked .guide-bubble, .guide-bubble.is-sheet { top: auto; left: 12px; right: 12px; bottom: 72px; width: auto; max-width: 420px; }
@media (max-width: 639px) { .guide-bubble { top: auto; left: 12px; right: 12px; bottom: 72px; width: auto; } }


/* Cards and grids (inner pages) */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: .4rem; }
.card > :last-child { margin-bottom: 0; }
.card ul { padding-left: 1.2em; }
.service-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 28px; }
@media (min-width: 640px) { .service-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-links { grid-template-columns: repeat(4, 1fr); } }
.service-links li { border-top: 1px solid var(--hair); }
.service-links a { display: block; padding: 22px 0 26px; text-decoration: none; min-height: var(--tap); }
.service-links .svc-icon { width: 34px; height: 34px; stroke: var(--amber); fill: none; stroke-width: 2; display: block; margin-bottom: 14px; }
.service-links .svc-title { display: flex; justify-content: space-between; gap: 12px; font: 700 1.25rem var(--display); margin-bottom: .4rem; }
.service-links .svc-title::after { content: "\2192"; color: var(--amber); }
.service-links a:hover .svc-title { text-decoration: underline; }
.service-links .svc-card { color: var(--soft); }

/* Example tiles and filters */
.filters { display: grid; gap: 14px; margin-bottom: 1.5rem; }
.filter-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.filter-group legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: var(--tap); padding: 8px 14px; border: 1px solid var(--hi); border-radius: 999px; background: var(--recessed); color: var(--text); font: 500 .95rem var(--sans); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; box-shadow: var(--shadow-rec); }
.chip[aria-pressed="true"] { border-color: var(--amber); color: var(--amber-bright); background: #1c150e; }
.chip:hover { border-color: rgba(229, 154, 60, .45); }
.filter-status { min-height: 1.6em; color: var(--fg-soft); }
.tiles { list-style: none; padding: 0; margin: 0; }
.tile { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); padding: 22px; }
.tile h3 a { text-decoration: none; }
.tile h3 a:hover { text-decoration: underline; }
.tile .tile-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: .8rem; }
.tile p { color: var(--soft); }
.tile .tile-foot { margin-top: auto; font-size: .92rem; }
.tile .tile-foot a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text); }
.empty { border: 1px dashed var(--edge-strong); border-radius: var(--radius); padding: 22px; }

/* Tags and status */
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 3px; background: var(--amber-dim); color: var(--amber-bright); border: 1px solid rgba(229, 154, 60, .3); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.tag-strong { font-weight: 700; }
.tag-plain { background: transparent !important; border-color: var(--hi) !important; color: var(--soft) !important; text-transform: none; letter-spacing: .02em; }
.status-note { border-left: 3px solid var(--amber); background: rgba(229, 154, 60, .06); padding: 14px 18px; border-radius: 0 4px 4px 0; max-width: 46em; }
.status-note > :last-child { margin-bottom: 0; }
.gap { border: 1px dashed var(--edge-strong); border-radius: 4px; padding: 12px 16px; background: var(--recessed); }
.gap strong { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; display: block; color: var(--amber); }
.gap > :last-child { margin-bottom: 0; }
.draft-banner { background: var(--surface); border: 1px solid var(--hi); border-radius: 4px; padding: 16px 20px; margin-bottom: 2rem; }
.draft-banner strong { color: var(--amber); font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.draft-banner p { margin: 0; }

/* Service pages */
.service-head { display: grid; gap: 28px; }
@media (min-width: 960px) { .service-head { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.spec { display: grid; gap: 20px; }
@media (min-width: 760px) { .spec { grid-template-columns: repeat(2, 1fr); } }
.spec .card h2 { font-size: 1.3rem; }
.spec ul { padding-left: 1.2em; margin: 0; }
.boundary { display: grid; gap: 20px; }
@media (min-width: 760px) { .boundary { grid-template-columns: repeat(2, 1fr); } }

/* Tables */
.table-scroll { overflow-x: auto; max-width: 100%; border-radius: 4px; margin-bottom: 1rem; }
table { border-collapse: collapse; width: 100%; font-size: .97rem; margin: 0; }
caption { text-align: left; font-weight: 700; padding: 12px 14px 4px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-top: 1px solid var(--hair); }
thead th { border-top: 0; font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--soft); }
.compare th[scope="row"] { font-weight: 700; white-space: nowrap; }
@media (max-width: 700px) {
  .stack-table thead { display: none; }
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table td, .stack-table th { display: block; width: 100%; }
  .stack-table tr { border-top: 1px solid var(--hair); padding: 8px 0; }
  .stack-table td, .stack-table th { border: 0; padding: 4px 14px; }
  .stack-table td[data-label]::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--soft); }
}

/* Demo pages */
.demo { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 80px); }
.crumbs { font-size: .88rem; margin-bottom: 1.2rem; color: var(--soft); }
.crumbs a { display: inline-flex; min-height: var(--tap); align-items: center; }
.label-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.service-chip { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 600; }
.line-note { color: var(--soft); font-size: .95rem; }
.line-note strong { color: var(--text); }
.before { max-width: 46em; border-left: 3px solid var(--edge-strong); padding-left: 16px; margin: 1.5rem 0; }
.before h2 { font-size: 1.1rem; margin-bottom: .3rem; }
.before p { color: var(--soft); }
.complication-control { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 1.5rem 0; padding: 16px; border-radius: var(--radius); }
.complication-hint { margin: 0; color: var(--soft); }
.demo-state { margin-top: 1.2rem; }
.js .demo-state[data-complication]:not([data-shown]) { display: none; }
.js .demo[data-mode="complication"] .demo-state[data-state="ordinary"] { display: none; }
.state-heading { font-size: 1.3rem; }
html:not(.js) .demo-state[data-complication] { border-top: 1px dashed var(--edge-strong); padding-top: 1.5rem; margin-top: 2.5rem; }
.demo-flow { display: grid; gap: 20px; }
@media (min-width: 900px) { .demo-flow { grid-template-columns: 1fr 1fr; } }
.flow-step { min-width: 0; }
.step-heading { font-size: 1.05rem; margin-bottom: .6rem; }
.person-step { margin-top: 20px; }
.panel { border-radius: var(--radius); padding: 18px 20px; }
.panel-result { border-color: rgba(229, 154, 60, .35); }
.panel-person { border: 1px solid var(--amber); }
.panel-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--soft); margin-bottom: .8rem; }
.panel-title { font-size: 1.1rem; }
.person-role { font-weight: 700; font-size: 1.15rem; margin-bottom: .3rem; }
.source-message { margin: 0 0 1rem; padding: 12px 16px; border-left: 3px solid var(--amber); border-radius: 3px; font-family: var(--mono); font-size: .93rem; }
.source-message p { margin: 0 0 .4rem; }
.source-message p:last-child { margin: 0; }
.fields { display: grid; gap: 0; margin: 0 0 1rem; }
.fields div { display: grid; grid-template-columns: minmax(7.5em, 34%) 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--hair); }
.fields div:first-child { border-top: 0; }
.fields dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--soft); padding-top: 2px; }
.fields dd { margin: 0; font-weight: 500; min-width: 0; }
@media (max-width: 420px) { .fields div { grid-template-columns: 1fr; gap: 2px; } }
.draft { border: 1px dashed var(--edge-strong); border-radius: 4px; padding: 12px 16px; margin-bottom: 1rem; }
.draft-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--amber); margin-bottom: .4rem; }
.draft p:last-child { margin-bottom: 0; }
.notes { padding-left: 1.2em; margin: 0; color: var(--soft); }
.notes li { margin-bottom: .3rem; }
.panel > :last-child { margin-bottom: 0; }
.why { background: rgba(229, 154, 60, .1); border: 1px solid rgba(229, 154, 60, .35); border-radius: 4px; padding: 12px 16px; margin-top: 20px; max-width: 46em; }
.proof { margin-top: 2.5rem; max-width: 46em; }
.proof ul { padding-left: 1.2em; }
.proof li { margin-bottom: .3rem; }
.cta-band { margin-top: 2.5rem; background: linear-gradient(180deg, #1b1713 0%, #110f0d 100%); border: 1px solid rgba(229, 154, 60, .3); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-hw); }
.cta-band p { color: var(--soft); max-width: 40em; }
.cta-band p a { color: var(--text); }
.sec { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--kicker); margin: 0 0 6px; }
.trace { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 8px; }
.trace li { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 4px 12px; border-radius: 4px; padding: 10px 12px; }
.trace .row-id { grid-row: span 2; font: 700 .9rem var(--mono); color: var(--amber); padding-top: 2px; }
.trace .row-q { font-weight: 600; }
.trace .row-a { color: var(--soft); font-size: .95rem; }
.trace .row-a strong { color: var(--text); }
.js .trace li[data-pending] { display: none; }
.trace-control { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 1rem; }
.trace-status { margin: 0; color: var(--soft); font-size: .92rem; }
.phone-list { max-width: 360px; border-radius: 4px; padding: 14px; margin: 0 0 1rem; }
.phone-list .phone-title { font: 600 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin: 2px 4px 10px; }
.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.jobs li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; background: var(--surface); border-radius: 4px; padding: 10px 12px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.jobs .job-text { flex: 1 1 10em; min-width: 0; }
.jobs .job-name { display: block; font-weight: 700; }
.jobs .job-next { display: block; color: var(--soft); font-size: .92rem; }
.jobs li[data-done] .job-name { text-decoration: line-through; color: var(--soft); }
.jobs li[data-done] .job-next::before { content: "Done. "; color: var(--amber); font-weight: 700; }
.jobs .btn { min-width: 6.5em; padding: 8px 14px; }
.jobs-status { margin: 8px 4px 0; min-height: 1.4em; font-size: .9rem; color: var(--soft); }

/* Work surfaces on service pages */
.surface { border-radius: var(--radius); padding: 18px; }
.surface .panel-label { margin-bottom: .6rem; }
.answer { background: var(--recessed); border: 1px solid var(--hair); border-radius: 4px; padding: 12px 16px; }
.citation { font-family: var(--mono); font-size: .86rem; border-left: 3px solid var(--amber); padding: 8px 12px; background: var(--recessed); margin-top: .8rem; }

/* Guide */
.mode-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 12px; }
@media (min-width: 760px) { .mode-list { grid-template-columns: repeat(3, 1fr); } }
.mode { border-radius: var(--radius); padding: 16px 18px; }
.mode.is-active { border-color: var(--amber); }
.mode h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.mode p { margin: 0; color: var(--soft); font-size: .95rem; }
.mode a { color: var(--text); }
.presets { display: grid; gap: 12px; max-width: 52em; }
.preset { border-radius: var(--radius); }
.preset summary { cursor: pointer; padding: 14px 18px; min-height: var(--tap); font-weight: 600; display: flex; gap: 12px; align-items: center; }
.preset summary::before { content: "+"; font-family: var(--mono); color: var(--amber); flex: none; width: 1em; }
.preset[open] summary::before { content: "\2212"; }
.preset summary::-webkit-details-marker { display: none; }
.preset .preset-body { padding: 0 18px 16px; }
.preset .preset-body > :last-child { margin-bottom: 0; }
.transcript { border-left: 3px solid var(--amber); padding-left: 14px; }
.transcript p { margin-bottom: .5rem; }
.speaker { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--soft); display: block; }

/* Form */
.form-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .form-layout { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.review-form { border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); }
.form-intro { font-size: 1.15rem; font-weight: 600; }
.field { margin-bottom: 1.2rem; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 4px; }
.field .hint { display: block; font-weight: 400; color: var(--soft); font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; min-height: var(--tap); padding: 10px 12px; border-radius: 3px; color: var(--text); font: 1rem/1.4 var(--sans); border-color: var(--edge-strong); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--amber); }
.field[data-invalid] input, .field[data-invalid] textarea { border: 2px solid var(--error-on-dark); }
.field-error { color: var(--error-on-dark); font-weight: 600; margin: 4px 0 0; }
.field-error:empty { display: none; }
.req { font-family: var(--mono); font-size: .74rem; font-weight: 400; color: var(--soft); text-transform: uppercase; margin-left: 6px; }
fieldset.optional { border: 1px solid var(--hair); border-radius: 4px; padding: 14px 16px 2px; margin: 0 0 1.2rem; min-width: 0; }
fieldset.optional legend { font-weight: 700; padding: 0 6px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-status { margin-top: 1.2rem; }
.form-status:empty { display: none; }
.notice { border-radius: 4px; padding: 14px 18px; }
.notice-closed { background: var(--recessed); border: 1px solid var(--amber); }
.notice-closed strong { color: var(--amber-bright); }
.notice-error { border: 2px solid var(--error-on-dark); background: var(--recessed); }
.notice > :last-child { margin-bottom: 0; }
.review-form > .notice { margin-bottom: 1.4rem; }
.aside-box { border-radius: var(--radius); padding: 20px; }
.aside-box + .aside-box { margin-top: 16px; }
.aside-box h2 { font-size: 1.25rem; }
.aside-box ul, .aside-box ol { padding-left: 1.2em; margin-bottom: 0; }

/* Finder (/start): tactile keys */
.finder-page { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.finder-head { max-width: 40em; margin: 0 auto 1.5rem; }
.finder-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }
.finder-head .lede { margin-bottom: 0; }
.finder { max-width: 640px; margin: 0 auto; background: linear-gradient(180deg, #191613 0%, #110f0d 100%); border: 1px solid var(--hi); border-radius: 4px; padding: clamp(18px, 3vw, 30px); box-shadow: 0 34px 70px -15px rgba(0, 0, 0, .92), inset 0 1px 0 rgba(255, 255, 255, .05); }
.finder-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.finder-count { margin: 0; font: 600 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); white-space: nowrap; }
.progress { display: flex; gap: 6px; flex: 1; max-width: 260px; padding: 4px; border-radius: 999px; background: var(--recessed); box-shadow: var(--shadow-rec); }
.progress i { flex: 1; height: 5px; border-radius: 5px; background: #2a2520; }
.progress i[data-on] { background: var(--amber); box-shadow: none; }
.door-note { margin: 0 0 14px; color: var(--soft); font-size: .95rem; }
.door-note strong { color: var(--text); }
.screen fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.screen legend { padding: 0; margin-bottom: 12px; width: 100%; }
.screen legend h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem); margin: 0; }
.screen .kicker { margin-bottom: .5rem; }
.lbl { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin: 0 0 10px; }
.opts { display: grid; gap: 10px; padding: 10px; border-radius: 4px; background: var(--recessed); border: 1px solid var(--hair); box-shadow: var(--shadow-rec); }
.opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 14px; border-radius: 4px; background: linear-gradient(180deg, #1d1a17 0%, #141210 100%); border: 1px solid var(--hi); box-shadow: 0 8px 18px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .05); font-weight: 600; cursor: pointer; transition: transform .25s var(--ease), border-color .25s ease; }
.opt:hover { transform: translateY(-2px); border-color: rgba(229, 154, 60, .45); }
.opt input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--amber); }
.opt small { display: block; font-weight: 400; color: var(--soft); font-size: .88rem; }
.opt:has(input:checked) { border-color: var(--amber); background: linear-gradient(180deg, #251e16 0%, #181410 100%); box-shadow: 0 12px 26px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 210, 148, .25); }
.opt:has(input:focus-visible), .pick:has(input:focus-visible) { outline: 3px solid var(--amber-bright); outline-offset: 3px; }
.opt input:focus-visible, .pick input:focus-visible { outline: none; box-shadow: none; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; display: inline-flex; align-items: center; min-height: var(--tap); padding: 8px 14px; border-radius: 4px; background: linear-gradient(180deg, #1d1a17 0%, #141210 100%); border: 1px solid var(--hi); box-shadow: 0 6px 14px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .05); font-weight: 600; font-size: .95rem; cursor: pointer; }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick:has(input:checked) { border-color: var(--amber); color: var(--amber-bright); background: linear-gradient(180deg, #251e16 0%, #181410 100%); }
.pick:has(input:checked)::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber-bright); box-shadow: none; margin-right: .55em; }
.finder-error { margin: 0 0 12px; color: var(--error-on-dark); font-weight: 600; }
.finder-error:empty { display: none; }
.finder-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--hair); }
.finder-nav .btn { margin-left: auto; }
.finder-nav .link-btn::before { content: "\2190"; margin-right: 6px; text-decoration: none; display: inline-block; }
.from { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.from b { display: block; }
.from span { color: var(--soft); font-size: .92rem; }
.photo-slot-sm { width: 44px; height: 44px; font-size: 0; }
.offer { border-radius: 4px; padding: 18px 18px 16px; margin-bottom: 18px; border-color: rgba(229, 154, 60, .4); }
.offer .kicker { margin-bottom: .3rem; font-size: .72rem; }
.offer h2, .offer h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem); margin: 0 0 .5rem; }
.offer .why-line { margin: 0 0 .6rem; font-size: .95rem; color: var(--soft); }
.why-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 .8rem; font-size: .9rem; color: var(--soft); }
.why-chips .chiplet { background: var(--amber-dim); color: var(--amber-bright); border: 1px solid rgba(229, 154, 60, .3); border-radius: 3px; padding: 1px 9px; font-weight: 600; }
.offer > :last-child { margin-bottom: 0; }
.step-card { scroll-margin-top: 90px; }
.step-card + .step-card { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--hair); }
.ticks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; }
.ticks li { display: grid; grid-template-columns: 1.3em minmax(0, 1fr); }
.ticks li::before { font-weight: 800; }
.ticks-yes li::before { content: "\2713"; color: var(--amber); }
.ticks-no li::before { content: "\2715"; color: var(--error-on-dark); }
.ticks-bring li::before { content: "\25B8"; color: var(--amber); }
.say { margin: 4px 0 18px; padding-left: 12px; border-left: 3px solid var(--amber); font-style: italic; color: #e9e2d8; }
.step-ctas { display: grid; gap: 10px; }
.step-ctas .btn-primary { width: 100%; }
.restart { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 14px; }
.steps-list { max-width: 640px; margin: 2rem auto 0; }
.steps-list > h2 { font-size: 1.5rem; }
.js .finder-on .steps-list { display: none; }
.result-slot .step-card { margin: 0; padding: 0; border: 0; }

/* Trailer dialog (kept for pages that use it) */
.trailer-dialog { border: 1px solid var(--hi); padding: 0; background: var(--surface); color: var(--text); border-radius: 4px; width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 32px); }
.trailer-dialog::backdrop { background: rgba(5, 4, 3, .88); }
.trailer-dialog .dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; }
.trailer-dialog video { display: block; width: 100%; height: auto; background: #000; }
.trailer-dialog .dialog-foot { padding: 10px 18px 14px; margin: 0; font-size: .92rem; color: var(--soft); }

/* Note block on inner pages */
.note { border-left: 3px solid var(--amber); padding-left: 20px; max-width: 46em; }
.note p { font-size: 1.12rem; }
.note .sign { font-family: var(--mono); font-size: .88rem; color: var(--soft); }

/* Footer */
.site-footer { background: var(--recessed); border-top: 1px solid var(--hair); padding: 48px 0 40px; box-shadow: inset 0 3px 10px rgba(0, 0, 0, .6); }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1fr 1.4fr; } .footer-note { grid-column: 1 / -1; } }
.footer-name { font: 700 1.15rem var(--display); margin: 0; }
.footer-motto { color: var(--amber); font-weight: 600; margin: 0 0 .4rem; }
.footer-place { font-family: var(--mono); font-size: .8rem; color: var(--soft); margin: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer-links a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--soft); }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--text); }
.footer-note { font-size: .88rem; color: var(--soft); margin: 0; border-top: 1px solid var(--hair); padding-top: 18px; }

/* 404 */
.error-page { padding: clamp(56px, 10vw, 120px) 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .track-page[data-focus-ready] .stage:not(.is-focused):not(:focus-within) { opacity: 1; transform: none; filter: none; }
  .tactile:hover, .tier-node:hover, .opt:hover, .btn:hover, .tactile[aria-pressed="true"], .tier-node[aria-pressed="true"] { transform: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print {
  .site-header, .site-footer, .complication-control, .cta-band .btn, .trace-control, .hud, .signal-svg, .guide { display: none; }
  body { background: #fff; color: #000; }
  .stage { opacity: 1 !important; filter: none !important; transform: none !important; }
}

/* Grid children may hold wide tables; let them shrink so the table scrolls inside its box instead of widening the page. */
.service-head > *, .form-layout > *, .grid > *, .spec > *, .boundary > *, .demo-flow > *, .footer-grid > *, .receipt > *, .sim-viewport > * { min-width: 0; }
@media (max-width: 380px) {
  .header-row { column-gap: 12px; }
  .brand { font-size: 1.02rem; gap: 8px; }
  .brand-mark { width: 24px; height: 18px; }
  .js .menu-button { padding: 0 10px; }
  .menu-icon { margin-left: 8px; width: 18px; }
}

/* ===== Home workflow tree ===== */
.stage-tree { padding-top: clamp(24px, 4vw, 44px); }
.hud[data-visible] { opacity: 1; transform: none; }
.tree { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; }
.tree .bay-label { position: relative; z-index: 2; }
.tree-gap { height: 76px; }
.tree-hint { text-align: center; color: var(--soft); font-size: .92rem; margin: 14px auto 0; width: max-content; max-width: 100%; padding: 0 10px; background: var(--obsidian); }
.switch-dock .tactile { min-height: 76px; }
/* Picked one card in a row: the others dim but stay clickable, so the tree stays readable and you can re-route. */
.tree-row[data-chosen] .tactile[aria-pressed="false"] { opacity: .32; filter: saturate(.2); transform: scale(.98); }
.tree-row[data-chosen] .tactile[aria-pressed="false"]:hover, .tree-row[data-chosen] .tactile[aria-pressed="false"]:focus-visible { opacity: .85; filter: none; }
.branch-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; position: relative; z-index: 2; }
.tactile.branch { width: auto; min-height: 52px; padding: 12px 20px; justify-content: center; align-items: center; flex-direction: row; }
.tactile.branch .switch-title { font-size: 1rem; }
.stack-bar { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; max-width: 760px; margin: 0 auto; padding: 10px 12px; border-radius: 4px; background: var(--recessed); border: 1px solid var(--hair); box-shadow: var(--shadow-rec); }
.stack-label { font: 600 .82rem var(--display); color: var(--text); padding: 0 8px; }
.stack-pill { min-height: var(--tap); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--hi); background: linear-gradient(180deg, #1d1a17 0%, #141210 100%); color: var(--soft); font: 500 .9rem var(--sans); cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.stack-pill:hover { border-color: rgba(229, 154, 60, .45); color: var(--text); }
.stack-pill[aria-pressed="true"] { border-color: var(--amber); color: var(--text); }
.stack-pill[aria-pressed="true"]::after { content: " \00D7"; color: var(--amber); }
.blueprint { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; padding: 20px 22px; border-radius: 4px; background: linear-gradient(180deg, var(--elevated) 0%, var(--surface) 100%); border: 1px solid var(--hi); box-shadow: var(--shadow-hw); }
.bp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 14px; font: 700 1.05rem var(--display); }
.bp-flow { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bp-flow li { position: relative; padding: 10px 12px; border-radius: 4px; background: var(--recessed); border: 1px solid var(--hair); box-shadow: var(--shadow-rec); }
.bp-flow li + li::before { content: "\2192"; position: absolute; left: -10px; top: 50%; transform: translate(-50%, -50%); color: var(--amber); font-weight: 700; }
.bp-k { display: block; font: 600 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
.bp-v { display: block; font-size: .9rem; line-height: 1.45; color: var(--text); }
.bp-meta { margin: 0 0 14px; display: grid; gap: 0; }
.bp-meta div { display: grid; grid-template-columns: minmax(8em, 34%) minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid var(--hair); font-size: .92rem; }
.bp-meta dt { font: 500 .74rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--soft); padding-top: 2px; }
.bp-meta dd { margin: 0; }
.bp-meta a { color: var(--text); }
.bp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-bottom: 10px; }
@media (max-width: 680px) {
  .bp-flow { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bp-flow li + li::before { content: "\2193"; left: 50%; top: -10px; }
  .tree-gap { height: 64px; }
}
@media (prefers-reduced-motion: reduce) { .tree-row[data-chosen] .tactile[aria-pressed="false"] { transform: none; } }

/* D-29 machined pass: corner tick-marks on the main panels; amber only on 1px active borders, the trace and LEDs. */
.tactile::before, .tier-node::before { display: none; }
.sim-frame, .receipt, .blueprint, .vault-teaser-card, .surface, .finder, .card { position: relative; }
.sim-frame::before, .receipt::before, .blueprint::before, .vault-teaser-card::before, .surface::before, .finder::before, .card::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none; --tk: rgba(255, 255, 255, .38);
  background:
    linear-gradient(var(--tk), var(--tk)) top left / 9px 1px no-repeat, linear-gradient(var(--tk), var(--tk)) top left / 1px 9px no-repeat,
    linear-gradient(var(--tk), var(--tk)) top right / 9px 1px no-repeat, linear-gradient(var(--tk), var(--tk)) top right / 1px 9px no-repeat,
    linear-gradient(var(--tk), var(--tk)) bottom left / 9px 1px no-repeat, linear-gradient(var(--tk), var(--tk)) bottom left / 1px 9px no-repeat,
    linear-gradient(var(--tk), var(--tk)) bottom right / 9px 1px no-repeat, linear-gradient(var(--tk), var(--tk)) bottom right / 1px 9px no-repeat;
}
/* D-29, D-32: the proposed workflow as a wide two-column console: schematic left, hardware preview right. */
.blueprint { max-width: 960px; padding: clamp(16px, 2.5vw, 24px); }
.bp-console { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; margin: 0; }
.bp-sub { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 10px; font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.bp-status { color: var(--amber-bright); }
.bp-console .bp-flow { grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 0; }
.bp-console .bp-flow li + li::before { content: "\2193"; left: 22px; top: -10px; }
@media (max-width: 760px) { .bp-console { grid-template-columns: minmax(0, 1fr); } }

/* D-30: 04 · Where it runs. One level (Standard Cloud or Private TX Rack) plus the optional Air-Gap Vault. */
.stack-wrap { display: grid; gap: 22px; }
.sec-row { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 8px; max-width: 760px; margin: 0 auto; padding: 10px 12px; border-radius: 4px; background: var(--surface); border: 1px solid var(--hi); }
.sec-row .stack-label { flex-basis: 100%; text-align: center; }
.sec-opt { display: grid; gap: 4px; flex: 1 1 200px; min-height: var(--tap); padding: 10px 12px; text-align: left; border-radius: 3px; border: 1px solid var(--hi); background: var(--recessed); color: var(--soft); font: inherit; cursor: pointer; transition: border-color .25s var(--ease), color .25s var(--ease); }
.sec-addon { border-style: dashed; }
.sec-opt:hover { border-color: var(--edge-strong); color: var(--text); }
.sec-opt[aria-pressed="true"] { border-color: var(--amber); border-style: solid; color: var(--text); }
.sec-name { display: flex; align-items: center; gap: 8px; font: 700 .95rem var(--display); color: var(--text); }
.sec-desc { font-size: .85rem; line-height: 1.45; }
.sec-led { width: 6px; height: 6px; border-radius: 1px; background: #3b3024; flex: none; }
.sec-opt[aria-pressed="true"] .sec-led { background: var(--amber-bright); }
.sec-link { flex-basis: 100%; justify-content: center; }

/* D-31: vault scope line. */
.vault-scope { max-width: 46em; margin: 0 0 18px; color: var(--text); }

/* D-32: Precision Industrial. Hardware preview window on the workflow card, loop frames, vault hardware block, mission card. */
.card, .surface, .blueprint, .sim-frame, .receipt, .vault-teaser-card, .mission, .vault-steps li { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.bp-console { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: start; }
.bp-main .bp-meta { margin: 14px 0 12px; }
.bp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.bp-badges[hidden] { display: none; }
.bp-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .08); background: var(--recessed); font: 500 .7rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.bp-badge[hidden] { display: none; }
.bp-badge i { width: 5px; height: 5px; border-radius: 1px; background: var(--amber-bright); }
.bp-actions { margin-bottom: 8px; }
.bp-refine { margin: 0; }
.pv-frame, .hw-view { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .08); background: #060505; }
.pv-pane { position: absolute; inset: 0; }
.pv-pane[hidden] { display: none; }
.pv-frame video, .hw-view video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-frame::after, .hw-view::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, transparent 0%, rgba(6, 5, 5, .9) 78%); pointer-events: none; }
.pv-cloud { display: grid; align-content: start; gap: 12px; padding: 14px 14px 56px; background: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 100% 16px, #0a0908; }
.pv-schematic { display: grid; grid-template-columns: auto minmax(12px, 1fr) auto minmax(12px, 1fr) auto; align-items: center; gap: 6px; font: 500 .66rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.pv-schematic span { padding: 7px 8px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .14); background: #110f0d; white-space: nowrap; }
.pv-schematic i { height: 1px; background: var(--amber); }
.pv-readout { margin: 0; display: grid; gap: 6px; font-size: .82rem; }
.pv-readout div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 8px; }
.pv-readout dt { font: 500 .66rem/1.9 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.pv-readout dd { margin: 0; color: var(--text); }
.pv-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 8px 12px 9px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(8, 7, 6, .78); }
.pv-status { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 .7rem/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--amber-bright); }
.pv-status i { flex: none; width: 6px; height: 6px; border-radius: 1px; background: var(--amber-bright); }
.pv-sub { margin: 2px 0 0 14px; font: 500 .66rem/1.4 var(--mono); letter-spacing: .04em; color: var(--soft); }
.loop-toggle { position: absolute; z-index: 3; top: 0; right: 0; min-width: var(--tap); min-height: var(--tap); padding: 0 10px; border: 0; background: transparent; color: var(--soft); font: 500 .66rem var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.loop-toggle:hover, .loop-toggle:focus-visible { color: var(--amber-bright); }
.vault-hw { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: center; }
.vault-specs { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.vault-specs li { display: grid; gap: 2px; padding: 11px 0 11px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); position: relative; }
.vault-specs li::before { content: ""; position: absolute; left: 0; top: 18px; width: 6px; height: 6px; border-radius: 1px; background: var(--amber-bright); }
.vault-specs strong { font: 700 1rem/1.3 var(--display); color: var(--text); }
.vault-specs span { font-size: .9rem; line-height: 1.5; color: var(--soft); }
.receipt { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: stretch; }
.mission { align-self: stretch; padding: 20px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .08); background: var(--recessed); }
.mission h3 { margin: 6px 0 10px; font-size: 1.25rem; }
.mission p:last-child { margin: 0; color: var(--soft); line-height: 1.6; font-size: .95rem; }
@media (max-width: 860px) { .receipt, .vault-hw { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .bp-console { grid-template-columns: minmax(0, 1fr); } }
.service-head > .hw-view { align-self: center; }

/* D-34: balanced console. Under the preview window: cloud status block, or badges and a one-line hardware note. Buttons span both columns. */
.bp-console { align-items: stretch; margin: 0 0 16px; }
.bp-main .bp-meta { margin: 14px 0 0; }
.bp-preview { display: flex; flex-direction: column; }
.pv-cloud { align-content: center; padding: 14px 14px 62px; }
.pv-under { display: grid; gap: 10px; margin-top: 12px; }
.pv-under .pv-readout { padding: 10px 12px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .08); background: var(--recessed); }
.pv-under .pv-readout[hidden], .pv-note[hidden] { display: none; }
.pv-under .bp-badges { margin: 0; }
.pv-note { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--soft); }
.bp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
/* D-34: request form. Picks carried from the home page, a field people never see (spam trap), and the send states. */
.picked { margin: 0 0 1.4rem; padding: 14px 16px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .08); background: var(--recessed); }
.picked .sec { margin: 0 0 8px; }
.picked-list { margin: 0 0 8px; display: grid; gap: 4px; }
.picked-list div { display: grid; grid-template-columns: minmax(7em, 30%) minmax(0, 1fr); gap: 10px; }
.picked-list dt { font: 500 .72rem/1.9 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--soft); }
.picked-list dd { margin: 0; font-weight: 600; }
.picked .small { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.form-state { margin: 0; font: 600 .78rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-bright); }
.form-state:empty { display: none; }
.notice-ok { background: var(--recessed); border: 1px solid var(--amber); }
.form-done-k { margin: 0 0 6px; font: 600 .82rem/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-bright); }
.received-ref strong { font-family: var(--mono); color: var(--amber-bright); }
