/* ==========================================================================
   Prosper data center petition — design system
   One stylesheet, no framework, no build step. Loads in one round trip.
   ========================================================================== */

:root {
  /* Ink: a blue-black, not a grey-black. Reads as night sky rather than UI. */
  --ink:        #11151d;
  --ink-2:      #1b212c;
  --ink-3:      #2a3240;
  --bone:       #f7f3ec;
  --bone-2:     #ece6db;
  --bone-3:     #d8d0c1;

  /* Signal. Burnt orange: Texas, and it is the only saturated colour on the
     page, so it belongs to actions and nothing else.
     Three roles, because one value cannot serve them all at AA:
       --signal        action grounds under white text, and accent TEXT on the
                       bone ground. #b8410f gives 5.5:1 and 5.0:1; the original
                       #d4541e was 4.1:1 and 3.7:1, so every button and every
                       eyebrow failed.
       --signal-press  the hover/active ground, darker still.
       --signal-bright the display accent used ONLY on the ink ground, where
                       it needs to be light rather than dark (5.9:1). */
  --signal:       #b8410f;
  --signal-press: #9c3709;
  --signal-bright:#ef6a30;
  --signal-dim:   rgba(184, 65, 15, 0.15);

  /* Land/water accent, used for data and for the map. */
  --sage:       #3f6b5a;
  --sage-light: #6f9a86;

  --alert:      #c0392b;

  --text:       #11151d;
  --text-muted: #55606f;
  --text-invert: #f7f3ec;
  --text-invert-muted: rgba(247, 243, 236, 0.66);

  --rule:       rgba(17, 21, 29, 0.12);
  --rule-invert: rgba(247, 243, 236, 0.16);

  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --measure: 68ch;
  --wide: 1180px;
  --shell: min(92vw, var(--wide));

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --shadow-lift: 0 1px 2px rgba(17,21,29,.06), 0 8px 24px -8px rgba(17,21,29,.16);
  --shadow-pop: 0 24px 70px -18px rgba(17,21,29,.45), 0 2px 8px rgba(17,21,29,.12);

  --step: clamp(3.5rem, 8vw, 7rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .22vw, 1.115rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.022em;
  margin: 0;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
h1 { font-size: clamp(2.9rem, 1.6rem + 5.6vw, 6.2rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 1.35rem + 2.7vw, 3.5rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.25rem, 1.08rem + .75vw, 1.7rem); }
p { margin: 0 0 1.15em; }
a { color: inherit; }

.shell { width: var(--shell); margin-inline: auto; }
.measure { max-width: var(--measure); }
.center { margin-inline: auto; }

section { padding-block: var(--step); scroll-margin-top: 5rem; }
.tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* --- Reusable atoms ----------------------------------------------------- */

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: currentColor; flex: none;
}
.on-dark .eyebrow { color: var(--signal-bright); }

.lede {
  font-size: clamp(1.16rem, 1.05rem + .55vw, 1.42rem);
  line-height: 1.5;
  color: var(--text-muted);
}
.on-dark .lede { color: var(--text-invert-muted); }

.btn {
  --btn-bg: var(--signal);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans);
  font-weight: 640; font-size: 1.02rem; letter-spacing: -.006em;
  padding: 1.02rem 1.9rem;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  text-decoration: none; cursor: pointer;
  transition: transform .16s cubic-bezier(.2,.8,.3,1), box-shadow .16s, background-color .16s;
  box-shadow: 0 1px 2px rgba(17,21,29,.14), 0 10px 24px -10px rgba(184,65,15,.7);
  text-align: center;
}
.btn:hover { background: var(--signal-press); transform: translateY(-2px); box-shadow: 0 2px 4px rgba(17,21,29,.16), 0 16px 34px -12px rgba(184,65,15,.8); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--rule);
}
.btn--ghost:hover { background: rgba(17,21,29,.045); box-shadow: inset 0 0 0 1.5px rgba(17,21,29,.28); }
.on-dark .btn--ghost { --btn-fg: var(--bone); box-shadow: inset 0 0 0 1.5px var(--rule-invert); }
.on-dark .btn--ghost:hover { background: rgba(247,243,236,.08); }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

:where(a, button, input, textarea, summary, [tabindex]):focus-visible {
  outline: 2.5px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :where(a, button, input, textarea, summary):focus-visible { outline-color: var(--signal-bright); }

.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3.2vw, 2.2rem);
  box-shadow: var(--shadow-lift);
}

