/* FluidEasy brand tokens (brand rules v1.0). Shared by every page. */
:root {
  --ground: #F4F4F7;
  --surface: #FFFFFF;
  --ink: #15131C;
  --body: #4A4558;
  --muted: #8B8798;        /* meta at 18px+ only, never body copy */
  --violet: #6C4CF1;       /* interactive: focus, secondary fill */
  --violet-deep: #4F34C9;  /* violet as text on light */
  --orange: #FF8A3D;       /* accent fill, one per screen, ink label only */
  --orange-hover: #FF7114;
  --green: #25A35A;
  --green-deep: #1D8049;
  --orange-ink: #BC4B00;   /* the only legal orange text on light */
  --blue: #3D8BFF;         /* a fill, or text on dark only */
  --give-bg: #E9F5EE;
  --lack-bg: #FBEFE6;
  --surface-dark: #231F2E;
  --rule: rgba(21,19,28,.12);
  --rule-dark: rgba(244,244,247,.16);
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif; /* italic 400, 48px+ only */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--body); font: 400 1rem/1.6 var(--sans); }
img, svg { max-width: 100%; display: block; }
p { margin: 0; }
h1, h2, h3 { color: var(--ink); margin: 0; font-family: var(--sans); font-weight: 700; }
a { color: var(--violet-deep); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

/* Buttons: one size, 700 weight, sentence case. Filled buttons darken on hover. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; cursor: pointer;
  border-radius: 10px; font: 700 15px/1 var(--sans); letter-spacing: .005em; padding: 16px 22px; text-decoration: none; transition: background-color .15s ease; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2C283A; }
.btn-accent { background: var(--orange); color: var(--ink); }
.btn-accent:hover { background: var(--orange-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink); }
.on-dark .btn-primary { background: var(--ground); color: var(--ink); }
.on-dark .btn-primary:hover { background: #E3E3EA; }
.on-dark .btn-ghost { color: var(--ground); border-color: var(--rule-dark); }
.on-dark .btn-ghost:hover { border-color: var(--ground); }
.btn:disabled { background: rgba(21,19,28,.35); color: var(--ground); cursor: progress; }

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