/* Holdout design tokens, round 2. Source of truth: DESIGN.md. One theme: light. There is no dark theme. */
:root {
  color-scheme: light;

  /* Color: neutrals */
  --color-bg: #f5f3ef;
  --color-surface: #ffffff;
  --color-surface-2: #ebe7e0;
  --color-border: #e0dbd2;
  --color-border-strong: #8a8378;
  --color-text: #1d1b18;
  --color-text-muted: #59544b;
  --color-text-faint: #6b665c;

  /* Color: signals */
  --color-sale: #a35a00;
  --color-sale-fill: #ffd27a;
  --color-sale-soft: rgb(255 176 32 / 0.32);
  --color-sale-ink: #3b2600;
  --color-hit: #0c7a48;
  --color-hit-fill: #dcf2e5;
  --color-hit-ink: #ffffff;
  --color-danger: #b42318;
  --color-danger-fill: #fde7e4;
  --color-primary: #1d1b18;
  --color-primary-ink: #ffffff;

  /* Color: chart parts */
  --color-trace: #1d1b18;
  --color-baseline: #b3ac9f;
  --color-slot: #cbc4b7;
  --color-now: #1d1b18;
  --color-grid: #ece8e1;
  --color-before: #efebe4;
  --color-focus: #1d1b18;

  /* Fallback art tints (capsule image missing) */
  --art-1: #e9d9c3;
  --art-2: #cfe0d4;
  --art-3: #e6d0d8;
  --art-4: #cfdae6;
  --art-5: #e4e0bf;
  --art-6: #dcd3e6;
  --art-ink: #3a352d;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.5rem;
  --text-3xl: 4.5rem;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 600;
  --leading-tight: 1;
  --leading-snug: 1.2;
  --leading-body: 1.45;
  --tracking-label: 0.06em;

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6rem;

  /* Shape */
  --radius-1: 4px;
  --radius-2: 8px;
  --radius-pill: 999px;
  --line: 1px;
  --line-strong: 2px;
  --focus-width: 2px;
  --focus-offset: 3px;
  --icon: 1.25rem;
  --icon-sm: 1rem;
  --icon-lg: 2rem;
  --icon-xl: 3rem;
  --icon-stroke: 1.75;

  /* Layout */
  --page-max: 90rem;
  --page-pad: var(--space-7);
  --touch: 2.75rem;
  --control-h: 2.75rem;
  --row-h: 7rem;
  --art-w: 11.5rem;
  --art-h: 5.375rem;
  --art-lg-w: 28.75rem;
  --art-lg-h: 13.4375rem;
  --col-title: 15rem;
  --col-price: 10rem;
  --col-state: 9rem;
  --chart-h: 24rem;
  --chart-h-phone: 15rem;
  --lane-h: 4.5rem;
  --ruler-h: 2.5rem;
  --chart-pad-l: 3.5rem;
  --chart-pad-r: 1rem;
  --chart-pad-t: 1.5rem;
  --chart-pad-b: 2rem;
  --stroke-thin: 1px;
  --stroke-trace: 2px;
  --dash-target: 6 4;
  --dash-list: 2 3;
  --dot: 3.5px;
  --dot-lg: 5px;
  --dim: 0.5;
  --read-max: 36rem;
  --email-w: 34rem;
  --field-w: 26rem;
  --num-w: 8rem;
  --log-time: 9rem;

  --text-axis: 0.8125rem;
  --text-tag: 0.9375rem;
  --stroke-mark: 1.5;
  --stroke-brand: 2.5;
  --dash-run: 1 4;
  --now-opacity: 0.35;
  --skel-low: 0.45;
  --opt-min: 10rem;
  --opt-tall: 2.2;
  --chip-art: 1.6;
  --chip-art-h: 0.75;
  --skel-mail: 0.6;
  --skel-h1-w: 22rem;
  --art-md-w: 20rem;
  --art-md-h: 9.35rem;
  --poster-min: 13rem;
  --poster-min-phone: 9rem;

  /* Motion */
  --dur-1: 120ms;
  --dur-2: 200ms;
  --dur-pulse: 1.2s;
  --dur-spin: 0.8s;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

@media (max-width: 1100px) {
  :root {
    --page-pad: var(--space-6);
    --col-title: 12rem;
    --art-w: 8.5rem;
    --art-h: 3.975rem;
  }
}

@media (max-width: 720px) {
  :root {
    --page-pad: var(--space-4);
    --text-2xl: 2rem;
    --text-3xl: 3.25rem;
    --art-w: 7rem;
    --art-h: 3.275rem;
    --art-lg-w: 100%;
    --art-lg-h: auto;
    --chart-pad-l: 2.75rem;
    --chart-pad-r: 0.5rem;
    --lane-h: 3.5rem;
  }
}
