/*
  The built-in `standard` landing template, moved from docs/design/debt-relief-draft.html.
  Colour tokens come from form.css (--lf*); the page's theme block sets the primary shades.
*/
:root {
  font-family: var(--lfFont);
  color: var(--lfInk);
  background: var(--lfBg);
  -webkit-text-size-adjust: 100%;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--lfBg);
  line-height: 1.55;
  font-size: 17px;
}
h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
a {
  color: var(--lfPrimary);
}
:focus-visible {
  outline: 3px solid var(--lfFocus);
  outline-offset: 2px;
  border-radius: 6px;
}
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.svgPrimary {
  fill: var(--lfPrimary);
}
.svgSoft {
  fill: var(--lfPrimarySoft);
}
.svgStroke {
  stroke: var(--lfPrimary);
}

/* Header */
.siteHeader {
  background: var(--lfSurface);
  border-bottom: 1px solid var(--lfLine);
}
.siteHeader .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
  color: var(--lfInk);
  text-decoration: none;
}
.brand svg {
  flex: none;
}
.tag {
  font-size: 13px;
  color: var(--lfMuted);
  text-align: right;
}

/* Hero */
.hero {
  padding: 36px 0 32px;
}
.hero .wrap {
  display: grid;
  gap: 28px;
}
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--lfPrimary);
  background: var(--lfPrimarySoft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(30px, 8vw, 46px);
  overflow-wrap: anywhere;
}
.hero .sub {
  margin-top: 12px;
  font-size: 18px;
  color: var(--lfMuted);
  max-width: 34em;
}
.benefits {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  gap: 12px;
}
.benefits li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.benefits svg {
  flex: none;
  margin-top: 3px;
}
.heroCta {
  margin-top: 22px;
}
.benefits + .heroCta {
  margin-top: 0;
}
.ctaNote {
  margin-top: 10px;
  font-size: 14px;
  color: var(--lfMuted);
}
.heroArt {
  display: none;
}

/* Sections */
section.block {
  padding: 36px 0;
  border-top: 1px solid var(--lfLine);
}
section.block h2 {
  font-size: 26px;
  margin-bottom: 20px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: s;
}
.steps li {
  display: flex;
  gap: 14px;
  background: var(--lfSurface);
  border: 1px solid var(--lfLine);
  border-radius: var(--lfRadius);
  padding: 16px;
}
.steps li::before {
  counter-increment: s;
  content: counter(s);
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lfPrimarySoft);
  color: var(--lfPrimary);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.steps h3 {
  font-size: 17px;
  margin-bottom: 2px;
}
.steps p {
  color: var(--lfMuted);
  font-size: 16px;
}
.midCta {
  margin-top: 24px;
}
.midCtaBtn {
  max-width: 360px;
}
.faq details {
  background: var(--lfSurface);
  border: 1px solid var(--lfLine);
  border-radius: var(--lfRadius);
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 44px 16px 16px;
  font-weight: 600;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 13px;
  font-size: 22px;
  color: var(--lfPrimary);
}
.faq details[open] summary::after {
  content: '\2212';
}
.faq details p {
  padding: 0 16px 16px;
  color: var(--lfMuted);
  font-size: 16px;
}

/* Legal pages */
main.legal {
  padding: 32px 0 40px;
}
main.legal .wrap {
  max-width: 760px;
}
main.legal h2 {
  font-size: 24px;
  margin: 24px 0 10px;
}
main.legal h2:first-child {
  margin-top: 0;
}
main.legal p,
main.legal ul {
  margin: 0 0 14px;
}

/* Footer */
.siteFooter {
  background: var(--lfSurface);
  border-top: 1px solid var(--lfLine);
  padding: 28px 0 40px;
  font-size: 14px;
  color: var(--lfMuted);
}
.footerLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 18px;
}
.footerLinks a {
  color: var(--lfInk);
  padding: 6px 0;
}
.disclaimer p {
  margin-bottom: 10px;
}

@media (min-width: 760px) {
  .hero {
    padding: 64px 0 56px;
  }
  .hero .wrap {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 48px;
  }
  .heroArt {
    display: block;
  }
  .heroCta .lfBtn {
    width: auto;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps li {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
