/* Avallo: avallo.io
   One stylesheet, hand written. Palette and type follow the Avallo pitch deck.
   Font: Inter (variable, self-hosted, SIL OFL), the closest free web match for the deck's Aptos. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #0066FF;
  --blue-hover: #0052CC;
  --blue-2: #3B82F6;
  --navy: #0F2D5B;
  --navy-ink: #0B2147;
  --navy-deep: #081A36;
  --night: #07152D;
  --pale: #E8F2FF;
  --bg: #F7FAFF;
  --white: #FFFFFF;
  --text: #52625D;
  --text-strong: #0F2D5B;
  --line: #DCE7F7;
  --line-strong: #C5D7F1;
  --on-dark: rgba(255, 255, 255, 0.94);
  --on-dark-muted: rgba(226, 236, 252, 0.76);
  --mark-navy: #0F2D5B;
  --mark-blue: #3D8BFF;
  --focus: #3B82F6;
  --focus-on-dark: #9CC2FF;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 45, 91, 0.05);
  --shadow: 0 1px 2px rgba(15, 45, 91, 0.04), 0 10px 30px rgba(15, 45, 91, 0.07);
  --shadow-lg: 0 2px 4px rgba(8, 26, 54, 0.08), 0 24px 60px rgba(8, 26, 54, 0.22);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --section-pad: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
h1, h2, h3, h4 { color: var(--text-strong); margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
strong { color: var(--text-strong); font-weight: 650; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }

/* ---------- Eyebrows, leads, buttons ---------- */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow-num {
  display: inline-block;
  margin-right: 10px;
  padding-right: 12px;
  border-right: 1px solid currentColor;
  opacity: 0.9;
}
.eyebrow-sep { margin: 0 8px; opacity: 0.7; }
.eyebrow--light { color: #7FB0FF; }

.lead { font-size: clamp(1.125rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 24px;
  border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 24px rgba(0, 102, 255, 0.28); }
.btn-primary:hover { background: var(--blue-hover); color: var(--white); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--white); border-color: rgba(255, 255, 255, 0.32); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  --logo-ink: #FFFFFF;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--navy);
  --logo-ink: var(--mark-navy);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; border-radius: 6px; }
.brand { position: relative; }
.lockup { width: 150px; height: auto; transition: opacity 0.3s var(--ease); }
.lockup--on-light { position: absolute; left: 0; top: 0; opacity: 0; }
.site-header.is-solid .lockup--on-dark { opacity: 0; }
.site-header.is-solid .lockup--on-light { opacity: 1; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav-menu { order: 1; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-menu a {
  color: inherit; text-decoration: none; font-size: 0.9375rem; font-weight: 500;
  opacity: 0.9; padding: 6px 0; position: relative;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav-menu a:hover { opacity: 1; color: inherit; }
.nav-menu a:hover::after, .nav-menu a[aria-current="page"]::after { transform: scaleX(1); }
.nav-menu a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav-cta {
  order: 2; color: inherit; text-decoration: none; font-size: 0.9375rem; font-weight: 600; white-space: nowrap;
  padding: 9px 18px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-cta:hover { background: rgba(255, 255, 255, 0.12); color: inherit; }
.site-header.is-solid .nav-cta { background: var(--blue); border-color: var(--blue); color: var(--white); }
.site-header.is-solid .nav-cta:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: var(--white); }
.site-header :focus-visible { outline-color: var(--focus-on-dark); }
.site-header.is-solid :focus-visible { outline-color: var(--focus); }

.nav-toggle {
  order: 3; display: none; align-items: center; gap: 10px;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.35); color: inherit;
  border-radius: 9px; padding: 8px 12px; font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer;
}
.site-header.is-solid .nav-toggle { border-color: var(--line-strong); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 600px) {
  .lockup { width: 128px; }
  .nav { gap: 10px; }
  .nav-cta { padding: 8px 14px; font-size: 0.875rem; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .js .nav-toggle { padding: 10px 11px; }
  .js .nav-menu {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); color: var(--navy);
    padding: 6px var(--gutter) 12px;
    box-shadow: 0 18px 40px rgba(8, 26, 54, 0.16);
    border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
  }
  .js .nav-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .nav-menu li + li { border-top: 1px solid var(--line); }
  .js .nav-menu a { display: block; padding: 14px 0; font-size: 1.0625rem; }
  .js .nav-menu a::after { display: none; }
  html:not(.js) .nav-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(640px, 100svh, 920px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 88px;
  background: var(--night);
  color: var(--on-dark);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 70% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 21, 45, 0.9) 0%, rgba(7, 21, 45, 0.72) 34%, rgba(7, 21, 45, 0.2) 62%, rgba(7, 21, 45, 0) 80%),
    linear-gradient(180deg, rgba(7, 21, 45, 0.45) 0%, rgba(7, 21, 45, 0) 22%, rgba(7, 21, 45, 0) 72%, rgba(7, 21, 45, 0.65) 100%);
}
.hero-inner { position: relative; }
.hero-inner > * { max-width: 660px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.h1-second { display: block; color: #A9C8FF; }
.hero-lead { margin-top: 16px; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.65; color: var(--on-dark-muted); max-width: 590px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero :focus-visible { outline-color: var(--focus-on-dark); }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px; padding: 7px 14px 7px 12px;
  border: 1px solid rgba(169, 200, 255, 0.28); border-radius: 999px;
  background: rgba(15, 45, 91, 0.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 0.8125rem; font-weight: 500; color: var(--on-dark-muted); letter-spacing: 0.005em;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4D94FF; box-shadow: 0 0 0 4px rgba(77, 148, 255, 0.2); flex: none; }

@media (max-width: 700px) {
  .hero { min-height: 0; padding: calc(var(--header-h) + 36px) 0 64px; align-items: flex-end; }
  .hero-media img { object-position: 50% 30%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(7, 21, 45, 0.55) 0%, rgba(7, 21, 45, 0.35) 28%, rgba(7, 21, 45, 0.82) 62%, rgba(7, 21, 45, 0.96) 100%);
  }
  .hero-inner { padding-top: 120px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, #EEF5FF 0%, var(--bg) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 22px; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.section-head--split h2 { margin-bottom: 0; }



/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 28px 26px; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-index { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--blue); letter-spacing: 0.08em; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.card h3 { font-size: 1.1875rem; letter-spacing: -0.015em; margin-bottom: 8px; }
.card p { font-size: 0.98rem; line-height: 1.6; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Before and after comparison ---------- */
.compare { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.compare-col--avallo { background: linear-gradient(180deg, #F3F8FF 0%, var(--white) 60%); border-color: #CFE0FA; box-shadow: var(--shadow); }
.compare-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
.compare-col--avallo .compare-label { color: var(--blue); }
.compare-col h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; margin-bottom: 18px; }
.compare-col .diagram { margin: 4px auto 18px; }
.compare-intro { font-size: 0.94rem; color: var(--text); margin-bottom: 10px; }
.compare-list { display: grid; gap: 12px; }
.compare-list li { position: relative; padding-left: 22px; font-size: 0.98rem; line-height: 1.55; }
.compare-list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: #9AA9C2; }
.compare-col--avallo .compare-list li::before { background: var(--blue); transform: rotate(45deg); }
.compare-foot { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--navy); font-size: 0.98rem; }

/* ---------- Diagrams (inline SVG) ---------- */
.diagram { width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.diagram--wide { max-width: 1060px; margin-inline: auto; }
.diagram--tall { display: none; max-width: 420px; margin-inline: auto; }
.diagram--compare { max-width: 400px; margin-inline: auto; }
@media (max-width: 1100px) {
  .diagram--wide { display: none; }
  .diagram--tall { display: block; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .mechanism, .outcome-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; margin-top: clamp(32px, 4vw, 48px); }
  .mechanism .diagram-frame, .outcome-wrap .diagram-frame { margin-top: 0; }
  .mechanism .steps { margin-top: 0; grid-template-columns: 1fr !important; }
  .mechanism .steps .step:last-child { grid-column: auto; }
  .outcome-wrap .example { margin-top: 0; grid-template-columns: 1fr; }
}
.diagram-frame { margin-top: clamp(32px, 4vw, 48px); padding: clamp(18px, 3vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.diagram-frame--tint { background: linear-gradient(180deg, #F5F9FF, var(--white)); }
.dg-node { fill: var(--white); stroke: #C9D9F0; stroke-width: 1.2; }
.dg-core { stroke: none; filter: drop-shadow(0 14px 24px rgba(15, 45, 91, 0.28)); }
.dg-title { font-size: 19px; font-weight: 700; fill: var(--navy); letter-spacing: -0.01em; }
.dg-title--sm { font-size: 17px; }
.dg-title--xs { font-size: 15px; }
.dg-title--core { fill: var(--white); }
.dg-sub { font-size: 15px; font-weight: 450; fill: var(--text); }
.dg-sub--sm { font-size: 14px; }
.dg-sub--xs { font-size: 13.5px; }
.dg-sub--core { fill: rgba(226, 236, 252, 0.82); }
.dg-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; fill: var(--blue); }
.dg-eyebrow--core { fill: #8DB8FF; }
.dg-eyebrow--sm { font-size: 10.5px; }
.dg-core-title { font-size: 28px; font-weight: 700; fill: var(--white); letter-spacing: -0.02em; }
.dg-core-title--sm { font-size: 20px; }
.dg-core-sub { font-size: 15px; font-weight: 450; fill: rgba(236, 243, 255, 0.92); }
.dg-core-sub--sm { font-size: 13.5px; }
.dg-core-sub--xs { font-size: 13px; }
.dg-core-note { font-size: 12.5px; font-weight: 500; fill: #8DB8FF; }
.dg-label { font-size: 15px; font-weight: 650; fill: var(--navy); }
.dg-label-sub { font-size: 13.5px; font-weight: 450; fill: var(--text); }
.dg-line { fill: none; stroke: #8FB2E6; stroke-width: 1.8; }
.dg-line--flow { stroke: var(--blue); stroke-width: 2; }
.dg-line--soft { stroke: var(--blue-2); stroke-dasharray: 5 5; stroke-width: 1.6; }
.dg-line--risk { stroke: #9AA9C2; stroke-width: 2; stroke-dasharray: 2 0; }
.dg-arrowhead { fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dg-arrowhead--soft { stroke: var(--blue-2); }
.dg-arrowhead--grey { stroke: #9AA9C2; }
.dg-num { fill: var(--blue); }
.dg-num-text { font-size: 12.5px; font-weight: 700; fill: var(--white); }
.dg-num--core { fill: rgba(255, 255, 255, 0.14); }
.dg-num-text--core { fill: var(--white); }
.dg-chip { fill: var(--pale); stroke: #CFE0FA; stroke-width: 1; }
.dg-chip-text { font-size: 13px; font-weight: 600; fill: var(--navy); }
.dg-chip--warn { fill: #F2F5FA; stroke: #D5DDEA; }
.dg-chip--core { fill: rgba(255, 255, 255, 0.1); stroke: rgba(255, 255, 255, 0.22); }
.dg-chip-text--core { fill: var(--white); }
.dg-chip-text--sm { font-size: 11.5px; }
.dg-pill { fill: var(--white); stroke: #BFD4F3; stroke-width: 1.2; }
.dg-pill-text { font-size: 13px; font-weight: 650; fill: var(--navy); }
.dg-dot { fill: var(--blue-2); }
.dg-check-box { fill: none; stroke: #8DB8FF; stroke-width: 1.6; }
.dg-inner-dashed { fill: #F6F8FC; stroke: #B9C6DA; stroke-width: 1.2; stroke-dasharray: 4 4; }
.dg-out { stroke: #D3E1F5; }
.dg-out--deny { fill: var(--navy); stroke: var(--navy); }
.dg-out-bar--allow { fill: var(--blue); }
.dg-out-bar--escalate { fill: var(--blue-2); }
.dg-out-bar--deny { fill: #7FB0FF; }
.dg-out-icon--allow { fill: var(--blue); }
.dg-out-icon--escalate { fill: var(--pale); }
.dg-out-icon--deny { fill: rgba(255, 255, 255, 0.12); }
.dg-out-glyph { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dg-out-glyph--allow { stroke: var(--white); }
.dg-out-glyph--escalate { stroke: var(--blue); }
.dg-out-glyph--deny { stroke: var(--white); }
.dg-pulse { fill: none; stroke: #9CC2FF; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 12 200; stroke-dashoffset: 12; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .dg-pulse { animation: dg-pulse 4.8s var(--ease) infinite; }
  .dg-pulse--2 { animation-delay: 0.6s; }
  .dg-pulse--3 { animation-delay: 1.4s; }
  .dg-pulse--4 { animation-delay: 2.1s; }
}
@keyframes dg-pulse {
  0% { stroke-dashoffset: 12; opacity: 0; }
  4% { opacity: 1; }
  22% { stroke-dashoffset: -96; opacity: 1; }
  26%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

/* ---------- How it works: terms, steps, subsections ---------- */
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; }
.term { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); position: relative; }
.term::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue); }
.term dt { font-size: 1.125rem; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 6px; }
.term dd { margin: 0; font-size: 0.98rem; line-height: 1.6; }

.steps { margin-top: 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 22px; box-shadow: var(--shadow-sm); }
.step--core { background: var(--navy); border-color: var(--navy); }
.step--core h3 { color: var(--white); }
.step--core p { color: var(--on-dark-muted); }
.step-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 0.8125rem; font-weight: 700; margin-bottom: 12px; }
.step--core .step-num { background: rgba(255, 255, 255, 0.14); }
.step h3 { font-size: 1.0625rem; letter-spacing: -0.01em; margin-bottom: 6px; }
.step p { font-size: 0.92rem; line-height: 1.55; }


.example { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; align-items: baseline; background: var(--navy); color: var(--on-dark-muted); border-radius: var(--radius); padding: 22px clamp(22px, 3vw, 32px); }
.example-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #8DB8FF; }
.example p:last-child { color: var(--white); font-size: 1rem; line-height: 1.6; }

.layers { margin-top: clamp(32px, 4vw, 48px); }
.layer h3, .layer h4 { font-size: clamp(1.3rem, 1.9vw, 1.5rem); letter-spacing: -0.025em; margin-bottom: 8px; }
.layer--core h3, .layer--core h4 { color: var(--white); }
.layer-tech-label { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); margin-bottom: 10px; }
.layer--core .layer-tech-label { border-color: rgba(255, 255, 255, 0.14); color: #8DB8FF; }
.layer-note { margin-top: 28px; font-size: 0.94rem; color: var(--text); max-width: 820px; padding-left: 18px; border-left: 2px solid var(--line-strong); }

.list-intro { margin-top: 22px; font-weight: 600; color: var(--navy); }
.capabilities { margin-top: 12px; }
.capabilities li p { font-size: 1rem; color: var(--navy); font-weight: 500; padding-top: 4px; }
.turnstile-hint { margin: -6px 0 16px; font-size: 0.84rem; color: var(--text); }
.turnstile-hint[hidden] { display: none; }

/* ---------- Capabilities ---------- */
.capabilities { margin-top: 30px; display: grid; gap: 4px; counter-reset: cap; }
.capabilities li {
  display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: start;
  padding: 16px 0; border-top: 1px solid var(--line-strong);
}
.capabilities li:last-child { border-bottom: 1px solid var(--line-strong); }
.cap-num {
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center;
  background: var(--white); border: 1px solid #CFE0FA; color: var(--blue);
  font-size: 0.875rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.capabilities h3 { font-size: 1.0625rem; letter-spacing: -0.01em; margin-bottom: 2px; }
.capabilities p { font-size: 0.98rem; }

/* ---------- Layers (architecture graphic) ---------- */
.layers { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: clamp(20px, 2.4vw, 36px); align-items: stretch; position: relative; }
.layer {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 2.6vw, 36px); box-shadow: var(--shadow-sm);
}
.layer:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: calc(-1 * clamp(20px, 2.4vw, 36px) / 2 - 9px);
  width: 18px; height: 18px; border-radius: 50%; z-index: 2;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M7 5l4 4-4 4' fill='none' stroke='%230066FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  box-shadow: 0 0 0 1px var(--line-strong), 0 4px 10px rgba(15, 45, 91, 0.1);
  transform: translateY(-50%);
}
.layer-step { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; color: var(--blue); display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.layer h3 { font-size: clamp(1.375rem, 2vw, 1.625rem); letter-spacing: -0.025em; margin-bottom: 8px; }
.layer-sum { font-size: 1rem; color: var(--text); margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.layer-list { display: grid; gap: 11px; }
.layer-list li { display: flex; gap: 12px; align-items: baseline; font-size: 0.98rem; color: var(--navy); font-weight: 500; }
.layer-list li::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--blue-2); flex: none; transform: translateY(-2px) rotate(45deg); }

.layer--core {
  background: linear-gradient(165deg, #12366D 0%, var(--navy) 46%, var(--navy-ink) 100%);
  border-color: transparent; color: var(--on-dark);
  box-shadow: 0 30px 70px rgba(15, 45, 91, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: translateY(-14px);
}
.layer--core::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, var(--blue) 25%, #6FA8FF 50%, var(--blue) 75%, transparent);
}
.layer--core h3 { color: var(--white); }
.layer--core .layer-step { color: #8DB8FF; }
.layer--core .layer-sum { color: var(--on-dark-muted); border-color: rgba(255, 255, 255, 0.14); }
.layer--core .layer-list li { color: var(--white); }
.layer--core .layer-list li::before { background: var(--mark-blue); }
.layer-badge {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  background: var(--blue); color: var(--white); letter-spacing: 0.12em; font-size: 0.6875rem; text-transform: uppercase;
}
.layer-decisions { margin-top: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.layer-decisions span {
  padding: 6px 12px; border-radius: 8px; font-size: 0.8125rem; font-weight: 600;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--white);
}

/* ---------- Evidence it works (stat tiles) ---------- */
.evidence { margin-top: clamp(48px, 6vw, 80px); background: linear-gradient(160deg, #12366D 0%, var(--navy) 45%, var(--navy-ink) 100%); color: var(--on-dark-muted); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px); box-shadow: 0 30px 70px rgba(15, 45, 91, 0.28); position: relative; overflow: hidden; }
.evidence::before { content: ""; position: absolute; left: clamp(28px, 4vw, 52px); right: clamp(28px, 4vw, 52px); top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, transparent, var(--blue) 25%, #6FA8FF 50%, var(--blue) 75%, transparent); }
.evidence-head { max-width: 760px; }
.evidence-head .eyebrow { margin-bottom: 10px; }
.evidence-head h3 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 12px; }
.evidence-head p:last-child { font-size: 1rem; }
.stat-row { margin-top: clamp(28px, 3vw, 40px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.stat { padding: 26px clamp(18px, 2.4vw, 32px) 4px 0; }
.stat + .stat { padding-left: clamp(18px, 2.4vw, 32px); border-left: 1px solid rgba(255, 255, 255, 0.14); }
.stat-value { color: var(--white); font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1; margin-bottom: 14px; }
.stat-label { font-size: 0.95rem; line-height: 1.55; color: var(--on-dark-muted); max-width: 320px; }
.evidence-facts { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px clamp(18px, 2.4vw, 32px); }
.evidence-facts li { position: relative; padding-left: 18px; font-size: 0.95rem; color: var(--white); }
.evidence-facts li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 1px; background: #6FA8FF; transform: rotate(45deg); }

/* ---------- Control layer technology status ---------- */
.tech-list { display: grid; gap: 8px; }
.tech-list { gap: 10px; }
.tech-list li { display: grid; gap: 1px; font-size: 0.94rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
.tech-state { display: inline-flex; align-items: flex-start; gap: 7px; font-size: 0.8125rem; font-weight: 500; color: var(--text); }
.tech-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; margin-top: 0.5em; }
.tech-state--core { color: var(--blue); font-weight: 650; }
.tech-state--core::before { background: var(--blue); }
.tech-state--existing::before { background: var(--navy); }
.tech-state--pilot::before { background: transparent; box-shadow: inset 0 0 0 1.5px #9AA9C2; }
.layer--core .tech-state { color: var(--on-dark-muted); }
.layer--core .tech-state--core { color: #8DB8FF; }
.layer--core .tech-state--core::before { background: #8DB8FF; }
.layer--core .tech-state--existing::before { background: var(--white); }
.tech-status { flex: none; padding: 3px 9px; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.tech-status--existing { background: var(--pale); color: var(--navy); border: 1px solid #D2E3FB; }
.tech-status--core { background: var(--blue); color: var(--white); border: 1px solid var(--blue); }
.tech-status--pilot { background: transparent; color: var(--text); border: 1px dashed var(--line-strong); }
.layer--core .tech-list li { color: var(--white); }
.layer--core .tech-status--existing { background: rgba(255, 255, 255, 0.1); color: var(--white); border-color: rgba(255, 255, 255, 0.22); }
.layer--core .tech-status--pilot { color: var(--on-dark-muted); border-color: rgba(255, 255, 255, 0.3); }

/* ---------- Bank block head, pilot measures ---------- */
.measures { margin-top: 24px; padding: 18px 20px; border-radius: 12px; background: rgba(0, 102, 255, 0.1); border: 1px solid rgba(127, 176, 255, 0.28); }
.measures-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #8DB8FF; margin-bottom: 10px; }
.measures ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.measures li { position: relative; padding-left: 16px; font-size: 0.92rem; line-height: 1.45; color: var(--white); }
.measures li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 1px; background: var(--mark-blue); transform: rotate(45deg); }
@media (max-width: 900px) {
    .stat-row { grid-template-columns: 1fr; }
  .stat { padding: 22px 0 4px; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .stat-label { max-width: none; }
  .evidence-facts { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .measures ul { grid-template-columns: 1fr; }
}

/* ---------- CTA and contact ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-dark); padding: var(--section-pad) 0 calc(var(--section-pad) + 8px); }
.cta-media { position: absolute; inset: 0 0 auto 0; height: clamp(110px, 12vw, 210px); z-index: -1; }
.cta-media picture, .cta-media img { width: 100%; height: 100%; }
.cta-media img { object-fit: cover; object-position: 60% 50%; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgba(7, 21, 45, 0) 30%, rgba(7, 21, 45, 0) 62%, var(--night) 100%); }
.cta::before { content: ""; position: absolute; left: 50%; top: 0; width: min(1100px, 120%); height: 520px; transform: translateX(-50%); z-index: -2; background: radial-gradient(50% 42% at 50% 18%, rgba(0, 102, 255, 0.16), transparent 70%); }
.cta-head { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); }
.cta-head h2 { color: var(--white); font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -0.035em; margin-bottom: 18px; }
.cta-head .lead { color: var(--on-dark-muted); }
.cta :focus-visible { outline-color: var(--focus-on-dark); }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-details { padding-top: 12px; }
.contact-details h3 { color: var(--white); font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 14px; }
.contact-details > p { color: var(--on-dark-muted); }
.pilot-steps { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.pilot-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.pilot-num { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(0, 102, 255, 0.18); border: 1px solid rgba(127, 176, 255, 0.4); color: #CFE0FF; font-weight: 700; font-size: 0.875rem; }
.pilot-steps strong { display: block; color: var(--white); font-weight: 650; margin-bottom: 2px; }
.pilot-steps span { color: var(--on-dark-muted); font-size: 0.98rem; }

.form-card { background: var(--white); color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(26px, 3.4vw, 44px); }
.form-card :focus-visible { outline-color: var(--focus); }
.form-title { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.form-intro { font-size: 0.96rem; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.optional { font-weight: 450; color: var(--text); }
.field input, .field textarea {
  display: block; width: 100%;
  font: inherit; font-size: 1rem; color: var(--navy); line-height: 1.45;
  background: #FBFDFF; border: 1px solid #C9D8EE; border-radius: 10px;
  padding: 12px 14px; min-height: 48px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:hover, .field textarea:hover { border-color: #A9C2E6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.14); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #C2253B; box-shadow: 0 0 0 4px rgba(194, 37, 59, 0.1); }
.field-error { margin-top: 7px; font-size: 0.875rem; font-weight: 500; color: #B3172E; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot { min-height: 0; margin: 6px 0 18px; }
.turnstile-slot.is-active { min-height: 65px; }
.form-status { margin-bottom: 16px; padding: 13px 16px; border-radius: 10px; font-size: 0.94rem; line-height: 1.5; background: #FFF4F5; border: 1px solid #F3C4CB; color: #8E1326; }
.form-status.is-info { background: var(--pale); border-color: #CFE0FA; color: var(--navy); }
.form-privacy { margin-top: 16px; font-size: 0.84rem; line-height: 1.55; color: var(--text); }
.form-noscript { margin-top: 12px; font-size: 0.9rem; color: #8E1326; }
.btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: var(--white); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { text-align: center; padding: clamp(24px, 4vw, 48px) 8px; }
.form-success:focus { outline: none; }
.success-icon { width: 56px; height: 56px; margin: 0 auto 20px; fill: var(--pale); stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.success-icon circle { stroke: #CFE0FA; stroke-width: 1.5; }
.form-success h3 { font-size: 1.625rem; margin-bottom: 10px; }
.form-success p { max-width: 380px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-muted); padding: clamp(56px, 7vw, 80px) 0 28px; font-size: 0.94rem; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-brand img { width: 164px; height: auto; margin-bottom: 18px; }
.footer-tagline { color: var(--white); font-weight: 600; margin-bottom: 4px; }
.footer-nav ul { display: grid; gap: 10px; }
.footer-nav a, .footer-base a { color: var(--on-dark-muted); text-decoration: none; }
.footer-nav a:hover, .footer-base a:hover { color: var(--white); text-decoration: underline; }
.status-pill--footer { margin-bottom: 14px; background: rgba(255, 255, 255, 0.04); }
.footer-status p:last-child { font-size: 0.875rem; line-height: 1.6; max-width: 380px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 0.84rem; }
.site-footer :focus-visible { outline-color: var(--focus-on-dark); }

/* ---------- Simple pages (privacy, 404) ---------- */
.page { padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 var(--section-pad); }
.page-hero { background: var(--night); color: var(--on-dark); padding: calc(var(--header-h) + clamp(48px, 7vw, 80px)) 0 clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.25rem); letter-spacing: -0.03em; line-height: 1.08; }
.page-hero p { margin-top: 14px; color: var(--on-dark-muted); max-width: 640px; }
.prose { max-width: 760px; padding: clamp(48px, 6vw, 80px) 0 var(--section-pad); }
.prose h2 { font-size: 1.375rem; letter-spacing: -0.015em; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); }
.prose p + p, .prose ul + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; background: var(--blue-2); transform: rotate(45deg); border-radius: 1px; }
.prose .updated { font-size: 0.9rem; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--night); color: var(--on-dark); padding: 120px var(--gutter) 80px; position: relative; isolation: isolate; overflow: hidden; }
.notfound::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 40%, rgba(0, 102, 255, 0.22), transparent 70%); }
.notfound .code { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.2em; color: #7FB0FF; margin-bottom: 18px; }
.notfound h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.035em; margin-bottom: 14px; }
.notfound p { color: var(--on-dark-muted); max-width: 460px; margin: 0 auto 30px; }
.notfound .mark { width: 64px; margin: 0 auto 28px; }

/* ---------- Home: challenge, solution, points, tiles, status band ---------- */
.section--compact { padding: clamp(64px, 7vw, 104px) 0; }
.hero-tagline-kicker { margin-bottom: 18px; color: #A9C8FF; }
.challenge { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.challenge h2 { margin-bottom: 0; }
.cope-list { display: grid; gap: 10px; margin-top: 4px; }
.cope-list li { position: relative; padding-left: 22px; color: var(--navy); font-weight: 500; }
.cope-list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: #9AA9C2; }
.cope-close { margin-top: 18px; font-weight: 600; color: var(--navy); }
.challenge-body .list-intro { margin-top: 22px; margin-bottom: 10px; }
.section-head--wide { max-width: 900px; }
.lead--large { font-size: clamp(1.1875rem, 1.8vw, 1.4375rem); line-height: 1.55; color: var(--navy); font-weight: 450; }
.restate { margin-top: 16px; padding-left: 16px; border-left: 2px solid var(--blue); color: var(--text); font-size: 1rem; }
.diagram-frame--home { margin-top: clamp(28px, 3.5vw, 44px); }
.dg-title--e { font-size: 19px; }
.dg-strip { fill: var(--pale); stroke: #CFE0FA; stroke-width: 1; }
.dg-strip-text { font-size: 15.5px; font-weight: 600; fill: var(--navy); }
.dg-strip-text--sm { font-size: 14px; }
@media (max-width: 1100px) and (min-width: 901px) {
  .diagram--bp900.diagram--wide { display: block; }
  .diagram--bp900.diagram--tall { display: none; }
}
.points { margin-top: clamp(28px, 3.5vw, 44px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px clamp(24px, 3vw, 44px); }
.points li { padding-top: 18px; border-top: 2px solid var(--blue); font-size: 0.98rem; line-height: 1.55; }
.points li strong { display: block; font-size: 1.0625rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.more { margin-top: clamp(24px, 3vw, 36px); }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.text-link::after { content: "\2192"; transition: transform 0.2s var(--ease); }
.text-link:hover { text-decoration: underline; }
.text-link:hover::after { transform: translateX(3px); }
.text-link--light { color: #A9C8FF; }
.text-link--light:hover { color: var(--white); }
.anchor-alias { display: block; position: relative; top: calc(-1 * var(--section-pad)); height: 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.tile h3 { font-size: 1.0625rem; letter-spacing: -0.01em; margin-bottom: 6px; }
.tile p { font-size: 0.95rem; line-height: 1.55; }
.status-band { display: grid; grid-template-columns: 1.55fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.status-main { padding: clamp(26px, 3.4vw, 44px); }
.status-main h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; }
.status-aus { padding: clamp(26px, 3.4vw, 44px); background: linear-gradient(180deg, #EEF5FF, var(--pale)); border-left: 1px solid var(--line); }
.status-aus h3 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.status-aus ul { display: grid; gap: 12px; }
.status-aus li { position: relative; padding-left: 18px; color: var(--navy); font-size: 0.97rem; line-height: 1.5; }
.status-aus li::before { content: ""; position: absolute; left: 1px; top: 0.58em; width: 7px; height: 7px; border-radius: 1px; background: var(--blue); transform: rotate(45deg); }
.stat-row--light { border-top-color: var(--line); margin-top: 26px; }
.stat-row--light .stat + .stat { border-left-color: var(--line); }
.stat-row--light .stat-value { color: var(--navy); font-size: clamp(1.625rem, 2.4vw, 2.125rem); white-space: nowrap; }
.stat-row--light .stat-label { color: var(--text); font-size: 0.92rem; }

.status-chip { display: inline-block; margin-bottom: 14px; }
.status-chip, .pilot-note .tech-status, .state-col .tech-status { white-space: normal; line-height: 1.4; max-width: 100%; }
.status-band > * { min-width: 0; }
.status-chip, .pilot-note .tech-status { text-transform: none; letter-spacing: 0.01em; font-size: 0.8125rem; padding: 4px 11px; border-radius: 8px; }
.pilot-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 20px; padding: 16px 20px; background: var(--white); border: 1px solid #CFE0FA; border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-sm); }
.pilot-note p:last-child { flex: 1 1 420px; color: var(--navy); font-size: 0.98rem; line-height: 1.55; }

/* ---------- Sub-page header band ---------- */
.page-hero--band { padding: calc(var(--header-h) + clamp(44px, 6vw, 72px)) 0 clamp(44px, 6vw, 72px); isolation: isolate; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media picture, .page-hero-media img { width: 100%; height: 100%; }
.page-hero-media img { object-fit: cover; object-position: 70% 50%; }
.page-hero--band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 21, 45, 0.96) 0%, rgba(7, 21, 45, 0.86) 42%, rgba(7, 21, 45, 0.35) 75%, rgba(7, 21, 45, 0.2) 100%); }
.page-hero--band h1 { max-width: 760px; }
.page-hero--atrium::before { background: linear-gradient(90deg, rgba(7, 21, 45, 0.97) 0%, rgba(7, 21, 45, 0.92) 45%, rgba(7, 21, 45, 0.6) 75%, rgba(7, 21, 45, 0.45) 100%); }
.page-lead { margin-top: 16px; max-width: 700px; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.6; color: var(--on-dark-muted); }
.page-lead a { color: #A9C8FF; }
.page-lead a:hover { color: var(--white); }
.page-hero--band :focus-visible { outline-color: var(--focus-on-dark); }

/* ---------- How it works: document layout ---------- */
.doc-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 44px; align-items: start; padding-top: clamp(40px, 5vw, 64px); padding-bottom: var(--section-pad); }
.toc { position: sticky; top: calc(var(--header-h) + 28px); padding-top: 8px; }
.toc-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.toc ol, .toc-mobile ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a, .toc-mobile a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--text); text-decoration: none; font-size: 0.9rem; line-height: 1.35; }
.toc a:hover, .toc-mobile a:hover { color: var(--navy); border-left-color: var(--line-strong); }
.toc a.is-current { color: var(--navy); font-weight: 600; border-left-color: var(--blue); }
.toc-mobile { display: none; }
.doc { min-width: 0; }
.doc-section { padding: clamp(36px, 4vw, 52px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 12px); }
.doc-section:first-child { border-top: 0; padding-top: 8px; }
.doc-section h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.025em; margin-bottom: 18px; }
.doc-lead { max-width: 760px; font-size: 1.0625rem; color: var(--navy); }
.prose-block { max-width: 760px; }
.prose-block p + p { margin-top: 14px; }
.prose-block + .compare, .prose-block + .outcome-wrap, .prose-block + .layers { margin-top: 28px; }
.mechanism--doc { margin-top: 24px; }
.cap-box { margin-top: 24px; max-width: 760px; }
.cap-box .list-intro { margin-top: 0; }
.steps.steps--list { grid-template-columns: 1fr; gap: 10px; margin-top: 4px; }
.steps--list .step { display: grid; grid-template-columns: 40px 150px minmax(0, 1fr); align-items: baseline; gap: 0 12px; padding: 16px 22px; }
.steps--list .step-num { margin-bottom: 0; }
.steps--list .step h3 { margin-bottom: 0; }
.steps--list .step p { font-size: 0.97rem; }
.compare { margin-top: 0; }
.outcome-wrap--doc .example { margin-top: 20px; }
.fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-size: 0.97rem; line-height: 1.55; box-shadow: var(--shadow-sm); }
.fact-list strong { display: block; margin-bottom: 4px; }
.record-wrap { display: grid; grid-template-columns: 1fr minmax(300px, 0.95fr); gap: 28px; align-items: start; }
.record { background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.record-cap { padding: 10px 18px; background: #FAFCFF; border-bottom: 1px solid var(--line); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.record dl { margin: 0; }
.record dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.record dl > div:last-child { border-bottom: 0; }
.record dt { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.record dd { margin: 0; font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.doc .layers { margin-top: 28px; }
.doc .layer-note { margin-top: 24px; }

/* ---------- Evidence page ---------- */
.ev { padding-top: clamp(40px, 5vw, 64px); padding-bottom: var(--section-pad); }
.ev-section { padding: clamp(36px, 4vw, 52px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 12px); }
.ev-section:first-child { border-top: 0; padding-top: 8px; }
.ev-section h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.025em; margin-bottom: 20px; }
.state-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.state-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.state-col--built { border-top: 3px solid var(--blue); }
.state-col .tech-status { display: inline-block; margin-bottom: 14px; }
.state-col ul { display: grid; gap: 9px; }
.state-col li { position: relative; padding-left: 16px; font-size: 0.95rem; line-height: 1.5; color: var(--navy); }
.state-col li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 1px; background: var(--blue-2); transform: rotate(45deg); }
.ev .evidence { margin-top: 0; }
.ev .evidence .stat-row { margin-top: 0; border-top: 0; }
.ev .evidence .stat { padding-top: 4px; }
.evidence-facts--four { grid-template-columns: repeat(2, 1fr); }
.limits { max-width: 860px; padding: 22px 26px; border-left: 3px solid var(--blue); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-sm); }
.limits p { font-size: 1.0625rem; line-height: 1.65; color: var(--navy); }
.pilot-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.pilot-grid .steps--list { margin-top: 20px; }
.pilot-grid .steps--list .step { grid-template-columns: 40px 130px minmax(0, 1fr); }
.measures--light { background: var(--pale); border-color: #CFE0FA; margin-top: 0; }
.measures--light .measures-label { color: var(--blue); }
.measures--light li { color: var(--navy); }
.measures-note { margin-top: 12px; padding-top: 10px; border-top: 1px solid #CFE0FA; font-size: 0.88rem; color: var(--text); }
.section-intro { margin: -8px 0 18px; color: var(--text); font-size: 1rem; }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative; font-weight: 600; color: var(--navy); line-height: 1.45; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform 0.2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item p { padding: 0 20px 18px; font-size: 0.97rem; line-height: 1.6; }
.faq-item summary:focus-visible { outline-offset: -2px; border-radius: 12px; }

/* ---------- Closing band (sub-pages) ---------- */
.closing { background: var(--night); color: var(--on-dark-muted); padding: clamp(48px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); }
.closing-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.closing h2 { color: var(--white); font-size: clamp(1.625rem, 2.8vw, 2.25rem); letter-spacing: -0.03em; margin-bottom: 8px; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.closing :focus-visible { outline-color: var(--focus-on-dark); }
.footer-name { margin-top: 10px; font-size: 0.875rem; line-height: 1.6; max-width: 360px; }

@media (max-width: 1100px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 20px; }
  .toc { display: none; }
  .toc-mobile { display: block; margin-bottom: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
  .toc-mobile summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--navy); }
  .toc-mobile ol { padding: 0 18px 14px; }
  .record-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .challenge, .status-band, .pilot-grid, .closing-inner { grid-template-columns: 1fr; }
  .status-aus { border-left: 0; border-top: 1px solid var(--line); }
  .points, .tiles, .state-cols { grid-template-columns: 1fr; }
  .tiles { gap: 10px; }
  .points { gap: 18px; }
  .fact-list, .evidence-facts--four { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .tile { padding: 16px 18px; }
  .steps--list .step, .pilot-grid .steps--list .step { grid-template-columns: 32px minmax(0, 1fr); padding: 14px 16px; }
  .steps--list .step p { grid-column: 2; margin-top: 2px; }
  .record dl > div { grid-template-columns: 1fr; gap: 2px; }
  .section--compact { padding: 56px 0; }
}

/* ---------- Reveal motion (added by JS only to elements below the fold) ---------- */
.reveal-pending { opacity: 0; transform: translateY(18px); }
.reveal-in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.layer--core.reveal-pending { transform: translateY(4px); }
.layer--core.reveal-in { transform: translateY(-14px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .layers { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; gap: 28px; }
  .layer--core, .layer--core.reveal-in { transform: none; }
  .layer:not(:last-child)::after { top: auto; bottom: -23px; right: 50%; transform: translateX(50%) rotate(90deg); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .section-head--split, .compare, .terms { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-status { grid-column: 1 / -1; }
  .example { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .steps { grid-template-columns: 1fr; }
  .diagram-frame { padding: 16px; border-radius: 16px; }
  .compare-col { padding: 22px 18px; }
  .cta { padding-top: 136px; }
  .status-pill { font-size: 0.75rem; padding: 6px 12px 6px 10px; gap: 8px; }
}

@media (max-width: 700px) {
  .hero { padding-bottom: 48px; }
  .hero-inner { padding-top: 48px; }
  .layers { gap: 22px; }
  .layer { padding: 22px 20px; }
  .layer-step { margin-bottom: 10px; }
  .layer-sum { margin-bottom: 14px; padding-bottom: 14px; }
  .layer-list { display: block; line-height: 1.6; }
  .layer-list li { display: inline; font-size: 0.95rem; }
  .layer-list li::before { display: none; }
  .layer-list li:not(:last-child)::after { content: "\00B7"; margin: 0 7px; color: var(--blue-2); font-weight: 700; }
  .layer-tech-label { margin-top: 16px; padding-top: 14px; }
  .tiles { gap: 8px; }
  .tile { padding: 14px 16px; }
  .tile h3 { font-size: 1rem; margin-bottom: 2px; }
  .tile p { font-size: 0.9rem; }
  .status-main, .status-aus { padding: 22px 20px; }
  .stat-row--light { margin-top: 18px; }
  .stat-row--light .stat { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 0; }
  .status-aus ul { gap: 9px; }
  .status-aus h3 { margin-bottom: 12px; }
  .stat-row--light .stat-value { font-size: 1.5rem; margin-bottom: 0; }
  .pilot-steps li { padding: 13px 0; }
  .cta-head { margin-bottom: 36px; }
  .contact-grid { gap: 28px; }
  .footer-grid { gap: 24px; padding-bottom: 28px; }
  .footer-nav ul { grid-template-columns: 1fr 1fr; }
  .points li { padding-top: 14px; }
  .section { padding: 56px 0; }
  .lead--large { font-size: 1.0625rem; }
  .cta { padding-top: 116px; padding-bottom: 64px; }
  .field textarea { min-height: 112px; }
  .field { margin-bottom: 14px; }
  .hero-lead { font-size: 1rem; }
  .diagram-frame--home { padding: 12px; }
  .section--compact { padding: 48px 0; }
  .lead { font-size: 1.0625rem; }
  .cta-head h2 { font-size: 2rem; }
  .hero-inner { padding-top: 28px; }
  .site-footer { padding-top: 44px; }
  .footer-grid { gap: 20px; padding-bottom: 24px; }
}
@media (max-width: 700px) {
  .page-hero--band { background: var(--night); padding-top: calc(var(--header-h) + 96px); }
  .page-hero-media { bottom: auto; height: calc(var(--header-h) + 110px); }
  .page-hero--band::before, .page-hero--atrium::before { background: linear-gradient(180deg, rgba(7, 21, 45, 0.55) 0%, rgba(7, 21, 45, 0.35) calc(var(--header-h) + 20px), var(--night) calc(var(--header-h) + 110px)); }
  .limits p { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal-pending { opacity: 1; transform: none; }
  .layer--core.reveal-pending { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 1100px) {
  .layer--core.reveal-pending { transform: none; }
}

@media print {
  .site-header, .hero-media, .cta-media, .form-card, .nav { display: none !important; }
  .hero, .cta, .site-footer { background: #fff !important; color: #000 !important; }
}
