/* ==============================
   FUNDINDERS — Custom Landing Page
   ============================== */

:root {
  --bg: #f7f4ee;
  --fg: #0d1f3c;
  --fg-muted: #546070;
  --accent: #c9a84c;
  --accent-dark: #a07c2e;
  --navy: #0d1f3c;
  --navy-mid: #1a3a5c;
  --cream: #f7f4ee;
  --white: #ffffff;
  --border: rgba(13,31,60,0.1);
  --shadow: 0 4px 32px rgba(13,31,60,0.08);
  --shadow-lg: 0 8px 48px rgba(13,31,60,0.12);
}

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

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

body {
  background: var(--cream);
  color: var(--fg);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,244,238,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

/* ---- HERO ---- */
.hero {
  padding: 80px 48px 100px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.12;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 48px;
}
.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat-num {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.4;
}
.hero-stat-div {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* Hero Visual */
.hero-visual {
  position: relative;
}
.ledger-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
}
.ledger-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.ledger-card-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
}
.ledger-card-badge {
  background: rgba(201,168,76,0.15);
  color: var(--accent-dark);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.ledger-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 0.8rem;
}
.ledger-row:last-child { border-bottom: none; }
.ledger-row-header {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding-bottom: 10px;
}
.ledger-row-found {
  background: rgba(201,168,76,0.08);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 2px 0;
  color: var(--fg);
  font-weight: 500;
}
.ledger-surplus {
  color: var(--accent-dark);
  font-weight: 700;
  font-family: 'Fraunces', serif;
}
.muted { opacity: 0.4; }
.ledger-card-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.found-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(201,168,76,0.12);
  padding: 4px 12px;
  border-radius: 20px;
}
.hero-badge {
  margin-top: 20px;
  text-align: center;
}
.badge-text {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* ---- SECTION SHARED ---- */
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.section-header {
  margin-bottom: 56px;
}

/* ---- HOW IT WORKS ---- */
.howitworks {
  padding: 100px 48px;
  background: var(--white);
}
.howitworks-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.step-card {
  background: var(--cream);
  padding: 36px 32px;
  position: relative;
}
.step-card:first-child { border-radius: 16px 0 0 16px; }
.step-card:last-child { border-radius: 0 16px 16px 0; }
.step-num {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: rgba(13,31,60,0.08);
  margin-bottom: 20px;
  line-height: 1;
}
.step-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.3;
}
.step-body {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ---- WHY MATTERS ---- */
.whymatters {
  padding: 100px 48px;
  background: var(--navy);
  color: var(--cream);
}
.whymatters-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.whymatters-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-top: 16px;
  color: var(--cream);
}
.whymatters-title em {
  font-style: italic;
  color: var(--accent);
}
.whymatters-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.callout-block {
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}
.callout-text {
  font-size: 1rem;
  color: rgba(247,244,238,0.85);
  line-height: 1.75;
}
.callout-text em {
  font-style: italic;
  color: var(--accent);
}
.fact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.fact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fact-num {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
}
.fact-label {
  font-size: 0.82rem;
  color: rgba(247,244,238,0.6);
  line-height: 1.5;
}

/* ---- PROCESS ---- */
.process {
  padding: 100px 48px;
  background: var(--cream);
}
.process-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.process-timeline {
  position: relative;
  padding-left: 48px;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(201,168,76,0.15));
}
.timeline-item {
  position: relative;
  margin-bottom: 48px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -48px;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-content h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 640px;
}

/* ---- STATES ---- */
.states {
  padding: 100px 48px;
  background: var(--white);
}
.states-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.states-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.state-card {
  padding: 32px 28px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.state-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.state-icon {
  width: 40px;
  height: 40px;
}
.state-name {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
}
.state-desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}
.state-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  padding: 4px 12px;
  background: rgba(201,168,76,0.12);
  border-radius: 20px;
  margin-top: 4px;
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 100px 48px;
  background: var(--cream);
}
.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 48px;
}
.manifesto-quote {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 48px;
}
.manifesto-closing {
  margin-top: 40px;
}
.manifesto-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ---- FOOTER ---- */
.footer {
  padding: 60px 48px 48px;
  background: var(--navy);
  color: rgba(247,244,238,0.5);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 32px;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cream);
}
.footer-sub {
  font-size: 0.8rem;
}
.footer-legal {
  font-size: 0.75rem;
  line-height: 1.6;
  border-top: 1px solid rgba(247,244,238,0.1);
  padding-top: 28px;
  margin-bottom: 24px;
}
.footer-copy {
  font-size: 0.75rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card:first-child { border-radius: 16px 0 0 0; }
  .step-card:nth-child(2) { border-radius: 0 16px 0 0; }
  .step-card:nth-child(3) { border-radius: 0 0 0 16px; }
  .step-card:last-child { border-radius: 0 0 16px 0; }
  .whymatters-inner { grid-template-columns: 1fr; gap: 48px; }
  .states-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 60px 24px 80px; }
  .hero-stat-row { gap: 0; }
  .hero-stat { padding: 0 16px; }
  .hero-stat-num { font-size: 1.4rem; }
  .howitworks { padding: 80px 24px; }
  .whymatters { padding: 80px 24px; }
  .process { padding: 80px 24px; }
  .states { padding: 80px 24px; }
  .manifesto { padding: 80px 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card:first-child { border-radius: 16px 16px 0 0; }
  .step-card:last-child { border-radius: 0 0 16px 16px; }
  .states-grid { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr; }
  .nav { padding: 0 24px; }
  .footer { padding: 48px 24px 36px; }
  .footer-inner { max-width: 100%; }
  .manifesto-inner { max-width: 100%; }
  .nav-tagline { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .hero-stat-row { flex-wrap: wrap; }
  .hero-stat-div { display: none; }
  .hero-stat { padding: 0 0 16px; width: 50%; }
  .hero-stat:first-child { width: 100%; }
  .ledger-card { padding: 16px; }
  .ledger-row { grid-template-columns: 2fr 1fr; }
  .ledger-row-header span:nth-child(2),
  .ledger-row-header span:nth-child(3) { display: none; }
  .ledger-row span:nth-child(2),
  .ledger-row span:nth-child(3) { display: none; }
}