/* Shared design tokens for the site, account pages and editor chrome.
   Identity comes from the original editor: deep indigo surfaces, coral accent, gold detail. */
/* Fuentes alojadas en el sitio (OFL, ver fonts/README.txt): ningún pedido a terceros. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-tight-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;

  --bg: #1b1e31;
  --surface: #22253b;
  --surface-2: #262940;
  --surface-3: #30344c;
  --line: #363950;
  --line-strong: #4e526b;
  --text: #e9eaf3;
  --text-strong: #faf5f2;
  --muted: #a0a5bf;
  --faint: #8f94b0;

  --accent: #f08b72;
  --accent-strong: #c75f56;
  --accent-ink: #2a1712;
  --gold: #d4a267;
  --ok: #7cc9a0;
  --warn: #f2c46d;
  --danger: #ef6f6c;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 18px 50px rgba(8, 9, 20, .35);
  --focus: 0 0 0 3px rgba(240, 139, 114, .45);
}

:root[data-theme="light"] {
  --bg: #f7f4f1;
  --surface: #ffffff;
  --surface-2: #fbf8f6;
  --surface-3: #f1ece8;
  --line: #e6dfda;
  --line-strong: #cfc5be;
  --text: #2a2b3a;
  --text-strong: #17182a;
  --muted: #646779;
  --faint: #80828f;
  --accent: #e0694f;
  --accent-strong: #c75f56;
  --accent-ink: #ffffff;
  --shadow: 0 18px 50px rgba(40, 30, 25, .12);
}

/* --- Site tokens (added for the public site; existing tokens above stay untouched) --- */
:root {
  --btn-bg: var(--accent);
  --btn-bg-hover: #f59c85;
  --btn-ink: var(--accent-ink);
  --accent-text: var(--accent);
  --gold-text: var(--gold);
  --ok-text: var(--ok);
  --warn-text: var(--warn);
  --danger-text: #f58a87;
  --text-soft: var(--muted);
  --glass: rgba(27, 30, 49, .72);
  --hero-glow: rgba(240, 139, 114, .16);
  --gold-glow: rgba(212, 162, 103, .12);
  --stage: #2a2e48;
  --input-bg: #2a2d45;
  --radius-xl: 28px;
  --shadow-soft: 0 8px 24px rgba(8, 9, 20, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:root[data-theme="light"] {
  --btn-bg: #bd4f37;
  --btn-bg-hover: #a8442f;
  --btn-ink: #ffffff;
  --accent-text: #b0452f;
  --gold-text: #8a5a1f;
  --ok-text: #2c7a51;
  --warn-text: #8a6200;
  --danger-text: #b3302d;
  --text-soft: #5b5e70;
  --glass: rgba(247, 244, 241, .8);
  --hero-glow: rgba(224, 105, 79, .14);
  --gold-glow: rgba(212, 162, 103, .16);
  --stage: #2a2e48;
  --input-bg: #ffffff;
  --shadow-soft: 0 8px 24px rgba(40, 30, 25, .08);
}
