/* sol · web — design tokens. Same values as the app (fuente/src/style.css :root); see docs/ESPEC.md 3.1.
   Website-only tokens are derived from these, never new hues. */
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/work-sans-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/work-sans-latin-500-normal.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: 'Work Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/work-sans-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/work-sans-latin-600-normal.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 {
  color-scheme: dark;

  /* the app's palette */
  --bg: #050506;            /* piano black lacquer */
  --surface: #121214;       /* raised lacquer panels */
  --surface-2: #1a1a1d;
  --text: #f4f1ea;          /* warm white */
  --text-2: rgba(244, 241, 234, 0.64);
  --text-3: rgba(244, 241, 234, 0.5);
  --line: rgba(244, 241, 234, 0.08);
  --line-2: rgba(244, 241, 234, 0.14);
  --gold: #c9a961;          /* champagne brass: accent and right hand */
  --gold-hi: #ead39a;
  --gold-lo: #8c7239;
  --blue: #86a9de;          /* moonlit blue: left hand */
  --blue-hi: #bcd2f2;
  --ivory: #f3eee3;         /* key tops */
  --black-key: #0b0b0d;
  --felt: #6b1d26;          /* key felt */
  --ok: #9fd2b0;
  --wrong: #e0727f;
  --on-gold: #1d1608;       /* text on gold buttons, as in the app */

  /* derived */
  --gold-grad: linear-gradient(180deg, var(--gold-hi), var(--gold));
  --gold-text: linear-gradient(180deg, #f3e2b4 0%, var(--gold-hi) 38%, var(--gold) 100%);
  --glow-gold: 0 0 48px rgba(201, 169, 97, .32);
  --glow-blue: 0 0 48px rgba(134, 169, 222, .28);
  --shadow-card: 0 24px 60px -30px rgba(0, 0, 0, .9);
  --shadow-gold-btn: 0 10px 30px -12px rgba(201, 169, 97, .85);
  --lacquer-sheen:
    radial-gradient(120% 80% at 18% -10%, rgba(234, 211, 154, .07), transparent 55%),
    radial-gradient(90% 70% at 100% 0%, rgba(134, 169, 222, .06), transparent 60%);
  --surface-glass: rgba(18, 18, 20, .72);

  /* shape and motion */
  --radius-card: 18px;
  --radius-lg: 28px;
  --radius-pill: 980px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .7s;

  /* type */
  --font-display: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-hero: clamp(2.6rem, 1.1rem + 6.4vw, 7.25rem);
  --fs-h2: clamp(2rem, 1.1rem + 3.4vw, 4.25rem);
  --fs-h3: clamp(1.2rem, 1rem + .8vw, 1.6rem);
  --fs-lead: clamp(1.05rem, .98rem + .45vw, 1.35rem);
  --fs-body: clamp(1rem, .97rem + .12vw, 1.0625rem);
  --fs-small: .875rem;
  --fs-eyebrow: .8125rem;   /* uppercase, tracked: 13px is the floor for these labels (ESPEC 3.6) */

  /* space and layout */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --max: 1240px;
  --max-wide: 1440px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(72px, 6vw + 40px, 168px);
  --header-h: 68px;
}

@media (min-width: 2200px) {
  :root { --max: 1480px; --max-wide: 1760px; --fs-body: 1.125rem; }
}
@media (min-width: 3000px) {
  :root { --max: 1760px; --max-wide: 2080px; font-size: 18px; }
}
@media (max-width: 600px) {
  :root { --header-h: 60px; }
}
