/* ===== FONTS & TOKENS ===== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg: #faf8f3;
  --surface: #f2ede4;
  --navy: #0d1f3c;
  --navy-light: #1a3a5c;
  --amber: #c9883a;
  --amber-light: #e8b96a;
  --amber-dim: rgba(201, 136, 58, 0.12);
  --warm-gray: #8a7e6d;
  --text-muted: #6b6359;
  --border: rgba(13, 31, 60, 0.1);

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

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--warm-gray); border-radius: 3px; }
::selection { background: var(--amber-light); color: var(--navy); }

/* ===== NAV ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo {
  width: 36px; height: 36px;
  background: var(--navy);
  color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600; font-size: 1.2rem;
  border-radius: 8px;
  text-decoration: none;
}
.nav-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem; color: var(--navy); }
.nav-tagline { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 0.85rem; color: var(--warm-gray); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { font-size: 0.9rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-link:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy); color: #fff;
  padding: 0.5rem 1.25rem; border-radius: 6px;
  font-size: 0.9rem; font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--navy-light); }

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex; align-items: center;
  padding: var(--space-lg) 3rem;
  border-bottom: 1px solid rgba(13, 31, 60, 0.08);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--amber-dim);
  border: 1px solid rgba(201, 136, 58, 0.25);
  color: var(--amber);
  padding: 0.35rem 0.9rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.hero-tagline em {
  font-style: italic;
  color: var(--amber);
}
.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; align-items: center; }
.btn-primary {
  background: var(--navy); color: #fff;
  padding: 0.85rem 2rem; border-radius: 8px;
  font-size: 1rem; font-weight: 500; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--navy);
  padding: 0.85rem 1.5rem; border-radius: 8px;
  font-size: 1rem; font-weight: 500;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--navy); background: var(--surface); }

/* ===== HERO VISUAL ===== */
.hero-visual {
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(13, 31, 60, 0.06);
}
.blueprint-mock {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(13, 31, 60, 0.08);
  font-family: var(--font-sans);
}
.bp-mock-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.bp-mock-step { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(13, 31, 60, 0.05); }
.bp-mock-step:last-child { border-bottom: none; }
.bp-mock-num {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--amber-dim);
  color: var(--amber);
  border-radius: 50%;
  font-size: 0.7rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.bp-mock-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }
.bp-mock-connector {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 0.5rem 0.85rem;
  color: rgba(13, 31, 60, 0.15);
  font-size: 0.8rem;
}
.hero-social-proof {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.sp-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600;
}
.sp-text { font-size: 0.8rem; color: var(--text-muted); }
.sp-text strong { color: var(--navy); }

/* ===== FEATURES ===== */
.features { padding: var(--space-lg) 3rem; }
.features-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--amber);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem; font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.section-sub { font-size: 1rem; color: var(--text-muted); max-width: 520px; margin: 0 auto; }
.features-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: 0 4px 20px rgba(13, 31, 60, 0.08); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--amber-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.feature-title { font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--navy); }
.feature-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: var(--space-xl) 3rem;
  text-align: center;
  background: var(--navy);
  color: #fff;
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-serif);
  font-size: 2.5rem; font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta-title em { font-style: italic; color: var(--amber-light); }
.cta-desc { font-size: 1.05rem; color: rgba(255,255,255,0.7); margin-bottom: 2rem; line-height: 1.6; }
.cta-btn {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  padding: 0.9rem 2.5rem;
  border-radius: 8px;
  font-size: 1rem; font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.cta-btn:hover { background: var(--amber-light); transform: translateY(-1px); }

/* ===== FOOTER ===== */
footer {
  padding: 1.5rem 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--navy); color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding: 3rem 1.5rem; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { order: -1; }
  .features { padding: 3rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 4rem 1.5rem; }
  footer { padding: 1.5rem; flex-direction: column; gap: 0.5rem; text-align: center; }
}