:root {
  --bg: #fafafa;
  --ink: #1a192b;
  --muted: #6b7280;
  --line: #e5e7eb;
  --dark: #1a192b;
  --yellow: #feda77;
  --orange: #f58529;
  --pink: #dd2a7b;
  --telegram: #29a9ea;
  --max: 1296px;
}

* { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.page { overflow: hidden; }

.section {
  padding: 24px 20px;
}

.container {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  color: #fff;
  background: radial-gradient(circle at 50% 35%, #22124a, #030712 68%);
  padding: 34px 20px 40px;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 7, 18, .98), rgba(7, 12, 29, .91) 42%, rgba(10, 15, 30, .66) 78%, rgba(10, 15, 30, .13));
  pointer-events: none;
}

.nav {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.8);
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.hero-subtop {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.4;
  max-width: 330px;
}

h1, h2, h3, p { margin: 0; }

h1 {
  max-width: 820px;
  font-size: clamp(40px, 11vw, 58px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.04em;
}

.hero-lead {
  max-width: 620px;
  color: #f1f5f9;
  font-size: 18px;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 999px;
  border: 0;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-instagram {
  color: var(--ink);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--yellow), var(--orange) 22%, var(--pink) 61%, #000) border-box;
  border: 3px solid transparent;
  box-shadow: 0 0 0 3px #fff;
}

.btn-telegram {
  color: #fff;
  background: var(--telegram);
  box-shadow: 0 14px 28px rgba(41,169,234,.28);
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 32px;
}

.scenario-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  border-radius: 14px;
  color: #fff;
  border: 1px solid rgba(254,218,119,.55);
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
}

.scenario-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #000;
  border: 1px solid rgba(255,150,3,.65);
}

.scenario-card h3 {
  font-size: 24px;
  line-height: 1.15;
}

.scenario-card p {
  color: rgba(255,255,255,.9);
  line-height: 1.45;
}

.value {
  padding-top: 36px;
  padding-bottom: 40px;
}

.center-head {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.center-head h2 {
  max-width: 920px;
  font-size: clamp(27px, 6vw, 38px);
  line-height: 1.14;
  letter-spacing: -.025em;
}

.center-head p {
  color: var(--muted);
  line-height: 1.5;
}

.start-title {
  margin-top: 28px;
  text-align: center;
  font-size: clamp(24px, 5vw, 32px);
  line-height: 1.1;
}

.start-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
  padding: 0;
}

.step-card,
.benefit-card {
  min-height: 154px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
}

.bar {
  width: 32px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 12px;
  background: #000;
}

.step-card h3,
.benefit-card h3 {
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.step-card p,
.benefit-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.benefits {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.benefit-card {
  min-height: 0;
  border-color: var(--line);
}

.final {
  padding-top: 20px;
  padding-bottom: 20px;
}

.final-box {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px 18px;
  border-radius: 20px;
  color: #fff;
  background: var(--dark);
  text-align: center;
}

.final-box h2 {
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.1;
}

.final-box p {
  color: #e2e8f0;
  line-height: 1.35;
}

.form-row {
  display: grid;
  width: min(100%, 420px);
  gap: 12px;
}

.input {
  display: flex;
  align-items: center;
  min-height: 50px;
  width: 100%;
  padding: 14px;
  border: 1px solid #334155;
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  font-weight: 500;
  text-align: left;
  font: inherit;
  outline: none;
}

.input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(254, 218, 119, .2);
}

.form-status {
  min-height: 18px;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.35;
}

.form-status.error {
  color: #fecaca;
}

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

.privacy {
  color: #94a3b8 !important;
  font-size: 12px;
}

.founders {
  padding-top: 20px;
  padding-bottom: 28px;
}

.founders h2 {
  text-align: center;
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.founders-card {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--orange);
  border-radius: 20px;
  background: #fff;
}

.photo-collage {
  position: relative;
  min-height: 245px;
}

.photo-card {
  position: absolute;
  overflow: hidden;
  border-radius: 18px;
  background: #e9d5ff center / cover no-repeat;
  box-shadow: 0 18px 34px rgba(96,165,250,.18);
}

.photo-card:first-child {
  left: 20px;
  top: 28px;
  width: 124px;
  height: 150px;
  transform: rotate(-6deg);
  background-image: url("katya.jpeg");
  border: 1px solid #ddd6fe;
}

.photo-card:nth-child(2) {
  left: 132px;
  top: 14px;
  width: 136px;
  height: 162px;
  transform: rotate(5deg);
  background-image: url("ivan.jpeg");
  border: 1px solid #bfdbfe;
}

.founders-copy {
  display: grid;
  gap: 14px;
}

.founders-copy h3 {
  font-size: 22px;
  line-height: 1.18;
  white-space: pre-line;
}

.founders-copy p {
  color: #475569;
  font-size: 15px;
  line-height: 1.5;
  white-space: pre-line;
}

.footer {
  width: min(100%, var(--max));
  margin: 18px auto 0;
  padding: 18px 20px 24px;
  border-top: 1px solid var(--line);
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
  display: grid;
  gap: 16px;
}

.footer h3 {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 6px;
}

.footer-grid {
  display: grid;
  gap: 16px;
}

.footer-actions {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.footer-copy {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
}

.footer-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(26, 25, 43, 0.25);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}

.footer-link:hover {
  color: var(--telegram);
  text-decoration-color: var(--telegram);
}

.tg-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--telegram);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(41, 169, 234, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  z-index: 100;
}

