/* RepLine marketing site: shared styles for every page under public/site/.
   Brand tokens match the app's repline-* palette (tailwind.config.js).
   Design idea: engineering drawings. Dark pine page heads with a faint
   drafting grid, plan-sheet tags (AHU-1, M-601) set in mono as the subject
   detail, and a footer laid out like a drawing title block. */

:root {
  --pine: #0F2018;
  --moss: #16301F;
  --forest: #1E4A32;
  --accent: #A8D82B;
  --lime: #D6F06E;
  --mist: #F3F7F2;

  --bg: #F3F7F2;
  --surface: #FFFFFF;
  --fg: #16201A;
  --muted: #5E6E63;
  --line: #DDE6DE;
  --soft: #E8EFE7;
  --accent-ink: #3F6B10;
  --accent-wash: #EAF5CC;

  --on-dark: #EAF2E8;
  --on-dark-muted: #A9BCAD;
  --dark-line: #2A4A37;

  --chip-ok-bg: #E2F3C2; --chip-ok-fg: #2F5A0C;
  --chip-eq-bg: #E3ECF4; --chip-eq-fg: #24476B;
  --chip-rev-bg: #FBEFD2; --chip-rev-fg: #7A5410;

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  --step-4: clamp(1.875rem, 1.2rem + 2.4vw, 2.75rem);
  --step-5: clamp(2.25rem, 1.3rem + 3.6vw, 3.75rem);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1712; --surface: #12221A; --fg: #E6EEE6; --muted: #9AAE9F;
    --line: #24392C; --soft: #172B20; --accent-ink: #C3E85A; --accent-wash: #1F3418;
    --chip-ok-bg: #26401A; --chip-ok-fg: #CBEA86;
    --chip-eq-bg: #1C2F42; --chip-eq-fg: #A9C8E6;
    --chip-rev-bg: #3D3116; --chip-rev-fg: #EBCB86;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1712; --surface: #12221A; --fg: #E6EEE6; --muted: #9AAE9F;
  --line: #24392C; --soft: #172B20; --accent-ink: #C3E85A; --accent-wash: #1F3418;
  --chip-ok-bg: #26401A; --chip-ok-fg: #CBEA86;
  --chip-eq-bg: #1C2F42; --chip-eq-fg: #A9C8E6;
  --chip-rev-bg: #3D3116; --chip-rev-fg: #EBCB86;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.022em; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.mono { font-family: var(--mono); font-feature-settings: normal; }
.tnum { font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--pine); }

.wrap {
  width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--accent); color: var(--pine); font-weight: 600;
  padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--sans); padding: 13px 20px; border-radius: 8px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--pine); }
.btn-primary:hover { background: var(--lime); }
.btn-dark { background: var(--pine); color: var(--on-dark); }
.btn-dark:hover { background: var(--forest); }
.btn-ghost-dark { color: var(--on-dark); border-color: var(--dark-line); }
.btn-ghost-dark:hover { background: var(--moss); border-color: #3B6249; }
.btn-ghost { color: var(--fg); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 9px 14px; font-size: 14px; }

.text-link {
  color: var(--accent-ink); font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.text-link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover svg { transform: translateX(2px); }
.on-dark .text-link { color: var(--lime); }

/* ---------- Header ---------- */
.site-head { background: var(--pine); color: var(--on-dark); position: relative; z-index: 20; }
.nav-bar {
  display: flex; align-items: center; gap: 28px; height: 72px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; flex: none; }
.brand svg { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--on-dark-muted); text-decoration: none;
  padding: 8px 12px; border-radius: 7px; position: relative;
}
.nav-links a:hover { color: var(--on-dark); background: var(--moss); }
.nav-links a[aria-current="page"] { color: var(--on-dark); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -15px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-signin {
  font-size: 14.5px; font-weight: 600; color: var(--on-dark); text-decoration: none;
  padding: 8px 12px; border-radius: 7px;
}
.nav-signin:hover { background: var(--moss); }
.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 8px;
  background: transparent; border: 1px solid var(--dark-line); color: var(--on-dark);
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { display: none; }

@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-bar { height: 64px; }
  .mobile-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--pine); border-top: 1px solid var(--dark-line);
    border-bottom: 1px solid var(--dark-line);
    box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .55);
    padding: 8px var(--gutter) 20px;
  }
  .mobile-menu:not([hidden]) { display: block; }
  .mobile-menu ul { display: flex; flex-direction: column; }
  .mobile-menu li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 4px; font-size: 17px; font-weight: 500; text-decoration: none;
    color: var(--on-dark); border-bottom: 1px solid var(--dark-line);
  }
  .mobile-menu li a[aria-current="page"] { color: var(--lime); }
  .mobile-menu li a[aria-current="page"]::after {
    content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  }
  .mobile-menu .mm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
}

