/* Fallback faces sized to the web fonts, so text doesn't re-wrap (and push the page) when they arrive. */
@font-face { font-family: "Manrope Fallback"; src: local("Arial"); size-adjust: 101%; ascent-override: 105.5%; descent-override: 29.7%; line-gap-override: 0%; }
@font-face { font-family: "Gloock Fallback"; src: local("Georgia"); size-adjust: 101%; }
:root {
  /* === Theme progress: 0 = day, 1 = nightfall === */
  --theme: 0;

  /* === Day palette === */
  --paper-d:        #F5F1E8;
  --paper-2-d:      #ECE5D5;
  --paper-edge-d:   #DDD3BD;
  --ink-d:          #1A1A2E;
  --ink-2-d:        #2D2942;
  --muted-d:        #6B6259;
  --muted-2-d:      #94897C;
  --rule-d:         rgba(26,26,46,0.10);
  --rule-strong-d:  rgba(26,26,46,0.20);
  --indigo-d:       #4F46E5;
  --indigo-2-d:     #3B33C9;
  --indigo-deep-d:  #1E1B4B;
  --indigo-soft-d:  #ECEAFE;
  --violet-d:       #7C3AED;
  --amber-d:        #D97706;
  --teal-d:         #0D9488;
  --emerald-d:      #059669;
  --rose-d:         #E11D48;
  --surface-d:      #FBF8F0;
  --surface-2-d:    #FFFFFF;

  /* === Nightfall palette (Paper & Ink monochrome on pitch black) ===
     Background pitch black, cards lifted with warm cream undertone.
     ALL chromatic accents collapse to bone in nightfall — page turns monochrome. */
  --paper-n:        #000000;
  --paper-2-n:      #000000;
  --paper-edge-n:   #0F0F0F;
  --ink-n:          #F1ECE2;
  --ink-2-n:        #E8DFCE;
  --muted-n:        rgba(241,236,226, 0.65);
  --muted-2-n:      rgba(241,236,226, 0.42);
  --rule-n:         rgba(241,236,226, 0.12);
  --rule-strong-n:  rgba(241,236,226, 0.22);
  --indigo-n:       #F1ECE2;
  --indigo-2-n:     #F1ECE2;
  --indigo-deep-n:  #1E1B4B;
  --indigo-soft-n:  rgba(241,236,226, 0.16);
  --violet-n:       #F1ECE2;
  --amber-n:        #F1ECE2;
  --teal-n:         #F1ECE2;
  --emerald-n:      #F1ECE2;
  --rose-n:         #F1ECE2;
  --surface-n:      #0E0E0E;
  --surface-2-n:    #141414;

  /* === Live colors — interpolated via color-mix on --theme === */
  --paper:        color-mix(in srgb, var(--paper-d)        calc((1 - var(--theme)) * 100%), var(--paper-n)        calc(var(--theme) * 100%));
  --paper-2:      color-mix(in srgb, var(--paper-2-d)      calc((1 - var(--theme)) * 100%), var(--paper-2-n)      calc(var(--theme) * 100%));
  --paper-edge:   color-mix(in srgb, var(--paper-edge-d)   calc((1 - var(--theme)) * 100%), var(--paper-edge-n)   calc(var(--theme) * 100%));
  --ink:          color-mix(in srgb, var(--ink-d)          calc((1 - var(--theme)) * 100%), var(--ink-n)          calc(var(--theme) * 100%));
  --ink-2:        color-mix(in srgb, var(--ink-2-d)        calc((1 - var(--theme)) * 100%), var(--ink-2-n)        calc(var(--theme) * 100%));
  --muted:        color-mix(in srgb, var(--muted-d)        calc((1 - var(--theme)) * 100%), var(--ink-n)          calc(var(--theme) * 100%));
  --muted-2:      color-mix(in srgb, var(--muted-2-d)      calc((1 - var(--theme)) * 100%), var(--ink-n)          calc(var(--theme) * 100%));
  --rule:         color-mix(in srgb, var(--rule-d)         calc((1 - var(--theme)) * 100%), var(--rule-n)         calc(var(--theme) * 100%));
  --rule-strong:  color-mix(in srgb, var(--rule-strong-d)  calc((1 - var(--theme)) * 100%), var(--rule-strong-n)  calc(var(--theme) * 100%));
  --indigo:       color-mix(in srgb, var(--indigo-d)       calc((1 - var(--theme)) * 100%), var(--indigo-n)       calc(var(--theme) * 100%));
  --indigo-2:     color-mix(in srgb, var(--indigo-2-d)     calc((1 - var(--theme)) * 100%), var(--indigo-2-n)     calc(var(--theme) * 100%));
  --indigo-deep:  color-mix(in srgb, var(--indigo-deep-d)  calc((1 - var(--theme)) * 100%), var(--indigo-deep-n)  calc(var(--theme) * 100%));
  --indigo-soft:  color-mix(in srgb, var(--indigo-soft-d)  calc((1 - var(--theme)) * 100%), var(--indigo-soft-n)  calc(var(--theme) * 100%));
  --violet:       color-mix(in srgb, var(--violet-d)       calc((1 - var(--theme)) * 100%), var(--violet-n)       calc(var(--theme) * 100%));
  --amber:        color-mix(in srgb, var(--amber-d)        calc((1 - var(--theme)) * 100%), var(--amber-n)        calc(var(--theme) * 100%));
  --teal:         color-mix(in srgb, var(--teal-d)         calc((1 - var(--theme)) * 100%), var(--teal-n)         calc(var(--theme) * 100%));
  --emerald:      color-mix(in srgb, var(--emerald-d)      calc((1 - var(--theme)) * 100%), var(--emerald-n)      calc(var(--theme) * 100%));
  --rose:          color-mix(in srgb, var(--rose-d)         calc((1 - var(--theme)) * 100%), var(--rose-n)         calc(var(--theme) * 100%));
  --surface:       color-mix(in srgb, var(--surface-d)      calc((1 - var(--theme)) * 100%), var(--surface-n)      calc(var(--theme) * 100%));
  --surface-2:     color-mix(in srgb, var(--surface-2-d)    calc((1 - var(--theme)) * 100%), var(--surface-2-n)    calc(var(--theme) * 100%));

  --serif: "Gloock", "Gloock Fallback", Georgia, serif;
  --sans:  "Manrope", "Manrope Fallback", -apple-system, "Segoe UI", sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, monospace;

  --max:   1240px;
  --pad:   clamp(20px, 4vw, 56px);

  --ease-out-expo:  cubic-bezier(.16,1,.3,1);
  --ease-spring:    cubic-bezier(.34,1.56,.64,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--ink); color: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); position: relative; }
section { position: relative; padding: clamp(56px, 7vw, 96px) 0; }
.hairline { height: 1px; background: var(--rule); width: 100%; }

/* === Type === */
.display {
  font-family: var(--serif); font-weight: 400;
  letter-spacing: -0.022em; line-height: 1.02; text-wrap: balance;
  font-optical-sizing: auto;
}
.display em { font-style: italic; font-variation-settings: "SOFT" 100; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.lead {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--muted); line-height: 1.6; max-width: 60ch;
}