.tg-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(41, 169, 234, 0.45), 0 3px 8px rgba(0, 0, 0, 0.15);
}

.tg-fab svg {
  width: 28px;
  height: 28px;
}

@media (min-width: 768px) {
  .tg-fab {
    right: 32px;
    bottom: 32px;
    width: 64px;
    height: 64px;
  }
  .tg-fab svg {
    width: 32px;
    height: 32px;
  }
}

.legal-btn {
  min-height: 40px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(15,23,42,.07);
  font-size: 13px;
  font-weight: 700;
}

.reviews {
  padding-top: 24px;
  padding-bottom: 28px;
}

.reviews h2 {
  text-align: center;
  font-size: clamp(24px, 6vw, 36px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.review-shell {
  display: grid;
  gap: 14px;
}

.review-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.review-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.review-shot {
  padding: 14px;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
}

.review-bubble {
  display: grid;
  gap: 8px;
  padding: 12px;
  margin-top: 10px;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  font-size: 12px;
}

.review-text {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 16px;
}

.quote {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.22;
}

.author {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
}

.summary {
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.review-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.arrow-group {
  display: flex;
  gap: 8px;
}

.circle-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.circle-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.circle-btn:active { transform: scale(0.95); }

.circle-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.dot:hover { transform: scale(1.2); }
.dot.active { background: var(--orange); }

.timeline {
  padding-top: 24px;
  padding-bottom: 40px;
}

.timeline h2 {
  text-align: center;
  font-size: clamp(24px, 6vw, 36px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.timeline-scene {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid #1e293b;
  border-radius: 22px;
  background:
    radial-gradient(circle at 22% 22%, rgba(49,46,129,.34), transparent 44%),
    radial-gradient(circle at 82% 32%, rgba(14,165,233,.32), transparent 38%),
    linear-gradient(180deg, #050816, #0b1120 55%, #111827);
}

.timeline-scene::before {
  content: "";
  position: absolute;
  inset: 34px 20px auto;
  height: 190px;
  border-radius: 50%;
  border-left: 3px solid transparent;
  border-bottom: 3px solid transparent;
  background:
    linear-gradient(90deg, var(--yellow), var(--orange), var(--pink), #000) border-box;
  opacity: .7;
  filter: blur(.2px) drop-shadow(0 0 16px rgba(168,85,247,.65));
  pointer-events: none;
  mask: linear-gradient(#000, #000) padding-box, linear-gradient(#000, #000);
}

.timeline-card {
  position: relative;
  z-index: 1;
  padding: 16px;
  border: 1px solid var(--yellow);
  border-radius: 16px;
  background: rgba(0,0,0,.6);
  color: #fff;
  box-shadow: 0 18px 34px rgba(15,23,42,.34);
}

.timeline-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.timeline-card p {
  color: rgba(255,255,255,.92);
  font-size: 14px;
  line-height: 1.45;
}

.planet {
  display: none;
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle at 34% 30%, #334155, #0f172a 58%, #020617);
  box-shadow: 0 0 36px rgba(99,102,241,.33);
}

svg { display: block; }

.start-swiper {
  width: 100%;
  padding: 30px 0 50px;
  overflow: visible;
}

.start-swiper .swiper-slide {
  width: 260px;
  height: auto;
  display: flex;
}

.start-swiper .swiper-slide .step-card {
  width: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0px 0px 10px 5px rgba(15, 23, 42, 0.08);
}

.start-swiper .swiper-pagination {
  bottom: 8px;
}

.start-swiper .swiper-pagination-bullet {
  background: var(--muted);
  opacity: 1;
}

.start-swiper .swiper-pagination-bullet-active {
  background: var(--orange);
}

@media (min-width: 768px) {
  .start-swiper {
    padding: 36px 0 60px;
  }
  .start-swiper .swiper-slide {
    width: 300px;
  }
  .start-swiper .swiper-slide .step-card {
    min-height: 240px;
    padding: 26px;
  }
}

@media (min-width: 860px) {
  .section { padding-left: 72px; padding-right: 72px; }

  .hero {
    min-height: 650px;
    padding: 48px 72px;
    background: radial-gradient(circle at 50% 40%, #371a08, #020617 72%);
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(2,6,23,.99), rgba(7,13,32,.92) 30%, rgba(11,18,38,.7) 58%, rgba(11,18,38,.2));
  }

  .nav { display: flex; margin-bottom: 72px; }

  .nav-links {
    display: flex;
    gap: 24px;
    color: #e2e8f0;
    font-size: 15px;
  }

  .nav-cta {
    padding: 10px 16px;
    border: 1px solid var(--yellow);
    border-radius: 10px;
    color: var(--yellow);
    background: rgba(255,255,255,.07);
    font-size: 14px;
    font-weight: 700;
  }

  .hero-copy {
    justify-items: start;
    text-align: left;
  }

  .hero-subtop { display: none; }

  .actions { justify-content: flex-start; }

  .scenario-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 64px;
  }

  .value {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .start-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 45px;
    padding: 28px 40px 31px;
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fafc, #fff 55%, #f5f3ff);
  }

  .step-card {
    min-height: 188px;
    padding: 24px;
    border-radius: 24px;
  }

  .step-card:nth-child(2) h3 { font-size: 22px; }

  .benefits {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .benefit-card {
    padding: 24px;
  }

  .final .container,
  .founders .container {
    display: grid;
    justify-items: center;
  }

  .final-box {
    width: min(100%, 785px);
    padding: 40px 30px;
    border-radius: 24px;
  }

  .form-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .founders-card {
    grid-template-columns: 430px 1fr;
    gap: 28px;
    width: 100%;
    min-height: 360px;
    padding: 28px;
    border-radius: 24px;
  }

  .photo-collage { min-height: 320px; }

  .photo-card:first-child {
    left: 34px;
    top: 58px;
    width: 168px;
    height: 218px;
  }

  .photo-card:nth-child(2) {
    left: 198px;
    top: 24px;
    width: 180px;
    height: 234px;
  }

  .founders-copy {
    align-content: center;
  }

  .founders-copy h3 { font-size: 30px; }
  .founders-copy p { font-size: 20px; }

  .footer {
    margin-top: 40px;
    padding: 24px 32px 32px;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .footer-actions {
    justify-items: end;
    text-align: right;
  }

  .review-card {
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
  }

  .review-shot { padding: 24px; }
  .review-text { padding: 28px; }

  .review-controls {
    display: grid;
    grid-template-columns: 46px auto 46px;
    justify-content: stretch;
  }

  .arrow-group {
    justify-self: center;
  }

  .timeline {
    padding-bottom: 56px;
  }

  .timeline-scene {
    height: 540px;
    display: block;
    padding: 0;
    border-radius: 28px;
  }

  .timeline-scene::before {
    content: none;
  }

  .planet { display: block; }
  .planet.one { width: 156px; height: 156px; left: 34px; top: 128px; }
  .planet.two { width: 178px; height: 178px; right: 240px; top: 46px; box-shadow: 0 0 44px rgba(6,182,212,.38); }
  .planet.three { width: 108px; height: 108px; right: 240px; bottom: 58px; box-shadow: 0 0 34px rgba(168,85,247,.38); }

  .milky-line {
    position: absolute;
    left: 154px;
    top: 92px;
    width: 810px;
    height: 314px;
    pointer-events: none;
  }

  .timeline-card {
    position: absolute;
    width: 332px;
    padding: 22px;
    border-radius: 18px;
  }

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

  .timeline-card p {
    font-size: 15px;
    line-height: 1.55;
  }

  .timeline-card.one { left: 56px; top: 210px; }
  .timeline-card.two { left: 424px; top: 88px; width: 358px; }
  .timeline-card.three { right: 178px; top: 250px; width: 322px; }
}
.waitlist-dialog {
  padding: 0;
  border: 0;
  border-radius: 22px;
  width: min(92vw, 460px);
  max-height: 90vh;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

.waitlist-dialog::backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.waitlist-dialog[open] {
  animation: waitlist-dialog-in 0.18s ease-out;
}

@keyframes waitlist-dialog-in {
  from { transform: translateY(12px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.waitlist-dialog__inner {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px 24px 24px;
}

.waitlist-dialog__inner h2 {
  font-size: clamp(20px, 5vw, 26px);
  line-height: 1.15;
  letter-spacing: -.02em;
  padding-right: 32px;
}

.waitlist-dialog__lead {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.waitlist-dialog__inner .form-row {
  width: 100%;
}

.waitlist-dialog__inner .form-status {
  color: var(--muted);
  min-height: 18px;
  font-size: 13px;
  line-height: 1.35;
}

.waitlist-dialog__inner .form-status.error {
  color: #b91c1c;
}

.waitlist-dialog__inner .privacy {
  color: #94a3b8 !important;
  font-size: 12px;
}

.waitlist-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease;
}

.waitlist-dialog__close:hover {
  background: #e2e8f0;
}

@media (min-width: 768px) {
  .waitlist-dialog__inner {
    padding: 36px 32px 32px;
    gap: 16px;
  }
}
