:root {
  --black: #000000;
  --white: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.76);
  --ink-muted: rgba(255, 255, 255, 0.56);
  --panel: #230d34;
  --panel-soft: #230d34;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.34);
  --grey: #230d34;
  --grey-dark: #230d34;
  --red: #410A0A;
  --lime: #d9ff76;
  --purple: #DDB7D3;
  --aqua: #c5dcdb;
  --taupe: #d8d0c6;
  --lilac: #ddb7d3;
  --font: "ABC Diatype", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: "ABC Diatype Mono", ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --gutter: clamp(20px, 2.5vw, 36px);
  --radius: 10px;
  --field-gap: 20px;
  --ease: 180ms cubic-bezier(0.2, 0.75, 0.3, 1);
}

@font-face {
  font-family: "ABC Diatype";
  src: url("fonts/abc-diatype-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABC Diatype";
  src: url("fonts/abc-diatype-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABC Diatype";
  src: url("fonts/abc-diatype-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABC Diatype Mono";
  src: url("fonts/abc-diatype-mono-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: #ddb7d3;
  font-family: var(--font);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--lime);
  color: var(--black);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  --black: #000000;
  --white: #ffffff;
  --panel-soft: #222222;
  color: #ddb7d3;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 var(--gutter);
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #ddb7d3;
}

.brand-mark {
  display: block;
  width: 64px;
  height: auto;
  fill: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
}

.nav-links a {
  border-radius: 999px;
  padding: 8px 13px;
  transition: background-color var(--ease), color var(--ease), transform var(--ease);
}

.nav-links a:hover {
  background: var(--panel-soft);
}

.nav-strong {
  background: var(--white);
  color: var(--black);
}

.nav-strong:hover {
  background: var(--lime) !important;
}

.drive-strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  padding: 12px var(--gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-soft);
  font-size: 14px;
}

.drive-strip > span {
  grid-column: 1 / span 3;
  font-family: var(--mono);
  text-transform: uppercase;
}

.drive-strip p {
  grid-column: 4 / span 6;
  margin: 0;
}

.support-hero {
  position: relative;
  min-height: 0;
  height: clamp(420px, 55vh, 680px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
  border-radius: 0;
  background: #dcb7d2;
  scroll-margin-top: 92px;
}

.hero-dither-source {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.hero-dither-stage {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  pointer-events: none;
}

.support-hero::after {
  content: none;
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.2vh, 38px);
  padding: 32px var(--gutter);
  pointer-events: none;
  text-align: center;
}

.hero-copy h1,
.hero-copy p {
  position: static;
  width: auto;
  max-width: none;
  margin: 0;
  color: var(--black);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
  transform: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.hero-copy h1 {
  font-size: clamp(24px, 3.75vw, 78px);
}

.hero-copy p {
  font-size: clamp(28px, 4.05vw, 84px);
}

.submit-button,
.nav-strong {
  transition: transform var(--ease), background-color var(--ease), color var(--ease);
}

.hero-copy a:hover {
  background: var(--lime);
  transform: translateY(-2px);
}

.hero-copy a:active,
.submit-button:active,
.nav-strong:active {
  transform: scale(0.97);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(20px, 3vw, 36px);
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 92px var(--gutter) 72px;
  scroll-margin-top: 96px;
}

.form-column {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: var(--panel);
}

.form-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 420px);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 48%);
}

.form-intro .kicker {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  line-height: 0.9;
}

.form-intro h2 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 0.9;
}

.form-intro > p {
  align-self: end;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.2;
}

.form-section {
  padding: clamp(28px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.form-section:last-child {
  border-bottom: 0;
}

.section-title {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 32px;
}

.section-title span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  padding-top: 1px;
  background: var(--white);
  color: var(--black);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1;
  margin-bottom: clamp(6px, 0.56vw, 8px);
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.94;
}

.form-section h2[id] {
  scroll-margin-top: 96px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
label {
  display: grid;
  gap: 10px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

legend {
  margin-bottom: 16px;
}

.two-up {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--field-gap);
}

.two-up.compact {
  margin-bottom: 44px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.24);
  color: #ddb7d3;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.2;
  transition: border-color var(--ease), background-color var(--ease), box-shadow var(--ease);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(255, 255, 255, 0.52);
}

select option {
  color: var(--black);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--lime);
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 0 0 3px rgba(217, 255, 118, 0.18);
}

a:focus-visible,
.submit-button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.segmented,
.amount-grid {
  display: grid;
  gap: 12px;
}

.segmented {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.segmented label,
.amount-grid label {
  position: relative;
  cursor: pointer;
}

.support-hero.has-generated-dither .hero-copy {
  background: transparent;
}

.segmented input,
.amount-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: grid;
  align-content: center;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ddb7d3;
  font-family: var(--font);
  text-align: center;
  font-weight: 500;
  transition: border-color var(--ease), background-color var(--ease), color var(--ease), transform var(--ease);
}

.segmented label:hover span {
  border-color: rgba(255, 255, 255, 0.58);
}

.segmented input:checked + span {
  background: var(--white);
  color: var(--black);
}

