:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5c6672;
  --line: #d8e0e5;
  --paper: #f5f7f6;
  --white: #ffffff;
  --charcoal: #101820;
  --navy: #1d3244;
  --teal: #16736a;
  --teal-dark: #0d5b54;
  --amber: #d89a2b;
  --mint: #e9f5f2;
  --shadow: 0 18px 48px rgba(16, 24, 32, 0.14);
  --soft-shadow: 0 16px 38px rgba(20, 36, 48, 0.09);
  --lift-shadow: 0 24px 60px rgba(20, 36, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 20px);
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 20px);
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--teal);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header-cta {
  flex: 0 0 auto;
  color: var(--teal);
  border-color: rgba(22, 115, 106, 0.45);
  background: var(--white);
}

.button.primary {
  color: #111820;
  background: var(--amber);
  box-shadow: 0 12px 28px rgba(216, 154, 43, 0.22);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--soft-shadow);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("invoice-recovery-hero.jpg") center right / cover no-repeat;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.94) 0%, rgba(16, 24, 32, 0.82) 48%, rgba(16, 24, 32, 0.28) 78%, rgba(16, 24, 32, 0.1) 100%),
    linear-gradient(0deg, rgba(16, 24, 32, 0.32), rgba(16, 24, 32, 0.06));
}