/* ---------- Dark page heads (every page) ---------- */
.page-head {
  background: var(--pine); color: var(--on-dark); position: relative; overflow: hidden;
  isolation: isolate;
}
.page-head::before {
  /* drafting grid: major every 5 minor cells, faded at edges */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(168, 216, 43, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 216, 43, .055) 1px, transparent 1px),
    linear-gradient(#183424 1px, transparent 1px),
    linear-gradient(90deg, #183424 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 30%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 30%, #000 30%, transparent 85%);
}
.page-head .lede { color: var(--on-dark-muted); }

.sub-hero { padding-block: 72px 88px; }
.sub-hero .crumb {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1 var(--mono); color: var(--on-dark-muted); margin-bottom: 22px;
}
.sub-hero .crumb b { color: var(--lime); font-weight: 500; border: 1px solid var(--dark-line); padding: 5px 8px; border-radius: 5px; }
.sub-hero h1 { font-size: var(--step-5); font-weight: 800; letter-spacing: -0.035em; max-width: 16ch; }
.sub-hero .lede { font-size: var(--step-1); margin-top: 20px; max-width: 40em; }
.sub-hero .cta-row { margin-top: 32px; }
.sub-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding-block: 104px; }
.section.tight { padding-block: 80px; }
.section.band { background: var(--surface); border-block: 1px solid var(--line); }
.section.dark { background: var(--pine); color: var(--on-dark); }
.section + .section.band, .section.band + .section { border-top-color: var(--line); }

.head { max-width: 720px; margin-bottom: 56px; }
.head h2 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; }
.head p { margin-top: 16px; color: var(--muted); font-size: var(--step-1); max-width: 38em; }
.dark .head p { color: var(--on-dark-muted); }
.head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.head.split > div { max-width: 640px; }

.prose { max-width: 38em; color: var(--muted); font-size: var(--step-1); display: grid; gap: 18px; }
.prose strong { color: var(--fg); font-weight: 600; }

/* ---------- Product window (shared by all mocks) ---------- */
.window {
  background: var(--surface); color: var(--fg); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; min-width: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 40px 80px -32px rgba(4, 12, 8, .55), 0 12px 24px -12px rgba(4, 12, 8, .35);
}
.page-head .window, .dark .window {
  --surface: #FFFFFF; --fg: #16201A; --muted: #5E6E63; --line: #DDE6DE; --soft: #EEF3ED;
  --accent-ink: #3F6B10; --accent-wash: #EAF5CC;
  --chip-ok-bg: #E2F3C2; --chip-ok-fg: #2F5A0C; --chip-eq-bg: #E3ECF4; --chip-eq-fg: #24476B;
  --chip-rev-bg: #FBEFD2; --chip-rev-fg: #7A5410;
  border-color: #2A4A37;
}
.win-bar {
  display: flex; align-items: center; gap: 12px; padding: 11px 16px;
  border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); min-width: 0;
}
.win-bar .dots { display: flex; gap: 6px; flex: none; }
.win-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win-bar .path { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.win-bar .path b { color: var(--fg); font-weight: 600; }
.win-bar .pill {
  margin-left: auto; flex: none; font-size: 11.5px; font-weight: 600;
  background: var(--pine); color: var(--lime); padding: 3px 9px; border-radius: 99px;
}
.win-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted);
}
.win-foot .fake-btns { display: flex; gap: 8px; }
.fake-btn {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  padding: 6px 11px; border-radius: 6px; border: 1px solid var(--line); color: var(--fg); background: var(--surface);
}
.fake-btn.solid { background: var(--pine); color: var(--accent); border-color: var(--pine); }
.fake-btn svg { width: 13px; height: 13px; }
.sample-note { margin-top: 12px; font-size: 12px; color: var(--on-dark-muted); text-align: right; }
.section:not(.dark) .sample-note { color: var(--muted); }

