/* Maerev Design System — generated from tokens.json */
:root, [data-theme="light"] {
  --maerev-indigo: #4f46e5; /* Primary signal color. Solid buttons and CTAs (white text on it, 6.3:1), links and active states (6.0:1 on paper), the focus ring and selected controls, and the end of the signature gradient. */
  --maerev-cyan: #00d4ff; /* Highlights and motion only: the start of the signature gradient and the info dot in toasts. 1.7:1 on paper, so never use it for text or icons on a light surface; 11.2:1 on ink. */
  --ink: #0a0a0f; /* Body text and headings on paper, sand and surface-card (17.5 to 19.8:1). Also the dark surface for footers, toasts and tooltips, with paper text on it (18.9:1). */
  --paper: #fafaf7; /* Default page canvas. Text on it is ink or text-muted. */
  --sand: #f5f1e8; /* Warm surface for section breaks and the secondary button hover. Text on it is ink (17.5:1) or text-muted (4.8:1). */
  --mist: #e5e5e0; /* Borders, dividers and soft fills such as the neutral badge and the switch track when off. A 1.2:1 hairline: decoration only, never the only cue for a control. */
  --indigo-soft: #e6edda; /* Soft Indigo fill: ghost button hover and the indigo badge, with maerev-indigo text on it (5.2:1). Computed value of color-mix(in oklch, maerev-indigo 10%, paper) from maerev.css. Because the oklch hue path runs through green, it renders as a pale green-gray, not a lavender. Kept exact to the source. */
  --indigo-hover: #473ec7; /* Primary button hover. Computed value of color-mix(in oklch, maerev-indigo 88%, ink) from maerev.css. White text on it is 7.5:1. */
  --indigo-press: #4138b0; /* Primary button pressed state. Computed value of color-mix(in oklch, maerev-indigo 78%, ink) from maerev.css. White text on it is 8.7:1. */
  --cyan-soft: #f1f5e6; /* Soft Cyan fill behind the cyan badge. Computed value of color-mix(in oklch, maerev-cyan 12%, paper) from maerev.css; the hue path runs through green, so it renders as a pale yellow-green. Kept exact to the source. */
  --text-muted: #656b6c; /* Secondary text and helper text on paper (5.2:1), surface-card (5.4:1) and sand (4.8:1). Computed value of color-mix(in oklch, ink 55%, paper) from maerev.css. */
  --text-faint: #909594; /* Tertiary text on ink, such as the footer micro-label (6.5:1). On paper it is only 2.9:1, below the 4.5:1 floor: do not use it for essential text on a light surface. Kept exact to the source (color-mix(in oklch, ink 38%, paper)). */
  --border-strong: #bcbfbc; /* Control borders: input, select and checkbox outlines and the secondary button ring. 1.9:1 on surface-card, below the 3:1 floor for control borders; kept exact to the source (color-mix(in oklch, ink 22%, paper)). Pair it with a visible label. */
  --text-heading: var(--ink); /* Headings on paper, sand and surface-card. */
  --text-body: var(--ink); /* Body copy on paper, sand and surface-card. */
  --text-on-accent: #ffffff; /* Text on maerev-indigo, indigo-hover, indigo-press and the signature gradient. */
  --link: var(--maerev-indigo); /* Link text on paper, sand and surface-card (6.0, 5.6 and 6.3:1). Underlines on hover. */
  --surface-page: var(--paper); /* Page background. */
  --surface-card: #ffffff; /* Cards, dialogs and form controls. The only pure white surface. */
  --surface-warm: var(--sand); /* Warm section bands. */
  --surface-dark: var(--ink); /* Footers, toasts, tooltips and dark UI. Text on it is paper. */
  --surface-soft: var(--mist); /* Soft fills and dividers. */
  --border-default: var(--mist); /* Card borders, tab underline rail, tag outline and section dividers. */
  --border-focus: var(--maerev-indigo); /* Focus ring on inputs and selects (6.0 to 6.3:1 on the surfaces they sit on). */
  --accent: var(--maerev-indigo); /* The accent role: active states, selected controls and primary actions. */
  --feedback-success: oklch(0.62 0.15 160); /* Success text and dot. A feedback color Maerev's guidebook does not define; added in the source with in-family hues. Text on feedback-success-soft is 3.0:1 (and 3.3:1 on surface-card), below 4.5:1: pair it with a word or icon and keep it to short labels. */
  --feedback-warning: oklch(0.72 0.15 75); /* Warning mark. Do not set text in it directly (2.3:1 on its soft fill); the warning badge darkens it with ink. */
  --feedback-error: oklch(0.58 0.19 25); /* Error text, input error ring and error dot. 4.7:1 on surface-card and 4.5:1 on paper; 4.1:1 on feedback-error-soft, just under 4.5:1 (kept exact to the source). */
  --feedback-success-soft: oklch(0.96 0.03 160); /* Fill behind the success badge. */
  --feedback-warning-soft: oklch(0.97 0.04 85); /* Fill behind the warning badge (warning text on it is 4.2:1, just under 4.5:1; kept exact to the source). */
  --feedback-error-soft: oklch(0.96 0.03 25); /* Fill behind the error badge. */
  --shadow-card: 0 1px 2px rgba(10,10,15,0.04), 0 4px 12px rgba(10,10,15,0.06); /* Resting card. Soft and low-contrast; never harsh. */
  --shadow-raised: 0 2px 4px rgba(10,10,15,0.06), 0 12px 32px rgba(10,10,15,0.1); /* Card hover lift, toasts and tooltips. */
  --shadow-overlay: 0 8px 16px rgba(10,10,15,0.1), 0 24px 64px rgba(10,10,15,0.16); /* Dialogs over the scrim. */
}
:root {
  --space-1: 4px; /* Scale step 1: the 4px base unit. */
  --space-2: 8px; /* Scale step 2. */
  --space-3: 12px; /* Scale step 3: gap between buttons in an action row. */
  --space-4: 16px; /* Scale step 4. */
  --space-5: 24px; /* Scale step 5: card padding, grid and flex gaps. */
  --space-6: 32px; /* Scale step 6: space between a section heading and its grid. */
  --space-7: 48px; /* Scale step 7: footer vertical padding. */
  --space-8: 64px; /* Scale step 8: section vertical padding and hero bottom padding. */
  --space-9: 96px; /* Scale step 9: hero top padding. */
  --radius-tile: 22%; /* Corners of the v. tile (the brand mark): 22% of its width. Do not use it on UI elements. */
  --radius-sm: 6px; /* Badges, checkboxes, tooltips. */
  --radius-md: 10px; /* Buttons, inputs, selects, toasts. */
  --radius-lg: 16px; /* Cards and dialogs. */
  --radius-pill: 999px; /* Tags and the switch track. */
  --font-sans: "Josefin Sans", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --text-display: 700 96px/1.1 var(--font-sans); /* Hero headline, Bold. Fluid 56 to 96px: use clamp(56px, 8vw, 96px) (the --text-display variable in bundle.css). One per page. */
  --text-h1: 700 44px/1.2 var(--font-sans); /* Page and section titles, Bold. The range is 36 to 48px. */
  --text-h2: 600 26px/1.2 var(--font-sans); /* Sub-section headings, SemiBold. The range is 24 to 28px. */
  --text-h3: 500 19px/1.2 var(--font-sans); /* Card titles and small headings, Medium. The range is 18 to 20px. */
  --text-lead: 400 19px/1.6 var(--font-sans); /* Hero intro paragraph in text-muted, at most 52 characters wide (from the starter page). */
  --text-tagline: italic 400 28px/1.6 var(--font-serif); /* Taglines and pull quotes only, Fraunces italic. Use sparingly (from the starter page). */
  --text-caption: 500 12px/1.6 var(--font-mono); /* Eyebrows and micro-labels: JetBrains Mono Medium, uppercase, 0.06em tracking (the --tracking-caption variable). Set the uppercase with text-transform; eyebrows use maerev-indigo. */
}
.display {
  font-family: var(--font-sans);
  font-size: 96px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
}
.h1 {
  font-family: var(--font-sans);
  font-size: 44px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}
.h2 {
  font-family: var(--font-sans);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
}
.h3 {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
.lead {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
.tagline {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
  font-style: italic;
}
.caption {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.06em;
}
