/* Catalog Studio by Bravuz, 3 Dec 2026 (Abdul 826: "very polished, spacious, white ... classy and neat and minimalistic").
   Tokens first: every size, colour and time lives here. Near-black ink on white, one quiet grey tile, hairlines.
   No brand colour yet (no logo): ink is the accent; green only for status ticks. */
:root {
  /* colour */
  --paper: #ffffff;
  --tile: #f6f6f4;          /* soft neutral tile, used sparingly */
  --tile-deep: #ececea;
  --ink: #111111;
  --ink-soft: #2a2a2a;      /* button hover */
  --muted: #525252;         /* 7.8:1 on white, 7.2:1 on tile */
  --faint: #8a8a8a;         /* decorative only (numbers, arrows), never body text */
  --line: #e4e4e1;
  --line-strong: #cfcfcb;
  --on-ink: #ffffff;
  --ok: #1f7a3d;            /* tick marks, 5.4:1 */
  --tbd-bg: #fff4d6;        /* placeholder highlight (address, dates) */
  --tbd-ink: #6b4e00;       /* 7.4:1 on tbd-bg */
  --glass: rgba(255, 255, 255, .86);
  --glass-blur: saturate(180%) blur(16px);
  --focus: #2563eb;         /* round 3: same blue as the accent (review r3 S5) */
  --shadow-card: 0 1px 2px rgba(17, 17, 17, .04), 0 12px 32px rgba(17, 17, 17, .06);

  /* type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --w-regular: 400;
  --w-medium: 500;
  --w-semi: 600;
  --t-micro: 0.75rem;                                    /* 12 */
  --t-small: 0.875rem;                                   /* 14 */
  --t-body: 1rem;                                        /* 16 */
  --t-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);      /* 17-20 */
  --t-h3: 1.0625rem;                                     /* 17 */
  --t-price: clamp(2rem, 1.7rem + 1vw, 2.5rem);          /* 32-40 */
  --t-h2-doc: clamp(1.25rem, 1.15rem + .4vw, 1.5rem);    /* 20-24: legal section titles */
  --t-h2: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem);      /* 28-38 */
  --t-h1: clamp(2.375rem, 1.6rem + 3.2vw, 4.25rem);      /* 38-68 */
  --t-h1-doc: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);      /* 32-44: legal page titles */
  --lh-tight: 1.05;
  --lh-snug: 1.25;
  --lh-body: 1.6;
  --track-h1: -0.035em;
  --track-h: -0.02em;
  --track-micro: 0.04em;

  /* space: 4px grid */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --section: clamp(5rem, 3rem + 7vw, 10rem);        /* 80-160 between sections */
  --gutter: clamp(1.25rem, .5rem + 3vw, 3rem);
  --wrap: 75rem;           /* 1200 */
  --wrap-text: 42rem;      /* legal pages, centred intros */
  --measure: 36rem;
  --h1-measure: 14ch;
  --ui-shot: 22rem;        /* real product-box screenshot */
  --row-title: 20rem;

  /* sizes */
  --bar-h: 4rem;
  --tap: 2.75rem;
  --btn-h: 2.75rem;
  --btn-h-big: 3.25rem;
  --icon: 1.25rem;
  --icon-box: 2.5rem;
  --num-col: 4rem;
  --hairline: 1px;
  --radius-s: 0.5rem;
  --radius: 0.875rem;
  --radius-l: 1.5rem;
  --pill: 62.5rem;
  --focus-ring: 2px;
  --focus-gap: 3px;

  /* motion */
  --dur-fast: 150ms;
  --dur: 260ms;
  --dur-slow: 700ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --rise: 0.75rem;
  --stagger-1: 80ms;
  --stagger-2: 160ms;
  --press: .98;

  /* round 2 (Abdul 839): colour for the flow, the clip and the settings */
  --accent: #2563eb;        /* 5.2:1 under white text (apple-hig accessibility.md, contrast) */
  --accent-ink: #1f4fd1;     /* 6.6:1 on white */
  --accent-soft: #eef3ff;
  --clip-dur: 12s;           /* 4 scenes x 3s */
  --clip-step: 3s;
  --clip-ratio: 4 / 3;
  --logo: 1.5rem;
  --logo-big: 2.5rem;
  --dot: .625rem;
  --knob: 1rem;
  --switch-w: 2.25rem;
  --num-badge: 1.5rem;
  --chrome-h: 2.5rem;
  --flow-line: 2px;
  --pulse-dur: 2.4s;
  --pulse-stagger: .4s;      /* taste diagrams.md: ripple, one line a beat after the last */
  --field-min: 8rem;
  --thumb: 3rem;

  /* round 3 (Abdul 847): marker behind the action words of titles; blue badges */
  --accent-hl: #bfdbfe;      /* ink #111 on it about 14:1 */
  --hl-pad: .08em;
  --pack-top: 1.75rem;       /* card title row = Best value badge height, so all three align */
}
