/* Genererad av grafix fluid.py – redigera tokens.json, inte denna fil */
:root {
  --gx-page-margin: clamp(1rem, -0.95rem + 8vw, 6.25rem);
  --gx-grid-gutter: clamp(1rem, 0.6286rem + 1.5238vw, 2rem);
  --gx-gap-sm: clamp(0.75rem, 0.6571rem + 0.381vw, 1rem);
  --gx-gap-md: clamp(1rem, 0.8143rem + 0.7619vw, 1.5rem);
  --gx-gap-lg: clamp(2rem, 1.2571rem + 3.0476vw, 4rem);
  --gx-stack-text: clamp(1rem, 0.8143rem + 0.7619vw, 1.5rem);
  --gx-stack-block: clamp(2rem, 1.6286rem + 1.5238vw, 3rem);
  --gx-section-space: clamp(3rem, 2.4429rem + 2.2857vw, 4.5rem);
  --gx-section-space-lg: clamp(4.5rem, 3.5714rem + 3.8095vw, 7rem);
  --gx-hero-min-h: clamp(21.25rem, 14.2857rem + 28.5714vw, 40rem);
  --gx-fs-h1: clamp(2.5rem, 1.9429rem + 2.2857vw, 4rem);
  --gx-fs-h2: clamp(2rem, 1.6286rem + 1.5238vw, 3rem);
  --gx-fs-h3: clamp(1.625rem, 1.5321rem + 0.381vw, 1.875rem);
  --gx-fs-h4: clamp(1.25rem, 1.1571rem + 0.381vw, 1.5rem);
  --gx-fs-h5: clamp(1.125rem, 1.0786rem + 0.1905vw, 1.25rem);
  --gx-fs-h6: clamp(1rem, 0.9536rem + 0.1905vw, 1.125rem);
  --gx-fs-quote: clamp(1.375rem, 1.2821rem + 0.381vw, 1.625rem);
  --gx-fs-body-lg: clamp(1.125rem, 1.0554rem + 0.2857vw, 1.3125rem);
  --gx-fs-body: clamp(1rem, 0.9536rem + 0.1905vw, 1.125rem);
  --gx-fs-body-sm: clamp(0.875rem, 0.8286rem + 0.1905vw, 1rem);
  --gx-fs-button: 0.9375rem;
  --gx-fs-nav: 0.9375rem;
  --gx-fs-label: clamp(0.875rem, 0.8518rem + 0.0952vw, 0.9375rem);
  --gx-fs-caption: 0.875rem;
  --gx-fs-price: clamp(1.25rem, 1.2036rem + 0.1905vw, 1.375rem);
  --gx-fs-quote-lg: clamp(1.75rem, 1.3786rem + 1.5238vw, 2.75rem);
  --gx-fs-h1-hero: clamp(2.125rem, 1.7071rem + 1.7143vw, 3.25rem);
}

/* Sektionsmodellen – synligt avstånd = --gx-section-space */
.section + .section { margin-block-start: var(--gx-section-space); }
.section--surface, .section--brand, .section--inverse { padding-block: var(--gx-section-space); }
.section--hero, .section--cta { padding-block: var(--gx-section-space-lg); }
:is(.section--surface, .section--brand, .section--inverse) + :is(.section--surface, .section--brand, .section--inverse) { margin-block-start: 0; }
.section > .e-con-inner { padding-inline: var(--gx-page-margin); }
