/* ==========================================================================
   Site footer — every page carries it

   The site had no footer at all. Stripe's underwriting review looks for the
   things that live in one (contact details, policy links, who the company
   legally is), and a credit repair site without them reads as unfinished.

   Built from the same tokens as everything else: near-black bed, gold
   hairline above, Playfair only for the wordmark. Nothing here animates —
   it is the quiet end of a loud page.
   ========================================================================== */

.sitefoot {
  position: relative;
  background: var(--black-page);
  padding: var(--space-72) var(--gutter) var(--space-44);
  font-family: var(--font-ui);
}

/* The same hairline every section below the hero opens with. */
.sitefoot::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--grad-hairline);
}

.sitefoot__inner {
  max-width: 1240px;
  margin: 0 auto;
}

/* --- The columns ---------------------------------------------------------
   Brand column is wider than the three link columns beside it. */
.sitefoot__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-56) var(--space-38);
  align-items: start;
}

/* --- Brand ---------------------------------------------------------------- */
.sitefoot__wordmark {
  display: flex;
  align-items: baseline;
  gap: var(--space-10);
  font-family: var(--font-display);
  line-height: 1;
}

.sitefoot__name {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--bone);
}

.sitefoot__divider {
  width: 1px;
  height: 20px;
  align-self: center;
  background: var(--gold-divider);
}

.sitefoot__sub {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--gold-figure);
}

.sitefoot__blurb {
  margin: var(--space-18) 0 0;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--bone-mute);
}

.sitefoot__contact {
  margin: var(--space-22) 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--bone-body);
}

.sitefoot__contact a {
  color: var(--gold-cta-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 169, 58, .3);
  transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}

.sitefoot__contact a:hover {
  color: var(--gold-link-hover);
  border-bottom-color: var(--gold-divider);
}

.sitefoot__contact address {
  font-style: normal;
  color: var(--bone-mute);
}

/* --- Link columns --------------------------------------------------------- */
.sitefoot__head {
  margin: 0 0 var(--space-16);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--bone);
}

.sitefoot__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitefoot__list li + li { margin-top: var(--space-10); }

.sitefoot__list a {
  font-size: 15px;
  line-height: 1.6;
  color: var(--bone-mute);
  text-decoration: none;
  transition: color .2s var(--ease-out);
}

.sitefoot__list a:hover { color: var(--gold-link-hover); }

/* --- The statutory note ---------------------------------------------------
   Federal law requires credit repair organizations to be straight about two
   things in particular, and a visitor should not have to reach the contract
   to read them. Set apart from the links so it is not mistaken for one. */
.sitefoot__notice {
  margin-top: var(--space-56);
  padding-top: var(--space-30);
  border-top: 1px solid rgba(217, 169, 58, .16);
  font-size: 14px;
  line-height: 1.75;
  color: var(--bone-mute);
}

/* The rule runs the full width of the footer; the sentences under it do not,
   because 88 characters is about as far as a line of this size stays
   readable. Measuring the paragraphs rather than the block is what keeps the
   hairline from stopping halfway across. */
.sitefoot__notice p { margin: 0 0 var(--space-13); max-width: 88ch; }
.sitefoot__notice p:last-child { margin-bottom: 0; }
.sitefoot__notice b { color: var(--bone-label); font-weight: 600; }

.sitefoot__base {
  margin-top: var(--space-30);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-10) var(--space-24);
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
  color: var(--bone-mute);
}

.sitefoot__base p { margin: 0; }

/* --- Narrower ------------------------------------------------------------- */
@media (max-width: 980px) {
  .sitefoot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .sitefoot { padding-top: var(--space-56); }
  .sitefoot__grid { grid-template-columns: 1fr; gap: var(--space-38); }
  .sitefoot__blurb { max-width: none; }
}
