/* ZachTech v5 — design system and page styles.
   Visual language after the Daemon SaaS template (21st id 1205): near-black
   canvas, 1px cell grids with crosshair markers, Anton display type, IBM Plex
   Mono labels, keycap buttons, one electric-blue accent. Tokens live in
   :root; .21st/DESIGN.md documents how to use them. */

/* ---------- Fonts (self-hosted, latin subset, OFL) ---------- */
@font-face { font-family: "Anton"; src: url(/public/fonts/anton-400.woff2?v=d0fa07ff63) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url(/public/fonts/roboto-400.woff2?v=425c0713a8) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url(/public/fonts/roboto-500.woff2?v=5bcc3aa180) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(/public/fonts/plex-mono-400.woff2?v=08949f728d) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(/public/fonts/plex-mono-500.woff2?v=01d2854474) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks keep the swap from shifting layout. */
@font-face { font-family: "Roboto Fallback"; src: local("Arial"); size-adjust: 100.3%; ascent-override: 92.5%; descent-override: 24.3%; line-gap-override: 0%; }
@font-face { font-family: "Anton Fallback"; src: local("Impact"); size-adjust: 96%; ascent-override: 122%; descent-override: 34%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
  --bg: #111111;
  --bg-deep: #0b0b0b;
  --surface: #161616;
  --surface-2: #1d1d1d;
  --surface-3: #2a2a2a;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --text-2: #c9c9c9;
  --text-3: #9e9e9e;
  --accent: #0099ff;
  --accent-edge: #0069b0;
  --accent-ink: #0060a8; /* accent for text on light grounds (AA on --paper) */
  --on-accent: #000000;
  --key-dark: #222222;
  --key-dark-hover: #2b2b2b;
  --key-dark-deep: #1b1b1b;
  --paper-hi: #f3f3f1;
  --paper: #e9e9e7;
  --paper-2: #d4d4d2;
  --paper-lo: #d2d2d0;
  --ink-label: #555555;
  --ink: #111111;
  --ink-2: #3a3a3a;
  --ink-line: rgba(0, 0, 0, 0.1);

  --font-display: "Anton", "Anton Fallback", Impact, "Arial Narrow", sans-serif;
  --font-body: "Roboto", "Roboto Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap-max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --wrap: min(100% - 2 * var(--gutter), var(--wrap-max));
  --section-y: clamp(72px, 10vw, 128px);
  --cell-pad: clamp(24px, 3vw, 36px);
  --header-h: 68px;
  --radius: 3px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M5.5 0v11M0 5.5h11' stroke='%23fff' stroke-opacity='.55'/%3E%3C/svg%3E");
  --plus-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M5.5 0v11M0 5.5h11' stroke='%23111' stroke-opacity='.5'/%3E%3C/svg%3E");
  --dots: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1.2px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--bg); color-scheme: dark; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text-2);
  font: 400 16px/1.65 var(--font-body); letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* Vertical guide lines that frame the content column, as in the reference. */
body::before {
  content: ""; position: fixed; inset: 0 auto 0 50%; z-index: -1; pointer-events: none;
  width: var(--wrap); transform: translateX(-50%);
  border-inline: 1px solid var(--line);
  background: linear-gradient(var(--line), var(--line)) 50% 0 / 1px 100% no-repeat;
}
main { flex: 1; }
main:focus { outline: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--text); font-weight: 500; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 12px 16px; background: var(--accent); color: var(--on-accent); font: 500 15px/1 var(--font-body); text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.wrap { width: var(--wrap); margin-inline: auto; }

/* ---------- Type ---------- */
.display, .h1, .h2 { font-family: var(--font-display); text-transform: uppercase; color: var(--text); letter-spacing: -0.01em; text-wrap: balance; }
.h1 { font-size: clamp(3rem, 1.2rem + 7.4vw, 7.5rem); line-height: 0.92; letter-spacing: -0.02em; }
.h1--md { font-size: clamp(3rem, 1.6rem + 5.6vw, 6.25rem); }
.h2 { font-size: clamp(2.375rem, 1.5rem + 3.4vw, 4.5rem); line-height: 0.96; }
.h2--sm { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1; }
.h3 { font: 500 clamp(1rem, 0.95rem + 0.2vw, 1.125rem)/1.35 var(--font-mono); text-transform: uppercase; letter-spacing: 0.02em; color: var(--text); }
.lead { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem); line-height: 1.6; color: var(--text-2); max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--text-3); }
.mono { font-family: var(--font-mono); }
.label { font: 400 13px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }
.num { font: 500 13px/1 var(--font-mono); color: var(--accent); letter-spacing: 0.04em; }
.stack > * + * { margin-top: var(--stack, 20px); }

