:root {
  --black: #000000;
  --white: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.72);
  --panel: #191919;
  --panel-soft: #202020;
  --line: rgba(255, 255, 255, 0.14);
  --grey: #f2f2f2;
  --grey-dark: #262626;
  --red: #410A0A;
  --lime: #d9ff76;
  --purple: #2D157B;
  --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: 8px;
}

@font-face {
  font-family: "ABC Diatype";
  src: url("fonts/ABCDiatype-Regular-Trial.otf") format("otf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABC Diatype";
  src: url("fonts/ABCDiatype-Medium-Trial.otf") format("otf");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABC Diatype";
  src: url("fonts/ABCDiatype-Bold-Trial.otf") format("otf");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ABC Diatype Mono";
  src: url("fonts/ABCDiatypeMono-Regular-Trial.otf") format("otf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  letter-spacing: 0;
}

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

.site-header {
  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.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 500;
  line-height: 0.95;
}

.brand-mark {
  width: 58px;
  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;
}

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

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

.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: min(680px, calc(100vh - 134px));
  margin: 0 var(--gutter);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
  scroll-margin-top: 92px;
}

.hero-dither {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.96;
}

.support-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 0.08) 0 24%, rgba(0, 0, 0, 0.28) 54%, rgba(0, 0, 0, 0.74) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.38));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  min-height: min(680px, calc(100vh - 134px));
  padding: 48px;
  text-align: center;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(48px, 6.2vw, 94px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
}

.hero-copy p {
  max-width: 680px;
  margin: 16px 0 22px;
  font-size: clamp(21px, 2vw, 32px);
  font-weight: 500;
  line-height: 1.05;
}

.hero-copy a,
.submit-button,
.nav-strong {
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.hero-copy a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: 500;
}

.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);
  padding: 92px var(--gutter) 72px;
  scroll-margin-top: 96px;
}

.form-column {
  min-width: 0;
  overflow: hidden;
  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);
}

.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-banner {
  margin: 0 clamp(28px, 4vw, 56px) 0;
  padding: 18px clamp(20px, 3vw, 32px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.form-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.form-banner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.4;
}

.form-banner-success {
  border-color: var(--lime);
  background: rgba(217, 255, 118, 0.1);
}

.form-banner-error {
  border-color: #f35737;
  background: rgba(243, 87, 55, 0.12);
}

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

.section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}

.section-title span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  background: var(--white);
  color: var(--black);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 14px;
}

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

.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;
}

legend {
  margin-bottom: 16px;
}

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

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

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
}

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

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(217, 255, 88, 0.25);
  outline-offset: 1px;
}

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;
}

.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 rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font);
  text-align: center;
  font-weight: 500;
}

.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 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
  gap: 16px;
}

.amount-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 136px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--black);
  background: var(--lime);
}

.amount-card canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.72;
}

.amount-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(to top, rgba(255, 255, 255, 0.82) 0 42%, rgba(255, 255, 255, 0.24) 66%, rgba(255, 255, 255, 0) 84%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0.12));
  pointer-events: none;
}

.amount-card strong,
.amount-card small {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.amount-card strong {
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 0.86;
}

.amount-card small {
  margin-top: 5px;
  color: rgba(0, 0, 0, 0.74);
  font-size: 15px;
  line-height: 1.1;
}

.tone-lime {
  background: var(--lime);
}

.tone-taupe {
  background: var(--taupe);
}

.tone-lilac {
  background: var(--lilac);
}

.tone-aqua {
  background: var(--aqua);
}

.tone-charcoal {
  background: #2a2a2a;
  color: var(--white);
}

.tone-charcoal small {
  color: rgba(255, 255, 255, 0.68);
}

.tone-charcoal::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.66) 0 42%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0) 86%);
}

.tone-charcoal strong,
.tone-charcoal small {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.62);
}

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

.amount-grid input:checked + .amount-card {
  border-color: var(--white);
  box-shadow: 0 0 0 3px var(--black), 0 0 0 5px var(--white);
}

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

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

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

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

.option-list {
  display: grid;
  gap: 18px;
}

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

.check-row input {
  flex: 0 0 28px;
  width: 28px;
  min-height: 28px;
  margin: 0;
  accent-color: var(--lime);
}

.check-row input:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

.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 rgba(217, 255, 88, 0.42);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, 0.035);
}

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

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

.payment-shell {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
}

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

.captcha-placeholder {
  display: grid;
  place-items: center;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  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-radius: var(--radius);
  background: var(--panel);
  padding: 20px;
}

.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 {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
}

.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: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
}

.submit-button:hover {
  background: var(--lime);
}

.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 {
    font-size: 22px;
  }

  .brand-mark {
    width: 44px;
  }

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

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

  .support-hero,
  .hero-copy {
    min-height: 480px;
  }

  .hero-copy {
    padding: 28px;
  }

  .two-up,
  .conditional-grid,
  .amount-grid {
    grid-template-columns: 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;
  }
}
