/* SNACKS design tokens. GENERATED from tokens/snacks.tokens.json by
   scripts/build-tokens.py. Do not edit by hand: change the JSON, run
   `python3 scripts/build-tokens.py`, then sync Figma (docs/tokens.md). */

:root {
  /* color */
  --paper: #F6F6F8;  /* Default page background. */
  --ink: #252525;  /* Text, linework, dark bands (footer, contact). */
  --red: #E73E3E;  /* Brand red: rules, numerals, fills, large text (24px+). */
  --red-deep: #C8302F;  /* Red for small text and red buttons with white text (5.4:1). */
  --red-tint: #FDF1F1;  /* Error state field background. */
  --pink: #F8B8B9;  /* Secondary palette. Accent text on red and ink. */
  --blue: #3354A5;  /* Secondary palette; links. */
  --lightblue: #A2D8F0;  /* Secondary palette. */
  --yellow: #F8D50A;  /* Secondary palette. */
  --amber: #D09D2A;  /* Secondary palette. */
  --green: #4CAE49;  /* Secondary palette. */
  --lightgreen: #A4D180;  /* Secondary palette. */
  --gray: #545454;  /* Secondary palette. */

  /* semantic.bg */
  --bg: var(--paper);  /* Default page background. */
  --surface: #FFFFFF;  /* Cards and panels on Paper. */
  --fg: var(--ink);

  /* semantic.text */
  --muted: rgba(37, 37, 37, 0.65);  /* Secondary text. */
  --link: var(--blue);  /* Links. */
  --accent: var(--red);  /* The only colour that carries meaning. Large text and emphasis. */
  --accent-deep: var(--red-deep);  /* Red text under 24px, red buttons. Also Figma accent/deep. */
  --accent-ink: #FFFFFF;  /* Text on red buttons and chips. */
  --on-ink: #FFFFFF;  /* All text on ink (except the footer). */
  --on-ink-muted: rgba(255, 255, 255, 0.55);  /* Footer text and links. */
  --on-ink-subtle: rgba(255, 255, 255, 0.6);  /* Legacy contact band sub-line. */

  /* semantic.border */
  --rule: rgba(37, 37, 37, 0.14);  /* Dividers, tile borders. */
  --rule-strong: rgba(37, 37, 37, 0.34);  /* Input and pill borders. */
  --rule-on-ink: rgba(255, 255, 255, 0.1);  /* Hairlines on ink (footer top and meta rules). */

  /* font */
  --body: "Geomanist", -apple-system, BlinkMacSystemFont, "Avenir Next", "Helvetica Neue", Arial, sans-serif;  /* Body and every heading. Figma fallback: Outfit. */
  --ddc: "DDC Hardware", ui-sans-serif, system-ui, sans-serif;
  --w-regular: 400;
  --w-medium: 500;
  --w-bold: 700;  /* All headings. */
  --text-hero: clamp(40px, 4.6vw, 66px);  /* Page hero titles (Display/Hero). */
  --text-h1: clamp(36px, 5vw, 64px);  /* Section headings on every page (Heading/Section). */
  --text-h2: clamp(28px, 3.4vw, 48px);  /* Statement headings (Heading/H2). */
  --text-h3: 24px;  /* Step and card headings (Heading/H3). */
  --text-card: clamp(22px, 2vw, 28px);  /* Card and column headings (Heading/Card). */
  --text-lead: clamp(17px, 1.5vw, 22px);  /* Section ledes (Body/Lead). */
  --text-body: 16px;  /* Body (Body/Default). */
  --text-caption: 14px;  /* Image captions, metric labels (Body/Caption). */
  --text-small: 13px;  /* Small text, nav (Body/Small, Label/Nav). */
  --text-caption-sm: 12px;  /* Sources, footnotes, credits (Body/Caption Small). */
  --text-eyebrow: clamp(12px, 1vw, 14px);  /* Eyebrows, DDC (Label/Eyebrow). */
  --text-label: 12px;  /* Section labels, DDC (Label/Small). */
  --leading-tight: 1;
  --leading-snug: 1.25;
  --leading-body: 1.5;
  --tracking-hero: -0.02em;  /* Display and section headings. */
  --tracking-heading: -0.02em;
  --tracking-eyebrow: 0.14em;  /* Label/Eyebrow. */
  --tracking-label: 0.12em;  /* Label/Small (section labels). */
  --display: var(--body);
  --label: var(--ddc);

  /* layout */
  --nav-h: 76px;  /* Site header height. */
  --section-px: clamp(24px, 5vw, 80px);  /* Page margin (left/right). 24 at 390, 72 at 1440, 80 max. */
  --section-py: clamp(80px, 10vw, 140px);
  --measure: 900px;  /* Max text column width. */

  /* radius */
  --radius-s: 8px;  /* Logo tiles, media. */
  --radius-card: 10px;  /* Cards and image wells site-wide. */
  --radius-m: 12px;  /* Panels, popovers. */
  --radius-l: 16px;  /* Large figures. */
  --radius-pill: 999px;  /* Buttons, tags, status pill. */

  /* shape */
  --corner-cut: 110px;  /* Diagonal cut on section blocks. */
  --chip-cut: 0.35em;  /* Notch on chips. */
  --rule-accent: 3px;  /* Red left rule on quotes and bands. */

  /* space */
  --space-4: 4px;  /* Spacing step. */
  --space-8: 8px;  /* Spacing step. */
  --space-12: 12px;  /* Spacing step. */
  --space-16: 16px;  /* Spacing step. */
  --space-24: 24px;  /* Spacing step. */
  --space-32: 32px;  /* Spacing step. */
  --space-48: 48px;  /* Spacing step. */
  --space-64: 64px;  /* Spacing step. */
  --space-96: 96px;  /* Spacing step. */

  /* motion */
  --ease-snap: cubic-bezier(0.2, 0.8, 0.2, 1);  /* Snappy ease-out for hovers and reveals. */
}

/* Service accent: set data-accent on <html> or a band, or set --drum and
   --drum-tint on the page's :root. */
[data-accent="green"] { --drum: var(--green); --drum-tint: var(--lightgreen); }
[data-accent="blue"] { --drum: var(--blue); --drum-tint: var(--lightblue); }
[data-accent="amber"] { --drum: var(--amber); --drum-tint: var(--yellow); }
[data-accent="red"] { --drum: var(--red); --drum-tint: var(--pink); }
