:root {
  --bg: #050507;
  --bg-soft: #0b0b0f;
  --panel: #101016;
  --panel-2: #15151c;
  --purple: #6a0e92;
  --purple-bright: #9b24d0;
  --purple-soft: #c774ea;
  --white: #ffffff;
  --text: #f4f2f6;
  --muted: #a6a0ad;
  --line: rgba(255,255,255,.12);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 99; background: var(--purple); color: white; padding: 10px 16px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(2,2,4,.45);
  backdrop-filter: blur(12px);
}
.nav-wrap { height: 74px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; }
.wordmark { text-decoration: none; letter-spacing: .42em; font-size: 1.2rem; font-weight: 500; white-space: nowrap; }
.wordmark span { color: var(--purple-soft); }
nav { display: flex; justify-content: center; gap: 38px; }
nav a { text-decoration: none; font-size: .86rem; font-weight: 600; color: #e8e5ea; }
nav a:hover { color: var(--purple-soft); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 22px; border: 1px solid transparent;
  background: linear-gradient(90deg, var(--purple-bright), var(--purple)); color: white;
  text-decoration: none; font-weight: 700; cursor: pointer; border-radius: 8px;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(106,14,146,.35); filter: brightness(1.08); }
.button-small { min-height: 42px; padding: 0 18px; font-size: .83rem; }
.button-outline { background: transparent; border-color: var(--purple-bright); }
.button-wide { width: 100%; }

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 118px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 35%, rgba(106,14,146,.35), transparent 24rem),
    linear-gradient(135deg, #020204 0%, #08070d 52%, #13081b 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid-bg {
  position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 86px; }
.eyebrow, .section-label { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 800; color: var(--purple-bright); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(3.3rem, 6vw, 5.8rem); line-height: .88; letter-spacing: -.055em; font-weight: 800; }
h1 span, h2 span { color: var(--purple-bright); }
.hero-text { max-width: 520px; margin-bottom: 28px; color: var(--muted); font-size: 1.02rem; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.learn-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; color: #e9e5ec; }
.play { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--purple-bright); border-radius: 50%; font-size: .65rem; }

.logo-showcase { position: relative; justify-self: end; width: min(530px, 100%); }
.logo-showcase img {
  position: relative; z-index: 2; width: 100%;
  border-radius: 26px;
  box-shadow: 0 0 0 2px rgba(157,36,208,.4), 0 0 42px rgba(106,14,146,.48), 0 28px 70px rgba(0,0,0,.55);
}
.logo-glow { position: absolute; inset: 8% -8%; background: radial-gradient(circle, rgba(126,24,169,.58), transparent 64%); filter: blur(30px); }
.wave { position: absolute; left: 0; right: 0; bottom: -2px; height: 110px; opacity: .42; background: radial-gradient(ellipse at 50% 100%, rgba(136,30,184,.6), transparent 55%); clip-path: polygon(0 78%, 10% 72%, 20% 84%, 30% 68%, 40% 86%, 50% 72%, 60% 88%, 70% 73%, 80% 84%, 90% 69%, 100% 78%, 100% 100%, 0 100%); }

