/* =========================================================================
   Taneelo design tokens · v1 (26 Oct 2026)
   Direction: C "The Full Stop" + B "Colour Code" for solutions/campaigns.
   This file is the single source of truth. The WordPress theme imports it as-is.
   ========================================================================= */
:root {
  /* ---- Core colour ---------------------------------------------------- */
  --tn-ink: #000423;          /* text, primary buttons, dark surfaces (from the logo SVG) */
  --tn-ink-80: #2b2f45;       /* secondary text on light */
  --tn-ink-60: #5a5e72;       /* muted text, captions (AA on white) */
  --tn-teal: #00DAB6;         /* brand teal: fills, dots, highlights. NEVER text on white */
  --tn-teal-deep: #007A68;    /* teal for text and links on white (5.3:1) */
  --tn-teal-pale: #E8FCF8;    /* teal tint surfaces */
  --tn-white: #FFFFFF;
  --tn-mist: #F3F5F6;         /* page sections, card wells */
  --tn-line: #E3E7EA;         /* borders, dividers */
  --tn-signal: #FF6A55;       /* error and genuine-sale accents (fills only) */
  --tn-signal-text: #C8331F;  /* error text on white (AA) */

  /* ---- Solution colours (from B · Colour Code) -------------------------
     Used for category tiles, campaign banners, category headers, social
     backgrounds and the small solution chip on product cards. Text on these
     is always ink. */
  --tn-sol-connected: #00DAB6;  --tn-sol-connected-tint: #E8FCF8;  /* Stay connected */
  --tn-sol-power:     #FFC233;  --tn-sol-power-tint:     #FFF4D6;  /* Power through */
  --tn-sol-desk:      #C3B5FF;  --tn-sol-desk-tint:      #F0ECFF;  /* Desk setup */
  --tn-sol-kitchen:   #FFB39A;  --tn-sol-kitchen-tint:   #FFEEE7;  /* Kitchen & home */
  --tn-sol-watch:     #8FD3FF;  --tn-sol-watch-tint:     #E6F5FF;  /* Watch & listen */

  /* ---- Type ------------------------------------------------------------ */
  --tn-font-display: 'Unbounded', 'Onest', system-ui, sans-serif;  /* lowercase headlines that end in a dot */
  --tn-font-body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tn-font-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', monospace; /* labels, prices in badges, specs */

  --tn-text-display: clamp(2.75rem, 1.6rem + 5.2vw, 6rem);   /* 44 → 96 · hero */
  --tn-text-h1: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);         /* 32 → 56 · page titles */
  --tn-text-h2: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem);      /* 24 → 36 · section titles */
  --tn-text-h3: 1.25rem;                                      /* 20 · card/panel titles (Onest) */
  --tn-text-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);     /* 17 → 20 */
  --tn-text-body: 1rem;                                       /* 16 */
  --tn-text-small: .875rem;                                   /* 14 */
  --tn-text-caption: .75rem;                                  /* 12 · mono, uppercase */
  --tn-track-display: -.045em;
  --tn-track-tight: -.02em;
  --tn-leading-tight: .95;
  --tn-leading-body: 1.6;

  /* ---- Space (4pt) ------------------------------------------------------ */
  --tn-s1: 4px;  --tn-s2: 8px;  --tn-s3: 12px; --tn-s4: 16px; --tn-s5: 24px;
  --tn-s6: 32px; --tn-s7: 48px; --tn-s8: 64px; --tn-s9: 96px;
  --tn-gutter: clamp(16px, 4vw, 40px);
  --tn-wrap: 1280px;
  --tn-section: clamp(56px, 8vw, 112px);

  /* ---- Shape ------------------------------------------------------------- */
  --tn-r-sm: 10px;   /* inputs, small chips */
  --tn-r-md: 16px;   /* thumbnails, notices */
  --tn-r-lg: 24px;   /* cards, panels */
  --tn-r-xl: 32px;   /* hero blocks, banners */
  --tn-r-pill: 999px;
  --tn-dot: 50%;     /* the signature */

  /* ---- Depth ------------------------------------------------------------ */
  --tn-shadow-1: 0 1px 2px rgba(0, 4, 35, .06), 0 4px 12px rgba(0, 4, 35, .05);
  --tn-shadow-2: 0 2px 6px rgba(0, 4, 35, .06), 0 16px 40px rgba(0, 4, 35, .10);
  --tn-focus: 0 0 0 3px var(--tn-white), 0 0 0 6px var(--tn-teal-deep);

  /* ---- Motion ------------------------------------------------------------ */
  --tn-ease: cubic-bezier(.2, .8, .2, 1);
  --tn-ease-pop: cubic-bezier(.2, .9, .3, 1.25);
  --tn-dur-1: 120ms; --tn-dur-2: 220ms; --tn-dur-3: 420ms;
}

@media (prefers-reduced-motion: reduce) {
  :root { --tn-dur-1: 0ms; --tn-dur-2: 0ms; --tn-dur-3: 0ms; }
}