/* Small caps label used above data points. */
.label {
  font-size: .7rem; font-weight: 680; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-muted);
  margin: 0 0 .35rem;
}
.on-dark .label { color: var(--text-invert-muted); }

.stat-num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4rem);
  line-height: .95; letter-spacing: -.035em;
  font-weight: 600;
  display: block;
}

/* ==========================================================================
   Header
   ========================================================================== */

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(17,21,29,.86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--rule-invert);
  color: var(--bone);
}
.masthead__in {
  display: flex; align-items: center; gap: 1.2rem;
  min-height: 62px;
}
.wordmark {
  font-family: var(--display); font-weight: 600; font-size: clamp(.94rem, .86rem + .34vw, 1.06rem);
  letter-spacing: -.02em; text-decoration: none; color: var(--bone);
  display: flex; align-items: baseline; gap: .5rem; margin-right: auto;
  padding-block: .5rem;
}
.wordmark__dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--signal);
  flex: none; box-shadow: 0 0 0 4px var(--signal-dim);
}
.wordmark__rest { display: none; }
@media (min-width: 620px) { .wordmark__rest { display: inline; } }
.masthead .btn__long { display: none; }
@media (min-width: 620px) { .masthead .btn__long { display: inline; } }
.masthead nav { display: none; gap: 1.6rem; }
.masthead nav a {
  font-size: .875rem; font-weight: 520; text-decoration: none;
  color: var(--text-invert-muted); transition: color .15s;
}
.masthead nav a:hover { color: var(--bone); }
.masthead .btn { padding: .62rem 1.2rem; font-size: .9rem; }
@media (min-width: 900px) { .masthead nav { display: flex; } }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative; isolation: isolate;
  background: var(--ink);
  color: var(--bone);
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
}
/* Horizon glow. Two soft radial washes: a warm one low and left where the
   signal colour lives, a cool one high and right. Keeps a flat dark block
   from looking like a flat dark block. */
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -20%; height: 150%;
  background:
    radial-gradient(58% 42% at 18% 88%, rgba(212,84,30,.30), transparent 70%),
    radial-gradient(50% 40% at 88% 8%, rgba(63,107,90,.30), transparent 72%);
  z-index: -2; pointer-events: none;
}
/* Faint horizon rule, the prairie line. */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247,243,236,.22), transparent);
  z-index: -1;
}
.hero__grid { display: grid; gap: clamp(2.4rem, 5vw, 4rem); align-items: start; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 1.06fr .94fr; gap: clamp(3rem, 5vw, 5rem); }
}
h1 .thin { display: block; color: var(--text-invert-muted); font-weight: 300; }
h1 em {
  font-style: normal; color: var(--signal-bright);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.hero__sub { max-width: 40ch; margin-top: 1.6rem; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.9rem;
}
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8rem; font-weight: 560; letter-spacing: -.005em;
  padding: .42rem .85rem; border-radius: 999px;
  background: rgba(247,243,236,.08);
  border: 1px solid var(--rule-invert);
  color: var(--text-invert-muted);
}
.chip strong { color: var(--bone); font-weight: 640; }
.chip__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--signal-bright); flex: none;
}

/* --- Counter ------------------------------------------------------------ */

.counter { margin-top: 2.4rem; }
.counter__row { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.counter__num {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.6rem, 1.8rem + 3vw, 3.9rem);
  line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums; color: var(--bone);
}
.counter__of { font-size: .95rem; color: var(--text-invert-muted); }
.meter {
  margin-top: .85rem; height: 7px; border-radius: 999px;
  background: rgba(247,243,236,.14); overflow: hidden;
}
.meter__fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--signal), var(--signal-bright));
  border-radius: 999px;
  transition: width 1.1s cubic-bezier(.2,.8,.3,1);
}

/* ==========================================================================
   Form
   ========================================================================== */

.signform {
  background: var(--bone);
  color: var(--text);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.4vw, 2.1rem);
  box-shadow: var(--shadow-pop);
  position: relative;
}
.signform__head { margin-bottom: 1.3rem; }
.signform__head h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 1.95rem); }
.signform__head p { margin: .5rem 0 0; font-size: .95rem; color: var(--text-muted); }

