/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0D1B2A;
  --navy-mid:    #1B3557;
  --amber:       #F5A623;
  --amber-dark:  #D4890C;
  --cream:       #FDF8F0;
  --cream-dark:  #F0E6D3;
  --charcoal:    #2D3748;
  --muted:       #718096;
  --border:      #E2D9CC;
  --white:       #FFFFFF;

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

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--navy-mid); border-radius: 4px; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
}

.navbar-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* ===== HERO ===== */
.hero {
  background: var(--cream);
  padding: 100px 32px 80px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 24px;
  border: 1.5px solid var(--amber);
  padding: 5px 14px;
  border-radius: 100px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1.75;
  max-width: 580px;
  font-weight: 400;
}

/* ===== STATS ===== */
.stats {
  background: var(--navy);
  padding: 56px 32px;
}

.stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.stat {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ===== AGENTS ===== */
.agents {
  background: var(--cream);
  padding: 96px 32px;
}

.agents-header {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

.agents-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.agents-header p {
  font-size: 1rem;
  color: var(--muted);
}

.agents-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.agent-card {
  background: var(--white);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s;
}

.agent-card:hover { background: var(--cream); }

.agent-icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-mid);
  margin-bottom: 4px;
}

.agent-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.agent-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ===== HOW ===== */
.how {
  background: var(--cream-dark);
  padding: 96px 32px;
  border-top: 1px solid var(--border);
}

.how-inner {
  max-width: 860px;
  margin: 0 auto;
}

.how-inner h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step-number {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ===== MANIFESTO ===== */
.manifesto {
  background: var(--navy);
  padding: 96px 32px;
}

.manifesto-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--amber);
  margin-bottom: 32px;
  opacity: 0.5;
}

.manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.manifesto-signature {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 40px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 64px 20px 56px; }
  .stats { padding: 40px 20px; }
  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .stat { padding: 20px 24px; }
  .stat + .stat::before { display: none; }
  .stat-number { font-size: 1.8rem; }
  .agents { padding: 64px 20px; }
  .agents-grid { grid-template-columns: 1fr; }
  .how { padding: 64px 20px; }
  .manifesto { padding: 64px 20px; }
  .footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.4rem; }
  .agent-card { padding: 24px 20px; }
  .step { grid-template-columns: 40px 1fr; gap: 16px; }
}