/* MA Serenity design tokens. Generated from design-system/tokens.json: change values there first, then mirror them here. */
:root, [data-theme="light"] {
  --midnight: #170b3b;
  --plum: #664182;
  --aubergine: #341948;
  --lavender: #9388a2;
  --sage: #baccbb;
  --surface: #f8f6fa;
  --surface-alt: #efebf4;
  --surface-raised: #ffffff;
  --line: #ddd6e6;
  --line-strong: #827896;
  --ink: var(--midnight);
  --ink-muted: #4f4766;
  --plum-strong: var(--aubergine);
  --plum-soft: #ebe3f2;
  --on-plum: #ffffff;
  --on-midnight: #f3f0f8;
  --on-midnight-muted: var(--lavender);
  --action: var(--plum);
  --action-strong: var(--plum-strong);
  --on-action: var(--on-plum);
  --action-on-midnight: var(--sage);
  --action-on-midnight-strong: #d6e2d6;
  --on-action-on-midnight: var(--midnight);
  --focus: var(--plum);
  --focus-on-midnight: var(--sage);
  --success: #256645;
  --danger: #a3322a;
  --link: var(--plum);
  --shadow-sm: 0 1px 2px rgba(23,11,59,0.06), 0 2px 8px rgba(23,11,59,0.05);
  --shadow-md: 0 4px 12px rgba(23,11,59,0.08), 0 16px 40px rgba(23,11,59,0.08);
}
[data-theme="dark"] {
  --plum: #b99bd6;
  --surface: #110829;
  --surface-alt: #1c1043;
  --surface-raised: #251852;
  --line: #3a2c6b;
  --line-strong: #8a7fa8;
  --ink: #f3f0f8;
  --ink-muted: #bdb5cc;
  --plum-strong: #d4c0e8;
  --plum-soft: #2e1c5c;
  --on-plum: #170b3b;
  --action: var(--plum);
  --action-strong: var(--plum-strong);
  --on-action: var(--on-plum);
  --link: var(--plum);
  --focus: var(--sage);
  --success: #8fd1a6;
  --danger: #f2a39b;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.5);
}
:root {
  --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: 96px;
  --space-10: 128px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container-max: 1160px;
  --measure: 64ch;
  --header-height: 76px;
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-sans: "Figtree", "Segoe UI", system-ui, sans-serif;
}
.display { font-family: var(--font-display); font-size: 60px; line-height: 64px; font-weight: 500; letter-spacing: -0.01em; }
.h1 { font-family: var(--font-display); font-size: 46px; line-height: 52px; font-weight: 500; letter-spacing: -0.005em; }
.h2 { font-family: var(--font-display); font-size: 36px; line-height: 42px; font-weight: 500; }
.h3 { font-family: var(--font-display); font-size: 27px; line-height: 34px; font-weight: 500; }
.quote { font-family: var(--font-display); font-size: 26px; line-height: 38px; font-weight: 400; font-style: italic; }
.h4 { font-family: var(--font-sans); font-size: 19px; line-height: 26px; font-weight: 600; }
.eyebrow { font-family: var(--font-sans); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.12em; }
.lead { font-family: var(--font-sans); font-size: 20px; line-height: 31px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 17px; line-height: 28px; font-weight: 400; }
.small { font-family: var(--font-sans); font-size: 15px; line-height: 23px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 600; }
.button { font-family: var(--font-sans); font-size: 17px; line-height: 20px; font-weight: 600; }