/* Numbered section marker (Pattern 02) — 1.0 / Section name */
.sec-mark {
  display: inline-flex; align-items: baseline; gap: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
.sec-mark .n {
  font-family: var(--serif); font-style: italic; font-size: 26px;
  letter-spacing: -0.04em; color: var(--ink); line-height: 1;
}
.sec-mark .rule { width: 64px; height: 1px; background: var(--rule-strong); }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; font-family: var(--sans); font-size: 15px; font-weight: 500;
  letter-spacing: -0.005em; border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: background .25s, color .25s, border-color .25s, box-shadow .35s;
  will-change: transform;
}
.btn-primary {
  background: var(--ink); color: var(--paper);
  box-shadow: 0 1px 0 rgba(255,255,255,.10) inset, 0 8px 22px rgba(26,26,46,.20);
}
.btn-primary:hover { background: var(--indigo); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 30px rgba(79,70,229,.32); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(26,26,46,.04); }
.btn-light { background: var(--paper); color: var(--indigo-deep); }
.btn-light:hover { background: #fff; box-shadow: 0 16px 36px rgba(0,0,0,.20); }
.btn .arr { display: inline-block; transition: transform .3s var(--ease-spring); }
.btn:hover .arr { transform: translateX(4px); }

/* === Reveal === */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo);
}
.reveal.in { opacity: 1; transform: none; }
.stagger > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity .85s var(--ease-out-expo), transform .85s var(--ease-out-expo);
}
.stagger > .in { opacity: 1; transform: none; }

/* Subtle paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(26,26,46,0.025) 1px, transparent 1px);
  background-size: 3px 3px; mix-blend-mode: multiply; opacity: .5;
}
.nav, main, footer { position: relative; z-index: 1; }

/* ─────────────────────────────────────────── NAV with live ticker (Pattern 04) */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 0; color: var(--ink); text-decoration: none; }
.logo svg.axiom-mark { width: 26px; height: 26px; margin-right: 1px; flex: 0 0 auto; }
.logo .word { font-family: var(--serif); font-size: 22px; letter-spacing: -0.015em; }
.logo .sub  {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
  padding-left: 10px; margin-left: 4px; border-left: 1px solid var(--rule);
}

/* Nav stack mark — 3 ascending pillars (Signal · Resolve · Command) */
.nav-pillars {
  display: inline-flex; align-items: center; justify-self: center;
  height: 32px;
  opacity: 0.95;
}
.nav-pillars svg { height: 28px; width: auto; display: block; }
.nav-pillars .bar, .nav-pillars .tip {
  transform-origin: bottom center; transform-box: fill-box;
  transform: scaleY(0); opacity: 0;
  animation: navPillarRise 1.1s cubic-bezier(.16,1,.3,1) forwards;
}
.nav-pillars .b1, .nav-pillars .t1 { animation-delay: .25s; }
.nav-pillars .b2, .nav-pillars .t2 { animation-delay: .45s; }
.nav-pillars .b3, .nav-pillars .t3 { animation-delay: .65s; }
@keyframes navPillarRise {
  to { transform: scaleY(1); opacity: 1; }
}

.nav-cta { display: flex; align-items: center; gap: 14px; justify-self: end; }
.nav-cta .login { font-size: 14px; color: var(--ink); text-decoration: none; opacity: .80; }
.nav-cta .login:hover { opacity: 1; }
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }

/* Page links: a centred row on wide screens, a drop-down panel under the bar below 1000px. */
.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.2vw, 30px); }
.nav-links a {
  font-size: 14px; color: var(--ink); text-decoration: none; opacity: .72; white-space: nowrap;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: opacity .2s, border-color .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a[aria-current="page"] { opacity: 1; border-bottom-color: var(--ink); }
.nav-links a:focus-visible, .nav-burger:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }
.nav-burger {
  display: none; flex: none; width: 40px; height: 40px; padding: 0; border-radius: 99px; cursor: pointer;
  background: transparent; border: 1px solid var(--rule-strong); color: var(--ink);
  position: relative;
}
.nav-burger span {
  position: absolute; left: 12px; right: 12px; height: 1.6px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease-out-expo), top .3s var(--ease-out-expo);
}
.nav-burger span:nth-child(1) { top: 15px; }
.nav-burger span:nth-child(2) { top: 22px; }
.nav.open .nav-burger span:nth-child(1) { top: 18.5px; transform: rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { top: 18.5px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-pillars { display: none; }
}
@media (max-width: 1000px) {
  .nav-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .nav-burger { display: block; }
  .nav.open { background: var(--paper); border-bottom-color: var(--rule); }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--pad) 18px;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    box-shadow: 0 24px 40px rgba(26,26,46,.10);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a {
    font-family: var(--serif); font-size: 22px; letter-spacing: -0.015em; opacity: 1;
    padding: 14px 0; border-bottom: 1px solid var(--rule);
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--indigo); }
}

/* ─────────────────────────────────────────── HERO with architectural pillars (Pattern 06) */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 48px;
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

.hero-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.scarcity {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--rule-strong); border-radius: 99px;
  background: color-mix(in srgb, var(--surface-2) 55%, transparent);
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink);
}
.scarcity .dot {
  width: 8px; height: 8px; border-radius: 99px; background: #15803D;
  position: relative;
}
.scarcity .dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 99px;
  border: 1px solid #15803D; animation: ringpulse 1.8s ease-out infinite;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 76px);
  margin: 0 0 22px; max-width: 18ch; line-height: 1.04;
}
.hero h1 .accent { color: var(--indigo); font-style: italic; }
.hero h1 em { font-style: italic; }

.hero-lead { margin-bottom: 28px; max-width: 56ch; font-size: clamp(15px, 1.2vw, 18px); }
.hero-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Architectural pillars — hero right column */
.pillars-stage {
  position: relative;
  height: clamp(280px, 36vw, 420px);
  border-radius: 16px;
  /* Solid color (interpolates cleanly cream-band → pitch black). No gradient
     so there's never a transient brown-gradient state during transition. */
  background: var(--paper-2);
  border: 1px solid var(--rule);
  overflow: hidden;
  padding: 22px;
  /* Soft drop shadow only in light mode (interpolated to 0 in dark) */
  box-shadow: 0 20px 50px rgba(26,26,46, calc(0.06 * (1 - var(--theme))));
}
.pillars-stage .copy {
  position: absolute; top: 22px; left: 26px;
  z-index: 2;
}
.pillars-stage .copy .label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.pillars-stage .copy .title {
  font-family: var(--serif); font-style: italic; font-size: 22px; letter-spacing: -0.018em;
  line-height: 1.15; color: var(--ink);
  max-width: 12ch;
}
.pillars-stage .hero-mark-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}

/* Smaller decorative pillars elsewhere on the page */
.pillars-mini {
  display: inline-block; vertical-align: middle; width: 36px; height: 22px; margin: 0 6px;
}
.pillars-mini svg { width: 100%; height: 100%; display: block; }

/* ─────────────────────────────────────────── LIVE SLACK WIDGET (Pattern 03) */
.console-wrap {
  margin-top: 48px;
  display: grid; grid-template-columns: 320px 1fr; gap: 40px;
  align-items: start;
  padding-top: 32px; border-top: 1px solid var(--rule);
}
@media (max-width: 880px) { .console-wrap { grid-template-columns: 1fr; gap: 24px; } }

.console-meta .label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--indigo); margin-bottom: 12px;
}
.console-meta h3 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.018em; line-height: 1.15; margin-bottom: 12px;
}
.console-meta p { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 36ch; }

