:root {
  color-scheme: dark;
  --bg: #050816;
  --bg-soft: #0a0f1f;
  --panel: rgba(13, 18, 34, 0.72);
  --panel-strong: rgba(17, 22, 38, 0.92);
  --stroke: rgba(255, 255, 255, 0.13);
  --stroke-warm: rgba(255, 159, 28, 0.34);
  --text: #f8fafc;
  --muted: #aeb7c6;
  --soft: #707987;
  --orange: #ff7a18;
  --gold: #ff9f1c;
  --violet: #a855f7;
  --pink: #d946ef;
  --blue: #60a5fa;
  --green: #22c55e;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --gradient: linear-gradient(120deg, var(--orange), var(--pink) 52%, var(--violet));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: 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;
  content: "";
  pointer-events: none;
  background: linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.023) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 76%);
}

body::after {
  position: fixed;
  inset: auto 0 0;
  height: 44vh;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 20% 90%, rgba(255,122,24,0.18), transparent 38%), radial-gradient(circle at 72% 80%, rgba(168,85,247,0.16), transparent 42%);
  filter: blur(8px);
}

.page-glow {
  position: fixed;
  inset: -18% -10% auto;
  height: 58vh;
  pointer-events: none;
  background: radial-gradient(circle at 34% 12%, rgba(255,122,24,0.18), transparent 34%), radial-gradient(circle at 72% 18%, rgba(217,70,239,0.14), transparent 36%), radial-gradient(circle at 52% 0%, rgba(96,165,250,0.1), transparent 34%);
  filter: blur(28px);
}

.wave-field {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.5;
}

.wave-field span {
  position: absolute;
  left: -12%;
  width: 124%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,122,24,0.18), rgba(217,70,239,0.2), transparent);
  transform: rotate(-7deg);
  animation: waveDrift 14s ease-in-out infinite;
}

.wave-field span:nth-child(1) { top: 18%; }
.wave-field span:nth-child(2) { top: 26%; animation-delay: -3s; }
.wave-field span:nth-child(3) { top: 72%; animation-delay: -7s; }
.wave-field span:nth-child(4) { top: 80%; animation-delay: -10s; }

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 11px 12px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(5, 8, 22, 0.72);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
}

.brand,
.nav-links,
.header-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--gradient);
  box-shadow: 0 0 34px rgba(217, 70, 239, 0.26), 0 0 28px rgba(255, 122, 24, 0.28);
}

.brand-mark::after {
  position: absolute;
  inset: 8px;
  content: "";
  border-radius: 8px;
  border: 2px solid rgba(5, 8, 22, 0.72);
  transform: rotate(38deg);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.68rem;
}

.nav-links {
  gap: 7px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
}

.nav-links a,
.nav-link-muted,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.07);
}

.header-actions {
  gap: 10px;
}

.nav-link-muted:hover,
.footer-links a:hover {
  color: var(--text);
}

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  align-content: center;
  padding: 88px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #ffb46b;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.8vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.hero-text {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

.hero-actions,
.center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 38px;
  padding: 0 15px;
  font-size: 0.92rem;
}

.button-primary {
  color: white;
  background: var(--gradient);
  box-shadow: 0 16px 38px rgba(217, 70, 239, 0.18), 0 10px 30px rgba(255, 122, 24, 0.18);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.055);
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 68px;
}

.hero-strip div,
.glass-card,
.trust-grid div,
.early-card {
  border: 1px solid var(--stroke);
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.032));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-strip div {
  min-height: 132px;
  padding: 20px;
  border-radius: 24px;
}

.hero-strip span,
.card-index {
  display: block;
  margin-bottom: 22px;
  color: #ffb46b;
  font-size: 0.77rem;
  font-weight: 900;
}

.hero-strip strong,
.hero-strip small,
.trust-grid strong,
.trust-grid span,
.footer-brand p {
  display: block;
}

.hero-strip small,
.glass-card p,
.step-line span,
.trust-grid span,
.statement p,
.early-card p,
.footer-brand p {
  color: var(--muted);
}

.statement,
.platform,
.steps,
.trust,
.early-access {
  padding: 86px 0;
}

.statement {
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.statement p {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 4rem);
  line-height: 1.08;
}

.section-heading {
  margin-bottom: 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.glass-card {
  min-height: 260px;
  padding: 24px;
  border-radius: 28px;
}

.step-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: rgba(255,255,255,0.035);
}

.step-line div {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--stroke);
}

.step-line div:last-child {
  border-right: 0;
}

.step-line strong {
  display: block;
  margin-bottom: 52px;
  font-size: 1.08rem;
}

.trust {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 30px;
  align-items: start;
}

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

.trust-grid div {
  min-height: 150px;
  padding: 20px;
  border-radius: 22px;
}

.trust-grid strong {
  margin-bottom: 10px;
}

.early-access {
  padding-bottom: 98px;
}

.early-card {
  max-width: 940px;
  margin: 0 auto;
  padding: 46px;
  border-radius: 34px;
  text-align: center;
  background: radial-gradient(circle at 24% 0%, rgba(255,122,24,0.18), transparent 30%), radial-gradient(circle at 74% 12%, rgba(168,85,247,0.18), transparent 32%), rgba(255,255,255,0.045);
}

.early-card h2,
.early-card p {
  margin-left: auto;
  margin-right: auto;
}

.early-card p {
  max-width: 680px;
}

.center-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 0 44px;
  border-top: 1px solid rgba(255,255,255,0.09);
}

.footer-brand p {
  margin: 16px 0 0;
  max-width: 420px;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@keyframes waveDrift {
  0%, 100% { transform: translate3d(-4%, 0, 0) rotate(-7deg); opacity: 0.18; }
  50% { transform: translate3d(5%, 22px, 0) rotate(-7deg); opacity: 0.62; }
}

@media (max-width: 920px) {
  .site-shell {
    width: min(100% - 24px, 720px);
  }

  .site-header {
    top: 10px;
  }

  .nav-links {
    display: none;
  }

  .hero-strip,
  .card-grid,
  .step-line,
  .trust,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .step-line div {
    border-right: 0;
    border-bottom: 1px solid var(--stroke);
  }

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

  .site-footer {
    display: block;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 22px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: calc(100% - 20px);
  }

  .brand-text small,
  .nav-link-muted {
    display: none;
  }

  .site-header {
    border-radius: 24px;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 64px;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2,
  .statement p {
    font-size: 2.16rem;
  }

  .statement,
  .platform,
  .steps,
  .trust,
  .early-access {
    padding: 62px 0;
  }

  .hero-strip div,
  .glass-card,
  .early-card {
    border-radius: 22px;
  }

  .early-card {
    padding: 28px 18px;
  }
}
