/**
 * Author:      Stefan Miscik
 * Company:     Dotsystems s.r.o.
 * Copyright:   Amesi s.r.o.
 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

textarea {
  resize: vertical;
}

button {
  cursor: pointer;
}

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.8;
}

h1,
h2,
h3 {
  font-family: Jost, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
}

p + p {
  margin-top: 0.85em;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(100%, var(--wrap));
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip,
.skip-link {
  position: absolute;
  left: var(--pad);
  top: -100%;
  z-index: 3000;
  padding: 0.6rem 1.1rem;
  background: var(--accent);
  color: var(--accent-contrast);
  border-radius: var(--r);
  font-weight: 700;
}

.skip:focus,
.skip-link:focus {
  top: 0.65rem;
}

address {
  font-style: normal;
}

.visually-hidden,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.eyebrow,
.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead,
.hero__lead {
  color: var(--text-muted);
  max-width: 38rem;
}

.mark {
  color: var(--accent);
}

.muted,
.text-muted {
  color: var(--text-muted);
}

a,
button,
.btn,
.social a,
.pill,
.mnav__chips a,
.mnav__close,
.mnav__link,
.site-footer a {
  transition:
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 200ms ease,
    transform 180ms ease,
    filter 220ms ease;
}

.nav a::after {
  transition: transform 220ms ease;
}

.mnav-burger span {
  transition: transform 220ms ease, opacity 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