.main-panel { background: linear-gradient(180deg, #08080b 0%, #050507 100%); }
.split-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 70px; padding-top: 56px; padding-bottom: 70px; }
.benefits-block { padding-right: 58px; border-right: 1px solid var(--line); }
h2 { font-size: clamp(2.1rem, 3.4vw, 3.6rem); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 24px; }
.accent-line { width: 44px; height: 2px; background: var(--purple-bright); margin: 30px 0 34px; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.benefit-item { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; }
.icon { color: var(--purple-bright); font-size: 2rem; line-height: 1; }
.benefit-item h3 { margin-bottom: 6px; font-size: .98rem; }
.benefit-item p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }

.join-block { min-width: 0; }
.membership-form { display: grid; gap: 10px; }
.form-row { display: grid; gap: 10px; }
.two-columns { grid-template-columns: 1fr 1fr; }
label { margin: 0; }
input, textarea {
  width: 100%; color: var(--text); background: linear-gradient(180deg, #16161d, #101016);
  border: 1px solid rgba(255,255,255,.16); border-radius: 5px; padding: 12px 14px; outline: none;
}
input::placeholder, textarea::placeholder { color: #8f8995; }
input:focus, textarea:focus { border-color: var(--purple-bright); box-shadow: 0 0 0 3px rgba(155,36,208,.13); }
textarea { resize: vertical; min-height: 106px; }
fieldset { margin: 2px 0 4px; padding: 0; border: 0; }
legend { margin-bottom: 8px; font-size: .86rem; font-weight: 600; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.choice, .consent { display: inline-flex; align-items: center; gap: 8px; color: #dcd7df; font-size: .82rem; }
.choice input, .consent input { width: 17px; height: 17px; accent-color: var(--purple-bright); }
.consent { align-items: flex-start; margin: 3px 0 5px; color: var(--muted); }
.form-status { min-height: 20px; margin: 0; font-size: .83rem; }
.form-status.error { color: #ff9b9b; }
.form-status.success { color: #91e0a1; }

footer { border-top: 1px solid var(--line); background: #030305; padding: 26px 0; }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-wrap p { margin: 0; color: #84808a; font-size: .78rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #a8a2ae; text-decoration: none; font-size: .8rem; }
.footer-links a:hover { color: var(--purple-soft); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  nav { display: none; }
  .nav-wrap { grid-template-columns: 1fr auto; }
  .hero-grid, .split-grid { grid-template-columns: 1fr; }
  .logo-showcase { justify-self: center; order: -1; width: min(500px, 90vw); }
  .benefits-block { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 52px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .site-header .button-small { display: none; }
  .nav-wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 104px; min-height: auto; }
  .hero-grid { gap: 42px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .benefit-grid, .two-columns { grid-template-columns: 1fr; }
  .split-grid { gap: 48px; }
  .footer-wrap { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* V5: two independent, viewport-sized panels */
@media (min-width: 961px) {
  html {
    scroll-snap-type: y mandatory;
    scroll-padding-top: 0;
  }

  body {
    overflow-x: hidden;
  }

  .screen-panel {
    min-height: 100svh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .hero {
    height: 100svh;
    min-height: 720px;
    padding: 112px 0 72px;
  }

  .hero-grid {
    min-height: calc(100svh - 184px);
    grid-template-columns: .86fr 1.14fr;
    gap: clamp(58px, 6vw, 104px);
  }

  .logo-showcase {
    width: min(570px, 43vw);
  }

  .scroll-cue {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 18px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 1.55rem;
    line-height: 1;
    transform: translateX(-50%);
    background: rgba(6,4,9,.48);
    backdrop-filter: blur(8px);
  }

  .main-panel {
    height: 100svh;
    min-height: 720px;
    display: grid;
    grid-template-rows: 1fr auto;
    overflow: hidden;
  }

  .split-grid {
    width: min(calc(100% - 40px), var(--max-width));
    min-height: 0;
    align-items: center;
    padding-top: clamp(34px, 5vh, 58px);
    padding-bottom: clamp(26px, 4vh, 48px);
    gap: clamp(48px, 5vw, 76px);
  }

  .benefits-block,
  .join-block {
    align-self: center;
  }

  .benefits-block {
    padding-right: clamp(38px, 4vw, 62px);
  }

  .benefit-grid {
    gap: clamp(22px, 3vh, 34px) 28px;
  }

  .membership-form {
    gap: 9px;
  }

  input,
  textarea {
    padding: 11px 13px;
  }

  textarea {
    min-height: 96px;
  }

  footer {
    padding: 19px 0;
  }
}

.anchor-target {
  position: relative;
  top: -10px;
}

.scroll-cue {
  display: none;
}

@media (max-width: 960px) {
  html { scroll-snap-type: y proximity; }
  .screen-panel { scroll-snap-align: start; }
  .hero { min-height: 100svh; }
  .main-panel { min-height: 100svh; }
}
