@font-face {
  font-family: Manrope;
  src: url("../fonts/Manrope-VariableFont_wght.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
*,
::before,
::after {
  box-sizing: border-box;
}

:where(ul, ol):where([class]) {
  padding-left: 0;
}

body,
figure,
:where(blockquote, fieldset):where([class]) {
  margin: 0;
}

:where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  ul,
  ol,
  dl
):where([class]) {
  margin-block: 0;
}

:where(dd[class]) {
  margin-left: 0;
}

:where(fieldset[class]) {
  padding: 0;
  border: none;
}

:where(ul[class]) {
  list-style: none;
}

:where(address[class]) {
  font-style: normal;
}

p {
  --paragraphMarginBottom: 24px;

  margin-block: 0;
}

p:where(:not([class]):not(:last-child)) {
  margin-bottom: var(--paragraphMarginBottom);
}

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

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

html {
  height: 100%;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  line-height: 1.5;
}

a:where([class]) {
  display: inline-flex;
}

button,
label {
  cursor: pointer;
}

button {
  -webkit-tap-highlight-color: transparent;
}

:where([fill]:not(
  [fill="none"],
  [fill^="url"]
)) {
  fill: currentColor;
}

:where([stroke]:not(
  [stroke="none"],
  [stroke^="url"]
)) {
  stroke: currentColor;
}

svg * {
  transition-property: fill, stroke;
}

:where(table) {
  border-collapse: collapse;
  border-color: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:root {
  --font: Manrope, sans-serif;
  --max-width: 43rem;

  --color-bg: #0F2B59;
  --color-dark: #0D1F3D;
  --color-footer: #0A1931;
  --color-white: #fff;
  --color-muted: rgba(255, 255, 255, 0.7);
  --color-muted-soft: rgba(255, 255, 255, 0.5);
  --color-muted-faint: rgba(255, 255, 255, 0.25);
  --color-accent: #51BF1E;
  --color-btn: #FFEDC2;
  --color-btn-active: #FFE5A8;
  --color-btn-border: #7E6B3F;
  /* Тонировка рендеров и фото в сепию: слой поверх картинки в режиме «цвет». */
  --color-sepia: rgba(255, 237, 194, 0.6);
  --color-btn-text: #050B16;
  --color-steps: #253550;
  --color-error: #E01E1E;
  --color-contact: #d5d5d5;
  --color-legal: gray;
  --color-circle: rgba(11, 16, 42, 0.8);
  --color-glow: rgba(144, 238, 255, 0.1);
  --color-glow-border: rgba(144, 238, 255, 0.4);
  --color-input-border: rgba(131, 177, 237, 0.4);
  --color-input-border-focus: rgba(131, 177, 237, 0.8);
  --color-surface-soft: rgba(255, 255, 255, 0.05);
  --color-surface-input: rgba(255, 255, 255, 0.1);
  --color-surface-input-focus: rgba(255, 255, 255, 0.12);

  --duration: 0.6s;
  --duration-fast: 0.3s;
}

html {
  font-size: 10px;
  /* Без min-width: на экранах уже 390 px (iPhone SE и mini, многие Android)
     страница вылезала за экран, и Safari открывал её увеличенной. */
  height: auto;
  min-height: 100%;
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  background-color: var(--color-bg);
}

.main {
  flex: 1 0 auto;
  position: relative;
}

.main--full {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.main > :not(.circles, .header) {
  position: relative;
  z-index: 1;
}

.wrap {
  margin: 0 auto;
  padding: 0 1.6rem;
  max-width: var(--max-width);
}

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

/* Сепия, как в макете: кремовый слой поверх картинки в режиме наложения
   «цвет». isolation ограничивает смешивание самой картинкой. */
.sepia {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.sepia::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-sepia);
  mix-blend-mode: color;
  pointer-events: none;
}

.text {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 140%;
  color: var(--color-muted);
}

.circles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background-color: var(--color-circle);
  filter: blur(10rem);
  animation: circle-pulse 8s ease-in-out infinite;
}

@keyframes circle-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.7);
  }
}

.circle:nth-child(1) {
  width: 70rem;
  height: 70rem;
  top: 12rem;
  right: -70%;
}

.circle:nth-child(2) {
  width: 82rem;
  height: 82rem;
  top: 40rem;
  left: -80%;
  background-color: var(--color-glow);
}

.circle:nth-child(3) {
  width: 70rem;
  height: 70rem;
  bottom: -20rem;
  left: -70%;
}

.circle:nth-child(4) {
  width: 82rem;
  height: 82rem;
  bottom: 10rem;
  right: -80%;
  background-color: var(--color-glow);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.7rem 1.5rem;
  border-radius: 12rem;
  background-color: var(--color-dark);
  color: var(--color-white);
  white-space: nowrap;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 120%;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.btn {
  display: block;
  width: 100%;
  padding: 2.2rem;
  border: none;
  border-radius: 70rem;
  background-color: var(--color-btn);
  border-bottom: 3px solid var(--color-btn-border);
  color: var(--color-btn-text);
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 120%;
  text-align: center;
  text-decoration: none;
}

.btn:active {
  background-color: var(--color-btn-active);
}

.btn:disabled,
.btn[aria-busy="true"] {
  opacity: 0.6;
  cursor: progress;
}

[hidden] {
  display: none !important;
}

.btn-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 700;
}

.btn-start__icon {
  flex-shrink: 0;
}

@supports (interpolate-size: allow-keywords) {
  html {
    interpolate-size: allow-keywords;
  }
}

/* Реквизиты продавца в подвале всех страниц (требование банков к сайту). */
.footer__seller {
  margin: 1.6rem 0 0;
  font-size: 1.3rem;
  line-height: 150%;
  color: var(--color-legal);
}
