/*  Основа: шрифтове, нулиране, типография.  */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-greek-wght-normal.woff2) format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  font:
    14px Manrope,
    Arial,
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
h1 {
  font-size: clamp(48px, 5.8vw, 87px);
  line-height: 1.07;
  letter-spacing: -5px;
  margin: 43px 0 25px;
  font-weight: 800;
}
h2 {
  font-size: 42px;
  letter-spacing: -2px;
  line-height: 1.2;
  margin: 17px 0 25px;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}
dialog {
  border: 0;
  padding: 32px;
  background: var(--surface);
  color: var(--ink);
  max-width: 530px;
  width: calc(100% - 28px);
  max-height: 90vh;
  box-shadow: 0 20px 100px var(--shadow-3);
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
@media (max-width: 800px) {
  h1 {
    font-size: 54px;
    letter-spacing: -3px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 59px;
    margin: 25px 0 20px;
  }
  h2 {
    font-size: 34px;
  }
  dialog {
    padding: 23px;
  }
}
details {
  padding: 24px 0;
}
summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
summary:after {
  content: "+";
  font-weight: 400;
  font-size: 22px;
}
summary::-webkit-details-marker {
  display: none;
}
dialog {
  border-radius: var(--radius-8);
}
@media (max-width: 600px) {
  body {
    padding-bottom: 70px;
  }
}
body {
  background: var(--bg);
  color: var(--ink);
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline-color: var(--focus);
}
