:root {
  --background: 0 0% 0.8%;
  --foreground: 0 0% 93%;
  --muted-foreground: 18 4% 52%;
  --border: 20 4% 29%;
  --gray-light: 0 0% 98%;
  --badge-bg: 20 5% 12%;
  --accent-orange: #ee9017;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: hsl(var(--border));
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h2 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2;
  font-weight: 700;
}

button {
  font-family: inherit;
  cursor: pointer;
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-foreground {
  color: hsl(var(--foreground));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.text-gray-light {
  color: hsl(var(--gray-light));
}

.text-accent-orange {
  color: var(--accent-orange);
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-semibold {
  font-weight: 600;
}

.leading-relaxed {
  line-height: 1.625;
}

.text-center {
  text-align: center;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.hidden {
  display: none !important;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.liquid-glass {
  position: relative;
  background: #ffffff03;
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px #ffffff1a;
  overflow: hidden;
}

.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.4px;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    #ffffff73,
    #ffffff26,
    transparent,
    transparent,
    #ffffff26,
    #ffffff73
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  background: hsl(var(--badge-bg));
  border: 2px solid hsl(var(--border));
}

.card-module {
  display: flex;
  flex-direction: column;
  row-gap: 48px;
  cursor: pointer;
  animation: fade-in 0.6s ease-out both;
}

/* ——— Top nav ——— */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1rem 0;
  pointer-events: none;
}

.top-nav > * {
  pointer-events: auto;
}

.top-nav-inner {
  width: 100%;
  max-width: 850px;
  padding: 0.5rem 1rem;
}

.top-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.nav-logo {
  text-decoration: none;
  color: inherit;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  color: hsl(var(--foreground) / 0.9);
  transition: color 0.15s ease;
  text-decoration: none;
  cursor: pointer;
}

.nav-link:hover {
  color: hsl(var(--foreground));
}

.nav-cta {
  border: none;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background-color: var(--accent-orange);
  transition: background-color 0.15s ease;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.nav-cta:hover {
  background-color: rgb(234, 88, 12);
}

.nav-burger {
  background: none;
  border: none;
  padding: 0.25rem;
  color: hsl(var(--foreground));
}

.nav-burger:hover {
  color: hsl(var(--foreground) / 0.8);
}

.nav-mobile {
  width: calc(100% - 2rem);
  max-width: 850px;
  margin-top: 0.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.nav-mobile-link {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.5rem 0;
  font-size: 1rem;
  color: hsl(var(--foreground) / 0.9);
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.nav-mobile-link:hover {
  color: hsl(var(--foreground));
}

.nav-mobile-cta {
  width: 100%;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background-color: rgb(249, 115, 22);
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.nav-mobile-cta:hover {
  background-color: rgb(234, 88, 12);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-burger,
  .md-hidden {
    display: none !important;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* ——— Hero ——— */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-color: hsl(var(--background));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgb(0 0 0 / 0.8),
    rgba(40, 15, 0, 0.85),
    rgb(0 0 0 / 0.9)
  );
}

.hero-tint {
  position: absolute;
  inset: 0;
  mix-blend-mode: color;
  background-color: rgba(255, 140, 20, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
  width: 100%;
  max-width: 64rem;
  text-align: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 1rem;
  font-size: 14px;
  text-transform: uppercase;
}

.hero-eyebrow p {
  margin: 0;
  color: rgb(250, 250, 250);
  font-size: 12px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-dot-static {
  background-color: var(--accent-orange);
}

.hero-dot-orange {
  background-color: rgb(238, 96, 24);
}

.hero-dot-pulse {
  background-color: rgb(238, 96, 24);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-title {
  margin: 0;
  padding: 0;
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgb(238, 238, 238);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 72px;
  }
}

.hero-desc-wrap {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
  font-size: 18px;
  color: rgba(238, 238, 238, 0.7);
}

.hero-desc {
  margin: 0 6px;
  padding: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #fff;
  border-radius: 0;
}

.hero-form-block {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
  padding-top: 1rem;
}

.email-form {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}

.email-form-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 2px solid;
  border-radius: 8px;
  background-color: transparent;
}

.email-form-row--hero {
  border-color: rgba(238, 238, 238, 0.3);
}

.email-form-row--footer {
  border-color: rgba(255, 255, 255, 0.25);
}

.email-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-family: Inter, system-ui, sans-serif;
}

.email-input::placeholder {
  color: #8a8380;
  opacity: 1;
}

.btn-claim {
  flex-shrink: 0;
  background-color: rgb(238, 238, 238);
  color: rgb(16, 16, 16);
  padding: 8px 14px;
  border-radius: 4px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: Inter, system-ui, sans-serif;
}

.btn-join {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgb(238, 238, 238);
  color: rgb(16, 16, 16);
  padding: 8px 14px;
  border-radius: 4px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: Inter, system-ui, sans-serif;
}

.btn-claim:disabled,
.btn-join:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.hp-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp-field {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: 0.35rem 0 0;
  min-height: 1.25rem;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  color: rgba(200, 200, 200, 0.95);
}

.form-status--waitlist {
  margin-top: 0.75rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 28rem;
}

/* Success state (replaces email row after submit) */
.signup-success-stack {
  width: 100%;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.signup-success-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
}

.signup-success-check {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-top: 2px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-success-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #14532d;
  text-align: left;
}

.signup-success-title a {
  color: var(--accent-orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.signup-success-title a:hover {
  color: #f97316;
}

@keyframes signup-success-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.signup-success-stack:not(.hidden) .signup-success-card {
  animation: signup-success-in 0.4s ease-out;
}

.hero-access-note {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
  color: rgba(238, 238, 238, 0.5);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-top: 3rem;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(238, 238, 238, 0.5);
}

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

.hero-stat strong {
  font-weight: 600;
  color: rgb(238, 238, 238);
}

.hero-stat-strong {
  font-weight: 600;
  color: rgb(238, 238, 238);
}

.hero-stat-divider {
  width: 1px;
  height: 16px;
  background-color: rgb(61, 58, 57);
}

@media (max-width: 640px) {
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-stat-divider {
    display: none;
  }

  .email-form-row {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ——— Features ——— */
.features-section {
  position: relative;
  padding: 6rem 1rem;
  background-color: hsl(var(--background));
}

.features-intro {
  margin-bottom: 4rem;
  text-align: center;
}

.features-intro > * + * {
  margin-top: 1.5rem;
}

.features-heading {
  margin: 0;
  text-align: center;
}

.features-sub {
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
}

.feature-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card-module .text-muted-foreground.leading-relaxed {
  font-size: 18px;
  line-height: 1.7;
}

/* ——— Waitlist panel ——— */
.waitlist-section {
  position: relative;
  padding: 6rem 1rem;
  overflow: hidden;
  background-color: hsl(var(--background));
}

.waitlist-panel {
  background-color: rgba(10, 8, 6, 0.92);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.waitlist-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  gap: 1rem;
  flex-wrap: wrap;
}

.waitlist-panel-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.waitlist-panel-eyebrow p,
.waitlist-panel-right {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.waitlist-panel-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.sparkles-icon {
  color: rgb(255, 255, 255);
  flex-shrink: 0;
}

.waitlist-title {
  margin: 0;
  color: rgb(255, 255, 255);
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  max-width: 100%;
}

@media (min-width: 640px) {
  .waitlist-title {
    font-size: 48px;
  }
}

.waitlist-form-inner {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form-inner .email-form-row .email-input {
  color: rgb(255, 255, 255);
}