/* Tag chip with bracket corners. */
.chip {
  --c: rgba(255, 255, 255, 0.55);
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start; width: fit-content; max-width: 100%;
  padding: 8px 12px; background: var(--surface-2); color: var(--text);
  font: 400 13px/1.2 var(--font-mono); letter-spacing: 0.02em;
}
.chip::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) left top / 6px 1px, linear-gradient(var(--c), var(--c)) left top / 1px 6px,
    linear-gradient(var(--c), var(--c)) right top / 6px 1px, linear-gradient(var(--c), var(--c)) right top / 1px 6px,
    linear-gradient(var(--c), var(--c)) left bottom / 6px 1px, linear-gradient(var(--c), var(--c)) left bottom / 1px 6px,
    linear-gradient(var(--c), var(--c)) right bottom / 6px 1px, linear-gradient(var(--c), var(--c)) right bottom / 1px 6px;
  background-repeat: no-repeat;
}
.chip--dot::after { content: ""; order: -1; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Buttons (keycaps with screw heads) ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--on-accent); --btn-edge: var(--accent-edge); --screw: rgba(0, 0, 0, 0.32);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border: 0; border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 500 16px/1.1 var(--font-body); letter-spacing: 0.005em; text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 5px 0 var(--btn-edge), 0 12px 22px -6px rgba(0, 0, 0, 0.55);
  transition: transform 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out), background-color 0.16s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn::before {
  content: ""; position: absolute; inset: 5px; pointer-events: none;
  background:
    radial-gradient(circle, var(--screw) 1.6px, transparent 2.2px) left top / 6px 6px,
    radial-gradient(circle, var(--screw) 1.6px, transparent 2.2px) right top / 6px 6px,
    radial-gradient(circle, var(--screw) 1.6px, transparent 2.2px) left bottom / 6px 6px,
    radial-gradient(circle, var(--screw) 1.6px, transparent 2.2px) right bottom / 6px 6px;
  background-repeat: no-repeat;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--btn-edge), 0 8px 16px -6px rgba(0, 0, 0, 0.55); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--btn-edge), 0 2px 6px -2px rgba(0, 0, 0, 0.5); }
.btn--dark { --btn-bg: var(--key-dark); --btn-fg: var(--text); --btn-edge: #000; --screw: rgba(255, 255, 255, 0.28); }
.btn--dark:hover { --btn-bg: var(--key-dark-hover); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; box-shadow: 0 4px 0 var(--btn-edge); }
.btn--sm:hover { box-shadow: 0 2px 0 var(--btn-edge); }
.btn .icon { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px 16px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--text);
  font: 500 14px/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none;
  padding-block: 8px;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease-out); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover .icon { transform: translateX(3px); }
.text-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--accent); }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 17, 17, 0.92); border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(17, 17, 17, 0.8); backdrop-filter: blur(12px) saturate(140%); } }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; min-height: 44px; }
.brand img { width: 22px; height: 29px; }
.brand span { font: 400 23px/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font: 400 13px/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-2); text-decoration: none; position: relative;
}
.nav-list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease-out); }
.nav-list a:hover { color: var(--text); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--text); }
.nav-list .nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font: 500 14px/1 var(--font-mono); letter-spacing: 0.02em; color: var(--text); text-decoration: none; white-space: nowrap;
}
.header-phone .icon { width: 18px; height: 18px; color: var(--accent); }
.header-phone:hover { color: var(--accent); }
.menu-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: var(--text); cursor: pointer;
  align-items: center; justify-content: center; border-radius: var(--radius);
}
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 22px; height: 2px; background: currentColor; transition: transform 0.25s var(--ease-out), opacity 0.2s; }
.menu-toggle .bars { position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -7px; }
.menu-toggle .bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; gap: 10px; }
  .header-phone span { display: none; }
  .header-phone { width: 44px; justify-content: center; border: 1px solid var(--line-2); border-radius: var(--radius); }
  .nav { margin-left: 0; order: 3; }
  .menu-toggle { display: inline-flex; }
  .js-nav .nav-list {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 28px; background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  }
  .js-nav.is-open .nav-list { display: flex; }
  .nav-list a { min-height: 56px; padding: 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="page"] { color: var(--accent); }
  .nav-list .nav-extra { display: block; }
  .nav-list .nav-extra a { border-bottom: 0; }
  .nav-list .nav-cta { padding-top: 24px; }
  .nav-list .nav-cta .btn { width: 100%; min-height: 52px; font: 500 16px/1 var(--font-body); text-transform: none; letter-spacing: 0; color: var(--on-accent); border-bottom: 0; }
  .js-nav:not(.is-open) .nav-list { display: none; }
  .nav:not(.js-nav) .nav-list { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .header-actions .btn--sm { padding: 0 12px; font-size: 13px; }
  .brand span { font-size: 21px; }
}
@media (max-width: 359px) { .header-actions .btn--sm { display: none; } }