.console {
  background: var(--surface-2); border: 1px solid var(--rule); border-radius: 14px;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(26,26,46,.08), 0 1px 0 color-mix(in srgb, var(--surface-2) 70%, transparent) inset;
  max-width: 540px;
}
.console .head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; border-bottom: 1px solid var(--rule); margin-bottom: 14px;
  font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .04em;
}
.console .head .ch { color: var(--ink); font-weight: 500; }
.console .head .live { display: inline-flex; align-items: center; gap: 6px; color: #15803D; }
.console .head .live .pulse { width: 7px; height: 7px; border-radius: 99px; background: #15803D; position: relative; }
.console .head .live .pulse::after {
  content: ""; position: absolute; inset: -2px; border-radius: 99px;
  border: 1px solid #15803D; animation: ringpulse 1.8s ease-out infinite;
}
.cmsg {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .5s var(--ease-out-expo), transform .5s var(--ease-out-expo);
}
.cmsg.in { opacity: 1; transform: none; }
.cmsg .av {
  width: 30px; height: 30px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 14px; color: var(--paper);
  flex-shrink: 0;
}
.cmsg.user .av { background: var(--rose); }
.cmsg.us   .av { background: var(--ink); font-style: italic; }
.cmsg .body { font-size: 13.5px; line-height: 1.5; }
.cmsg .who  { font-weight: 600; font-size: 13px; }
.cmsg .who .time { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-left: 8px; font-weight: 400; }
.cmsg .what { color: var(--ink-2); margin-top: 2px; }
.ctyping {
  display: inline-flex; align-items: center; gap: 4px; color: var(--muted);
  font-family: var(--mono); font-size: 11px; padding: 5px 10px;
  background: rgba(26,26,46,.04); border-radius: 99px;
}
.ctyping .d { width: 4px; height: 4px; border-radius: 99px; background: var(--muted); animation: tdot 1.2s ease-in-out infinite; }
.ctyping .d:nth-child(2) { animation-delay: .15s; }
.ctyping .d:nth-child(3) { animation-delay: .30s; }
@keyframes tdot { 0%, 60%, 100% { opacity: .3 } 30% { opacity: 1 } }
.cresolved {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  opacity: 0; transform: translateY(4px);
  transition: opacity .5s var(--ease-out-expo), transform .5s var(--ease-out-expo);
}
.cresolved.in { opacity: 1; transform: none; }
.cresolved .tag { display: inline-flex; align-items: center; gap: 6px; color: #15803D; font-weight: 500; }
.cresolved .tag svg { width: 12px; height: 12px; }
.cresolved .meta-r { color: var(--muted); }

/* ─────────────────────────────────────────── AUTHORITY STRIP — stagger pop numbers (Pattern C) */
.authority {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 56px 0;
}
.authority-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 32px; flex-wrap: wrap; gap: 12px;
}
.authority-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 980px) { .authority-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 28px 24px 22px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: none; }
@media (max-width: 980px) { .stat { border-right: none; border-bottom: 1px solid var(--rule); } }

.stat .v {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(34px, 4vw, 56px); line-height: 1; letter-spacing: -0.03em;
  color: var(--ink);
  font-feature-settings: "tnum" 1, "lnum" 1;
  display: inline-flex;
}
.stat .v.amber  { color: var(--amber-d); }
.stat .v.indigo { color: var(--indigo-d); }
.stat .v.teal   { color: var(--teal-d); }
.stat .v.emerald{ color: var(--emerald-d); }
.stat .v.violet { color: var(--violet-d); }

/* Stagger pop — each character in .v starts hidden */
.stat .v > span {
  display: inline-block;
  opacity: 0; transform: translateY(10px) scale(.7);
  transition: opacity .55s var(--ease-out-expo), transform .55s var(--ease-spring);
}
.stat.in .v > span { opacity: 1; transform: translateY(0) scale(1); }

.stat .l { margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--ink); }
.stat .s { margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.5; max-width: 24ch; }

/* ─────────────────────────────────────────── MANIFESTO INTERLUDES (Pattern 05 — vertical slot) */
.manifesto {
  padding: 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.manifesto-stage {
  position: relative;
  height: clamp(220px, 26vw, 320px);
  display: flex; align-items: center; justify-content: center;
}
.manifesto-stage .counter {
  position: absolute; top: 22px; left: 28px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: color-mix(in srgb, var(--paper) 45%, transparent);
}
.manifesto-stage .stamp {
  position: absolute; top: 22px; right: 28px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: color-mix(in srgb, var(--paper) 45%, transparent);
}
.manifesto-line {
  position: absolute;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.022em;
  text-align: center; max-width: 18ch;
  padding: 0 24px;
  transition: transform .7s var(--ease-out-expo), opacity .7s var(--ease-out-expo);
}
.manifesto-line em { font-style: italic; }
.manifesto-line.below { transform: translateY(80px); opacity: 0; }
.manifesto-line.in    { transform: translateY(0); opacity: 1; }
.manifesto-line.above { transform: translateY(-80px); opacity: 0; }

/* Subtle pillars decoration on dark manifesto background */
.manifesto-stage::before {
  content: ""; position: absolute; bottom: 0; right: -10px;
  width: 240px; height: 80px;
  background-image:
    linear-gradient(to top, rgba(217,119,6,.25), transparent 80%),
    linear-gradient(to top, rgba(13,148,136,.20), transparent 80%);
  background-size: 80px 100%, 80px 100%;
  background-position: 30px bottom, 130px bottom;
  background-repeat: no-repeat;
  opacity: .35;
  filter: blur(20px);
  pointer-events: none;
}

/* ─────────────────────────────────────────── PROBLEM — single bold statement (Pattern 10) */
#problem .wrap { max-width: 1120px; }
.problem-block {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px; align-items: start;
}
@media (max-width: 900px) { .problem-block { grid-template-columns: 1fr; gap: 28px; } }
.problem-block h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.022em;
  max-width: 18ch;
}
.problem-block h2 em { font-style: italic; color: var(--rose); }
.problem-block p {
  font-size: 15.5px; color: var(--muted); line-height: 1.7; max-width: 50ch;
}
.problem-block .pain-pills {
  margin-top: 22px; display: flex; flex-direction: column; gap: 8px;
}
.problem-block .pain-pill {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  padding-left: 18px; position: relative;
}
.problem-block .pain-pill::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 10px; height: 1px; background: var(--rose);
}

/* ─────────────────────────────────────────── SERVICES — vertical-by-vertical (Pattern 07) */
#services .wrap { max-width: 1140px; }
.services-head {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: end;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .services-head { grid-template-columns: 1fr; gap: 16px; } }
.services-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.8vw, 52px); letter-spacing: -0.018em; line-height: 1.06; }
.services-head h2 em { font-style: italic; }

.vert {
  border-top: 1px solid var(--rule-strong);
}
.vert .row {
  display: grid; grid-template-columns: 60px 1.1fr 1.6fr 130px;
  gap: 24px; align-items: center;
  padding: 26px 8px;
  border-bottom: 1px solid var(--rule);
  cursor: pointer; text-decoration: none; color: inherit;
  position: relative;
  transition: background .25s, padding .35s var(--ease-out-expo);
}
@media (max-width: 880px) {
  .vert .row { grid-template-columns: 40px 1fr; gap: 12px; padding: 22px 6px; }
  .vert .row .what, .vert .row .cta { grid-column: 2 / -1; }
  .vert .row .who { grid-column: 2 / -1; }
}
.vert .row:hover { background: rgba(79,70,229,.04); padding-left: 16px; padding-right: 16px; }
.vert .row .n { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--indigo); line-height: 1; }
.vert .row .who { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.015em; line-height: 1.2; }
.vert .row .who em { font-style: italic; }
.vert .row .what { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 44ch; }
.vert .row .cta {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--indigo); text-align: right; white-space: nowrap;
}
.vert .row .cta .arr { display: inline-block; transition: transform .3s var(--ease-spring); }
.vert .row:hover .cta .arr { transform: translateX(4px); }

