:root {
  --bg: #fff8fb;
  --panel: #ffffff;
  --panel-2: #fbf6ff;
  --ink: #18101f;
  --muted: #655b70;
  --purple: #8737c7;
  --purple-dark: #5c18a6;
  --purple-soft: rgba(135, 55, 199, 0.1);
  --gold: #ffd12f;
  --line: rgba(92, 24, 166, 0.14);
  --logo-pair-size: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 209, 47, 0.28), transparent 34%),
    radial-gradient(circle at 84% 24%, rgba(135, 55, 199, 0.13), transparent 30%),
    linear-gradient(180deg, #fff 0%, var(--bg) 70%, #fff0f8 100%);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.prelander-open {
  overflow: hidden;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.wrap {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 16px 12px 28px;
}

.prelander {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 209, 47, 0.28), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(135, 55, 199, 0.14), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fff4fb 100%);
}

.prelander.is-leaving {
  animation: prelanderFade 280ms ease forwards;
}

.prelander[hidden] {
  display: none;
}

.pre-card {
  width: min(420px, 100%);
  padding: 28px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 209, 47, 0.16), transparent 48%),
    var(--panel);
  box-shadow: 0 24px 70px rgba(92, 24, 166, 0.18);
  text-align: center;
  animation: preCardPop 620ms cubic-bezier(0.18, 0.9, 0.25, 1.12) both;
}

.pre-logo-pair {
  margin-bottom: 22px;
  animation: preItemRise 560ms ease 120ms both;
}

.pre-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: 35px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
  animation: preItemRise 560ms ease 210ms both;
}

.pre-card > p {
  width: min(320px, 100%);
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  animation: preItemRise 560ms ease 300ms both;
}

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

.choice-btn {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 74px;
  padding: 15px 16px;
  border: 1px solid rgba(135, 55, 199, 0.2);
  border-radius: 16px;
  color: var(--ink);
  background: var(--purple-soft);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
  animation: preItemRise 560ms ease 390ms both;
}

.choice-btn:nth-child(2) {
  animation-delay: 480ms;
}

.choice-btn::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(135, 55, 199, 0.22);
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
}

.choice-btn strong,
.choice-btn span {
  display: block;
}

.choice-btn strong {
  font-size: 15px;
  font-weight: 900;
}

.choice-btn span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.choice-btn:hover,
.choice-btn:focus-visible {
  border-color: rgba(135, 55, 199, 0.4);
  background: rgba(135, 55, 199, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.choice-btn.is-clicked {
  border-color: rgba(135, 55, 199, 0.58);
  background: rgba(135, 55, 199, 0.18);
  animation: buttonPop 360ms cubic-bezier(0.18, 0.9, 0.25, 1.25);
}

.choice-btn.is-clicked::after {
  animation: buttonRipple 420ms ease-out;
}

.lander {
  width: min(420px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 209, 47, 0.12), transparent 42%),
    var(--panel);
  box-shadow: 0 24px 70px rgba(92, 24, 166, 0.16);
}

.lander.is-entering {
  animation: landerPop 520ms cubic-bezier(0.18, 0.9, 0.25, 1.12);
}

.lander[hidden] {
  display: none;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 18px 14px;
}

.logo-pair {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: var(--logo-pair-size);
}

.logo-link {
  display: inline-flex;
  border-radius: 26px;
  text-decoration: none;
}

.logo-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.pair-logo {
  display: block;
  width: var(--logo-pair-size);
  height: var(--logo-pair-size);
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(92, 24, 166, 0.22);
}

.solo-logo {
  width: 116px;
  height: 116px;
  border-radius: 26px;
}

.hero {
  padding: 8px 22px 14px;
  text-align: center;
}

.label {
  margin: 0 0 10px;
  color: var(--purple-dark);
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 35px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--purple);
}

.intro {
  width: min(310px, 100%);
  margin: 13px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.access-card {
  margin: 8px 18px 16px;
  padding: 18px;
  border: 1px solid rgba(135, 55, 199, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(135, 55, 199, 0.08), rgba(255, 209, 47, 0.08)),
    var(--panel-2);
}

.status {
  margin: 0;
  color: var(--purple);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-card h2 {
  margin: 8px 0 0;
  color: var(--ink);
  text-align: center;
  font-size: 25px;
  line-height: 1.12;
  font-weight: 900;
}

.access-card > p:not(.status) {
  margin: 10px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
}

.options {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.options div {
  padding: 12px;
  border: 1px solid rgba(135, 55, 199, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.options strong,
.options span {
  display: block;
}

.options strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.options span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.35;
}

.journey {
  padding: 0 18px 28px;
}

.steps {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(135, 55, 199, 0.14);
  background: var(--purple-soft);
}

.step {
  display: flex;
  gap: 12px;
  min-height: 66px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(135, 55, 199, 0.12);
}

.step:last-child {
  border-bottom: 0;
}

.num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: var(--purple-dark);
  background: var(--gold);
  font-weight: 900;
}

.step h3 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
}

.step p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.cta {
  padding: 16px 22px 12px;
  text-align: center;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  border-radius: 14px;
  color: #ffffff;
  background: var(--purple);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(92, 24, 166, 0.24);
  transition: background 160ms ease, transform 160ms ease;
}

.btn span {
  font-size: 1.3em;
}

.btn:hover,
.btn:focus-visible {
  background: var(--purple-dark);
  transform: translateY(-1px);
  outline: none;
}

.micro {
  width: min(310px, 100%);
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

@media (min-width: 760px) {
  .wrap {
    place-items: center;
    padding: 32px 24px;
  }

  .lander {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    grid-template-areas:
      "brand brand"
      "hero access"
      "cta access"
      "journey journey";
    column-gap: 22px;
    width: min(900px, calc(100vw - 48px));
    border-radius: 26px;
  }

  .pre-card {
    padding: 32px 26px 26px;
  }

  .brand {
    grid-area: brand;
    padding-top: 24px;
  }

  .hero {
    grid-area: hero;
    align-self: center;
    padding: 34px 28px 20px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .access-card {
    grid-area: access;
    align-self: center;
    margin: 28px 28px 22px 0;
    padding: 24px;
  }

  .journey {
    grid-area: journey;
    padding: 0 28px 30px;
  }

  .cta {
    grid-area: cta;
    padding: 18px 28px 14px;
  }
}

@media (max-width: 380px) {
  :root {
    --logo-pair-size: 72px;
  }

  .pair-logo {
    border-radius: 16px;
  }

  .solo-logo {
    width: 98px;
    height: 98px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .access-card h2 {
    font-size: 25px;
  }
}

@keyframes buttonPop {
  0% {
    transform: scale(1);
  }

  42% {
    transform: scale(0.965);
  }

  100% {
    transform: scale(1.015);
  }
}

@keyframes preCardPop {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.94);
  }

  66% {
    opacity: 1;
    transform: translateY(-3px) scale(1.012);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes preItemRise {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes buttonRipple {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(28);
  }
}

@keyframes prelanderFade {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

@keyframes landerPop {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.94);
  }

  62% {
    opacity: 1;
    transform: translateY(-4px) scale(1.015);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .prelander.is-leaving,
  .pre-card,
  .pre-logo-pair,
  .pre-card h1,
  .pre-card > p,
  .choice-btn,
  .choice-btn.is-clicked,
  .choice-btn.is-clicked::after,
  .lander.is-entering {
    animation: none;
  }
}
