/* ==========================================================================
   REFTIDE — design tokens (reftide.pl)
   The only place colours, type, spacing and motion are defined.
   agency.css uses var(--…) only, so /en/ can reuse both files unchanged.

   Idea: black page, white ink, hairlines. ONE colour — Signal vermilion,
   taken 1:1 from pozycjonowaniewai.pl — and it always means the same thing:
   the gap, the recommended brand, the action.
   ========================================================================== */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-2193, U+2212;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F;
}

:root {
  color-scheme: dark;

  /* ---------- colour ---------- */
  --bg:           #000000;
  --surface:      #0B0B0C;                    /* cards, UI artifacts */
  --surface-2:    #131315;                    /* raised rows inside artifacts */
  --surface-3:    #1C1C1F;                    /* chips, bubbles */
  --ink:          #FFFFFF;
  --ink-2:        rgba(255, 255, 255, .72);   /* body copy (11.6:1 on black) */
  --ink-3:        rgba(255, 255, 255, .56);   /* labels, dates (7.0:1 on black) */
  --line:         rgba(255, 255, 255, .12);   /* section rules, card frames */
  --line-soft:    rgba(255, 255, 255, .07);   /* page frame, inner dividers */
  --line-strong:  rgba(255, 255, 255, .28);   /* active tab, hover */

  --signal:       #E5402A;                    /* UI markers, active indicators, CTA fill */
  --signal-night: #FF6A50;                    /* signal as text on black (6.7:1) */
  --signal-deep:  #C2321E;                    /* hover / pressed, signal text on white */
  --on-signal:    #140503;                    /* text on a signal fill (5.0:1) */

  /* ---------- type: three families, strict roles ---------- */
  --serif: "Newsreader", "Iowan Old Style", "Times New Roman", serif;       /* H1, H2, big numbers */
  --sans:  "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif; /* body, nav, buttons */
  --mono:  "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;  /* 01/02/03, prompts, counts, URLs */

  --fs-h1:    clamp(2.75rem, 1.26rem + 6.1vw, 5.75rem);   /* 44px @390 → 92px @1440 */
  --fs-h2:    clamp(2rem, 1.4rem + 2.5vw, 3.5rem);        /* 32px → 56px */
  --fs-h3:    clamp(1.5rem, 1.3rem + .8vw, 2rem);         /* 24px → 32px */
  --fs-stat:  clamp(2.75rem, 2rem + 3vw, 4.5rem);         /* KPI numbers */
  --fs-lead:  clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-body:  1rem;
  --fs-small: .875rem;
  --fs-label: .75rem;

  --lh-display: 1.02;
  --lh-head:    1.08;
  --lh-body:    1.6;
  --track-display: -.028em;
  --track-head:    -.022em;
  --track-label:   .08em;

  /* ---------- space ---------- */
  --max:    77.5rem;                                  /* 1240px */
  --gutter: clamp(1.25rem, .5rem + 3.2vw, 2.5rem);    /* 20px → 40px */
  --sec-y:  clamp(4.5rem, 3rem + 6.5vw, 8.5rem);      /* 72px → 136px */
  --hdr-h:  4rem;

  /* ---------- shape & motion ---------- */
  --r-sm:   4px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-pill: 999px;
  --ease:   cubic-bezier(.2, .7, .1, 1);
  --t-fast: .18s;
  --t-med:  .4s;
}