.hero-content {
  position: relative;
  width: min(830px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 78px);
  padding: 90px 0 112px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.9rem, 6.5vw, 6.2rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.18rem;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-list,
.fit-list,
.stat-list,
.area-list {
  padding: 0;
  list-style: none;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.trust-list span,
.trust-card span {
  display: inline-grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: #102018;
  background: var(--amber);
  font-weight: 800;
}

.section,
.intake,
.faq,
.legal-note {
  padding: clamp(52px, 7vw, 86px) clamp(18px, 5vw, 64px);
}

.section-intro {
  max-width: 780px;
}

.section-intro p:not(.eyebrow),
.path-card p,
.fit-card p,
.how-card p,
.faq p,
.legal-note p,
.legal-content p,
.legal-content li,
.thank-you-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.paths,
.how {
  background: var(--white);
}

.path-grid,
.fit-grid,
.trust-grid,
.how-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.path-card,
.fit-card,
.trust-card,
.how-card,
.quote-form,
.thank-you-panel {
  border: 1px solid rgba(216, 224, 229, 0.78);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.path-card,
.fit-card,
.how-card {
  padding: clamp(22px, 4vw, 32px);
}

.trust {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-card {
  display: grid;
  min-height: 196px;
  align-content: start;
  gap: 14px;
  padding: 28px;
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.trust-card:hover,
.path-card:hover,
.fit-card:hover,
.how-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 115, 106, 0.24);
  box-shadow: var(--lift-shadow);
}

.trust-card span {
  width: 46px;
  height: 46px;
  color: var(--teal-dark);
  background: linear-gradient(180deg, #f4fbf8, #e4f3ef);
  border: 1px solid rgba(22, 115, 106, 0.15);
  font-size: 0.78rem;
}

.trust-card h3 {
  margin-top: 2px;
  font-size: 1.24rem;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
}

.trust-card strong {
  color: var(--navy);
}

.how-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.how-card {
  min-height: 220px;
  background: #fbfcfb;
  box-shadow: var(--soft-shadow);
}

.how-card .path-number {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 14px 28px rgba(22, 115, 106, 0.2);
}

.step-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--mint);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.path-card {
  min-height: 220px;
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.path-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 800;
}

.fit {
  background: var(--paper);
}

.fit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fit-card {
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.fit-card.good {
  background: var(--mint);
  border-color: rgba(22, 115, 106, 0.32);
}

.fit-card.bad {
  background: #fff7ec;
  border-color: rgba(216, 154, 43, 0.38);
}

.fit-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  color: var(--muted);
}

.intake {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--white);
}

.stat-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
}

.stat-list li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.stat-list strong {
  display: block;
  color: var(--navy);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  background: #fbfcfb;
  box-shadow: var(--lift-shadow);
}

.form-section {
  padding-top: 6px;
  border-top: 1px solid rgba(216, 224, 229, 0.78);
}

.form-section.first {
  padding-top: 0;
  border-top: 0;
}

.form-section .eyebrow {
  margin-bottom: 6px;
  color: var(--teal);
}

.form-section h3 {
  margin: 0;
  font-size: 1.35rem;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid #c6d0d7;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(22, 115, 106, 0.38);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(216, 154, 43, 0.52);
  outline-offset: 2px;
}

.span-2 {
  grid-column: 1 / -1;
}

.checkbox {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 400;
}

.checkbox input {
  min-height: 20px;
  margin-top: 2px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-reassurance {
  margin: 0;
  padding: 13px 14px;
  border: 1px solid rgba(22, 115, 106, 0.2);
  border-radius: 8px;
  color: var(--navy);
  background: var(--mint);
  font-weight: 800;
}

.form-error {
  padding: 12px 14px;
  border: 1px solid rgba(165, 57, 57, 0.3);
  border-radius: 8px;
  color: #7a2424;
  background: #fff0f0;
  font-weight: 800;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.faq {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 940px;
  margin-top: 28px;
}

details {
  border: 1px solid rgba(216, 224, 229, 0.78);
  border-radius: 12px;
  background: #fbfcfb;
  box-shadow: 0 10px 26px rgba(20, 36, 48, 0.05);
}

summary {
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.legal-note {
  background: #edf2f4;
}

.legal-note h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.legal-note p {
  max-width: 1040px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--charcoal);
}

.site-footer p {
  margin: 0 0 4px;
}

.legal-page {
  background: var(--white);
}

.legal-content {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 38px 0 70px;
}

.legal-content h1 {
  max-width: 13ch;
  color: var(--navy);
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 0.95;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.thank-you-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(245, 247, 246, 0.97), rgba(245, 247, 246, 0.82)),
    url("invoice-recovery-hero.jpg") center right / cover no-repeat;
}

.thank-you {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 34px;
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 40px 0;
}

.thank-you-panel {
  padding: clamp(24px, 5vw, 46px);
  background: rgba(255, 255, 255, 0.93);
}

.thank-you-panel h1 {
  max-width: 12ch;
  color: var(--navy);
  font-size: clamp(2.7rem, 8vw, 5.6rem);
  line-height: 0.95;
}

.thank-you-panel .button.secondary {
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
}

.next-steps {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.next-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 6px 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(216, 224, 229, 0.82);
  border-radius: 14px;
  background: #fbfcfb;
  box-shadow: var(--soft-shadow);
}

.next-step span {
  grid-row: span 2;
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  font-weight: 800;
}

.next-step strong {
  color: var(--navy);
  font-size: 1.06rem;
}

.next-step p,
.prep-note {
  margin: 0;
}

.next-arrow {
  color: var(--teal);
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 680px;
  }

  .hero-media {
    background-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(16, 24, 32, 0.94) 0%, rgba(16, 24, 32, 0.82) 64%, rgba(16, 24, 32, 0.25) 100%),
      linear-gradient(0deg, rgba(16, 24, 32, 0.35), rgba(16, 24, 32, 0.08));
  }

  .intake,
  .path-grid,
  .fit-grid,
  .trust-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-card {
    min-height: 0;
  }

}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    max-width: calc(100% - 124px);
    line-height: 1.1;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links {
    gap: 10px;
    font-size: 0.9rem;
  }

  .nav-links a {
    flex: 1 1 auto;
  }

  .hero {
    min-height: 660px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding: 58px 0 72px;
  }

  h1 {
    max-width: 11ch;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
  }

  .trust-list li {
    width: 100%;
  }

  .trust-card {
    min-height: 0;
    padding: 22px;
  }

  .quote-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
