/* ==========================================================================
   Padel in the Park — styles
   Palette is taken from a padel court: blue surface, glass walls, yellow ball.
   ========================================================================== */

:root {
  --ink:        #071a20;
  --deep:       #0b3a4a;
  --court:      #14657d;
  --court-soft: #e7f3f7;
  --ball:       #d9f24a;
  --ball-dark:  #b8d128;
  --sand:       #fbf9f5;
  --paper:      #ffffff;
  --text:       #16272d;
  --muted:      #5f7780;
  --line:       #dfe6e8;
  --bad:        #d1462f;

  --wrap: 1140px;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(7,26,32,.06), 0 8px 28px rgba(7,26,32,.07);
  --shadow-lg: 0 2px 6px rgba(7,26,32,.08), 0 24px 60px rgba(7,26,32,.14);

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  /* Safety net only — the real fixes are the min-width:0 rules further down.
     `clip` rather than `hidden` because `hidden` would make the body a scroll
     container and break every `position: sticky` on the page. */
  overflow-x: clip;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--court); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ball-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }
.wrap-narrow { width: min(760px, calc(100% - 2.5rem)); }
.center { text-align: center; }

.sr-only, .skip {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; top: .6rem; left: .6rem; z-index: 200;
  width: auto; height: auto; clip: auto; margin: 0;
  padding: .6rem 1rem; background: var(--ink); color: #fff; border-radius: 8px;
}

/* honeypot — visually gone, still focusable by bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- typography ---------------------------------------------------- */

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 800; }
h1 em { font-style: normal; color: var(--court); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 780; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1.1em; }

.kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--court); margin-bottom: .7rem;
}
.section-dark .kicker { color: var(--ball); }
.section-court .kicker { color: var(--ball); }

