@import url("/reference-tokens.css");
@import url("/fonts.css");
:root {
  --font-ui: "Geist", Arial, sans-serif;
  --font-read: "Newsreader", "Geist", Georgia, serif;
  --header-height: 64px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--cn-surface-main);
  color: var(--cn-text-default);
  font-family: var(--font-ui);
  font-size: var(--cn-type-body-size);
  font-weight: 400;
  line-height: var(--cn-type-body-lh);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--cn-action-hover);
}
:where(a, button, summary):focus-visible {
  outline: 3px solid var(--cn-focus-ring);
  outline-offset: 3px;
}
button {
  font: inherit;
  color: inherit;
}
.shell-width,
.section-width,
.header-row {
  width: min(1080px, calc(100% - 2 * var(--cn-space-margin)));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  background: var(--cn-component-header-background);
  border-bottom: 1px solid var(--cn-component-header-border);
}
.header-row {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-read);
  font-size: 27px;
  font-weight: 400;
  white-space: nowrap;
  text-decoration: none;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: var(--cn-component-button-large-height);
  padding: 8px 20px;
  border: 1px solid transparent;
  border-radius: var(--cn-component-button-radius);
  background: var(--cn-component-button-filled-background);
  color: var(--cn-component-button-filled-foreground);
  font-family: var(--font-ui);
  font-size: var(--cn-type-control-large-size);
  line-height: var(--cn-type-control-large-lh);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover {
  background: var(--cn-component-button-filled-hover);
  color: var(--cn-component-button-filled-foreground);
}
.header-action {
  margin-left: auto;
}
.notice {
  padding-block: 16px;
  background: var(--cn-surface-recommended);
  border-bottom: 1px solid var(--cn-component-header-border);
  font-size: 14px;
  line-height: 1.5;
}
.notice strong {
  font-weight: 600;
}
.notice span {
  color: var(--cn-text-muted);
}
h1,
h2,
h3 {
  font-family: var(--font-read);
  color: var(--cn-text-default);
  letter-spacing: 0;
}
h1 {
  font-size: var(--cn-type-page-title-size);
  line-height: var(--cn-type-page-title-lh);
  font-weight: 350;
}
h2 {
  font-size: var(--cn-type-section-title-size);
  line-height: var(--cn-type-section-title-lh);
  font-weight: 400;
}
h3 {
  font-size: var(--cn-type-section-title-size);
  line-height: var(--cn-type-section-title-lh);
  font-weight: 400;
}
p {
  margin: 0 0 24px;
}
.eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 24px;
}
.hero {
  max-width: 900px;
  padding-block: var(--cn-space-responsive-1x);
  text-align: center;
}
.hero h1 {
  margin: 0 0 32px;
  text-wrap: balance;
}
.hero > p:not(.eyebrow) {
  margin: 0 auto 32px;
  max-width: 760px;
}
.activity-photo {
  margin: 0;
}
.activity-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.activity-photo figcaption {
  padding-block: 16px;
  font-size: 14px;
}
.giving-section {
  padding-block: var(--cn-space-responsive-1x);
}
.giving-section h2 {
  margin: 0 0 32px;
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.card {
  border-top: 1px solid var(--cn-component-header-border);
  padding-top: 24px;
}
.card h3 {
  margin: 0 0 32px;
}
.tier-action {
  margin-top: 24px;
}
.amount {
  font-family: var(--font-read);
  font-size: 48px;
  line-height: 1.1;
  margin: 0;
  font-weight: 350;
}
.amount span {
  display: block;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  margin-top: 16px;
}
.organisation-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  padding-block: var(--cn-space-responsive-1x);
  border-top: 1px solid var(--cn-component-header-border);
}
.organisation-section h2 {
  margin: 0;
}
.organisation-section h3 {
  margin: 32px 0 16px;
  font-size: 28px;
}
.links {
  display: flex;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.faq-section {
  border-top: 1px solid var(--cn-component-header-border);
  padding-block: var(--cn-space-responsive-1x);
}
.faq-section h2 {
  margin: 0 0 32px;
}
.faq-list {
  max-width: 880px;
}
.faq-list details {
  border-top: 1px solid var(--cn-component-header-border);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--cn-component-header-border);
}
.faq-list summary {
  position: relative;
  padding: 24px 40px 24px 0;
  min-height: 64px;
  font-size: var(--cn-type-body-small-size);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  top: 24px;
  right: 0;
  background-color: currentColor;
  mask: url("/images/icons/chevron.svg") center / 24px no-repeat;
}
.faq-list details[open] summary::after {
  transform: rotate(180deg);
}
.faq-answer {
  max-width: 760px;
  padding: 0 40px 8px 0;
  font-size: var(--cn-type-body-small-size);
  color: var(--cn-text-muted);
}
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-block: var(--cn-space-responsive-1x);
  border-top: 1px solid var(--cn-component-header-border);
}
.details h2 {
  margin: 0 0 24px;
}
.prose {
  max-width: 806.66px;
  margin-left: calc(var(--cn-space-margin) + var(--cn-space-responsive-1x));
  margin-right: var(--cn-space-margin);
  padding-block: var(--cn-space-responsive-1x);
  position: relative;
  overflow-wrap: anywhere;
}
.prose::before {
  content: "";
  position: absolute;
  top: var(--cn-space-responsive-1x);
  bottom: 0;
  left: calc(-1 * var(--cn-space-responsive-1x));
  border-left: 1px solid var(--cn-component-header-border);
}
.prose h1 {
  margin: 0 0 48px;
  position: relative;
  text-wrap: balance;
}
.prose h1::before {
  content: "";
  position: absolute;
  top: -24px;
  bottom: -24px;
  left: calc(-1 * var(--cn-space-responsive-1x));
  border-left: 4px solid var(--cn-text-default);
}
.prose h2 {
  margin: 48px 0 24px;
}
.prose h3 {
  margin: 32px 0 16px;
}
.prose li {
  margin-block: 12px;
}
.site-footer {
  margin-top: 32px;
  background: var(--cn-color-ink);
  color: var(--cn-color-paper-1);
  padding-block: 64px;
  font-size: var(--cn-type-body-small-size);
}
.site-footer p {
  color: var(--cn-color-paper-6);
  font-size: 16px;
  line-height: 1.5;
}
.site-footer nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--cn-color-election-ink-on-dark);
}
.site-footer :where(a, button):focus-visible {
  outline-color: var(--cn-color-election-ink-on-dark);
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 12px 20px;
  background: var(--cn-surface-main);
  z-index: 30;
}
.skip:focus {
  top: 8px;
}
@media (max-width: 1023.98px) {
  .header-row {
    width: 100%;
    gap: 16px;
    padding-inline: 32px;
  }
  .header-action {
    margin-left: auto;
  }
  .prose {
    max-width: none;
    margin-inline: var(--cn-space-content-inset);
  }
  .prose::before,
  .prose h1::before {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .header-action {
    display: inline-flex;
  }
  .header-row {
    gap: 16px;
    padding-inline: 16px;
  }
  .brand {
    font-size: 24px;
  }
  .shell-width,
  .section-width {
    width: calc(100% - 32px);
  }
  .notice {
    padding-block: 12px;
  }
  .notice strong {
    display: block;
  }
  .hero {
    padding-block: 40px;
    text-align: left;
  }
  .hero h1 {
    margin-bottom: 24px;
  }
  .tiers {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
  }
  .tier-action {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0;
  }
  .card h3 {
    margin: 0;
  }
  .amount {
    font-size: 40px;
    min-width: 124px;
  }
  .amount span {
    margin-top: 8px;
  }
  .giving-section,
  .organisation-section,
  .faq-section,
  .details {
    padding-block: 48px;
  }
  .organisation-section,
  .details {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .organisation-section h3 {
    font-size: 25px;
  }
  .faq-list summary {
    padding-block: 20px;
  }
  .faq-list summary::after {
    top: 20px;
  }
  .prose {
    padding-block: 48px;
  }
  .prose h1 {
    margin-bottom: 32px;
  }
  .site-footer {
    padding-block: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* "How it works" directly above the questions, on live home pages only (17 November 2026). In the main stylesheet
   so the home page makes no extra request. Values come from reference-tokens.css and the rules above (spacing 8, 16,
   24 and 32 px; the site's type tokens). */
.steps-section {
  border-top: 1px solid var(--cn-component-header-border);
  padding-block: var(--cn-space-responsive-1x);
}
.steps-section h2 {
  margin: 0 0 32px;
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.steps li {
  counter-increment: step;
  border-top: 1px solid var(--cn-component-header-border);
  padding-top: 24px;
  font-size: var(--cn-type-body-small-size);
  line-height: var(--cn-type-body-small-lh);
  color: var(--cn-text-muted);
}
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-read);
  font-size: var(--cn-type-section-title-size);
  line-height: var(--cn-type-section-title-lh);
  color: var(--cn-action-primary); /* the site's purple, lighter in the dark theme */
}
.steps strong {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--cn-text-default);
}

@media (max-width: 767.98px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps-section {
    padding-block: 48px;
  }
}

/* THE GRID (swiss-raster, 25 November 2026). Appended so every rule above keeps its bytes; these come
   later and so win. The same grid as the Activities stylesheet (activities.css), so a home page has
   one grid from top to bottom.
     unit      2 px
     baseline  the body line: 24 px below 1024 (body fixed at 16.81 px, ratio 1.43), 30 px from 1024
               (body 19.42 to 21.41 px, ratio 1.54 to 1.40; the shipped line was 27.5 to 30.3 px)
     module    1 baseline. The pages carry no script, so a block after wrapping text can be held to
               the line, never to every second line.
     columns   lefts are whole modules from the frame's left edge. From 1024 the frame is a whole
               number of 2-module steps (so a centred block sits on a module), 1080 at 1440 (36
               modules); 900 hero (30), centred 3 modules in.
     ladder    inside a group 1 line; between items 2 lines; between sections 2 lines below 1024 and
               3 from 1024, before and after the section's rule.
   Every line height is a whole number of baselines: text var(--b); a title has a fixed size and line
   per band (below), so its line never jumps inside a band and a wrapped title never shows a blank line. A 1 px rule is drawn inside
   its box (inset shadow) or taken out of the padding beside it, so it adds no height. Grid origin:
   the top of <main> (the sticky 64 px header is outside it); the photo at its own shape ends off the
   line, so what follows it is on the line counted from the photo's bottom edge. */
/* Body and titles: a fixed size per band, each a value of the type scale in reference-tokens.css, on a
   whole number of lines. Body line / size stays between 1.4 and 1.65; a title's between 1.1 and 1.35.
     band          body                  page title (h1)                  section title (h2)              sub-title and card title (h3)
     below 768     16.81 on 24 (body     39.42 on 48 (page-title at 390)   21.37 on 24 (lede at 768)       21.37 on 24
     768 to 1023   at 390), both bands   56.16 on 72 (hero at 768)         39.42 on 48 (page-title at 390) 21.37 on 24
     1024 to 1439  the body token,       66.79 on 90 (hero at 1024)        45.7 on 60 (display-4xl at 768) 25.13 on 30 (section-title at 390)
     from 1440     19.42 to 21.41 on 30  70.44 on 90 (page-title at 1440)  45.7 on 60                      25.13 on 30
   The section title from 1024 is the owner's choice (25 November 2026), from pictures of 25 and 46 px; from 768
   it is clearly larger too, so it does not jump at 1024 from a sub-title's size. */
:root {
  --b: 24px;
  --section: calc(var(--b) * 2);
  --tap: calc(var(--b) * 2);
  --title-1: 39.42px;
  --title-1-line: calc(var(--b) * 2);
  --title-2: 21.37px;
  --title-2-line: var(--b);
  --title-3: 21.37px;
  --title-3-line: var(--b);
}
@media (min-width: 768px) {
  :root {
    --title-1: 56.16px;
    --title-1-line: calc(var(--b) * 3);
    --title-2: 39.42px;
    --title-2-line: calc(var(--b) * 2);
  }
}
@media (min-width: 1024px) {
  :root {
    --b: 30px;
    --section: calc(var(--b) * 3);
    --title-1: 66.79px;
    --title-2: 45.7px;
    --title-2-line: calc(var(--b) * 2);
    --title-3: 25.13px;
  }
}
@media (min-width: 1440px) {
  :root {
    --title-1: 70.44px;
  }
}
body {
  line-height: var(--b);
}
@media (max-width: 1023.98px) {
  body {
    font-size: 16.81px;
  }
}
h1:not(:where(.activities-section, .activities-index, .activity-page, .story-text) *) {
  font-size: var(--title-1);
  line-height: var(--title-1-line);
}
h2:not(:where(.activities-section, .activities-index, .activity-page, .story-text) *) {
  font-size: var(--title-2);
  line-height: var(--title-2-line);
}
h3:not(:where(.activities-section, .activities-index, .activity-page, .story-text) *),
.organisation-section h3 {
  font-size: var(--title-3);
  line-height: var(--title-3-line);
}
/* The Activities pages and section and the fellows' stories keep their own titles (activities.css,
   story.css): the type scale's fluid sizes on lines rounded up to the baseline. */
:where(.activities-section, .activities-index, .activity-page, .story-text) h1 {
  line-height: round(up, var(--cn-type-page-title-size), var(--b));
}
:where(.activities-section, .activities-index, .activity-page, .story-text) h2 {
  line-height: round(up, calc(var(--cn-type-section-title-size) * 0.95), var(--b));
}
:where(.activities-section, .activities-index, .activity-page, .story-text) h3 {
  line-height: round(up, calc(1em * 0.95), var(--b));
}
p {
  margin-bottom: var(--b);
}
.eyebrow,
.notice,
.activity-photo figcaption,
.faq-section .faq-list summary,
.faq-section .faq-answer,
.site-footer,
.site-footer p {
  line-height: var(--b);
}
.eyebrow {
  margin-bottom: var(--b);
}
@media (min-width: 1024px) {
  .shell-width,
  .section-width {
    width: min(1080px, round(down, calc(100% - 2 * var(--cn-space-margin)), calc(var(--b) * 2)));
  }
}
.hero {
  padding-block: var(--section);
}
.hero h1,
.hero > p:not(.eyebrow) {
  margin-bottom: var(--b);
}
@media (min-width: 1024px) {
  .hero > p:not(.eyebrow) {
    max-width: calc(var(--b) * 26);
  }
}
.activity-photo figcaption {
  padding-block: calc(var(--b) / 2);
}
.giving-section,
.organisation-section,
.faq-section,
.details,
.steps-section {
  padding-block: var(--section);
}
.organisation-section,
.faq-section,
.details,
.steps-section {
  padding-top: calc(var(--section) - 1px);
}
.giving-section h2,
.faq-section h2,
.steps-section h2,
.details h2 {
  margin-bottom: var(--b);
}
.organisation-section {
  gap: var(--b);
}
.organisation-section h3 {
  margin: calc(var(--b) * 2) 0 var(--b);
}
@media (min-width: 768px) {
  .organisation-section,
  .details {
    gap: calc(var(--b) * 2);
  }
  .organisation-section {
    grid-template-columns: round(nearest, calc((100% - 2 * var(--b)) * 0.4), var(--b)) 1fr;
  }
  .details {
    grid-template-columns: round(down, calc((100% - 2 * var(--b)) / 2), var(--b)) 1fr;
  }
}
@media (max-width: 767.98px) {
  .organisation-section,
  .details {
    gap: var(--b);
  }
}
.links {
  gap: 0 var(--b);
}
.links a,
.site-footer nav a {
  min-height: var(--tap);
}
.faq-section .faq-list details,
.faq-section .faq-list details:last-child {
  border: 0;
  box-shadow: inset 0 1px 0 var(--cn-component-header-border);
}
.faq-section .faq-list details:last-child {
  box-shadow: inset 0 1px 0 var(--cn-component-header-border), inset 0 -1px 0 var(--cn-component-header-border);
}
/* Forced colours (Windows high contrast) drop box-shadow, so there the rule is a border, pulled back by a
   -1 px margin so the rows keep their place. */
@media (forced-colors: active) {
  .faq-section .faq-list details,
  .faq-section .faq-list details:last-child {
    margin-top: -1px;
    border-top: 1px solid CanvasText;
  }
  .faq-section .faq-list details:last-child {
    margin-bottom: -1px;
    border-bottom: 1px solid CanvasText;
  }
}
.faq-section .faq-list summary {
  min-height: var(--tap);
  padding-block: calc(var(--b) / 2);
}
.faq-section .faq-list summary::after {
  top: calc(var(--b) / 2 + (var(--b) - 24px) / 2);
}
.faq-section .faq-answer {
  display: flow-root;
  padding-bottom: 0;
}
.site-footer {
  margin-top: 0;
  padding-block: calc(var(--b) * 2);
}
.prose {
  padding-block: var(--section);
}
.prose h1 {
  margin-bottom: calc(var(--b) * 2);
}
.prose h2 {
  margin: calc(var(--b) * 2) 0 var(--b);
}
.prose h3 {
  margin: calc(var(--b) * 2) 0 var(--b);
}
.prose li {
  margin-block: 0;
}
.prose ul,
.prose ol {
  margin-block: 0 var(--b);
}
@media (min-width: 1024px) {
  .prose {
    margin-left: calc((100% - min(1080px, round(down, calc(100% - 2 * var(--cn-space-margin)), calc(var(--b) * 2)))) / 2 + var(--section));
  }
  .prose::before,
  .prose h1::before {
    left: calc(-1 * var(--section));
  }
}
.prose h2 + h3 {
  margin-top: 0;
}
/* The home photo: a box of whole lines at the photo's own shape, nearest to it, cropped from the centre. The photo's
   size comes from /home-photo-20261125.css (--w, --h); without it the photo keeps its own height. */
#organisation-photo {
  container-type: inline-size;
}
#organisation-photo img {
  height: round(nearest, calc(100cqi * var(--h) / var(--w)), var(--b));
  object-fit: cover;
}
/* The Contact page's form (src/_includes/forms-contact.njk; its own rules are src/forms-20261121/forms.css, whose bytes
   are pinned): its title is a section title, every line is the baseline and every gap a whole line. Two classes, so
   these win over the forms stylesheet, which loads later. The security check's widget (65 px) gets 3 lines when it
   shows. */
.prose .fr-contact {
  margin-block-start: calc(var(--b) * 2);
}
.fr-contact .fr-contact-title {
  margin: 0 0 var(--b);
  font-size: var(--title-2);
  line-height: var(--title-2-line);
}
.fr-contact .fr-contact-intro {
  margin: 0 0 var(--b);
  line-height: var(--b);
}
.fr-contact .fr-signup-label {
  margin: 0;
  line-height: var(--b);
}
.fr-contact .fr-contact-gap {
  margin-block-start: var(--b);
}
.fr-contact .fr-field {
  min-height: calc(var(--b) * 2);
}
.fr-contact .fr-contact-message {
  height: calc(var(--b) * 6);
}
.fr-contact .fr-signup-error,
.fr-contact .fr-signup-note,
.fr-contact .fr-contact-done {
  margin: 0;
  line-height: var(--b);
}
.fr-contact .fr-signup-note {
  margin-block-start: var(--b);
}
.fr-contact .fr-contact-summary {
  margin-block-end: var(--b);
  padding-block-start: calc(var(--b) - 1px);
}
.fr-contact [data-turnstile]:not(:empty) {
  min-height: calc(var(--b) * 3);
  margin-block-start: var(--b);
}
.fr-contact .fr-contact-send {
  min-height: var(--tap);
  margin-block-start: var(--b);
}
/* The Documents page's table (funder-documents-20261123.css) keeps to its own line, 1lh; here that is the baseline.
   As a table (from 960) its header row is 2 lines with the rule below it (border-collapse puts half the 1 px rule
   inside the row), so the rows and the table end on the line. */
.prose .funder-documents-table {
  margin-block-end: var(--b);
}
.prose .funder-documents-table table {
  line-height: var(--b);
}
@media (min-width: 960px) {
  .prose .funder-documents-table thead th {
    padding-bottom: calc(1lh - 1px);
  }
}
/* The footer (owner, 29 November 2026, proposal C): the newsletter box first, then one band of links under a rule,
   then the short name with the legal lines. Every part is whole lines: 2 lines between the parts, the links one tap
   (2 lines) each, the legal lines solid; the field and button keep their 48 px control height in a row of 2 lines.
   On phones the links take two columns. The newsletter box's own rules are forms-20261121/forms.css, whose bytes are
   pinned; two or three classes here win over it although it loads later. Its button takes the constituition
   footer-subscribe tokens, the dark theme's button, because the footer is dark in both themes: light-theme purple
   (#4E3FA8) has 2.05:1 against the footer, lilac (#B8A8FF) 7.96:1. Hover is #CFC4FF, the dark theme's
   --cn-action-hover; no token holds that value in both themes, so it is written here. */
.footer-stack {
  display: grid;
  gap: calc(var(--b) * 2);
}
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--b);
}
/* A link's text sits on the middle line of its tap; a name that wraps grows by whole lines and its first line stays
   level with the link beside it. */
