@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-tight-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --u: clamp(0.72px, min(100vw / 1440, 100vh / 960), 1.5px);
  --night: #0f1626;
  --ink: #f4f6fa;
  --pill: #2a3245;
  --lime: #c6ff2e;
  --cyan: #3fd8ff;
  --paper: #f0f0ee;
  --chip: #ededed;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: #111827;
  font-family: "Inter Tight", "Segoe UI", sans-serif;
  font-synthesis: weight;
  overflow-x: hidden;
}
a { color: inherit; }
button, input { font: inherit; }
img, video { max-width: 100%; }

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--paper);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(240, 240, 238, 0.94) 0%, rgba(240, 240, 238, 0.55) 28%, rgba(240, 240, 238, 0.08) 58%, rgba(240, 240, 238, 0) 100%);
  pointer-events: none;
}
.hero-front {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.topnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 16px 0;
}
.logo-btn, .menu-pill {
  background: #ededed;
  display: flex;
  align-items: center;
}
.logo-btn {
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  flex: 0 0 auto;
  text-decoration: none;
}
.menu-pill {
  gap: 16px;
  border-radius: 12px;
  padding: 10px 16px;
}
.menu-pill a {
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}
.menu-pill a:hover { color: #111827; }
.hero-copy {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 0 24px 40px;
}
.hero-copy-inner { max-width: 22rem; }
.badge, .cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 500;
}
.badge {
  margin-bottom: 12px;
  font-size: 11.5px;
  color: #3b82f6;
  transition: color 0.2s;
}
.badge:hover { color: #2563eb; }
.hero h1 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #111827;
}
.hero-lead {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 400;
  color: #9ca3af;
}
.cta {
  margin-bottom: 12px;
  font-size: 13px;
  color: #3b82f6;
  border: 1px solid #60a5fa;
  border-radius: 999px;
  padding: 10px 20px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.cta:hover {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}
.arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.badge:hover .arrow, .cta:hover .arrow { transform: translateX(0.125rem); }
.hero-price { margin: 14px 0 0; font-size: 13px; color: #6b7280; }
.hero-price s { color: #9ca3af; margin-right: 8px; }
.hero-price strong { color: #111827; font-size: 18px; font-weight: 600; }
.hero-price span { display: block; margin-top: 4px; }

.track { height: 420vh; background: var(--night); }
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--night);
}
#city {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}
.shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.shade-top { background: linear-gradient(to bottom, rgba(15, 22, 38, 0.55), rgba(15, 22, 38, 0) 34%); }
.shade-bottom { background: linear-gradient(to top, rgba(15, 22, 38, 0.5), rgba(15, 22, 38, 0) 30%); }

.scene-ui { visibility: hidden; }
body.scene-on .scene-ui { visibility: visible; }
.night-nav, .stage, .cue, .steps { pointer-events: none; }
body.scene-on .night-nav, body.scene-on .night-nav a { pointer-events: auto; }

.night-nav {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--u) * 58);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 calc(var(--u) * 28);
  color: var(--ink);
  font-family: "Inter Tight", "Segoe UI", sans-serif;
}
.night-links, .night-actions { display: flex; align-items: center; gap: calc(var(--u) * 22); }
.night-actions { justify-content: flex-end; }
.night-links a, .cue {
  font-size: calc(var(--u) * 11.5);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(244, 246, 250, 0.72);
}
.wordmark {
  font-size: calc(var(--u) * 19);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--u) * 40);
  padding: 0 calc(var(--u) * 18);
  border-radius: 999px;
  text-decoration: none;
  font-size: calc(var(--u) * 11.5);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.2s;
}
.pill:hover { transform: translateY(-1px); }
.pill-grey { background: var(--pill); color: var(--ink); }
.pill-lime { background: var(--lime); color: #142000; }

.stage {
  position: fixed;
  z-index: 25;
  left: 0;
  right: 0;
  top: calc(var(--u) * 92);
  display: flex;
  justify-content: center;
  perspective: calc(var(--u) * 900);
  font-family: "Inter Tight", "Segoe UI", sans-serif;
}
.headline {
  width: min(920px, calc(100% - 48px));
  text-align: center;
  transform-origin: center bottom;
  color: var(--ink);
}
.headline h2 {
  margin: 0;
  font-size: calc(var(--u) * 84);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.headline p {
  margin: calc(var(--u) * 18) auto 0;
  max-width: 46rem;
  font-size: calc(var(--u) * 18);
  font-weight: 400;
  line-height: 1.35;
  color: rgba(244, 246, 250, 0.72);
}
.cue {
  position: fixed;
  z-index: 25;
  left: 0;
  right: 0;
  bottom: calc(var(--u) * 36);
  text-align: center;
  font-family: "Inter Tight", "Segoe UI", sans-serif;
}
.cue i {
  display: inline-block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  font-style: normal;
  transform-origin: left center;
}
.steps {
  position: fixed;
  z-index: 26;
  left: calc(var(--u) * 36);
  bottom: calc(var(--u) * 28);
  width: calc(var(--u) * 430);
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Inter Tight", "Segoe UI", sans-serif;
}
.step {
  display: grid;
  grid-template-columns: calc(var(--u) * 36) 1fr;
  column-gap: calc(var(--u) * 12);
  margin: 0 0 calc(var(--u) * 8);
}
.num {
  width: calc(var(--u) * 36);
  height: calc(var(--u) * 36);
  display: grid;
  place-items: center;
  font-size: calc(var(--u) * 12.5);
  font-weight: 600;
  color: rgba(244, 246, 250, 0.72);
}
.step.is-active .num {
  background: #fff;
  color: var(--night);
  border-radius: calc(var(--u) * 8);
}
.step h3 {
  margin: calc(var(--u) * 8) 0 0;
  font-size: calc(var(--u) * 12.5);
  font-weight: 500;
  color: rgba(244, 246, 250, 0.72);
}
.step.is-active h3 {
  font-size: calc(var(--u) * 18);
  font-weight: 600;
  color: #fff;
}
.fold {
  grid-column: 2;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
}
.step.is-active .fold { grid-template-rows: 1fr; }
.fold p {
  min-height: 0;
  overflow: hidden;
  margin: calc(var(--u) * 8) 0 0;
  padding-left: calc(var(--u) * 12);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(244, 246, 250, 0.72);
  font-size: calc(var(--u) * 14);
  line-height: 1.45;
  font-weight: 400;
}

.loader {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: var(--night);
  transition: opacity 0.6s ease;
}
.loader.is-done { opacity: 0; pointer-events: none; }
.orbits { position: relative; width: 220px; height: 140px; }
.orbits::before, .orbits::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1.5px dotted rgba(63, 216, 255, 0.85);
  border-radius: 50%;
}
.orbits::before { width: 200px; height: 78px; margin: -39px 0 0 -100px; }
.orbits::after { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
.mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  animation: spin 1.6s ease infinite;
}
.mark b {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px;
  background: var(--cyan);
}
.mark b:nth-child(1) { transform: rotate(0deg) translateY(-28px); }
.mark b:nth-child(2) { transform: rotate(60deg) translateY(-28px); }
.mark b:nth-child(3) { transform: rotate(120deg) translateY(-28px); }
.mark b:nth-child(4) { transform: rotate(180deg) translateY(-28px); }
.mark b:nth-child(5) { transform: rotate(240deg) translateY(-28px); }
.mark b:nth-child(6) { transform: rotate(300deg) translateY(-28px); }
.mark i {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -2px 0 0 -6px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}
@keyframes spin { to { transform: rotate(360deg); } }

.sheet {
  position: relative;
  z-index: 3;
  background: var(--paper);
  padding: 72px 20px 40px;
}
.sheet-inner { max-width: 880px; margin: 0 auto; }
.sheet h2 {
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.muted { color: #6b7280; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; padding: 0; list-style: none; }
.chips li {
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  color: #374151;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}
.card {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
}
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card ul, .card ol { margin: 0; padding-left: 18px; color: #374151; line-height: 1.5; }
.card li + li { margin-top: 8px; }
.deal s { color: #9ca3af; font-size: 18px; margin-right: 8px; }
.deal strong { font-size: 40px; letter-spacing: -0.04em; }
.deal-note { font-size: 13px; color: #6b7280; }
.seller {
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
  line-height: 1.5;
  color: #4b5563;
}
label { display: block; margin: 12px 0 6px; font-size: 13px; font-weight: 600; }
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
}
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 13px; font-weight: 400; line-height: 1.45; color: #374151; }
.check input { margin-top: 3px; }
.hp { position: absolute; left: -9999px; }
.pay-btn {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  background: #2563eb;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.pay-btn:disabled { opacity: 0.55; cursor: wait; }
.form-error { min-height: 1.2em; color: #b91c1c; font-size: 13px; }
.partner { font-size: 13px; word-break: break-word; }
.partner a { color: #2563eb; }
.site-footer {
  padding: 28px 20px 48px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
}
.site-footer .sheet-inner { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.site-footer a { color: #374151; }

.cookie {
  position: fixed;
  z-index: 40;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 560px;
  background: #111827;
  color: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.45;
}
.cookie button {
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  cursor: pointer;
}
.cookie a { color: #93c5fd; }

@media (min-width: 640px) {
  .topnav { gap: 12px; padding: 24px 32px 0; }
  .logo-btn { width: 44px; height: 44px; }
  .menu-pill { gap: 40px; padding: 12px 32px; }
  .menu-pill a { font-size: 14px; }
  .hero-copy { padding: 0 48px 64px; }
  .hero h1 { font-size: 1.75rem; }
}
@media (min-width: 1024px) {
  .hero-copy { padding: 0 80px 80px; }
}
@media (max-width: 800px) {
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --u: 1px; }
  .night-links { display: none; }
  .night-nav { grid-template-columns: auto 1fr; }
  .wordmark { justify-self: start; }
  .pill { height: 34px; }
  .stage { top: 96px; }
  .headline h2 { font-size: clamp(38px, 11vw, 48px); }
  .headline p { font-size: 15px; max-width: 34ch; }
  .steps { left: 18px; right: 18px; width: auto; bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mark { animation: none; }
  .fold, .loader, .pill, .cta, .arrow, .menu-pill a { transition: none; }
}
