:root {
  --bg: #17131f;
  --panel: #231d30;
  --text: #f6f1ff;
  --muted: #bdb3d1;
  --pink: #ff5eaa;
  --line: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --font: 'Trebuchet MS', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 70% -10%, #3a2f52 0%, var(--bg) 60%) no-repeat, var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 900;
}

h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}

h3 {
  font-size: 19px;
}

.rainbow,
.brand {
  background: linear-gradient(90deg, #ff5eaa, #fdbc56, #67db66, #299efe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.small {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- header ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

.brand {
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top nav a:not(.button) {
  color: var(--muted);
  text-decoration: none;
}

.top nav a:not(.button):hover {
  color: var(--text);
}

/* ---------- buttons & join form ---------- */

.button {
  display: inline-block;
  padding: 12px 24px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font: inherit;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.button.primary {
  background: var(--pink);
  box-shadow: 0 6px 0 #b8336f;
}

.button.primary:hover {
  filter: brightness(1.08);
}

.button.primary:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #b8336f;
}

.button.small {
  padding: 8px 16px;
  font-size: 15px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin: 28px 0 12px;
}

.join {
  display: flex;
  align-items: center;
  gap: 8px;
}

.join label {
  color: var(--muted);
}

.join input {
  width: 6.2em;
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-weight: bold;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.join input:focus {
  outline: none;
  border-color: var(--pink);
}

/* ---------- sections ---------- */

main > section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 16px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding-top: 24px !important;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 34em;
}

.shot img,
.gallery img {
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

figure {
  margin: 0;
}

.how-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 60px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  font-weight: 900;
  font-size: 20px;
}

.steps p,
.cards p,
.faq p {
  margin: 0;
  color: var(--muted);
}

.phone {
  justify-self: center;
  text-align: center;
}

.phone img {
  width: 220px;
  border-radius: 28px;
  border: 6px solid #0d0b12;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.phone figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.cards li {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--panel);
  border-top: 4px solid var(--accent, var(--pink));
}

.cards li:nth-child(2) {
  --accent: #299efe;
}
.cards li:nth-child(3) {
  --accent: #fdbc56;
}
.cards li:nth-child(4) {
  --accent: #67db66;
}
.cards li:nth-child(5) {
  --accent: #a66bff;
}
.cards li:nth-child(6) {
  --accent: #ff6b3d;
}

.sub {
  margin-top: 40px;
}

.powerups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px 24px;
  margin: 0 0 40px;
}

.powerups dt {
  font-weight: bold;
}

.powerups dd {
  margin: 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  gap: 16px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
}

.faq details p {
  margin-top: 8px;
  max-width: 46em;
}

.cta {
  text-align: center;
}

.cta p {
  color: var(--muted);
}

.cta .button {
  margin: 8px 0 24px;
}

.bottom {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 24px 16px 40px;
  font-size: 14px;
  color: var(--muted);
}

[hidden] {
  display: none !important;
}

/* ---------- wider screens ---------- */

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 0.8fr 1fr;
    padding-top: 48px !important;
  }

  .how-grid {
    grid-template-columns: 1fr auto;
  }

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

/* ---------- small screens ---------- */

@media (max-width: 640px) {
  .top nav a:not(.button) {
    display: none;
  }

  main > section {
    padding: 40px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
