/* Solidarity Works! International, the support page at /support/.
   The front page's ground, ink and typeface, one narrow column, no script.
   The Content Security Policy allows no inline style, so everything is here. */

@font-face { font-family: "Inter"; src: url("fonts/inter-opsz.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --ground: #0A0A0B;
  --ink: #F5F5F3;
  --lead: rgba(245, 245, 243, .82);
  --soft: rgba(245, 245, 243, .62);
  --faint: rgba(245, 245, 243, .46);
  --line: rgba(245, 245, 243, .16);
  --sans: "Inter", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ez: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  position: relative; z-index: 0; margin: 0; background: var(--ground); color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  font-synthesis: none; font-kerning: normal; font-optical-sizing: auto; font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 4px; }
::selection { background: rgba(245, 245, 243, .24); }

/* ——— the front page's twinkling stars, across the whole window and held
   still while the page scrolls; the still version for reduced motion */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("stars-twinkle.svg") center / cover no-repeat;
}
@media (prefers-reduced-motion: reduce) { body::before { background-image: url("stars.svg"); } }

/* ——— the column */
.give {
  max-width: 32rem; margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
}
.mark { display: block; width: 11rem; margin: 0 auto 3rem; }
h1 { margin: 0 0 1rem; font-size: 1.6rem; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; text-align: center; }
.lead { margin: 0 0 2.75rem; color: var(--lead); text-align: center; text-wrap: balance; }

/* ——— each way to give */
.way { padding: 1.75rem 0; border-top: 1px solid var(--line); }
.way h2 { margin: 0 0 1.1rem; font-size: .78rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.button {
  display: block; padding: .95rem 1rem;
  background: var(--ink); color: var(--ground);
  font-weight: 600; text-align: center; text-decoration: none;
  transition: background-color .2s var(--ez);
}
.button:hover { background: #FFFFFF; }
.note { margin: .85rem 0 0; font-size: .82rem; line-height: 1.55; color: var(--faint); }

.account { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .45rem 1.25rem; margin: 0; font-size: .92rem; }
.account dt { color: var(--faint); }
.account dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.account .number { font-variant-numeric: tabular-nums; letter-spacing: .02em; user-select: all; }

.other { margin: 0; padding: 1.75rem 0 0; border-top: 1px solid var(--line); font-size: .88rem; color: var(--soft); }
.other a { color: var(--ink); text-underline-offset: 3px; }

.foot { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem 1.9rem; margin: 3.5rem 0 0; font-size: .76rem; line-height: 1; }
.foot a { color: var(--faint); text-decoration: none; transition: color .2s var(--ez); }
.foot a:hover { color: var(--ink); }

/* ——— the footer, as on the front page */
.footer { padding: 2.75rem 1.5rem; border-top: 1px solid rgba(245, 245, 243, .08); }
.footer .cols { max-width: 54rem; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr 1.35fr; gap: 2.5rem; }
.footer h2 { margin: 0 0 .8rem; font: 500 .72rem/1 var(--sans); letter-spacing: .02em; color: var(--soft); }
.footer p { margin: 0 0 .55rem; font-size: .78rem; line-height: 1.65; color: var(--faint); }
.footer a { color: var(--soft); text-underline-offset: 3px; transition: color .2s var(--ez); }
.footer a:hover { color: var(--ink); }

@media (max-width: 899.98px) {
  .footer .cols { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; max-width: 24rem; }
}
@media (max-width: 479.98px) {
  .give { padding: 3rem 1rem 2.5rem; }
  .mark { width: 9.5rem; margin-bottom: 2.25rem; }
  h1 { font-size: 1.4rem; }
  .account { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .account dd { margin-bottom: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
