/* --- Tokens --- */
:root {
  --navy:       #0c1b33;
  --navy-light: #152742;
  --gold:       #f59e0b;
  --gold-dim:   rgba(245, 158, 11, 0.12);
  --cream:      #faf8f4;
  --white:      #ffffff;
  --charcoal:   #1e2a3a;
  --muted:      #6b7a8d;
  --border:     rgba(255,255,255,0.08);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-w: 1160px;
  --space:  80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--cream);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* --- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 27, 51, 0.85);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--white);
}

.nav-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 120px 40px 100px;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 80%);
}

.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 32px;
  max-width: 680px;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(250,248,244,0.65);
  max-width: 520px;
  line-height: 1.7;
}

/* --- How It Works --- */
.howitworks {
  padding: var(--space) 40px;
  border-top: 1px solid var(--border);
  background: var(--navy-light);
}

.howitworks-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 56px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step {
  padding: 0 40px 0 0;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.step p {
  font-size: 0.9rem;
  color: rgba(250,248,244,0.55);
  line-height: 1.65;
}

.step-divider {
  width: 1px;
  height: 120px;
  background: var(--border);
  margin-top: 16px;
  flex-shrink: 0;
  align-self: center;
}

/* --- Features --- */
.features {
  padding: var(--space) 40px;
}

.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  padding: 40px 32px;
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 0;
  transition: background 0.2s;
}

.feature-card:hover {
  background: rgba(245,158,11,0.04);
}

.feature-icon {
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.feature-card h3 {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.85rem;
  color: rgba(250,248,244,0.5);
  line-height: 1.65;
}

/* --- Advisor --- */
.advisor {
  padding: var(--space) 40px;
  background: var(--navy-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.advisor-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.advisor-quote-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}

.advisor-quote-mark::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
}

blockquote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.45;
  margin-bottom: 20px;
}

.advisor-content cite {
  font-size: 0.8rem;
  color: var(--gold);
  font-style: normal;
  letter-spacing: 0.05em;
}

.advisor-stats {
  display: flex;
  gap: 40px;
  align-items: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(250,248,244,0.5);
  line-height: 1.4;
  max-width: 120px;
}

.stat-sep {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* --- Closing --- */
.closing {
  padding: 140px 40px;
  text-align: center;
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.closing p {
  font-size: 1.05rem;
  color: rgba(250,248,244,0.55);
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  padding: 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  :root { --space: 60px; }

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

  .advisor-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .step-divider { display: none; }
}

@media (max-width: 600px) {
  :root { --space: 48px; }

  .hero { padding: 80px 24px 64px; }
  .howitworks, .features, .advisor, .closing, .footer { padding-left: 24px; padding-right: 24px; }

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

  .advisor-stats { flex-direction: column; gap: 24px; }
  .stat-sep { width: 40px; height: 1px; }

  .nav { padding: 0 24px; }

  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}