/* Layout follows the Home Horizon site: a full-bleed illustrative hero with the headline low on the left, then one calm
   reading column with wide figures and a white funding band.
   Signature device: the backup gauge, shading from Holds through Tight to Act first, used only where it means backup. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-variable.woff2?v=4de4350c3573") format("woff2-variations"), url("fonts/archivo-variable.woff2?v=4de4350c3573") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-400.woff2?v=4de4350c3573") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-700.woff2?v=4de4350c3573") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-400-italic.woff2?v=4de4350c3573") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  /* page */
  --sky: #eef2f5;
  --surface: #ffffff;
  --ink: #122033;
  --muted: #4a5869;
  --line: #cfd8e1;
  --link: #1b5091;
  --focus: #1b5091;
  /* fixed bands, the same in both themes */
  --night: #0d1a2b;
  --night-2: #15273f;
  --night-ink: #eef3f9;
  --night-muted: #b4c2d4;
  --night-line: #2a3d58;
  --signal: #8fd8ff;
  --band: #ffffff;
  --band-ink: #0d1a2b;
  --band-muted: #4a5869;
  /* backup gauge: Holds, Tight, Act first */
  --holds: #3fb27f;
  --tight: #f0b429;
  --act: #e5533d;
  --gauge: linear-gradient(90deg, var(--holds) 0%, var(--holds) 18%, var(--tight) 50%, var(--act) 82%, var(--act) 100%);
  /* draft markers */
  --todo-bg: #ffe14d;
  --todo-ink: #1d1600;
  /* type */
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", Verdana, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sky: #0b1524; --surface: #13223a; --ink: #e8eef5; --muted: #a8b6c8;
    --line: #283a55; --link: #9ccfff; --focus: #8fd8ff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sky: #0b1524; --surface: #13223a; --ink: #e8eef5; --muted: #a8b6c8;
  --line: #283a55; --link: #9ccfff; --focus: #8fd8ff;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.site-head, .hero, .rank { --focus: var(--signal); }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1160px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--band); color: var(--band-ink); padding: 8px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }
html { scroll-padding-top: 16px; }

/* Draft marker for values and wording still to be checked. tools/check.mjs blocks deploy while any remain. */
.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 0 4px; border-radius: 3px; outline: 2px dashed var(--todo-ink); outline-offset: 1px; font-family: ui-monospace, Consolas, monospace; font-size: 0.88em; overflow-wrap: anywhere; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--display); font-stretch: 112%; font-weight: 760; font-size: 1.24rem; letter-spacing: -0.005em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.mark-track { stroke: currentColor; opacity: 0.28; }
.mark-arc { stroke: var(--holds); }

