/* Send Them to DC . shared styles for the public page and the Coop */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@1,9..144,500;1,9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #F6F3EB; --paper: #FFFFFF; --paper-2: #EFEADF; --line: #D9D2C3;
  --ink: #1B2236; --muted: #4F566A;
  --navy: #1F3A6B; --on-navy: #FFFFFF; --navy-ink: #1F3A6B;
  --gold: #E3B23C; --on-gold: #1B2236; --gold-ink: #7D5800;
  --good: #2E6B45; --good-bg: #E4F1E8; --warn: #9A3B1B; --warn-bg: #FBE9E1;
  --bar: #1F3A6B; --bar-track: #E5DFD2; --focus: #1F5FD1;
  --accent-a: #1F3A6B; --accent-b: #C99A2E; --accent-c: #2E6B45; --accent-d: #7A3E5C;
  --shadow: 0 1px 2px rgba(27,34,54,.06), 0 6px 20px rgba(27,34,54,.07);
  --r: 16px;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
:root[data-theme="night"] {
  --bg: #10141F; --paper: #1A2030; --paper-2: #222A3D; --line: #343E57;
  --ink: #EEF0F5; --muted: #B6BCCB;
  --navy: #F0C24E; --on-navy: #10141F; --navy-ink: #F3CD6B;
  --gold: #F0C24E; --on-gold: #10141F; --gold-ink: #F3CD6B;
  --good: #8FD3A6; --good-bg: #1D3327; --warn: #F2A88B; --warn-bg: #3A2219;
  --bar: #F0C24E; --bar-track: #2C3449; --focus: #8DB4FF;
  --accent-a: #7FA6E8; --accent-b: #F0C24E; --accent-c: #8FD3A6; --accent-d: #E3A3C3;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}
:root[data-theme="studio"] {
  --bg: #FBF7EF; --paper: #FFFFFF; --paper-2: #F3ECDD; --line: #E2D8C4;
  --ink: #2B2621; --muted: #5C534A;
  --navy: #4A2D3D; --on-navy: #FFFFFF; --navy-ink: #4A2D3D;
  --gold: #E8A93C; --on-gold: #2B2621; --gold-ink: #7A5200;
  --good: #3F5A44; --good-bg: #E6EFE5; --warn: #9A3B1B; --warn-bg: #FBE9E1;
  --bar: #4F6A54; --bar-track: #E8E0CF; --focus: #1F5FD1;
  --accent-a: #4A2D3D; --accent-b: #C9963D; --accent-c: #4F6A54; --accent-d: #2F6E7A;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #10141F; --paper: #1A2030; --paper-2: #222A3D; --line: #343E57;
    --ink: #EEF0F5; --muted: #B6BCCB;
    --navy: #F0C24E; --on-navy: #10141F; --navy-ink: #F3CD6B;
    --gold: #F0C24E; --on-gold: #10141F; --gold-ink: #F3CD6B;
    --good: #8FD3A6; --good-bg: #1D3327; --warn: #F2A88B; --warn-bg: #3A2219;
    --bar: #F0C24E; --bar-track: #2C3449; --focus: #8DB4FF;
    --accent-a: #7FA6E8; --accent-b: #F0C24E; --accent-c: #8FD3A6; --accent-d: #E3A3C3;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
h1, h2, h3 { font-family: var(--display); font-style: italic; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; margin: 0 0 .4em; }
h1 { font-size: clamp(40px, 8vw, 68px); }
h2 { font-size: clamp(28px, 5vw, 38px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
a { color: var(--navy-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.page { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.kicker { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 8px; }

/* buttons */
.btn { -webkit-appearance: none; appearance: none; border: 0; cursor: pointer; font: 600 16px/1 var(--body); padding: 14px 20px; border-radius: 999px; background: var(--navy); color: var(--on-navy); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; min-height: 48px; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform .08s ease, filter .15s ease; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn.gold { background: var(--gold); color: var(--on-gold); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn.small { min-height: 40px; padding: 10px 14px; font-size: 15px; }
.btn.tiny { min-height: 34px; padding: 7px 12px; font-size: 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--navy-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* cards and forms */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
label { display: block; font-weight: 600; font-size: 15px; margin: 0 0 6px; color: var(--ink); }
.field { margin: 0 0 16px; }
.hint { font-size: 14px; color: var(--muted); margin-top: 4px; font-weight: 400; }
input, textarea, select { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--navy); }
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

/* progress bar */
.meter { height: 18px; background: var(--bar-track); border-radius: 999px; overflow: hidden; }
.meter > span { display: block; height: 100%; width: 0; background: var(--bar); border-radius: 999px; transition: width 1s cubic-bezier(.2,.8,.2,1); }
.big-num { font-family: var(--display); font-style: italic; font-weight: 600; letter-spacing: -0.03em; font-size: clamp(40px, 9vw, 56px); line-height: 1; color: var(--ink); }

/* modal */
.scrim { position: fixed; inset: 0; background: rgba(10,13,22,.55); display: flex; align-items: flex-end; justify-content: center; z-index: 50; padding: 16px; }
@media (min-width: 700px) { .scrim { align-items: center; } }
.modal { background: var(--paper); color: var(--ink); border-radius: 20px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal h2 { font-size: 30px; }

.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 600; z-index: 80; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; }
.notice { border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.notice.good { background: var(--good-bg); color: var(--good); }
.notice.warn { background: var(--warn-bg); color: var(--warn); }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.foot .row { justify-content: space-between; }
.wordmark { font-family: 'Fredoka', var(--body); font-weight: 600; color: var(--ink); text-decoration: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