.items { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.items th {
  text-align: left; font-size: 11px; font-weight: 600; color: var(--muted);
  padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--soft);
}
.items td { padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.items tr:last-child td { border-bottom: 0; }
.items .num { text-align: right; }
.items .tag { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.items .sub { display: block; color: var(--muted); font-size: 11.5px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 99px; white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.chip.ok { background: var(--chip-ok-bg); color: var(--chip-ok-fg); }
.chip.eq { background: var(--chip-eq-bg); color: var(--chip-eq-fg); }
.chip.rev { background: var(--chip-rev-bg); color: var(--chip-rev-fg); }

/* ---------- Landing hero ---------- */
.hero { padding-block: 64px 0; }
.hero-copy { max-width: 760px; }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.hero .lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); margin-top: 24px; max-width: 36em; }
.hero .cta-row { margin-top: 36px; }
.hero-visual { margin-top: 64px; position: relative; }
.hero-visual .window { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.hero-meta {
  display: flex; gap: 24px; flex-wrap: wrap; margin-top: 28px; font-size: 13.5px; color: var(--on-dark-muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent); }

.scoper-mock { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
.sheet-pane { background: #EDF1EB; border-right: 1px solid var(--line); padding: 18px; position: relative; min-width: 0; }
.sheet-pane .sheet-label {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted); margin-bottom: 12px;
}
.sheet-pane .sheet-label b { font-family: var(--mono); font-weight: 500; color: var(--fg); }
.plan-sheet { width: 100%; height: auto; background: #FBFCFA; border: 1px solid #CFD9D0; border-radius: 4px; }
.items-pane { min-width: 0; display: flex; flex-direction: column; }
.items-pane .pane-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.items-pane .pane-head h3 { font-size: 14px; letter-spacing: -0.01em; }
.items-pane .pane-head span { font-size: 12px; color: var(--muted); }
.items-pane .tbl { overflow: hidden; flex: 1; }

/* the one orchestrated moment: scan band sweeps the schedule, rows land */
.scan-band { animation: scan 3.2s cubic-bezier(.45, 0, .25, 1) .5s both; }
@keyframes scan {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translateY(var(--scan-dist, 150px)); opacity: 0; }
}
.land { animation: land .45s ease-out both; }
.land:nth-child(1) { animation-delay: .9s; }
.land:nth-child(2) { animation-delay: 1.3s; }
.land:nth-child(3) { animation-delay: 1.7s; }
.land:nth-child(4) { animation-delay: 2.1s; }
.land:nth-child(5) { animation-delay: 2.5s; }
.land:nth-child(6) { animation-delay: 2.9s; }
@keyframes land { from { opacity: 0; transform: translateX(-6px); background: var(--accent-wash); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .scan-band { animation: none; opacity: 0; }
  .land { animation: none; }
  * { transition: none !important; }
}

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { padding: 32px 32px 0 0; position: relative; display: flex; flex-direction: column; gap: 12px; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step-num {
  font: 500 13px/1 var(--mono); color: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.step-num::before {
  counter-increment: step; content: counter(step);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pine); color: var(--accent); font-size: 12.5px;
}
.step h3 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; }
.step p { color: var(--muted); }
.step-art { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); padding: 16px; }
.step-art svg { width: 100%; height: auto; }

/* ---------- Feature teasers (asymmetric) ---------- */
.teasers { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; }
.teaser {
  display: flex; flex-direction: column; gap: 14px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; position: relative; overflow: hidden;
  transition: border-color .15s ease;
}
.teaser:hover { border-color: var(--muted); }
.teaser h3 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; }
.teaser p { color: var(--muted); max-width: 34em; }
.teaser .text-link { margin-top: auto; padding-top: 8px; }
.teaser-lead { grid-row: span 2; background: var(--pine); color: var(--on-dark); border-color: var(--pine); }
.teaser-lead:hover { border-color: var(--accent); }
.teaser-lead p { color: var(--on-dark-muted); }
.teaser-lead .text-link { color: var(--lime); }
.teaser-lead .teaser-art { margin-top: 8px; }
.teaser-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.teaser-list li {
  font-size: 12.5px; font-weight: 500; color: var(--fg); background: var(--soft);
  border-radius: 6px; padding: 4px 9px;
}
.teaser-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-wash); color: var(--accent-ink); display: grid; place-items: center; }
.teaser-icon svg { width: 22px; height: 22px; }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.aud { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 2px solid var(--fg); }
.aud h3 { font-size: var(--step-2); font-weight: 700; }
.aud p { color: var(--muted); }
.aud ul { display: grid; gap: 8px; margin-top: 6px; font-size: 15px; }
.aud li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.aud li svg { width: 18px; height: 18px; color: var(--accent-ink); margin-top: 3px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--pine); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(#183424 1px, transparent 1px), linear-gradient(90deg, #183424 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, transparent 30%, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; padding-block: 88px; }
.cta-inner h2 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; }
.cta-inner p { color: var(--on-dark-muted); margin-top: 14px; max-width: 34em; }

