@import url("https://fonts.googleapis.com/css2?family=Forum&family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;500;600&display=swap");

:root {
  --deep: #030e1f;
  --deep-soft: #071529;
  --gold: #f8ecb3;
  --gold-soft: #fff7d2;
  --gold-line: rgba(248, 236, 179, 0.35);
  --text: #040404;
  --muted: rgba(4, 4, 4, 0.8);
  --content: 1100px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: #fff;
  background: var(--deep);
  font-family: "Montserrat", Arial, sans-serif;
}

body.nav-open {
  overflow: hidden;
}

body.popup-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

.page-shell {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fffffd;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 32px), var(--content));
  transform: translateX(-50%);
  padding: 16px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 21px;
  height: 20px;
  border-radius: 5px;
  background:
    center / cover no-repeat url("https://con.xl.ru/jLdvFS9X2UqmCxo_fOj78Q/images/CuR-igL7ckC70tht05EKyA.png"),
    linear-gradient(318deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold) 100%);
}

.brand-text {
  font-family: "Forum", Georgia, serif;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0.5px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex: 1;
}

.site-nav a {
  color: #e5e7eb;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(248, 236, 179, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.social-links svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
}

.section-inner {
  width: min(calc(100% - 100px), var(--content));
  margin: 0 auto;
}

.welcome-page {
  flex: 1;
  color: var(--text);
  background: #fffffd;
}

.hero-section {
  position: relative;
  min-height: 600px;
  padding: 112px 0 60px;
  color: #fff;
  background: linear-gradient(90deg, #0b1526 0%, #0f1728 38%, #131c2b 68%, #182130 100%);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: min(1200px, 100%);
  transform: translateX(-50%);
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)),
    url("https://con.xl.ru/jLdvFS9X2UqmCxo_fOj78Q/images/FgAHmerNUke0wAOpC-3pWw.png") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.82) 7%, #000 14%, #000 86%, rgba(0, 0, 0, 0.82) 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.82) 7%, #000 14%, #000 86%, rgba(0, 0, 0, 0.82) 93%, transparent 100%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
      linear-gradient(90deg, rgba(3, 14, 31, 0.84) 0%, rgba(3, 14, 31, 0.58) 34%, rgba(3, 14, 31, 0.22) 62%, rgba(3, 14, 31, 0.08) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 534px;
  align-items: start;
  gap: 38px;
}

