/* ============ Same Day Business Fund — design system ============ */
:root {
  --navy-900: #0b1220;
  --navy-800: #0f172a;
  --navy-700: #1e293b;
  --ink: #0f172a;
  --slate: #475569;
  --slate-light: #64748b;
  --line: #e2e8f0;
  --green: #16a34a;
  --green-600: #15803d;
  --green-bright: #22c55e;
  --green-soft: #dcfce7;
  --gold: #f59e0b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-mute: #f1f5f9;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(2, 12, 27, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(2, 12, 27, 0.35);
  --maxw: 1160px;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 700;
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
}
p {
  margin: 0 0 1rem;
}
a {
  color: var(--green-600);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-600);
  margin-bottom: 0.6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.2s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(180deg, var(--green-bright), var(--green));
  color: #04240f;
  box-shadow: 0 8px 20px -6px rgba(22, 163, 74, 0.55);
}
.btn-primary:hover {
  box-shadow: 0 12px 26px -6px rgba(22, 163, 74, 0.65);
}
.btn-block {
  width: 100%;
}
.btn-nav {
  background: var(--green-bright);
  color: #04240f;
  padding: 0.6rem 1.15rem;
  font-size: 0.95rem;
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}
.logo:hover {
  text-decoration: none;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(180deg, var(--green-bright), var(--green));
  font-size: 1rem;
}
.main-nav {
  display: flex;
  gap: 1.35rem;
  margin-left: auto;
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a {
  color: var(--slate);
}
.main-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}
.site-header .btn-nav {
  margin-left: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(
      1200px 500px at 80% -10%,
      rgba(34, 197, 94, 0.18),
      transparent
    ),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #e5edf7;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  align-items: center;
}
.hero h1 {
  color: #fff;
}
.hero h1 .hl {
  background: linear-gradient(120deg, var(--green-bright), #a3e635);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 1.2rem;
  color: #b6c4d6;
  max-width: 33ch;
}
.hero .eyebrow {
  color: var(--green-bright);
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.6rem;
  font-size: 0.92rem;
  color: #cdd8e6;
}
.trust-row span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-row b {
  color: #fff;
}
.hero-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}
.hero-badges .stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: #fff;
  font-weight: 800;
}
.hero-badges .stat span {
  font-size: 0.82rem;
  color: #93a4b8;
}

/* ---------- Lead card ---------- */
.lead-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.lead-card-head {
  background: linear-gradient(180deg, var(--green-soft), #fff);
  padding: 1.4rem 1.5rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
.lead-card-head h3 {
  margin-bottom: 0.2rem;
}
.lead-card-head p {
  margin: 0;
  color: var(--slate);
  font-size: 0.9rem;
}
.lead-form {
  padding: 1.4rem 1.5rem 1.6rem;
}
.field {
  margin-bottom: 0.9rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.3rem;
}
.field input,
.field select {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  background: #fff;
  transition:
    border 0.15s,
    box-shadow 0.15s;
}
.field input:focus,
.field select:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}
.consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.72rem;
  color: var(--slate-light);
  line-height: 1.45;
  margin: 0.4rem 0 1rem;
}
.consent input {
  margin-top: 0.15rem;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}
