/* =====================================================================
   Kindred · design tokens
   Charities and not-for-profits. Light is "Daylight"; dark is "Evening".
   --kin is the one accent (buttons, links, the selected gift, programs in the ledger).
   --sun is marigold, for fills only (the underline under the lit words, ledger bars, spots left); text on it is ink.
   --alert is only for invalid fields and a gift that's about to stop.
   ===================================================================== */
:root {
  color-scheme: light;
  --paper: #fbf7f0;
  --card: #ffffff;
  --well: #f3ede2;
  --line: #e3dacb;
  --ink: #1b1712;
  --ink-2: #423a30;
  --muted: #685d50;
  --kin: #0d5c57;
  --kin-2: #094743;
  --on-kin: #ffffff;
  --kin-soft: #dcefeb;
  --sun: #f0b23a;
  --sun-soft: #fcefd2;
  --sun-ink: #8a4a00;
  --alert: #a8321c;
  --focus: #0d5c57;
  --shadow-card: 0 1px 2px rgba(27, 23, 18, 0.05), 0 18px 36px -26px rgba(27, 23, 18, 0.35);
  --shadow-lift: 0 30px 60px -30px rgba(27, 23, 18, 0.45);

  --display: "Besley", Georgia, "Times New Roman", serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Azeret Mono", ui-monospace, Menlo, monospace;

  --fs-h1: clamp(42px, 5.6vw, 84px);
  --fs-h2: clamp(30px, 3.5vw, 52px);
  --fs-h3: 21px;
  --fs-lead: clamp(17.5px, 1.35vw, 20.5px);
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-label: 12px;

  --wrap: 1200px;
  --gutter: max(20px, 4vw);
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 40px; --s-7: 64px; --s-8: 104px;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 26px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --d-fast: 150ms;
  --d: 300ms;
  --d-slow: 900ms;
}

/* ---------- Evening ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #14110e;
    --card: #1d1a16;
    --well: #181512;
    --line: #332e27;
    --ink: #f2ece3;
    --ink-2: #d6cec2;
    --muted: #a99d8e;
    --kin: #6fd3c6;
    --kin-2: #9be3d9;
    --on-kin: #062824;
    --kin-soft: #13302c;
    --sun: #f5c25b;
    --sun-soft: #2f2513;
    --sun-ink: #f5c25b;
    --alert: #ff9b85;
    --focus: #6fd3c6;
    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 16px 34px -20px rgba(0, 0, 0, 0.85);
    --shadow-lift: 0 30px 60px -26px rgba(0, 0, 0, 0.9);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #14110e;
  --card: #1d1a16;
  --well: #181512;
  --line: #332e27;
  --ink: #f2ece3;
  --ink-2: #d6cec2;
  --muted: #a99d8e;
  --kin: #6fd3c6;
  --kin-2: #9be3d9;
  --on-kin: #062824;
  --kin-soft: #13302c;
  --sun: #f5c25b;
  --sun-soft: #2f2513;
  --sun-ink: #f5c25b;
  --alert: #ff9b85;
  --focus: #6fd3c6;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 16px 34px -20px rgba(0, 0, 0, 0.85);
  --shadow-lift: 0 30px 60px -26px rgba(0, 0, 0, 0.9);
}
