:root {
  color-scheme: dark;

  --bg: #06070c;
  --bg-elevated: #0c0e18;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f5f9;
  --text-dim: #a6acc2;
  --text-faint: #6b7189;

  --accent-1: #7c9cff;
  --accent-2: #b37cff;
  --accent-3: #33e5d6;
  --gradient: linear-gradient(120deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3));

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --max: 1120px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--text-dim);
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ambient background */

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.glow-a {
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(124, 156, 255, 0.28), transparent 70%);
}

.glow-b {
  top: 40vh;
  left: -220px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(179, 124, 255, 0.22), transparent 70%);
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(6, 7, 12, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-word {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text) !important;
}

.nav-cta:hover {
  border-color: var(--accent-1);
  background: var(--surface);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* hero */

main {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 108px 0 80px;
}

.hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  max-width: 15ch;
}

.hero-sub {
  max-width: 56ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #06070c;
  font-weight: 600;
  box-shadow: 0 8px 30px -10px rgba(124, 156, 255, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(124, 156, 255, 0.65);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--accent-1);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin: 64px 0 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-stats dt {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats dd {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* section shared */

section {
  padding: 96px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  max-width: 20ch;
}

.section-lead {
  max-width: 58ch;
  font-size: 1.05rem;
  margin-bottom: 48px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.tag-live {
  color: #6ffbe0;
  background: rgba(51, 229, 214, 0.1);
  border: 1px solid rgba(51, 229, 214, 0.3);
}

.tag-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ffbe0;
  box-shadow: 0 0 0 3px rgba(111, 251, 224, 0.25);
}

.tag-soon {
  color: #c6b6ff;
  background: rgba(179, 124, 255, 0.1);
  border: 1px solid rgba(179, 124, 255, 0.28);
}

/* approach */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.pillar:hover {
  border-color: var(--border-strong);
  background: var(--surface-strong);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(124, 156, 255, 0.1);
  color: var(--accent-1);
  margin-bottom: 18px;
}

.pillar h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.pillar p {
  font-size: 0.95rem;
  margin: 0;
}

/* feature */

.feature {
  background: radial-gradient(ellipse at top right, rgba(124, 156, 255, 0.08), transparent 60%);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.feature-copy h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.feature-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 18px;
}

.feature-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-points li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.feature-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gradient);
}

.feature-visual {
  position: relative;
}

.match-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.match-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}

.match-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #06070c;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  flex-shrink: 0;
}

.match-avatar-alt {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
}

.match-avatar-alt-2 {
  background: linear-gradient(135deg, var(--accent-3), var(--accent-1));
}

.match-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.match-meta strong {
  font-size: 0.92rem;
  font-weight: 500;
}

.match-meta span {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.match-score {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-3);
}

.match-glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(179, 124, 255, 0.35), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

/* roadmap */

.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.roadmap-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px dashed var(--border-strong);
}

.roadmap-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(179, 124, 255, 0.1);
  color: var(--accent-2);
  margin-bottom: 16px;
}

.roadmap-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.roadmap-card p {
  font-size: 0.95rem;
  margin: 0;
}

/* cta */

.cta {
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-inner p {
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

/* footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.footer-sep {
  opacity: 0.5;
}

/* reveal animation */

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* responsive */

@media (max-width: 880px) {
  .pillars {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    box-shadow: 0 1px 0 var(--border);
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 39;
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 12px;
    border: 1px solid var(--border-strong);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 88px;
  }

  .hero-stats {
    gap: 28px;
  }

  section {
    padding: 72px 0;
  }
}
