/* Mainstar design tokens */

/* Self-hosted DM Sans (DSGVO: keine Google-Fonts-Einbindung mehr).
   Variable woff2 deckt die Gewichte 400–700 ab. OFL-lizenziert. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/dmsans-latin.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: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/dmsans-latin-ext.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;
}

:root {
  /* Backgrounds — subtle elevation via color-mix (premium dark UI) */
  --bg: #0D1A2D;
  --card: color-mix(in srgb, var(--bg) 88%, #ffffff);
  --elev: color-mix(in srgb, color-mix(in srgb, var(--bg) 94%, #B89A5A), #ffffff 18%);
  /* Brand accents */
  --gold: #B89A5A;
  --gold-l: #D4B878;
  --gold-bg: rgba(184, 154, 90, .1);
  /* Text roles: --w headings, --t body, --m meta, --f captions */
  --w: #F4F6F8;
  --t: #DDE3EA;
  --m: #A8B8C8;
  --f: #8A9DB0;
  --brd: rgba(255, 255, 255, .09);
  --brd2: rgba(184, 154, 90, .16);
  --font: 'DM Sans', system-ui, sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 80px;
  --space-10: 96px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 24px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, .2);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, .3);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, .35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: .2s;
  --dur-normal: .35s;
  --dur-slow: .55s;
}
