/* Handover Works · tokens, from the design system's tokens.json. Light first; dark by system setting or data-theme. */
@font-face { font-family: "Instrument Sans"; src: url("./fonts/InstrumentSans-Variable-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("./fonts/IBMPlexMono-Regular-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("./fonts/IBMPlexMono-Medium-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --surface: #f5f6f6; --surface-raised: #ffffff; --surface-sunken: #eceeee; --surface-deep: #111618;
  --surface-glass: rgba(245,246,246,0.78);
  --ink: #111618; --ink-muted: #5c676b; --on-deep: #f2f4f4; --on-deep-muted: #a0acb0;
  --line: #e3e6e6; --line-strong: #7f898d;
  --brand: #f26a1b; --brand-hover: #e35f12; --on-brand: #111618; --brand-text: #b0440a; --brand-on-deep: #f26a1b; --brand-tint: #fdeee4;
  --air: #a9cbdd; --air-tint: #eaf3f7; --on-air: #111618;
  --ok: #1a6a80; --ok-tint: #e2f0f4; --review: #7d5a00; --review-tint: #f8efd4; --missing: #b0261d; --missing-tint: #fae5e2;
  --label-ground: #ffffff; --label-ink: #111618; --focus: #111618;
  --shadow-card: 0 1px 2px rgba(17,22,24,0.04), 0 10px 30px -12px rgba(17,22,24,0.10);
  --shadow-float: 0 2px 6px rgba(17,22,24,0.05), 0 30px 60px -20px rgba(17,22,24,0.22);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 72px; --space-9: 112px; --space-10: 160px;
  --radius-sm: 10px; --radius-md: 16px; --radius-lg: 28px; --radius-pill: 999px; --radius-device: 48px;
  --container: 1120px; --measure: 64ch; --nav-height: 60px; --control: 48px; --control-lg: 56px;
  --font-sans: "Instrument Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #0b0f11; --surface-raised: #161c1f; --surface-sunken: #070a0b; --surface-deep: #1a2124;
    --surface-glass: rgba(11,15,17,0.72);
    --ink: #f2f4f4; --ink-muted: #a0acb0;
    --line: #262f33; --line-strong: #66737a;
    --brand: #ff7a2e; --brand-hover: #ff9152; --brand-text: #ff8a4c; --brand-on-deep: #ff8a4c; --brand-tint: #33200f;
    --air: #8db8cf; --air-tint: #13232a;
    --ok: #6ec4db; --ok-tint: #0f2b33; --review: #e6b23a; --review-tint: #33280c; --missing: #ff8a80; --missing-tint: #3a1613;
    --focus: #f4f6f5;
    --shadow-card: 0 0 0 1px rgba(255,255,255,0.06);
    --shadow-float: 0 0 0 1px rgba(255,255,255,0.08), 0 30px 60px -20px rgba(0,0,0,0.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #0b0f11; --surface-raised: #161c1f; --surface-sunken: #070a0b; --surface-deep: #1a2124;
  --surface-glass: rgba(11,15,17,0.72);
  --ink: #f2f4f4; --ink-muted: #a0acb0;
  --line: #262f33; --line-strong: #66737a;
  --brand: #ff7a2e; --brand-hover: #ff9152; --brand-text: #ff8a4c; --brand-on-deep: #ff8a4c; --brand-tint: #33200f;
  --air: #8db8cf; --air-tint: #13232a;
  --ok: #6ec4db; --ok-tint: #0f2b33; --review: #e6b23a; --review-tint: #33280c; --missing: #ff8a80; --missing-tint: #3a1613;
  --focus: #f4f6f5;
  --shadow-card: 0 0 0 1px rgba(255,255,255,0.06);
  --shadow-float: 0 0 0 1px rgba(255,255,255,0.08), 0 30px 60px -20px rgba(0,0,0,0.8);
  color-scheme: dark;
}

/* Type styles */
.display-xl { font-family: var(--font-sans); font-size: 72px; line-height: 74px; font-weight: 600; letter-spacing: -0.04em; }
.display { font-family: var(--font-sans); font-size: 60px; line-height: 62px; font-weight: 600; letter-spacing: -0.035em; }
.display-sm { font-family: var(--font-sans); font-size: 40px; line-height: 42px; font-weight: 600; letter-spacing: -0.032em; }
.subhead { font-family: var(--font-sans); font-size: 36px; line-height: 42px; font-weight: 500; letter-spacing: -0.028em; }
.h1 { font-family: var(--font-sans); font-size: 46px; line-height: 50px; font-weight: 600; letter-spacing: -0.032em; }
.h2 { font-family: var(--font-sans); font-size: 32px; line-height: 38px; font-weight: 600; letter-spacing: -0.025em; }
.h3 { font-family: var(--font-sans); font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.015em; }
.h4 { font-family: var(--font-sans); font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.eyebrow { font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -0.005em; }
.lead { font-family: var(--font-sans); font-size: 21px; line-height: 32px; font-weight: 400; letter-spacing: -0.012em; }
.body { font-family: var(--font-sans); font-size: 17px; line-height: 28px; font-weight: 400; letter-spacing: -0.005em; }
.body-sm { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 400; }
.caption { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 400; }
.mono { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 400; }
.mono-sm { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 400; }
.label { font-family: var(--font-mono); font-size: 10px; line-height: 14px; font-weight: 500; letter-spacing: 0.08em; }
.price { font-family: var(--font-sans); font-size: 52px; line-height: 52px; font-weight: 600; letter-spacing: -0.04em; }
