/* The one tokens file. All colors, fonts, sizes, motion and the logo live here.

   THE INTAKE HOUSE design system, locked by CEO 10-25; names + one black 10-27 (brand/design-log.md).
   Source of truth: HQ brand/. website/public/css/tokens.css is a copy of this file.
   Change here first, then copy.

   Replaces the reference placeholder palette. No @palette tag: release builds may pass. */

/* Fonts (Fontshare, free for business use; license text saved in /fonts/). Self-hosted. */
@font-face { font-family: "Satoshi"; font-weight: 400; font-display: swap; src: url("/fonts/satoshi-400.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 500; font-display: swap; src: url("/fonts/satoshi-500.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 700; font-display: swap; src: url("/fonts/satoshi-700.woff2") format("woff2"); }
@font-face { font-family: "Tanker"; font-weight: 400; font-display: swap; src: url("/fonts/tanker-400.woff2") format("woff2"); }

:root {
  /* Logo */
  --logo-url: url("/favicon.svg"); /* final files: HQ brand/logo/ (10-27). Site copies web/favicon.svg and the one-line SVG */

  /* Colors (all text pairs pass WCAG AA; tools/palette-check/final-10-25.json) */
  --color-bg: #fdfcfa;              /* Coconut Cream: page, 60% */
  --color-card: #ffffff;
  --color-band: #f7f5f0;            /* Sugar Apple: icon tiles and light fills (the alternate band is Sand since 11-11) */
  --color-mango-wash: #fbf4e2;      /* Mango Wash: Sweet Mango 12% on Coconut Cream, the Our Guarantee band (CEO 10-30: warm, faded, not grey) */
  --color-sand: #efe7d2;            /* Peanut Punch: the warm alternate band, The Solution (CEO 11-11: Sugar Apple read cold) */
  --color-border: #e2dfda;
  --color-text: #1a1613;            /* Cocoa Tea: text (one black everywhere, 10-27) */
  --color-text-muted: #4f4c46;
  --color-text-faint: var(--color-text-muted); /* merged into soft text 10-27 (design system audit) */
  --color-accent: #e9b92f;          /* Sweet Mango: buttons, pill fill, the logo dot. 10% */
  --color-accent-text: #1a1613;     /* labels and eyebrows: Cocoa Tea (10-27: Sweet Mango is never text on light; old gold-brown #7a5c00 retired) */
  --color-accent-line: #1a1613;     /* lines and rings on light: Cocoa Tea (10-27; old #a8820f retired). Check marks moved to the check badge 11-03 */
  --color-accent-on-dark: #e9b92f;  /* small yellow text on dark sections (AA 8.7+) */
  --color-accent-pale: var(--color-band);     /* was pale mango; retired 10-27: icon tiles use the cream band */
  --color-accent-tint: var(--color-band);     /* was a mango tint; retired 10-27 */
  --color-accent-tint-line: var(--color-border); /* was a mango tint; retired 10-27 */
  --color-dark: #1a1613;            /* Cocoa Tea: dark sections, footer. 30% */
  --color-dark-card: #26201c;
  --color-on-dark: #f8f3ec;
  --color-on-dark-muted: #cdbfb0;
  --color-footer-link: #cdbfb0;
  --color-footer-text: var(--color-on-dark-muted); /* merged into soft text on dark 10-27 */
  --color-on-accent: #1a1613;
  --color-pen: #9f252e;             /* Pen Red: red pen line under the sore words on the Problem cards only (CEO 10-30). 11-03: deep flag red, was #9e3326 */
  --color-check: #005c46;           /* Check green: the check badge on every check list (CEO 11-03, A3). White on it 8.0:1 */
  --color-on-check: #ffffff;        /* the white check inside the badge */
  --color-backdrop: rgb(26 22 19 / 0.92);
  --color-menu-backdrop: rgb(26 22 19 / 0.55);
  --color-nav-bg: rgb(253 252 250 / 0.88);
  --color-ph: #efebe3;              /* mockup placeholder fill */
  --color-ph-line: #b9b4a8;
  --color-ph-on-dark: rgb(255 255 255 / 0.12);
  --color-tile-on-dark: rgb(255 255 255 / 0.06);
  --color-review-del: #a3342a;      /* review comments, preview only: removed words (site-only) */
  --color-review-ins: #1f6b3a;      /* review comments, preview only: new words */
  --color-review-ins-bg: #e6f2ea;
  --color-review-card: #fffbea;
  --color-off: #8a3b2e;             /* OFF tag (preview only) */

  /* Legacy names used by the legal pages' site.css */
  --color-surface: var(--color-band);
  --color-link: var(--color-text);
  --color-link-hover: var(--color-text-muted);
  --color-quote-bar: var(--color-accent-line);

  /* Fonts: 2 families */
  --font-body: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Tanker", Impact, "Arial Narrow", sans-serif;   /* hero headline */
  --font-title: "Tanker", Impact, "Arial Narrow", sans-serif;     /* section titles */
  --font-serif: var(--font-title);  /* legacy name: app.css section titles still read --font-serif */
  /* Tanker has capitals only and one weight. Set text-transform: lowercase on Tanker text:
     the lowercase keys draw the plain capitals (uppercase keys draw the unusual ones). */

  /* Type scale */
  --text-xs: 0.75rem;     /* eyebrow 12px, ALL CAPS only */
  --text-tag: 0.6875rem;  /* tag 11px, ALL CAPS only */
  --text-xs2: 0.8125rem;  /* fine print 13px */
  --text-sm: 0.875rem;    /* nav, call box, top pill 14px */
  --text-card: 0.9375rem; /* card body 15px */
  --text-base: 1rem;
  --text-cta: 1.0625rem;  /* button 17px */
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-sub: clamp(1rem, 2vw, 1.2rem);
  --text-h2: clamp(1.6rem, 3.2vw, 2.15rem);       /* section title, Tanker */
  --text-h2-bold: clamp(1.6rem, 3.2vw, 2.15rem);
  --text-2xl: clamp(2.3rem, 5.4vw, 3.4rem);       /* hero headline, Tanker */
  --text-stat: clamp(1.75rem, 4vw, 2.5rem);
  --text-gpill: 0.75rem;   /* guarantee pill under buttons 12px */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  --weight-heavy: 700;     /* Satoshi tops out at 700 */
  --weight-semibold: 500;
  --weight-serif: 400;     /* Tanker's only weight */
  --tracking-tight: -0.02em;
  --tracking-title: 0.01em; /* Tanker */
  --tracking-eyebrow: 0.14em;
  --line-height: 1.6;
  --line-height-tight: 0.95; /* Tanker headline */
  --line-height-heading: 1;

  /* Spacing (8px base) */
  --space-0: 0.25rem;  /* 4 */
  --space-1: 0.5rem;   /* 8 */
  --space-1h: 0.75rem; /* 12 */
  --space-2: 1rem;     /* 16 */
  --space-2h: 1.25rem; /* 20 */
  --space-3: 1.5rem;   /* 24 */
  --space-4: 2rem;     /* 32 */
  --space-5: 4rem;     /* 64 */
  --section-pad: 96px;
  /* Heading spacing, the same in every section (CEO 10-30): label to title, title to line, heading to content */
  --head-gap: 16px;
  --head-to-content: 48px;
  --section-pad-phone: 56px;
  --gutter: 16px;
  /* Hero rhythm (measured from the reference 10-25) */
  --hero-pill-gap: 28px;   /* top pill to headline */
  --hero-h1-gap: 20px;     /* headline to sub */
  --hero-sub-gap: 32px;    /* sub to video */
  --hero-media-gap: 32px;  /* video to button */
  --cta-pill-gap: 22px;    /* button to guarantee pill */

  /* Widths */
  --measure: 42rem;
  --w-hero: 1040px;
  --w-faq: 720px;
  --w-text: 680px;
  --w-sub: 640px;
  --w-video: 670px;
  --w-wide: 1152px;
  --w-careers: 960px;
  --w-roles: 860px;
  --w-open-app: 560px;
  --menu-width: 360px;             /* 10-30: room for the one-line guarantee pill (was 320) */
  --topbar-h: 64px;
  --topbar-h-phone: 56px;

  /* Radii: 3 in use (button 8, card 12, pill round) */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-card: 12px;
  --radius-lg: 12px;
  --radius-video: 14px;
  --radius-xl: 16px;
  --radius-pill: 100px;

  /* Button and key-card style: "Lighter" (locked 10-25). Thin edge + small solid offset shadow. */
  --btn-border: 1px solid rgb(26 22 19 / 0.85);
  --btn-shadow: 2px 2px 0 0 rgb(26 22 19 / 0.75);
  --btn-shadow-hover: 3px 3px 0 0 rgb(26 22 19 / 0.75);
  --btn-border-on-dark: 1px solid rgb(248 243 236 / 0.85);
  --btn-shadow-on-dark: 2px 2px 0 0 rgb(248 243 236 / 0.75);
  --key-border: 1px solid rgb(26 22 19 / 0.7);
  --key-shadow: 3px 3px 0 0 rgb(26 22 19 / 0.55);

  /* Other shadows */
  --shadow-glow: var(--btn-shadow);          /* legacy name: buttons no longer glow */
  --shadow-glow-strong: var(--btn-shadow-hover);
  --shadow-glow-dark: var(--btn-shadow-on-dark);
  --shadow-glow-dark-strong: var(--btn-shadow-on-dark);
  --shadow-video: 0 24px 64px -12px rgb(26 22 19 / 0.18);
  --shadow-card-hover: 0 12px 40px rgb(0 0 0 / 0.3);
  --shadow-soft: 0 6px 20px -8px rgb(26 22 19 / 0.15);

  /* Blur */
  --blur-nav: 18px;
  --blur-menu: 4px;

  /* Motion (all off under prefers-reduced-motion) */
  --duration-fast: 150ms;
  --duration-hover: 200ms;
  --duration-menu: 300ms;
  --duration-faq: 300ms;
  --duration-reveal: 650ms;
  --duration-glow: 2.8s;
  --duration-marquee: 36s;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --rise-reveal: 18px;
}

/* Phones: heading to content is a little tighter (CEO 10-30). */
@media (max-width: 760px) { :root { --head-to-content: 40px; } }
