/* HelpNora: tokens de marca. Importa este archivo una vez en tu app. */
@font-face { font-family: "Bricolage Grotesque"; src: url("./fonts/BricolageGrotesque.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("./fonts/Figtree.ttf") format("truetype"); font-weight: 300 900; font-display: swap; }

:root {
  --surface: #F5F8F7;
  --surface-raised: #FFFFFF;
  --line: #D9E3E0;
  --ink: #10231F;
  --ink-muted: #52645F;
  --teal: #0E6F64;
  --teal-deep: #0A4F48;
  --teal-soft: #D8EFEB;
  --on-teal: #FFFFFF;
  --amber: #F0A035;
  --amber-soft: #FCEBD2;
  --on-amber: #10231F;
  --success: #2F7D3A;
  --danger: #B3261E;
  --link: var(--teal);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* Modo oscuro: automático por sistema, o forzado con data-theme="dark" en <html> */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #0E1715;
    --surface-raised: #16221F;
    --line: #2A3A36;
    --ink: #EAF3F1;
    --ink-muted: #9DB2AC;
    --teal: #3CC4B2;
    --teal-deep: #8FE0D4;
    --teal-soft: #123A35;
    --on-teal: #0E1715;
    --amber: #F0A035;
    --amber-soft: #3A2A12;
    --on-amber: #10231F;
    --success: #7ACB85;
    --danger: #F2A09A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #0E1715;
  --surface-raised: #16221F;
  --line: #2A3A36;
  --ink: #EAF3F1;
  --ink-muted: #9DB2AC;
  --teal: #3CC4B2;
  --teal-deep: #8FE0D4;
  --teal-soft: #123A35;
  --on-teal: #0E1715;
  --amber: #F0A035;
  --amber-soft: #3A2A12;
  --on-amber: #10231F;
  --success: #7ACB85;
  --danger: #F2A09A;
  color-scheme: dark;
}

body { background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 15px; line-height: 22px; }
h1, h2, h3 { font-family: var(--font-display); }
