:root {
  --ground: #fbf7ef;
  --surface: #ffffff;
  --hairline: #ddd4c2;
  --ink: #23201c;
  --muted: #575049;
  --accent: #7a1f24;
  --accent-ink: #5a1519;
  --highlight: #b8862f;
  --band: #14211b;
  --band-ink: #f4ead2;
  --measure: 40rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--band); color: var(--band-ink);
  padding: 14px 20px; z-index: 10;
}
.skip:focus { left: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 4px solid var(--highlight);
  outline-offset: 2px;
}
.band {
  background: var(--band); color: var(--band-ink);
  padding: 18px 20px;
  display: flex; flex-wrap: wrap; gap: 10px 20px;
  align-items: baseline; justify-content: space-between;
}
.wordmark {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em;
}
.band a { color: var(--band-ink); }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 28px 20px 72px; }
h1 {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.08; letter-spacing: -0.02em;
  text-wrap: balance; margin: 0 0 14px;
}
h2 {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-size: 1.4rem; line-height: 1.2; margin: 0 0 10px; text-wrap: balance;
}
h3 { font-size: 1.125rem; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.lede { font-size: 1.1875rem; color: var(--muted); margin-bottom: 26px; }
fieldset { border: 0; margin: 2rem 0 0; padding: 0; }
legend { padding: 0 0 .7rem; font-size: 1.0625rem; font-weight: 700; }
.hint { margin: .55rem 0 0; color: var(--muted); font-size: 1rem; }
.hint:last-child { margin-bottom: 0; }

/* Choices are real radios: the browser owns the keyboard behaviour, the arrow
   keys, and the announcement, and the label draws the tile. The input sits
   immediately before its span because "input:checked + span" is the selected
   state, and putting anything between them silently removes it. */
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
/* Amounts fill their row evenly rather than leaving a ragged edge: a set of
   amounts reads as a set. */
.choices-amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); }
.choices-stacked { display: grid; grid-template-columns: 1fr; gap: 8px; }

.choice { position: relative; display: block; cursor: pointer; }
/* Off-screen rather than stretched: the wrapping label already makes the whole
   tile a hit target, so the input needs no size of its own. */
.choice input {
  position: absolute; width: 1px; height: 1px; margin: 0;
  opacity: 0; pointer-events: none;
}
.choice span {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1rem;
  border: 2px solid var(--hairline); border-radius: 6px;
  background: var(--surface); color: var(--ink);
  font-size: 1.1875rem; font-weight: 700; font-variant-numeric: tabular-nums;
  transition: background-color .12s ease-out, border-color .12s ease-out;
}
.choice:hover span { border-color: var(--accent); }
.choice input:focus-visible + span { outline: 4px solid var(--highlight); outline-offset: 3px; }

/* Selected, said three ways: the fill, the border weight, and a drawn mark.
   Colour alone is never the signal on a page this audience has to read. */
.choice input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: inset 0 0 0 2px color-mix(in oklab, #fff 34%, transparent);
}
/* Scoped away from the stacked rows rather than overridden there: this rule is
   more specific than ".choice-wide span::before", so left unscoped its width,
   height, and rotation won and drew the radio circle as a tilted ellipse. Two
   indicator systems in one sheet must not be able to reach each other. */
.choice:not(.choice-wide) input:checked + span::before {
  content: "";
  flex: 0 0 auto;
  width: .6rem; height: 1.05rem;
  border: solid currentColor;
  border-width: 0 3px 3px 0;
  transform: translateY(-.18rem) rotate(45deg);
}

/* The stacked rows carry a real radio indicator instead of inverting a
   full-width block to solid colour: at this width the fill would shout, and a
   dot filling in is the thing every reader already understands. */
/* Two columns: the indicator, then the label above its description. The styled
   span IS the container, so the label and description are its own children —
   left to flex they sat side by side. Placed explicitly rather than
   auto-flowed, which would put the description in the indicator's column. */
.choice-wide span {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .75rem; row-gap: .2rem;
  align-items: start; justify-items: start;
  padding: .9rem 1.1rem;
  font-size: 1.0625rem; font-weight: 400; text-align: left;
}
.choice-wide span::before { grid-column: 1; grid-row: 1 / -1; align-self: start; }
.choice-wide span > b { grid-column: 2; grid-row: 1; font-weight: 700; }
.choice-wide span > small { grid-column: 2; grid-row: 2; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
/* Selecting a row emphasises its label, not the sentence explaining it. */
.choice-wide input:checked + span > small { color: var(--ink); font-weight: 400; }
.supports { margin: 2.5rem 0 0; }
.supports h2 { font-size: 1.25rem; }
.choice-wide span::before {
  content: "";
  flex: 0 0 auto;
  width: 1.5rem; height: 1.5rem;
  border: 2px solid var(--muted); border-radius: 50%;
  background: #fff;
}
.choice-wide input:checked + span {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 8%, var(--surface));
  color: var(--ink);
  font-weight: 700;
  box-shadow: none;
}
/* A filled radio, built from a border and an outer ring rather than from inset
   shadows or a gradient. Both of those paint against a box that does not line
   up with the visible circle, which composited into a crescent. Here the white
   border is the gap and the background is the dot, so nothing can misalign. */