/* Affordance rows beneath services (Pattern 09) */
.affordance {
  margin-top: 28px;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.affordance .word {
  display: inline-flex; gap: 1px; color: var(--ink);
}
.affordance .word span {
  display: inline-block;
  animation: bounce 1.6s ease-in-out infinite;
}
.affordance .word span:nth-child(2) { animation-delay: .08s; }
.affordance .word span:nth-child(3) { animation-delay: .16s; }
.affordance .word span:nth-child(4) { animation-delay: .24s; }
.affordance .word span:nth-child(5) { animation-delay: .32s; }
.affordance .word span:nth-child(6) { animation-delay: .40s; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ─────────────────────────────────────────── STACK */
#stack {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stack-head {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: end;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .stack-head { grid-template-columns: 1fr; gap: 16px; } }
.stack-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.8vw, 52px); letter-spacing: -0.018em; line-height: 1.06; }
.stack-head h2 em { font-style: italic; }

.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .stack-grid { grid-template-columns: 1fr; } }
.layer-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 26px 26px 28px;
  border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  min-height: 320px; position: relative;
  transition: transform .4s var(--ease-spring), border-color .35s ease, box-shadow .4s var(--ease-out-expo);
  will-change: transform;
}
.layer-card:hover {
  transform: translateY(-4px);
  border-color: var(--tone, rgba(26,26,46,0.32));
  box-shadow: 0 18px 42px rgba(26,26,46,.08);
}
.layer-card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 36px;
}
.layer-card .ico { color: var(--tone, var(--ink)); }
.layer-card .layer-num-wrap { text-align: right; }
.layer-card .layer-num {
  font-family: var(--serif); font-style: italic;
  font-size: 46px; line-height: .9; color: var(--tone, var(--ink));
  letter-spacing: -0.04em;
}
.layer-card .layer-tag {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: .20em; text-transform: uppercase; color: var(--muted);
  margin-top: 6px; display: inline-flex; align-items: center; gap: 8px;
}
.layer-card .layer-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 99px;
  background: var(--tone, var(--ink));
  flex-shrink: 0;
}
.layer-card .name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3.2vw, 40px); line-height: 1; letter-spacing: -0.028em; color: var(--ink);
}
.layer-card .name-rule { width: 36px; height: 1px; background: var(--tone, var(--ink)); opacity: .55; margin: 14px 0 12px; }
.layer-card .desc {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--tone, var(--muted));
  margin-bottom: 14px;
}
.layer-card .body {
  font-size: 13.5px; color: var(--ink-2); line-height: 1.65; margin: 0; max-width: 38ch; opacity: .82;
}

/* ─────────────────────────────────────────── PROOF — editorial (Pattern 08) */
.proof-stories {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule-strong);
}
.proof-story {
  display: grid; grid-template-columns: 110px 1fr 1.2fr;
  gap: 36px;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.proof-story:last-child { border-bottom: none; }
@media (max-width: 900px) { .proof-story { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; } }

.proof-story .index {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase;
}
.proof-story .index .who {
  font-family: var(--serif); font-style: normal; font-size: 16px;
  letter-spacing: -0.01em; color: var(--ink); margin-top: 6px;
  text-transform: none;
  font-weight: 500;
}
.proof-story .index .role {
  font-size: 12px; color: var(--muted); letter-spacing: .04em;
  text-transform: none; margin-top: 2px;
  font-family: var(--sans);
}
.proof-story .stat-big {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(64px, 9vw, 132px); line-height: .9;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.proof-story.s1 .stat-big { color: var(--indigo-d); }
.proof-story.s2 .stat-big { color: var(--amber-d); }
.proof-story.s3 .stat-big { color: var(--teal-d); }
.proof-story.s4 .stat-big { color: var(--rose-d); }
.proof-story .stat-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
  margin-top: 12px;
}
.proof-story blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(18px, 2vw, 24px); line-height: 1.35; letter-spacing: -0.005em;
  margin: 0; color: var(--ink); max-width: 32ch;
}
.proof-story blockquote em { font-style: normal; font-weight: 500; color: var(--ink); background: linear-gradient(transparent 65%, rgba(26,26,46,.08) 65%); padding: 0 2px; }

/* ─────────────────────────────────────────── COMPARISON */
.cmp {
  background: var(--surface-2); border-radius: 14px; border: 1px solid var(--rule);
  overflow: hidden;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--surface-2) 70%, transparent) inset, 0 18px 44px rgba(26,26,46,.05);
}
.cmp-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  border-bottom: 1px solid var(--rule);
  transition: background .25s;
}
.cmp-row:last-child { border-bottom: none; }
.cmp-row:hover { background: rgba(79,70,229,.03); }
.cmp-row.head { background: linear-gradient(135deg, var(--paper-2), var(--paper-edge)); border-bottom: 1px solid var(--rule-strong); }
.cmp-row > div { padding: 20px 26px; display: flex; align-items: center; gap: 12px; }
.cmp-row > div + div { border-left: 1px solid var(--rule); }
.cmp .cap { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.cmp .check {
  width: 22px; height: 22px; border-radius: 99px; background: var(--indigo);
  display: inline-flex; align-items: center; justify-content: center; color: var(--paper);
  flex-shrink: 0; box-shadow: 0 4px 10px rgba(79,70,229,.32);
}
.cmp .x {
  width: 22px; height: 22px; border-radius: 99px;
  border: 1px solid var(--rule-strong); color: var(--muted-2);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cmp-row .axiom-name { font-family: var(--serif); font-size: 18px; letter-spacing: -0.01em; }
.cmp-row .you-tag {
  font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 4px; background: var(--indigo); color: var(--paper); margin-left: 6px;
}

/* ─────────────────────────────────────────── HOW IT WORKS */
#how {
  background: var(--paper-2);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.how-head { margin-bottom: 36px; }
.how-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.8vw, 52px); letter-spacing: -0.018em; line-height: 1.06; }
.how-head h2 em { font-style: italic; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 28px 26px;
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  position: relative;
  transition: border-color .25s ease;
}
.step:hover { border-color: color-mix(in srgb, var(--rule-strong) 0%, var(--ink) 60%); }
@media (max-width: 820px) {
  .step { padding: 24px 22px; }
}
.step-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.step .num { font-family: var(--serif); font-style: italic; font-size: 52px; line-height: 1; letter-spacing: -0.02em; }
.step .num.indigo { color: var(--indigo); }
.step .num.violet { color: var(--violet); }
.step .num.teal   { color: var(--teal); }
.step .dur { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.12; letter-spacing: -0.018em; margin-bottom: 10px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.6; max-width: 34ch; }

/* ─────────────────────────────────────────── TEAM */
.team-head {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: end;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .team-head { grid-template-columns: 1fr; gap: 16px; } }
.team-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.8vw, 52px); letter-spacing: -0.018em; line-height: 1.06; }
.team-head h2 em { font-style: italic; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }

