/* Consumable design system V1 (draft)
   Values from the live consumable.com stylesheet, read 2026-11-16.
   Names marked "live" match the site's own CSS variables exactly. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/SchibstedGrotesk-Variable.ttf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Core colour (live) */
  --signal: #2665d6;
  --ink: #1e2330;
  --marble: #f3f3f1;
  --page: #f3f3f1;
  --chartreuse: #d2e823;
  --forest: #254f1a;
  --white: #ffffff;

  /* Text */
  --text: var(--ink);
  --text-secondary: #4f5347;
  --text-subtle: #676b5f;
  --text-on-dark: var(--marble);
  --text-on-signal: var(--white);

  /* Borders */
  --border-soft: #ddded6;
  --border-soft-alt: #e0e2d9;
  --border-on-dark: #f3f3f166;
  --ring-soft: inset 0 0 0 1.5px #ddded6;

  /* Surfaces */
  --surface-card: var(--white);
  --surface-blue-tint: #e7ecf7;
  --surface-ink-raised: #23283e;

  /* Supporting (in use on the site, not core palette) */
  --iris: #061492;

  /* Type */
  --font-sans: "Schibsted Grotesk", sans-serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-extrabold: 800;

  /* Type scale (live) */
  --display-size: 64px;  --display-lh: 1.02;  --display-ls: -.03em;
  --display2-size: 48px; --display2-lh: 1.04; --display2-ls: -.02em;
  --h1-size: 40px;       --h1-lh: 1.12;       --h1-ls: -.02em;
  --h3-lh: 1.28;         --h3-ls: -.01em;
  --lead-lh: 1.3;
  --body-lh: 1.5;
  --small-lh: 1.45;

  /* Type shorthands */
  --text-display: 800 64px/1.02 var(--font-sans);
  --text-display2: 800 48px/1.04 var(--font-sans);
  --text-h1-mobile: 800 40px/1.12 var(--font-sans);
  --text-h3: 500 24px/1.28 var(--font-sans);
  --text-item-title: 800 20px/1.28 var(--font-sans);
  --text-lead: 400 24px/1.3 var(--font-sans);
  --text-body: 400 16px/1.5 var(--font-sans);
  --text-small: 500 14px/1.45 var(--font-sans);
  --text-ui: 500 16px/24px var(--font-sans);
  --text-stat: 800 48px/1.04 var(--font-sans);

  /* Spacing rhythm (live): 8 / 24 / 72 */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-minor: 24px;
  --space-2minor: 48px;
  --space-major: 72px;

  /* Sizes */
  --control-h: 48px;
  --icon: 24px;
  --nav-h: 96px;
  --container: 1440px;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --radius-app: 22.5%;

  /* Shadows */
  --shadow-card-hover: 0 16px 40px -20px #1e233059;
  --shadow-post-hover: inset 0 0 0 1.5px #2665d659, 0 24px 48px -24px #1e233040;
  --shadow-menu: 0 24px 48px #1e23303d;
  --shadow-window: 0 30px 80px -30px #0f142873;

  /* Motion */
  --ease-standard: cubic-bezier(.4, 0, .2, 1);
  --ease-out-snappy: cubic-bezier(.2, .8, .2, 1);
  --dur-fast: .2s;
  --dur-nav: .25s;
}