.segmented input:focus-visible + span {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.amount-grid {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: var(--field-gap);
  gap: 16px;
}

.amount-card {
  position: relative;
  display: block;
  aspect-ratio: 723 / 407;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #ddb7d3;
  background: var(--card-fallback, #230d34);
  transition: transform var(--ease), border-color var(--ease);
}

.amount-card canvas,
.amount-card video {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 723 / 407;
  z-index: 0;
  opacity: 1;
  background: var(--card-fallback, #230d34);
}

.card-dither-surface {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.amount-grid.has-generated-surface .amount-card.has-generated-dither {
  background: var(--generated-card-background, var(--card-fallback, #230d34));
}

.summary-total.has-generated-dither {
  background: var(--generated-surface-background, #000);
}

.amount-card video {
  object-fit: cover;
  filter: none;
}

.amount-card::after {
  content: none;
}

.tone-lime {
  --card-fallback: var(--lime);
}

.tone-taupe {
  --card-fallback: var(--taupe);
}

.tone-lilac {
  --card-fallback: var(--lilac);
}

.tone-aqua {
  --card-fallback: var(--aqua);
}

.tone-charcoal {
  --card-fallback: #230d34;
}

.tone-charcoal video {
  opacity: 1;
  filter: none;
}

.tone-charcoal::after {
  content: none;
}

.tone-charcoal::before {
  content: none;
}

.amount-grid input:checked + .amount-card {
  border-color: var(--white);
  box-shadow: none;
}

@media (hover: hover) {
  .amount-grid label:hover .amount-card {
    transform: translateY(-3px);
  }

  .amount-grid label:hover .amount-card.has-generated-dither {
    transform: none;
  }
}

.amount-grid input:focus-visible + .amount-card {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.custom-amount {
  max-width: 360px;
}

.custom-amount:not(.always-on) {
  display: none;
}

.custom-amount.is-visible {
  display: grid;
}

.option-list {
  display: grid;
  gap: var(--field-gap);
}

.two-up + .option-list {
  margin-top: var(--field-gap);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 30px;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.3;
}

.check-row input {
  appearance: none;
  flex: 0 0 30px;
  width: 30px;
  min-height: 30px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 3px;
  background-color: var(--white);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px;
}

.check-row input:checked {
  border-color: var(--lime);
  background-color: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg viewBox=%220 0 20 20%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22m4 10.5 3.5 3.5L16 5.75%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E");
}

.check-row input:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(217, 255, 118, 0.26);
}

.helper {
  max-width: 720px;
  margin: -8px 0 2px 42px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
  line-height: 1.3;
}

.conditional-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: -2px 0 8px 42px;
  padding: 16px;
  border-left: 2px solid var(--lime);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, 0.045);
}

.conditional-grid[hidden] {
  display: none;
}

.conditional-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

.payment-shell {
  display: grid;
  gap: var(--field-gap);
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
}

.payment-shell p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.3;
}

.payment-methods {
  max-width: 520px;
}

.payment-fields {
  display: grid;
  gap: var(--field-gap);
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.payment-fields[hidden] {
  display: none;
}

.direct-debit-authority {
  align-items: flex-start;
  margin-top: 2px;
}

.direct-debit-authority span {
  max-width: 760px;
  line-height: 1.25;
}

.captcha-placeholder {
  display: grid;
  place-items: center;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
}

.summary-column {
  position: sticky;
  top: 96px;
  align-self: start;
}

.summary-panel {
  display: grid;
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 22px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.summary-dither {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: pixelated;
  pointer-events: none;
}

.summary-head {
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.summary-head p {
  margin: 0;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.impact-card {
  display: grid;
  gap: 7px;
  padding: 2px 0 18px;
  border-bottom: 1px solid var(--line);
}

.impact-card strong {
  font-size: 22px;
  line-height: 1.1;
}

.impact-card span,
.security-note {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.25;
}

.summary-flags {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-total {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 20px;
  background: var(--lilac);
  color: #ddb7d3;
  border-radius: var(--radius);
}

.summary-total::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.summary-total > *:not(.summary-dither) {
  position: relative;
  z-index: 1;
}

.summary-total div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}

.summary-total div > span {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.summary-total div > strong {
  font-size: 20px;
  line-height: 1;
}

.summary-total .total-row {
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 21px;
}

.summary-total .total-row > strong {
  font-size: 26px;
}

.summary-flags li {
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
}

.submit-button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.submit-button:hover {
  background: var(--lime);
  transform: translateY(-2px);
}

.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.dither-canvas {
  image-rendering: pixelated;
  display: block;
}

@media (max-width: 1100px) {
  .support-layout,
  .form-intro {
    grid-template-columns: 1fr;
  }

  .summary-column {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 18px;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    font-size: 13px;
  }

  .nav-links a:not(.nav-strong) {
    display: none;
  }

  .brand-mark {
    width: 52px;
  }

  .drive-strip {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .drive-strip > span,
  .drive-strip p {
    grid-column: auto;
  }

  .hero-copy {
    padding: 28px;
  }

  .two-up,
  .conditional-grid {
    grid-template-columns: 1fr;
  }

  .amount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conditional-grid {
    margin-left: 0;
  }

  .segmented {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-layout {
    padding-top: 48px;
  }

  .form-section,
  .form-intro {
    padding: 24px 18px;
  }

  .payment-shell {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy a,
  .submit-button,
  .nav-strong {
    transition: none;
  }
}
@media (max-width: 520px) {
  :root {
    --gutter: 14px;
  }

  .support-hero {
    height: 300px;
  }

  .site-header {
    height: 64px;
  }

  .hero-copy h1 {
    letter-spacing: -0.03em;
  }

  h1 {
    font-size: 82px;
    overflow-wrap: anywhere;
  }

  .hero-copy p {
    font-size: 42px;
  }

  h2,
  .form-intro h2 {
    font-size: 34px;
    overflow-wrap: anywhere;
  }

  .amount-card {
    min-height: 0;
    padding: 0;
  }

  .segmented {
    gap: 10px;
  }

  .segmented span {
    min-height: 46px;
    padding: 10px 8px;
  }

  .summary-total div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .section-title {
    gap: 11px;
  }

  .section-title span {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
}
@media (max-width: 380px) {
  h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 23px;
  }

  .amount-grid {
    gap: 10px;
  }
}

/* 2026-09-24 brand refinement */
.support-hero {
  height: clamp(360px, 46vw, 720px);
  width: calc(100% - (2 * var(--gutter)));
  max-width: calc(1600px - (2 * var(--gutter)));
  margin: clamp(18px, 2.25vw, 34px) auto 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: var(--black);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(0, 0, 0, 0.72), 0 26px 72px rgba(0, 0, 0, 0.52);
}

.hero-dither {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--black);
  pointer-events: none;
}

.hero-dither-stage,
.hero-copy {
  display: none;
}

.support-layout {
  padding-top: clamp(44px, 5vw, 72px);
}

.form-intro {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 3.4vw, 44px);
  background: #230d34;
}

.form-intro .kicker {
  margin: 0 0 14px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.form-intro h2 {
  max-width: 620px;
  font-size: clamp(36px, 4.25vw, 58px);
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.form-intro > p {
  max-width: 430px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.28;
}

.form-section {
  padding: clamp(32px, 4vw, 52px);
}

.section-title {
  align-items: flex-end;
  min-height: 46px;
  margin-bottom: clamp(34px, 4vw, 52px);
}

.section-title > span {
  flex-basis: 30px;
  margin-bottom: 7px;
  padding-top: 0;
  line-height: 30px;
}


.field-group {
  display: grid;
  gap: 22px;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
}

.section-title + .field-group {
  padding-top: 0;
  border-top: 0;
}

.field-group-last {
  padding-bottom: 0;
}

.field-group h3 {
  margin: 0;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.field-wide {
  grid-column: 1 / -1;
}

.option-cards {
  gap: 10px;
}

.two-up + .option-cards {
  margin-top: 0;
}

.option-cards > .check-row,
.direct-debit-authority {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 18px;
  min-height: 58px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #230d34;
  color: #ddb7d3;
  transition: border-color var(--ease), background-color var(--ease), color var(--ease);
}

.option-cards > .check-row > span,
.direct-debit-authority > span {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.option-cards > .check-row > input,
.direct-debit-authority > input {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.option-cards > .check-row:has(input:checked),
.direct-debit-authority:has(input:checked) {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.option-cards > .check-row:has(input:focus-visible),
.direct-debit-authority:has(input:focus-visible) {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.option-cards + .conditional-grid {
  margin-top: 0;
}

.conditional-grid {
  margin-left: 0;
  border-left-color: var(--lime);
  background: #000000;
}

.payment-shell {
  padding: 0;
  border: 0;
  background: transparent;
}

.payment-fields {
  background: #000000;
}

.payment-fields > p {
  max-width: 700px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.captcha-placeholder {
  background: #000000;
}

@media (max-width: 760px) {
  .support-hero {
    height: clamp(300px, 68vw, 500px);
  }

  .form-intro {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .form-intro > p {
    max-width: none;
  }


  .field-wide {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .support-hero {
    height: 76vw;
    min-height: 280px;
    max-height: 420px;
  }

  .section-title {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
  }

}

/* 2026-09-25 integrated surface polish */
:root {
  --frame-line: rgba(255, 255, 255, 0.15);
  --frame-line-soft: rgba(255, 255, 255, 0.1);
  --frame-bevel: inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 -1px 0 rgba(0, 0, 0, 0.52);
  --frame-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.support-hero,
.form-column,
.summary-panel {
  border-color: var(--frame-line);
  border-radius: var(--radius);
}

.support-hero {
  box-shadow: var(--frame-bevel), 0 26px 72px rgba(0, 0, 0, 0.48);
}

.support-layout {
  padding-top: clamp(42px, 4.25vw, 62px);
}

.form-column,
.summary-panel {
  box-shadow: var(--frame-bevel), var(--frame-shadow);
}

.form-intro,
.form-section {
  background: var(--panel);
}

.form-intro,
.form-section:not(:last-child) {
  border-bottom-color: var(--frame-line-soft);
}

.field-group {
  border-top-color: var(--frame-line-soft);
}

input,
select,
textarea,
.segmented span {
  border-color: rgba(255, 255, 255, 0.27);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

input:hover,
select:hover,
textarea:hover,
.segmented label:hover span {
  border-color: rgba(255, 255, 255, 0.55);
}

input:focus,
select:focus,
textarea:focus {
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 0 0 2px rgba(217, 255, 118, 0.18);
}

.segmented input:checked + span {
  border-color: var(--white);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.16);
}

.segmented input:focus-visible + span,
.amount-grid input:focus-visible + .amount-card,
.option-cards > .check-row:has(input:focus-visible),
.direct-debit-authority:has(input:focus-visible) {
  outline-width: 2px;
}

.amount-card {
  border-color: var(--frame-line);
  background: var(--black);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.36);
}

.amount-grid input:checked + .amount-card {
  border-color: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.42);
}

.option-cards > .check-row,
.direct-debit-authority {
  border-color: rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.option-cards > .check-row:hover,
.direct-debit-authority:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.option-cards > .check-row:has(input:checked),
.direct-debit-authority:has(input:checked) {
  border-color: var(--white);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.16);
}

.conditional-grid,
.payment-fields,
.captcha-placeholder {
  border: 1px solid var(--frame-line-soft);
  background: rgba(0, 0, 0, 0.44);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.conditional-grid {
  border-left: 2px solid var(--lime);
}

.summary-panel {
  gap: 18px;
}

.summary-head,
.impact-card,
.summary-flags li {
  border-color: var(--frame-line-soft);
}

.summary-total {
  border: 1px solid var(--frame-line);
  border-radius: calc(var(--radius) - 1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.58);
}

.summary-total::before {
  background: rgba(0, 0, 0, 0.22);
}

.submit-button {
  border: 1px solid var(--white);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}

@media (max-width: 1100px) {
  .summary-panel {
    box-shadow: var(--frame-bevel), 0 18px 48px rgba(0, 0, 0, 0.28);
  }
}

@media (max-width: 760px) {
  .support-layout {
    padding-top: 44px;
  }
}

/* 2026-09-26 donation-card selection clarity */
.amount-card video {
  background: var(--black);
}

.amount-grid input:checked + .amount-card {
  border: 2px solid var(--lime);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.72);
}

/* 2026-09-26 dimensional signal-field treatment */
:root {
  --signal-pink: #ddb7d3;
  --signal-purple: #9120dd;
  --tablet-edge: rgba(221, 183, 211, 0.34);
  --tablet-edge-bright: rgba(255, 255, 255, 0.32);
  --tablet-inset: rgba(255, 255, 255, 0.075);
}

body {
  position: relative;
  background: var(--black);
  isolation: isolate;
}

.page-dither-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--black);
}

.page-dither-background video,
.page-dither-canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: pixelated;
  filter: none;
}

.site-header,
main {
  position: relative;
  z-index: 2;
}

.support-layout {
  position: relative;
  isolation: isolate;
  gap: clamp(22px, 2.6vw, 34px);
}

.form-column,
.summary-panel {
  background: rgba(35, 13, 52, 0.94);
  border: 1px solid var(--tablet-edge);
  box-shadow:
    inset 0 1px 0 var(--tablet-edge-bright),
    inset 1px 0 0 var(--tablet-inset),
    inset 0 -2px 0 rgba(0, 0, 0, 0.72),
    inset -1px 0 0 rgba(0, 0, 0, 0.5),
    0 4px 0 rgba(75, 30, 104, 0.62),
    0 26px 70px rgba(0, 0, 0, 0.62);
}

.form-column {
  overflow: hidden;
}

.form-intro,
.form-section {
  position: relative;
  background: rgba(35, 13, 52, 0.82);
  border-color: rgba(221, 183, 211, 0.17);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    inset 0 -1px 0 rgba(0, 0, 0, 0.54);
}

.form-section + .form-section {
  border-top: 1px solid rgba(221, 183, 211, 0.2);
}

.form-section:nth-of-type(even) {
  background: rgba(28, 8, 44, 0.88);
}

.section-title {
  position: relative;
  z-index: 1;
}

.section-title h2 {
  position: relative;
  color: #ddb7d3;
  text-shadow:
    2px 2px 0 rgba(221, 183, 211, 0.58),
    6px 6px 0 rgba(98, 31, 128, 0.34);
}

.section-title > span {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 -2px 0 rgba(0, 0, 0, 0.13),
    2px 2px 0 rgba(221, 183, 211, 0.32);
}

.field-group {
  position: relative;
  border-top: 0;
}

.field-group + .field-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(221, 183, 211, 0.45) 0 3px,
    transparent 3px 8px
  );
  background-repeat: repeat-x;
}

.field-group h3 {
  font-size: 13px;
  letter-spacing: 0.045em;
}

input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
select,
textarea {
  min-height: 54px;
  padding: 12px 0 14px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(221, 183, 211, 0.72) 0 3px,
    transparent 3px 8px
  );
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: auto 3px;
  box-shadow: none;
  transition: color var(--ease), background-image var(--ease), transform var(--ease);
}

input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):hover,
select:hover,
textarea:hover {
  border-color: transparent;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0 4px,
    transparent 4px 8px
  );
}

input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: transparent;
  background-color: transparent;
  background-image: repeating-linear-gradient(
    90deg,
    var(--lime) 0 4px,
    transparent 4px 8px
  );
  box-shadow: none;
}

textarea {
  min-height: 96px;
}

select option {
  color: #ddb7d3;
  background: var(--panel);
}

.segmented span {
  border-color: rgba(221, 183, 211, 0.38);
  background: rgba(0, 0, 0, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.065),
    inset 0 -2px 0 rgba(0, 0, 0, 0.46);
}

.segmented input:checked + span {
  border-color: var(--white);
  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.16),
    0 3px 0 rgba(221, 183, 211, 0.28);
}

.option-cards > .check-row,
.direct-debit-authority,
.payment-fields,
.conditional-grid,
.captcha-placeholder {
  border-color: rgba(221, 183, 211, 0.27);
  background: rgba(0, 0, 0, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -2px 0 rgba(0, 0, 0, 0.43);
}

.summary-panel {
  overflow: hidden;
}

.summary-head h2 {
  text-shadow:
    2px 2px 0 rgba(221, 183, 211, 0.48),
    5px 5px 0 rgba(98, 31, 128, 0.28);
}

.summary-total {
  border-color: rgba(221, 183, 211, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    inset 0 -2px 0 rgba(0, 0, 0, 0.65),
    0 3px 0 rgba(75, 30, 104, 0.5);
}

@media (max-width: 760px), (pointer: coarse) {
  .form-column,
  .summary-panel {
    box-shadow:
      inset 0 1px 0 var(--tablet-edge-bright),
      inset 0 -2px 0 rgba(0, 0, 0, 0.72),
      0 3px 0 rgba(75, 30, 104, 0.55),
      0 20px 48px rgba(0, 0, 0, 0.56);
  }
}

/* 2026-09-26 glass and editorial-type refinement */
.form-column,
.summary-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(225, 199, 241, 0.44);
  border-radius: 18px;
  outline: 1px solid rgba(98, 45, 126, 0.72);
  outline-offset: -6px;
  background: rgba(35, 13, 52, 0.66);
  -webkit-backdrop-filter: blur(16px) saturate(135%) contrast(1.04);
  backdrop-filter: blur(16px) saturate(135%) contrast(1.04);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.24),
    inset 2px 0 0 rgba(221, 183, 211, 0.12),
    inset 0 -3px 0 rgba(0, 0, 0, 0.72),
    inset -2px 0 0 rgba(0, 0, 0, 0.56),
    0 34px 88px rgba(0, 0, 0, 0.72);
}

.form-column::before,
.summary-panel::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 4;
  border-top: 1px solid rgba(255, 255, 255, 0.19);
  border-left: 1px solid rgba(221, 183, 211, 0.12);
  border-radius: 13px;
  pointer-events: none;
}

.form-column > *,
.summary-panel > * {
  position: relative;
  z-index: 1;
}

.form-intro,
.form-section {
  background: rgba(35, 13, 52, 0.36);
  border-color: rgba(221, 183, 211, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    inset 0 -2px 0 rgba(0, 0, 0, 0.48);
}

.form-section:nth-of-type(even) {
  background: rgba(18, 3, 29, 0.3);
}

.form-section + .form-section {
  border-top-color: rgba(221, 183, 211, 0.28);
}

.form-intro {
  align-items: start;
  padding-top: clamp(36px, 4.8vw, 66px);
  padding-bottom: clamp(36px, 4.8vw, 62px);
}

.form-intro .kicker {
  margin-bottom: 12px;
  color: #ddb7d3;
  font-family: var(--font);
  font-size: clamp(38px, 4.6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow:
    3px 3px 0 rgba(221, 183, 211, 0.58),
    8px 8px 0 rgba(98, 31, 128, 0.34);
}

.form-intro h2 {
  max-width: 680px;
  color: #ddb7d3;
  font-family: var(--mono);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.form-intro > p {
  align-self: end;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1.42;
}

.section-title {
  align-items: flex-end;
  gap: clamp(18px, 2vw, 28px);
}

.section-title > span {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ddb7d3;
  font-family: var(--font);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.76;
  text-shadow:
    3px 3px 0 rgba(221, 183, 211, 0.58),
    8px 8px 0 rgba(98, 31, 128, 0.34);
  box-shadow: none;
}

.section-title h2 {
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 0.86;
  text-shadow:
    3px 3px 0 rgba(221, 183, 211, 0.55),
    8px 8px 0 rgba(98, 31, 128, 0.32);
}

.field-group h3,
.summary-head p,
legend,
label {
  letter-spacing: 0.025em;
}

.field-group h3,
.summary-head p {
  color: var(--lime);
  font-size: 13px;
}

input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
select,
textarea {
  color: #ddb7d3;
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: 0.01em;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(221, 183, 211, 0.82) 0 4px,
    transparent 4px 8px
  );
}

input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):focus,
select:focus,
textarea:focus {
  background-image: repeating-linear-gradient(
    90deg,
    var(--lime) 0 5px,
    transparent 5px 8px
  );
}

.field-group + .field-group::before {
  height: 2px;
  background: var(--black);
  opacity: 0.9;
}

.summary-head h2 {
  font-size: clamp(38px, 3.8vw, 58px);
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-shadow:
    3px 3px 0 rgba(221, 183, 211, 0.5),
    7px 7px 0 rgba(98, 31, 128, 0.3);
}

.impact-card strong {
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.035em;
  line-height: 1;
}

.impact-card span,
.security-note,
.summary-flags {
  font-family: var(--mono);
}

@media (max-width: 760px) {
  .form-intro .kicker {
    font-size: clamp(38px, 11vw, 58px);
  }

  .section-title {
    display: flex;
    gap: 14px;
  }

  .section-title > span {
    font-size: 56px;
  }

  .section-title h2 {
    font-size: clamp(34px, 9vw, 48px);
  }
}

/* 2026-09-28 full-page generated field */
.form-intro .kicker,
.section-title > span,
.section-title h2,
.summary-head h2 {
  text-shadow: none;
}

/* Use the real Diatype Bold face for every display heading. */
.hero-copy h1,
.form-intro .kicker,
.form-intro h2,
.section-title > span,
.section-title h2,
.summary-head h2,
.impact-card strong {
  display: block;
  font-family: "ABC Diatype", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

.form-intro h2 {
  font-size: clamp(36px, 4.25vw, 58px);
  letter-spacing: -0.04em;
  line-height: 0.94;
}

@media (prefers-reduced-motion: reduce) {
  .page-dither-background video,
  .page-dither-canvas {
    animation-play-state: paused;
  }
}

/* 2026-09-28 black framing and neutral selection states */
.site-header,
.support-hero,
.form-column,
.summary-panel,
.form-intro,
.form-section,
.segmented span,
.amount-card,
.option-cards > .check-row,
.direct-debit-authority,
.payment-fields,
.conditional-grid,
.captcha-placeholder,
.summary-total,
.submit-button,
input:not([type="radio"]):not([type="hidden"]),
select,
textarea {
  border-color: var(--black);
}

.form-column,
.summary-panel {
  outline-color: var(--black);
}

.form-column::before,
.summary-panel::before {
  border-color: var(--black);
}

.form-section + .form-section,
.summary-head,
.impact-card,
.summary-flags li,
.summary-total .total-row {
  border-color: var(--black);
}

.segmented label:hover span,
.segmented input:checked + span,
.segmented input:focus-visible + span {
  border-color: var(--black);
  background: rgba(0, 0, 0, 0.24);
  color: #ddb7d3;
  box-shadow: none;
  transform: none;
}

.option-cards > .check-row:has(input:checked),
.direct-debit-authority:has(input:checked) {
  border-color: var(--black);
  background: rgba(0, 0, 0, 0.2);
  color: #ddb7d3;
  box-shadow: none;
}

/* Keep every glass section on one surface and remove residual light edging. */
.form-column,
.summary-panel {
  border: 1px solid var(--black);
  box-shadow:
    inset 0 1px 0 var(--black),
    inset 1px 0 0 var(--black),
    inset 0 -1px 0 var(--black),
    inset -1px 0 0 var(--black),
    0 34px 88px rgba(0, 0, 0, 0.72);
}

.form-intro,
.form-section,
.form-section:nth-of-type(even) {
  background: rgba(35, 13, 52, 0.36);
  border-color: var(--black);
  box-shadow: none;
}

.form-section + .form-section {
  border-top: 1px solid var(--black);
}

/* Form polish: readable states, consistent rhythm and accessible feedback. */
body { overflow-x: clip; }
[hidden] { display: none !important; }
html { scroll-padding-top: 96px; }
.site-header { position: sticky; z-index: 20; flex-wrap: wrap; gap: 12px; }
.nav-links { margin-left: auto; }
.motion-toggle { flex: none; min-height: 40px; padding: 8px 12px; border: 1px solid #555; border-radius: 999px; background: #191919; color: #ddb7d3; font: 11px var(--mono); cursor: pointer; }
.motion-toggle:hover { border-color: var(--lime); }
button:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.skip-link { position: fixed; top: 10px; left: 12px; z-index: 100; transform: translateY(-160%); padding: 12px 18px; border-radius: 4px; background: var(--lime); color: #000; font: 500 16px var(--font); }
.skip-link:focus { transform: none; }
.support-hero { aspect-ratio: 723 / 407; height: auto; min-height: 0; border: 0; background: transparent; box-shadow: none; }
.support-hero.has-generated-dither { background: transparent; }
.support-hero.has-generated-dither .hero-dither { background: transparent; }
.hero-copy { display: flex; background: transparent; }
.hero-copy h1, .hero-copy p { color: #ddb7d3; white-space: normal; }
.hero-copy h1 { color: #ddb7d3; font-size: clamp(36px, 8.1vw, 120px); }
.hero-copy p { color: #230d34; font-size: clamp(30px, 6.15vw, 84px); }
.hero-wordmark {
  display: inline-block;
  width: 2.8em;
  height: .58em;
  vertical-align: -.045em;
  object-fit: contain;
}

body,
.page-dither-background {
  background: #000000;
}
.support-hero.media-ready .hero-copy { display: block; position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; }
.section-title { align-items: center; }
.section-title h2 { line-height: 1; overflow-wrap: anywhere; }
.form-intro h2 { line-height: 1.02; }
.field-group + .option-list { margin-top: 0; }
#details-heading ~ .option-list { margin-top: 0; }
.form-section[aria-labelledby="details-heading"] .field-group:has(#input_3_6_5) { padding-bottom: var(--field-gap); }
.option-cards { gap: var(--field-gap); }
.option-cards > .check-row { min-height: 64px; padding: 14px 16px; }
.conditional-grid { margin: 0; padding: 18px; }
.field-hint { margin-top: -4px; color: #c6b9cf; font: 11px/1.4 var(--mono); letter-spacing: 0; }
.segmented label:hover span { background: #ffffff12; }
.segmented input:checked + span { background: #fff; color: #111; border-color: var(--white); box-shadow: none; }
.segmented input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 4px; }
.amount-card { overflow: visible; }
.amount-card video { border-radius: inherit; }
.amount-card::after { content: '✓'; position: absolute; top: 8px; right: 8px; z-index: 3; display: none; width: 24px; height: 24px; place-items: center; border: 1px solid #111; border-radius: 50%; background: var(--lime); color: #111; font: 700 16px var(--font); }
.amount-grid input:checked + .amount-card { border: 2px solid var(--lime); box-shadow: 0 0 0 2px #230d34; }
.amount-grid input:checked + .amount-card::after { display: grid; }
.amount-fallback { position: absolute; inset: 0; z-index: 1; display: grid; align-content: end; padding: 12px; border-radius: inherit; color: #111; background: var(--card-fallback); font: 700 clamp(14px, 1.7vw, 24px)/1.1 var(--font); letter-spacing: -.025em; overflow-wrap: anywhere; }
.tone-charcoal .amount-fallback { color: #ddb7d3; }
.amount-card.media-ready .amount-fallback { display: none; }
.amount-card.has-generated-dither .amount-fallback {
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 0;
  padding: clamp(9px, 1.1vw, 14px);
  color: #111;
  background: transparent;
  font-family: var(--font);
  font-weight: 700;
  line-height: .92;
  text-shadow: none;
  pointer-events: none;
}
.amount-card.has-generated-dither .amount-fallback.is-light { color: #ddb7d3; }
.amount-card.has-generated-dither .amount-price {
  display: block;
  font-size: clamp(20px, 2.3vw, 32px);
  letter-spacing: -.045em;
}
.amount-card.has-generated-dither .amount-name {
  display: block;
  font-size: clamp(18px, 2.15vw, 30px);
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.no-webgl-card-dither .amount-card.has-generated-dither .amount-fallback {
  background: var(--card-fallback, #230d34);
}
input:not([type="radio"]):not([type="checkbox"]):focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; border-radius: 2px; }
.field-error { margin: 0; color: #ffd1c7; font: 12px/1.45 var(--font); letter-spacing: 0; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { outline: 2px solid #ffb2a2; outline-offset: 4px; }
.form-error-summary { grid-column: 1 / -1; padding: 24px; border: 1px solid #ffb2a2; border-left: 4px solid #ffb2a2; border-radius: 10px; background: #230d3bf5; scroll-margin-top: 100px; }
.form-error-summary h2 { font: 700 24px/1.15 var(--font); letter-spacing: -.025em; }
.form-error-summary ul { display: grid; gap: 8px; margin: 16px 0 0; padding-left: 20px; }
.form-error-summary a { color: #ffd1c7; font: 14px/1.4 var(--font); text-decoration: underline; text-underline-offset: 3px; }
.form-error-summary:focus { outline: 3px solid var(--lime); outline-offset: 4px; }
input, textarea, select { scroll-margin-top: 120px; }
.integration-status { margin: 0; padding: 12px 14px; border: 1px solid #ffb2a2; border-radius: 6px; background: #0008; color: #ffd1c7; font: 14px/1.45 var(--font); }
.profiler-card-mount { display: grid; gap: 14px; width: 100%; }
.profiler-card-fallback { width: 100%; }
.profiler-card-fallback input:disabled { opacity: 1; cursor: default; }
.captcha-section { display: grid; gap: 10px; }
.captcha-section h3 { margin: 0; font: 700 18px/1.2 var(--font); }
.captcha-section .captcha-placeholder {
  display: block;
  min-height: 88px;
  padding: 20px;
  font: 15px/1.4 var(--font);
  text-transform: none;
}
.captcha-section .captcha-placeholder p { margin: 0; }
.support-hero .hero-copy h1,
.support-hero .hero-copy p { color: #ddb7d3; }
.submit-button:disabled,
.submit-button:disabled:hover { opacity: .58; cursor: not-allowed; transform: none; }
.submit-status[data-state="error"] { border-color: #ffb2a2; color: #ffd1c7; }
.submit-status { margin: 0; padding: 14px; border: 1px solid #d9ff7677; border-radius: 6px; background: #0005; color: #ddb7d3; font: 14px/1.45 var(--font); }
.submit-button { min-height: 52px; font-size: 16px; }
.noscript-note { margin: 24px var(--gutter); padding: 20px; border: 1px solid var(--lime); background: #230d34; }
@media (max-width: 1100px) { .summary-column { position: static; } }
@media (max-width: 760px) {
  .site-header { height: auto; min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
  .nav-links { gap: 4px; }
  .nav-links a:not(.nav-strong) { display: none; }
  .nav-links .nav-strong { min-height: 40px; display: grid; align-content: center; }
  .motion-toggle { padding: 8px 10px; }
  .brand-mark { width: 52px; }
  .support-hero { height: auto; min-height: 0; max-height: none; }
  .summary-total div > strong { overflow-wrap: anywhere; }
}
@media (max-width: 520px) {
  .section-title { display: flex; }
  .section-title h2 { font-size: clamp(30px, 8.7vw, 42px); }
  .hero-copy { gap: 12px; padding: 16px; }
  .support-layout { padding-top: 28px; }
  .amount-fallback { padding: 10px; font-size: 16px; }
  .form-intro, .form-section { padding: 28px 22px; }
  .field-group { padding-top: 24px; padding-bottom: 24px; gap: 18px; }
  .form-intro h2 { font-size: clamp(30px, 9vw, 44px); }
  .form-error-summary { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Keep the site chrome neutral against both page-field colour phases. */
.site-header,
.site-header .brand,
.site-header .nav-links a:not(.nav-strong),
.site-header .motion-toggle {
  color: #ffffff;
}

.site-header .nav-strong {
  color: #000000;
}

/* Final control, wordmark and accessibility refinements. */
.hero-copy h1 {
  display: block;
  width: auto;
  max-width: none;
}

.hero-wordmark {
  vertical-align: -0.045em;
  transform: none;
}

.site-header .nav-links a,
.site-header .motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 40px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  font-synthesis: none;
  letter-spacing: 0;
  line-height: 1;
}

.site-header .motion-toggle {
  padding: 8px 13px;
}

@media (max-width: 760px) {
  .site-header .nav-links a:not(.nav-strong) {
    display: none;
  }
}

/* These two large controls must remain solid. The shared decorative underline
   could otherwise tile vertically in native textarea/select focus states. */
#input_3_28,
#input_3_48,
#input_3_28:hover,
#input_3_48:hover,
#input_3_28:focus,
#input_3_48:focus,
#input_3_28:focus-visible,
#input_3_48:focus-visible {
  padding: 12px 14px;
  border: 1px solid var(--black);
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.26);
  background-image: none;
  background-size: 0 0;
  box-shadow: none;
}

.check-row input {
  background-color: #ddb7d3;
}

.segmented input:checked + span,
.submit-button {
  border-color: #ddb7d3;
  background: #ddb7d3;
  color: #000000;
}

.amount-card.has-generated-dither[data-dither-preset="what-you-feel"] .amount-fallback,
.amount-card.has-generated-dither[data-dither-preset="what-you-feel"] .amount-fallback.is-light {
  color: #ffffff;
}

.accessibility-toggle[aria-pressed="true"] {
  border-color: #ffffff;
  background: #ffffff;
  color: #000000;
}

/* High-contrast accessibility mode.
   This mode is deliberately explicit rather than a grayscale filter: motion and
   decorative fields disappear, while every foreground/background pair becomes
   a predictable black, white or deep-purple combination. */
html.accessibility-mode {
  color-scheme: dark;
  font-size: 112.5%;
  background: #230d34;
}

html.accessibility-mode body {
  background: #230d34;
  color: #ffffff;
}

html.accessibility-mode body::before,
html.accessibility-mode body::after {
  content: none !important;
}

html.accessibility-mode .page-dither-background {
  background: #230d34 !important;
  filter: none !important;
}

html.accessibility-mode .page-dither-background video,
html.accessibility-mode .page-dither-canvas,
html.accessibility-mode .hero-dither-source,
html.accessibility-mode .hero-dither-stage,
html.accessibility-mode .hero-dither,
html.accessibility-mode .support-hero canvas,
html.accessibility-mode .support-hero video,
html.accessibility-mode .card-dither-surface,
html.accessibility-mode .amount-card canvas,
html.accessibility-mode .amount-card video,
html.accessibility-mode .summary-dither {
  display: none !important;
  visibility: hidden !important;
}

html.accessibility-mode .site-header {
  background: #000000 !important;
  color: #ffffff !important;
  border-bottom: 2px solid #ffffff !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html.accessibility-mode .site-header .brand,
html.accessibility-mode .site-header .nav-links a,
html.accessibility-mode .site-header .motion-toggle {
  color: #ffffff !important;
  font-size: 18px !important;
}

html.accessibility-mode .site-header .nav-links a:hover,
html.accessibility-mode .site-header .nav-links a:focus-visible {
  background: #ffffff !important;
  color: #000000 !important;
}

html.accessibility-mode .site-header .nav-links .nav-strong,
html.accessibility-mode .accessibility-toggle[aria-pressed="true"] {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #ffffff !important;
}

html.accessibility-mode main {
  color: #ffffff !important;
  filter: none !important;
}

html.accessibility-mode .support-hero,
html.accessibility-mode .support-hero.has-generated-dither,
html.accessibility-mode .support-hero.media-ready {
  display: grid !important;
  place-items: center !important;
  min-height: clamp(430px, 58vw, 760px) !important;
  aspect-ratio: auto !important;
  background: transparent !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

html.accessibility-mode .support-hero .hero-copy,
html.accessibility-mode .support-hero.media-ready .hero-copy,
html.accessibility-mode .support-hero.has-generated-dither .hero-copy {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  width: min(1500px, 100%) !important;
  height: auto !important;
  margin: 0 !important;
  padding: clamp(28px, 5vw, 80px) !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  visibility: visible !important;
  white-space: normal !important;
  background: transparent !important;
  color: #ffffff !important;
}

html.accessibility-mode .hero-copy h1,
html.accessibility-mode .hero-copy p,
html.accessibility-mode .hero-copy a,
html.accessibility-mode .hero-copy span {
  color: #ffffff !important;
  text-shadow: none !important;
}

html.accessibility-mode .hero-copy h1 {
  font-size: clamp(54px, 9vw, 142px) !important;
  line-height: 0.96 !important;
}

html.accessibility-mode .hero-copy p {
  font-size: clamp(38px, 6.8vw, 100px) !important;
  line-height: 1 !important;
}

html.accessibility-mode .form-column,
html.accessibility-mode .summary-panel,
html.accessibility-mode .form-intro,
html.accessibility-mode .form-section,
html.accessibility-mode .form-section:nth-of-type(even),
html.accessibility-mode .payment-shell,
html.accessibility-mode .payment-fields,
html.accessibility-mode .conditional-grid,
html.accessibility-mode .option-cards > .check-row,
html.accessibility-mode .direct-debit-authority,
html.accessibility-mode .captcha-placeholder,
html.accessibility-mode .form-error-summary,
html.accessibility-mode .integration-status,
html.accessibility-mode .submit-status {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: none !important;
  filter: none !important;
}

html.accessibility-mode .form-column,
html.accessibility-mode .summary-panel {
  border: 2px solid #ffffff !important;
  outline: 0 !important;
}

html.accessibility-mode .form-section + .form-section,
html.accessibility-mode .summary-head,
html.accessibility-mode .impact-card,
html.accessibility-mode .summary-flags li,
html.accessibility-mode .summary-total .total-row,
html.accessibility-mode .field-group {
  border-color: #ffffff !important;
}

html.accessibility-mode :where(
  .form-column,
  .summary-panel,
  .form-intro,
  .form-section,
  .payment-shell,
  .payment-fields,
  .conditional-grid,
  .option-cards,
  .direct-debit-authority,
  .captcha-placeholder,
  .form-error-summary,
  .submit-status
) :where(h1, h2, h3, h4, p, label, legend, span, strong, small, li, a) {
  color: #ffffff !important;
  opacity: 1 !important;
}

html.accessibility-mode .form-intro p,
html.accessibility-mode .payment-shell p,
html.accessibility-mode .payment-fields p,
html.accessibility-mode .impact-card span,
html.accessibility-mode .security-note,
html.accessibility-mode .field-hint,
html.accessibility-mode .integration-status,
html.accessibility-mode .summary-head p {
  color: #ffffff !important;
  font-size: max(16px, 1rem) !important;
  opacity: 1 !important;
}

html.accessibility-mode label,
html.accessibility-mode legend,
html.accessibility-mode .kicker,
html.accessibility-mode .section-title p {
  color: #ffffff !important;
  font-size: max(17px, 1rem) !important;
}

html.accessibility-mode input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
html.accessibility-mode select,
html.accessibility-mode textarea,
html.accessibility-mode #input_3_28,
html.accessibility-mode #input_3_48 {
  min-height: 54px !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  outline: 2px solid #ffffff !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  font-size: 18px !important;
  opacity: 1 !important;
}

html.accessibility-mode textarea {
  min-height: 140px !important;
}

html.accessibility-mode input::placeholder,
html.accessibility-mode textarea::placeholder {
  color: #303030 !important;
  opacity: 1 !important;
}

html.accessibility-mode input:focus-visible,
html.accessibility-mode select:focus-visible,
html.accessibility-mode textarea:focus-visible,
html.accessibility-mode button:focus-visible,
html.accessibility-mode a:focus-visible,
html.accessibility-mode .segmented input:focus-visible + span,
html.accessibility-mode .amount-grid input:focus-visible + .amount-card {
  outline: 4px solid #ffffff !important;
  outline-offset: 4px !important;
}

html.accessibility-mode .segmented span {
  min-height: 54px !important;
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: none !important;
  font-size: 18px !important;
}

html.accessibility-mode .segmented label:hover span,
html.accessibility-mode .segmented input:checked + span {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

html.accessibility-mode input[type="checkbox"],
html.accessibility-mode input[type="radio"] {
  accent-color: #ffffff !important;
}

html.accessibility-mode .amount-card,
html.accessibility-mode .amount-grid.has-generated-surface .amount-card.has-generated-dither,
html.accessibility-mode .amount-card.has-generated-dither {
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
}

html.accessibility-mode .amount-card.media-ready .amount-fallback,
html.accessibility-mode .amount-card.has-generated-dither .amount-fallback,
html.accessibility-mode .amount-card.has-generated-dither .amount-fallback.is-light,
html.accessibility-mode .amount-card.has-generated-dither[data-dither-preset="what-you-feel"] .amount-fallback,
html.accessibility-mode .amount-card.has-generated-dither[data-dither-preset="what-you-feel"] .amount-fallback.is-light {
  display: grid !important;
  z-index: 1 !important;
  background: #000000 !important;
  color: #ffffff !important;
  text-shadow: none !important;
}

html.accessibility-mode .amount-card .amount-price {
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1 !important;
}

html.accessibility-mode .amount-card .amount-name {
  font-size: clamp(22px, 2.5vw, 34px) !important;
  line-height: 1 !important;
}

html.accessibility-mode .amount-grid input:checked + .amount-card,
html.accessibility-mode .amount-grid input:checked + .amount-card .amount-fallback {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

html.accessibility-mode .amount-grid input:checked + .amount-card .amount-fallback :where(.amount-price, .amount-name, span, strong) {
  color: #000000 !important;
}

html.accessibility-mode .amount-card::after {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
}

html.accessibility-mode .summary-total,
html.accessibility-mode .summary-total.has-generated-dither {
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: none !important;
}

html.accessibility-mode .summary-total::before {
  content: none !important;
}

html.accessibility-mode .summary-total div,
html.accessibility-mode .summary-total div > span,
html.accessibility-mode .summary-total div > strong {
  color: #ffffff !important;
  font-size: max(18px, 1rem) !important;
}

html.accessibility-mode .summary-total .total-row > strong {
  font-size: clamp(28px, 3vw, 42px) !important;
}

html.accessibility-mode .check-row input {
  background: #ffffff !important;
  border-color: #ffffff !important;
}

html.accessibility-mode .submit-button {
  min-height: 58px !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #ffffff !important;
  box-shadow: none !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

html.accessibility-mode .submit-button:hover,
html.accessibility-mode .submit-button:focus-visible {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

html.accessibility-mode .field-error,
html.accessibility-mode .form-error-summary,
html.accessibility-mode .form-error-summary a {
  color: #ffffff !important;
  border-color: #ffffff !important;
  text-decoration-thickness: 2px;
}

html.accessibility-mode * {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.001ms !important;
}

@media (max-width: 760px) {
  html.accessibility-mode {
    font-size: 106.25%;
  }

  html.accessibility-mode .site-header .nav-links a,
  html.accessibility-mode .site-header .motion-toggle {
    font-size: 16px !important;
  }

  html.accessibility-mode .support-hero,
  html.accessibility-mode .support-hero.has-generated-dither,
  html.accessibility-mode .support-hero.media-ready {
    min-height: 480px !important;
  }

  html.accessibility-mode .support-hero .hero-copy {
    padding: 28px 20px !important;
  }
}

/* Keep the high-contrast impact summary clear without nested frames. */
html.accessibility-mode .summary-panel {
  gap: 14px;
  padding: 22px;
}

html.accessibility-mode .summary-panel::before { content: none !important; }
html.accessibility-mode .summary-head,
html.accessibility-mode .impact-card { border: 0 !important; padding: 0; }
html.accessibility-mode .summary-head { gap: 4px; }
html.accessibility-mode .summary-head p { font-size: 14px !important; }
html.accessibility-mode .summary-head h2 {
  font-size: clamp(34px, 3.2vw, 46px) !important;
  line-height: 1.05;
  text-shadow: none !important;
}
html.accessibility-mode .impact-card { gap: 6px; }
html.accessibility-mode .impact-card strong { font-size: 20px !important; line-height: 1.2; }
html.accessibility-mode .impact-card span { font-size: 16px !important; line-height: 1.4; }
html.accessibility-mode .summary-total,
html.accessibility-mode .summary-total.has-generated-dither {
  gap: 10px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
}
html.accessibility-mode .summary-total div > span { font-size: 14px !important; }
html.accessibility-mode .summary-total div > strong { font-size: 18px !important; }
html.accessibility-mode .summary-total .total-row { margin-top: 2px; padding-top: 12px; }
html.accessibility-mode .summary-total .total-row > strong { font-size: 26px !important; }
html.accessibility-mode .summary-flags li { padding: 0; border: 0 !important; font-size: 14px; }
html.accessibility-mode .summary-panel .integration-status {
  padding: 0;
  border: 0 !important;
  font-size: 16px !important;
}
html.accessibility-mode .summary-panel .submit-button { min-height: 52px !important; font-size: 18px !important; }

@media (max-width: 380px) {
  .site-header { gap: 6px; padding-inline: 10px; }
  .brand-mark { width: 48px; }
  .site-header .nav-links a,
  .site-header .motion-toggle { padding-inline: 8px; font-size: 13px; }
}

/* 2026-10-08 hosted-form repair candidate. Payment-provider internals still need staging QA. */
.membership-note,
.payment-review,
.summary-membership-note {
  border: 1px solid rgba(221, 183, 211, .32);
  border-radius: 9px;
  background: rgba(0, 0, 0, .36);
}
.membership-note { display: grid; gap: 8px; margin-bottom: 24px; padding: 18px 20px; }
.membership-note strong { font-size: 18px; line-height: 1.25; }
.membership-note p,
.summary-membership-note { margin: 0; color: #e9d2e3; font-size: 14px; line-height: 1.5; }
.membership-choice { margin: 0 0 24px; }
.membership-choice > p { margin: 0; color: #e9d2e3; font-size: 13px; line-height: 1.5; }
.payment-review {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 16px;
  align-items: baseline;
  margin-bottom: 20px;
  padding: 14px 18px;
}
.payment-review span:first-child { color: #e9d2e3; font: 12px var(--mono); text-transform: uppercase; }
.payment-review strong { grid-row: span 2; font-size: clamp(22px, 3vw, 30px); }
.payment-review span:last-child { color: #e9d2e3; font-size: 16px; }
.summary-membership-note { padding: 12px 14px; }
.payment-method-note { margin-top: 12px !important; font-size: 13px !important; }
.tier-schedule-note { margin: 0 0 14px; color: #e9d2e3; font-size: 13px; line-height: 1.4; }
.payment-methods input:disabled + span { opacity: .55; cursor: not-allowed; }
.payment-shell,
.payment-fields,
.captcha-section,
.captcha-placeholder,
.profiler-card-mount { min-width: 0; max-width: 100%; }
.profiler-card-mount { overflow: visible; }
.profiler-card-mount iframe { display: block; width: 100%; max-width: 100%; border: 0; }
.profiler-card-mount.is-challenging > iframe { min-height: var(--card-challenge-height, 720px); }
.captcha-placeholder { overflow: visible; }
.submit-status {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid #ddb7d3;
  border-left: 4px solid #ddb7d3;
  border-radius: 9px;
  background: rgba(0, 0, 0, .58);
  color: #f2ddea;
}
.submit-status[data-state="accepted"] { border-color: var(--lime); }
.submit-status[data-state="error"] { border-color: #ffb2a2; }
.submit-status[data-state="uncertain"] { border-color: #ffb2a2; }
.submit-status-kicker { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.submit-status-title { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.1; }
.submit-status-message { margin: 0; font-size: 15px; line-height: 1.45; }
.submit-status-next { margin: 0; padding-top: 8px; border-top: 1px solid currentColor; font-size: 14px; line-height: 1.45; }
.submit-status[data-state="accepted"] { padding: 24px; border-width: 2px; background: #230d34; color: #f2ddea; }
.submit-status[data-state="accepted"] .submit-status-kicker { color: var(--lime); }
.submit-status[data-state="accepted"] .submit-status-title { font-size: clamp(28px, 3vw, 40px); }
.submit-status[data-state="accepted"] .submit-status-next { border-color: rgba(217, 255, 118, .45); }
.submit-status:focus { outline: 3px solid var(--lime); outline-offset: 3px; }
form:is([data-checkout-state="accepted"], [data-checkout-state="pending"], [data-checkout-state="uncertain"]) .form-section[aria-labelledby="payment-heading"],
form:is([data-checkout-state="accepted"], [data-checkout-state="pending"], [data-checkout-state="uncertain"]) .impact-card { display: none; }
.support-help,
.privacy-note { margin: 0; color: #e9d2e3; font-size: 13px; line-height: 1.5; }
.support-help a,
.privacy-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.support-help a:focus-visible,
.privacy-note a:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

@media (max-width: 760px) {
  .support-hero { aspect-ratio: auto; height: auto; min-height: 320px; }
  .support-hero .hero-copy,
  .support-hero.media-ready .hero-copy {
    position: relative;
    inset: auto;
    display: flex;
    width: 100%;
    height: auto;
    min-height: clamp(320px, 82vw, 470px);
    margin: 0;
    padding: clamp(22px, 6vw, 36px);
    overflow: visible;
    clip: auto;
    clip-path: none;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    background: transparent;
  }
  .support-hero .hero-copy h1,
  .support-hero .hero-copy p {
    position: relative;
    max-width: 13ch;
    color: #f3d9eb;
    line-height: .95;
    overflow-wrap: normal;
  }
  .support-hero .hero-copy h1 { font-size: clamp(36px, 9.2vw, 66px); }
  .support-hero .hero-copy p { font-size: clamp(27px, 7vw, 44px); }
}

@media (max-width: 520px) {
  .form-section[aria-labelledby="payment-heading"] { padding-inline: 12px; }
  .payment-shell { padding: 0; }
  .payment-fields { padding: 12px; }
  .payment-methods span { min-width: 0; padding-inline: 6px; font-size: 14px; white-space: normal; }
  .captcha-placeholder { padding: 8px; }
  .payment-review { grid-template-columns: 1fr; }
  .payment-review strong { grid-row: auto; }
}

html.accessibility-mode .membership-note,
html.accessibility-mode .payment-review,
html.accessibility-mode .summary-membership-note,
html.accessibility-mode .submit-status { background: #000; color: #fff; border-color: #fff; }

/* Browser autofill must keep the page's dark fields and readable text. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #230d34 inset !important;
  -webkit-text-fill-color: #e9d2e3 !important;
  caret-color: #e9d2e3;
}
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #230d34 inset, 0 0 0 2px rgba(217, 255, 118, .65) !important;
}
html.accessibility-mode input:-webkit-autofill,
html.accessibility-mode input:-webkit-autofill:focus,
html.accessibility-mode textarea:-webkit-autofill,
html.accessibility-mode select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #000 inset !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
}
html.accessibility-mode .membership-note p,
html.accessibility-mode .summary-membership-note,
html.accessibility-mode .payment-review span,
html.accessibility-mode .support-help,
html.accessibility-mode .privacy-note { color: #fff; }

/* Contain the generated dither inside each rounded amount card. */
.amount-card,
.amount-grid.has-generated-surface .amount-card.has-generated-dither {
  overflow: hidden;
  border-radius: var(--radius);
}
.amount-card canvas,
.amount-card video,
.amount-card .amount-fallback {
  border-radius: inherit;
}

/* The shared dither canvas sits above the cards. Paint the selected ring on
   the label above that canvas so animated pixels can never cross the ring. */
.amount-grid label:has(> input:checked)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  box-sizing: border-box;
  border: 2px solid var(--lime);
  border-radius: var(--radius);
  pointer-events: none;
}
html.accessibility-mode .amount-grid label:has(> input:checked)::after {
  border-color: #ffffff;
}

/* Compact hero keeps the desktop dither field and lets that field obscure the
   text naturally. Keep each message on one centered line. */
@media (max-width: 900px) {
  body { background: #230d34; }
  .page-dither-background { background: #230d34; }
  .support-hero { aspect-ratio: auto; height: auto; min-height: 0; background: transparent; }
  .support-hero .hero-copy,
  .support-hero.media-ready .hero-copy {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 5vw, 36px);
    width: 100%;
    height: auto;
    min-height: clamp(360px, 82vw, 520px);
    margin: 0;
    padding: clamp(16px, 4vw, 40px);
    overflow: visible;
    clip: auto;
    clip-path: none;
    text-align: center;
    background: transparent;
  }
  .support-hero .hero-copy h1,
  .support-hero .hero-copy p {
    position: static;
    width: auto;
    max-width: none;
    margin: 0;
    color: #ddb7d3;
    line-height: .98;
    white-space: nowrap;
    overflow-wrap: normal;
    transform: none;
    opacity: 1;
    clip-path: none;
    animation: none;
    text-shadow: none;
  }
  .support-hero .hero-copy h1 { font-size: clamp(18px, 6vw, 60px); }
  .support-hero .hero-copy p { font-size: clamp(16px, 4.5vw, 45px); }
  html.accessibility-mode .support-hero .hero-copy h1,
  html.accessibility-mode .support-hero .hero-copy p {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Let text wrap when zoom reduces the CSS viewport below a phone width. */
@media (max-width: 319px) {
  .support-hero .hero-copy h1,
  .support-hero .hero-copy p {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* ---- Profiler integration (PF-1571, PF-1648): the gateway's card box, Direct Debit availability ---- */

.profiler-card-host {
  min-height: 54px;
  padding: 16px 0 14px;
  background-image: repeating-linear-gradient(90deg, rgba(221, 183, 211, 0.72) 0 3px, transparent 3px 8px);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: auto 3px;
}

/* The bank's check opens inside the card box: Merchant Warrior's frame sits in it, not directly in the mount. */
.profiler-card-mount.is-challenging .profiler-card-host iframe { min-height: var(--card-challenge-height, 720px); }

.segmented label.is-unavailable {
  opacity: 0.45;
  cursor: not-allowed;
}

html.accessibility-mode .profiler-card-host {
  padding: 14px 12px;
  background: #ffffff !important;
  border: 2px solid #000000;
  outline: 2px solid #ffffff;
}