.person {
  background: var(--surface);
  border-radius: 12px;
  padding: 28px 22px 22px;
  border: 1px solid var(--rule);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  min-height: 280px; position: relative;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out-expo), border-color .35s ease;
  will-change: transform;
}
.person:hover {
  transform: translateY(-4px);
  border-color: var(--tone, rgba(26,26,46,0.32));
  box-shadow: 0 18px 40px rgba(26,26,46,.08);
}
.person .av {
  width: 76px; height: 76px; border-radius: 99px;
  background: linear-gradient(155deg, var(--tone, #2D2942) 0%, #1A1A2E 90%);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper); font-family: var(--serif); font-style: italic;
  font-size: 30px; letter-spacing: -0.02em;
  position: relative;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--tone, #1A1A2E) 30%, transparent);
}
.person .av::after {
  content: ""; position: absolute; bottom: 1px; right: 1px;
  width: 14px; height: 14px; border-radius: 99px;
  background: #16A34A; border: 2.5px solid var(--surface);
}
.person .av-rule { width: 28px; height: 1px; background: var(--tone, var(--ink)); opacity: .55; margin: 2px auto; }
.person .nm { font-family: var(--serif); font-size: 19px; letter-spacing: -0.01em; }
.person .rl { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.person .footnote {
  margin-top: auto; padding-top: 12px;
  border-top: 1px dashed var(--rule);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.person .footnote .ld { width: 6px; height: 6px; border-radius: 99px; background: #16A34A; }

/* ─────────────────────────────────────────── FINAL CTA */
#cta { padding: 0 var(--pad); margin: 0; padding-bottom: 48px; padding-top: 48px; }
.cta-band {
  /* Locked indigo gradient — same in light and dark mode (dramatic constant) */
  max-width: var(--max); margin: 0 auto;
  background: linear-gradient(135deg, #4F46E5 0%, #4338CA 35%, #5B21B6 70%, #1E1B4B 100%);
  color: #fff; border-radius: 22px;
  padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 64px);
  position: relative; overflow: hidden;
  box-shadow: 0 28px 60px rgba(79,70,229,.28);
}
.cta-band .btn-light {
  /* Lock cream button on indigo banner in both modes */
  background: var(--paper-d); color: var(--indigo-deep-d);
}
.cta-band .btn-light:hover {
  background: #FFFFFF; color: var(--indigo-deep-d); box-shadow: 0 16px 36px rgba(0,0,0,.20);
}
.cta-band .ax {
  position: absolute; right: -20px; bottom: -60px;
  font-family: var(--serif); font-style: italic; font-size: clamp(200px, 30vw, 460px);
  color: rgba(255,255,255,.07); line-height: .8; pointer-events: none; user-select: none;
}
.cta-band .eyebrow { color: rgba(255,255,255,.7); }
.cta-band h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4.6vw, 64px); letter-spacing: -0.022em; line-height: 1.06;
  color: #fff; max-width: 18ch; margin: 18px 0 24px;
}
.cta-band h2 em { font-style: italic; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; position: relative; z-index: 2; }
.cta-band .small { color: rgba(255,255,255,.78); font-size: 13.5px; }
.cta-facts {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18);
  position: relative; z-index: 2;
}
.cta-facts .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.cta-facts .v { font-family: var(--serif); font-style: italic; font-size: 26px; color: #fff; margin-top: 6px; letter-spacing: -0.02em; font-feature-settings: "tnum" 1; }

/* ─────────────────────────────────────────── FOOTER */
footer { padding: 80px 0 48px; }
.foot-top {
  display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr max-content; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--rule);
}
@media (max-width: 820px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
.foot-top .blurb { color: var(--muted); font-size: 14px; max-width: 40ch; line-height: 1.6; margin-top: 18px; }
.foot-col h4, .foot-col .foot-h {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
  margin-bottom: 16px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 14px; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: var(--indigo); }
.foot-bot {
  margin-top: 28px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted);
}
.foot-bot .stamp { font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px; border-radius: 99px; display: grid; place-items: center;
  border: 1px solid var(--rule-strong); color: var(--ink);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .35s var(--ease-spring);
}
.socials a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.socials a:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

/* ─────────────────────────────────────────── MOBILE OPTIMIZATION
   Comprehensive responsive pass — nav, hero, stats, comparison table,
   proof, manifesto, CTA, footer, theme prompt. Three breakpoints:
   900px (tablet) → 700px (large phone) → 540px (phone) → 400px (tiny). */

@media (max-width: 900px) {
  /* Nav — drop the secondary login link, keep toggle + CTA */
  .nav-cta .login { display: none; }
  .nav-cta .login.keep { display: inline; }
}

@media (max-width: 700px) {
  /* Nav compact mode */
  .nav-inner { height: 64px; }
  .logo .sub { display: none; }
  .nav-cta { gap: 12px; }
  .nav-cta .btn { padding: 8px 14px; font-size: 13px; }

  /* Hero — reduce headline, stack CTAs full-width */
  .hero { padding-top: clamp(28px, 5vw, 48px); padding-bottom: clamp(40px, 6vw, 64px); }
  .hero h1 { font-size: clamp(30px, 7vw, 44px); margin-bottom: 18px; }
  .hero-lead { font-size: 15px; margin-bottom: 24px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 13px 20px; font-size: 14px; }
  .hero-cta .magnet { display: block; }

  /* Pillars stage shorter on mobile */
  .pillars-stage { height: clamp(220px, 50vw, 320px); padding: 18px; }
  .pillars-stage .copy .label { font-size: 9px; }
  .pillars-stage .copy .title { font-size: 17px; }

  /* Slack widget */
  .console { padding: 14px; max-width: 100%; }
  .cmsg .body, .cmsg .what { font-size: 13px; }
  .console-meta h3 { font-size: 22px; }

  /* Authority section padding */
  .authority { padding: 40px 0; }
  .authority-head { margin-bottom: 22px; }

  /* Section heading sizes */
  .sec-mark .n { font-size: 22px; }
  .sec-mark { margin-bottom: 14px; }
  .sec-head h2, .services-head h2, .stack-head h2, .team-head h2, .how-head h2 {
    font-size: clamp(26px, 7.5vw, 38px);
  }

  /* Problem block — already stacks via existing query, just tighten */
  .problem-block h2 { font-size: clamp(28px, 7.5vw, 44px); }

  /* Comparison table → stacked block layout (each row becomes a card) */
  .cmp-row { display: block; padding: 18px 20px; }
  .cmp-row.head { display: none; }
  .cmp-row > div { padding: 4px 0; }
  .cmp-row > div + div { border-left: none; padding-top: 8px; }
  .cmp .cap {
    font-family: var(--mono); font-size: 11px;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px; padding-bottom: 8px;
    border-bottom: 1px dashed var(--rule);
  }

  /* Proof stories */
  .proof-story { gap: 14px; padding: 26px 0; }
  .proof-story .stat-big { font-size: clamp(56px, 16vw, 80px); }
  .proof-story blockquote { font-size: clamp(16px, 4.5vw, 20px); }

  /* Stack section */
  .stack-head { margin-bottom: 24px; }
  .layer-card { min-height: auto; padding: 22px 22px 24px; }
  .layer-card-top { margin-bottom: 28px; }
  .layer-card .name { font-size: clamp(28px, 8vw, 36px); }

  /* How-it-works */
  .step { padding: 22px 20px; }
  .step .num { font-size: 44px; }
  .step h3 { font-size: 24px; }

  /* Manifesto */
  .manifesto-line { font-size: clamp(24px, 6.5vw, 36px); padding: 0 24px; }
  .manifesto-stage .counter { left: 20px; top: 16px; font-size: 9px; }
  .manifesto-stage .stamp   { right: 20px; top: 16px; font-size: 9px; }

  /* Team cards */
  .person { min-height: auto; padding: 24px 20px 20px; }

  /* CTA banner */
  .cta-band { border-radius: 18px; padding: clamp(36px, 8vw, 56px) clamp(22px, 5vw, 36px); }
  .cta-band h2 { font-size: clamp(28px, 7vw, 44px); margin: 14px 0 18px; }
  .cta-band .btn-light { padding: 14px 22px; font-size: 14px; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-row .small { text-align: center; }
  .cta-facts { margin-top: 28px; gap: 16px; }
  .cta-facts .v { font-size: 22px; }

  /* Footer */
  footer { padding: 56px 0 36px; }
  .foot-top { gap: 28px; padding-bottom: 32px; }

  /* Theme prompt */
  .dusk-prompt {
    min-width: 240px;
    padding: 12px 18px 6px;
    bottom: 20px;
  }
}

@media (max-width: 540px) {
  /* Authority strip → single column */
  .authority-grid { grid-template-columns: 1fr; }
  .stat { padding: 22px 20px 14px; border-right: none; border-bottom: 1px solid var(--rule); }
  .stat:last-child { border-bottom: none; }
  .stat .v { font-size: clamp(34px, 11vw, 52px); }

  /* Nav minimal */
  .nav-cta { gap: 10px; }
  .nav-cta .btn { padding: 7px 12px; font-size: 12.5px; }
  .dusk-toggle, .nav-burger { width: 36px; height: 36px; }
  .nav-burger span { left: 10px; right: 10px; }
  .nav-burger span:nth-child(1) { top: 13px; }
  .nav-burger span:nth-child(2) { top: 20px; }
  .nav.open .nav-burger span:nth-child(1), .nav.open .nav-burger span:nth-child(2) { top: 16.5px; }
  .logo .word { font-size: 19px; }

  /* Footer single col */
  .foot-top { grid-template-columns: 1fr; gap: 24px; }
  .foot-bot { font-size: 11.5px; }

  /* Manifesto smaller */
  .manifesto-line { font-size: clamp(22px, 7vw, 32px); }

  /* Section padding */
  section { padding: clamp(40px, 6vw, 64px) 0; }
}

@media (max-width: 400px) {
  /* Tightest layout */
  :root { --pad: 18px; }
  .nav-cta .btn { padding: 7px 11px; font-size: 11.5px; }
  .nav-cta .btn .arr { display: none; }
  .logo .word { font-size: 18px; }
  .nav-cta { gap: 8px; }
  .dusk-toggle { width: 34px; height: 34px; }
  .dusk-toggle svg { width: 16px; height: 16px; }
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .stagger > * { opacity: 1; transform: none; }
}

/* ─────────────────────────────────────────── DARK MODE — Nightfall transition
   Toggle, curtain, stars, shooting stars, prompt — all overlay layers
   that come alive when --theme > 0. */

/* Sun toggle in nav (no moon, no morph — sun dims as we go to night) */
.dusk-toggle {
  position: relative; width: 40px; height: 40px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--rule-strong);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink); flex-shrink: 0;
  transition: background .25s, border-color .25s, transform .35s var(--ease-spring);
}
.dusk-toggle:hover { transform: scale(1.06); border-color: var(--ink); }
.dusk-toggle svg {
  width: 18px; height: 18px;
  opacity: calc(1 - var(--theme) * 0.30);
  transform: scale(calc(1 - var(--theme) * 0.20));
  transition: opacity .25s linear, transform .35s var(--ease-spring);
}
.dusk-toggle svg line { opacity: calc(1 - var(--theme) * 0.85); transition: opacity .35s; }

/* Body grain — only visible in light mode. Dark mode is grain-free
   so the page reads as flat pitch black with no perceptible noise. */
body::before {
  mix-blend-mode: multiply;
  opacity: calc(0.5 - var(--theme) * 0.5);
  transition: opacity .25s linear;
}

/* === BACKLIT card glow — radial spotlight from top-right corner ===
   Visible only in nightfall (opacity tied to --theme). Each card carries
   a --glow color tied to its identity (indigo/teal/amber/rose/cream). */
/* Backlit glow is reserved ONLY for the three Stack product cards
   (Signal / Resolve / Command). Slack widget, Comparison, Pillars,
   and Team cards stay clean with just an outline. */
.layer-card {
  isolation: isolate;
}
.layer-card::before {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at 80% 0%,
    color-mix(in srgb, var(--glow, #B0B6FF) 24%, transparent) 0%,
    transparent 55%);
  opacity: var(--theme);
  transition: opacity .25s linear;
}

/* Pillars stage in dark mode — slightly more visible outline since no glow */
.pillars-stage {
  border-color: color-mix(in srgb, var(--rule) calc((1 - var(--theme)) * 100%), var(--rule-strong) calc(var(--theme) * 100%));
}

/* Star field — colorful varied stars, scattered */
.stars {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 8;
  overflow: hidden;
  opacity: calc(var(--theme) * 0.85);
  transition: opacity .2s linear;
}
.stars .star {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 99px;
  background: var(--star-c, rgba(241,236,226, 0.85));
  box-shadow: 0 0 5px var(--star-g, rgba(241,236,226, 0.55));
  animation: starTwinkle 3.2s ease-in-out infinite;
}
.stars .star.big {
  width: 3.5px; height: 3.5px;
  box-shadow: 0 0 9px var(--star-g, rgba(241,236,226, 0.65));
}
.stars .cream  { --star-c: rgba(241,236,226, 0.90); --star-g: rgba(241,236,226, 0.55); }
.stars .amber  { --star-c: rgba(244,184,96,  0.95); --star-g: rgba(244,184,96,  0.65); }
.stars .indigo { --star-c: rgba(162,168,255, 0.95); --star-g: rgba(162,168,255, 0.65); }
.stars .teal   { --star-c: rgba(134,222,204, 0.95); --star-g: rgba(134,222,204, 0.65); }
.stars .violet { --star-c: rgba(196,154,232, 0.95); --star-g: rgba(196,154,232, 0.65); }
.stars .rose   { --star-c: rgba(232,161,168, 0.95); --star-g: rgba(232,161,168, 0.65); }
@keyframes starTwinkle {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.95; }
}
.stars .s1  { top:  6%; left: 12%; animation-delay: .0s; }
.stars .s2  { top: 14%; left: 28%; animation-delay: .8s; }
.stars .s3  { top:  9%; left: 47%; animation-delay: 1.4s; }
.stars .s4  { top: 22%; left: 66%; animation-delay: .3s; }
.stars .s5  { top: 18%; left: 84%; animation-delay: 1.9s; }
.stars .s6  { top: 32%; left:  8%; animation-delay: .6s; }
.stars .s7  { top: 38%; left: 38%; animation-delay: 1.2s; }
.stars .s8  { top: 44%; left: 72%; animation-delay: .9s; }
.stars .s9  { top: 52%; left: 22%; animation-delay: 1.7s; }
.stars .s10 { top: 60%; left: 58%; animation-delay: .4s; }
.stars .s11 { top: 68%; left: 90%; animation-delay: 2.1s; }
.stars .s12 { top: 76%; left: 14%; animation-delay: 1.0s; }
.stars .s13 { top: 84%; left: 44%; animation-delay: 1.6s; }
.stars .s14 { top: 88%; left: 78%; animation-delay: .2s; }

/* Shooting stars — fire occasionally, diagonal streaks */
.shooting-stars {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 8;
  overflow: hidden;
  opacity: var(--theme);
  transition: opacity .2s linear;
}
.shooting-stars .shoot {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 99px;
  background: rgba(241,236,226, 0.95);
  box-shadow: 0 0 8px rgba(241,236,226, 0.7);
  opacity: 0;
}
.shooting-stars .shoot::before {
  content: ""; position: absolute; top: 50%; right: 100%;
  width: 80px; height: 1px;
  background: linear-gradient(to left, rgba(241,236,226, 0.85), transparent);
  transform: translateY(-50%);
}
/* Five shooting stars scattered across the viewport. All move up-right.
   Trail (extends leftward from dot) rotates CCW so it falls behind the
   diagonal motion — points to lower-left. */
.shooting-stars .sh1 { top: 70%; left:  5%; animation: shoot1 16s ease-in infinite; animation-delay: 2s;  }
.shooting-stars .sh2 { top: 82%; left: 28%; animation: shoot2 22s ease-in infinite; animation-delay: 7s;  }
.shooting-stars .sh3 { top: 60%; left: 55%; animation: shoot3 18s ease-in infinite; animation-delay: 13s; }
.shooting-stars .sh4 { top: 90%; left: 12%; animation: shoot4 20s ease-in infinite; animation-delay: 4s;  }
.shooting-stars .sh5 { top: 50%; left: 75%; animation: shoot5 24s ease-in infinite; animation-delay: 17s; }
@keyframes shoot1 {
  0%   { opacity: 0; transform: translate(0, 0)           rotate(-28deg); }
  2%   { opacity: 1; transform: translate(0, 0)           rotate(-28deg); }
  6%   { opacity: 1; transform: translate(340px, -180px)  rotate(-28deg); }
  8%   { opacity: 0; transform: translate(380px, -200px)  rotate(-28deg); }
  100% { opacity: 0; transform: translate(380px, -200px)  rotate(-28deg); }
}
@keyframes shoot2 {
  0%   { opacity: 0; transform: translate(0, 0)           rotate(-30deg); }
  3%   { opacity: 1; transform: translate(0, 0)           rotate(-30deg); }
  7%   { opacity: 1; transform: translate(440px, -240px)  rotate(-30deg); }
  9%   { opacity: 0; transform: translate(480px, -260px)  rotate(-30deg); }
  100% { opacity: 0; transform: translate(480px, -260px)  rotate(-30deg); }
}
@keyframes shoot3 {
  0%   { opacity: 0; transform: translate(0, 0)           rotate(-23deg); }
  3%   { opacity: 1; transform: translate(0, 0)           rotate(-23deg); }
  6%   { opacity: 1; transform: translate(280px, -120px)  rotate(-23deg); }
  8%   { opacity: 0; transform: translate(320px, -140px)  rotate(-23deg); }
  100% { opacity: 0; transform: translate(320px, -140px)  rotate(-23deg); }
}
@keyframes shoot4 {
  0%   { opacity: 0; transform: translate(0, 0)           rotate(-26deg); }
  3%   { opacity: 1; transform: translate(0, 0)           rotate(-26deg); }
  7%   { opacity: 1; transform: translate(380px, -200px)  rotate(-26deg); }
  9%   { opacity: 0; transform: translate(420px, -220px)  rotate(-26deg); }
  100% { opacity: 0; transform: translate(420px, -220px)  rotate(-26deg); }
}
@keyframes shoot5 {
  0%   { opacity: 0; transform: translate(0, 0)           rotate(-27deg); }
  2%   { opacity: 1; transform: translate(0, 0)           rotate(-27deg); }
  6%   { opacity: 1; transform: translate(360px, -180px)  rotate(-27deg); }
  8%   { opacity: 0; transform: translate(400px, -200px)  rotate(-27deg); }
  100% { opacity: 0; transform: translate(400px, -200px)  rotate(-27deg); }
}

/* Dusk prompt — bottom-center pill */
.dusk-prompt {
  position: fixed; left: 50%; bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  z-index: 60; opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease-out-expo), transform .5s var(--ease-out-expo);
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper-2) 88%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--rule); border-radius: 99px;
  padding: 14px 22px 8px; box-shadow: 0 18px 44px rgba(0,0,0,.18);
  display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 280px;
}
.dusk-prompt.visible { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dusk-prompt .text { display: inline-flex; align-items: center; gap: 12px; }
.dusk-prompt .arrow { display: inline-block; animation: arrowBounce 1.4s ease-in-out infinite; }
@keyframes arrowBounce { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(3px); opacity: 1; } }
.dusk-prompt .progress { width: 100%; height: 1.5px; background: var(--rule); position: relative; overflow: hidden; border-radius: 99px; }
.dusk-prompt .progress .fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: var(--ink);
  width: calc(var(--prompt-progress, 0) * 100%);
  transition: width .15s linear;
}
.dusk-prompt .hint { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 10.5px; color: var(--muted); margin-top: 2px; }

