/* Let the Red Cross in.
   Layout idea: a protest poster. Flag red, ink black, paper white; one condensed black-weight
   typeface doing the shouting, a typewriter face for evidence (sources, the letter, labels). */

/* Fixed font files cut from Archivo (tools/build_fonts.py). They do not rely on variable-font
   settings, which iPhone Lockdown Mode and some in-app browsers ignore. */
@font-face { font-family: "Archivo Poster"; font-weight: 400 900; font-style: normal; font-display: swap;
  src: url("fonts/archivo-poster-900.woff2") format("woff2"), url("fonts/archivo-poster-900.ttf") format("truetype"); }
@font-face { font-family: "Archivo Label"; font-weight: 400 900; font-style: normal; font-display: swap;
  src: url("fonts/archivo-label-800.woff2") format("woff2"), url("fonts/archivo-label-800.ttf") format("truetype"); }
@font-face { font-family: "Archivo"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/archivo-400.woff2") format("woff2"), url("fonts/archivo-400.ttf") format("truetype"); }
@font-face { font-family: "Archivo"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("fonts/archivo-500.woff2") format("woff2"), url("fonts/archivo-500.ttf") format("truetype"); }
@font-face { font-family: "Archivo"; font-weight: 600 900; font-style: normal; font-display: swap;
  src: url("fonts/archivo-700.woff2") format("woff2"), url("fonts/archivo-700.ttf") format("truetype"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/plex-mono-400.woff2") format("woff2"), url("fonts/plex-mono-400.ttf") format("truetype"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("fonts/plex-mono-500.woff2") format("woff2"), url("fonts/plex-mono-500.ttf") format("truetype"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600 900; font-style: normal; font-display: swap;
  src: url("fonts/plex-mono-600.woff2") format("woff2"), url("fonts/plex-mono-600.ttf") format("truetype"); }

:root {
  --red: #d6202b;
  --red-deep: #a8131d;
  --red-lit: #ff4a55;
  --ink: #0d0d0b;
  --ink-2: #191916;
  --ink-3: #2a2a26;
  --paper: #f2f1ec;
  --paper-2: #e4e2da;
  --white: #ffffff;
  --green: #0b7a3e;
  --green-lit: #27c46b;
  --muted: #5d5c55;
  --on-dark-muted: #b4b2a8;

  /* If a phone refuses downloaded fonts altogether, these fall back to the condensed faces it already has. */
  --display: "Archivo Poster", "HelveticaNeue-CondensedBlack", "Avenir Next Condensed", Impact, "Arial Narrow", "Roboto Condensed", sans-serif-condensed, sans-serif;
  --label: "Archivo Label", "HelveticaNeue-CondensedBold", "Avenir Next Condensed", "Arial Narrow", "Roboto Condensed", sans-serif-condensed, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(18px, 4.5vw, 56px);
  --shadow: 6px 6px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
[data-fit] { display: block; white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 5000; padding: 12px 16px; background: var(--ink); color: var(--white); font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--white); }

/* ------------------------------------------------------------ shared pieces */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; text-align: center;
  min-height: 48px; padding: 12px 20px;
  font: 800 1.02rem/1.1 var(--label); letter-spacing: 0.035em; text-transform: uppercase; text-decoration: none;
  border: 3px solid var(--ink); border-radius: 0; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
.btn:active { transform: translate(0, 0); box-shadow: none; }
.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; box-shadow: none; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--white); }
.petitions .btn-ink:hover { box-shadow: 6px 6px 0 var(--red); }
.petitions .btn-red:hover { box-shadow: 6px 6px 0 var(--ink); }
.btn-line { background: transparent; color: var(--white); border-color: var(--white); }
.btn-line:hover { background: var(--white); color: var(--ink); }
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { box-shadow: 6px 6px 0 var(--white); }
.mpf-card .btn-red:hover { box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); box-shadow: 6px 6px 0 var(--red); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 0.9rem; border-width: 2px; }
.btn-lg { min-height: 60px; padding: 16px 28px; font-size: 1.25rem; }

.section-tag {
  display: inline-block; margin-bottom: 28px; padding: 6px 10px;
  background: var(--ink); color: var(--white);
  font: 500 0.78rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
}