.hero-copy h1 {
  max-width: 484px;
  margin: 48px 0 12px;
  color: var(--gold);
  font-family: "Forum", Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-text {
  max-width: 593px;
  margin: 0 0 22px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 1.2;
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-points li {
  display: grid;
  grid-template-columns: 41px 1fr;
  align-items: center;
  gap: 8px;
}

.hero-points img {
  width: 41px;
  height: 42px;
  object-fit: contain;
}

.hero-points span {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.hero-emphasis {
  margin: 18px 0 0;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.hero-video-card {
  position: relative;
  margin-top: 48px;
  align-self: end;
  border-radius: 20px;
  box-shadow: 0 0 20px 2px rgba(248, 236, 179, 0.5);
}

.hero-video-image {
  width: 100%;
  aspect-ratio: 534 / 367;
  object-fit: cover;
}

.play-button {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(3, 14, 31, 0.72);
  border-radius: 50%;
  background: rgba(255, 247, 210, 0.2);
  backdrop-filter: blur(2px);
  isolation: isolate;
  box-shadow:
    0 0 0 0 rgba(248,236,179,.2),
    0 0 0 1px rgba(3, 14, 31, 0.22),
    inset 0 0 0 1px rgba(255,255,255,.04);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
  animation: playButtonBreath 3.2s ease-in-out infinite;
  cursor: pointer;
}

.play-button::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 19px;
  top: 15px;
  border-left: 14px solid #0b1324;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.35));
  transition: transform var(--transition), filter var(--transition);
}

.play-button::after {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: inherit;
  background:
    conic-gradient(from 120deg, transparent 0deg, rgba(248,236,179,.1) 62deg, rgba(248,236,179,.95) 98deg, rgba(255,247,210,.88) 122deg, rgba(15,240,252,.24) 146deg, transparent 190deg, transparent 360deg);
  opacity: .92;
  filter: blur(.4px);
  animation: playButtonRing 5.8s linear infinite;
  mask: radial-gradient(circle, transparent 0 58%, #000 61%);
  -webkit-mask: radial-gradient(circle, transparent 0 58%, #000 61%);
}

.play-button:hover,
.play-button:focus-visible {
  transform: translate(-50%, -50%) translateY(-2px) scale(1.06);
  border-color: rgba(3, 14, 31, 0.86);
  background: rgba(255,247,210,.28);
  box-shadow: 0 0 34px rgba(248,236,179,.26), 0 14px 34px rgba(0,0,0,.24), 0 0 0 1px rgba(3, 14, 31, 0.28);
}

.play-button:hover::before,
.play-button:focus-visible::before {
  transform: translateX(1px) scale(1.06);
  filter: drop-shadow(0 0 14px rgba(255,255,255,.42));
}

@keyframes playButtonBreath {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(248,236,179,.28),
      0 0 22px rgba(248,236,179,.14),
      0 0 0 1px rgba(3, 14, 31, 0.22),
      inset 0 0 0 1px rgba(255,255,255,.04);
  }

  52% {
    box-shadow:
      0 0 0 16px rgba(248,236,179,0),
      0 0 38px rgba(248,236,179,.34),
      0 0 56px rgba(255,247,210,.16),
      0 0 0 1px rgba(3, 14, 31, 0.3),
      inset 0 0 0 1px rgba(255,255,255,.08);
  }
}

@keyframes playButtonRing {
  to {
    transform: rotate(360deg);
  }
}

.video-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.video-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.video-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 14, 0.78);
  backdrop-filter: blur(10px);
}

.video-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  overflow: hidden;
  background: #05080d;
  box-shadow: 0 28px 90px rgba(0,0,0,.5);
}

.video-popup__dialog iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.video-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(5,8,13,.64);
  color: #fff;
  cursor: pointer;
}

.video-popup__close::before,
.video-popup__close::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 18px;
  width: 16px;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
}

.video-popup__close::before {
  transform: rotate(45deg);
}

.video-popup__close::after {
  transform: rotate(-45deg);
}

.reasons-section {
  position: relative;
  padding: 56px 0 72px;
  background: #fffffd;
  overflow: hidden;
}

.reasons-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 144px;
  bottom: 0;
  z-index: 0;
  width: min(1200px, 100%);
  transform: translateX(-50%);
  background: url("https://con.xl.ru/jLdvFS9X2UqmCxo_fOj78Q/images/6KiJWjKILkOQhCVlwLp5tQ.png") center top / 100% auto no-repeat;
  pointer-events: none;
}

.reasons-section h2 {
  margin: 0 0 28px;
  color: var(--text);
  font-family: "Forum", Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.reasons-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  grid-template-areas:
    "copy visuals"
    "bottom-visual side";
  gap: 18px 20px;
  align-items: start;
}

.reasons-copy,
.reasons-side {
  display: grid;
  gap: 24px;
}

.reasons-copy {
  grid-area: copy;
  max-width: 430px;
}

.reasons-visuals {
  grid-area: visuals;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 340px;
}

.reasons-bottom-visual {
  grid-area: bottom-visual;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 330px;
}

.reason-visual {
  position: relative;
  object-fit: contain;
}

.reason-visual--top {
  width: min(100%, 600px);
  margin-right: -18px;
  margin-top: 6px;
}

.reason-visual--bottom {
  width: 556px;
  height: 323px;
  margin-left: 2px;
  margin-top: 6px;
}

.reason-card {
  color: var(--muted);
}

.reason-card h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.reason-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.reason-card--small {
  max-width: 420px;
  padding-left: 0;
}

