/* Unibuild Software — Homepage
   Design system declared:
   - Type: Inter (body + display, headlines @ 700), Geist (accents and mono-style captions)
   - Palette: warm paper, warm ink, hazard yellow used sparingly as a regulatory signal
   - Hairline rules, no rounded corners >4px, no shadows, no gradients
*/

:root {
  --paper: oklch(0.985 0.005 85);
  --paper-2: oklch(0.965 0.006 85);
  --concrete: oklch(0.92 0.005 60);
  --rule: oklch(0.82 0.005 60);
  --rule-soft: oklch(0.88 0.005 60);
  --ink: oklch(0.18 0.01 60);
  --ink-2: oklch(0.32 0.01 60);
  --ink-mute: oklch(0.5 0.008 60);
  --hazard: oklch(0.86 0.18 95);
  --hazard-ink: oklch(0.25 0.08 80);
  --good: oklch(0.55 0.12 145);
  --bad: oklch(0.55 0.18 25);

  --f-display: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-serif: "Geist", "Inter", Helvetica, Arial, sans-serif;
  --f-mono: "Geist", "Inter", ui-monospace, "SF Mono", Menlo, monospace;
  --fw-display: 700;

  --maxw: min(1680px, 86vw);
  --gutter: clamp(20px, 2.4vw, 40px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--hazard); color: var(--hazard-ink); }

/* ── layout primitives ── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.rule-soft { border: 0; border-top: 1px solid var(--rule-soft); margin: 0; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.hazard-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hazard);
  color: var(--hazard-ink);
  padding: 2px 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  white-space: nowrap;
}
.hazard-mark::before {
  content: "";
  width: 6px; height: 6px; background: var(--hazard-ink);
  border-radius: 50%;
}

/* ── header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 24px -16px rgba(0,0,0,0.18);
}

/* slim compliance strip on top */
.header-strip {
  background: var(--ink);
  color: oklch(0.78 0.005 60);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 92%, transparent);
}
.header-strip-row {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}
.header-strip-row > * { flex-shrink: 0; }
.strip-pill {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--paper);
}
.strip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--hazard);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--hazard) 35%, transparent);
  animation: pulse 1.6s ease-in-out infinite;
}
.strip-meta { color: oklch(0.72 0.005 60); }
.strip-meta a { color: oklch(0.88 0.005 60); }
.strip-meta a:hover { color: var(--paper); }
.strip-sep { margin: 0 8px; opacity: 0.5; }

/* main bar */
.site-header .bar {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* brand */
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
}
.brand-mark svg { display: block; }
.brand-name { color: var(--ink); }
.brand-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-left: 1px solid var(--rule);
  padding-left: 12px;
  margin-left: 4px;
}

