:root {
  --bg: #0A0E1A;
  --surface: #141A2E;
  --surface-2: #1E263F;
  --indigo: #6366F1;
  --violet: #8B5CF6;
  --cyan: #06B6D4;
  --emerald: #10B981;
  --amber: #F59E0B;
  --text: #F8FAFC;
  --text-2: #94A3B8;
  --text-3: #64748B;
  --stroke: rgba(255,255,255,0.08);
  --stroke-strong: rgba(255,255,255,0.16);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body { position: relative; min-height: 100vh; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* === Floating orbs (background) === */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.orb-a { width: 540px; height: 540px; background: var(--indigo); top: -160px; left: -120px; animation: drift-a 22s ease-in-out infinite alternate; }
.orb-b { width: 460px; height: 460px; background: var(--violet); top: 35%; right: -120px; animation: drift-b 26s ease-in-out infinite alternate; opacity: .4; }
.orb-c { width: 380px; height: 380px; background: var(--cyan); bottom: -180px; left: 30%; animation: drift-c 30s ease-in-out infinite alternate; opacity: .3; }

@keyframes drift-a { to { transform: translate(120px, 80px); } }
@keyframes drift-b { to { transform: translate(-80px, -100px); } }
@keyframes drift-c { to { transform: translate(140px, -60px); } }

/* === Header === */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 14, 26, 0.55);
  border-bottom: 1px solid var(--stroke);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}
header nav { display: flex; gap: 28px; }
header nav a {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
header nav a:hover { color: var(--text); }

/* === Brand === */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logomark { position: relative; width: 36px; height: 36px; display: inline-block; }
.logomark .ring { position: absolute; inset: 0; border: 2px solid transparent; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; }
.logomark .ring.inner { inset: 8px; opacity: 0.6; }
.logomark .dot {
  position: absolute; inset: 13px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.7);
}
.wordmark { font-size: 18px; font-weight: 200; letter-spacing: 6px; }
.brand.small .logomark { width: 28px; height: 28px; }
.brand.small .logomark .ring.inner { inset: 6px; }
.brand.small .logomark .dot { inset: 10px; }
.brand.small .wordmark { font-size: 14px; letter-spacing: 4px; }

/* === Hero === */
.hero {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
}
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 22px;
}
h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 200;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-bottom: 28px;
}
h2 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 36px;
}
h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}
.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: 36px;
}

.cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta.primary {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: white;
  box-shadow: 0 20px 40px -10px rgba(99,102,241,0.55);
}
.cta.primary:hover { transform: translateY(-1px); box-shadow: 0 24px 48px -8px rgba(99,102,241,0.7); }
.cta.ghost {
  color: var(--text-2);
  border: 1px solid var(--stroke-strong);
  background: rgba(255,255,255,0.02);
}
.cta.ghost:hover { color: var(--text); border-color: var(--text-2); }

.trust-row {
  display: flex; gap: 22px; flex-wrap: wrap;
  margin-top: 48px;
  font-size: 13px;
  color: var(--text-2);
}
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 8px var(--emerald); }
.trust-dot.cyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.trust-dot.violet { background: var(--violet); box-shadow: 0 0 8px var(--violet); }

/* === Sections === */
.section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  border-top: 1px solid var(--stroke);
}

.three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 12px;
}
.step {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.2s, transform 0.2s;
}
.step:hover { border-color: var(--stroke-strong); transform: translateY(-2px); }
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.step p { color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* === Science === */
.science-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 12px;
}
.science-grid article {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(20px);
}
.science-grid article h3 { font-size: 18px; margin-bottom: 12px; }
.science-grid article p { color: var(--text-2); font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.ref { font-size: 12px; color: var(--cyan); text-decoration: none; font-family: var(--mono); letter-spacing: 0.5px; }
.ref:hover { text-decoration: underline; }
.science-note {
  margin-top: 36px;
  padding: 20px 24px;
  border-left: 2px solid var(--cyan);
  background: rgba(6, 182, 212, 0.04);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.65;
  border-radius: 0 12px 12px 0;
}

/* === Pricing === */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 12px;
}
.plan {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 28px;
  backdrop-filter: blur(20px);
}
.plan.featured {
  border-color: rgba(99,102,241,0.5);
  background: linear-gradient(180deg, rgba(99,102,241,0.10), rgba(139,92,246,0.04));
  box-shadow: 0 24px 60px -16px rgba(99,102,241,0.4);
}
.plan h3 { font-size: 16px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1.5px; }
.plan .price { font-size: 40px; font-weight: 200; font-family: var(--mono); }
.plan .price small { font-size: 13px; color: var(--text-2); font-family: var(--font); font-weight: 400; margin-left: 4px; }
.plan p { color: var(--text-2); font-size: 14px; margin-top: 14px; line-height: 1.55; }
.badge {
  position: absolute;
  top: -10px;
  right: 18px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 4px 10px;
  border-radius: 20px;
}

/* === Waitlist === */
.waitlist .lede { margin-bottom: 24px; }
.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  flex-wrap: wrap;
}
.waitlist-form input {
  flex: 1;
  min-width: 220px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--stroke-strong);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-form input:focus { border-color: var(--indigo); }
.waitlist-form button {
  padding: 16px 26px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: white;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s;
}
.waitlist-form button:hover { transform: translateY(-1px); }

/* === Footer === */
footer {
  position: relative;
  z-index: 1;
  padding: 60px 0 40px;
  border-top: 1px solid var(--stroke);
  background: rgba(10, 14, 26, 0.5);
  backdrop-filter: blur(20px);
}
.footer-cols {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.footer-tag { font-size: 13px; color: var(--text-3); margin-top: 8px; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: var(--text-2); font-size: 13px; text-decoration: none; }
.footer-nav a:hover { color: var(--text); }
.footer-fine { font-size: 11px; color: var(--text-3); line-height: 1.5; }

/* === Responsive === */
@media (max-width: 640px) {
  .hero { padding: 80px 0 60px; }
  .section { padding: 60px 0; }
  .trust-row { gap: 14px; }
  header nav { gap: 16px; }
}
