@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/inter-cyrillic.de93fdc85e3d.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/inter-latin.260c81a4759b.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;
}

:root {
  --cream: #FEEDDA;
  --cream-50: rgba(254, 237, 218, 0.5);
  --sand: #D4B99F;
  --brown: #754C28;
  --overlay: rgba(37, 16, 8, 0.2);
  --dark: #251008;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: Inter, system-ui, sans-serif;
  background-color: var(--dark);
  color: var(--cream);
  min-height: 100svh;
  overflow-x: hidden;
}

.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;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
}

.hero__video {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero--reduced-motion .hero__video,
.hero--no-video .hero__video {
  display: none;
}

.hero--reduced-motion,
.hero--no-video {
  background-color: var(--dark);
  background-image: image-set(
    url("assets/video/poster.6d24f72c8aa4.webp") type("image/webp"),
    url("assets/video/poster.976c42c46e07.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--overlay);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 58px;
  width: 680px;
  max-width: calc(100% - 40px);
}

.hero__logo {
  width: 190px;
  height: auto;
  aspect-ratio: 190 / 73;
  display: block;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.hero__title {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -0.07em;
  color: var(--cream);
  text-align: center;
}

.hero__desc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 551px;
  max-width: 100%;
}

.hero__desc p {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.21;
  letter-spacing: -0.03em;
  color: var(--cream);
  text-align: center;
}

.hero__divider {
  display: block;
  height: 1px;
}

.hero__divider--1 {
  width: 139px;
}

.hero__divider--2 {
  width: 69.5px;
}

.hero__form {
  width: 636px;
  max-width: 100%;
}

.hero__field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 44px;
  border: 1px solid var(--sand);
  background: transparent;
  padding-left: 18px;
  border-radius: 0;
}

.hero__field:focus-within {
  border-color: var(--cream);
}

.hero__field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--cream);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.hero__field input:focus-visible {
  outline: 2px solid #FEEDDA;
  outline-offset: 2px;
}

.hero__field input::placeholder {
  color: var(--cream);
  opacity: 1;
}

.hero__field input::-webkit-input-placeholder {
  color: var(--cream);
  opacity: 1;
}

.hero__field button {
  flex-shrink: 0;
  width: 257px;
  height: 44px;
  padding: 12px 16px;
  border: none;
  border-radius: 0;
  background: linear-gradient(to right, var(--sand), var(--brown));
  font-family: Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--cream);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: filter 0.2s ease;
}

.hero__field button:hover:not(:disabled) {
  filter: brightness(1.08);
}

.hero__field button:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

.hero__field button:disabled {
  cursor: wait;
  opacity: 0.85;
}

.hero__status {
  margin-top: 10px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: var(--cream);
  text-align: center;
  min-height: 1.4em;
}

.hero__status--error {
  color: #F2B8A0;
}

.hero__consent {
  margin-top: 10px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--cream-50);
  text-align: center;
}

.hero__consent a {
  color: var(--cream-50);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 601px) and (max-width: 768px) {
  .hero__consent {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .hero__content {
    max-width: calc(100% - 48px);
  }

  .hero__title {
    font-size: 52px;
  }
}

@media (max-width: 600px) {
  .hero {
    align-items: flex-start;
    overflow: visible;
    padding: 48px 0;
    min-height: 100svh;
  }

  .hero__overlay {
    background:
      radial-gradient(ellipse at center, rgba(37, 16, 8, 0.15) 0%, transparent 70%),
      var(--overlay);
  }

  .hero__content {
    gap: 40px;
    max-width: calc(100% - 40px);
    margin: auto 0;
  }

  .hero__logo {
    width: 150px;
  }

  .hero__text {
    gap: 32px;
  }

  .hero__title {
    font-size: 36px;
    letter-spacing: -0.05em;
    line-height: 1.05;
  }

  .hero__desc p {
    font-size: 16px;
  }

  .hero__field {
    flex-direction: column;
    height: auto;
    border: none;
    padding-left: 0;
    gap: 10px;
  }

  .hero__field:focus-within {
    border-color: transparent;
  }

  .hero__field input {
    flex: none;
    width: 100%;
    height: 48px;
    min-height: 48px;
    box-sizing: border-box;
    padding: 0 16px;
    border: 1px solid var(--sand);
  }

  .hero__field:focus-within input {
    border-color: var(--cream);
  }

  .hero__field button {
    width: 100%;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }

  .hero {
    background-color: var(--dark);
    background-image: image-set(
      url("assets/video/poster.6d24f72c8aa4.webp") type("image/webp"),
      url("assets/video/poster.976c42c46e07.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero__field button {
    transition: none;
  }
}
