:root {
  /* Spacing */
  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 64px;

  /* Text */
  --font-main: Montserrat, Arial, sans-serif;
  --font-size-title: 60px;
  --font-size-headline-1: 40px;
  --font-size-headline-2: 32px;
  --font-size-headline-3: 24px;
  --font-size-body-md: 20px;
  --font-size-body-sm: 16px;
  --font-size-body-xs: 14px;
  --button-font-size: var(--font-size-body-xs);
  --line-height: 1.5;

  /* Färg */
  --color-dark-petrol-green: #00393d;
  --color-orange: #ff680a;
  --color-button-hover: #cc5308;
  --color-button-pressed: #732f05;
  --color-eftersok-green: #516141;
  --color-soft-green: #869279;
  --page-bg: #f0f4f5;

  /* Layout */
  --content-width: 1120px;
  --gutter: max(var(--space-m), calc((100vw - var(--content-width)) / 2));
  --section-gap: var(--space-xl);
  --radius: 16px;
  --radius-round: 999px;

  /* Komponenter */
  --control-height: 48px;
  --button-padding-inline: 28px;
  --header-button-padding-inline: var(--space-s);
  --hero-height: 620px;
  --hero-padding-block: var(--space-xl);
  --hero-text-width: 400px;
  --hero-description-size: var(--font-size-body-md);
  --hero-title-line-height: 1.2;
  --hero-content-gap: var(--space-s);
  --hero-shade: 70%;
  --hero-shade-about: 55%;
  --alarm-card-offset: 26px;
}

@media (max-width: 1000px) {
  :root {
    --hero-height: 760px;
    --hero-padding-block: var(--space-l);
  }
}

@media (max-width: 700px) {
  :root {
    --section-gap: var(--space-l);
    --hero-description-size: var(--font-size-body-sm);
  }
}

@supports (clip-path: shape(from 0 0, line to 100% 0, line to 100% 100%, close)) {
  :root {
    --diagonal: shape(from 0 0,line to 100% 0,line to 100% 100%,line to 33% 100%,curve to 16% 83% with 22% 100% / 18% 92%,close);
    --diagonal-flippad: shape(from 0 100%,line to 100% 100%,line to 100% 0,line to 33% 0,curve to 16% 17% with 22% 0 / 18% 8%,close);
  }
}