.field { margin-bottom: .85rem; }
.field label {
  display: block; font-size: .78rem; font-weight: 620;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: .35rem;
}
.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%; font: inherit; font-size: 1rem;
  padding: .82rem .95rem;
  border: 1.5px solid var(--bone-3);
  border-radius: var(--r-sm);
  background: #fff; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #6b7280; }
.field input:focus-visible, .field textarea:focus-visible {
  /* Keep the ring. The tinted border plus soft glow alone was barely
     perceptible, which is the whole point of a focus indicator. */
  outline: 2.5px solid var(--signal); outline-offset: 1px;
  border-color: var(--signal);
  box-shadow: 0 0 0 4px var(--signal-dim);
}
.field input:focus, .field textarea:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 4px var(--signal-dim);
}
.field textarea { resize: vertical; min-height: 84px; }
.field--row { display: grid; gap: .85rem; grid-template-columns: 1fr; }
@media (min-width: 480px) { .field--row { grid-template-columns: 1.35fr 1fr; } }

.check {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .89rem; line-height: 1.45; color: var(--text-muted);
  padding: .5rem 0; cursor: pointer;
}
.check input { margin: .18rem 0 0; width: 17px; height: 17px; flex: none; accent-color: var(--signal); cursor: pointer; }
.check strong { color: var(--text); font-weight: 620; }

/* Honeypot. Off-screen rather than display:none — some bots skip hidden. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formnote { font-size: .78rem; color: var(--text-muted); margin: .9rem 0 0; line-height: 1.5; }
.formmsg {
  margin: 0 0 1rem; padding: .8rem 1rem; border-radius: var(--r-sm);
  font-size: .9rem; display: none;
}
.formmsg--err { display: block; background: rgba(192,57,43,.09); color: #8f2a20; border: 1px solid rgba(192,57,43,.25); }

.signform__done { display: none; text-align: left; }
.signform.is-done .signform__body { display: none; }
.signform.is-done .signform__done { display: block; }
.signform__done h3 { margin-bottom: .6rem; }
.tick {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sage); color: #fff;
  display: grid; place-items: center; margin-bottom: 1rem;
}

/* ==========================================================================
   Content blocks
   ========================================================================== */

.dark { background: var(--ink); color: var(--bone); }
.dark h2, .dark h3 { color: var(--bone); }

/* Width is set in rem, not ch. `ch` here would resolve against this
   container's font-size (body size), not the much larger display size of the
   h2 inside it -- which clamped every section headline to about 300px. */
.sect-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sect-head .lede { margin-top: 1.1rem; max-width: 54ch; }

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Numbered "ask" list */
.asks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--rule); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); }
.dark .asks { background: var(--rule-invert); border-color: var(--rule-invert); }
.asks li { background: var(--bone); padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: .85rem; }
.dark .asks li { background: var(--ink); }
@media (min-width: 760px) { .asks li { grid-template-columns: 3.2rem 1fr; gap: 1.4rem; align-items: start; } }
.asks .n {
  font-family: var(--display); font-size: 1.7rem; font-weight: 600;
  color: var(--signal); line-height: 1; letter-spacing: -.03em;
}
.asks h3 { margin-bottom: .5rem; }
.asks p { margin: 0; color: var(--text-muted); }
.dark .asks p { color: var(--text-invert-muted); }

/* Decibel scale */
.db { display: grid; gap: .55rem; margin: 2rem 0 0; }

/* Wide screens: value column, then the bar, with the caption lifted on top of
   the bar. The caption is positioned against the ROW rather than nested in the
   fill -- a fill at 27% width cannot hold its own caption, and clipping the
   text to the fill truncated every label to a fragment below about 1024px. */