.form-trust {
  text-align: center;
  font-size: 0.8rem;
  color: var(--slate-light);
  margin: 0.8rem 0 0;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* ---------- Sections ---------- */
section {
  padding: 4rem 0;
}
.section-head {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-head p {
  color: var(--slate);
  font-size: 1.08rem;
}
.bg-soft {
  background: var(--bg-soft);
}
.bg-navy {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #dce6f2;
}
.bg-navy h2,
.bg-navy h3 {
  color: #fff;
}
.bg-navy .section-head p {
  color: #a9b8cb;
}

/* ---------- Cards / grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition:
    transform 0.15s,
    box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card .ic {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.7rem;
}
.card h3 {
  font-size: 1.15rem;
}
.card p {
  color: var(--slate);
  font-size: 0.95rem;
  margin: 0;
}
.card .amt {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green-600);
  font-size: 0.9rem;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding-left: 3.4rem;
}
.step:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-600);
  font-family: var(--font-head);
  font-weight: 800;
  display: grid;
  place-items: center;
}
.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.step p {
  color: var(--slate);
  font-size: 0.94rem;
  margin: 0;
}
.bg-navy .step p {
  color: #a9b8cb;
}
.bg-navy .step:before {
  background: rgba(34, 197, 94, 0.18);
  color: var(--green-bright);
}

/* qualify table */
.qual {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.qual th,
.qual td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.qual th {
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
}
.qual tr:last-child td {
  border-bottom: 0;
}
.qual td:first-child {
  font-weight: 600;
}
.qual .yes {
  color: var(--green-600);
  font-weight: 600;
}

/* prose (content pages) */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 {
  margin-top: 2.4rem;
}
.prose h3 {
  margin-top: 1.8rem;
}
.prose ul,
.prose ol {
  padding-left: 1.2rem;
  color: var(--slate);
}
.prose li {
  margin: 0.4rem 0;
}
.prose .callout {
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  padding: 1.1rem 1.3rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.6rem 0;
  color: var(--ink);
}

/* faq */
.faq {
  max-width: 780px;
  margin: 0 auto;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.faq summary {
  padding: 1.1rem 1.3rem;
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: "+";
  color: var(--green-600);
  font-size: 1.3rem;
  font-weight: 700;
}
.faq details[open] summary:after {
  content: "–";
}
.faq details[open] summary {
  border-bottom: 1px solid var(--line);
}
.faq .faq-body {
  padding: 1.1rem 1.3rem;
  color: var(--slate);
}

/* cta band */
.cta-band {
  background: linear-gradient(120deg, var(--green-600), var(--green));
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  color: #eafff0;
  max-width: 40ch;
  margin-inline: auto;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--green-600);
  margin-top: 0.6rem;
}

/* split content + sticky form */
.split {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}
.split .sticky {
  position: sticky;
  top: 90px;
}

/* trust logos strip */
.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: center;
  align-items: center;
  opacity: 0.75;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--slate-light);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #9fb0c4;
  padding: 3rem 0 1.5rem;
  font-size: 0.92rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}
.footer-grid a {
  display: block;
  color: #9fb0c4;
  margin-bottom: 0.35rem;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-brand p {
  max-width: 34ch;
  margin-top: 0.6rem;
}
.footer-legal {
  border-top: 1px solid #1e293b;
  margin-top: 2rem;
  padding-top: 1.3rem;
  font-size: 0.78rem;
  color: #647589;
  line-height: 1.6;
}
.footer-legal a {
  color: #93a4b8;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split .sticky {
    position: static;
  }
  .grid-3,
  .grid-4,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .main-nav {
    display: none;
  }
}
@media (max-width: 560px) {
  .grid-3,
  .grid-4,
  .steps,
  .footer-grid,
  .field-row {
    grid-template-columns: 1fr;
  }
  .hero-badges {
    gap: 1rem;
  }
  .header-inner {
    gap: 0.75rem;
  }
}

/* ---------- Photo hero (industry/pillar pages) ---------- */
.hero.hero-photo {
  background:
    linear-gradient(
      90deg,
      rgba(11, 18, 32, 0.92) 0%,
      rgba(11, 18, 32, 0.78) 45%,
      rgba(11, 18, 32, 0.55) 100%
    ),
    var(--hero-img) center/cover no-repeat;
}
.hero.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    900px 400px at 85% 110%,
    rgba(34, 197, 94, 0.22),
    transparent
  );
  pointer-events: none;
}
/* Inline content image / figure */
.content-figure {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.content-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.content-figure figcaption {
  font-size: 0.82rem;
  color: var(--slate-light);
  padding: 0.6rem 0.9rem;
  background: var(--bg-soft);
}
/* Image band (full-width photo strip between sections) */
.img-band {
  position: relative;
  min-height: 320px;
  background: var(--hero-img) center/cover no-repeat;
}
.img-band .band-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 1.25rem 1.5rem;
  background: linear-gradient(0deg, rgba(11, 18, 32, 0.85), transparent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
}
.img-band .band-caption .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
}
