:root {
  --c-ink: #0B1F3B;
  --c-aubergine: #4B2E63;
  --c-lilac: #C9B4D9;
  --c-champagne: #EADCC8;
  --c-ivory: #F8F6F1;
  --c-mineral: #D8D5DC;
  --c-anthracite: #2A2A31;
  --c-white: #FFFFFF;
  --c-success: #16765C;
  --c-warning: #9B6416;
  --c-danger: #A33A45;

  --surface: var(--c-ivory);
  --surface-elevated: #FFFDF9;
  --surface-muted: #F0ECE5;
  --surface-strong: var(--c-ink);
  --text: var(--c-ink);
  --text-muted: #626773;
  --border: rgba(11, 31, 59, .16);
  --border-strong: rgba(11, 31, 59, .28);
  --accent: var(--c-aubergine);
  --accent-soft: rgba(201, 180, 217, .34);
  --accent-warm: #B87153;
  --shadow: 0 28px 80px rgba(11, 31, 59, .10);

  --radius-sm: .45rem;
  --radius: .8rem;
  --radius-lg: 1.1rem;
  --space-1: .35rem;
  --space-2: .65rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --max: 1460px;

  --font-editorial: "Playfair Display", "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --font-ui: Inter, "Avenir Next", Avenir, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  --surface: #091527;
  --surface-elevated: #0E1D30;
  --surface-muted: #13243A;
  --surface-strong: #050C17;
  --text: #F8F6F1;
  --text-muted: #BCC2CC;
  --border: rgba(248, 246, 241, .14);
  --border-strong: rgba(248, 246, 241, .28);
  --accent: #D2BCE3;
  --accent-soft: rgba(75, 46, 99, .44);
  --shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --surface: #091527;
    --surface-elevated: #0E1D30;
    --surface-muted: #13243A;
    --surface-strong: #050C17;
    --text: #F8F6F1;
    --text-muted: #BCC2CC;
    --border: rgba(248, 246, 241, .14);
    --border-strong: rgba(248, 246, 241, .28);
    --accent: #D2BCE3;
    --accent-soft: rgba(75, 46, 99, .44);
    --shadow: 0 30px 90px rgba(0, 0, 0, .32);
  }
}

:root[data-theme="light"]{color-scheme:light}
:root[data-theme="dark"]{color-scheme:dark}