/* ---------- header ---------- */
.site-head { position: absolute; inset: 0 0 auto; z-index: 5; color: var(--night-ink); padding-top: env(safe-area-inset-top, 0px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 0.97rem; }
.nav a { color: inherit; text-decoration: none; opacity: 0.9; }
.nav a:hover { opacity: 1; text-decoration: underline; }
.nav .talk { opacity: 1; border: 1px solid rgba(238, 243, 249, 0.5); padding: 7px 16px; border-radius: 6px; white-space: nowrap; }
.nav .talk:hover { background: rgba(238, 243, 249, 0.1); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: clamp(640px, 94svh, 920px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--night-ink);
  /* the invented land, until storm.js has drawn it */
  background: radial-gradient(120% 100% at 72% 30%, #23354d 0%, #1a2a40 55%, #111d30 100%);
}
.scene { position: absolute; inset: 0; margin: 0; overflow: hidden; isolation: isolate; }
.scene canvas.land { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.8s ease; }
.scene.has-land canvas.land { opacity: 1; }
.scene .net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease 0.1s; }
.scene.is-live .net { opacity: 1; }

/* The storm, seen from above. storm.js draws the cloud once per layout and moves the whole front
   across the scene; inside it, only the rain and the gusts are animated. The edge leans 10 degrees
   (lower down, further ahead): .shade, .rain and .gusts are skewed to follow it, in step with SKEW
   in storm.js. Cloud greys only, never blue water tones or radar colours. */
.storm { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.front { position: absolute; top: 0; left: 0; width: 0; height: 100%; transform: translate3d(-200%, 0, 0); will-change: transform; }
.front > * { position: absolute; }
.front .cloud, .front .shade { top: 0; left: 0; display: block; }
.front .rain, .front .gusts { top: -10%; height: 120%; transform: skewX(10deg); }
/* Rain seen from above: fine streaks driven along by the wind, a grey veil thickest just behind
   the edge and thinning towards the back. */
.front .rain {
  overflow: hidden; opacity: 0.75;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 30%, rgba(0, 0, 0, 0.7) 62%, #000 82%, rgba(0, 0, 0, 0.6) 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 30%, rgba(0, 0, 0, 0.7) 62%, #000 82%, rgba(0, 0, 0, 0.6) 93%, transparent 100%);
}
.drops { position: absolute; top: 0; bottom: 0; left: -160px; right: 0; background: url("rain.svg?v=4de4350c3573") 0 0 / 160px 160px; animation: drops 0.5s linear infinite; }
.drops.far { opacity: 0.6; background-size: 110px 110px; left: -110px; animation: drops-far 0.62s linear infinite; }
@keyframes drops { to { transform: translate3d(160px, 0, 0); } }
@keyframes drops-far { to { transform: translate3d(110px, 0, 0); } }
/* Wind ahead of the storm: faint streaks running over the clear land. */
.front .gusts {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 100%);
}
.gust { position: absolute; left: -240px; right: 0; top: 0; bottom: 0; background: url("gust.svg?v=4de4350c3573") 0 0 / 240px 90px; animation: gust 0.75s linear infinite; }
@keyframes gust { to { transform: translate3d(240px, 0, 0); } }
/* Sheet lightning: storm.js places it in the cloud over the site area, never behind the headline,
   and it rides with the cloud. Two flickers per event, events at least 4.5 seconds apart. */
.front .flash { left: 0; top: 0; width: 0; height: 0; background: url("sheet.svg?v=4de4350c3573") 0 0 / 100% 100% no-repeat; opacity: 0; }
.front .flash.lit { animation: sheet 0.62s linear; }
@keyframes sheet { 0% { opacity: 0; } 6% { opacity: 0.9; } 16% { opacity: 0.18; } 26% { opacity: 0.72; } 42% { opacity: 0.1; } 100% { opacity: 0; } }
.scene.is-still .drops, .scene.is-still .gust { animation-play-state: paused; }
/* Behind the text, the storm's light is held down to the quiet land's (see drawHush in land.js). */
.scene canvas.hush { position: absolute; left: 0; top: 0; pointer-events: none; mix-blend-mode: darken; }
.scene canvas.hush, .scene canvas.land { image-rendering: auto; }

/* sites */
.net .links line { stroke: rgba(143, 216, 255, 0.34); stroke-width: 1.4; transition: stroke 0.6s; }
.net .links line.cut { stroke: rgba(229, 83, 61, 0.42); stroke-dasharray: 3 5; }
.net .halo { fill: rgba(143, 216, 255, 0.16); transition: opacity 0.4s; }
.net .site.off .halo { opacity: 0; }
.net .impact { fill: none; stroke: #e6eef8; stroke-width: 2; }
.net .disc { fill: rgba(9, 18, 33, 0.84); }
.net .track { fill: none; stroke: rgba(214, 228, 245, 0.2); stroke-width: 4; }
.net .arc { fill: none; stroke-width: 4; stroke-linecap: round; }
.net .icon { fill: none; stroke: #e6eef8; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.3s; }
.net .panel { stroke-width: 2.6; stroke-linecap: butt; }
.net .body { fill: #2a4061; stroke: #e6eef8; stroke-width: 1.4; transition: opacity 0.3s; }
.net .bar-track { fill: rgba(214, 228, 245, 0.2); }
.net .site.off .icon, .net .site.off .body { opacity: 0.5; }
.net .site.down .icon, .net .site.down .body { opacity: 0.32; }
.net .site.down .track { stroke: rgba(229, 83, 61, 0.8); }
.net .site.down .bar-track { fill: rgba(229, 83, 61, 0.8); }
/* places: lit windows show mains power, the bars show mobile signal from the mast that serves
   them, and a dashed ring marks a place cut off. Pale neutral and pale warm white only, so they
   never read as Holds, Tight or Act first. */
.net .plinks line { stroke: rgba(206, 218, 233, 0.3); stroke-width: 1; transition: stroke 0.4s; }
.net .plinks line.lost { stroke: rgba(206, 218, 233, 0.34); stroke-dasharray: 2 3; }
.net .place .glow { transition: opacity 0.5s; }
.net .place .bldg { fill: #0f1b2d; stroke: #ccd7e5; stroke-width: 1.1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.net .place .win { fill: #fff0d4; transition: fill 0.35s; }
.net .place.dark .win { fill: #172233; }
.net .place .bldg { transition: stroke 0.35s; }
.net .place.dark .bldg { stroke: rgba(204, 215, 229, 0.6); }
.net .place.dark .glow { opacity: 0; }
.net .place .homes { transition: opacity 0.35s; }
.net .place.dark .homes { opacity: 0.55; }
/* signal bars: pale with a dark edge, so they read on light fields and dark alike */
.net .place .bars rect { fill: #eef2f6; stroke: rgba(10, 18, 30, 0.8); stroke-width: 0.7; paint-order: stroke; }
/* cut off: a larger crossed-out signal badge and a clear dashed ring, the easiest state to spot */
.net .place .nb-bg { fill: #0b1422; stroke: #eef2f6; stroke-width: 1.4; }
.net .place .nobars rect { fill: #eef2f6; opacity: 0.55; }
.net .place .nb-cut { fill: none; stroke: #0b1422; stroke-width: 4; stroke-linecap: round; }
.net .place .nb-slash { fill: none; stroke: #eef2f6; stroke-width: 1.8; stroke-linecap: round; }
.net .place .bars, .net .place .nobars { transition: opacity 0.25s; }
.net .place .nobars { opacity: 0; }
.net .place.nosignal .bars { opacity: 0; }
.net .place.nosignal .nobars { opacity: 1; }
/* Dead zones: the area a mast covers once its backup has run out (drawn by land.js, revealed from
   the mast outwards by storm.js). Over the storm and the land, under the icons: .sat drains the
   colour from what is beneath, .mult darkens it in proportion with a dark hatch (so it reads on
   bright cloud), and the last adds a pale hatch and the edge (so it reads on dark land). */
.zones { position: absolute; inset: 0; pointer-events: none; }
.zones canvas { position: absolute; display: block; visibility: hidden; }
.zones canvas.sat { mix-blend-mode: saturation; }
.zones canvas.mult { mix-blend-mode: multiply; }
/* mains lost: a struck-through power badge for the length of the outage */
.net .badge { opacity: 0; transform: scale(0.4); transform-box: fill-box; transform-origin: center; transition: opacity 0.18s, transform 0.28s cubic-bezier(0.2, 1.6, 0.4, 1); }
.net .site.off .badge { opacity: 1; transform: scale(1); }
.net .badge-bg { fill: #0b1422; stroke: #e6eef8; stroke-width: 1.3; }
.net .badge-bolt { fill: #e6eef8; }
.net .badge-cut { fill: none; stroke: #0b1422; stroke-width: 3.4; stroke-linecap: round; }
.net .badge-slash { fill: none; stroke: #e6eef8; stroke-width: 1.4; stroke-linecap: round; }

/* The land itself is darker and quieter behind the header, headline and legend (storm.js draws it so). */
.hero-copy { position: relative; }
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: minmax(0, 40rem) minmax(0, 1fr); align-items: end; gap: 32px;
  padding-block: 120px clamp(32px, 5vw, 56px);
}
.status { display: inline-flex; align-items: baseline; gap: 10px; font-size: 0.95rem; color: #d5dfeb; margin-bottom: 18px; }
.status i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--holds); box-shadow: 0 0 0 4px rgba(63, 178, 127, 0.24); transform: translateY(-1px); }
.hero h1 {
  font-stretch: 110%; font-weight: 760;
  font-size: clamp(2.3rem, 1.4rem + 3.1vw, 4.1rem);
  line-height: 1.02; letter-spacing: -0.012em;
  margin-bottom: 22px;
}
.lede { font-size: clamp(1.06rem, 1rem + 0.33vw, 1.22rem); line-height: 1.55; color: #d5dfeb; max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 6px; font-weight: 700; text-decoration: none; font-size: 1rem; }
.btn-primary { background: var(--signal); color: var(--night); }
.btn-primary:hover { background: #b4e5ff; }
.btn-ghost { color: var(--night-ink); border: 1px solid rgba(238, 243, 249, 0.5); }
.btn-ghost:hover { background: rgba(238, 243, 249, 0.1); }

.key { position: relative; justify-self: end; display: grid; gap: 10px; width: min(100%, 300px); font-size: 0.86rem; color: var(--night-muted); }
.scale { list-style: none; margin: 0; padding: 14px 0 0; display: grid; grid-template-columns: 1fr auto 1fr; position: relative; color: var(--night-ink); font-weight: 700; }
.scale::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; border-radius: 4px; background: var(--gauge); }
.scale li:nth-child(2) { text-align: center; }
.scale li:last-child { text-align: right; }
.key .caption { line-height: 1.45; }
/* What the places in the scene show: the same symbols, drawn small. */
.states { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 6px; color: var(--night-ink); }
.states li { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 10px; line-height: 1.3; }
.states svg { width: 36px; height: 24px; display: block; }
.states .k-house { fill: #0f1b2d; stroke: #ccd7e5; stroke-width: 0.75; stroke-linejoin: round; }
.states .k-win { fill: #172233; }
.states .k-bars rect { fill: #eef2f6; stroke: rgba(10, 18, 30, 0.8); stroke-width: 0.6; paint-order: stroke; }
.states .k-zone { fill: #43484d; }
.states .k-edge { fill: none; stroke: rgba(232, 236, 242, 0.85); stroke-width: 1.2; }
.states .k-badge { fill: #0b1422; stroke: #eef2f6; stroke-width: 1.2; }
.states .k-mini rect { fill: #eef2f6; opacity: 0.55; }
.states .k-cut { fill: none; stroke: #0b1422; stroke-width: 3.2; stroke-linecap: round; }
.states .k-slash { fill: none; stroke: #eef2f6; stroke-width: 1.4; stroke-linecap: round; }
.motion { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; color: var(--night-ink); background: rgba(9, 18, 33, 0.6); border: 1px solid rgba(238, 243, 249, 0.45); border-radius: 6px; min-height: 36px; padding: 0 12px; cursor: pointer; }
.motion:hover { background: rgba(238, 243, 249, 0.12); }
.motion svg { width: 14px; height: 14px; fill: currentColor; }
.motion .play { display: none; }
.motion[data-paused] .play { display: block; }
.motion[data-paused] .pause { display: none; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 116px); }
.section + .section { border-top: 1px solid var(--line); }
.h2 { font-stretch: 106%; font-weight: 720; font-size: clamp(1.85rem, 1.3rem + 1.9vw, 2.7rem); line-height: 1.08; letter-spacing: -0.008em; }
.prose { display: grid; gap: 1em; max-width: 38rem; }
.muted { color: var(--muted); }
.intro { margin-top: 14px; max-width: 40rem; font-size: 1.12rem; color: var(--muted); }
.cite { white-space: nowrap; font-size: 0.8rem; color: var(--muted); text-decoration-thickness: 1px; }
.cite:hover { color: var(--ink); }

/* why it matters */
.why { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.why .h2 { font-stretch: 116%; font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.9rem); line-height: 0.98; letter-spacing: -0.018em; }
.why .h2::after { content: ""; display: block; width: min(100%, 360px); height: 8px; border-radius: 4px; margin-top: 26px; background: var(--gauge); }
.why .prose { padding-top: 6px; }
.why .prose p:first-child { font-size: 1.12rem; }

/* funding band */
.funded { background: var(--band); color: var(--band-ink); border-block: 1px solid var(--line); }
.funded .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding-block: clamp(28px, 4vw, 44px); }
.funded img { width: 300px; height: auto; display: block; }
.funded .text { display: grid; gap: 0.7em; max-width: 44rem; }
.funded .text p:first-child { font-size: 1.06rem; font-weight: 700; line-height: 1.5; }

/* how it works */
.diagram { margin: 40px 0 0; }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram .tall { display: none; max-width: 420px; }
.dg-box { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.dg-out { fill: var(--night); }
.dg-accent { fill: var(--signal); }
.dg-label { font-family: var(--display); font-stretch: 108%; font-weight: 720; font-size: 21px; fill: var(--ink); }
.dg-out-label { font-family: var(--display); font-stretch: 108%; font-weight: 720; font-size: 23px; fill: var(--night-ink); }
.dg-label.s { font-size: 17px; }
.dg-out-label.s { font-size: 21px; }
.dg-flow { fill: none; stroke: var(--muted); stroke-width: 2; }
.dg-head { fill: var(--muted); }
.dg-track { fill: none; stroke: rgba(214, 228, 245, 0.25); stroke-width: 5; }
.dg-arc { fill: none; stroke: var(--holds); stroke-width: 5; stroke-linecap: round; }
.dg-glyph { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.steps li { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.steps .n { font-family: var(--display); font-stretch: 120%; font-weight: 760; font-size: 1.05rem; color: var(--muted); }
.steps h3 { font-stretch: 104%; font-weight: 700; font-size: 1.32rem; line-height: 1.22; }
.steps p { color: var(--muted); }

.score { margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.score h3 { font-stretch: 106%; font-weight: 720; font-size: clamp(1.45rem, 1.15rem + 1vw, 1.9rem); line-height: 1.15; }
.score .prose p:last-child { color: var(--muted); }

.rank { background: var(--night); color: var(--night-ink); border-radius: 14px; padding: clamp(20px, 3vw, 30px); display: grid; gap: 18px; box-shadow: 0 18px 40px -24px rgba(8, 15, 28, 0.6); }
.rank .row { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) 5.4rem; align-items: center; gap: 14px; }
.rank .name { font-family: var(--display); font-stretch: 108%; font-weight: 700; }
.rank .bar { height: 12px; border-radius: 6px; background: rgba(214, 228, 245, 0.14); overflow: hidden; }
.rank .bar i { display: block; height: 100%; border-radius: 6px; }
.rank .holds i { width: 88%; background: var(--holds); }
.rank .tight i { width: 50%; background: var(--tight); }
.rank .act i { width: 18%; background: var(--act); }
.rank .state { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.rank .state::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.rank .holds .state::before { background: var(--holds); }
.rank .tight .state::before { background: var(--tight); }
.rank .act .state::before { background: var(--act); }

/* get involved */
.who { margin: 36px 0 0; display: grid; }
.who > div { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 8px 40px; padding-block: 22px; border-top: 1px solid var(--line); }
.who > div:last-child { border-bottom: 1px solid var(--line); }
.who dt { font-family: var(--display); font-stretch: 106%; font-weight: 700; font-size: 1.22rem; line-height: 1.3; }
.who dd { margin: 0; max-width: 42rem; color: var(--muted); }

/* contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact .wrap { padding-block: clamp(64px, 9vw, 112px); display: grid; gap: 18px; }
.contact .prose { max-width: 40rem; }
.email { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 10px; }
.email .addr, .email .addr a { font-family: var(--display); font-stretch: 108%; font-weight: 720; font-size: clamp(1.45rem, 1rem + 2.2vw, 2.5rem); line-height: 1.1; color: var(--ink); overflow-wrap: anywhere; min-width: 0; }
.email .addr a { text-decoration-color: var(--holds); text-decoration-thickness: 3px; }
.lead-by { color: var(--muted); }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { padding-block: 40px 48px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 18px 28px; font-size: 0.9rem; color: var(--muted); }
.foot .brand { color: var(--ink); font-size: 1.08rem; }
.foot .brand svg { width: 28px; height: 28px; }
.foot .lines { display: grid; gap: 8px; max-width: 48rem; }
.foot .fund { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 6px; }
.foot .fund p { flex: 1 1 22rem; color: var(--ink); }
.logo-tile { display: inline-block; background: #fff; border-radius: 6px; padding: 6px 8px; border: 1px solid var(--line); line-height: 0; }
.logo-tile img { width: 190px; height: auto; display: block; }

/* ---------- document pages (privacy notice, not found) ---------- */
.site-head.solid { position: relative; background: var(--night); }
.doc { padding-block: clamp(44px, 7vw, 88px) clamp(64px, 9vw, 116px); }
.doc .prose { gap: 0; }
.doc .prose > * + * { margin-top: 1em; }
.doc h1 { font-stretch: 106%; font-weight: 740; font-size: clamp(1.85rem, 1.3rem + 1.9vw, 2.7rem); line-height: 1.08; letter-spacing: -0.008em; }
.doc .updated { margin-top: 12px; color: var(--muted); font-size: 0.97rem; }
.doc .updated + * { margin-top: 28px; }
.doc .prose h2 { margin-top: 1.9em; font-stretch: 106%; font-weight: 720; font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.5rem); line-height: 1.2; }
.doc .prose h2 + * { margin-top: 0.45em; }
.doc .prose ul { margin-block: 1em 0; padding-left: 1.3em; display: grid; gap: 0.5em; }
.doc .prose a { overflow-wrap: anywhere; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav a:not(.talk) { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 330px; }
  .key { justify-self: start; }
  .why, .score { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero-inner { padding-top: 320px; }
  .funded .wrap { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .funded img { width: 240px; }
  .diagram .wide { display: none; }
  .diagram .tall { display: block; }
  .who > div { grid-template-columns: minmax(0, 1fr); }
  .foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .rank .row { grid-template-columns: 3.8rem minmax(0, 1fr) 5.2rem; gap: 10px; }
}
@media (max-width: 380px) {
  .brand { font-size: 1.12rem; }
  .nav .talk { padding: 6px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene .net, .scene canvas.land, .net .badge, .net .icon, .net .body, .net .halo, .net .place *, .net .plinks line { transition: none; }
  .drops, .gust, .front .flash.lit { animation: none; }
  .motion { display: none; }
}
