@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap");

:root {
  --bg: #12141C;
  --card: #1B1E28;
  --heroBg: #0F1119;
  --border: #2A2E3A;
  --hairline: rgba(255,255,255,0.08);
  --text: #E9EBF3;
  --textDim: #9BA0B2;
  --textFaint: #8B90A0;
  --textMuted: #6A6E7C;
  --accent: #8FA8FF;
  --onAccent: #12141C;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.serif { font-family: "Fraunces", serif; }
.mono { font-family: "IBM Plex Mono", monospace; }

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

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

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18,20,28,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Fraunces", serif; font-weight: 600; font-size: 19px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand .wordmark { display: inline-block; }
.brand .x { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--textDim); }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--onAccent);
  font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: 999px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn-ghost {
  background: transparent; color: var(--text); border: 1px solid var(--border);
}

/* Hero */
.hero {
  background: radial-gradient(ellipse 900px 600px at 50% -10%, #2A1F52 0%, var(--heroBg) 55%, var(--bg) 100%);
  padding: 96px 0 60px;
  overflow: hidden;
}
.hero-centered .wrap { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--accent); background: rgba(143,168,255,0.12);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 24px;
}
.hero h1 { font-weight: 700; line-height: 1.08; letter-spacing: -1px; margin-bottom: 24px; }
.hero-h1-big { font-size: 76px; max-width: 820px; }
.hero h1 .accent { color: var(--accent); }
.hero-lead { font-size: 18px; color: var(--textDim); max-width: 560px; margin: 0 auto 36px; }
.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-ctas-center { justify-content: center; }
.hero-note { font-size: 12.5px; color: var(--textMuted); margin-top: 16px; }

/* Sections */
section { padding: 88px 0; }
.section-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent);
  margin-bottom: 12px; text-transform: uppercase;
}
.section-title { font-size: 34px; font-weight: 700; letter-spacing: -0.3px; max-width: 560px; margin-bottom: 12px; }
.section-sub { font-size: 15px; color: var(--textDim); max-width: 520px; margin-bottom: 56px; }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row + .feature-row { margin-top: 88px; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-art { order: 1; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 13px; background: rgba(143,168,255,0.14);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 21px;
}
.feature-copy h3 { font-size: 26px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.2px; }
.feature-copy p { font-size: 15px; color: var(--textDim); max-width: 420px; }
.feature-art { display: flex; justify-content: center; }
.feature-art img { width: 100%; max-width: 260px; filter: drop-shadow(0 24px 48px rgba(0,0,0,0.5)); }

/* Perks grid */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.perk-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.perk-icon {
  width: 38px; height: 38px; border-radius: 12px; background: rgba(143,168,255,0.14);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 18px;
}
.perk-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.perk-card p { font-size: 13px; color: var(--textMuted); line-height: 1.5; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 680px; }
.pricing-grid-3 { grid-template-columns: 1fr 1fr 1fr; max-width: 940px; }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.price-card.highlight { border-color: var(--accent); position: relative; }
.price-badge {
  position: absolute; top: -12px; right: 24px; background: var(--accent); color: var(--onAccent);
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.price-card h4 { font-size: 14px; color: var(--textDim); font-weight: 600; margin-bottom: 10px; }
.price-amount { font-size: 36px; font-weight: 700; font-family: "IBM Plex Mono", monospace; margin-bottom: 4px; }
.price-amount span { font-size: 14px; color: var(--textMuted); font-family: "Manrope", sans-serif; }
.price-note { font-size: 12.5px; color: var(--textMuted); margin-bottom: 20px; }
.price-list { list-style: none; font-size: 13.5px; color: var(--textDim); display: flex; flex-direction: column; gap: 10px; }
.price-list li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* CTA band */
.cta-band {
  background: linear-gradient(180deg, #1A1440 0%, var(--heroBg) 100%);
  border-radius: 28px; padding: 64px 48px; text-align: center;
  margin: 0 24px;
}
.cta-band h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.cta-band p { font-size: 15px; color: var(--textDim); margin-bottom: 28px; }

/* Footer */
footer { border-top: 1px solid var(--hairline); padding: 40px 0; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer .foot-links { display: flex; gap: 24px; font-size: 13px; color: var(--textMuted); }
footer .foot-links a:hover { color: var(--textDim); }
footer .copyright { font-size: 12.5px; color: var(--textMuted); }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.legal .updated { font-size: 13px; color: var(--textMuted); margin-bottom: 40px; }
.legal h2 { font-size: 18px; font-weight: 700; margin-top: 36px; margin-bottom: 10px; }
.legal p { font-size: 14.5px; color: var(--textDim); line-height: 1.7; margin-bottom: 6px; }
.legal a { color: var(--accent); text-decoration: underline; }
.back-link { display: inline-block; margin-bottom: 32px; font-size: 13.5px; color: var(--textMuted); }
.back-link:hover { color: var(--textDim); }

@media (max-width: 860px) {
  .hero-h1-big { font-size: 40px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy, .feature-row.reverse .feature-art { order: unset; }
  .perks { grid-template-columns: 1fr 1fr; }
  .pricing-grid, .pricing-grid-3 { grid-template-columns: 1fr; }
  .cta-band { margin: 0 16px; padding: 48px 24px; }
  .nav-links { display: none; }
}