.choice-wide input:checked + span::before {
  border: .3rem solid #fff;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.stack { display: grid; gap: 10px; }
label.field { display: block; font-weight: 700; margin: 14px 0 6px; }
input[type="number"], input[type="text"], textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; color: var(--ink);
  background: #fff; border: 2px solid var(--hairline); border-radius: 6px;
}
textarea { min-height: 90px; }
.check {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 2rem 0 0;
  padding: 1rem 1.1rem; border: 2px solid var(--hairline); border-radius: 6px;
  background: var(--surface);
}
.check input { width: 26px; height: 26px; margin: 2px 0 0; flex: 0 0 auto; }
.check label { font-weight: 400; }
.check strong { display: block; }

.upsell {
  border: 2px solid var(--highlight); border-radius: 6px;
  background: var(--surface); padding: 16px; margin: 0 0 20px;
}
.upsell p { margin: 0 0 12px; }
.upsell .row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: .85rem 1.5rem;
  font: inherit; font-size: 1.1875rem; font-weight: 700; line-height: 1.25;
  border-radius: 6px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; cursor: pointer;
  text-decoration: none; text-align: center;
  /* A label that does not fit wraps. It never runs off the edge of its own
     button, which is what a fixed height and a nowrap default produce. */
  white-space: normal; overflow-wrap: anywhere;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn.secondary { background: transparent; color: var(--accent); }
.btn.secondary.block { margin-top: 1.25rem; }
.btn.secondary:hover { background: var(--surface); }
.btn.block { width: 100%; }
.total { margin: 1.5rem 0 .85rem; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.summary {
  border: 2px solid var(--hairline); border-radius: 6px;
  background: var(--surface); padding: 16px; margin: 0 0 20px;
}
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.summary { font-variant-numeric: tabular-nums; }

.assurance {
  margin: 0 0 1.75rem; padding: 1rem 1.15rem;
  border: 1px solid var(--hairline); border-radius: 6px;
  background: var(--surface); font-size: 1.0625rem;
}
.assurance strong { display: block; margin-bottom: .2rem; color: var(--accent-ink); }
/* Errors only. Tinted as well as bordered, so it does not read as a note. */
.alert {
  margin: 0 0 1.25rem; padding: .9rem 1.05rem;
  border: 2px solid var(--accent); border-radius: 6px;
  background: color-mix(in oklab, var(--accent) 7%, #fff);
}
.alert strong { color: var(--accent-ink); }
.notice {
  border: 2px solid var(--hairline); border-radius: 6px;
  background: var(--surface); padding: 16px; margin: 0 0 24px;
}
.legal { border-top: 2px solid var(--hairline); margin-top: 40px; padding-top: 24px; }
.legal h2 { font-size: 1.25rem; }
.legal section { margin-bottom: 26px; }
.legal p, .legal dd { font-size: 1rem; }
dl.disclosures { margin: 0; display: grid; gap: 14px; }
dl.disclosures dt { font-weight: 700; }
dl.disclosures dd { margin: 2px 0 0; color: var(--muted); }

/* North Carolina requires this statement be made conspicuous by underlining, a
   border, or bold type, at nine points or larger. It gets all three. */
.nc-disclosure {
  border: 2px solid var(--ink); border-radius: 4px;
  padding: 14px 16px; margin: 24px 0 0;
  font-weight: 700; font-size: 1rem;
}
footer.page { color: var(--muted); font-size: 0.9375rem; padding: 0 20px 48px; max-width: var(--measure); margin: 0 auto; }
[hidden] { display: none !important; }
::selection { background: var(--highlight); color: var(--ink); }
input, textarea { caret-color: var(--accent); }
input[type="checkbox"] { accent-color: var(--accent); }
:focus-visible { outline-color: var(--highlight); }
.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
#payment-element, #express-element, #link-element { margin: 0 0 18px; }
#donor-wall-list { list-style: none; margin: 0; padding: 0; }
#donor-wall-list li { border-top: 1px solid var(--hairline); padding: 10px 0; }
#donor-wall-list li:first-child { border-top: 0; }
#donor-wall-list .who { font-weight: 700; }
#donor-wall-list .wish { font-style: italic; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media (max-width: 26rem) {
  .choices-amounts { grid-template-columns: repeat(auto-fit, minmax(5.25rem, 1fr)); }
  .choice span { padding: 0 .7rem; font-size: 1.125rem; }
}