/* PagePilot — Custom Styles */

:root {
  --bg: #0d0d0d;
  --surface: #141414;
  --surface-alt: #1e1e1e;
  --fg: #f0ede6;
  --fg-muted: #8a8680;
  --accent: #e8973a;
  --accent-dim: rgba(232, 151, 58, 0.15);
  --border: #2a2a2a;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-width: 1200px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px 72px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 600;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 520px;
}
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-stat-block {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.hero-stat-block:last-child { border-bottom: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* Proof / Features */
.proof {
  background: var(--surface);
  padding: 80px 40px;
}
.proof-header {
  max-width: var(--max-width);
  margin: 0 auto 48px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
}
.proof-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.proof-card {
  background: var(--surface);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.proof-icon {
  color: var(--accent);
  width: 28px;
}
.proof-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.proof-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* How */
.how {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.how-header {}
.how-subheading {
  margin-top: 20px;
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.how-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-step {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-step:last-child { border-bottom: none; }
.timeline-step--active {
  background: var(--accent-dim);
  padding: 28px 24px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.step-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-muted);
}
.timeline-step--active .step-desc { color: var(--fg); }

/* Manifesto */
.manifesto {
  background: var(--surface);
  padding: 80px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-quote {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--fg);
  border: none;
  padding: 0;
}
.manifesto-body {
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Closing */
.closing {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 40px 80px;
  text-align: center;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}
.footer-by {
  font-size: 12px;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px 48px;
  }
  .hero-aside {
    order: -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }
  .hero-stat-block {
    padding: 20px 16px;
    background: var(--surface);
    border: none;
  }
  .proof-grid { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
  .navbar { padding: 16px 24px; }
  .closing { padding: 64px 24px 48px; }
  .manifesto { padding: 60px 24px; }
  .proof { padding: 60px 24px; }
}