/* nav */
.nav {
  display: flex; align-items: center; gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  white-space: nowrap;
}
.nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-link-sm {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-link-sm:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* hamburger */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 25px; }
.hamburger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* mobile sheet */
.mobile-sheet {
  position: fixed;
  left: 0; right: 0;
  top: 105px; /* under strip+bar */
  bottom: 0;
  background: var(--paper);
  z-index: 49;
  padding: 24px var(--gutter) 32px;
  display: flex; flex-direction: column;
  gap: 32px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.2s ease;
  overflow-y: auto;
}
.mobile-sheet.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
}
.mobile-nav a {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.mobile-nav .ms-num {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}
.mobile-cta {
  display: flex; flex-direction: column; gap: 10px;
}
.mobile-cta .btn { justify-content: space-between; width: 100%; }
.mobile-meta {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-mute);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.mobile-meta a { color: var(--ink-2); }
.mobile-meta span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10.5px;
}

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 3px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: transform 0.08s ease, background 0.15s ease;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform 0.15s ease; }
.btn:hover .arr { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-ghost:hover { border-color: var(--ink); background: transparent; }

.btn-hazard {
  background: var(--hazard);
  color: var(--hazard-ink);
  border-color: var(--hazard);
}

.btn-sm { padding: 8px 12px; font-size: 13px; }
.btn-lg { padding: 16px 24px; font-size: 15px; }

/* ── hero ── */
.hero {
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper) 60%, var(--paper-2) 100%);
}
.hero::before {
  /* hazard accent rail down the left margin — commits the brand colour */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--hazard);
}
.hero .grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 20px 0 0;
  text-wrap: balance;
}
.hero h1 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero .sub {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 52ch;
  text-wrap: pretty;
}
.hero .ctas {
  margin-top: 28px;
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}
/* Hero primary CTA gets the hazard treatment — committed accent, single shout */
.hero .ctas .btn:first-child {
  background: var(--hazard);
  color: var(--hazard-ink);
  border-color: var(--hazard);
}
.hero .ctas .btn:first-child:hover { filter: brightness(0.96); }
/* Secondary CTA reduced to an underlined text link, not a competing button */
.hero .ctas .btn-ghost {
  background: transparent;
  border: 0;
  padding: 14px 4px;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 6px;
  font-weight: 500;
}
.hero .ctas .btn-ghost:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
  transform: none;
}
.hero .meta {
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-mute);
  display: flex; gap: 16px; flex-wrap: wrap;
}
.hero .meta span::before {
  content: "✓";
  color: var(--good);
  margin-right: 6px;
}

/* hero side: live spec card */
.spec-card {
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  position: relative;
}
.spec-card-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  background: var(--ink); color: var(--paper);
  letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px;
}
.spec-card-hd .live {
  display: inline-flex; align-items: center; gap: 6px;
}
.spec-card-hd .live::before {
  content: ""; width: 6px; height: 6px;
  background: var(--hazard); border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }
.spec-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule-soft);
  gap: 12px;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row .k { color: var(--ink-mute); text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.04em; }
.spec-row .v { color: var(--ink); font-size: 13px; text-align: right; }
.spec-row .v b { font-weight: 600; }

/* ── ticker ── */
.ticker {
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  overflow: hidden;
  height: 44px;
}
.ticker-track {
  display: flex; align-items: center; gap: 48px;
  height: 100%;
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-2);
  animation: scroll 60s linear infinite;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 12px; }
.ticker-track span::before {
  content: ""; width: 4px; height: 4px;
  background: var(--ink-mute); border-radius: 50%;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── section chrome ── */
.sec {
  padding: 88px 0;
  border-bottom: 1px solid var(--rule);
}
.sec.tight { padding: 64px 0; }

.sec-hd {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 48px;
  margin-bottom: 56px;
  align-items: start;
}
.sec-hd .num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  padding-top: 6px;
  border-top: 1px solid var(--ink);
  display: flex; justify-content: space-between;
}
.sec-hd h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
.sec-hd h2 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.sec-hd .lede {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 56ch;
  line-height: 1.5;
}