/* ---------- Hero (light horizon) ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--ink); overflow: hidden;
  background: linear-gradient(180deg, var(--paper-hi) 0%, var(--paper) 45%, var(--paper-lo) 100%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(150px, 19vw, 280px);
}
.hero::before { /* guide lines on the light ground */
  content: ""; position: absolute; inset: 0 auto 0 50%; z-index: -1; width: var(--wrap); transform: translateX(-50%);
  border-inline: 1px solid var(--ink-line);
  background: linear-gradient(var(--ink-line), var(--ink-line)) 50% 0 / 1px 100% no-repeat;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1;
  height: clamp(170px, 24vw, 340px);
  background: url(/public/img/horizon.svg?v=574ddc4deb) center bottom / 100% 100% no-repeat;
}
.hero .h1, .hero .h2 { color: var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: start; }
.hero-copy > * + * { margin-top: 28px; }
.hero-copy .lead { color: var(--ink-2); max-width: 60ch; }
.hero-copy .lead strong { color: var(--ink); }
.hero .btn--dark { --btn-bg: var(--key-dark-deep); }
.hero-side { padding-top: 10px; }
.hero-side .label { color: var(--ink-label); margin-bottom: 14px; }
.hero-list li + li { border-top: 1px solid var(--ink-line); }
.hero-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 46px;
  font: 400 14px/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); text-decoration: none;
}
.hero-list a .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease-out); }
.hero-list--facts span { display: flex; align-items: center; min-height: 46px; font: 400 14px/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); }
.hero-list a:hover { color: var(--accent-ink); }
.hero-list a:hover .icon { transform: translateX(3px); }
.hero-area { margin-top: clamp(40px, 6vw, 72px); }
.hero-area .chip { background: var(--key-dark-deep); }
.plus-corners { position: relative; }
.plus-corners::after {
  content: ""; position: absolute; inset: -6px; pointer-events: none;
  background: var(--plus) left top / 11px no-repeat, var(--plus) right top / 11px no-repeat, var(--plus) left bottom / 11px no-repeat, var(--plus) right bottom / 11px no-repeat;
}
.hero .plus-corners::after { background: var(--plus-ink) left top / 11px no-repeat, var(--plus-ink) right top / 11px no-repeat, var(--plus-ink) left bottom / 11px no-repeat, var(--plus-ink) right bottom / 11px no-repeat; }
.hero--page { padding-bottom: clamp(140px, 16vw, 240px); }
.hero--tall { padding-bottom: clamp(200px, 26vw, 380px); }
/* Wide screens: the headline runs across the full frame, as in the reference;
   the side list drops to sit beside the supporting text. */