.eyebrow {
  font-size: .8rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.lede { font-size: 1.13rem; color: #29434c; max-width: 56ch; }
.lede-ask { border-left: 3px solid var(--ball); padding-left: 1rem; }
.section-lede { font-size: 1.1rem; max-width: 65ch; color: #33505a; }
.section-dark .section-lede, .section-court .section-lede { color: #bcd7e0; }
.big { font-size: 1.16rem; }
.sub-h { margin-top: 2.4rem; font-size: 1.28rem; }

/* ---------- buttons ------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .97rem; text-decoration: none;
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-ball { background: var(--ball); color: var(--ink); box-shadow: 0 2px 0 var(--ball-dark); }
.btn-ball:hover { background: #e4fa62; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .9; }
.btn-ghost:hover { opacity: 1; background: rgba(20,101,125,.08); }
.btn-sm { padding: .5rem 1rem; font-size: .88rem; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1.05rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- demo banner --------------------------------------------------- */

.demo-banner {
  background: #3a2c05; color: #ffe9a8; font-size: .87rem; line-height: 1.5;
  padding: .6rem 1.2rem; text-align: center;
}
.demo-banner code { background: rgba(255,255,255,.12); padding: .1em .4em; border-radius: 4px; }

/* ---------- affiliation notice -------------------------------------------- */

.affiliation {
  margin: 0; padding: .7rem 1.25rem; text-align: center;
  background: #eef3f5; border-bottom: 1px solid var(--line);
  font-size: .8rem; line-height: 1.5; color: #46626c;
}
.affiliation strong { color: var(--ink); }

.pullout-light {
  border-left: 3px solid var(--court); background: var(--court-soft);
  padding: .9rem 1.1rem; border-radius: 0 var(--r) var(--r) 0;
  font-size: .95rem; color: #33505a;
}
.bars-note { font-size: .88rem; color: #a7cad6; max-width: 68ch; margin-top: -.6rem; }
.bars-note strong { color: #fff; }

/* ---------- header -------------------------------------------------------- */

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,249,245,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 1.5rem; padding: .7rem 0; }
.brand {
  display: flex; align-items: center; gap: .55rem;
  font-weight: 800; font-size: 1.02rem; color: var(--ink); text-decoration: none;
  letter-spacing: -.02em; flex-shrink: 0;
}
.brand-mark { width: 28px; height: 28px; color: var(--court); flex-shrink: 0; }
.head-nav { display: flex; gap: 1.4rem; margin-left: auto; font-size: .93rem; font-weight: 600; }
.head-nav a { color: #3a545e; text-decoration: none; }
.head-nav a:hover { color: var(--court); }
.cta-short { display: none; }

@media (max-width: 860px) {
  .head-nav { display: none; }
  .head-inner .btn { margin-left: auto; }
}

/* On the narrowest phones the brand plus a full-length CTA won't fit on one
   line, so shorten the button rather than let the header push the page wide. */
@media (max-width: 420px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .head-inner { gap: .6rem; }
  .brand { font-size: .95rem; gap: .45rem; min-width: 0; }
  .brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand-mark { width: 24px; height: 24px; }
  .head-inner .btn-sm { padding: .45rem .95rem; }
}

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

.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem); }
.hero-inner {
  display: grid; grid-template-columns: 1.35fr .8fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 2rem; }

.counter { max-width: 420px; }
.counter-row { display: flex; align-items: baseline; gap: .5rem; }
.counter-num { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.counter-label { font-size: .93rem; color: var(--muted); }
.progress {
  margin-top: .5rem; height: 10px; border-radius: 999px;
  background: #dbe6ea; overflow: hidden;
}
.progress-fill {
  height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, var(--court), var(--ball));
  transition: width .8s cubic-bezier(.2,.8,.2,1);
}

.hero-art { text-align: center; }
.court-svg { width: 100%; max-width: 260px; filter: drop-shadow(0 18px 36px rgba(7,26,32,.22)); }
.court-caption { margin-top: 1rem; font-size: .82rem; color: var(--muted); line-height: 1.5; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .court-svg { max-width: 150px; }
  .court-caption { display: none; }
}

/* ---------- stat bar ------------------------------------------------------ */

.statbar { background: var(--ink); color: #dceaef; padding: 1.6rem 0; }
.statbar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center;
}
.stat strong {
  display: block; font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800;
  color: var(--ball); letter-spacing: -.03em;
}
.stat span { font-size: .82rem; line-height: 1.4; display: block; color: #9db9c3; }
@media (max-width: 700px) { .statbar-inner { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } }

/* ---------- sections ------------------------------------------------------ */

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-dark { background: var(--ink); color: #d6e6ec; }
.section-dark h2, .section-dark h3, .section-dark .stat-xl { color: #fff; }
.section-court { background: linear-gradient(160deg, var(--deep), var(--court)); color: #e2f1f6; }
.section-court h2, .section-court h3 { color: #fff; }

.cols { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.5rem); margin-top: 1rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin: 2rem 0; }

/* ---------- cards --------------------------------------------------------- */

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow);
}
.card-dark {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.13);
  box-shadow: none;
}
.card-dark p { color: #b9d3dc; font-size: .95rem; }
.stat-xl {
  font-size: 2.5rem; font-weight: 800; letter-spacing: -.035em; color: var(--ball);
  margin: 0 0 .1em; line-height: 1;
}
.stat-alt { font-size: 1rem; font-weight: 600; color: #8fb2bd; margin-left: .4rem; letter-spacing: 0; }

.card-cost { position: sticky; top: 96px; }
.card-cost h3 { margin-bottom: 1rem; }
.cost-list { list-style: none; margin: 0; padding: 0; }
.cost-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .93rem;
}
.cost-list li:first-child b { color: var(--bad); font-size: 1.25rem; }
.cost-list b { font-weight: 800; font-size: 1.02rem; white-space: nowrap; }
.cost-list i { font-style: normal; font-weight: 500; font-size: .78rem; color: var(--muted); }
.cost-list .free { border-bottom: 0; }
.cost-list .free b { color: var(--court); }
.card-foot { margin: 1rem 0 0; font-size: .8rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 860px) { .card-cost { position: static; } }

/* ---------- bar chart ----------------------------------------------------- */

.bars { margin: 1.5rem 0 2.5rem; display: grid; gap: .7rem; }
.bar-row { display: grid; grid-template-columns: 190px 1fr 70px; align-items: center; gap: 1rem; font-size: .9rem; }
.bar-label small { display: block; color: #8fb2bd; font-size: .78rem; }
.bar { background: rgba(255,255,255,.09); border-radius: 999px; height: 20px; overflow: hidden; }
/* Neutral by default: the point of this chart is that private rates are all
   broadly similar. Only the municipal bar is highlighted, because that's the
   one San Francisco is missing. */
.bar i { display: block; height: 100%; background: #3f7f96; border-radius: 999px; min-width: 4px; }
.bar i.bar-hi { background: var(--ball); }
.bar-row.is-sf .bar-label { color: #fff; font-weight: 650; }
.bar-row b { text-align: right; font-weight: 800; }
@media (max-width: 640px) {
  .bar-row { grid-template-columns: 1fr 60px; grid-template-areas: "label val" "bar bar"; gap: .35rem 1rem; }
  .bar-label { grid-area: label; } .bar-row b { grid-area: val; } .bar { grid-area: bar; }
}

.pullout {
  border-left: 3px solid var(--ball); padding: .2rem 0 .2rem 1.1rem;
  font-size: 1.1rem; font-weight: 600; color: #fff;
}

.benefits { margin: 0; }
.benefits dt { font-weight: 750; color: var(--ball); margin-top: 1.2rem; }
.benefits dd { margin: .3rem 0 0; color: #b9d3dc; font-size: .96rem; }

/* ---------- vote / map ---------------------------------------------------- */

.vote-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.8rem; align-items: start; margin-top: 2rem; }
@media (max-width: 940px) { .vote-layout { grid-template-columns: 1fr; } }

.map-panel { position: sticky; top: 96px; }
@media (max-width: 940px) { .map-panel { position: static; } }
#map {
  height: 520px; border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow); background: #dfe8ea; z-index: 1;
}
@media (max-width: 640px) { #map { height: 360px; } }
.map-note { font-size: .82rem; color: var(--muted); margin: .6rem 0 0; }

.vote-status {
  font-size: .9rem; font-weight: 650; color: var(--court);
  background: var(--court-soft); border-radius: 999px; padding: .5rem 1rem;
  display: inline-block; margin: 0 0 1rem;
}
.vote-status.voted { background: #eaf7d9; color: #4b6b12; }

.site-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; counter-reset: rank; }
.site-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: .95rem 1.1rem; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s;
}
.site-item:hover { border-color: var(--court); }
.site-item.is-active { border-color: var(--court); box-shadow: 0 0 0 3px rgba(20,101,125,.15), var(--shadow); }
.site-item.is-mine { border-color: var(--ball-dark); box-shadow: 0 0 0 3px rgba(217,242,74,.4), var(--shadow); }

.site-top { display: flex; align-items: flex-start; gap: .75rem; }
.site-name { font-weight: 750; font-size: 1rem; line-height: 1.3; margin: 0; }
.site-hood { font-size: .82rem; color: var(--muted); }
.site-tally { margin-left: auto; text-align: right; flex-shrink: 0; }
.site-tally b { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.site-tally span { font-size: .72rem; color: var(--muted); }

.site-bar { height: 6px; border-radius: 999px; background: #e8eef0; margin: .6rem 0 .55rem; overflow: hidden; }
.site-bar i { display: block; height: 100%; background: var(--court); border-radius: 999px; transition: width .6s ease; }
.site-item.is-mine .site-bar i { background: var(--ball-dark); }

.site-why { font-size: .88rem; color: #46626c; margin: .4rem 0 .7rem; display: none; }
.site-item.is-active .site-why { display: block; }
.site-meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 999px; background: #eef3f5; color: #4a6570;
}
.tag-equity { background: #e6f4ea; color: #1f6b3a; }
.tag-urgent { background: #fdeaea; color: #a32718; }
.site-actions { margin-left: auto; }
.btn-vote {
  padding: .4rem .95rem; font-size: .84rem; border-radius: 999px; border: 2px solid var(--court);
  background: transparent; color: var(--court); font-weight: 700; cursor: pointer; font-family: inherit;
}
.btn-vote:hover { background: var(--court); color: #fff; }
.btn-vote[disabled] { border-color: var(--line); color: var(--muted); cursor: default; background: transparent; }
.site-item.is-mine .btn-vote[disabled] { border-color: var(--ball-dark); color: #5d7a15; font-weight: 800; }

/* Leaflet popups */
.leaflet-popup-content { margin: .8rem .9rem; font-family: var(--sans); font-size: .88rem; line-height: 1.5; }
.leaflet-popup-content strong { display: block; font-size: .97rem; margin-bottom: .15rem; }
.pop-hood { color: #5f7780; font-size: .8rem; }
.pop-vote { margin-top: .6rem; }

/* ---------- forms --------------------------------------------------------- */

.petition-text {
  margin: 0 0 2rem; padding: 1.6rem 1.8rem; border-radius: var(--r-lg);
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  font-size: .98rem; line-height: 1.7;
}
.petition-text p:last-child { margin-bottom: 0; }

.form { display: grid; gap: 1rem; }
.card-form {
  background: var(--paper); color: var(--text);
  border-radius: var(--r-lg); padding: 1.7rem; box-shadow: var(--shadow-lg);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-row:has(.field-sm) { grid-template-columns: 150px 1fr; }
@media (max-width: 620px) {
  .field-row, .field-row:has(.field-sm) { grid-template-columns: 1fr; }
}
.field { display: grid; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 650; color: #2c454e; }
.req { color: var(--bad); }
.opt { font-weight: 500; color: var(--muted); font-size: .8rem; }

/* Grid and flex children default to `min-width: auto`, i.e. min-content. For a
   <select> min-content is the width of its longest <option>, so a long option
   can force its grid track — and the whole page — wider than the viewport.
   Chrome truncates regardless; iOS Safari does not. Reset it explicitly. */
.field, .field-row > *, .cols > *, .split > *, .grid-3 > *,
.vote-layout > *, .email-layout > *, .foot-inner > *, .site-top > * { min-width: 0; }

input[type=text], input[type=email], select, textarea {
  font: inherit; font-size: .97rem; padding: .68rem .8rem;
  border: 1.5px solid var(--line); border-radius: 9px; background: #fff; color: var(--text);
  width: 100%; max-width: 100%; min-width: 0; transition: border-color .15s;
}
select { text-overflow: ellipsis; }
input:hover, select:hover, textarea:hover { border-color: #b9c8cd; }
input:focus, select:focus, textarea:focus { border-color: var(--court); }
input.invalid { border-color: var(--bad); background: #fef7f6; }
textarea { resize: vertical; min-height: 120px; line-height: 1.6; font-size: .93rem; }
/* The email draft should be readable without scrolling inside the box. */
#eBody { min-height: 34rem; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235f7780' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2.2rem; }

.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .89rem; color: #3a545e; cursor: pointer; }
.check input { margin-top: .22rem; width: 17px; height: 17px; accent-color: var(--court); flex-shrink: 0; }

.form-msg { margin: .3rem 0 0; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form-msg.ok { color: #1f6b3a; }
.form-msg.err { color: var(--bad); }
.section-court .form-msg.ok { color: var(--ball); }
.section-court .form-msg.err { color: #ffb3a7; }
.fineprint { margin: 0; font-size: .78rem; color: var(--muted); line-height: 1.5; }
.hint { font-size: .82rem; color: var(--muted); margin: 0; }

.signers { margin-top: 2.2rem; }
.signer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.signer-list li {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: .32rem .85rem; font-size: .85rem;
}
.signer-list li span { opacity: .65; }

/* ---------- email tool ---------------------------------------------------- */

.email-layout { display: grid; grid-template-columns: 340px 1fr; gap: 1.8rem; align-items: start; margin-top: 2rem; }
@media (max-width: 900px) { .email-layout { grid-template-columns: 1fr; } }
.email-controls { display: grid; gap: 1rem; position: sticky; top: 96px; }
@media (max-width: 900px) { .email-controls { position: static; } }
.email-draft { display: grid; gap: 1rem; }
.email-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- plan ---------------------------------------------------------- */

.urgent {
  display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap;
  background: rgba(209,70,47,.14); border: 1px solid rgba(255,138,116,.35);
  border-radius: var(--r-lg); padding: 1.1rem 1.3rem; margin: 1.8rem 0 2.5rem;
}
.urgent p { margin: 0; font-size: .97rem; color: #ffd9d2; }
.urgent-tag {
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: #ff8a74; color: #3d0d05; padding: .28rem .7rem; border-radius: 999px; flex-shrink: 0;
}

.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.roadmap li {
  position: relative; padding: 0 0 1.8rem 2.6rem;
  border-left: 2px solid rgba(255,255,255,.16); margin-left: .5rem;
}
.roadmap li:last-child { border-left-color: transparent; padding-bottom: 0; }
.roadmap li::before {
  content: ""; position: absolute; left: -8px; top: .35rem;
  width: 14px; height: 14px; border-radius: 50%; background: var(--ball);
  box-shadow: 0 0 0 4px var(--ink);
}
.phase {
  font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ball); display: block; margin-bottom: .2rem;
}
.roadmap h3 { margin-bottom: .4rem; }
.roadmap h3 small { font-weight: 500; color: #8fb2bd; font-size: .82rem; margin-left: .5rem; letter-spacing: 0; }
.roadmap p { color: #b9d3dc; font-size: .96rem; margin: 0; }

/* ---------- faq ----------------------------------------------------------- */

details {
  border-bottom: 1px solid var(--line); padding: .3rem 0;
}
details summary {
  cursor: pointer; padding: .95rem 2rem .95rem 0; font-weight: 700; font-size: 1.02rem;
  list-style: none; position: relative;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+"; position: absolute; right: .2rem; top: .8rem;
  font-size: 1.4rem; font-weight: 400; color: var(--court); line-height: 1;
}
details[open] summary::after { content: "–"; }
details p { margin: 0 0 1.1rem; color: #46626c; font-size: .97rem; }

/* ---------- newsletter ---------------------------------------------------- */

.news-form {
  display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap;
  max-width: 480px; margin: 1.5rem auto 0;
}
.news-form input[type=email] { flex: 1 1 240px; }
.subcount { font-size: .82rem; color: #a7cad6; margin-top: .8rem; }

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

.site-foot { background: var(--ink); color: #9db9c3; padding: 3rem 0 3.5rem; font-size: .89rem; }
.foot-inner { display: grid; grid-template-columns: 1.4fr .7fr 1.1fr; gap: 2rem; }
@media (max-width: 820px) { .foot-inner { grid-template-columns: 1fr; } }
.foot-brand { font-weight: 800; color: #fff; font-size: 1.05rem; margin: 0 0 .4rem; }
.foot-note { margin: 0; line-height: 1.6; max-width: 42ch; }
.foot-links { display: grid; gap: .45rem; align-content: start; }
.foot-links a, .foot-sources a { color: #bcd7e0; text-decoration: none; }
.foot-links a:hover, .foot-sources a:hover { color: var(--ball); text-decoration: underline; }
.foot-sources { display: grid; gap: .4rem; align-content: start; font-size: .83rem; }
.foot-sources p { margin: 0 0 .2rem; color: #fff; }
