/* Self-hosted fonts (Latin subset, SIL Open Font License): Poppins SemiBold for headings, Montserrat variable for text. Nothing is fetched from another site. */
@font-face { font-family: Poppins; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/montserrat-var.woff2) format("woff2"); }
/* Single source of truth for the theme: Muji-style minimal, white + gold.
   Plan section 7.1 (L6). Gold is for fills/accents only - never as text on white. */
:root {
  --white: #FFFFFF;
  --stone: #F5F3EE;   /* warm off-white: cards, stripes, side panels */
  --line:  #E6E2DA;   /* 1px hairlines instead of shadows */
  --ink:   #2B2B2B;   /* body text */
  --muted: #6B6B6B;   /* secondary text */
  --gold:  #E3A75B;   /* Crema gold: buttons, active marker, chart accent (fills only) */
  --gold-deep: #8A5A12; /* links, small gold text, focus ring */
  --ok:    #3F6B4A;   /* small status text/markers */
  --bad:   #A5472F;
  --radius: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pop: 0 10px 30px rgba(43, 43, 43, .14); /* only for floating things: dialogs, toasts */
  --font-head: Poppins, "Helvetica Neue", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.55; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.25; margin: 0 0 .5em; letter-spacing: .01em; }
a { color: var(--gold-deep); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.btn { display: inline-block; background: var(--gold); color: var(--ink); border: 1px solid var(--gold); border-radius: var(--radius); padding: .65em 1.1em; font: 600 .95rem var(--font-body); cursor: pointer; text-decoration: none; min-height: 44px; }
.btn { transition: filter .2s, transform .15s var(--ease), border-color .2s; }
.btn:hover { filter: brightness(.96); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
