:root {
  --bg: #050508;
  --bg-elevated: #0a0a0e;
  --surface: #16161c;
  --red: #e10600;
  --red-bright: #ff3b3b;
  --red-deep: #9a0400;
  --white: #ffffff;
  --muted: #a8a8b3;
  --border: rgba(255, 255, 255, 0.1);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max: 720px;
  --max-wide: 820px;
  --space: clamp(4.5rem, 10vw, 7.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--red-bright);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--white);
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 4rem;
  overflow: hidden;
  isolation: isolate;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(225, 6, 0, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 100%, rgba(225, 6, 0, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(255, 255, 255, 0.04), transparent 45%),
    linear-gradient(180deg, #0c0c12 0%, var(--bg) 55%, #000 100%);
}

.hero__atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 3px 3px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 75%);
  pointer-events: none;
}

.hero__inner {
  width: min(100%, 40rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero__logo {
  width: min(48vw, 15.5rem);
  height: auto;
  margin-bottom: 0.35rem;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Logo already includes the wordmark — keep an accessible page title without doubling the name. */
.hero__brand {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__tagline {
  margin: 0.35rem 0 2rem;
  max-width: 22rem;
  color: var(--muted);
  font-size: clamp(1.125rem, 2.8vw, 1.35rem);
  font-weight: 500;
  line-height: 1.4;
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero .btn {
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  border: none;
  border-radius: 0.35rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(225, 6, 0, 0.28);
}

.btn--primary:hover {
  background: var(--red-bright);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--full {
  width: 100%;
}

/* ——— Sections ——— */

.section {
  padding: var(--space) 1.5rem;
}

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

.section__inner--wide {
  width: min(100%, var(--max-wide));
}

.section__inner--form {
  width: min(100%, 34rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.section h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
}

.section--problem {
  background: linear-gradient(180deg, #000 0%, #121218 100%);
  border-block: 1px solid var(--border);
}

.section--why {
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(225, 6, 0, 0.08), transparent 55%),
    var(--bg);
}

.section--how {
  background: linear-gradient(180deg, #0e0e14 0%, #15151c 100%);
  border-block: 1px solid var(--border);
}

.section--waitlist {
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(225, 6, 0, 0.18), transparent 60%),
    var(--bg-elevated);
}

.block {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.block h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-transform: uppercase;
}

.block p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.block p:last-child {
  margin-bottom: 0;
}

.source {
  font-size: 0.95rem !important;
  color: #7e7e88 !important;
}

/* ——— Steps ——— */

.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
}

.steps__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
  letter-spacing: 0.04em;
}

.steps__item h3 {
  margin: 0.15rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.steps__item p {
  margin: 0;
  color: var(--muted);
}

/* ——— Waitlist form ——— */

.waitlist__mark {
  width: 4.5rem;
  margin: 0 auto 1.25rem;
  opacity: 0.95;
}

.section--waitlist .lede {
  margin-bottom: 1.75rem;
}

.waitlist-panel {
  padding: 1.35rem 1.15rem 0.85rem;
  border: 3px solid var(--white);
  border-radius: 0.55rem;
  background:
    linear-gradient(180deg, rgba(225, 6, 0, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  text-align: left;
}

.waitlist-panel iframe {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
}

/* ——— Footer ——— */

.footer {
  padding: 2rem 1.5rem 2.75rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: #6e6e78;
  font-size: 0.9rem;
}

.footer p {
  margin: 0.35rem 0;
}

.footer a {
  color: #8e8e98;
  text-decoration: none;
}

.footer a:hover {
  color: var(--white);
}

/* ——— Scroll reveal ——— */

.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 720px) {
  .steps {
    gap: 2.25rem;
  }
}

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

  .hero__logo,
  .hero__brand,
  .hero__tagline,
  .hero .btn,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