/* ---------- Footer as a drawing title block ---------- */
.site-foot { background: var(--pine); color: var(--on-dark-muted); font-size: 14px; border-top: 1px solid var(--dark-line); }
.title-block {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  border: 1px solid var(--dark-line); border-radius: 4px; margin-block: 56px 24px;
}
.title-block > div { padding: 22px 24px; border-left: 1px solid var(--dark-line); min-width: 0; }
.title-block > div:first-child { border-left: 0; }
.tb-label { display: block; font: 500 11.5px/1 var(--mono); color: #7F9886; margin-bottom: 14px; }
.title-block ul { display: grid; gap: 9px; }
.title-block a { text-decoration: none; color: var(--on-dark-muted); }
.title-block a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.title-block a[aria-current="page"] { color: var(--lime); }
.tb-brand p { margin-top: 14px; max-width: 30em; line-height: 1.55; }
.tb-brand svg { height: 30px; width: auto; }
.foot-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 32px; font-size: 13px; color: #7F9886;
}
.foot-base .mono { font-size: 12px; }

/* ---------- Generic two-column feature row ---------- */
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.row2.flip > :first-child { order: 2; }
.row2 + .row2 { margin-top: 120px; }
.row2 h3 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; }
.row2 .copy p { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 32em; }
.row2 .copy .stage {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 500 13px/1 var(--mono); color: var(--accent-ink);
}
.row2 .copy .stage b {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pine); color: var(--accent); font-weight: 500; font-size: 12.5px;
}
.ticks { display: grid; gap: 10px; margin-top: 22px; font-size: 15.5px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.ticks li svg { width: 18px; height: 18px; color: var(--accent-ink); margin-top: 3px; }
.dark .ticks li svg { color: var(--accent); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-width: 0; }
.panel-pad { padding: 20px; }

/* ---------- Spec list (definition rows) ---------- */
.spec { border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: 32px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; display: flex; gap: 12px; align-items: flex-start; }
.spec dt svg { width: 20px; height: 20px; color: var(--accent-ink); flex: none; margin-top: 2px; }
.spec dd { color: var(--muted); }
.spec dd p + p { margin-top: 10px; }

/* ---------- Platform modules ---------- */
.stage-group + .stage-group { margin-top: 96px; }
.stage-head { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.stage-head h2 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; }
.stage-head .k { font: 500 13px/1 var(--mono); color: var(--accent-ink); display: block; margin-bottom: 14px; }
.stage-head p.intro { color: var(--muted); font-size: 17px; margin-top: 14px; max-width: 26em; }
.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.module { padding: 24px 28px 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 36px 1fr; gap: 4px 16px; align-content: start; }
.module:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--line); }
.module svg { grid-row: span 2; width: 36px; height: 36px; padding: 8px; border-radius: 9px; background: var(--accent-wash); color: var(--accent-ink); }
.module h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -0.012em; line-height: 1.3; padding-top: 6px; }
.module p { color: var(--muted); font-size: 15px; }

