:root {
  --color-bg: #05070a;
  --color-bg-darker: #e1e3e6;
  --color-contrast-lower: #111827;
  --color-contrast-low: #314052;
  --color-contrast-medium: #85868b;
  --color-contrast-high: #4a4b50;
  --color-contrast-higher: #f6f8fb;
  --color-primary: #00bbcd;
  --color-accent: #c8ff31;
  --font-primary: Inter, "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Open Sans", Inter, system-ui, sans-serif;
  --body-line-height: 1.8;
  --heading-line-height: 1.2;
  --main-header-height: 80px;
  --main-header-height-md: 120px;
  --enverion-wide: min(calc(100vw - 200px), 1240px);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html.fsm-opened {
  overflow: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-contrast-higher);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: var(--body-line-height);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.admin-bar .main-header__layout {
  top: 32px;
}

article,
aside,
footer,
header,
main,
nav,
section {
  display: block;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
[role="button"] {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.col,
.col-12,
.col-md-6 {
  position: relative;
  width: 100%;
  min-height: 1px;
}

.col {
  flex: 1 0 0%;
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 782px) {
  body.admin-bar .main-header__layout {
    top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

