:root {
  --bg-deep: #15182b;
  --bg-surface: #1e2240;
  --bg-elevated: #272c4f;
  --bg-selected: #332e5c;
  --accent: #b5a7e8;
  --accent-dim: #7e74b8;
  --accent-warm: #f5ebd3;
  --accent-warm-dim: #c9b994;
  --text-primary: #ece8f7;
  --text-secondary: #9b95b8;
  --text-tertiary: #6b6788;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---- Starfield background ---- */
.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-warm);
}

/* ---- Header ---- */
.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.brand .mark { width: 36px; height: 36px; }
.brand-name { font-size: 16px; letter-spacing: -0.2px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; }
.nav-links a { color: var(--text-secondary); }
.nav-links a:hover { color: var(--text-primary); text-decoration: none; }

/* ---- Hero ---- */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px 96px;
  max-width: 760px;
  margin: 0 auto;
}
.hero-mark { width: 132px; height: 132px; margin: 0 auto 36px; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(52px, 11vw, 96px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 0.98;
  margin-bottom: 24px;
}
.hero .lede {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ---- CTA ---- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--accent-dim);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 14px;
  cursor: default;
}
.cta .badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---- Sections ---- */
.section { position: relative; z-index: 1; padding: 64px 0; }
.section h2 {
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 700;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 12px;
}
.section .sub {
  text-align: center;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 44px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  background: var(--bg-surface);
  border: 1px solid rgba(181, 167, 232, 0.1);
  border-radius: 18px;
  padding: 28px;
}
.card .dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.card p { color: var(--text-secondary); font-size: 15px; }

.dot-white { background: #f0f0f5; }
.dot-pink { background: #e8b5c8; }
.dot-brown { background: #b89172; }
.dot-feature {
  background: var(--bg-elevated);
  border: 1px solid var(--accent-dim);
}
.dot-feature svg { width: 20px; height: 20px; }

/* ---- Footer ---- */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(181, 167, 232, 0.12);
  margin-top: 48px;
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; gap: 22px; font-size: 14px; }
.footer-links a { color: var(--text-secondary); }
.footer-meta { color: var(--text-tertiary); font-size: 13px; }

/* ---- Legal pages ---- */
.legal {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal .eyebrow { text-align: left; }
.legal h1 {
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}
.legal .updated {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-bottom: 36px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 36px 0 12px;
}
.legal h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 22px 0 8px;
}
.legal p, .legal li {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 12px;
}
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text-primary); font-weight: 600; }
.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--text-secondary);
}

@media (max-width: 560px) {
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
