* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #101112;
  --white: #f2efe9;
  --gray: #999692;

  --accent: #d8c900;
  --accent-on-dark: #f5e642;
  --accent-on-light: #7b7300;

  --accent-soft-dark: rgba(245, 230, 66, 0.12);
  --accent-soft-light: rgba(123, 115, 0, 0.08);

  --sand: #c8ba2b;
  --blue: #b5a800;
  --violet: #9d9100;
  --pink: #d2c544;

  --line: rgba(242, 239, 233, 0.14);
  --line-strong: rgba(242, 239, 233, 0.3);

  --display: "Jura", Arial, sans-serif;
  --text: "Golos Text", Arial, sans-serif;

  --header-height: 88px;
  --container-max: 2200px;

  --fs-h1: 64px;
  --fs-h2: 52px;
  --fs-h3: 28px;

  --fs-body-lg: 18px;
  --fs-body: 16px;
  --fs-body-sm: 14px;
  --fs-meta: 12px;

  --lh-h1: 1.02;
  --lh-h2: 1.06;
  --lh-h3: 1.18;
  --lh-body: 1.62;
  --lh-small: 1.55;
}

html {
  scroll-behavior: auto;
  scroll-snap-type: none;
  background: var(--bg);
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  background: var(--bg);
  color: var(--white);
  font-family: var(--text);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.container {
  width: calc(100vw - 80px);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

button,
input,
textarea,
select {
  font-family: var(--text);
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

.uiArrow {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  overflow: visible;
}

.uiArrow path {
  stroke: currentColor;
}

.uiArrow--right,
.uiArrow--left {
  width: 18px;
  height: 18px;
}

.uiArrow--nav {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
  margin-bottom: 0;
}

h1 {
  font-family: var(--display);
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: var(--lh-h1);
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

h2 {
  font-family: var(--display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: var(--lh-h2);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

h3 {
  font-family: var(--display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh-h3);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

@media (max-width: 1700px) {
  :root {
    --fs-h1: 60px;
    --fs-h2: 50px;
    --fs-h3: 27px;
  }
}

@media (max-width: 1500px) {
  :root {
    --fs-h1: 58px;
    --fs-h2: 48px;
    --fs-h3: 26px;
  }
}

@media (max-width: 1440px) {
  :root {
    --fs-h1: 56px;
    --fs-h2: 46px;
    --fs-h3: 26px;
  }

  .container {
    width: calc(100vw - 60px);
  }
}

@media (max-width: 1200px) {
  :root {
    --fs-h1: 48px;
    --fs-h2: 42px;
    --fs-h3: 24px;
    --fs-body-lg: 17px;
  }

  .container {
    width: calc(100vw - 40px);
  }

  body {
    overscroll-behavior-y: auto;
  }
}

@media (max-width: 1180px) {
  :root {
    --fs-h1: 46px;
    --fs-h2: 40px;
    --fs-h3: 23px;
  }
}

@media (max-width: 900px) {
  :root {
    --fs-h1: 42px;
    --fs-h2: 36px;
    --fs-h3: 22px;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 68px;
    --mobile-slope: 76px;
    --fs-h1: 36px;
    --fs-h2: 32px;
    --fs-h3: 20px;
    --fs-body-lg: 16px;
  }

  .container {
    width: calc(100vw - 20px);
  }
}

@media (max-width: 560px) {
  :root {
    --fs-h1: 34px;
    --fs-h2: 30px;
    --fs-h3: 19px;
  }
}

@media (max-width: 480px) {
  :root {
    --mobile-slope: 62px;
    --fs-h1: 32px;
    --fs-h2: 28px;
    --fs-h3: 18px;
  }
}

@media (max-width: 380px) {
  :root {
    --fs-h1: 30px;
    --fs-h2: 26px;
    --fs-h3: 18px;
  }
}

@media (min-width: 1201px) and (max-height: 860px) {
  :root {
    --fs-h1: 54px;
    --fs-h2: 44px;
    --fs-h3: 24px;
    --fs-body-lg: 17px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}


/* Базовая типографика для стандартного WordPress the_content(). */
.page>article {
  width: 100%;
  padding: calc(var(--header-height) + 70px) 0 96px;
}

.page-content {
  max-width: 920px;
  margin-top: 36px;
}

.page-content>*+* {
  margin-top: 1.2em;
}

.page-content ul,
.page-content ol {
  padding-left: 1.35em;
}

.page-content ul {
  list-style: disc;
}

.page-content ol {
  list-style: decimal;
}

.page-content li+li {
  margin-top: 0.45em;
}

.page-content a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.page-content img {
  margin-top: 1.6em;
  margin-bottom: 1.6em;
}