.bar { height: 12px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.bar-dark { background: var(--paper-2); }
.bar-fill { height: 100%; transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bar-green { background: var(--green-lit); }
.bar-red { background: var(--red); }

.live { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }

/* ------------------------------------------------------------ hero */

.hero { background: var(--red); color: var(--white); overflow: hidden; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white);
  font: 900 1.25rem/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase;
}
.wordmark-mark { width: 30px; height: 26px; color: var(--ink); flex: none; }
.nav .wordmark { flex: 1 1 auto; min-width: 0; }
.nav .wordmark > span { flex: 1 1 auto; min-width: 0; }
.nav-links { flex: none; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); }
.nav-links a:not(.btn) { font: 600 0.82rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-links a:not(.btn):hover { border-bottom-color: var(--white); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: clamp(20px, 5vw, 56px); padding-bottom: clamp(40px, 7vw, 88px); }
.hero-copy { min-width: 0; }
.eyebrow { font: 600 0.85rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); animation: rise 0.6s 0.05s both; }
.hero-h1 { margin: clamp(22px, 3.4vw, 30px) 0 0; font: inherit; }
.hero-num {
  display: block; margin-left: -0.035em;
  font: 900 clamp(7.4rem, 37vw, 15rem)/0.8 var(--display); letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums; color: var(--white);
}
.hero-line {
  display: block; margin-top: 0.4em;
  font: 900 clamp(2.5rem, 13.9vw, 5.4rem)/0.9 var(--display); letter-spacing: -0.005em; text-transform: uppercase;
  color: var(--ink); animation: rise 0.6s 0.15s both;
}
.hero-sub { max-width: 33rem; margin-top: 22px; font-size: 1.18rem; line-height: 1.45; font-weight: 500; animation: rise 0.6s 0.28s both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; animation: rise 0.6s 0.4s both; }
.hero-src { margin-top: 20px; font: 500 0.74rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); animation: rise 0.6s 0.5s both; }
.hero-src a, .stat-src a, .ask-note a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.stat-src a:hover, .ask-note a:hover { color: var(--red-deep); }
.hero-src a:hover { color: var(--white); }
/* Movement only: the text is never hidden, so it stays readable if an animation is paused. */
@keyframes rise { from { transform: translateY(18px); } }

