:root {
  --bg: #05070d;
  --surface: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef2f8;
  --muted: #93a0b4;
  --blue: #4da8ff;
  --green: #3ddfa0;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100svh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- ambience ---------- */

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow-blue {
  width: 560px; height: 560px;
  background: rgba(30, 99, 208, 0.16);
  top: -180px; left: -140px;
}

.glow-green {
  width: 520px; height: 520px;
  background: rgba(61, 223, 160, 0.09);
  bottom: -200px; right: -160px;
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 20%, transparent 75%);
}

/* ---------- header ---------- */

.site-header {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark { width: 40px; height: 40px; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.42em;
  padding-left: 0.42em; /* optically re-center tracked text */
}

.header-badge {
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--surface);
  backdrop-filter: blur(8px);
}

/* ---------- hero ---------- */

main {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  padding: 96px 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 34px;
  letter-spacing: 0.03em;
}

.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(61, 223, 160, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(61, 223, 160, 0.45); }
  70%  { box-shadow: 0 0 0 9px rgba(61, 223, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 223, 160, 0); }
}

h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}

h1 .accent {
  background: linear-gradient(100deg, var(--blue) 10%, var(--green) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
  margin-bottom: 44px;
}

/* ---------- waitlist ---------- */

.waitlist {
  display: flex;
  gap: 10px;
  width: min(480px, 100%);
}

.waitlist input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.waitlist input::placeholder { color: #5c6a80; }

.waitlist input:focus {
  border-color: rgba(77, 168, 255, 0.55);
  background: rgba(255, 255, 255, 0.055);
}

.waitlist button {
  background: linear-gradient(120deg, #2571e0, #21b98a);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.waitlist button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(37, 113, 224, 0.32);
}

.waitlist button:active { transform: translateY(0); }

.waitlist-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: #6b7a92;
  min-height: 1.3em;
  transition: color 0.3s ease;
}

.waitlist-note.success { color: var(--green); }
.waitlist-note.error { color: #ff9d8a; }

/* ---------- ticker line ---------- */

.ticker {
  width: min(680px, 100%);
  margin-top: 64px;
  opacity: 0.85;
}

.ticker svg { width: 100%; height: 90px; display: block; }

.ticker-path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 3.2s cubic-bezier(0.5, 0, 0.2, 1) 0.6s forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 56px 0 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

.card-icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--green);
  margin-bottom: 20px;
}

.card-icon svg { width: 21px; height: 21px; }

.card:nth-child(1) .card-icon { color: var(--blue); }
.card:nth-child(3) .card-icon { color: #8ee888; }

.card h2 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- ethos ---------- */

.ethos {
  text-align: center;
  padding: 88px 0 96px;
}

.ethos-line {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 16px;
}

.ethos-sub {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto;
}

.mobile-break { display: none; }

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.82rem;
  color: #6b7a92;
}

.site-footer a {
  color: #8fa3c0;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-dot { opacity: 0.5; }

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-path { animation: none; stroke-dashoffset: 0; }
  .pulse-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; }
  .hero { padding-top: 72px; }
}

@media (max-width: 560px) {
  .waitlist { flex-direction: column; }
  .waitlist button { width: 100%; }
  .header-badge { display: none; }
  .mobile-break { display: inline; }
  .brand-name { font-size: 0.85rem; letter-spacing: 0.34em; padding-left: 0.34em; }
}
