/* ChicLedger: visual language taken from the September deck.
   Deep indigo navy + teal, IBM Plex Sans, white cards with a fine indigo
   border and a soft long shadow, dotted "data wave" accents. */

:root {
  --navy: #0A0A5E;
  --navy-deep: #060648;
  --navy-ink: #14145A;
  --teal: #2A7682;
  --teal-dark: #1E5F6A;
  --cyan: #2EC4D0;
  --ice: #EEF7F9;
  --ice-2: #F6FAFC;
  --muted: #4A4F7A;
  --line: #D8DEEC;
  --card-border: rgba(58, 58, 200, .35);
  --shadow: 0 18px 40px -18px rgba(10, 10, 94, .28), 0 2px 6px rgba(10, 10, 94, .06);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1200px;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 400; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-tint { background: var(--ice-2); }
.section-navy { background: var(--navy); color: #DDE3FF; }
.section-navy h2, .section-navy h3 { color: #fff; }

/* Deck-style headings: bold lead + light continuation */
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.section-navy .eyebrow { color: var(--cyan); }
.title-lead { display: block; font-weight: 700; }
.title-sub { display: block; font-weight: 400; font-size: .72em; letter-spacing: -.005em; margin-top: .2em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 720px; }
.section-navy .lede { color: #C9D0F5; }
.accent { color: var(--teal); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.rule { width: 64px; height: 3px; background: var(--cyan); border: 0; margin: 20px 0 24px; }
.center .rule { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 1rem/1 var(--font); text-decoration: none;
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--teal); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cyan); color: var(--navy-deep); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(10, 10, 94, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 52px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  color: var(--navy); text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--cyan); }
.site-nav .btn[aria-current="page"] { background: var(--teal); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px; box-shadow: 0 20px 30px -20px rgba(10, 10, 94, .3);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)[aria-current="page"] { color: var(--teal); border-bottom-color: var(--line); }
  .site-nav .btn { margin-top: 18px; justify-content: center; }
  .brand img { height: 44px; }
}

/* Hero (home) — the deck's cover: white left, network-and-lock art bleeding in from the right */
.hero { position: relative; overflow: hidden; min-height: min(760px, calc(100vh - 84px)); display: flex; align-items: center; }
.hero-art {
  position: absolute; inset: 0 0 0 auto; width: 68%;
  background: url("/assets/img/hero-network.webp") right center / cover no-repeat;
  pointer-events: none;
}
.hero-art::after { /* soften the art's left edge into the page */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.85) 18%, rgba(255,255,255,0) 45%);
}
.hero .container { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 96px; }
.hero-copy { max-width: 620px; }
.hero h1 { color: var(--navy); margin-bottom: 0; }
.hero h1 .accent { color: var(--teal); }
.hero .rule { width: 100%; max-width: 480px; height: 2px; background: var(--teal); margin: 32px 0 26px; }
.hero .lede { font-size: 1.35rem; color: var(--navy); max-width: 540px; }
.hero-loc { margin-top: 40px; font-size: .85rem; font-weight: 700; letter-spacing: .06em; color: var(--teal); text-transform: uppercase; }
@media (max-width: 920px) {
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-art { position: relative; inset: auto; width: 100%; height: 300px; order: 2; background-position: 70% center; }
  .hero-art::after { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 35%); }
  .hero .container { padding-bottom: 8px; padding-top: 48px; }
}

