:root {
  color-scheme: dark;
  --bg: #030304;
  --panel: #09090d;
  --text: #fff8f2;
  --muted: #d7d1d8;
  --dim: #8f8997;
  --red: #ff2f68;
  --orange: #ff7b2c;
  --yellow: #b6ef3c;
  --blue: #25a9ff;
  --purple: #bd44ff;
  --line: rgba(255, 255, 255, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 47, 104, 0.14), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(37, 169, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 55% 62%, rgba(182, 239, 60, 0.08), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 5px;
  opacity: 0.16;
}

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

a {
  color: inherit;
}

.hero,
.method,
.applications,
.inside,
.waitlist {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(30px, 5vw, 72px) 0 38px;
}

.hero__copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero__script {
  width: 100%;
  max-width: 540px;
  margin: 0 0 18px -10px;
  filter: drop-shadow(0 0 18px rgba(255, 73, 116, 0.26));
}

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

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 34px rgba(189, 68, 255, 0.2);
}

.lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
.signup button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.button--primary,
.signup button {
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--blue), var(--purple));
  color: #030304;
  box-shadow: 0 0 28px rgba(255, 47, 104, 0.2), 0 0 48px rgba(37, 169, 255, 0.14);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.04);
}

.microcopy {
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 0.92rem;
}

.hero__art {
  position: relative;
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 18px;
  align-items: stretch;
  min-height: 620px;
}

.hero__star-frame {
  display: grid;
  place-items: center;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(255, 123, 44, 0.18), transparent 62%),
    rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 30px rgba(255, 123, 44, 0.16);
}

.hero__star {
  z-index: 2;
  width: min(82%, 360px);
  filter: drop-shadow(0 0 32px rgba(255, 123, 44, 0.26));
}

.hero__photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero__photo-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 0.78;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
}

.hero__photo-grid img:nth-child(1) {
  border-color: rgba(255, 47, 104, 0.62);
  box-shadow: 0 0 28px rgba(255, 47, 104, 0.24);
}

.hero__photo-grid img:nth-child(2) {
  border-color: rgba(255, 123, 44, 0.62);
  box-shadow: 0 0 28px rgba(255, 123, 44, 0.2);
}

.hero__photo-grid img:nth-child(3) {
  border-color: rgba(182, 239, 60, 0.55);
}

.hero__photo-grid img:nth-child(4) {
  border-color: rgba(189, 68, 255, 0.62);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.inside__copy h2,
.waitlist h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.9rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.method,
.applications,
.inside,
.waitlist {
  padding: clamp(56px, 8vw, 108px) 0;
}

.foundations {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.foundations span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.method__art {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.method__strip {
  width: 100%;
  filter: drop-shadow(0 0 22px rgba(189, 68, 255, 0.16));
}

.method__stack {
  display: none;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.application-card {
  --accent: var(--red);
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent), white 12%);
  border-radius: 8px;
  background: #111;
  box-shadow: 0 0 26px color-mix(in srgb, var(--accent), transparent 76%);
}

.application-card img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  transform: scale(1.02);
}

.application-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  content: "";
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.84));
}

.application-card figcaption {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  color: var(--accent);
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: 850;
  line-height: 1;
  text-align: right;
  text-shadow: 0 0 16px var(--accent);
}

.application-card--orange { --accent: var(--orange); }
.application-card--yellow { --accent: var(--yellow); }
.application-card--purple { --accent: var(--purple); }

.inside {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.inside__media {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.inside__media img:last-child {
  width: min(360px, 84%);
}

.inside__copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
}

.checklist li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--blue));
  box-shadow: 0 0 12px rgba(255, 47, 104, 0.5);
}

.waitlist {
  padding-bottom: 80px;
}

.waitlist__panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: clamp(26px, 6vw, 56px);
  background:
    linear-gradient(90deg, rgba(255, 47, 104, 0.15), rgba(255, 123, 44, 0.12), rgba(37, 169, 255, 0.11), rgba(189, 68, 255, 0.13)),
    var(--panel);
  box-shadow: 0 0 42px rgba(189, 68, 255, 0.2);
}

.waitlist__panel::before {
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 8px;
  content: "";
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--blue), var(--purple));
  opacity: 0.9;
  pointer-events: none;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.waitlist p {
  max-width: 760px;
  color: var(--muted);
}

.signup {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  max-width: 720px;
  margin-top: 28px;
}

.signup label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.signup input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(0, 0, 0, 0.42);
  color: var(--text);
  font: inherit;
}

.signup input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.signup button {
  border: 0;
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero__art {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero__star {
    width: min(370px, 72%);
    justify-self: center;
  }

  .hero__star-frame {
    min-height: 360px;
  }

  .hero__photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__photo-grid img {
    aspect-ratio: 1;
    height: auto;
  }

  .application-grid,
  .inside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero,
  .method,
  .applications,
  .inside,
  .waitlist {
    width: calc(100% - 28px);
  }

  .hero__script {
    max-width: 100%;
    margin-left: 0;
  }

  .hero__art {
    min-height: auto;
  }

  .hero__photo-grid {
    gap: 10px;
  }

  .button,
  .signup button {
    width: 100%;
  }

  .application-grid,
  .inside,
  .signup {
    grid-template-columns: 1fr;
  }

  .method__strip {
    display: none;
  }

  .method__stack {
    display: grid;
    gap: 18px;
    justify-items: center;
  }

  .method__stack img {
    width: min(100%, 260px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #000;
    box-shadow: 0 0 22px rgba(255, 47, 104, 0.13);
  }

  .inside__media {
    order: 2;
  }
}
