/* ============================================
   VESTED — Self-Directed IRA Custodian
   ============================================ */

:root {
  --navy: #0f172a;
  --navy-mid: #1e293b;
  --gold: #d4a843;
  --gold-light: #e8c06a;
  --cream: #faf8f4;
  --cream-dark: #f0ece2;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --white: #ffffff;
  --border: #e2ddd5;
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Navigation ---- */
.nav {
  padding: 20px 48px;
  display: flex;
  align-items: center;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 48px 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(212,168,67,0.06) 100%);
  pointer-events: none;
}
.hero-inner {
  max-width: 900px;
  position: relative;
}
.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 40px;
}
.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  max-width: 200px;
  line-height: 1.4;
}
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  font-weight: 400;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sep { color: var(--gold); opacity: 0.6; }

/* ---- Problem ---- */
.problem {
  padding: 96px 48px;
  background: var(--cream);
}
.problem-inner { max-width: 1100px; }
.overline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.problem h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  color: var(--navy);
  max-width: 680px;
  margin-bottom: 64px;
  font-weight: 400;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.problem-card {
  background: var(--cream);
  padding: 40px 36px;
}
.problem-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
}
.problem-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy);
}
.problem-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Differentiators ---- */
.differentiators {
  padding: 96px 48px;
  background: var(--cream-dark);
}
.diff-inner { max-width: 1100px; }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.diff-item {
  background: var(--white);
  padding: 40px 36px;
  position: relative;
}
.diff-number {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 16px;
  font-weight: 400;
}
.diff-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--navy);
}
.diff-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Assets ---- */
.assets {
  padding: 96px 48px;
  background: var(--cream);
}
.assets-inner { max-width: 1100px; }
.assets h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
  max-width: 600px;
  margin-bottom: 48px;
  font-weight: 400;
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.asset-item {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.asset-icon {
  width: 40px;
  height: 40px;
  background: var(--cream);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.asset-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}

/* ---- Closing ---- */
.closing {
  background: var(--navy);
  padding: 96px 48px;
  text-align: center;
}
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--white);
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.closing p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* ---- Footer ---- */
.footer {
  background: var(--navy-mid);
  padding: 48px;
}
.footer-inner { max-width: 1100px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.footer-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.7;
  max-width: 600px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav, .hero, .problem, .differentiators, .assets, .closing, .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero { padding-top: 60px; padding-bottom: 72px; }
  .problem-grid, .diff-grid, .asset-grid {
    grid-template-columns: 1fr;
  }
  .hero-stat { flex-direction: column; gap: 6px; }
  .stat-label { max-width: none; }
  .nav { padding-left: 24px; padding-right: 24px; }
}