.reasons-side {
  grid-area: side;
  margin-top: 16px;
  margin-left: 172px;
}

.choice-section {
  position: relative;
  min-height: 663px;
  padding: 60px 0 72px;
  color: #fff;
  background: #030e1f;
  overflow: hidden;
}

.choice-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(1200px, 100%);
  transform: translateX(-50%);
  background: url("https://con.xl.ru/jLdvFS9X2UqmCxo_fOj78Q/images/O9md2Z0rgUmFPSP5EVjmNw.png") center top / 100% auto no-repeat;
  pointer-events: none;
}

.choice-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.choice-inner h2 {
  max-width: 758px;
  margin: 0 0 14px;
  color: var(--gold);
  font-family: "Forum", Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.choice-subtitle {
  max-width: 727px;
  margin: 0 0 20px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.choice-callout {
  margin: 0 0 22px;
  color: var(--gold);
  font-family: "Forum", Georgia, serif;
  font-size: 32px;
  line-height: 1.2;
}

.choice-visual-wrap {
  position: relative;
  width: min(100%, 468px);
  min-height: 214px;
  margin-bottom: 10px;
}

.choice-glow {
  position: absolute;
  width: 138px;
  height: 138px;
  left: 362px;
  top: 124px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(243, 224, 105, 0.92) 0%, rgba(243, 224, 105, 0.62) 42%, rgba(243, 224, 105, 0.18) 72%, rgba(243, 224, 105, 0) 100%);
  filter: blur(26px);
  transform: translate(-50%, -50%);
}

.choice-visual-main {
  display: none;
}

.choice-visual-choice {
  position: absolute;
  width: 123px;
  height: 141px;
  left: 300px;
  top: 54px;
}

.choice-visual-sleep {
  position: absolute;
  width: 98px;
  height: 192px;
  left: 48px;
  top: 42px;
}

.choice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, 468px);
}

.gold-button,
.choice-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 4px 16px;
  border-radius: 10px;
  font-family: "Forum", Georgia, serif;
  font-size: 24px;
  line-height: 1.05;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.gold-button {
  color: #040404;
  background: linear-gradient(318deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold) 100%);
}

.gold-button:hover,
.gold-button:focus-visible,
.choice-button:hover,
.choice-button:focus-visible {
  transform: translateY(-1px);
}

.gold-button span {
  width: 49px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(270deg, #ffed97 0%, #fff5c7 50%, #ffed97 100%);
}

.gold-button span img {
  width: 28px;
  height: auto;
}

.choice-button--ghost {
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(248, 236, 179, 0.12);
}

.site-footer {
  width: 100%;
  padding: 40px max(24px, calc((100vw - 1200px) / 2 + 89px)) 40px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  color: rgba(255, 255, 255, 0.9);
  background: #000204;
}

.site-footer__brand {
  display: grid;
  gap: 8px;
}

.brand--footer .brand-text {
  color: #fff;
}

.site-footer__brand p,
.site-footer__links a {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.site-footer__links {
  max-width: 525px;
  display: grid;
  gap: 4px;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--gold);
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 470px;
  }

  .reasons-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visuals"
      "side"
      "bottom-visual";
    gap: 26px;
  }

  .reasons-copy,
  .reasons-side {
    max-width: 720px;
  }

  .reasons-copy {
    max-width: 640px;
  }

  .reasons-visuals,
  .reasons-bottom-visual {
    min-height: auto;
    justify-content: center;
  }

  .reason-visual {
    position: relative;
  }

  .reason-visual--top {
    width: min(100%, 640px);
    margin: 0 auto;
  }

  .reason-visual--bottom {
    width: min(100%, 620px);
    height: auto;
    max-width: 620px;
    margin: 0 auto;
  }

  .reasons-side {
    margin-top: 0;
    margin-left: 0;
  }

  .reasons-section::before {
    top: 120px;
    background-size: cover;
  }

  .site-footer {
    padding-inline: 32px;
  }
}

