/* Protean site. One file, no build step, no third-party anything.
   Order: tokens, base, layout, header, buttons, hero and the four forms, sections, inner pages, server pages (pf-*), footer.
   Colour: a calm base and ONE accent. Orange, red, yellow and green appear only inside pictures of the app, where they
   carry meaning (a fire, a warning, "on"). Tokens match website/kit/tokens.json. */

@font-face {
  font-family: "Roboto Flex";
  src: url("/assets/fonts/roboto-flex-display-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #0E151C;
  --surface-2: #16212B;
  --line: #26323D;
  --line-strong: #6B7885;
  --text: #E3EAF0;
  --muted: #A9B6C2;
  --accent: #4A9EFF;
  --on-accent: #07121C;
  --accent-soft: rgba(74, 158, 255, .14);
  --glow: rgba(74, 158, 255, .22);
  --ok: #4CD964;
  --warn: #FFC400;
  --fire: #FF8C1A;
  --fire-soft: rgba(255, 140, 26, .22);
  --danger: #FFB4AB;
  --route: #5B9BFF;
  --map-land: #111A22;
  --map-water: #0B2740;
  --map-road: #2B3743;
  --map-highway: #51606E;
  --shadow: 0 24px 60px rgba(0, 0, 0, .6);
  --display: "Roboto Flex", Roboto, "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --wrap: 72.5rem;
  --ease: cubic-bezier(.6, 0, .2, 1);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #F5F7FA; --surface: #FFFFFF; --surface-2: #E9EEF3; --line: #D5DBE2; --line-strong: #6E7781;
    --text: #111A22; --muted: #44515C; --accent: #1A52B0; --on-accent: #FFFFFF;
    --accent-soft: rgba(26, 82, 176, .10); --glow: rgba(26, 82, 176, .16);
    --ok: #1B7F3B; --warn: #7A5B00; --fire: #B35300; --fire-soft: rgba(179, 83, 0, .20); --danger: #BA1A1A; --route: #1F5AE8;
    --map-land: #E4E9EF; --map-water: #BCD6F0; --map-road: #FFFFFF; --map-highway: #AEB9C4;
    --shadow: 0 20px 50px rgba(17, 26, 34, .16);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F7FA; --surface: #FFFFFF; --surface-2: #E9EEF3; --line: #D5DBE2; --line-strong: #6E7781;
  --text: #111A22; --muted: #44515C; --accent: #1A52B0; --on-accent: #FFFFFF;
  --accent-soft: rgba(26, 82, 176, .10); --glow: rgba(26, 82, 176, .16);
  --ok: #1B7F3B; --warn: #7A5B00; --fire: #B35300; --fire-soft: rgba(179, 83, 0, .20); --danger: #BA1A1A; --route: #1F5AE8;
  --map-land: #E4E9EF; --map-water: #BCD6F0; --map-road: #FFFFFF; --map-highway: #AEB9C4;
  --shadow: 0 20px 50px rgba(17, 26, 34, .16);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
q { quotes: "\201C" "\201D"; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: .75rem; z-index: 20; background: var(--surface); color: var(--text); padding: .6rem 1rem; border-radius: .5rem; }
.skip:focus { left: .75rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 48rem) { .wrap { padding-inline: 2rem; } }

/* ---------- type ---------- */
.display, .h-section, .h-sub, .verb-name, .brand-name, .price, .plan-name, .fact-h, .v-number, .now-word, main.page h1, main.page h2 { font-family: var(--display); }
.display { font-size: clamp(2.6rem, 6.4vw + .9rem, 5.4rem); line-height: .98; font-weight: 780; font-stretch: 92%; letter-spacing: -.022em; text-wrap: balance; }
.display em { font-style: normal; color: var(--accent); }
.h-section { font-size: clamp(1.85rem, 2.6vw + 1.1rem, 3.1rem); line-height: 1.06; font-weight: 720; font-stretch: 96%; letter-spacing: -.016em; text-wrap: balance; max-width: 22ch; }
.h-sub { font-size: 1.35rem; line-height: 1.25; font-weight: 680; margin-top: 3rem; }
.eyebrow { font-size: .875rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.lede { font-size: clamp(1.12rem, .6vw + 1rem, 1.32rem); line-height: 1.5; color: var(--text); max-width: 34rem; }
.section-lede { font-size: 1.12rem; color: var(--muted); max-width: 42rem; margin-top: 1rem; }
.caption { font-size: .875rem; color: var(--muted); }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header-in { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .4rem 1rem; padding-block: .8rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; min-height: 3rem; }
.brand .mark { width: 1.75rem; height: 1.75rem; color: var(--accent); flex: none; }
.brand-name { font-size: 1.4rem; font-weight: 760; font-stretch: 112%; letter-spacing: -.01em; line-height: 1; }
.tm { font-family: var(--body); font-size: .5em; font-weight: 500; vertical-align: .9em; margin-left: .08em; letter-spacing: 0; }
.site-nav { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; margin-inline: -1.25rem; padding-inline: 1.25rem; scrollbar-width: none; }
.site-nav ul { display: flex; gap: .25rem; list-style: none; white-space: nowrap; }
.site-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .7rem; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 550; font-size: .98rem; }
.site-nav li:first-child a { padding-left: 0; }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); padding-inline: .9rem; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; min-width: 2.75rem; justify-content: center; padding: 0 .7rem; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted); font: inherit; font-size: .9rem; cursor: pointer; }
.theme-toggle:hover { color: var(--text); border-color: var(--line-strong); }
.theme-toggle[hidden] { display: none; }
.theme-toggle-text { display: none; }
@media (min-width: 62rem) {
  .site-header-in { grid-template-columns: auto 1fr auto; gap: 2rem; }
  .site-nav { grid-column: auto; grid-row: auto; margin: 0; padding: 0; overflow: visible; }
  .site-nav ul { justify-content: center; }
  .site-nav li:first-child a { padding-left: .7rem; }
  .theme-toggle-text { display: inline; }
}