.tally { margin: 0; min-width: 0; align-self: end; }
.tally canvas { display: block; width: 100%; --tally-h: 210px; --tally-ink: #0d0d0b; --tally-today: #ffffff; }
.tally figcaption { margin-top: 12px; font: 500 0.78rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.tally-today { display: inline-block; width: 3px; height: 14px; margin: 0 4px 0 10px; background: var(--white); vertical-align: -2px; border-radius: 2px; }

/* ------------------------------------------------------------ numbers + ask */

.numbers { padding: clamp(48px, 8vw, 104px) 0; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(16px, 3vw, 40px); }
.stat { min-width: 0; padding-top: 14px; border-top: 8px solid var(--ink); }
.stat-live { border-top-color: var(--red); }
/* phone: the total runs the full width, the two groups sit side by side below it */
.stat-wide { grid-column: 1 / -1; }
.stat-wide .stat-num { font-size: clamp(4.6rem, 21vw, 7rem); }
.stat-wide .stat-label, .stat-wide .stat-src { max-width: 24rem; }
.stat-num { font: 900 clamp(3.1rem, 12.5vw, 6.6rem)/0.86 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-of { font-size: 0.42em; letter-spacing: 0; color: var(--muted); margin-left: 0.08em; }
.stat-label { margin-top: 12px; font-weight: 600; font-size: 1.02rem; line-height: 1.3; max-width: 17rem; }
.stat-src { margin-top: 10px; font: 400 0.72rem/1.45 var(--mono); color: var(--muted); max-width: 19rem; }

.ask { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: clamp(48px, 8vw, 104px); }
.ask-line { margin: 0; font: 900 clamp(2.7rem, 10.5vw, 6.4rem)/0.9 var(--display); letter-spacing: -0.01em; text-transform: uppercase; }
.ask-line span { color: var(--red); }
.ask-text { display: grid; gap: 16px; max-width: 34rem; font-size: 1.14rem; }
.ask-note { padding-left: 14px; border-left: 4px solid var(--ink); font: 400 0.84rem/1.55 var(--mono); color: var(--ink-3); }

/* ------------------------------------------------------------ the tool */

.act { background: var(--ink); color: var(--white); padding: clamp(48px, 8vw, 104px) 0; }
.act .section-tag { background: var(--red); }
.act :focus-visible { outline-color: var(--white); box-shadow: 0 0 0 6px var(--red); }
.act-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 36px; }
.act-title { margin: 0; font: 900 clamp(3.6rem, 15vw, 9.5rem)/0.82 var(--display); letter-spacing: -0.02em; text-transform: uppercase; }
.act-title .dot { color: var(--red); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-self: end; }
.steps li { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); align-items: baseline; padding-top: 12px; border-top: 2px solid var(--ink-3); color: var(--on-dark-muted); line-height: 1.35; }
.steps li > :not(.step-n) { grid-column: 2; }
.steps strong { color: var(--white); font-weight: 700; display: block; }
.step-n { grid-row: 1 / span 2; font: 600 0.95rem/1.4 var(--mono); color: var(--red-lit); }

.mpf-countries { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.mpf-country {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px;
  font: 800 1rem/1 var(--label); letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--white); background: transparent; border: 2px solid var(--ink-3); border-radius: 0; cursor: pointer;
  transition: border-color 0.12s, background-color 0.12s, color 0.12s;
}
.mpf-country:hover { border-color: var(--white); }
.mpf-country[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.mpf-flag { width: 30px; height: 15px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }

.mpf-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.mpf-mapcol, .mpf-panel { min-width: 0; }
.mpf-noscript { padding: 14px; background: var(--red); font-weight: 600; }

.mpf-label { display: block; margin: 0 0 8px; padding: 0; font: 600 0.76rem/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.mpf-searchrow { display: flex; gap: 0; align-items: stretch; }
.mpf-combo { position: relative; flex: 1 1 auto; min-width: 0; }
.mpf-input {
  display: block; width: 100%; min-height: 48px; padding: 10px 14px;
  font: 500 16px/1.3 var(--body); color: var(--ink);
  background: var(--white); border: 2px solid var(--ink); border-radius: 0;
}
.mpf-input::placeholder { color: #8b897f; }
.mpf-input-big { min-height: 60px; font-size: 1.15rem; border-color: var(--white); }
.mpf-searchrow .btn { min-height: 60px; padding: 12px 26px; font-size: 1.15rem; }
.mpf-searchrow .btn:hover { transform: none; box-shadow: none; background: var(--red-lit); border-color: var(--red-lit); }
.mpf-input[aria-invalid="true"] { border-color: var(--red); background: #fff1f1; }
.mpf-textarea { resize: vertical; min-height: 88px; line-height: 1.4; }
select.mpf-input { appearance: auto; }
.mpf-hint { margin-top: 10px; font-size: 0.9rem; line-height: 1.45; color: var(--on-dark-muted); }
.mpf-hint a { color: var(--white); }
.mpf-status { margin-top: 12px; font-size: 0.98rem; font-weight: 600; }
.mpf-status:empty { display: none; }
.mpf-status[data-kind="error"] { padding: 12px 14px; background: #3a0b10; border-left: 5px solid var(--red-lit); color: #ffd3d6; font-weight: 500; }
.mpf-status[data-kind="error"] a { color: var(--white); }
.mpf-status[data-kind="info"] { color: var(--on-dark-muted); font-weight: 500; }
.mpf-status[data-kind="ok"] { color: var(--green-lit); }

.mpf-sug {
  position: absolute; z-index: 1200; left: 0; right: 0; top: 100%;
  margin: 0; padding: 0; list-style: none; color: var(--ink);
  background: var(--white); border: 3px solid var(--ink); border-top: 0; box-shadow: 8px 8px 0 var(--red);
  max-height: 60vh; overflow-y: auto;
}
.mpf-sug li { display: flex; flex-direction: column; justify-content: center; min-height: 50px; padding: 8px 14px; cursor: pointer; }
.mpf-sug li + li { border-top: 1px solid var(--paper-2); }
.mpf-sug li[aria-selected="true"], .mpf-sug li:hover { background: var(--ink); color: var(--white); }
.mpf-sug .mpf-sn { font-weight: 700; }
.mpf-sug .mpf-ss { font: 400 0.76rem/1.4 var(--mono); opacity: 0.72; }

.mpf-nz { margin-top: 20px; display: grid; gap: 16px; }
.mpf-roll { margin: 0; padding: 0; border: 0; min-width: 0; }
.mpf-seg { display: inline-flex; border: 2px solid var(--white); max-width: 100%; }
.mpf-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mpf-seg label { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; font: 800 0.95rem/1 var(--label); letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer; }
.mpf-seg input:checked + label { background: var(--white); color: var(--ink); }
.mpf-seg input:focus-visible + label { outline: 3px solid var(--red-lit); outline-offset: -3px; }

.uk-only { display: none; }
.mpf[data-country="uk"] .uk-only { display: block; }
.uk-progress { margin-top: 24px; }
.uk-progress-line { margin-bottom: 10px; font-size: 1.02rem; color: var(--on-dark-muted); }
.uk-progress-line strong { color: var(--green-lit); font-weight: 700; }
.uk-silent { color: var(--white); font-weight: 600; }

.mpf-mapwrap { position: relative; margin-top: 16px; }
.mpf-map { height: 62vh; min-height: 340px; width: 100%; background: #101010; border: 2px solid var(--ink-3); position: relative; z-index: 0; }
@supports (height: 1svh) { .mpf-map { height: 62svh; } }
.mpf-maperr { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; color: var(--on-dark-muted); }
.map-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.legend { margin-top: 10px; font: 400 0.74rem/1.6 var(--mono); letter-spacing: 0.04em; color: var(--on-dark-muted); }
.mpf[data-country="uk"] .legend.uk-only { display: block; }
.sw { display: inline-block; width: 12px; height: 12px; margin: 0 6px 0 12px; vertical-align: -1px; border: 1px solid rgba(255, 255, 255, 0.4); }
.sw:first-child { margin-left: 0; }
.sw-signed { background: var(--green-lit); border-color: var(--green-lit); }
.sw-silent { background: rgba(255, 255, 255, 0.05); }
.sw-sel { background: var(--red); border-color: var(--red-lit); }

.leaflet-container { font: inherit; background: #101010; }
.leaflet-container canvas, .leaflet-container img, .leaflet-container svg { max-width: none; }
.leaflet-bar { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.leaflet-bar a, .leaflet-touch .leaflet-bar a { width: 44px; height: 44px; line-height: 42px; font-size: 22px; color: var(--white); background: var(--ink); border: 2px solid var(--ink-3); border-radius: 0 !important; text-decoration: none; }
.leaflet-bar a + a { border-top: 0; }
.leaflet-bar a:hover { background: var(--white); color: var(--ink); }
.leaflet-control-attribution { font-size: 10px; background: rgba(13, 13, 11, 0.72) !important; color: #9b998f; }
.leaflet-control-attribution a { color: #c9c7bd; }
.leaflet-tooltip.mpf-tip { padding: 8px 12px; color: var(--ink); background: var(--white); border: 0; border-left: 6px solid var(--red); border-radius: 0; box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.55); font-size: 14px; line-height: 1.3; white-space: normal; }
.leaflet-tooltip.mpf-tip::before { display: none; }
.mpf-tip-name { display: block; font: 900 1.1rem/1 var(--display); text-transform: uppercase; }
.mpf-tip-mp { display: block; margin-top: 3px; font-weight: 500; }
.mpf-tip-n { display: block; margin-top: 3px; font: 500 0.7rem/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* the panel: empty state, then the letter desk */
.mpf-empty { padding: 28px 24px; border: 2px dashed var(--ink-3); color: var(--on-dark-muted); }
.mpf-empty-mark { width: 44px; height: 39px; color: var(--red); }
.mpf-empty-title { margin: 14px 0 8px; font: 900 2rem/0.95 var(--display); text-transform: uppercase; color: var(--white); }

.mpf-card { padding: clamp(18px, 3vw, 28px); background: var(--paper); color: var(--ink); border-top: 10px solid var(--red); }
.mpf-card :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 6px var(--paper); }
.mpf-card a:not(.btn) { color: var(--red-deep); }
.mpf-kicker { font: 600 0.76rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-deep); }
.mpf-seat-title { margin: 8px 0 8px; font: 900 clamp(2.1rem, 6vw, 3rem)/0.92 var(--display); letter-spacing: -0.005em; text-transform: uppercase; overflow-wrap: anywhere; }
.mpf-seat-title:focus { outline: none; }
.mpf-mp { font-size: 1.14rem; }
.mpf-mp strong { font-weight: 800; }
.mpf-signed { display: inline-block; margin-top: 12px; padding: 7px 10px; background: var(--green); color: var(--white); font: 500 0.8rem/1.3 var(--mono); letter-spacing: 0.03em; }
.mpf-signed[data-zero] { background: var(--ink); }
.mpf-note { margin-top: 12px; font-size: 0.88rem; line-height: 1.45; color: var(--muted); }
.mpf-notice { margin-top: 16px; padding: 14px; background: var(--white); border-left: 6px solid var(--ink); font-weight: 500; }
.mpf-notice p + p { margin-top: 8px; }

.mpf-composer { margin-top: 22px; padding-top: 20px; border-top: 2px solid var(--ink); }
.mpf-field { margin-bottom: 16px; }
.mpf-opt { opacity: 0.6; }
.mpf-count { margin-top: 4px; text-align: right; font: 400 0.72rem/1 var(--mono); color: var(--muted); }
.mpf-err { margin-top: 6px; font-size: 0.9rem; font-weight: 700; color: var(--red-deep); }

.mpf-previewhead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 22px 0 8px; }
.mpf-h4 { margin: 0; font: 600 0.76rem/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.mpf-version { font: 400 0.72rem/1.2 var(--mono); color: var(--muted); }
.mpf-preview { padding: 18px 18px 20px; background: var(--white); border: 1px solid #cfcdc2; box-shadow: 7px 7px 0 var(--paper-2); font: 400 0.82rem/1.65 var(--mono); max-height: 23rem; overflow-y: auto; }
.mpf-prow { overflow-wrap: anywhere; }
.mpf-pk { display: inline-block; min-width: 5.2em; font-weight: 600; color: var(--red-deep); text-transform: uppercase; letter-spacing: 0.06em; }
.mpf-pbody { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #b9b7ac; white-space: pre-wrap; overflow-wrap: anywhere; }

.mpf-actions { display: grid; gap: 12px; margin-top: 22px; }
.mpf-apps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 2px 0 6px; }
.mpf-apps-label { font: 600 0.74rem/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.mpf-apps-list { display: flex; flex-wrap: wrap; gap: 8px; }
.mpf-apps .btn { flex: 1 1 auto; }
.mpf-ccline, .mpf-small { margin-top: 12px; font-size: 0.86rem; line-height: 1.45; color: var(--muted); }
.mpf-ok { margin-top: 10px; font-weight: 700; color: var(--green); }
.mpf-ok:empty { display: none; }
.mpf-warn { margin-top: 10px; padding: 10px 12px; background: var(--white); border-left: 6px solid var(--red); font-size: 0.9rem; }
.mpf-links { margin-top: 18px; padding-top: 14px; border-top: 2px solid var(--paper-2); font: 600 0.95rem/1.4 var(--body); }
.mpf-links a { color: var(--red); font-weight: 700; }
.mpf-ccline a { color: inherit; }

/* ------------------------------------------------------------ petitions */

.petitions { padding: clamp(48px, 8vw, 104px) 0; background: var(--paper-2); border-top: 8px solid var(--ink); }
.pet-title { margin: 0 0 36px; font: 900 clamp(3rem, 12vw, 7.4rem)/0.86 var(--display); letter-spacing: -0.015em; text-transform: uppercase; }
.pet-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.pet { display: flex; flex-direction: column; min-width: 0; padding: 22px; background: var(--white); border: 3px solid var(--ink); }
.pet-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 3px solid var(--ink); font: 600 0.78rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.pet-head .mpf-flag { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3); }
.pet-num { margin-top: 18px; font: 900 clamp(4.4rem, 17vw, 6.6rem)/0.84 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--red); }
.pet-unit { margin: 8px 0 16px; font: 800 1.2rem/1.1 var(--label); text-transform: uppercase; letter-spacing: 0.01em; }
.pet .bar { margin-bottom: 14px; }
.pet-text { font-size: 0.98rem; line-height: 1.5; }
.pet-who { margin: 14px 0 20px; font: 400 0.74rem/1.5 var(--mono); color: var(--muted); }
.pet .btn { margin-top: auto; align-self: stretch; }

/* ------------------------------------------------------------ footer */

.foot { background: var(--ink); color: var(--on-dark-muted); padding: clamp(40px, 6vw, 72px) 0 40px; overflow: hidden; }
.foot :focus-visible { outline-color: var(--white); box-shadow: 0 0 0 6px var(--red); }
.foot-big { font: 900 clamp(4.6rem, 22vw, 17rem)/0.8 var(--display); letter-spacing: -0.02em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px #47463f; white-space: nowrap; font-variant-numeric: tabular-nums; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 36px; padding-top: 24px; border-top: 2px solid var(--ink-3); }
.wordmark-foot .wordmark-mark { color: var(--red); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 0.8rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.foot-links a { color: var(--white); text-decoration: none; padding: 6px 0; border-bottom: 2px solid var(--ink-3); }
.foot-links a:hover { border-bottom-color: var(--red); }
.foot-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.mpf-privacy { max-width: 46rem; margin-top: 28px; font-size: 0.95rem; color: var(--white); }
.mpf-privacy a, .foot-org a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.foot-org { max-width: 46rem; margin-top: 14px; font-size: 0.86rem; line-height: 1.5; }
.foot-org strong { color: var(--white); }
.foot { border-top: 2px solid var(--ink-3); }

/* ------------------------------------------------------------ text pages (privacy) */

.doc-head { background: var(--red); color: var(--white); padding-bottom: clamp(32px, 6vw, 64px); }
.doc-title { margin: clamp(28px, 6vw, 64px) 0 0; font: 900 clamp(3.4rem, 14vw, 8rem)/0.84 var(--display); letter-spacing: -0.02em; text-transform: uppercase; }
.doc-date { margin-top: 16px; font: 500 0.76rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.doc { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 8vw, 96px); }
.doc-body { max-width: 42rem; }
.doc-body h2 { margin: 44px 0 12px; padding-top: 14px; border-top: 8px solid var(--ink); font: 800 1.5rem/1.1 var(--label); text-transform: uppercase; letter-spacing: 0.01em; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p, .doc-body li { font-size: 1.06rem; line-height: 1.55; }
.doc-body p + p, .doc-body ul + p, .doc-body p + ul { margin-top: 12px; }
.doc-body ul { padding-left: 1.2rem; display: grid; gap: 8px; }
.doc-body a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--red); text-underline-offset: 3px; }
.doc-lead { font-size: 1.24rem !important; font-weight: 600; }
.doc-back { margin-top: 44px; }
.credits { margin-top: 18px; font-size: 0.78rem; line-height: 1.5; }
.credits summary { cursor: pointer; width: fit-content; font: 500 0.74rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 0; }
.credits p { margin-top: 8px; max-width: 62rem; }
.credits a { color: var(--on-dark-muted); }

/* ------------------------------------------------------------ wider screens */

@media (min-width: 620px) {
  .mpf-nz { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: 20px; }
  .mpf-nz .mpf-hint { grid-column: 1 / -1; margin-top: 0; }
  .mpf-actions { grid-template-columns: 1fr 1fr; }
  .mpf-actions .mpf-btn-main, .mpf-actions .mpf-apps { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .steps li { grid-template-columns: minmax(0, 1fr); border-top-width: 3px; }
  .steps li > :not(.step-n) { grid-column: 1; }
  .step-n { grid-row: auto; margin-bottom: 6px; }
  .pet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tally canvas { --tally-h: 250px; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(28px, 4vw, 72px); align-items: end; }
  .hero-num { font-size: clamp(11rem, 20vw, 19.5rem); }
  .hero-line { font-size: clamp(3rem, 5.7vw, 5.6rem); }
  .tally canvas { --tally-h: 470px; }
  /* three sourced figures across the top, the two live petition figures below */
  .stats { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 44px; }
  .stat, .stat-wide { grid-column: span 2; }
  .stat-live { grid-column: span 3; }
  .stat-num, .stat-wide .stat-num { font-size: clamp(3.6rem, 7.6vw, 7rem); }
  .ask { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
  .ask-line { font-size: clamp(3.4rem, 7.4vw, 7.2rem); }
  .act-head { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
  .act-title { font-size: clamp(5rem, 10.5vw, 10.5rem); }
  .mpf-grid { grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.8fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
  .mpf-map { height: min(74vh, 760px); min-height: 480px; }
  .mpf-panel { position: sticky; top: 16px; }
  .pet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .pet-title { font-size: clamp(4rem, 8.6vw, 8.4rem); }
}
@media (max-width: 480px) {
  .nav-links a:not(.btn) { display: none; }
  .wordmark { font-size: 0.98rem; gap: 8px; white-space: nowrap; }
  .wordmark-mark { width: 22px; height: 19px; }
  .nav .btn-sm { white-space: nowrap; padding: 8px 10px; font-size: 0.8rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .mpf-countries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .mpf-country { flex-direction: column; justify-content: center; gap: 8px; min-height: 68px; padding: 10px 4px; font-size: 0.82rem; text-align: center; line-height: 1.05; }
  .mpf-searchrow .btn { padding: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
