/* Found Funding — Swoop × Founder Capital design system */
:root {
  --blue: #0052CC;          /* brand blue from logo */
  --blue-dark: #0043A8;
  --navy: #00042E;          /* Founder Capital midnight */
  --navy-2: #060B3A;
  --ink: #0B1B4D;           /* headings on light */
  --slate: #546A7B;         /* body text (Swoop) */
  --mint: #DCF0E5;
  --mint-ink: #0E6A45;
  --peach: #FCEADB;
  --peach-ink: #8A4B1D;
  --soft: #F4F7FB;          /* light section bg */
  --line: #E3EAF3;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(11, 27, 77, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Public Sans", "Inter", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--navy); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: rgba(255,255,255,0.75); }

.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.section.dark .kicker { color: #8FB5FF; }
.lead { font-size: 1.15rem; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: all .18s ease;
  font-family: inherit;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #E7EEFB; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand span { font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a.active { color: var(--blue); }
.nav .btn { padding: 11px 24px; font-size: 0.92rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero p.sub { font-size: 1.15rem; margin: 20px 0 8px; max-width: 520px; }

.goal-card {
  margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 22px; box-shadow: var(--shadow); max-width: 520px;
}
.goal-card h3 { margin-bottom: 16px; font-size: 1.15rem; }
.goal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.goal-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 0.98rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); }
.goal-card .btn { width: 100%; justify-content: center; }
.goal-card .fine { font-size: 0.78rem; color: #8CA0B3; margin-top: 10px; text-align: center; }

.hero-visual { position: relative; }
.hero-visual .photo {
  width: 100%; aspect-ratio: 10 / 11; object-fit: cover;
  border-radius: 32px 32px 32px 140px;
}
.chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(11,27,77,0.18); white-space: nowrap;
}
.chip.mint { background: var(--mint); color: var(--mint-ink); top: 14%; left: -8%; }
.chip.peach { background: var(--peach); color: var(--peach-ink); top: 46%; left: -14%; }
.chip.navy { background: var(--navy); color: #fff; bottom: 16%; left: -6%; }
.chip .tick { width: 20px; height: 20px; border-radius: 50%; background: #1DA463; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; }
.powered {
  position: absolute; bottom: -18px; right: 4%; background: #fff; border-radius: 14px;
  padding: 12px 20px; box-shadow: 0 8px 24px rgba(11,27,77,0.15);
  display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--slate); font-weight: 600;
}
.powered img { height: 26px; width: auto; }

/* Trust strip */
.trust { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -10px; }
.avatars img:first-child { margin-left: 0; }
.trust p { font-weight: 600; color: var(--ink); }

/* Cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img.icon { width: 72px; height: 72px; object-fit: contain; margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 0.92rem; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; text-align: center; }
.stat b { display: block; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.stat span { color: rgba(255,255,255,0.65); font-size: 0.95rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step .num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.92rem; }

/* Blog cards */
.post-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.post-card .thumb { width: 100%; height: 190px; object-fit: cover; }
.post-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.08rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--blue); }
.post-card p { font-size: 0.92rem; margin-top: 8px; flex: 1; }
.post-card .more { margin-top: 14px; font-weight: 600; font-size: 0.92rem; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 720px; margin: 0 auto 16px; }
.cta-band p { max-width: 560px; margin: 0 auto 30px; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .photo { border-radius: var(--radius); box-shadow: var(--shadow); }
.checklist { list-style: none; margin-top: 22px; }
.checklist li { padding-left: 34px; position: relative; margin-bottom: 14px; color: var(--slate); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px;
  background: var(--mint); color: var(--mint-ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700;
}

/* Page hero (inner pages) */
.page-hero { background: var(--navy); padding: 84px 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.12rem; max-width: 620px; margin-top: 16px; }
.page-hero .btn { margin-top: 28px; }

/* Article */
.article { max-width: 760px; margin: 0 auto; padding: 72px 24px; }
.article h1 { margin-bottom: 10px; }
.article .meta { color: #8CA0B3; font-size: 0.9rem; margin-bottom: 28px; }
.article img.feature { border-radius: var(--radius); margin: 0 0 32px; width: 100%; max-height: 420px; object-fit: cover; }
.article p { margin-bottom: 18px; }
.article h2 { font-size: 1.5rem; margin: 34px 0 14px; }
.article ul { margin: 0 0 18px 22px; }
.article ul li { margin-bottom: 8px; }
.article .cta-inline {
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; margin-top: 40px; text-align: center;
}
.article .cta-inline h3 { margin-bottom: 8px; }
.article .cta-inline p { margin-bottom: 18px; }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 72px 24px; }
.legal h1 { margin-bottom: 8px; }
.legal .meta { color: #8CA0B3; margin-bottom: 32px; }
.legal h2 { font-size: 1.3rem; margin: 30px 0 10px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { margin-left: 22px; }

/* Product pages */
.icon-card { display: flex; align-items: center; justify-content: center; padding: 56px; background: var(--soft); border: 0; }
.icon-card img.icon { width: 160px; height: 160px; object-fit: contain; margin: 0; }
.faq-item h3 { font-size: 1.05rem; }

/* Calculator */
.calc-split { align-items: start; }
.calc-card { max-width: none; margin-top: 0; }
.calc-results { display: grid; gap: 14px; margin-top: 22px; }
.calc-stat {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px;
}
.calc-stat span { font-weight: 600; color: var(--slate); }
.calc-stat b { font-size: 1.5rem; color: var(--ink); letter-spacing: -0.02em; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.site-footer .cols.cols-4 { grid-template-columns: 2fr 1fr 1fr 1fr; }
.site-footer .brand span { color: #fff; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer a { color: rgba(255,255,255,0.7); display: block; margin-bottom: 10px; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.site-footer .blurb { font-size: 0.92rem; margin-top: 16px; max-width: 380px; }
.site-footer .powered-inline { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 0.85rem; }
.site-footer .powered-inline img { height: 24px; background: #fff; border-radius: 6px; padding: 3px 8px; }
.site-footer .legal-line { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; font-size: 0.82rem; line-height: 1.7; }

/* Consent banner */
.consent-banner {
  position: fixed; bottom: 20px; left: 20px; z-index: 100; max-width: 360px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 12px 40px rgba(11,27,77,0.22);
}
.consent-banner p { font-size: 0.9rem; margin-bottom: 14px; }
.consent-actions { display: flex; gap: 10px; }
.consent-actions .btn { padding: 10px 20px; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .chip.mint { left: 2%; } .chip.peach { left: -2%; } .chip.navy { left: 2%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 22px; }
  .site-footer .cols, .site-footer .cols.cols-4 { grid-template-columns: 1fr; gap: 32px; }
  .calc-split { grid-template-columns: 1fr; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 24px; gap: 18px; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .grid-4, .steps { grid-template-columns: 1fr; }
  .goal-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 72px; }
}
