/* LostHub / Biuro Znakhidok shared shell — design tokens.
   Source of truth: design/Tokens.dc.html. Light theme only.
   Every text/background pair used on the site is >= 4.5:1 (WCAG 2.1 AA). */

:root {
  /* Colour */
  --c-paper: #FFF9F3;        /* page background */
  --c-ink: #141A1F;          /* all text, also on colour slabs; 16.8:1 on paper */
  --c-ink-muted: #4A5259;    /* dates, captions; 7.6:1 on paper */
  --c-lost: #D41460;         /* brand "lost", logo, primary button, highlight on paper; 4.9:1 */
  --c-lost-hover: #B0104F;   /* primary button hover */
  --c-lost-deep: #900D41;    /* pressed button; highlight on yellow/mint/blue slabs (>= 4.7:1) */
  --c-lost-on-ink: #FF6FA8;  /* highlight on the graphite download slab; 6.8:1 */
  --c-found: #398E52;        /* brand "found": logo and icons only (3.9:1, not for text) */
  --c-found-text: #16624A;   /* "Found" label and selected Found tab; 7.0:1 */
  --c-paper-hover: #F3EADF;  /* hover on list rows and tabs */
  --c-slab-pink: #F7559A;    /* highlight on pink = ink in a light weight, never white */
  --c-slab-yellow: #FFC83D;
  --c-slab-mint: #4FD1A1;
  --c-slab-blue: #8CCBF5;
  --c-slab-ink: #141A1F;     /* download slab, paper text */

  /* Type */
  --f-sans: 'Manrope', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --t-display: clamp(46px, 6.6vw, 100px); /* line-height .98, tracking -.04em, 800 */
  --t-h2: clamp(36px, 4.4vw, 64px);       /* 1.02, -.03em, 800 */
  --t-h3: clamp(28px, 2.8vw, 40px);       /* 1.08, -.03em, 800 */
  --t-title: 23px;                         /* cards, points: 1.2, -.01em, 700 */
  --t-lead: clamp(18px, 1.5vw, 21px);      /* 1.5 */
  --t-body: 17px;                          /* 18px from 761px, line-height 1.5 */
  --t-small: 16px;                         /* menu, buttons, footer: 600-700 */
  --t-label: 13px;                         /* Plex Mono 500, uppercase, .08em */
  --t-number: clamp(48px, 6vw, 88px);      /* step numbers, Plex Mono 500, .9, -.05em */

  /* Space */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;  --s-5: 24px;
  --s-6: 32px; --s-7: 40px; --s-8: 56px; --s-9: 72px;  --s-10: 120px;
  --section-pad: 72px;     /* 120px on desktop */

  /* Layout */
  --container: 1280px;     /* includes side padding -> 1200px content */
  --gutter: 16px;          /* 40px on desktop */
  --measure: 70ch;         /* article text */

  /* Lines and shape */
  --rule: 1.5px solid var(--c-ink);
  --rule-strong: 2px solid var(--c-ink);
  --radius: 0;             /* exceptions: phone frame 44px, official store badges */
  --focus-ring: 3px solid var(--c-ink); /* outline-offset: 3px */
  --tap: 44px;             /* minimum touch target */
}

@media (min-width: 761px) {
  :root { --t-body: 18px; --gutter: 40px; --section-pad: 120px; }
}

/* Breakpoints: 760px = phone layout; 1000px = header menu collapses into a button. */
