:root {
  --ink: #071B2D;
  --paper: #FFF8ED;
  --white: #FFFFFF;
  --coral: #D92F50;
  --saffron: #FFC845;
  --herb: #087B66;
  --muted: #5B6875;
  --line: #071B2D;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); font-family: Aptos, 'Segoe UI', Arial, sans-serif; letter-spacing: 0; }
a { color: inherit; }
button { font: inherit; }

.support-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 4px solid var(--saffron);
  color: var(--white);
  background: var(--ink);
}
.support-header a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.support-header img { width: 44px; height: 44px; border: 2px solid var(--white); border-radius: 8px; object-fit: contain; background: var(--saffron); }
.support-header span { color: var(--saffron); font-size: 13px; font-weight: 800; text-transform: uppercase; }

main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 64px; }
.support-intro {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 320px);
  align-items: center;
  gap: 40px;
  padding: clamp(24px, 5vw, 54px);
  border: 3px solid var(--line);
  border-radius: 8px;
  background: var(--coral);
  box-shadow: 8px 8px 0 var(--ink);
}
.support-intro img { width: min(100%, 280px); height: auto; justify-self: center; filter: drop-shadow(8px 10px 0 rgba(7,27,45,.22)); }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 10px; border: 2px solid var(--ink); border-radius: 4px; background: var(--saffron); font-size: 12px; font-weight: 900; }
h1 { max-width: 700px; margin: 0; color: var(--white); font: 700 clamp(34px, 7vw, 72px)/1.02 Georgia, serif; word-break: keep-all; overflow-wrap: break-word; }
.support-intro p:last-child { max-width: 640px; margin: 18px 0 0; color: var(--white); font-size: 17px; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; }

.support-checkout { margin-top: 36px; padding: clamp(22px, 4vw, 40px); border: 3px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 7px 7px 0 var(--saffron); }
.support-copy { display: flex; gap: 16px; align-items: flex-start; }
.support-copy > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; border: 2px solid var(--ink); border-radius: 4px; color: var(--white); background: var(--herb); font-weight: 900; }
h2 { margin: 0; font: 700 clamp(24px, 5vw, 36px)/1.1 Georgia, serif; word-break: keep-all; overflow-wrap: break-word; }
.support-copy p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.amount-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.amount-grid button { min-height: 56px; border: 2px solid var(--ink); border-radius: 6px; color: var(--ink); background: var(--paper); font-weight: 900; cursor: pointer; }
.amount-grid button.selected { color: var(--white); background: var(--coral); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.amount-grid button:focus-visible, .pay-button:focus-visible { outline: 4px solid var(--herb); outline-offset: 3px; }
.pay-button { width: 100%; min-height: 58px; margin-top: 18px; border: 3px solid var(--ink); border-radius: 6px; color: var(--white); background: var(--ink); font-weight: 900; cursor: pointer; }
.pay-button:disabled { cursor: wait; opacity: .62; }
.payment-status { min-height: 24px; margin: 12px 0 0; color: var(--coral); font-weight: 800; line-height: 1.5; }
.support-note { max-width: 820px; margin: 30px auto 0; text-align: center; }
.support-note p { margin: 8px 0 0; color: var(--muted); line-height: 1.65; word-break: keep-all; overflow-wrap: break-word; }
.support-note a { color: var(--herb); font-weight: 800; }

@media (max-width: 720px) {
  main { width: min(100% - 24px, 1120px); padding-top: 18px; }
  .support-intro { min-height: 0; grid-template-columns: 1fr; gap: 8px; }
  .support-intro img { width: 170px; }
  .amount-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
  .support-header span { display: none; }
  h1 { font-size: 34px; }
  .support-checkout { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .amount-grid button.selected { transform: none; }
}