@media (max-width: 980px) {
  .section-inner {
    width: min(calc(100% - 48px), var(--content));
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    margin-top: 24px;
  }

  .hero-video-card {
    margin-top: 0;
    max-width: 534px;
  }

  .choice-visual-wrap {
    width: min(100%, 400px);
    min-height: 176px;
  }

  .choice-glow {
    width: 152px;
    height: 152px;
    left: 288px;
    top: 112px;
    filter: blur(34px);
  }

  .choice-visual-choice {
    width: 152px;
    height: auto;
    left: 228px;
    top: 34px;
  }

  .choice-visual-sleep {
    width: 82px;
    height: auto;
    left: 44px;
    top: 40px;
  }

  .choice-section::before {
    background-position: center 36px;
    background-size: cover;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 780px) {
  .site-header {
    top: 8px;
    width: min(calc(100% - 28px), var(--content));
    padding: 16px 19px;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 28px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-left: auto;
    padding: 0;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-toggle span {
    width: 18px;
    height: 1.5px;
    border-radius: 99px;
    background: currentColor;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .social-links {
    display: none;
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    padding-top: 4px;
  }

  .site-nav.is-open + .social-links,
  .site-header:has(.site-nav.is-open) .social-links {
    display: flex;
  }

  .section-inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .hero-section {
    min-height: auto;
    padding: 112px 0 48px;
  }

  .choice-section {
    min-height: auto;
  }

  .choice-section::before {
    top: 0;
    bottom: 0;
    width: 100%;
    background-position: center center;
    background-size: cover;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-text,
  .hero-emphasis {
    font-size: 18px;
  }

  .reasons-section h2,
  .choice-inner h2 {
    font-size: 32px;
  }

  .reasons-copy,
  .reasons-side {
    max-width: none;
  }

  .reasons-section::before {
    top: 104px;
    bottom: 0;
    width: 100%;
    background-position: center top;
    background-size: cover;
  }

  .reason-card--small {
    padding-left: 0;
    max-width: none;
  }

  .reason-card h3 {
    margin-bottom: 10px;
  }

  .reason-card p {
    font-size: 15px;
    line-height: 1.24;
  }

  .reason-visual--top,
  .reason-visual--bottom {
    width: 100%;
    max-width: none;
  }

  .reasons-visuals,
  .reasons-bottom-visual {
    justify-content: flex-start;
  }

  .choice-callout {
    font-size: 28px;
  }

  .choice-actions {
    width: 100%;
    flex-direction: column;
  }

  .choice-visual-wrap {
    width: min(100%, 280px);
    min-height: 180px;
    margin-bottom: 16px;
  }

  .choice-glow {
    width: 118px;
    height: 118px;
    left: 202px;
    top: 102px;
    filter: blur(28px);
  }

  .choice-visual-choice {
    width: 114px;
    left: 142px;
    top: 42px;
  }

  .choice-visual-sleep {
    width: 72px;
    left: 18px;
    top: 26px;
  }

  .gold-button,
  .choice-button {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-points li {
    grid-template-columns: 32px 1fr;
  }

  .hero-points img {
    width: 32px;
  }

  .hero-points span,
  .reason-card p {
    font-size: 15px;
  }

  .reason-card h3 {
    font-size: 18px;
  }

  .reasons-section,
  .choice-section {
    padding-block: 48px;
  }

  .choice-visual-wrap {
    width: min(100%, 276px);
    min-height: 174px;
  }

  .choice-visual-choice {
    width: 104px;
    height: auto;
    left: 148px;
    top: 46px;
  }

  .choice-visual-sleep {
    width: 68px;
    height: auto;
    left: 14px;
    top: 28px;
  }

  .choice-glow {
    width: 104px;
    height: 104px;
    left: 198px;
    top: 98px;
    filter: blur(24px);
  }

  .choice-section::before {
    background-position: center 58%;
    background-size: cover;
  }

  .gold-button,
  .choice-button {
    font-size: 21px;
  }

  .site-footer {
    padding: 36px 20px;
  }
}