.db__row {
  position: relative;
  display: grid; grid-template-columns: 4.6rem 1fr; gap: 1rem; align-items: center;
}
.db__val {
  font-family: var(--display); font-weight: 600; font-size: 1.2rem;
  text-align: right; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.db__bar { height: 34px; border-radius: 6px; position: relative; background: rgba(247,243,236,.09); }
.db__fill { position: absolute; inset: 0 auto 0 0; border-radius: 6px; }
.db__label {
  position: absolute; left: calc(4.6rem + 1rem + .85rem); right: .5rem; top: 0;
  height: 34px;
  /* line-height rather than flex centring, for the second time: a flex
     container drops the whitespace between its children, which renders
     "day <em>and</em> night" as "dayandnight". */
  line-height: 34px;
  /* Above the bar. The bar follows the label in source order and creates its
     own stacking context, so without this it paints over the caption -- which
     showed as washed-out text behind the two most opaque fills. */
  z-index: 2;
  font-size: .84rem; font-weight: 560; white-space: nowrap;
  color: var(--bone); pointer-events: none;
}
.db__fill--who { background: rgba(111,154,134,.34); }
.db__fill--night { background: rgba(111,154,134,.22); }
.db__fill--cap { background: linear-gradient(90deg, rgba(212,84,30,.95), rgba(239,106,48,.85)); }
.db__fill--gen { background: rgba(192,57,43,.7); }

/* Narrow screens: no caption fits inside a bar, so the row simply stacks in
   its natural reading order -- value, caption, then the bar as a quantity. */
@media (max-width: 760px) {
  .db { gap: 1.35rem; }
  .db__row { grid-template-columns: 1fr; gap: .3rem; }
  .db__val { text-align: left; font-size: 1.15rem; }
  .db__label {
    position: static; display: block; height: auto; line-height: 1.4;
    white-space: normal; font-size: .92rem; line-height: 1.4;
    color: var(--text-invert-muted);
  }
  .db__bar { height: 12px; }
}

.db__note { font-size: .82rem; color: var(--text-invert-muted); margin-top: 1.2rem; }

/* The orientation diagram keeps a 420px floor so its labels stay legible;
   below that it scrolls inside its own box rather than the page.
   `min-width: 0` is what makes that work: a grid item defaults to
   min-width:auto, so without it the 420px floor propagates up and widens the
   whole track -- which is a page-level horizontal scrollbar, not a local one. */
.mapscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; min-width: 0; }
.grid > *, .hero__grid > * { min-width: 0; }

