:root {
  --bg: #080c14;
  --bg-alt: #0d1220;
  --fg: #e8e2d8;
  --fg-muted: #8a8070;
  --accent: #a89cf5;
  --accent-dim: #6b5faa;
  --amber: #e8c97a;
  --amber-dim: #b89d45;
  --border: rgba(168, 156, 245, 0.12);
  --card-bg: rgba(168, 156, 245, 0.04);
  --card-border: rgba(168, 156, 245, 0.1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 2rem 5rem;
}
.star-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: var(--amber);
}
.star-1 { width: 2px; height: 2px; top: 18%; left: 12%; opacity: 0.4; }
.star-2 { width: 1px; height: 1px; top: 25%; left: 70%; opacity: 0.6; }
.star-3 { width: 2px; height: 2px; top: 60%; left: 85%; opacity: 0.3; }
.star-4 { width: 1px; height: 1px; top: 75%; left: 20%; opacity: 0.5; }
.star-5 { width: 1.5px; height: 1.5px; top: 40%; left: 40%; opacity: 0.4; }
.star-6 { width: 2px; height: 2px; top: 15%; left: 55%; opacity: 0.3; }
.star-7 { width: 1px; height: 1px; top: 80%; left: 60%; opacity: 0.6; }
.star-8 { width: 1.5px; height: 1.5px; top: 35%; left: 88%; opacity: 0.4; }
.constellation-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
  opacity: 0.3;
  transform-origin: left center;
}
.l1 { width: 120px; height: 1px; top: 18%; left: 12%; transform: rotate(25deg); }
.l2 { width: 80px; height: 1px; top: 25%; left: 70%; transform: rotate(160deg); }
.l3 { width: 60px; height: 1px; top: 60%; left: 85%; transform: rotate(200deg); }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--amber);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--card-border);
  border-radius: 2rem;
  padding: 0.35rem 1rem;
  background: var(--card-bg);
}

/* Concept */
.concept {
  padding: 6rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.concept-inner {
  max-width: 720px;
  margin: 0 auto;
}
.concept-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dim);
  margin-bottom: 1.5rem;
}
.concept-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--fg);
  margin-bottom: 2rem;
}
.concept-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* Features */
.features {
  padding: 6rem 2rem;
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 3rem;
  text-align: center;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 156, 245, 0.08);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Yume */
.yume {
  padding: 6rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.yume-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.yume-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dim);
  margin-bottom: 1rem;
}
.yume-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.yume-headline em {
  font-style: italic;
  color: var(--accent);
}
.yume-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.yume-stat {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--amber);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.yume-orb {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}
.orb-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, var(--accent-dim) 60%, transparent 100%);
  box-shadow: 0 0 40px rgba(168, 156, 245, 0.4), 0 0 80px rgba(168, 156, 245, 0.15);
}
.orb-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotateX(70deg);
  border-radius: 50%;
  border: 1px solid var(--accent-dim);
}
.orb-ring-1 { width: 160px; height: 160px; opacity: 0.4; }
.orb-ring-2 { width: 220px; height: 220px; opacity: 0.25; }
.orb-ring-3 { width: 280px; height: 280px; opacity: 0.12; }

/* Science */
.science {
  padding: 6rem 2rem;
}
.science-inner {
  max-width: 900px;
  margin: 0 auto;
}
.science-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dim);
  border: 1px solid rgba(232, 201, 122, 0.2);
  border-radius: 2rem;
  padding: 0.3rem 0.9rem;
  margin-bottom: 2rem;
}
.science-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--fg);
  margin-bottom: 3rem;
}
.science-headline em {
  font-style: italic;
  color: var(--accent);
}
.science-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.science-card {
  padding: 1.75rem;
  border-left: 2px solid var(--accent-dim);
}
.sc-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.science-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Closing */
.closing {
  padding: 8rem 2rem 6rem;
  text-align: center;
  position: relative;
}
.closing-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cs-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.2;
}
.cs-1 { width: 4px; height: 4px; top: 20%; left: 30%; }
.cs-2 { width: 2px; height: 2px; top: 40%; left: 60%; }
.cs-3 { width: 3px; height: 3px; top: 15%; left: 75%; }
.cs-4 { width: 2px; height: 2px; top: 70%; left: 20%; }
.cs-5 { width: 2px; height: 2px; top: 50%; left: 45%; opacity: 0.3; }
.closing-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 3rem;
}
.closing-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.closing-link {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  padding: 0.9rem 2.5rem;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.2s;
}
.closing-link:hover { background: #b8aef7; }
.closing-link-secondary {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.closing-link-secondary:hover { color: var(--fg); }

/* Footer */
.footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}
.footer-desc {
  font-size: 0.8rem;
  color: var(--fg-muted);
  display: block;
  margin-top: 0.2rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--fg); }

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 6rem 1.5rem 4rem; }
  .concept, .features, .yume, .science, .closing { padding: 4rem 1.5rem; }
  .yume-inner { grid-template-columns: 1fr; }
  .yume-orb { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .features-grid { grid-template-columns: 1fr; }
  .science-cards { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2.8rem; }
  .yume-headline { font-size: 2.2rem; }
  .closing-headline { font-size: 2rem; }
  .nav { padding: 0 1rem; }
}