/* ── pain mirror grid ── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.pain-cell {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 24px 20px 28px;
  background: var(--paper);
  min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
}
.pain-cell .tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pain-cell .what {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 12px;
}
.pain-cell .cost {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 18px;
  border-top: 1px solid var(--rule-soft);
  padding-top: 10px;
}
.pain-cell.heavy {
  background: var(--ink); color: var(--paper);
}
.pain-cell.heavy .tag { color: oklch(0.7 0.005 60); }
.pain-cell.heavy .cost { color: oklch(0.78 0.005 60); border-color: oklch(0.32 0.01 60); }

/* ── replacement strip ── */
.replace {
  margin-top: 56px;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.replace-hd {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.replace-hd .l { color: var(--ink-mute); }
.replace-hd .r { color: var(--ink); display: flex; gap: 8px; align-items: center; }
.replace-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.replace-cell {
  padding: 18px 16px;
  border-right: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
  min-height: 56px;
}
.replace-cell::before {
  content: "✕"; color: var(--ink-mute); font-size: 11px;
}
.replace-cell:nth-child(5n) { border-right: 0; }
.replace-grid > .replace-cell:nth-last-child(-n+5) { border-bottom: 0; }
.replace-arrow {
  text-align: center;
  padding: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}

/* ── calculator ── */
.calc {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.calc .sec-hd .num { border-color: var(--paper); color: oklch(0.7 0.005 60); }
.calc .sec-hd .lede { color: oklch(0.78 0.005 60); }
.calc .sec-hd h2 em { color: var(--hazard); }
.calc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.calc-form {
  border: 1px solid oklch(0.32 0.01 60);
}
.calc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid oklch(0.32 0.01 60);
  align-items: center;
}
.calc-row:last-child { border-bottom: 0; }
.calc-row label {
  display: block;
}
.calc-row label b {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.calc-row label small {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  color: oklch(0.7 0.005 60);
  margin-top: 4px;
}
.calc-input-wrap {
  display: flex; align-items: center; gap: 0;
}
.calc-input {
  width: 130px;
  background: transparent;
  border: 1px solid oklch(0.45 0.01 60);
  color: var(--paper);
  padding: 8px 12px;
  font-family: var(--f-mono);
  font-size: 16px;
  font-weight: 500;
  text-align: right;
  border-radius: 2px;
  outline: none;
}
.calc-input:focus { border-color: var(--hazard); }
.calc-prefix, .calc-suffix {
  font-family: var(--f-mono);
  font-size: 12px;
  color: oklch(0.7 0.005 60);
  width: 14px; display: inline-flex; justify-content: center;
}
.calc-slider {
  width: 100%;
  margin-top: 10px;
  accent-color: var(--hazard);
}

.calc-readout {
  border: 1px solid oklch(0.32 0.01 60);
  position: sticky;
  top: 80px;
}
.calc-readout-hd {
  padding: 14px 20px;
  border-bottom: 1px solid oklch(0.32 0.01 60);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.7 0.005 60);
}
.calc-readout-hd .live {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--hazard);
}
.calc-readout-hd .live::before {
  content: ""; width: 6px; height: 6px;
  background: var(--hazard); border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
.calc-figure {
  padding: 32px 20px 24px;
  border-bottom: 1px solid oklch(0.32 0.01 60);
}
.calc-figure .lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  color: oklch(0.7 0.005 60);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.calc-figure .val {
  font-family: var(--f-display);
  font-size: clamp(56px, 7.5vw, 96px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}
.calc-figure .val .unit {
  color: var(--hazard);
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.calc-figure .note {
  margin-top: 14px;
  font-size: 13px;
  color: oklch(0.78 0.005 60);
  max-width: 38ch;
}
.calc-breakdown {
  padding: 14px 20px 20px;
}
.calc-breakdown-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid oklch(0.32 0.01 60);
  color: oklch(0.78 0.005 60);
}
.calc-breakdown-row:last-of-type { border-bottom: 0; }
.calc-breakdown-row b { color: var(--paper); font-weight: 500; font-variant-numeric: tabular-nums; }
.calc-bar {
  height: 6px;
  background: oklch(0.32 0.01 60);
  margin-top: 4px;
  position: relative;
  overflow: hidden;
}
.calc-bar i {
  display: block; height: 100%; background: var(--hazard);
  transition: width 0.4s cubic-bezier(.2,.7,.1,1);
}
.calc-cta {
  padding: 16px 20px;
  background: var(--paper);
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.calc-cta .placeholder-note {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── modules ── */
.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.module {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px 24px 32px;
  display: flex; flex-direction: column;
  min-height: 280px;
  background: var(--paper);
  transition: background 0.2s;
  position: relative;
}
.module:hover { background: var(--paper-2); }
.module .num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}
.module h3 {
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 12px 0 14px;
}
.module p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.module .feats {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.module .feats span {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  padding: 3px 7px;
  border-radius: 2px;
  background: var(--paper);
}
.module .more {
  margin-top: 20px;
  font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  align-self: flex-start;
}
.module .more .arr { transition: transform 0.15s; }
.module:hover .more .arr { transform: translateX(3px); }

/* ── differentiators ── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.diff {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 36px 32px 40px;
  background: var(--paper);
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
}
.diff .marker {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  border-top: 1px solid var(--ink);
  padding-top: 6px;
  height: fit-content;
}
.diff h3 {
  font-family: var(--f-display);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 14px;
  text-wrap: balance;
}
.diff h3 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.diff p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 48ch;
}
.diff .vs {
  margin-top: 20px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  border-top: 1px solid var(--rule-soft);
  padding-top: 12px;
}
.diff .vs b { color: var(--ink); font-weight: 500; }

/* ── scenarios ── */
.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.scenario {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0;
  display: flex; flex-direction: column;
}
.scenario-photo {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(
      45deg,
      var(--concrete) 0 12px,
      var(--paper-2) 12px 24px
    );
  border-bottom: 1px solid var(--rule);
  display: grid; place-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
}
.scenario-photo .ill {
  position: absolute; top: 8px; left: 8px;
  font-family: var(--f-mono); font-size: 9.5px;
  background: var(--paper); color: var(--ink); padding: 2px 6px;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--rule);
}
.scenario-body { padding: 22px 22px 24px; }
.scenario-body .who {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.scenario-body blockquote {
  margin: 12px 0 0;
  font-family: var(--f-serif);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 400;
  text-wrap: pretty;
}
.scenario-body .stat {
  margin-top: 18px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-2);
  border-top: 1px solid var(--rule-soft);
  padding-top: 10px;
  display: flex; gap: 8px; align-items: center;
}
.scenario-body .stat b { color: var(--ink); font-weight: 600; }
.scenario-body .name {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.scenario-body .name b { color: var(--ink); font-weight: 600; }

/* ── risk reversal ── */
.risk {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.risk-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.risk-list .item {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 20px;
  background: var(--paper);
  position: relative;
}
.risk-list .item .check {
  width: 24px; height: 24px;
  background: var(--ink);
  color: var(--paper);
  display: grid; place-items: center;
  font-size: 13px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.risk-list .item h4 {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.risk-list .item p {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-mute);
  margin: 0;
  line-height: 1.5;
}

/* ── faq ── */
.faq-list {
  border-top: 1px solid var(--ink);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 0;
}
.faq-q {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 28px;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  user-select: none;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--f-display);
  color: var(--ink);
}
.faq-q .num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-mute);
}
.faq-q .qtxt {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.faq-q .toggle {
  font-family: var(--f-mono);
  font-size: 18px;
  color: var(--ink);
  width: 28px; text-align: center;
}
.faq-a {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 28px;
  gap: 16px;
  padding: 0 0 22px;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: none;
}
.faq-a .body { max-width: 64ch; }

/* ── final cta ── */
.final {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--ink);
}
.final h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
  max-width: 18ch;
}
.final h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.final .row {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.final .row .btn {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}
.final .row .btn-ghost { background: transparent; color: var(--paper); border-color: oklch(0.45 0.01 60); }
.final .row .btn-ghost:hover { border-color: var(--paper); }
.final .channels {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid oklch(0.32 0.01 60);
}
.final .channels a {
  padding: 24px 20px 24px 0;
  border-right: 1px solid oklch(0.32 0.01 60);
  display: block;
}
.final .channels a:last-child { border-right: 0; }
.final .channels a:not(:first-child) { padding-left: 24px; }
.final .channels .lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  color: oklch(0.7 0.005 60);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.final .channels .val {
  margin-top: 8px;
  font-family: var(--f-display);
  font-size: 19px;
  letter-spacing: -0.01em;
}

/* ── footer ── */
.foot {
  background: var(--paper);
  padding: 56px 0 32px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.foot h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin: 0 0 14px;
  font-weight: 500;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot ul a:hover { color: var(--ink); border-bottom: 1px solid var(--ink); }
.foot .legal {
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── sticky cta bar ── */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  display: flex; align-items: center; gap: 16px;
  font-size: 13.5px;
  z-index: 40;
  transition: transform 0.3s cubic-bezier(.2,.7,.1,1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.sticky-cta.show { transform: translateX(-50%) translateY(0); }
.sticky-cta b { font-weight: 500; }
.sticky-cta .btn { padding: 8px 14px; font-size: 13px; background: var(--hazard); color: var(--hazard-ink); border-color: var(--hazard); }
.sticky-cta .dot { width: 6px; height: 6px; background: var(--hazard); border-radius: 50%; animation: pulse 1.6s ease-in-out infinite; }

/* ── responsive ── */
@media (max-width: 1280px) {
  .nav { gap: 22px; font-size: 13.5px; }
}
@media (max-width: 1180px) {
  .nav-link-sm { display: none; }
  .strip-meta:not(.strip-phone) { display: none; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: block; }
  .brand-tag { display: none; }
}
@media (max-width: 1024px) {
  .hero .grid { grid-template-columns: 1fr; gap: 40px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .scenarios { grid-template-columns: 1fr; }
  .calc-shell { grid-template-columns: 1fr; }
  .calc-readout { position: static; }
  .replace-grid { grid-template-columns: repeat(3, 1fr); }
  .replace-cell:nth-child(5n) { border-right: 1px solid var(--rule-soft); }
  .replace-cell:nth-child(3n) { border-right: 0; }
  .risk { grid-template-columns: 1fr; gap: 28px; }
  .sec-hd { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .final .channels { grid-template-columns: repeat(2, 1fr); }
  .final .channels a:nth-child(2n) { border-right: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --maxw: min(1400px, 92vw); }
  .header-strip-row { font-size: 10.5px; }
  .strip-phone { font-size: 10.5px; }
}
@media (max-width: 720px) {
  .header-strip-row { justify-content: center; }
  .strip-phone { display: none; }
  .strip-meta:not(.strip-phone) { display: inline; }
  .site-header .bar { height: 60px; }
  .mobile-sheet { top: 93px; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; --maxw: 100%; }
  .pain-grid, .modules, .diff-grid, .replace-grid, .risk-list { grid-template-columns: 1fr; }
  .replace-cell { border-right: 0 !important; }
  .sec { padding: 56px 0; }
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: clamp(36px, 9vw, 56px); }
  .hero .ctas .btn { width: 100%; justify-content: space-between; }
  .scenario-body blockquote { font-size: 19px; }
  .foot-grid { grid-template-columns: 1fr; }
  .final .channels { grid-template-columns: 1fr; }
  .final .channels a { border-right: 0; padding-left: 0 !important; }
  .faq-q { grid-template-columns: 40px 1fr 24px; }
  .faq-a { grid-template-columns: 40px 1fr 24px; }
  .header-strip { display: none; }
  .mobile-sheet { top: 60px; }
  .mobile-nav a { font-size: 19px; padding: 18px 4px; }
  .brand { font-size: 17px; gap: 10px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-mark svg { width: 22px; height: 22px; }
  .sticky-cta { left: 12px; right: 12px; bottom: 12px; padding: 8px 10px; gap: 8px; }
  .sticky-cta span:not(.dot) { font-size: 12px; }
}


/* ── v2 additions ────────────────────────────────────────────────────── */

/* Section header — centered variant for visual rhythm break */
.sec-hd-center {
  display: block;
  text-align: center;
  max-width: 880px;
  margin: 0 auto 56px;
  padding-top: 4px;
}
.sec-hd-center .num {
  display: inline-flex;
  gap: 16px;
  border-top: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 8px;
  margin-bottom: 28px;
  color: var(--ink-mute);
}
.sec-hd-center h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
.sec-hd-center h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.sec-hd-center .lede {
  margin: 18px auto 0;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 56ch;
  line-height: 1.5;
  text-wrap: pretty;
}

/* Dark band: invert one mid-page section so the calculator isn't the lone visual peak */
.sec.sec-dark {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.sec.sec-dark .sec-hd-center .num { color: oklch(0.7 0.005 60); border-color: oklch(0.45 0.01 60); }
.sec.sec-dark .sec-hd-center .lede { color: oklch(0.78 0.005 60); }
.sec.sec-dark .sec-hd-center h2 em { color: var(--hazard); }
.sec.sec-dark .modules {
  border-top-color: oklch(0.32 0.01 60);
  border-left-color: oklch(0.32 0.01 60);
}
.sec.sec-dark .module {
  background: var(--ink);
  border-right-color: oklch(0.32 0.01 60);
  border-bottom-color: oklch(0.32 0.01 60);
  color: var(--paper);
}
.sec.sec-dark .module:hover { background: oklch(0.22 0.01 60); }
.sec.sec-dark .module .num { color: oklch(0.65 0.005 60); }
.sec.sec-dark .module h3 { color: var(--paper); }
.sec.sec-dark .module p { color: oklch(0.78 0.005 60); }
.sec.sec-dark .module .feats span {
  color: oklch(0.85 0.005 60);
  border-color: oklch(0.32 0.01 60);
  background: transparent;
}
.sec.sec-dark .module .more {
  color: var(--hazard);
  border-bottom-color: var(--hazard);
}

/* Sticky CTA v2 — no notification-dot prefix, includes a live signal */
.sticky-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 8px 8px 8px 16px;
  gap: 14px;
  border: 1px solid oklch(0.32 0.01 60);
}
.sticky-cta .sticky-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hazard);
  padding-right: 12px;
  border-right: 1px solid oklch(0.32 0.01 60);
}
.sticky-cta .sticky-live i {
  width: 6px; height: 6px; background: var(--hazard); border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
.sticky-cta .sticky-msg { font-size: 13.5px; }
.sticky-cta .sticky-msg b { font-weight: 600; }

/* Footer v2 — editorial layout, in character with the rest of the page */
.foot.foot-v2 {
  background: var(--paper-2);
  padding: 80px 0 28px;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
}
.foot-headline {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
}
.foot-mark {
  grid-column: 1 / -1;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
.foot-mark .brand-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  border-radius: 4px;
}
.foot-h {
  font-family: var(--f-display);
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
  max-width: 16ch;
}
.foot-h em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.foot-cta-row {
  display: flex; flex-direction: column; gap: 16px;
  align-items: flex-start;
}
.foot-cta-row .btn {
  background: var(--hazard);
  color: var(--hazard-ink);
  border-color: var(--hazard);
}
.foot-phone {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.foot-phone span { color: var(--ink-mute); margin: 0 6px; }

.foot.foot-v2 .foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 40px;
}
.foot-col-wide ul, .foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-col h5, .foot-col-wide h5, .foot-col-meta h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin: 0 0 16px;
  font-weight: 500;
}
.foot-col-meta .foot-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.foot-col-meta .foot-chips span {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  padding: 4px 8px;
  background: var(--paper);
}

.foot.foot-v2 .legal {
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.foot.foot-v2 .legal a:hover { color: var(--ink); border-bottom: 1px solid var(--ink); }

@media (max-width: 1024px) {
  .foot-headline { grid-template-columns: 1fr; gap: 32px; }
  .foot.foot-v2 .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .foot.foot-v2 .foot-grid { grid-template-columns: 1fr; }
  .foot.foot-v2 .legal { flex-direction: column; gap: 8px; }
}

/* Tighten responsive hero further */
@media (max-width: 1024px) {
  .hero { padding: 32px 0 40px; }
  .hero .grid { grid-template-columns: 1fr; gap: 32px; }
}