/* ─────────────────────────── GLOOCK has no italic — neutralize synthetic italic.
   Emphasis carries through color (indigo / rose) already set elsewhere. */
.display em,
.hero h1 em,
.hero h1 .accent,
.manifesto-line em,
.problem-block h2 em,
.services-head h2 em,
.stack-head h2 em,
.how-head h2 em,
.team-head h2 em,
.cta-band h2 em,
.vert .row .who em,
.sec-mark .n,
.stat .v,
.vert .row .n,
.step .num,
.proof-story .stat-big,
.cta-facts .v {
  font-style: normal;
  font-variation-settings: normal;
}
/* Body italic emphasis still wants slant — fall back to system serif italic */
.proof-story p em,
.running em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

/* ─────────────────────────────────────────── TEAM TEASER (home) */
.team-teaser {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding: 26px 30px; border: 1px solid var(--rule); border-radius: 14px;
  background: var(--surface); color: inherit; text-decoration: none;
  transition: transform .35s var(--ease-spring), border-color .35s ease, box-shadow .35s ease;
}
.team-teaser:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 18px 40px rgba(26,26,46,.08); }
.team-teaser .seats { display: flex; }
.team-teaser .seats span {
  width: 44px; height: 44px; border-radius: 99px; margin-left: -10px;
  background: linear-gradient(155deg, var(--tone) 0%, #1A1A2E 90%);
  border: 3px solid var(--surface);
}
.team-teaser .seats span:first-child { margin-left: 0; }
.team-teaser .roles { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.team-teaser .roles i { font-style: normal; opacity: .5; margin: 0 4px; }
.team-teaser .go { margin-left: auto; font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; }
.team-teaser .go .arr { display: inline-block; transition: transform .3s var(--ease-spring); }
.team-teaser:hover .go .arr { transform: translateX(5px); }
@media (max-width: 700px) { .team-teaser { padding: 22px; gap: 16px; } .team-teaser .go { margin-left: 0; width: 100%; } }

/* ─────────────────────────────────────────── BOOKING EMBED (final CTA) */
.cta-band .cta-sub { position: relative; z-index: 2; margin: -8px 0 22px; }
.booking {
  position: relative; z-index: 2;
  background: #FFFFFF; border-radius: 16px; padding: 8px;
  box-shadow: 0 24px 50px rgba(15, 12, 50, .35);
}
.booking iframe { display: block; width: 100%; min-height: 640px; border: 0; overflow: hidden; border-radius: 10px; }
.booking-fallback {
  display: block; text-align: center; padding: 10px 0 6px;
  font-size: 12.5px; color: #4338CA; text-decoration: none;
}
.booking-fallback:hover { text-decoration: underline; }

/* ─────────────────────────────────────────── TEAM PAGE */
.team-page { padding-top: clamp(120px, 14vw, 170px); }
.team-page .team-head { margin-bottom: 48px; }
.profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .profiles { grid-template-columns: minmax(0, 1fr); } }
.profile {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 16px;
  padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px;
  transition: transform .35s var(--ease-spring), border-color .35s ease, box-shadow .35s ease;
}
.profile:hover { transform: translateY(-4px); border-color: var(--tone); box-shadow: 0 18px 40px rgba(26,26,46,.08); }
.profile .id { display: flex; align-items: center; gap: 16px; }
.profile .av {
  flex: none; width: 64px; height: 64px; border-radius: 99px;
  background: linear-gradient(155deg, var(--tone) 0%, #1A1A2E 90%);
  display: flex; align-items: center; justify-content: center;
  color: #F5F1E8; font-family: var(--serif); font-size: 24px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--tone) 30%, transparent);
}
.profile .nm { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.015em; line-height: 1.1; }
.profile .rl { font-size: 13px; color: var(--muted); margin-top: 4px; }
.profile .pstat { border-top: 1px dashed var(--rule); padding-top: 20px; }
.profile .pstat .big { font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; color: var(--tone); }
.profile .pstat .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.profile blockquote { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.profile .footnote {
  margin-top: auto; display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.profile .footnote .ld { width: 6px; height: 6px; border-radius: 99px; background: #16A34A; }

/* ─────────────────────────────────────────── CONTACT PAGE (lead form) */
.start-page { padding-top: clamp(120px, 14vw, 170px); }
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .start-grid { grid-template-columns: minmax(0, 1fr); } }
.start-copy { position: sticky; top: 110px; }
/* One column: heading, then the calendar, then the supporting copy, so the widget isn't buried. */
@media (max-width: 960px) {
  .start-copy { position: static; display: contents; }
  .start-grid { row-gap: 22px; }
  .start-copy > .sec-mark { order: 1; margin-bottom: -6px; }
  .start-copy > .start-steps { margin-top: 10px; }
  .start-grid .start-copy > h1 { order: 2; margin-bottom: 0; }
  .start-copy > .lead { order: 3; }
  .start-grid > .start-card { order: 4; }
  .start-copy > .start-steps { order: 5; margin-top: 0; }
  .start-copy > .start-proof { order: 6; margin-top: 0; }
}
.start-copy h1 { font-size: clamp(38px, 5vw, 68px); margin-bottom: 20px; }
.start-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.start-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: baseline; font-size: 14.5px; line-height: 1.55; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--rule); }
.start-steps b { color: var(--ink); font-weight: 600; }
.start-steps .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.start-proof { display: flex; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; margin-top: 32px; padding-top: 22px; border-top: 1px dashed var(--rule-strong); }
.start-proof .v { font-family: var(--serif); font-style: italic; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); }
.start-proof .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
/* The GHL form renders on white, so the card stays white in both themes (like the booking embed). */
.start-card {
  background: #FFFFFF; border-radius: 18px; padding: clamp(10px, 1.6vw, 20px);
  border: 1px solid var(--rule); box-shadow: 0 24px 60px rgba(26, 26, 46, .10);
}
.lead-embed { min-height: 640px; }
.lead-embed iframe { display: block; width: 100%; min-height: 640px; border: 0; border-radius: 10px; overflow: hidden; }
.lead-embed-wait { padding: 48px 24px; text-align: center; font-size: 14px; color: #6B6259; }
.lead-embed-missing { padding: 40px 24px; font-size: 15px; line-height: 1.6; color: #2D2942; }
.lead-embed-missing a { color: #4338CA; }
.start-booked { padding-top: clamp(110px, 12vw, 150px) !important; }

/* ─────────────────────────────────────────── CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-card {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: clamp(22px, 3vw, 34px);
  transition: transform .35s var(--ease-spring), border-color .35s ease, box-shadow .35s var(--ease-out-expo);
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--rule-strong); box-shadow: 0 18px 40px rgba(26,26,46,.08); }
.contact-card .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-card h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.015em; line-height: 1.15; overflow-wrap: anywhere; }
.contact-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 44ch; }
.contact-card .go { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; color: var(--indigo); }
.contact-card:hover .arr { transform: translateX(4px); }
.contact-card .arr { display: inline-block; transition: transform .3s var(--ease-spring); }
/* Primary card: the locked indigo of the CTA band, same in both themes. */
.contact-card.is-primary { background: linear-gradient(135deg, #4F46E5 0%, #4338CA 45%, #5B21B6 100%); border-color: transparent; color: #fff; }
.contact-card.is-primary .k { color: rgba(255,255,255,.7); }
.contact-card.is-primary p { color: rgba(255,255,255,.82); }
.contact-card.is-primary .go { color: #fff; }

/* ─────────────────────────────────────────── LEAK FINDER PAGE (lead magnet) */
.leak-page .leak-head h1, .leak-report .leak-head .rp-title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 62px); letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
.leak-page .leak-head h1 em, .leak-report .leak-head .rp-title em { font-style: italic; color: var(--rose); }
.leak-out .lo-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; font-size: 14px; line-height: 1.45; color: rgba(245,241,232,.9); }
.leak-out .lo-list li { padding-left: 18px; position: relative; }
.leak-out .lo-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 1px; background: rgba(245,241,232,.6); }
.leak-out button.btn { align-self: flex-start; }
.leak-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(48px, 7vw, 88px); scroll-margin-top: 96px; }
@media (max-width: 960px) { .leak-form { grid-template-columns: minmax(0, 1fr); } }
.leak-form[hidden] { display: none; }
.leak-form h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.018em; line-height: 1.08; margin-bottom: 14px; }
.leak-form h2 em { font-style: italic; }
.leak-form .lead-embed { min-height: 420px; }

.rp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (max-width: 860px) { .rp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rp-stats > div { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 20px; }
.rp-stats .v { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.rp-stats .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.rp-block { margin-bottom: clamp(36px, 5vw, 64px); }
.rp-block h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.8vw, 36px); letter-spacing: -0.015em; margin-bottom: 8px; }
.rp-block > .lead { margin-bottom: 22px; }
.rp-chart { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(4px, 1vw, 12px); align-items: end; padding: 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; }
.rp-chart .col { display: grid; gap: 6px; text-align: center; min-width: 0; }
.rp-chart .bars { position: relative; height: clamp(140px, 22vw, 240px); }
.rp-chart .bars span { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 4px 4px 0 0; }
.rp-chart .bars .b { background: color-mix(in srgb, var(--teal) 38%, transparent); }
.rp-chart .bars .a { background: var(--indigo); }
.rp-chart .mo { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.rp-chart .val { font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) { .rp-chart .val { display: none; } }
.rp-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.rp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.rp-legend i.a { background: var(--indigo); }
.rp-legend i.b { background: color-mix(in srgb, var(--teal) 38%, transparent); }
.rp-table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); }
.rp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.rp-table th { text-align: left; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.rp-table td { padding: 14px 18px; border-bottom: 1px solid var(--rule); color: var(--ink); font-variant-numeric: tabular-nums; }
.rp-table tr:last-child td { border-bottom: 0; }
.rp-table td:last-child { font-family: var(--serif); font-size: 19px; }
.leak-report #cta .booking .lead-embed { min-height: 640px; }

/* ─────────────────────────────────────────── SUB-PAGES ON PHONES */
@media (max-width: 700px) {
  .start-page, .team-page { padding-top: 36px; }
  .start-booked { padding-top: 36px !important; }
  .team-page .team-head { margin-bottom: 28px; }
  .start-copy h1, .leak-page .leak-head h1, .leak-report .leak-head .rp-title { font-size: clamp(32px, 9vw, 40px); }
  .lead-embed-wait { padding: 32px 16px; }
  .leak-out button.btn { align-self: stretch; justify-content: center; }
  /* Scenario table fits the screen instead of hiding its last (most important) column off to the side. */
  .rp-table { min-width: 0; font-size: 13px; }
  .rp-table th { padding: 12px 8px; font-size: 9px; letter-spacing: .08em; vertical-align: bottom; }
  .rp-table td { padding: 12px 8px; }
  .rp-table th:first-child, .rp-table td:first-child { padding-left: 14px; }
  .rp-table th:last-child, .rp-table td:last-child { padding-right: 14px; }
  .rp-table td:last-child { font-size: 16px; }
  .rp-chart { padding: 14px 12px; }
  .rp-stats { gap: 10px; }
  .rp-stats > div { padding: 16px; }
}
.rp-block .lo-note { margin-top: 12px; }

/* ─────────────────────────────────────────── FAQ */
.faq-list { border-top: 1px solid var(--rule-strong); max-width: 900px; }
.faq { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-family: var(--serif); font-size: clamp(19px, 1.9vw, 25px); letter-spacing: -0.015em; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-family: var(--sans); font-weight: 300; font-size: 26px; line-height: 1; color: var(--indigo);
  transition: transform .3s var(--ease-out-expo);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
.faq p { padding: 0 4px 24px; max-width: 66ch; font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.faq p a { color: var(--indigo); }
#faq .team-head { margin-bottom: 36px; }

/* Trademark / independence line under the footer (all pages) */
.foot-legal { flex-basis: 100%; order: 3; font-size: 11.5px; line-height: 1.55; color: var(--muted-2); max-width: 90ch; }