.site-footer .footer-links a {
  align-items: flex-start;
  padding-block: calc((var(--tap) - var(--b)) / 2);
}
/* The rule under the newsletter box belongs to the box: 2 lines below it, then 1 line to the links (the rule's 1 px
   taken out of the space above it). A box that is not there draws no rule and leaves no space. */
.footer-news {
  padding-bottom: calc(var(--b) * 2 - 1px);
  border-bottom: 1px solid var(--cn-divider-inverse);
  margin-bottom: calc(var(--b) * -1);
}
/* With scripts on, the box is hidden in the page until its script shows it. Its place is kept, laid out but unseen,
   so nothing below it moves when it appears. If the script has not shown it after 10 seconds (blocked or failed), the
   place is given up: no box, no rule, no space. With scripts off the box stays hidden and the <noscript> link shows. */
@media (scripting: enabled) {
  .site-footer .footer-news .fr-signup[hidden] {
    display: block;
    visibility: hidden;
  }
  .footer-news:has(> .fr-signup[hidden]) {
    animation: footer-news-give-up 0s 10s forwards;
  }
}
/* Taken out of the flow, so the stack's gap after it goes too. */
@keyframes footer-news-give-up {
  to {
    position: absolute;
    height: 0;
    overflow: hidden;
    padding: 0;
    border-width: 0;
  }
}
.footer-legal {
  display: grid;
  align-items: start;
}
.site-footer .brand {
  justify-self: start;
  min-height: var(--tap);
}
.site-footer .footer-lines p {
  margin: 0;
}
.site-footer .footer-lines p:first-child {
  letter-spacing: var(--cn-type-eyebrow-tracking);
}
@media (min-width: 768px) {
  .footer-legal {
    grid-template-columns: round(nearest, calc((100% - 2 * var(--b)) * 0.4), var(--b)) 1fr;
    gap: 0 calc(var(--b) * 2);
  }
}
@media (max-width: 767.98px) {
  .site-footer .footer-links {
    display: grid;
    grid-template-columns: round(down, calc((100% - var(--b)) / 2), var(--b)) 1fr;
    align-items: start;
  }
}
.site-footer .fr-signup {
  max-width: none;
  margin: 0;
}
.site-footer .fr-signup .fr-signup-label {
  margin: 0;
  line-height: var(--b);
}
.site-footer .fr-signup .fr-signup-line {
  gap: var(--b);
}
.site-footer .fr-signup .fr-btn--filled {
  background: var(--cn-component-footer-subscribe-background);
  color: var(--cn-component-footer-subscribe-foreground);
}
/* The field shows the footer's focus ring, as the links and the button do. */
.site-footer .fr-signup .fr-field:focus-visible {
  outline: 3px solid var(--cn-color-election-ink-on-dark);
  outline-offset: 3px;
}
.site-footer .fr-signup .fr-btn--filled:hover {
  background: #CFC4FF;
  color: var(--cn-component-footer-subscribe-foreground);
}
.site-footer .fr-signup .fr-signup-note,
.site-footer .fr-signup .fr-signup-error,
.site-footer .fr-signup .fr-signup-said {
  margin: 0;
  line-height: var(--b);
}
.site-footer .fr-signup [data-turnstile]:not(:empty) {
  min-height: calc(var(--b) * 3);
  margin-block-start: var(--b);
}
/* On phones the button is under the field; one line of space keeps the note apart from it. */
@media (max-width: 767.98px) {
  .site-footer .fr-signup .fr-signup-note {
    margin-top: var(--b);
  }
}
@media (min-width: 768px) {
  .site-footer .fr-signup .fr-signup-line {
    align-items: start;
    min-height: calc(var(--b) * 2);
  }
  .site-footer .fr-signup .fr-field {
    flex: 0 1 calc(var(--b) * 12);
  }
}
