/* ─── LocalFlow Theme ─── */

:root {
  --bg: #0f1923;
  --bg-alt: #131e2a;
  --surface: #1a2736;
  --fg: #f0ece4;
  --fg-muted: #9aa3af;
  --accent: #e8943a;
  --accent-dim: rgba(232, 148, 58, 0.15);
  --border: rgba(240, 236, 228, 0.08);
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Header ─── */
.site-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}
.wordmark {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── Section Shared ─── */
section { padding: 5rem 2rem; }
.section-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

/* ─── Manifesto ─── */
.manifesto {
  background: var(--bg);
  padding: 7rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,148,58,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.manifesto-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.manifesto-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  max-width: 700px;
}
.manifesto-body {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 3.5rem;
  line-height: 1.7;
}
.manifesto-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 1rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  max-width: 120px;
  line-height: 1.3;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 1.5rem;
  align-self: center;
}

/* ─── Proof ─── */
.proof {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-inner { max-width: 1100px; margin: 0 auto; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
}
.proof-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.proof-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.proof-body {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ─── How ─── */
.how { background: var(--bg); }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-intro {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.how-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.how-item:hover { border-color: rgba(232,148,58,0.3); }
.how-number {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--accent);
  opacity: 0.6;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}
.how-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.how-body {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ─── Outcomes ─── */
.outcomes {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.outcomes-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.outcomes-sub {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 400px;
}
.outcome-stat {
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}
.outcome-value {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.outcome-label {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.4;
}
.outcomes-quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  margin-top: 2rem;
}
.outcomes-quote blockquote {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 1.25rem;
  color: var(--fg);
}
.outcomes-quote cite {
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-style: normal;
}

/* ─── Closing ─── */
.closing {
  background: var(--bg);
  text-align: center;
  padding: 8rem 2rem;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.closing-price {
  font-size: 1.1rem;
  color: var(--fg);
}
.closing-price strong {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--accent);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-brand .wordmark {
  font-size: 1.1rem;
}
.footer-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 0.2rem;
}
.footer-meta p {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  section { padding: 4rem 1.25rem; }
  .manifesto { padding: 5rem 1.25rem 4rem; }
  .stat-divider { display: none; }
  .manifesto-stats { gap: 1.5rem; }
  .outcomes-inner { grid-template-columns: 1fr; gap: 2rem; }
  .how-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .closing { padding: 5rem 1.25rem; }
}

@media (max-width: 480px) {
  .manifesto-headline { font-size: 2rem; }
  .stat-value { font-size: 1.6rem; }
}