@media (min-width: 1200px) {
  .hero-grid { row-gap: 28px; grid-template-rows: auto auto auto 1fr; }
  .hero-grid > .hero-copy > .btn-row { align-self: start; }
  .hero-grid > .hero-copy { display: contents; }
  .hero-grid > .hero-copy > * { grid-column: 1; margin-top: 0; }
  .hero-grid > .hero-copy > .h1 { grid-column: 1 / -1; }
  .hero-grid > .hero-side { grid-column: 2; grid-row: 3 / span 2; padding-top: 4px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-side { padding-top: 0; }
  .hero--page .hero-side:not(.hero-side--keep) { display: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); border-top: 1px solid var(--line); }
.section--flush-top { border-top: 0; }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head > div > * + * { margin-top: 20px; }
.section-head .lead { justify-self: start; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Cell grids ---------- */
.cells { position: relative; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cells::after {
  content: ""; position: absolute; inset: -6px; pointer-events: none; z-index: 2;
  background: var(--plus) left top / 11px no-repeat, var(--plus) right top / 11px no-repeat, var(--plus) left bottom / 11px no-repeat, var(--plus) right bottom / 11px no-repeat;
}
.cells > * { background: var(--bg); }
.cells--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cells--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cells--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cells--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cells--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cells--2, .cells--3, .cells--4 { grid-template-columns: 1fr; } }

.cell { position: relative; padding: var(--cell-pad); }
.cell > * + * { margin-top: 14px; }
.cell p { font-size: 16px; line-height: 1.6; }
.cell--intro { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.cell--intro > * + * { margin-top: 0; }
.cell--span2 { grid-column: span 2; }
@media (max-width: 640px) { .cell--span2 { grid-column: auto; } }

/* Card: a cell with an accent underline on hover. */
.card { display: flex; flex-direction: column; gap: 14px; transition: background-color 0.25s; }
.card > * + * { margin-top: 0; }
.card::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out);
}
.card:hover, .card:focus-within { background: var(--surface); }
.card:hover::before, .card:focus-within::before { transform: scaleX(1); }
.card .push { margin-top: auto; padding-top: 10px; }
.card--door { min-height: 340px; padding-top: calc(var(--cell-pad) + 4px); }
.card .link-arrow { align-self: flex-start; }
@media (max-width: 640px) { .card--door { min-height: 0; } }
.card--door .h3 { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.stretch:focus-visible { outline: none; }
.stretch:focus-visible::after { outline: 2px solid var(--accent); outline-offset: -2px; }
.cell .num { display: block; }

/* Icon tile with a dot-matrix ground. */
.glyph {
  display: grid; place-items: center; width: 56px; height: 56px; flex: none;
  border: 1px solid var(--line-2); color: var(--text);
  background: var(--dots) 0 0 / 6px 6px, var(--surface);
}
.glyph .icon { width: 26px; height: 26px; }
.card:hover .glyph { color: var(--accent); }

/* Thin cross-link strip. */
.strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  margin-top: -1px; padding: 18px var(--cell-pad); border: 1px solid var(--line); background: var(--bg);
}
.strip p { font: 400 14px/1.4 var(--font-mono); color: var(--text-2); }
.strip-wrap { margin-top: 0; }

/* ---------- Big band heading (static take on the reference's marquee) ---------- */
.band-title { overflow: hidden; border-top: 1px solid var(--line); padding-top: clamp(40px, 6vw, 72px); }
.band-title span {
  display: block; white-space: nowrap; text-align: center;
  font: 400 clamp(2.75rem, 0.5rem + 14vw, 13rem)/0.82 var(--font-display); text-transform: uppercase; letter-spacing: -0.015em;
  color: var(--text);
}
.band-title + .section { border-top: 0; padding-top: clamp(40px, 5vw, 64px); }

/* ---------- Staircase process ---------- */
.stairs--3 { --n: 3; }
.stairs { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border: 1px solid var(--line); }
.stairs::after {
  content: ""; position: absolute; inset: -6px; pointer-events: none;
  background: var(--plus) left top / 11px no-repeat, var(--plus) right top / 11px no-repeat, var(--plus) left bottom / 11px no-repeat, var(--plus) right bottom / 11px no-repeat;
}
.stair { position: relative; display: flex; flex-direction: column; padding-top: calc(var(--i) * var(--rise, 72px)); }
.stair + .stair { border-left: 1px solid var(--line); }
.stair-body {
  position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px;
  padding: var(--cell-pad); border-top: 1px solid var(--line);
  background: var(--dots) 0 0 / 7px 7px, var(--bg);
  background-size: 7px 7px, auto;
}
.stair-body::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(0, 153, 255, 0.15)); }
.stair:nth-child(1) { --i: 0; } .stair:nth-child(2) { --i: 1; } .stair:nth-child(3) { --i: 2; } .stair:nth-child(4) { --i: 3; }
.stair .num { font-size: 14px; }
.stair p { font-size: 16px; }
.stair .tag { display: inline-block; margin-left: 6px; color: var(--accent); }
@media (max-width: 900px) {
  .stairs { grid-template-columns: 1fr; }
  .stair { padding-top: 0; }
  .stair + .stair { border-left: 0; border-top: 1px solid var(--line); }
  .stair-body { border-top: 0; }
}

/* Numbered rows (agenda, next steps). */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 96px minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 12px 32px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.row .row-n { font: 400 clamp(2rem, 1.5rem + 1.5vw, 2.75rem)/1 var(--font-display); color: var(--accent); }
.row p { font-size: 16px; }
@media (max-width: 760px) { .row { grid-template-columns: 56px 1fr; } .row p { grid-column: 2; } }

/* Simple list with markers. */
.ticks li { position: relative; padding-left: 28px; }
.ticks li + li { margin-top: 12px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 12px; height: 6px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: translateY(-50%) rotate(-45deg); }

