/* Firestarter design tokens: colours, spacing and type for firestartermedia.tv. */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/barlow-latin-600-normal.woff2') format('woff2'); }
/* Used only inside customers' frames (caption specimens), never for page copy */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); }

:root, [data-theme="dark"] {
  --ground: #1e1c1b;
  --raised: #262422;
  --line: #3a3633;
  --line-strong: #6f6861;
  --ink: #f5f2ee;
  --ink-2: #a8a19a;
  --ink-3: #928b84;
  --ember: #f05a1a;
  --on-ember: #0a0908;
  --ok: #52c47a; /* approved, checked, guaranteed. Used for those states only, never as a second accent. */
  --on-ok: #0a0908;
  --solid: #423e3b;
  --solid-shade: #2c2927;
  --outline: #0e0d0c;
  --rim: #ffb48c;
}
[data-theme="paper"] {
  --ground: #ddd8d1;
  --raised: #e7e3dd;
  --line: #b8b1a9;
  --line-strong: #6b655f;
  --ink: #1e1c1b;
  --ink-2: #55504a;
  --ink-3: #5f5953;
  --ember: #c9410c;
  --on-ember: #ffffff;
  --ok: #1f7a43;
  --on-ok: #ffffff;
  --solid: #eeeae4;
  --solid-shade: #cfc9c1;
  --outline: #2a2725;
  --rim: #ffffff;
}
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px; --space-32: 128px;
  --radius-0: 0px; --radius-1: 2px;
  --font-sans: Barlow, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --max: 1320px;
  --margin: clamp(20px, 4vw, 56px);
}

/* Type styles. Display sizes scale down with the viewport; the token is the ceiling. */
.hero { font-family: var(--font-sans); font-weight: 600; font-size: clamp(40px, 6.4vw, 96px); line-height: 1; letter-spacing: -0.025em; }
.h1 { font-family: var(--font-sans); font-weight: 600; font-size: clamp(36px, 5vw, 72px); line-height: 1.03; letter-spacing: -0.02em; }
.h2 { font-family: var(--font-sans); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.09; letter-spacing: -0.015em; }
.h3 { font-family: var(--font-sans); font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.21; letter-spacing: -0.01em; }
.lead { font-family: var(--font-sans); font-weight: 400; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.52; }
.body { font-family: var(--font-sans); font-weight: 400; font-size: 17px; line-height: 28px; }
.small { font-family: var(--font-sans); font-weight: 400; font-size: 14px; line-height: 22px; }
.label { font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: 0.04em; }
.spec { font-family: var(--font-mono); font-weight: 400; font-size: 13px; line-height: 20px; }