/* ---------- buttons ---------- */
.btn, .pf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .6rem 1.4rem; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn-accent, .pf-btn { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover, .pf-btn:hover { filter: brightness(1.08); }
.btn-quiet, .pf-btn-quiet { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-quiet:hover, .pf-btn-quiet:hover { background: var(--surface-2); filter: none; }
.btn-small { min-height: 2.75rem; padding: .4rem 1rem; font-size: .95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70%; background: radial-gradient(80% 100% at 50% 100%, var(--glow), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; }
.hero-copy .lede { margin-top: 1.4rem; }
.hero-now { margin-top: 1.4rem; font-size: 1.05rem; color: var(--muted); min-height: 2.6rem; display: none; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.js .hero-now { display: flex; }
.now-word { font-size: 1.7rem; line-height: 1; color: var(--accent); transition: font-weight .5s var(--ease), font-stretch .5s var(--ease); }
.now-chat { font-weight: 620; font-stretch: 100%; }
.now-map { font-weight: 820; font-stretch: 122%; }
.now-controls { font-weight: 520; font-stretch: 78%; }
.now-readout { font-weight: 320; font-stretch: 110%; }
.hero-note { margin-top: 1.4rem; font-size: .95rem; color: var(--muted); max-width: 32rem; }
@media (min-width: 62rem) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 3rem; } }

.stage { --cw: min(18.75rem, calc(100vw - 2.5rem)); --mw: min(27.5rem, calc(100vw - 2.5rem)); --pw: min(21.5rem, calc(100vw - 2.5rem)); --rw: min(20rem, calc(100vw - 2.5rem)); min-width: 0; }
.stage-tabs { display: none; gap: .25rem; justify-content: center; margin-bottom: 1.25rem; }
.js .stage-tabs { display: flex; }
.stage-tabs [role="tab"] { min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 1px solid transparent; background: none; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; }
.stage-tabs [role="tab"]:hover { color: var(--text); }
.stage-tabs [aria-selected="true"] { color: var(--text); border-color: var(--line-strong); background: var(--surface); }
.stage-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1rem; margin-top: 1.25rem; text-align: center; }
.stage-pause { min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: none; color: var(--text); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.stage-pause[hidden] { display: none; }

/* Without script: the four forms sit side by side, nothing moves. */
.stage-frame { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.form { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.1rem; min-height: 20rem; display: flex; flex-direction: column; gap: .6rem; font-size: .92rem; line-height: 1.4; }
/* With script: one surface that changes shape; each form is drawn at its own size and the surface reveals it. */
.js .stage-area { height: 29.5rem; display: grid; place-items: center; }
.js .stage-frame { display: block; position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); width: var(--cw); height: 28.75rem; border-radius: 2.1rem; transition: width .65s var(--ease), height .65s var(--ease), border-radius .65s var(--ease); }
.js .stage-frame[data-form="map"] { width: var(--mw); height: 23.75rem; border-radius: 1.4rem; }
.js .stage-frame[data-form="controls"] { width: var(--pw); height: 26.25rem; border-radius: 1.6rem; }
.js .stage-frame[data-form="readout"] { width: var(--rw); height: 20rem; border-radius: 3.4rem; }
.js .form { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 0; border-radius: 0; background: none; opacity: 0; visibility: hidden; transition: opacity .2s linear, visibility 0s linear .2s; }
.js .form.is-active { opacity: 1; visibility: visible; transition: opacity .4s linear .3s, visibility 0s; }
.js .form-chat { width: var(--cw); height: 28.75rem; }
.js .form-map { width: var(--mw); height: 23.75rem; }
.js .form-controls { width: var(--pw); height: 26.25rem; }
.js .form-readout { width: var(--rw); height: 20rem; }

/* pictures of the app, drawn in HTML: shared by the hero, the comparison and the advertising kit */
.v-title { display: flex; align-items: center; gap: .5rem; font-weight: 650; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.v-title .mark { width: 1.1rem; height: 1.1rem; color: var(--accent); }
.v-bubble { align-self: flex-start; max-width: 88%; padding: .6rem .85rem; border-radius: 1.1rem; border: 1px solid var(--line); border-bottom-left-radius: .3rem; background: var(--bg); }
.v-me { align-self: flex-end; background: var(--accent-soft); border-color: transparent; border-radius: 1.1rem; border-bottom-right-radius: .3rem; }
.v-ask { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: .35rem .4rem .35rem 1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.v-mic { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--accent); position: relative; }
.v-mic::after { content: ""; position: absolute; left: 50%; top: 50%; width: .45rem; height: .9rem; margin: -.5rem 0 0 -.225rem; border-radius: .3rem; background: var(--on-accent); }
.v-action { align-self: flex-start; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; }
.v-kicker { font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.v-heading { font-family: var(--display); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.v-said { margin-top: auto; color: var(--muted); font-size: .86rem; }

.form-map { padding: 0; }
.v-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-land { fill: var(--map-land); }
.m-water { fill: var(--map-water); }
.m-road { fill: none; stroke: var(--map-road); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.m-highway { fill: none; stroke: var(--map-highway); stroke-width: 7; stroke-linecap: round; }
.m-route { fill: none; stroke: var(--route); stroke-width: 5; stroke-linecap: round; }
.m-fire-area { fill: var(--fire-soft); stroke: var(--fire); stroke-width: 2; stroke-linejoin: round; }
.m-fire { fill: var(--fire); }
.m-cam circle { fill: var(--accent); stroke: var(--map-land); stroke-width: 2; }
.m-cam path { fill: var(--on-accent); }
.m-me { fill: var(--text); stroke: var(--map-land); stroke-width: 2; }
.m-me-halo { fill: var(--accent-soft); }
.m-dest { fill: var(--map-land); stroke: var(--route); stroke-width: 4; }
.v-chip { position: absolute; padding: .3rem .7rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); font-weight: 600; font-size: .86rem; }
.v-chip-weather { right: .9rem; top: .9rem; }
.v-legend { position: absolute; left: .7rem; right: .7rem; bottom: .7rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; list-style: none; padding: .5rem .8rem; border-radius: .9rem; background: var(--surface); border: 1px solid var(--line); font-size: .82rem; }
.v-legend li { display: flex; align-items: center; gap: .4rem; }
.v-legend li::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--accent); }
.v-legend .l-fire::before { background: var(--fire); border-radius: 2px; }
.v-legend .l-route::before { background: var(--route); height: .25rem; width: 1.1rem; border-radius: 2px; }
/* without script the map form needs its own height */
.form-map { min-height: 20rem; }

.v-rows { list-style: none; display: grid; gap: .1rem; margin-top: .3rem; }
.v-rows li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.1rem; border-bottom: 1px solid var(--line); font-weight: 550; }
.v-switch { flex: none; width: 2.9rem; height: 1.7rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong); position: relative; }
.v-switch::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--muted); }
.v-switch.is-on { background: var(--accent); border-color: var(--accent); }
.v-switch.is-on::after { left: auto; right: .2rem; background: var(--on-accent); }
.v-rows .v-progress { flex-wrap: wrap; padding-block: .7rem; gap: .5rem 1rem; }
.v-pct { color: var(--muted); font-variant-numeric: tabular-nums; }
.v-meter { flex: 0 0 100%; height: .4rem; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.v-meter span { display: block; width: 62%; height: 100%; background: var(--accent); border-radius: 999px; }

.form-readout { align-items: center; justify-content: center; text-align: center; gap: .3rem; }
.v-number { font-size: 4.4rem; line-height: 1; font-weight: 300; font-stretch: 110%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.v-number span { font-family: var(--body); font-size: 1.3rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: .2rem; vertical-align: 1.5rem; }
.v-spark { width: 68%; height: 2.6rem; }
.v-spark path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.v-stats { display: flex; gap: 1.4rem; margin-top: .5rem; }
.v-stats dt { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.v-stats dd { font-weight: 650; font-variant-numeric: tabular-nums; }

/* ---------- sections ---------- */
.band { padding-block: clamp(3.5rem, 7vw, 6.5rem); border-top: 1px solid var(--line); }
.section-head { margin-bottom: 2.25rem; }
.band-facts { padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.facts { display: grid; gap: 2rem; }
.fact-h { font-size: 1.35rem; line-height: 1.2; font-weight: 700; margin-bottom: .5rem; }
.fact p { color: var(--muted); }
@media (min-width: 50rem) { .facts { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

.status-key { display: grid; gap: .75rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); margin-bottom: 1.5rem; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; list-style: none; font-weight: 600; }
.legend li { display: flex; align-items: center; gap: .55rem; }
.status-source { font-size: .92rem; color: var(--muted); max-width: 60rem; }
.lede, .section-lede, .page-lede, .status-source { text-wrap: pretty; }
@media (min-width: 62rem) { .status-key { grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; } .status-key .legend { display: grid; gap: .45rem; } }
.st { flex: none; width: .8rem; height: .8rem; border-radius: 50%; border: 2px solid var(--accent); }
.s-in .st { background: var(--accent); }
.s-built .st { background: linear-gradient(90deg, var(--accent) 50%, transparent 50%); }
.s-planned .st { border-color: var(--line-strong); }
.st-tag { display: inline-block; margin-left: .4rem; padding: .05rem .5rem; border-radius: 999px; border: 1px solid var(--line-strong); font-family: var(--body); font-size: .76rem; font-weight: 600; color: var(--muted); vertical-align: .1em; white-space: nowrap; }
.chip-nav { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin-bottom: 1rem; }
.chip-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); text-decoration: none; font-weight: 600; }
.chip-nav a:hover { background: var(--surface-2); }

.verb { display: grid; gap: 1.5rem; padding-block: 2.75rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.verb:first-child { border-top: 0; }
.verb-name { font-size: clamp(3.2rem, 9vw, 6rem); line-height: .9; letter-spacing: -.03em; }
.verb-name-learn { font-weight: 420; font-stretch: 100%; }
.verb-name-connect { font-weight: 720; font-stretch: 112%; }
.verb-name-share { font-weight: 320; font-stretch: 125%; }
.verb-name-map { font-weight: 840; font-stretch: 86%; }
.verb-name-interact { font-weight: 600; font-stretch: 98%; }
.verb-name-aid { font-weight: 900; font-stretch: 76%; }
.verb-name-make { font-weight: 520; font-stretch: 118%; }
.verb-line { font-size: 1.2rem; margin-top: .9rem; max-width: 24rem; }
.verb-say { margin-top: 1.4rem; }
.say-label { font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.verb-say ul { list-style: none; display: grid; gap: .35rem; color: var(--muted); }
.verb-more { margin-top: 1.2rem; font-weight: 600; }
/* On a phone each verb shows its first five; the link above leads to all of them. */
@media (max-width: 40rem) { .ability:nth-child(n+6) { display: none; } .verb { padding-block: 2.25rem; } }
.abilities { list-style: none; display: grid; gap: 0; align-content: start; }
.ability { display: grid; grid-template-columns: auto 1fr; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.ability .st { margin-top: .45rem; }
.ability-t { font-weight: 650; }
.ability-d { color: var(--muted); font-size: .98rem; }
.s-planned .ability-t, .s-built .ability-t { font-weight: 600; }
@media (min-width: 56rem) {
  .verb { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; }
  .abilities { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
}

/* real screens */
.band-screens { overflow: hidden; }
.screens-scroll { --gutter: max(1.25rem, calc((100vw - var(--wrap)) / 2 + 2rem)); overflow-x: auto; padding: .5rem var(--gutter) 1.25rem; scroll-padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.screens { display: flex; gap: 1.25rem; list-style: none; width: max-content; }
.screens-design { width: auto; flex-wrap: wrap; margin-top: 1.5rem; }
.screen { flex: none; width: 13.5rem; scroll-snap-align: start; }
.screen-wide { width: 27rem; max-width: 86vw; }
.screen a { display: block; border-radius: 1.4rem; overflow: hidden; border: 1px solid var(--line-strong); background: #000; }
.screen-wide a { border-radius: 1rem; }
.screen a:hover { border-color: var(--accent); }
.screen img { width: 100%; }
.screen p { margin-top: .7rem; font-size: .92rem; color: var(--muted); }
.screen p strong { display: block; color: var(--text); }
.lightbox { border: 1px solid var(--line-strong); border-radius: 1.25rem; background: var(--surface); color: var(--text); padding: 1rem; max-width: min(96vw, 70rem); max-height: 96vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .78); }
.lightbox img { max-height: 76vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: .75rem; }
.lightbox figcaption { margin-top: .75rem; font-size: .95rem; color: var(--muted); text-align: center; max-width: 40rem; margin-inline: auto; }
.lightbox form { display: flex; justify-content: flex-end; margin-bottom: .5rem; }
.lightbox-close { min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: none; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }

/* with and without the map service */
.compare { display: grid; gap: 1.5rem; }
.compare-col { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.5rem; background: var(--surface); display: grid; gap: 1.25rem; align-content: start; }
.compare-with { border-color: var(--accent); }
.compare-h { font-family: var(--display); font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.vig { display: flex; flex-direction: column; gap: .6rem; padding: 1rem; border-radius: 1.25rem; background: var(--bg); border: 1px solid var(--line); font-size: .95rem; line-height: 1.4; min-height: 15rem; }
.vig .v-bubble { background: var(--surface); }
.vig .v-me { background: var(--accent-soft); }
.v-card { border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: var(--surface); }
.v-camshot { display: block; width: 100%; height: 7rem; }
.c-sky { fill: var(--surface-2); } .c-ground { fill: var(--map-land); } .c-hill { fill: var(--map-highway); opacity: .45; }
.c-road { fill: var(--map-road); } .c-line { stroke: var(--muted); stroke-width: 2; fill: none; }
.v-card-cap { padding: .55rem .8rem; font-weight: 600; font-size: .9rem; }
.v-card-cap span { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.v-facts { list-style: none; display: grid; gap: .35rem; font-size: .9rem; }
.v-facts li { padding: .45rem .8rem; border-radius: .75rem; border: 1px solid var(--line); background: var(--surface); }
.compare-points { display: grid; gap: .55rem; padding-left: 1.2rem; color: var(--muted); }
.compare-points li::marker { color: var(--accent); }
.fair ul { display: grid; gap: .9rem; list-style: none; margin-top: 1rem; max-width: 52rem; color: var(--muted); }
.fair li { padding-left: 1.1rem; border-left: 2px solid var(--line-strong); }
.fair strong { color: var(--text); }
@media (min-width: 52rem) { .compare { grid-template-columns: 1fr 1fr; } }

/* plans */
.notice, .pf-notice { padding: 1rem 1.25rem; border-radius: 1rem; border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--surface); max-width: 52rem; margin-bottom: 2rem; }
.plans { display: grid; gap: 1.25rem; }
.plan { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.5rem; background: var(--surface); }
.plan-kind { font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan-name { font-size: 1.55rem; line-height: 1.12; font-weight: 720; }
.price { font-size: 2rem; line-height: 1.1; font-weight: 640; font-stretch: 105%; margin-block: .4rem; }
.price-coming { font-size: 1.15rem; font-family: var(--body); font-weight: 600; color: var(--muted); padding: .35rem .8rem; border: 1px dashed var(--line-strong); border-radius: 999px; align-self: flex-start; }
.per { font-size: 1rem; color: var(--muted); font-family: var(--body); font-weight: 500; }
.plan-summary { color: var(--muted); }
.packs { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.packs li { padding: .25rem .7rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .88rem; font-weight: 600; }
.plan-points { display: grid; gap: .5rem; padding-left: 1.2rem; margin-top: .75rem; font-size: .98rem; }
.plan-points li::marker { color: var(--accent); }
.after-plans { margin-top: 2rem; }
@media (min-width: 40rem) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 68rem) { .plans { grid-template-columns: repeat(4, 1fr); } }

main.page .plan-name { font-size: 1.55rem; line-height: 1.12; font-weight: 720; margin: 0; }
main.page .plan p, main.page .plan ul { margin-bottom: 0; }
main.page .plan .price { margin-block: .4rem; }
main.page .plan-points { padding-left: 1.2rem; margin-top: .75rem; }
main.page .packs { padding-left: 0; margin-top: .5rem; }
main.page .packs li, main.page .plan-points li { margin-block: 0; }
main.page .plans { margin-block: 2rem 1rem; }
@media (max-width: 30rem) { .site-nav a { padding: 0 .5rem; font-size: .94rem; } .site-nav .nav-optional { display: none; } }

/* founding testers */
.band-founding { background: radial-gradient(70% 120% at 50% 120%, var(--glow), transparent 70%); }
.founding { display: grid; gap: 2.5rem; }
.steps-mini { list-style: none; counter-reset: s; display: grid; gap: 1rem; align-content: start; }
.steps-mini li { counter-increment: s; display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); color: var(--muted); }
.steps-mini li::before { content: counter(s); font-family: var(--display); font-size: 1.9rem; font-weight: 300; font-stretch: 110%; line-height: 1; color: var(--accent); }
.steps-mini p { align-self: center; }
.steps-mini strong { color: var(--text); }
@media (min-width: 56rem) { .founding { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }

/* ---------- inner pages (static and server) ---------- */
main.page { display: block; width: 100%; max-width: var(--wrap); margin-inline: auto; padding: clamp(2rem, 5vw, 4rem) 1.25rem clamp(3rem, 6vw, 5rem); }
@media (min-width: 48rem) { main.page { padding-inline: 2rem; } }
main.page h1 { font-size: clamp(2.1rem, 3.4vw + 1.2rem, 3.4rem); line-height: 1.04; font-weight: 760; font-stretch: 94%; letter-spacing: -.02em; text-wrap: balance; margin-bottom: 1rem; }
main.page h2 { font-size: 1.6rem; line-height: 1.2; font-weight: 700; margin: 2.75rem 0 .75rem; scroll-margin-top: 1rem; }
main.page h3 { font-size: 1.15rem; line-height: 1.3; margin: 1.75rem 0 .4rem; }
main.page p, main.page ul, main.page ol, main.page table, main.page dl { margin-bottom: 1rem; }
main.page ul, main.page ol { padding-left: 1.3rem; }
main.page li { margin-block: .35rem; }
/* Text keeps to a readable measure, on the same left edge as the header; grids and maps may use the full width. */
main.page > :is(p, h1, h2, h3, ul, ol, dl, form, table, section, article, .notice) { max-width: 46rem; }
.page-lede, .pf-lede { font-size: 1.2rem; line-height: 1.5; }
.steps { list-style: none; counter-reset: s; padding-left: 0 !important; display: grid; gap: 1rem; margin-top: 1.5rem; }
.steps > li { counter-increment: s; position: relative; padding: 1.25rem 1.25rem 1.25rem 4.25rem; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--surface); margin: 0 !important; }
.steps > li::before { content: counter(s); position: absolute; left: 1.25rem; top: 1rem; font-family: var(--display); font-size: 2.4rem; font-weight: 300; font-stretch: 110%; line-height: 1; color: var(--accent); }
.steps h2, .steps h3 { margin: 0 0 .35rem !important; font-size: 1.25rem !important; font-family: var(--display); }
.steps p:last-child, .steps ul:last-child { margin-bottom: 0; }
.perms { list-style: none; padding-left: 0 !important; display: grid; gap: .75rem; }
.perms > li { margin: 0 !important; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--surface); }
.perms h3 { margin: 0 0 .25rem !important; }
.perms p { margin-bottom: .35rem !important; color: var(--muted); }
.perms .where { font-size: .92rem; color: var(--text); }
.tag { display: inline-block; margin-left: .4rem; padding: .05rem .55rem; border-radius: 999px; border: 1px solid var(--line-strong); font-family: var(--body); font-size: .76rem; font-weight: 600; color: var(--muted); vertical-align: .15em; }
.rules { list-style: none; padding-left: 0 !important; display: grid; gap: .75rem; }
.rules li { margin: 0 !important; padding-left: 1.1rem; border-left: 2px solid var(--accent); }
.next-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.lost { text-align: center; padding-block: 3rem; max-width: 46rem; margin-inline: auto; }
.lost > * { margin-inline: auto; }
.lost .mark { width: 4.5rem; height: 4.5rem; color: var(--accent); margin-bottom: 1.5rem; }
.lost .cta-row { justify-content: center; }

/* server pages: classes listed in website/docs/HOOKS.md section 5 */
.pf-section { margin-bottom: 2.5rem; }
.pf-narrow { max-width: 30rem; }
.pf-meta, .pf-hint { color: var(--muted); font-size: .94rem; }
.pf-form { display: grid; gap: 1.4rem; margin-top: 1.5rem; }
.pf-field { display: grid; gap: .4rem; }
.pf-field label { font-weight: 650; }
.pf-field p { margin-bottom: 0 !important; }
.pf-sub { font-weight: 400 !important; font-size: .96rem; margin-top: .4rem; }
.pf-req { font-weight: 400; color: var(--muted); font-size: .9rem; }
main.page input[type="text"], main.page input[type="password"], main.page select, main.page textarea { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: .8rem; padding: .75rem .9rem; min-height: 3rem; }
main.page textarea { line-height: 1.45; resize: vertical; }
main.page input:focus-visible, main.page select:focus-visible, main.page textarea:focus-visible { outline-offset: 1px; border-color: var(--accent); }
.pf-check { grid-template-columns: auto 1fr; align-items: start; gap: .8rem; }
.pf-check input { width: 1.5rem; height: 1.5rem; margin: .15rem 0 0; accent-color: var(--accent); }
.pf-check label { font-weight: 400; }
.pf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pf-form .pf-btn { justify-self: start; }
.pf-btn-quiet { min-height: 2.75rem; padding: .35rem 1rem; font-size: .95rem; }
.pf-error { border: 1px solid var(--danger); color: var(--danger); border-radius: .9rem; padding: .5rem 1.1rem; }
.pf-error ul { margin-bottom: 0 !important; }
.pf-release { background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.25rem 1.4rem; margin-bottom: 1rem; }
.pf-release h3 { margin-top: 0 !important; font-family: var(--display); font-size: 1.3rem !important; }
.pf-tag { font-family: var(--body); font-size: .78rem; font-weight: 600; border: 1px solid var(--accent); color: var(--accent); border-radius: 999px; padding: .05rem .6rem; vertical-align: .15em; }
.pf-sha, .pf-link { word-break: break-all; font-size: .86rem; color: var(--muted); }
.pf-steps li, .pf-checklist li { margin-block: .55rem !important; }
.pf-testers-nav { border-bottom: 1px solid var(--line); background: var(--surface); padding: .5rem max(1.25rem, calc((100vw - var(--wrap)) / 2 + 2rem)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; }
.pf-testers-nav li:first-child a { padding-left: 0; }
.pf-testers-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .1rem .4rem; }
.pf-testers-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .7rem; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 550; font-size: .96rem; }
.pf-testers-nav a:hover { background: var(--surface-2); }
.pf-signout { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; color: var(--muted); font-size: .92rem; }
.pf-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.pf-table th, .pf-table td { text-align: left; vertical-align: top; padding: .6rem .6rem .6rem 0; border-bottom: 1px solid var(--line); }
.pf-table th { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pf-draft { border: 2px dashed var(--danger); color: var(--danger); padding: .8rem 1.1rem; border-radius: .9rem; }
.pf-legal h2 { margin-top: 3rem; }
.pf-dl dt { font-weight: 650; margin-top: .6rem; }
.pf-dl dd { white-space: pre-wrap; }
@media (max-width: 40rem) {
  .pf-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pf-table, .pf-table tbody, .pf-table tr, .pf-table td { display: block; }
  .pf-table tr { padding-block: .6rem; border-bottom: 1px solid var(--line); }
  .pf-table td { border: 0; padding: .2rem 0; }
  .pf-table td:first-child { font-weight: 650; }
}

/* feature map: a quiet reference page */
.fm-verb { display: grid; gap: 1.5rem; padding-block: 2.5rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.fm-verb .verb-name { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0; }
.fm-line { font-size: 1.1rem; margin: .7rem 0 .3rem !important; }
.fm-count { font-size: .9rem; color: var(--muted); margin: 0 !important; }
.fm-groups { columns: 1; column-gap: 2.5rem; }
.fm-group { break-inside: avoid; margin-bottom: 1.75rem; }
.fm-group h3 { margin: 0 0 .4rem !important; font-size: .82rem !important; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fm-group ul { list-style: none; padding: 0 !important; margin: 0 !important; }
.fm-item { display: grid; grid-template-columns: auto 1fr; gap: .8rem; margin: 0 !important; padding: .6rem 0; border-top: 1px solid var(--line); }
.fm-item .st { margin-top: .42rem; }
.fm-item p { margin: 0 !important; }
.fm-t { font-weight: 620; }
.fm-d { color: var(--muted); font-size: .94rem; }
.s-planned .fm-t { font-weight: 500; }
@media (min-width: 44rem) { .fm-groups { columns: 2; } }
@media (min-width: 64rem) { .fm-verb { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 3rem; } .fm-head { position: sticky; top: 1.5rem; align-self: start; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem 2rem; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-line { margin-top: .6rem; color: var(--text); font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
.footer-small { margin-top: .5rem; font-size: .88rem; max-width: 22rem; }
.footer-nav { display: flex; gap: 3rem; }
.footer-nav ul { list-style: none; display: grid; gap: .1rem; align-content: start; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--text); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-credit { display: grid; gap: .75rem; align-content: start; max-width: 26rem; }
.footer-credit strong { color: var(--text); }
.footer-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .88rem; }
@media (min-width: 56rem) { .footer-grid { grid-template-columns: 1.1fr 1fr 1.3fr; gap: 3rem; } }

/* ---------- motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .stage, .cta-row, .lightbox { display: none; }
  body { background: #fff; color: #000; }
}