/* Interior page header */
.page-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% 0%, #14207a 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: #DDE3FF; padding: clamp(72px, 10vw, 120px) 0 clamp(88px, 11vw, 136px);
}
.page-hero::before { /* faint grid like the deck's circuitry backdrop */
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image: linear-gradient(rgba(46,196,208,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(46,196,208,.35) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(100deg, transparent 35%, #000 90%);
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 90%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 860px; }
.page-hero h1 .title-sub { color: #C9D0F5; font-size: .62em; margin-top: .35em; }
.page-hero .eyebrow { color: var(--cyan); }
.page-hero .lede { color: #C9D0F5; margin-top: 18px; }

/* Dotted wave accents (deck slide footers) */
.dotwave {
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none;
  background: url("/assets/img/dotwave.svg") center bottom / 100% 100% no-repeat;
}
.page-hero .dotwave { opacity: .55; }
.section > .dotwave { opacity: .7; }
.dotwave-footer { top: 0; bottom: auto; height: 90px; opacity: .25; transform: scaleY(-1); }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .num { float: right; font-size: .8rem; color: var(--teal); font-weight: 500; }
.icon-tile {
  width: 52px; height: 52px; border-radius: 12px; background: var(--ice);
  display: grid; place-items: center; color: var(--teal); margin-bottom: 22px;
}
.icon-tile svg { width: 26px; height: 26px; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-rev { grid-template-columns: .9fr 1.1fr; }
.split-wide-r { grid-template-columns: 1fr 1.3fr; }
.split-wide-l { grid-template-columns: 1.25fr .75fr; }
.split-even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .split, .split-rev, .split-wide-r, .split-wide-l, .split-even { grid-template-columns: 1fr; } }

/* Problem: donut stat */
.donut { position: relative; width: min(320px, 80vw); aspect-ratio: 1; margin: 0 auto; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 0 20%; }
.donut-label strong { white-space: nowrap; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--navy); font-weight: 700; }
.donut-label span { font-style: italic; font-weight: 600; color: var(--navy); font-size: .98rem; line-height: 1.35; margin-top: 10px; }

.photo-card { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; }
.photo-card img { width: 160px; height: 200px; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow); border-bottom: 22px solid var(--teal); }
.photo-card h3 { font-size: 1.35rem; }
@media (max-width: 520px) { .photo-card { grid-template-columns: 1fr; } .photo-card img { width: 100%; height: 200px; } }

.source { font-size: .85rem; color: var(--muted); margin-top: 32px; }
.source strong { color: var(--teal); }

/* Market: vertical timeline + hub */
.timeline { list-style: none; margin: 0; padding: 0 0 0 38px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 16px; bottom: 16px; width: 3px; background: var(--teal); border-radius: 2px; }
.timeline li { position: relative; margin-bottom: 30px; }
.timeline li::before { content: ""; position: absolute; left: -38px; top: 14px; width: 18px; height: 18px; border-radius: 50%; border: 4px solid var(--teal); background: #fff; }
.timeline .big { font-size: 2.8rem; font-weight: 700; color: var(--teal); line-height: 1.1; }
.timeline strong { color: var(--navy); }
.timeline p { color: var(--muted); margin: 4px 0 0; }

.hub { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto auto; gap: 18px; align-items: center; }
.hub .card { padding: 22px 16px; text-align: center; }
.hub .card svg { width: 34px; height: 34px; color: var(--navy); margin: 0 auto 8px; }
.hub .card b { display: block; font-size: 1.75rem; color: var(--teal); line-height: 1.1; }
.hub .card span { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-top: 4px; }
.hub .hub-core { grid-column: 2; grid-row: 2; background: var(--navy); border-radius: 12px; padding: 18px; }
.hub .h1 { grid-column: 2; grid-row: 1; }
.hub .h2 { grid-column: 1; grid-row: 2; }
.hub .h3 { grid-column: 3; grid-row: 2; }
.hub .h4 { grid-column: 2; grid-row: 3; }
.hub-note { font-style: italic; font-weight: 600; color: var(--navy); margin-top: 22px; }
@media (max-width: 560px) {
  .hub { grid-template-columns: 1fr 1fr; }
  .hub .hub-core { grid-column: 1 / -1; grid-row: 1; }
  .hub .h1, .hub .h2, .hub .h3, .hub .h4 { grid-column: auto; grid-row: auto; }
}

/* Why now: banner with arrows */
.banner {
  margin-top: 56px; background: var(--navy); color: #fff; border-radius: 12px;
  padding: 22px 28px; text-align: center; font-size: 1.25rem; position: relative;
}
.banner::before { content: ""; position: absolute; left: 50%; top: -42px; width: 3px; height: 42px; background: var(--teal); }
.footnote { font-size: .9rem; color: var(--muted); margin-top: 20px; }
.footnote b { color: var(--navy); }

/* The missing layer: flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.flow-step { padding: 26px 22px; border-radius: 14px; position: relative; }
.flow-step svg { width: 44px; height: 44px; color: var(--teal); margin-bottom: 16px; }
.flow-step h3 { font-size: .98rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.flow-step p { margin: 0; color: var(--navy-ink); }
.flow-step.is-chic { border: 2px solid var(--teal); background: #fff; box-shadow: 0 0 0 6px var(--ice), var(--shadow); }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; right: -14px; top: 48px; width: 10px; height: 10px;
  border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg);
}
.flow-wrap { padding: 20px; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-step::after { display: none; }
}
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

.quote {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; font-style: italic; color: var(--navy);
  line-height: 1.3; margin: 0;
}
.quote-sm { font-size: 1.35rem; }
.callout {
  border: 1px solid var(--card-border); border-radius: 14px; padding: 24px 28px; background: #fff;
  box-shadow: var(--shadow); text-align: center; font-size: 1.15rem; color: var(--navy);
}

/* Numbered steps (partner route) */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 38px; }
.step .step-n {
  width: 58px; height: 58px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 1.6rem; font-weight: 700; margin-bottom: 18px;
}
.step-photo { position: absolute; right: -8px; top: -30px; width: 116px; height: 116px; object-fit: cover; border-radius: 16px; border: 4px solid var(--teal); box-shadow: var(--shadow); }
@media (max-width: 860px) { .step-photo { width: 90px; height: 90px; top: -20px; } }

/* Check lists */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: ""; width: 30px; height: 30px; border-radius: 50%; margin-top: 2px;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.checks.teal li::before { background-color: var(--teal); }
.checks.no li::before {
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks strong { display: block; color: var(--navy); font-size: 1.08rem; }
.checks span { color: var(--muted); }

/* Lifecycle rail */
.rail { display: flex; flex-direction: column; gap: 0; }
.rail-item {
  display: flex; align-items: center; gap: 14px; border: 2px solid var(--teal); border-radius: 10px;
  padding: 14px 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: #fff;
}
.rail-item svg { width: 30px; height: 30px; color: var(--teal); flex: none; }
.rail-link { width: 2px; height: 26px; background: #9fd6db; margin-left: 32px; position: relative; }
.rail-link::after { content: ""; position: absolute; left: -5px; top: 8px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid #9fd6db; background: #fff; }

.tag {
  display: inline-block; padding: 6px 16px; border-radius: 999px; border: 1px solid #bfe3e7;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: #fff;
}

/* Stage detail (platform page) */
.stage { display: grid; grid-template-columns: 72px 1fr; gap: 22px; padding: 30px 0; border-top: 1px solid var(--line); }
.stage:first-child { border-top: 0; }
.stage .stage-ic { width: 72px; height: 72px; border-radius: 16px; background: var(--ice); display: grid; place-items: center; color: var(--teal); }
.stage .stage-ic svg { width: 36px; height: 36px; }
.stage h3 { margin-bottom: .3em; }
.stage p { color: var(--muted); margin: 0; }

/* Business model tiles */
.model .big { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; color: var(--teal); line-height: 1; margin: 10px 0 18px; }
.model h3 { letter-spacing: .04em; text-transform: uppercase; }

/* Audience tiles */
.aud { display: flex; flex-direction: column; }
.aud ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.aud li { margin: 6px 0; }
.aud .who { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 20px; }
.person .role { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.person h3 { font-size: 1.3rem; margin: 4px 0 10px; }
.person p { color: var(--muted); font-size: .98rem; }

/* Conviction band */
.conviction { position: relative; overflow: hidden; }
.conviction .panel {
  background: var(--navy); color: #fff; border-radius: 14px; padding: 36px 40px; position: relative; z-index: 1;
  box-shadow: var(--shadow);
}
.conviction .panel h3 { color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: 1.3rem; }
.conviction .panel p { font-size: 1.3rem; line-height: 1.45; margin: 0; }
.teal-sweep {
  background: var(--teal); color: #fff; border-radius: 0 60% 0 0 / 0 30% 0 0; padding: clamp(40px, 6vw, 72px);
  font-style: italic; font-size: 1.3rem; line-height: 1.6;
}
.split-media img { border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--card-border); }

/* CTA band */
.cta { position: relative; overflow: hidden; background: var(--navy); color: #fff; text-align: center; padding: clamp(72px, 10vw, 120px) 0 clamp(110px, 12vw, 150px); }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.cta p { color: #C9D0F5; font-size: 1.2rem; font-weight: 500; }
.cta .dotwave { height: 150px; opacity: .6; }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy-ink);
  padding: 13px 14px; border: 1px solid #C3CADF; border-radius: var(--radius-sm); background: #fff;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(46, 196, 208, .25); }
.form-note { font-size: .88rem; color: var(--muted); }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); display: none; }
.form-status.ok { display: block; background: #E6F6F2; color: #135c4f; border: 1px solid #b5e2d6; }
.form-status.err { display: block; background: #FDEEEE; color: #8a1f1f; border: 1px solid #f2c4c4; }
.hp { position: absolute; left: -5000px; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--ice); color: var(--teal); display: grid; place-items: center; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list span, .contact-list a { color: var(--muted); }

/* Legal prose */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; padding-top: .4em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose p, .prose li { color: #2b2f5c; }
.prose ul { padding-left: 22px; }
.prose li { margin: .4em 0; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: 110px; font-size: .92rem; }
.toc h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; color: var(--muted); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--navy); border-left-color: var(--cyan); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .toc { position: static; } }
.updated { color: #C9D0F5; font-size: .95rem; }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--navy-deep); color: #AEB6E4; padding: 84px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; position: relative; }
.footer-brand img { width: 176px; margin-bottom: 18px; }
.footer-brand p { max-width: 340px; }
.footer-loc { color: var(--cyan); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }
.footer-h { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 9px 0; }
.site-footer a { color: #AEB6E4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; color: var(--teal); line-height: 1; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .cta, .dotwave, .toc { display: none; }
  .page-hero { background: none; color: #000; padding: 0 0 24px; }
  .page-hero h1 { color: #000; }
}

/* Layer model (platform page) */
.layers { display: grid; gap: 10px; }
.layer {
  display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center;
  padding: 18px 22px; border-radius: 12px; background: #fff; border: 1px solid var(--card-border);
}
.layer b { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.layer span { color: var(--navy); font-weight: 500; }
.layer.core { background: var(--navy); border-color: var(--navy); }
.layer.core b { color: var(--cyan); }
.layer.core span { color: #fff; }
.layer.base { background: var(--ice); border-style: dashed; }
.layers-out { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .92rem; color: var(--muted); }
.layers-out .tag { border-style: dashed; color: var(--muted); }
@media (max-width: 560px) { .layer { grid-template-columns: 1fr; gap: 4px; } }

/* Module grid */
.module h3 { font-size: 1.12rem; }
.module p { color: var(--muted); font-size: .98rem; }
.module .icon-tile { margin-bottom: 16px; }

/* Standards table */
.standards { width: 100%; border-collapse: collapse; font-size: .98rem; }
.standards th, .standards td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.standards th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.standards td:first-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.standards td { color: var(--muted); }
.table-wrap { overflow-x: auto; }
@media (max-width: 640px) {
  .standards thead { display: none; }
  .standards tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .standards td { display: block; border: 0; padding: 4px 0; }
}

/* Hero supporting line */
.hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin-top: -4px; }

/* CAA 2026 "why now" band */
.caa {
  margin-top: 36px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 0;
  border: 1px solid var(--card-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.caa-stat { background: var(--navy); color: #DDE3FF; padding: clamp(28px, 4vw, 44px); }
.caa-stat p { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.caa-stat strong { color: #fff; }
.caa-num { font-size: clamp(3.2rem, 7vw, 4.8rem); font-weight: 700; color: var(--cyan); line-height: 1; margin-bottom: 16px; }
.caa-body { background: #fff; padding: clamp(28px, 4vw, 44px); }
.caa-body p { color: var(--navy-ink); }
.caa-body .source { margin: 18px 0 0; }
@media (max-width: 860px) { .caa { grid-template-columns: 1fr; } }

/* Stop-loss strip on the homepage */
.stoploss {
  margin-top: 28px; display: flex; gap: 24px; align-items: center; justify-content: space-between;
  border-left: 6px solid var(--teal);
}
.stoploss h3 { margin: 6px 0 8px; }
@media (max-width: 700px) { .stoploss { flex-direction: column; align-items: flex-start; } }
.caa-label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9fd6db; margin-bottom: 8px; }
.stoploss .who { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.stoploss .btn { white-space: nowrap; flex: none; }
