:root {
  --bg: #080b10;
  --surface: #111820;
  --surface-raised: #192430;
  --text: #eef4f7;
  --muted: #aab8c3;
  --faint: #7c91a1;
  --lime: #6bc7f2;
  --line: rgba(155, 204, 231, 0.13);
  --line-strong: rgba(155, 204, 231, 0.3);
  --danger: #ff6b6b;
  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Space Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 84% 12%, rgba(79, 184, 234, 0.16), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--lime);
  color: var(--accent-on-hero, #07131a);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 84px;
  padding: 0 clamp(24px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.wordmark span, .lime { color: var(--lime); }

.header-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}

.text-link,
.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.text-link:hover,
.text-link:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--text); }

.app-link { color: var(--text); }

.language-control select {
  appearance: none;
  min-width: 58px;
  padding: 10px 24px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 9px center;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
}

html[data-theme="light"] .language-control select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23121B21' stroke-width='1.5'/%3E%3C/svg%3E");
}

.support-hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  gap: clamp(52px, 8vw, 120px);
  align-items: center;
  padding: clamp(72px, 9vw, 140px) clamp(24px, 7vw, 112px);
  border-bottom: 1px solid var(--line);
}

.hero-copy { max-width: 780px; }

.eyebrow,
.form-kicker,
.strip-label {
  margin: 0 0 24px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 30px;
  font-size: clamp(3rem, 7vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.lede {
  max-width: 640px;
  margin-bottom: 48px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.principle-line {
  max-width: 640px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
}

.principle-line > span,
.report-number {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.principle-line p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
}

.checkout-shell {
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.support-form {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 30px 100px rgba(1, 7, 12, 0.48);
}

.form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.form-kicker { margin-bottom: 10px; }

.form-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.05em;
}

.currency {
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.amount-preset {
  min-height: 60px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 750;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.amount-preset:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.amount-preset.is-selected { border-color: var(--lime); background: var(--lime); color: var(--accent-on-fill, #07131a); }
.amount-preset:disabled { cursor: wait; opacity: 0.62; transform: none; }

.custom-amount {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.input-wrap {
  min-height: 62px;
  padding: 0 18px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  background: var(--control-bg, #0c131b);
}

.input-wrap:focus-within { border-color: var(--lime); }
.input-wrap:has(input:disabled) { opacity: 0.62; }

.input-wrap > span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 750;
}

.input-wrap input::placeholder { color: var(--faint); }
.input-wrap input::-webkit-outer-spin-button,
.input-wrap input::-webkit-inner-spin-button { appearance: none; margin: 0; }

.amount-help,
.form-status {
  margin: 9px 0 0;
  color: var(--faint);
  font-size: 0.75rem;
}

.form-status:empty { margin-top: 0; }

.amount-help.is-error,
.form-status.is-error { color: var(--danger); }

.checkout-button {
  width: 100%;
  min-height: 64px;
  margin-top: 26px;
  padding: 0 22px;
  border: 0;
  background: var(--lime);
  color: var(--accent-on-fill, #07131a);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.checkout-button:not(:disabled):hover { filter: brightness(1.06); }
.checkout-button:disabled { cursor: not-allowed; opacity: 0.42; }

.stripe-trust {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
}

.stripe-trust svg { width: 22px; fill: var(--muted); }

.stripe-trust p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.return-message {
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(79, 184, 234, 0.35);
  background: rgba(79, 184, 234, 0.08);
  border: 1px solid color-mix(in srgb, var(--lime) 35%, transparent);
  background: color-mix(in srgb, var(--lime) 8%, transparent);
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.5;
}

.return-message.is-cancelled {
  border-color: var(--line-strong);
  background: var(--surface);
}

.terms-strip {
  padding: 34px clamp(24px, 7vw, 112px);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(190px, 0.45fr) minmax(0, 1.55fr);
  gap: 40px;
}

.strip-label { margin: 3px 0 0; }

.strip-copy {
  max-width: 1040px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.transparency {
  padding: clamp(90px, 11vw, 160px) clamp(24px, 7vw, 112px);
  border-bottom: 1px solid var(--line);
}

.transparency-heading {
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}

.transparency-heading h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.transparency-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
  line-height: 1.65;
}

.reporting-list { border-top: 1px solid var(--line); }

.reporting-row {
  min-height: 124px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px minmax(180px, 0.7fr) minmax(260px, 1.2fr) auto;
  gap: 28px;
  align-items: center;
}

.reporting-row h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.reporting-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.pending {
  justify-self: end;
  padding: 9px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.future-note {
  padding: 58px clamp(24px, 7vw, 112px);
  display: grid;
  grid-template-columns: minmax(190px, 0.45fr) minmax(0, 1.55fr);
  gap: 40px;
}

.future-note .eyebrow { margin: 3px 0 0; }
.future-note > p:last-child { max-width: 880px; margin: 0; color: var(--muted); line-height: 1.65; }

footer {
  min-height: 160px;
  padding: 40px clamp(24px, 5vw, 72px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
}

footer > p { margin: 0; color: var(--faint); font-size: 0.8rem; text-align: center; }
.footer-links { justify-self: end; }

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

@media (max-width: 960px) {
  .support-hero { grid-template-columns: 1fr; }
  .checkout-shell { max-width: 640px; justify-self: start; }
  .transparency-heading { grid-template-columns: 1fr; }
  .reporting-row { grid-template-columns: 44px 1fr auto; }
  .reporting-row p { grid-column: 2 / -1; }
}

@media (max-width: 680px) {
  .site-header { min-height: 72px; }
  .app-link { display: none; }
  .support-hero { min-height: auto; padding-top: 72px; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .support-form { margin: 0 -8px; }
  .preset-grid { grid-template-columns: repeat(2, 1fr); }
  .terms-strip,
  .future-note { grid-template-columns: 1fr; gap: 14px; }
  .reporting-row { grid-template-columns: 36px 1fr; gap: 14px; }
  .reporting-row p,
  .pending { grid-column: 2; justify-self: start; }
  footer { grid-template-columns: 1fr; }
  footer > p { text-align: left; }
  .footer-links { justify-self: start; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