/* ---------- Light band ---------- */
.band-light { position: relative; isolation: isolate; color: var(--ink-2); background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.band-light::before {
  content: ""; position: absolute; inset: 0 auto 0 50%; z-index: -1; width: var(--wrap); transform: translateX(-50%);
  border-inline: 1px solid var(--ink-line);
  background: linear-gradient(var(--ink-line), var(--ink-line)) 50% 0 / 1px 100% no-repeat;
}
.band-light .h2 { color: var(--ink); }
.band-light .lead, .band-light p { color: var(--ink-2); }
.band-light .label { color: var(--ink-label); }
.band-light .glyph { background: radial-gradient(rgba(0, 0, 0, 0.14) 1px, transparent 1.2px) 0 0 / 6px 6px, var(--paper-hi); border-color: rgba(0, 0, 0, 0.18); color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.split > div > * + * { margin-top: 20px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.faq-intro { padding: var(--cell-pad); display: flex; flex-direction: column; gap: 22px; }
.faq-intro .ask { margin-top: auto; padding-top: 12px; font-size: 15px; }
.faq-list { padding: 8px var(--cell-pad); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none; color: var(--text);
  font: 500 16px/1.45 var(--font-mono); letter-spacing: 0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon { position: relative; flex: none; width: 14px; height: 14px; margin-top: 4px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.6px; background: currentColor; transition: transform 0.25s var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item[open] summary { color: var(--text); }
.faq-a { padding: 0 34px 24px 0; }
.faq-a p { color: var(--text-2); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { border-top: 1px solid var(--line); padding-block: var(--section-y); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.cta-main { padding: clamp(32px, 5vw, 64px) var(--cell-pad); display: flex; flex-direction: column; gap: 24px; }
.cta-main .lead { max-width: 46ch; }
.cta-side { display: flex; flex-direction: column; background: var(--dots) 0 0 / 7px 7px, var(--bg) !important; }
.cta-side a, .cta-side .cta-row {
  display: flex; flex-direction: column; gap: 6px; justify-content: center;
  flex: 1; padding: 22px var(--cell-pad); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text);
}
.cta-side > :last-child { border-bottom: 0; }
.cta-side .value { font: 500 clamp(1rem, 0.9rem + 0.4vw, 1.125rem)/1.3 var(--font-mono); overflow-wrap: anywhere; }
.cta-side a:hover .value { color: var(--accent); }
.cta-side .cta-row .value { font-size: 14px; color: var(--text-2); }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.portrait { margin: 0; position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--key-dark-deep); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px 72px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .portrait { max-width: 380px; } }
.prose { max-width: 68ch; }
.prose p { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.65; color: var(--text-2); }

/* ---------- Contact ---------- */
.contact-card .value { display: inline-flex; align-items: center; min-height: 44px; font: 500 clamp(1.125rem, 1rem + 0.6vw, 1.5rem)/1.3 var(--font-mono); color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.contact-card a.value:hover { color: var(--accent); }
.contact-card a.value[href^="mailto"] { font-size: clamp(1rem, 0.9rem + 0.35vw, 1.125rem); overflow-wrap: normal; }
.contact-card--primary { background: var(--surface) !important; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: transparent; color: var(--text-2);
  font: 400 13px/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer;
}
.copy-btn:hover { color: var(--text); border-color: var(--text-3); }
.copy-status { min-height: 1.4em; font: 400 13px/1.4 var(--font-mono); color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-inline: 1px solid var(--line); }
.footer-brand { padding: clamp(36px, 5vw, 56px) var(--cell-pad); display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand span { font-size: 34px; }
.footer-brand .brand img { width: 30px; height: 39px; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 40px; font: 400 15px/1.3 var(--font-mono); color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--accent); }
.footer-nav { border-left: 1px solid var(--line); }
.footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; }
.footer-nav li { border-bottom: 1px solid var(--line); }
.footer-nav li:nth-child(odd) { border-right: 1px solid var(--line); }
.footer-nav a { display: flex; align-items: center; min-height: 64px; padding: 0 var(--cell-pad); font: 400 13px/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); text-decoration: none; }
.footer-nav a:hover { color: var(--text); background: var(--surface); }
.footer-nav .footer-note { padding: 22px var(--cell-pad); border: 0; grid-column: 1 / -1; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding: 22px var(--cell-pad); border-inline: 1px solid var(--line); border-top: 1px solid var(--line); }
.footer-base p { font: 400 13px/1.5 var(--font-mono); color: var(--text-3); }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Reveal on scroll (JS adds .reveal-on to <html>) ---------- */
.reveal-on .reveal { transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-on .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .btn:hover, .btn:active { transform: none; }
  .reveal-on .reveal:not(.is-in) { opacity: 1; transform: none; }
}
@media (hover: none) {
  .btn:hover { transform: none; box-shadow: 0 5px 0 var(--btn-edge), 0 12px 22px -6px rgba(0, 0, 0, 0.55); }
}
@media print {
  .site-header, .cta-band, .site-footer nav { display: none; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
}
