/* Federal Recovery LLC site styles
   Brand: black #010101, charcoal #1C1A1B, silver #BEBABB, white
   Mobile-first. */

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-variable.woff") format("woff");
  font-weight: 100 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #010101;
  --charcoal: #1c1a1b;
  --panel: #232021;
  --panel-2: #2c292a;
  --line: rgba(190, 186, 187, 0.28);
  --line-strong: rgba(190, 186, 187, 0.55);
  --silver: #bebabb;
  --silver-dim: rgba(190, 186, 187, 0.72);
  --white: #ffffff;
  --off: #f3f1f1;
  --focus: #f2f0f0;
  --danger-note: #d7c4a0;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1.1rem, 3.2vw, 2rem);
  --radius: 2px;
  --header-offset: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--off);
  background: var(--black);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

a {
  color: var(--silver);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--white); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 1000;
  background: var(--silver);
  color: var(--black);
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 0.4rem;
  color: var(--black);
}
/* —— Layout —— */
.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.section {
  padding: clamp(2.2rem, 5vw, 4.2rem) 0;
}
.section + .section {
  border-top: 1px solid var(--line);
}
.section-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  margin: 0 0 0.55rem;
}
.section h1,
.section h2,
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 0.85rem;
}
h1 { font-size: clamp(2.4rem, 7.2vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 4.4vw, 2.75rem); }
h3 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 0.5rem;
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--silver);
  max-width: 40rem;
  margin: 0 0 1.5rem;
}
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* —— Header —— */
.site-header {
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}
.brand:hover { color: var(--white); }
.brand-logo {
  width: 3.85rem;
  height: auto;
  flex: 0 0 auto;
}
@media (min-width: 800px) {
  .brand-logo { width: 4.35rem; }
}
.brand-text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 3.4vw, 1.55rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-meta {
  font-size: 0.78rem;
  color: var(--silver);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.15rem;
}
.nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--silver);
  padding: 0.45rem 0.7rem;
  border: 1px solid transparent;
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
  border-color: var(--line-strong);
}
.nav a[aria-current="page"] {
  color: var(--white);
  border-color: var(--silver);
}

@media (max-width: 799px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding-bottom: 0.95rem;
  }
  .nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 0.35rem;
  }
  .nav a {
    text-align: center;
    border-color: var(--line);
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--silver);
  line-height: 1.2;
  cursor: pointer;
}
.btn-solid {
  background: var(--silver);
  color: var(--black);
}
.btn-solid:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--silver);
}
.btn-ghost:hover {
  background: var(--panel);
  color: var(--white);
}
.btn[disabled],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.phone-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--white);
  white-space: nowrap;
}
.phone-link:hover { color: var(--silver); }

/* —— Hero —— */
.hero {
  padding: clamp(2.2rem, 6vw, 4.8rem) 0 clamp(2.4rem, 5vw, 4rem);
  background:
    linear-gradient(180deg, rgba(28, 26, 27, 0.55), rgba(1, 1, 1, 0) 42%),
    var(--black);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -10%;
  width: min(52vw, 34rem);
  aspect-ratio: 1000 / 920;
  background: url("../img/logo.svg") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 3rem;
  }
}
.hero-contact {
  background: var(--charcoal);
  border: 1px solid var(--line);
  padding: 1.25rem 1.35rem;
}
.hero-contact p { color: var(--silver); margin-bottom: 0.7rem; }
.hero-contact .label {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--silver);
  margin: 0 0 0.25rem;
}

/* —— Path cards (lenders / owners) —— */
.paths {
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .paths { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
.path-card {
  background: var(--charcoal);
  border: 1px solid var(--line);
  padding: 1.5rem 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.path-card h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.path-card .btn { margin-top: auto; align-self: flex-start; }
.path-card p { color: var(--silver); }

/* —— Facts strip —— */
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
@media (min-width: 800px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
}
.fact {
  padding: 1.05rem 1.1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .fact:nth-child(4n) { border-right: 0; }
  .fact { border-bottom: 0; }
}
@media (max-width: 799px) {
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-last-child(-n + 2) { border-bottom: 0; }
}
.fact dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  margin: 0 0 0.25rem;
}
.fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
}

/* —— Steps —— */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.steps li {
  background: var(--charcoal);
  border: 1px solid var(--line);
  padding: 1.25rem 1.2rem 1.3rem;
  counter-increment: step;
  position: relative;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--silver);
  margin-bottom: 0.5rem;
}

/* —— Content layout —— */
.split {
  display: grid;
  gap: 1.6rem;
}
@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.35fr 0.85fr;
    gap: 3rem;
    align-items: start;
  }
}
.stack { display: grid; gap: 1rem; }

.panel {
  background: var(--charcoal);
  border: 1px solid var(--line);
  padding: 1.3rem 1.25rem;
}
.panel h2, .panel h3 { margin-top: 0; }

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--off);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid var(--silver);
  border-radius: 1px;
}
/* —— Address blocks —— */
.addr-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .addr-grid { grid-template-columns: 1fr 1fr; }
}
.addr {
  background: var(--charcoal);
  border: 1px solid var(--line);
  padding: 1.3rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.addr .kind {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--silver);
}
.addr .lines {
  font-style: normal;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.45;
}
.addr .hours { color: var(--silver); }

/* —— Tables —— */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
th, td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: var(--silver);
}
td { color: var(--off); }

/* —— Forms —— */
.form {
  display: grid;
  gap: 0.9rem;
}
.form-row {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--silver);
  margin-bottom: 0.35rem;
}
input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.65rem 0.7rem;
  appearance: none;
}
textarea { min-height: 8rem; resize: vertical; }
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23BEBABB' d='M1.1 1.2 6 6.1l4.9-4.9 1.1 1.1L6 8.3 0 2.3z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.75rem 0.5rem;
  padding-right: 2.1rem;
}
@media (max-width: 599px) {
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
}
.form-note {
  background: rgba(190, 186, 187, 0.08);
  border-left: 3px solid var(--silver);
  padding: 0.75rem 0.9rem;
  color: var(--silver);
  margin: 0;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--charcoal);
  padding: 2.4rem 0 1.5rem;
  margin-top: 0;
  color: var(--silver);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 1.6rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 0.9fr; }
}
.site-footer h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 0.55rem;
}
.site-footer address { font-style: normal; margin: 0 0 0.5rem; }
.footer-legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--silver-dim);
  font-size: 0.85rem;
}

/* —— Utilities —— */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.muted { color: var(--silver); }
.mt-0 { margin-top: 0; }

@media print {
  .site-header, .site-footer, .btn { break-inside: avoid; }
  body { background: #fff; color: #111; }
  a { color: #000; }
}