.flow { width: 100%; height: auto; }
.flow-wrap { overflow-x: auto; padding-bottom: 4px; }
.flow-wrap .flow { min-width: 760px; }

/* ---------- Security ---------- */
.iso-figure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.iso-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 16px; }
.roles { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.roles th, .roles td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.roles thead th { font-size: 12.5px; color: var(--muted); font-weight: 600; background: var(--soft); }
.roles td.c, .roles th.c { text-align: center; }
.roles td svg { width: 18px; height: 18px; margin-inline: auto; }
.roles .yes { color: var(--accent-ink); }
.roles .no { color: var(--muted); opacity: .6; }
.roles-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 80px; align-items: start; }
.founder-card { position: sticky; top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.founder-card .av {
  width: 64px; height: 64px; border-radius: 16px; background: var(--pine); color: var(--accent);
  display: grid; place-items: center; font-weight: 800; font-size: 22px; letter-spacing: -0.02em;
}
.founder-card h2 { font-size: 22px; margin-top: 18px; }
.founder-card .role { color: var(--muted); font-size: 15px; }
.founder-card dl { margin-top: 22px; border-top: 1px solid var(--line); }
.founder-card dl div { display: flex; justify-content: space-between; gap: 16px; padding-block: 11px; border-bottom: 1px solid var(--line); font-size: 14px; }
.founder-card dt { color: var(--muted); }
.founder-card dd { font-weight: 600; text-align: right; }
.letter { font-size: 1.1875rem; line-height: 1.7; color: var(--fg); display: grid; gap: 22px; max-width: 34em; }
.letter p:first-child { font-size: 1.5rem; line-height: 1.45; font-weight: 600; letter-spacing: -0.015em; }
.letter .muted { color: var(--muted); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.principles div { border-top: 2px solid var(--accent-ink); padding-top: 20px; }
.principles h3 { font-size: 18px; font-weight: 700; }
.principles p { color: var(--on-dark-muted); margin-top: 10px; font-size: 15.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 64px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15.5px; color: var(--fg); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px; width: 100%; min-width: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235E6E63' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.field input[aria-invalid="true"] { border-color: #B4432F; }
.field .err { font-size: 13px; color: #B4432F; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot p { font-size: 13.5px; color: var(--muted); flex: 1; min-width: 220px; }
.form-status { font-size: 14px; color: var(--accent-ink); font-weight: 500; }
.aside-list { display: grid; gap: 28px; }
.aside-list h3 { font-size: 17px; font-weight: 700; }
.aside-list p { color: var(--muted); margin-top: 6px; font-size: 15.5px; }
.aside-list a { color: var(--accent-ink); font-weight: 600; }
.expect { display: grid; gap: 14px; margin-top: 12px; counter-reset: ex; }
.expect li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--muted); font-size: 15.5px; }
.expect li::before {
  counter-increment: ex; content: counter(ex); width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; font: 500 12px/1 var(--mono); color: var(--fg);
}

/* ---------- 404 ---------- */
.nf { min-height: 62vh; display: grid; place-items: center; padding-block: 96px; text-align: left; }
.nf-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: center; max-width: 880px; }
.nf h1 { font-size: var(--step-5); font-weight: 800; letter-spacing: -0.035em; }
.nf p { color: var(--on-dark-muted); margin-top: 16px; font-size: var(--step-1); max-width: 30em; }
.nf .cta-row { margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .row2 { gap: 48px; }
  .about-grid { gap: 48px; }
}
@media (max-width: 960px) {
  .section { padding-block: 80px; }
  .scoper-mock { grid-template-columns: minmax(0, 1fr); }
  .sheet-pane { border-right: 0; border-bottom: 1px solid var(--line); }
  .sheet-pane .plan-sheet { max-height: 260px; object-fit: cover; }
  .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .step, .step + .step { padding: 32px 0; border-left: 0; border-top: 1px solid var(--line); }
  .teasers { grid-template-columns: minmax(0, 1fr); }
  .teaser-lead { grid-row: auto; }
  .audience { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .row2, .sub-hero-grid, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .row2.flip > :first-child { order: 0; }
  .row2 + .row2 { margin-top: 88px; }
  .stage-head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .principles { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .founder-card { position: static; }
  .title-block { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .title-block > .tb-brand { grid-column: 1 / -1; border-left: 0; border-bottom: 1px solid var(--dark-line); }
  .title-block > div:nth-child(2) { border-left: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: max(16px, env(safe-area-inset-left, 0px)); }
  .section { padding-block: 64px; }
  .head { margin-bottom: 36px; }
  .hero { padding-top: 40px; }
  .hero-visual { margin-top: 44px; margin-inline: calc(-1 * var(--gutter) + 8px); }
  .hide-sm { display: none; }
  .items th, .items td { padding: 8px 8px; }
  .modules { grid-template-columns: minmax(0, 1fr); }
  .module, .module:nth-child(even) { padding: 22px 0; border-left: 0; }
  .spec > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .form { padding: 22px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .title-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .title-block > div { padding: 18px; }
  .title-block > div:nth-child(4) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--dark-line); }
  .cta-inner { padding-block: 64px; }
  .sub-hero { padding-block: 48px 64px; }
  .nf-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .nf-inner svg { width: 160px; }
  .win-foot .fake-btns { width: 100%; }
  .win-foot .fake-btn { flex: 1; justify-content: center; }
  .teaser { padding: 24px; }
}

/* ---------- Illustration classes (inline SVG; follow light/dark tokens) ---------- */
.il-paper { fill: var(--surface); stroke: var(--fg); stroke-width: 1.5; }
.il-ink { fill: none; stroke: var(--fg); stroke-width: 1.5; }
.il-line { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.il-hair { fill: none; stroke: var(--line); stroke-width: 1; }
.il-soft { fill: var(--soft); }
.il-bar { fill: var(--line); }
.il-accent { fill: var(--accent); }
.il-accent-s { fill: none; stroke: var(--accent-ink); stroke-width: 1.5; }
.il-wash { fill: var(--accent-wash); }
.il-dark { fill: var(--pine); }
.il-text { fill: var(--muted); font: 500 9px var(--mono); }
.il-text-b { fill: var(--fg); font: 600 9px var(--mono); }
.il-dash { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 3 4; }
/* drawing linework inside the plan sheet */
.dw { fill: none; stroke: #52665A; stroke-width: .8; }
.dw-b { fill: none; stroke: #26382D; stroke-width: 1.6; }
.dw-t { fill: #33473A; font: 500 6.4px var(--mono); }
.dw-tb { fill: #16201A; font: 700 6.6px var(--mono); }
.dw-big { fill: #16201A; font: 700 15px var(--mono); }
.dw-hl { fill: #A8D82B; opacity: .4; }
.dw-tag { fill: #FBFCFA; stroke: #26382D; stroke-width: .8; }

/* ---------- Page-specific pieces ---------- */
.h2 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; }
.h-sm { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; }
.row2 .copy .h2 + p { margin-top: 18px; }
.teaser-lead .ticks { margin-top: 4px; color: var(--on-dark); font-size: 15px; }
.teaser-lead .ticks li svg { color: var(--accent); }

/* Scoper hero stepper: the four stages, a real sequence */
.stepper { display: grid; gap: 0; border: 1px solid var(--dark-line); border-radius: var(--r-lg); overflow: hidden; background: rgba(15, 32, 24, .6); }
.stepper li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; font-weight: 600; color: var(--on-dark); }
.stepper li + li { border-top: 1px solid var(--dark-line); }
.stepper b {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid var(--dark-line); color: var(--lime); font: 500 13px/1 var(--mono);
}
.stepper li:nth-child(3) { background: var(--moss); }
.stepper li:nth-child(3) b { background: var(--accent); color: var(--pine); border-color: var(--accent); }

/* setup form mock */
.form-mock { display: grid; gap: 14px; }
.fm-row { display: grid; gap: 14px; }
.fm-row.two { grid-template-columns: 1fr 1fr; }
.fm { display: grid; gap: 6px; min-width: 0; }
.fm span { font-size: 12px; font-weight: 600; color: var(--muted); }
.fm i {
  font-style: normal; font-size: 14px; border: 1px solid var(--line); border-radius: 7px;
  padding: 9px 11px; background: var(--bg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* upload mock */
.up-list { display: grid; gap: 10px; }
.up-file { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.up-ic { width: 36px; height: 36px; border-radius: 8px; background: var(--soft); color: var(--muted); display: grid; place-items: center; }
.up-ic svg { width: 18px; height: 18px; }
.up-file b { display: block; font-size: 14px; font-weight: 600; font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-file div span { font-size: 12.5px; color: var(--muted); }
.up-state { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--chip-ok-fg); background: var(--chip-ok-bg); border-radius: 99px; padding: 4px 9px; }
.up-state svg { width: 13px; height: 13px; }
.up-found { margin-top: 6px; border-top: 1px solid var(--line); }
.up-found div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.up-found div:last-child { border-bottom: 0; }
.up-found dt { color: var(--muted); }
.up-found dd { font-family: var(--mono); font-size: 12.5px; text-align: right; }

/* review flag */
.flag { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; padding: 14px 16px; background: var(--chip-rev-bg); border-top: 1px solid var(--line); }
.flag-ic { width: 32px; height: 32px; border-radius: 8px; background: var(--surface); color: var(--chip-rev-fg); display: grid; place-items: center; }
.flag-ic svg { width: 17px; height: 17px; }
.flag p { font-size: 13.5px; color: var(--chip-rev-fg); line-height: 1.5; }
.flag b { display: block; color: var(--fg); }

/* outputs: Excel takeoff + branded quote */
.out-pair { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr); gap: 16px; align-items: end; }
.xl .win-bar { gap: 8px; }
.xl-ic { color: #1E7145; display: inline-flex; }
.xl-ic svg { width: 16px; height: 16px; }
.xl-grid { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; table-layout: fixed; }
.xl-grid th, .xl-grid td { border: 1px solid var(--line); padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.xl-grid thead th, .xl-grid tbody th { background: var(--soft); color: var(--muted); font-weight: 500; text-align: center; font-size: 11px; }
.xl-grid thead th:first-child, .xl-grid tbody th { width: 30px; }
.xl-grid thead th:nth-child(2) { width: 22%; }
.xl-grid thead th:nth-child(5) { width: 16%; }
.xl-grid .num { text-align: right; }
.xl-grid .xl-head td { background: var(--pine); color: var(--on-dark); font-weight: 600; }
.xl-tabs { display: flex; gap: 2px; padding: 0 10px; background: var(--soft); border-top: 1px solid var(--line); font-size: 12px; }
.xl-tabs span { padding: 7px 12px; color: var(--muted); }
.xl-tabs .on { background: var(--surface); color: var(--fg); font-weight: 600; border-bottom: 2px solid #1E7145; }
.doc { padding: 18px; }
.doc-head { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 3px solid var(--forest); }
.doc-logo { width: 34px; height: 34px; border-radius: 8px; background: repeating-linear-gradient(45deg, var(--soft) 0 5px, var(--line) 5px 6px); border: 1px dashed var(--muted); flex: none; }
.doc-head b { display: block; font-size: 13px; }
.doc-head span { font-size: 11.5px; color: var(--muted); font-family: var(--mono); }
.doc-body { display: grid; gap: 7px; padding-top: 14px; }
.doc-body > i, .doc-lines i, .doc-total i { display: block; height: 6px; border-radius: 3px; background: var(--line); }
.doc-lines { display: grid; gap: 7px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.doc-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.doc-total i { width: 40%; background: var(--accent); }
.doc-cap { margin-top: 12px; font-size: 12px; color: var(--muted); }

/* platform flow */
.flow-node { fill: var(--accent-wash); }
.flow-t { fill: var(--fg); font: 700 15px var(--sans); }
.flow-s { fill: var(--muted); font: 500 13px var(--sans); }
.section.band.tight .h-sm { margin-bottom: 28px; }

/* security diagram */
.iso-figure svg { width: 100%; height: auto; }
.iso-rls { fill: var(--lime); font: 500 12px var(--mono); }
.roles tbody th { font-weight: 500; }

@media (max-width: 640px) {
  .out-pair { grid-template-columns: minmax(0, 1fr); }
  .fm-row.two { grid-template-columns: minmax(0, 1fr); }
  .xl-grid td:nth-child(4), .xl-grid th:nth-child(4) { display: none; }
  .iso-figure { padding: 16px; }
  .roles th, .roles td { padding: 11px 10px; font-size: 13.5px; }
}

/* fixes and additions, pass 2 */
.btn svg { width: 18px; height: 18px; flex: none; }
.sub-hero h1 { max-width: 18ch; }
.sub-hero-grid { align-items: center; }
.principles p { color: var(--muted); }
.dark .principles p { color: var(--on-dark-muted); }
.section.band .row2, .row2.top { align-items: start; }
.xl-grid thead th:nth-child(2) { width: 17%; }
.xl-grid thead th:nth-child(3) { width: auto; }
.xl-grid thead th:nth-child(4) { width: 22%; }
.xl-grid thead th:nth-child(5) { width: 12%; }

.pages-used { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pages-used li { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 5px 9px; }
.pages-used b { font: 500 11.5px/1 var(--mono); color: var(--fg); }

.rollup { margin-top: 8px; border: 1px solid var(--dark-line); border-radius: var(--r); padding: 14px 16px; background: rgba(22, 48, 31, .6); display: grid; gap: 10px; font-size: 13px; }
.ru-head { display: flex; justify-content: space-between; color: #7F9886; font-size: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--dark-line); }
.ru-row { display: grid; grid-template-columns: minmax(0, 11.5em) 1fr 2.2em; gap: 12px; align-items: center; color: var(--on-dark); }
.ru-row i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--w), var(--dark-line) var(--w)); }
.ru-row b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

.rec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px 12px; }
.rec-head b { display: block; font-size: 16px; letter-spacing: -0.01em; }
.rec-head span:not(.chip) { font-size: 12.5px; color: var(--muted); }
.rec-tabs { display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; overflow: hidden; white-space: nowrap; }
.rec-tabs span { padding: 8px 8px; color: var(--muted); }
.rec-tabs .on { color: var(--fg); font-weight: 600; box-shadow: inset 0 -2px 0 var(--forest); }
.rec-list { padding: 6px 0; }
.rec-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 18px; }
.rec-list li + li { border-top: 1px solid var(--line); }
.rec-list li > svg { width: 34px; height: 34px; padding: 8px; border-radius: 8px; background: var(--soft); color: var(--forest); }
.rec-list b { display: block; font-size: 14px; font-weight: 600; }
.rec-list div span { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec .win-foot svg { width: 16px; height: 16px; }
@media (max-width: 960px) { .sub-hero-grid .window { margin-top: 8px; } }
.dark .principles div { border-top-color: var(--accent); }
.flow-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) {
  .flow-wrap { display: none; }
  .flow-list { display: grid; gap: 0; position: relative; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .flow-list::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; border-left: 1.5px dashed var(--muted); opacity: .6; }
  .flow-list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 6px 0; position: relative; }
  .flow-list span { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-wash); color: var(--accent-ink); display: grid; place-items: center; }
  .flow-list li:nth-child(2) span { background: var(--pine); color: var(--accent); }
  .flow-list span svg { width: 20px; height: 20px; }
  .flow-list b { font-size: 15.5px; }
  .flow-list em { font-style: normal; color: var(--muted); font-size: 13.5px; }
}
.hero-copy { max-width: 940px; }
.hero .lede { max-width: 40em; }
.xl-grid thead th:nth-child(2) { width: 21%; }
.xl-grid thead th:nth-child(4) { width: 21%; }
.xl-grid thead th:nth-child(5) { width: 11%; }
.hero h1 .hl { display: inline-block; }
.xl-grid thead th:nth-child(2) { width: 26%; }
.xl-grid thead th:nth-child(3) { width: auto; }
.xl-grid thead th:nth-child(4) { width: 16%; }
.xl-grid thead th:nth-child(5) { width: auto; }
@media (max-width: 640px) { .xl-grid td:nth-child(4), .xl-grid th:nth-child(4) { display: table-cell; } }
.hero-copy { max-width: 1040px; }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.375rem); }
