/* ============================================================
   Invest Lithuania — Spacing, grid, radius & elevation
   Spacing rhythm: a 3px modular grid. Named steps below.
   Grid: 1626 / 12-col / 108px col / 30px gutter (desktop);
         342 / 4-col / 72px col / 18px gutter (mobile).
   Radii — desktop 84 (hero) / 54 / 45 (tabs2) / 27 / 6 (+ pinned 6px corner);
           mobile large 54→36, fact tile 54→24, accordion container 54→0.
   ============================================================ */

:root {
  /* ---- Spacing scale — 3px modular grid ----
     Step  1 =  12px  small component gaps: icon–text, tooltip/tag inner
     Step  2 =  18px  tight layout gaps: Accordion items, Carousel dots, grid gutter (mobile)
     Step  3 =  24px  inner card/component spacing; mobile section padding
     Step  4 =  30px  desktop grid gutter (= --grid-gap); standard block content gap
     Step  5 =  36px  mid-range layout: mobile large panel radius (= --radius-lg-m); Carousel arrow size
     Step  6 =  60px  section vertical padding (= --block-pad-y); demo card padding
     Step  7 = 120px  page gutter (= --page-gutter); footer padding                               */
  --space-1:  12px;
  --space-2:  18px;
  --space-3:  24px;
  --space-4:  30px;
  --space-5:  36px;
  --space-6:  60px;
  --space-7: 120px;

  /* ---- Layout grid ----
     Desktop: 1626px content · 12 columns · 108px column · 30px gutter
              (12×108 + 11×30 = 1626).
     Mobile:   342px content ·  4 columns ·  72px column · 18px gutter
              ( 4×72  +  3×18 =  342).
     Note: --grid-col, --grid-col-m, --grid-columns, --grid-columns-m are
     reference values for layout planning; --content-max, --page-gutter,
     --grid-gap and --block-pad-y are the tokens actively used by components. */
  --content-max:    1626px;  /* desktop content width — used on every full-width block */
  --page-gutter:     120px;  /* desktop horizontal page margin */
  --page-gutter-m:    24px;  /* mobile horizontal page margin */
  --grid-col:        108px;  /* desktop column width (reference) */
  --grid-col-m:       72px;  /* mobile column width (reference) */
  --grid-gap:         30px;  /* desktop column gutter — used in multi-col grids */
  --grid-gap-m:       18px;  /* mobile column gutter */
  --grid-columns:       12;  /* @kind other */
  --grid-columns-m:      4;  /* @kind other */

  /* Vertical rhythm between full-width sections. */
  --block-pad-y:    60px;
  --block-pad-y-m:  30px;

  /* ---- Border radius ----
     The brand shape is big and friendly. Three desktop steps plus a signature
     “pinned” corner: large panels keep their TOP-LEFT corner at 6px while the
     other three go to --radius-lg (cards, testimonial: 6/54 54 54; accordion
     items pin both left corners: 6/54 54 6). On mobile the large radius drops
     to --radius-lg-m (36px); fact icon tiles use --radius-sm (24px); the
     accordion container goes square (0) and full-bleed. */
  --radius-xs:   6px;   /* tags · tooltips · inputs · the pinned 6px corner */
  --radius-sm:  24px;   /* fact icon tile (mobile) — JSX uses raw px; token for CSS consumers */
  --radius-md:  27px;   /* buttons (all sizes) · secondary nav CTA */
  --radius-lg:  54px;   /* signature panel: cards · CTA · accordion · media · hero · fact tiles */
  --radius-lg-m: 36px;  /* large panel radius on mobile (54 → 36) — = --space-5 */
  --radius-tab:  45px;  /* Tabs2 desktop panel + tab corners (between md and lg) */
  --radius-xl:   84px;  /* Hero panel desktop only — the largest brand radius */
  --radius-pill: 999px; /* tooltip trigger · tab bars · secondary nav pill */

  /* ---- Shadows ----
   * Surfaces are flat — colour blocks and whitespace provide structure.
   * One shadow token for floating UI elements (e.g. video play button). */
  --shadow-lifted: 0 16px 48px rgba(18, 18, 18, 0.16);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);  /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);  /* @kind other */
  --dur-fast:  140ms;  /* @kind other */
  --dur-base:  220ms;  /* @kind other */
  --dur-slow:  360ms;  /* @kind other */
}

/* On small screens the grid gutter and page margin shrink to the mobile spec
   (18px gutter, 24px margin). Layout grids that use var(--grid-gap) follow. */
@media (max-width: 680px) {
  :root {
    --grid-gap: var(--grid-gap-m);
    --page-gutter: var(--page-gutter-m);
    --block-pad-y: var(--block-pad-y-m);
  }
}
