:root {
  /* ---- Brand palette (as specified) ---- */
  --plum-dark: #351827;
  --plum-secondary: #542c42;
  --cream: #f8f2e9;
  --warm-white: #fffdf9;
  --gold-muted: #c9a15c;
  --gold-light: #ead9b7;
  --text-dark: #321e28;
  --text-muted: #816f76;

  /* ---- Derived surfaces ----
     App background is dark plum (matches the main EGymnastics site);
     cards/content blocks are white/warm-white on top of it. */
  --surface-bg: var(--plum-dark);
  --surface-card: var(--warm-white);
  --surface-card-alt: #fbf7f0;
  --border-subtle: #ece2d3;

  /* ---- Functional colors (kept muted/warm to match brand, not stock bright colors) ---- */
  --success: #4f7a5e;
  --success-bg: #e9f0ea;
  --warning: #a3803a;
  --warning-bg: #f6efdd;
  --danger: #a24b41;
  --danger-bg: #f5e8e4;
  --info: #4d6a86;
  --info-bg: #e9eef3;

  /* ---- Typography ----
     Display font: EGymnastics wordmark + large headings.
     Placeholder until the real brand font file is supplied — see
     src/styles/fonts.css for the @font-face block waiting to be filled in.
  */
  --font-display: "EGymnasticsDisplay", "Allura", Georgia, "Iowan Old Style", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-display: 2rem;

  /* ---- Spacing ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;

  /* ---- Shape ---- */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 2px 10px rgba(53, 24, 39, 0.06);
  --shadow-softer: 0 1px 4px rgba(53, 24, 39, 0.05);

  /* ---- Layout ---- */
  --bottom-nav-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}
