/* ODOM Tech web UI foundations. Canonical source: odom-technology/brand-assets. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --ink: #0a0a0a;
  --muted: #525252;
  --line: #d4d4d4;
  --soft: #f5f5f5;
  --header: rgba(255, 255, 255, 0.94);
  --error: #a63434;
  --success: #287a4d;

  --font-sans: Geist, Inter, "Helvetica Neue", Arial, sans-serif;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-meta: 0.75rem;
  --text-label: 0.8125rem;
  --text-action: 0.9375rem;
  --text-display: clamp(3rem, max(8.5vw, min(16vw, 4.4rem)), 7.5rem);
  --text-page: clamp(3rem, 6.5vw, 6rem);
  --text-section: clamp(2.25rem, 5vw, 4.5rem);
  --text-component: clamp(1.5rem, 2.2vw, 2rem);
  --weight-body: 400;
  --weight-medium: 560;
  --weight-action: 600;
  --weight-heading: 620;
  --weight-display: 650;
  --leading-body: 1.55;
  --leading-display: 1;
  --leading-component: 1.15;
  --tracking-heading: -0.045em;
  --tracking-label: 0.08em;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --max: 78rem;
  --measure-copy: 60ch;
  --measure-intro: 42rem;
  --page-gutter: clamp(1rem, 2.5vw, 2rem);
  --section-space: clamp(3rem, 6.5vw, 6rem);
  --section-space-emphasis: clamp(4rem, 8vw, 8rem);
  --section-heading-gap: clamp(2rem, 3.5vw, 3rem);
  --layout-gap: clamp(2rem, 5vw, 5rem);
  --card-padding: clamp(1.25rem, 3vw, 2.5rem);
  --header-height: 5rem;
  --control-height: 3rem;
  --target-min: 2.75rem;
  --border-width: 1px;
  --radius-pill: 999px;
  --focus-width: 2px;
  --focus-offset: 3px;
  --duration-fast: 160ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --ink: #ffffff;
    --muted: #d4d4d4;
    --line: #3f3f46;
    --soft: #171717;
    --header: rgba(10, 10, 10, 0.94);
    --error: #f87171;
    --success: #4ade80;
  }
}

@media (max-width: 50rem) {
  :root {
    --header-height: 4.5rem;
  }
}