/* Q&A / unanswered questions */
.qlist { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.qlist > div { background: #fff; padding: clamp(1.3rem, 2.8vw, 1.8rem); }
.qlist h3 { font-size: 1.12rem; margin-bottom: .55rem; font-family: var(--sans); font-weight: 650; letter-spacing: -.012em; }
.qlist p { margin: 0; font-size: .95rem; color: var(--text-muted); }

/* Precedent cards */
.prec { display: grid; gap: .9rem; }
.prec__item {
  display: grid; gap: .3rem;
  padding: 1.1rem 0; border-top: 1px solid var(--rule-invert);
}
.prec__item:first-child { border-top: 0; }
.prec__where { font-family: var(--display); font-size: 1.22rem; font-weight: 600; letter-spacing: -.02em; }
.prec__what { font-size: .93rem; color: var(--text-invert-muted); }
.prec__tag {
  font-size: .68rem; font-weight: 680; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sage-light);
}

/* Meeting card */
.meeting {
  display: grid; gap: 1.6rem;
  border: 1.5px solid var(--signal);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.4vw, 2.4rem);
  background: #fff;
  box-shadow: var(--shadow-lift);
}
@media (min-width: 820px) { .meeting { grid-template-columns: 1fr 1.25fr; gap: 2.6rem; } }
.meeting__when { border-right: 0; }
@media (min-width: 820px) { .meeting__when { border-right: 1px solid var(--rule); padding-right: 2.4rem; } }
.meeting__date { font-family: var(--display); font-size: clamp(1.7rem,1.3rem+1.6vw,2.3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.meeting dl { margin: 1.2rem 0 0; display: grid; gap: .8rem; }
.meeting dt { font-size: .7rem; font-weight: 680; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.meeting dd { margin: .15rem 0 0; font-size: .97rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 1.9rem 1fr; gap: .9rem; font-size: .97rem; }
.steps li::before {
  content: counter(s);
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--signal-dim); color: var(--signal);
  display: grid; place-items: center;
  font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.steps strong { font-weight: 640; }

/* Script box */
.script {
  background: var(--ink-2); color: var(--bone);
  border-radius: var(--r-md); padding: clamp(1.2rem, 2.6vw, 1.7rem);
  font-size: .97rem; line-height: 1.65;
  border-left: 3px solid var(--signal);
}
.script p:last-child { margin-bottom: 0; }
.script .blank { color: var(--signal-bright); font-weight: 600; }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0;
  font-family: var(--display); font-size: clamp(1.08rem,1rem+.4vw,1.3rem); font-weight: 600;
  letter-spacing: -.018em; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .3rem; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2px solid var(--signal); border-bottom: 2px solid var(--signal);
  transform: rotate(45deg); transition: transform .22s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq__a { padding: 0 0 1.5rem; max-width: var(--measure); color: var(--text-muted); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* Sources */
.sources { font-size: .82rem; color: var(--text-muted); }
.sources ul { margin: .6rem 0 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
.sources a { color: var(--text-muted); }

/* Footer */
.foot { background: var(--ink); color: var(--text-invert-muted); padding-block: clamp(2.8rem,5vw,4rem) 2rem; font-size: .9rem; }
.foot a { color: var(--bone); }
.foot__grid { display: grid; gap: 2rem; }
@media (min-width: 780px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.foot h3 { font-family: var(--sans); font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--bone); margin-bottom: .9rem; font-weight: 680; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot__legal { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--rule-invert); font-size: .78rem; line-height: 1.6; }

/* Sticky mobile CTA */
.stickycta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: .7rem max(3vw, .7rem) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(17,21,29,.93);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--rule-invert);
  /* visibility, not just transform: translated off-screen it stayed in the
     tab order, so keyboard focus landed on an invisible button. */
  transform: translateY(120%); visibility: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.3,1), visibility .3s;
  display: flex; align-items: center; gap: .9rem;
}
.stickycta.is-in { transform: translateY(0); visibility: visible; }
.stickycta__n { font-size: .82rem; color: var(--text-invert-muted); line-height: 1.3; }
.stickycta__n strong { color: var(--bone); display: block; font-size: 1rem; font-variant-numeric: tabular-nums; }
.stickycta .btn { margin-left: auto; padding: .78rem 1.4rem; font-size: .93rem; }
@media (min-width: 900px) { .stickycta { display: none; } }
/* Reserve the bar's height so it never parks on top of the last section --
   footer links were fully covered and could not be scrolled clear. */
@media (max-width: 899px) {
  /* On .foot rather than body so the reserved strip keeps the footer's dark
     ground instead of showing bone below it. */
  .foot { padding-bottom: 6rem; }
  html { scroll-padding-bottom: 5.25rem; }
}

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 100;
  /* `place-items: center` clips the TOP of a panel taller than the viewport,
     because an overflowing centered grid item cannot be scrolled back to.
     `margin: auto` on the panel centers it when it fits and lets it scroll
     normally when it does not. */
  display: grid; padding: max(4vh, 1rem) max(4vw, 1rem);
  background: rgba(11,14,20,.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .26s, visibility .26s;
  overflow-y: auto;
}
.modal.is-open { opacity: 1; visibility: visible; }
/* `display: grid` above overrides the user-agent [hidden] rule, so say it
   explicitly rather than relying on visibility to do the hiding. */
.modal[hidden] { display: none; }
.modal__panel {
  background: var(--bone); border-radius: var(--r-lg);
  width: min(540px, 100%); position: relative; margin: auto;
  box-shadow: var(--shadow-pop);
  transform: translateY(18px) scale(.985); transition: transform .3s cubic-bezier(.2,.8,.3,1);
  max-height: none;
}
.modal.is-open .modal__panel { transform: none; }
.modal__close {
  position: absolute; top: .75rem; right: .75rem; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(17,21,29,.07); color: var(--text-muted);
  cursor: pointer; display: grid; place-items: center; font-size: 1.1rem; line-height: 1;
  transition: background-color .15s, color .15s;
}
.modal__close:hover { background: rgba(17,21,29,.14); color: var(--text); }
.modal__banner {
  background: var(--ink); color: var(--bone);
  padding: 1.15rem clamp(1.5rem,3.4vw,2.1rem);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  font-size: .9rem;
}
.modal__banner strong { color: var(--signal-bright); }
.modal .signform { box-shadow: none; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.modal__panel:not(:has(.modal__banner)) .signform { border-radius: var(--r-lg); }

.skip {
  position: absolute; left: 50%; transform: translate(-50%, -140%);
  z-index: 200; background: var(--bone); color: var(--text);
  padding: .8rem 1.4rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 640; text-decoration: none;
  transition: transform .18s;
}
.skip:focus { transform: translate(-50%, 0); }

/* Utility */
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
