/* ==========================================================================
   FixDebtUSA — Components & Layout
   Mobile-first. Depends on vendor/css/bootstrap.min.css + assets/css/theme.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}

.text-brand   { color: hsl(var(--primary)); }
.text-soft    { color: hsl(var(--muted-foreground)); }
.bg-soft      { background-color: hsl(var(--secondary)); }

/* Uppercase eyebrow label — "WHY CHOOSE US", "STATUS UPDATE", field labels */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.eyebrow-brand {
  color: hsl(var(--primary));
}

/* Page containers */
.container-funnel,
.container-wide,
.container-legal,
.container-shell {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
}

.container-funnel { max-width: calc(var(--container-funnel) + 2rem); }
.container-wide   { max-width: calc(var(--container-wide) + 2rem); }
.container-legal  { max-width: calc(var(--container-legal) + 2rem); }
.container-shell  { max-width: calc(var(--container-shell) + 5rem); }

/* The shell (header/footer) sits close to the viewport edges on desktop */
@media (min-width: 992px) {
  .container-shell { padding-inline: 2.5rem; }
}

/* Accessible skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1080;
  background: hsl(var(--primary));
  color: #fff;
  padding: 0.625rem 1rem;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   2. Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
}

.site-header .container-funnel,
.site-header .container-wide,
.site-header .container-legal,
.site-header .container-shell,
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 1rem;
  padding-block: 0.875rem;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding-inline: 1.5rem !important;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-inline: 0 !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.brand img {
  height: 40px !important;
  width: auto !important;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.brand-logo {
  height: 46px !important;
  width: auto !important;
  max-width: 100%;
  object-fit: contain;
  margin-left: 0 !important;
  margin-right: auto !important;
  display: block;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  text-align: right;
  min-width: 0; /* let the contact line wrap instead of overflowing the header */
}

.header-phone__number {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: hsl(var(--primary));
  text-decoration: none;
}

.header-phone__number:hover {
  color: hsl(var(--primary-dark));
}

.header-phone__hours {
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.125rem;
}

/* --------------------------------------------------------------------------
   3. Progress bar (steps 1–4)
   -------------------------------------------------------------------------- */

.funnel-progress {
  background-color: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  padding-block: 0.75rem 0.5rem;
}

.step-nodes {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  margin: 0 0 0.625rem;
  padding: 0;
}

/* grey connector track behind the circles */
.step-nodes::before,
.step-nodes::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 12px;
  right: 12px;
  height: 2px;
  transform: translateY(-50%);
  background-color: hsl(var(--border));
  z-index: 0;
}

/* green completed portion — width driven by --line-fill (set per page) */
.step-nodes::after {
  right: auto;
  width: calc((100% - 24px) * var(--line-fill, 0));
  background-color: hsl(var(--primary));
  transition: width 0.4s ease;
}

.step-node {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: hsl(var(--card));
  border: 2px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  flex-shrink: 0;
}

.step-node--current {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.step-node--done {
  background-color: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.step-track {
  height: 4px;
  border-radius: 999px;
  background-color: hsl(var(--muted));
  overflow: hidden;
}

.step-track__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background-color: hsl(var(--primary));
  transition: width 0.4s ease;
}

.step-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.375rem;
  font-size: 0.75rem;
}

.step-percent {
  color: hsl(var(--muted-foreground));
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   4. Funnel body
   -------------------------------------------------------------------------- */

.funnel-body {
  background: var(--gradient-hero);
  padding-block: 1.5rem 2rem;
}

.update-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
}

.update-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: hsl(var(--primary));
}

.step-title {
  font-size: 1.75rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.step-subtitle {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0;
}

.panel {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .7);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
}

/* --------------------------------------------------------------------------
   5. Step 1 — amount slider
   -------------------------------------------------------------------------- */

.amount-display {
  text-align: center;
  padding-block: 0.25rem 0.75rem;
}

.amount-display__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.25rem;
}

.amount-display__value {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: hsl(var(--primary));
  line-height: 1.1;
  margin: 0;
}

/* Range input — themed for WebKit, Firefox and Edge */
.amount-slider {
  --pct: 33%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  margin: 0.75rem 0 0.5rem;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    hsl(var(--primary)) 0%,
    hsl(var(--primary)) var(--pct),
    hsl(var(--muted)) var(--pct),
    hsl(var(--muted)) 100%
  );
  cursor: pointer;
}

.amount-slider:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px hsl(var(--ring) / .25);
}

.amount-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: hsl(var(--primary));
  border: 3px solid hsl(var(--card));
  box-shadow: var(--shadow-elevated);
  cursor: grab;
}

.amount-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
}

.amount-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: hsl(var(--primary));
  border: 3px solid hsl(var(--card));
  box-shadow: var(--shadow-elevated);
  cursor: grab;
}

.amount-slider::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

.slider-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

/* Quick-select amounts — 2 columns at every breakpoint */
.quick-amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.quick-amount {
  min-height: 48px;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-btn);
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.quick-amount:hover {
  border-color: hsl(var(--primary) / .4);
  background-color: hsl(var(--secondary) / .5);
}

.quick-amount.is-active {
  background-color: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.quick-amount:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px hsl(var(--ring) / .25);
}

/* Social proof strip */
.social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: hsl(var(--secondary) / .8);
  border-radius: var(--radius-btn);
  padding: 0.75rem 0.875rem;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: hsl(var(--secondary-foreground));
}

.avatar-stack {
  display: flex;
  flex-shrink: 0;
}

.avatar-stack img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid hsl(var(--card));
  object-fit: cover;
}

.avatar-stack img + img {
  margin-left: -10px;
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

.btn-edr {
  --btn-bg: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 56px;
  padding: 0.9375rem 1.25rem;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--btn-bg);
  color: hsl(var(--primary-foreground));
  font-size: 1.0625rem;
  font-weight: 700;
  box-shadow: var(--shadow-elevated);
  transition: filter 0.15s ease, transform 0.1s ease;
}

.btn-edr:hover {
  filter: brightness(1.05);
  color: hsl(var(--primary-foreground));
}

.btn-edr:active {
  transform: translateY(1px);
}

.btn-edr:focus-visible {
  outline: none;
  box-shadow: var(--shadow-elevated), 0 0 0 3px hsl(var(--ring) / .3);
}

.btn-edr:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Darker variant used on the final submit */
.btn-edr--deep {
  --btn-bg: var(--gradient-urgency);
}

/* --------------------------------------------------------------------------
   7. Trust badges
   -------------------------------------------------------------------------- */

.trust-bar {
  background-color: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  padding-block: 0.875rem;
}

.trust-bar__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.trust-bar__item i {
  color: hsl(var(--primary));
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   8. "Our Commitments"
   -------------------------------------------------------------------------- */

.commitments {
  background-color: hsl(var(--secondary) / .45);
  padding-block: 2.5rem;
}

.commitment-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .6);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
  height: 100%;
}

.commitment-card + .commitment-card {
  margin-top: 1rem;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, hsl(var(--primary, 140 68% 42%)), hsl(142 55% 30%));
  color: #ffffff !important;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px hsl(var(--primary, 140 68% 42%) / .25);
}

.icon-badge i,
.icon-badge svg,
.icon-badge path,
.icon-badge i::before,
.sv-tackle-card__icon i,
.sv-tackle-card__icon svg,
.sv-tackle-card__icon path,
.sv-tackle-card__icon i::before,
.sv-built-card__icon i,
.sv-built-card__icon svg,
.sv-built-card__icon path,
.sv-built-card__icon i::before,
.fq-category-head__icon i,
.fq-category-head__icon svg,
.fq-category-head__icon path,
.fq-category-head__icon i::before,
.hp-stat--feature .hp-stat__icon i,
.hp-stat--feature .hp-stat__icon svg,
.hp-stat--feature .hp-stat__icon path,
.hp-stat--feature .hp-stat__icon i::before {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.wu-outcome-card__icon i,
.wu-outcome-card__icon svg,
.wu-outcome-card__icon path,
.wu-outcome-card__icon i::before,
.ab-value-card__icon i,
.ab-value-card__icon svg,
.ab-value-card__icon path,
.ab-value-card__icon i::before,
.hp-stat__icon:not(.hp-stat--feature .hp-stat__icon) i,
.hp-stat__icon:not(.hp-stat--feature .hp-stat__icon) svg,
.hp-stat__icon:not(.hp-stat--feature .hp-stat__icon) path,
.hp-stat__icon:not(.hp-stat--feature .hp-stat__icon) i::before,
.hp-commit__icon i,
.hp-commit__icon svg,
.hp-commit__icon path,
.hp-commit__icon i::before,
.hiw-hero__stat-icon i,
.hiw-hero__stat-icon svg,
.hiw-hero__stat-icon path,
.hiw-hero__stat-icon i::before,
.hiw-trust-card__icon i,
.hiw-trust-card__icon svg,
.hiw-trust-card__icon path,
.hiw-trust-card__icon i::before,
.ct-method__icon i,
.ct-method__icon svg,
.ct-method__icon path,
.ct-method__icon i::before {
  color: inherit !important;
  fill: currentColor !important;
  stroke: currentColor !important;
  -webkit-text-fill-color: inherit !important;
}

/* Rocket icon definition with SVG mask for universal crisp rendering */
.bi-rocket,
.bi-rocket-takeoff,
.bi-rocket-fill,
i[class*="rocket"] {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.15em;
  background-color: currentColor !important;
  color: inherit;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9.652.833a.5.5 0 0 0-.649.223l-1.89 3.78a16 16 0 0 0-4.047 2.052L.61 5.485a.5.5 0 0 0-.604.561l.995 5.97a.5.5 0 0 0 .58.411l5.97-.995a.5.5 0 0 0 .561-.604l-1.404-2.456a16 16 0 0 0 2.052-4.047l3.78-1.89a.5.5 0 0 0 .223-.649l-2.072-4.145zm-2.825 8.1a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708l1.5 1.5a.5.5 0 0 1 0 .708z'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M9.652.833a.5.5 0 0 0-.649.223l-1.89 3.78a16 16 0 0 0-4.047 2.052L.61 5.485a.5.5 0 0 0-.604.561l.995 5.97a.5.5 0 0 0 .58.411l5.97-.995a.5.5 0 0 0 .561-.604l-1.404-2.456a16 16 0 0 0 2.052-4.047l3.78-1.89a.5.5 0 0 0 .223-.649l-2.072-4.145zm-2.825 8.1a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708l1.5 1.5a.5.5 0 0 1 0 .708z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.commitment-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0.75rem 0 0.375rem;
}

.commitment-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. Forms (step 2 / 3 / 4)
   -------------------------------------------------------------------------- */

.field-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.375rem;
}

.form-control,
.form-select {
  min-height: 52px;
  border-radius: var(--radius);
  border-color: hsl(var(--border));
  font-size: 1rem;
  color: hsl(var(--foreground));
  background-color: hsl(var(--card));
}

.form-control::placeholder {
  color: hsl(var(--muted-foreground) / .8);
}

.form-control:focus,
.form-select:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--ring) / .18);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: hsl(var(--destructive));
  background-color: hsl(var(--destructive) / .04);
  background-image: none;
}

.invalid-feedback {
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Consent checkbox */
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 0.625rem;
}

.consent-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.125rem;
  accent-color: hsl(var(--primary));
  border-radius: 4px;
  flex-shrink: 0;
}

.consent-check label {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}

.consent-check label strong {
  color: hsl(var(--primary));
  font-weight: 700;
}

/* Single-select option tiles (step 2) */
.option-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
}

.option-tile {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  min-height: 60px;
  padding: 0.875rem 1rem;
  text-align: left;
  border-radius: var(--radius-btn);
  border: 1.5px solid hsl(var(--border));
  background-color: hsl(var(--card));
  color: hsl(var(--foreground));
  font-size: 1rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.option-tile:hover {
  border-color: hsl(var(--primary) / .4);
  background-color: hsl(var(--secondary) / .3);
}

.option-tile.is-active {
  border-color: hsl(var(--primary));
  background-color: hsl(var(--secondary));
  box-shadow: var(--shadow-elevated);
}

.option-tile:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px hsl(var(--ring) / .25);
}

.option-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: hsl(var(--primary-light) / .15);
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.option-tile.is-active .option-tile__icon {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* Stacked option tiles — 2-column grid, icon above label (step 2) */
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.option-tile--stacked {
  flex-direction: column;
  justify-content: center;
  gap: 0.625rem;
  min-height: 118px;
  padding: 1.125rem 0.75rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
}

.option-tile--stacked .option-tile__icon {
  width: 44px;
  height: 44px;
  font-size: 1.125rem;
  background-color: hsl(var(--secondary));
}

/* Radio indicator on the right of a full-width option row (step 3) */
.option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid hsl(var(--border));
  flex-shrink: 0;
  margin-left: auto;
  position: relative;
}

.option-tile.is-active .option-radio {
  border-color: hsl(var(--primary));
  background-color: hsl(var(--primary));
}

.option-tile.is-active .option-radio::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background-color: hsl(var(--card));
}

/* Sub-question label inside a panel ("What is your home address?") */
.field-question {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

/* Text input with a leading icon */
.input-with-icon {
  position: relative;
}

.input-with-icon > i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted-foreground));
  pointer-events: none;
  z-index: 4;
}

.input-with-icon .form-control {
  padding-left: 2.75rem;
}

/* Pre-qualified banner */
.prequal-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background-color: hsl(var(--secondary) / .75);
  border: 1px solid hsl(var(--primary) / .25);
  border-radius: var(--radius-btn);
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
}

.prequal-banner i {
  color: hsl(var(--primary));
  font-size: 1.125rem;
  line-height: 1.2;
}

.prequal-banner__title {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: hsl(var(--primary-dark));
  margin-bottom: 0.25rem;
}

.prequal-banner__text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: hsl(var(--secondary-foreground));
  margin: 0;
}

/* Urgency banner */
.urgency-banner {
  text-align: center;
  background-color: hsl(var(--accent) / .12);
  border: 1px solid hsl(var(--accent) / .35);
  border-radius: var(--radius-btn);
  padding: 0.75rem 1rem;
  margin-block: 1.25rem;
}

.urgency-banner__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.urgency-banner__text {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  margin: 0.125rem 0 0;
}

/* Legal fine print */
.fineprint {
  margin-top: 1rem;
}

.fineprint p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.fineprint a {
  color: hsl(var(--muted-foreground));
  text-decoration: underline;
}

.fineprint a:hover {
  color: hsl(var(--primary));
}

.ssl-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   10. Thank-you page & Loading Screen
   -------------------------------------------------------------------------- */

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: hsl(var(--background));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-spinner-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin-inline: auto;
}

.loading-spinner-svg {
  width: 90px;
  height: 90px;
  transform: rotate(-90deg);
}

.spinner-ring {
  stroke-dasharray: 264;
  stroke-dashoffset: 66;
  animation: spinnerRotate 1.8s linear infinite;
  transform-origin: center;
}

@keyframes spinnerRotate {
  0% { transform: rotate(0deg); stroke-dashoffset: 200; }
  50% { transform: rotate(180deg); stroke-dashoffset: 66; }
  100% { transform: rotate(360deg); stroke-dashoffset: 200; }
}

.spinner-check {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: hsl(122 45% 32%);
}

.loading-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.loading-step-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: hsl(215 15% 55%);
  opacity: 0.35;
  transition: opacity 0.4s ease, color 0.4s ease;
}

.loading-step-item.is-active {
  opacity: 1;
  color: hsl(220 20% 12%);
  font-weight: 600;
}

.loading-step-item.is-done {
  opacity: 1;
  color: hsl(220 20% 12%);
  font-weight: 600;
}

.loading-step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid hsl(122 40% 35%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: hsl(122 40% 35%);
  flex-shrink: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.loading-step-item.is-active .loading-step-icon {
  border-color: hsl(122 45% 34%);
  color: hsl(122 45% 34%);
  background-color: transparent;
}

.loading-step-item.is-done .loading-step-icon {
  background-color: hsl(122 45% 34%);
  border-color: hsl(122 45% 34%);
  color: #fff;
}

.loading-progress-track {
  height: 8px;
  background-color: hsl(122 20% 92%);
  border-radius: 999px;
  overflow: hidden;
}

.loading-progress-fill {
  height: 100%;
  background-color: hsl(122 45% 34%);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ty-card {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border) / .7);
}

.ty-card__head {
  background: linear-gradient(135deg, hsl(122 42% 32%), hsl(122 46% 40%));
  color: #fff;
  padding: 1.25rem 1.5rem;
  text-align: center;
}

/* Premium Hero Thank You Banner */
.ty-card--hero {
  border-radius: 24px;
  background: linear-gradient(135deg, hsl(122 46% 24%), hsl(122 52% 34%));
  box-shadow: 0 18px 40px -6px rgba(24, 78, 38, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3.5rem 2.25rem;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.ty-card--hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
}

.ty-hero-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.35rem;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  animation: tyPulse 2.5s infinite ease-in-out;
}

@keyframes tyPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35); }
  70% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.ty-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
  line-height: 1.15;
}

.ty-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto;
}

.ty-check-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1rem;
}

.ty-prequal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background-color: hsl(122 35% 94%);
  color: hsl(122 50% 28%);
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  border: 1px solid hsl(122 35% 82%);
}

.ty-alert-box {
  background-color: hsl(122 35% 96%);
  border: 1px solid hsl(122 35% 84%);
  border-radius: var(--radius-btn);
  padding: 0.875rem 1rem;
}

.ty-alert-icon {
  color: hsl(122 45% 32%);
  font-size: 1.25rem;
}

.ty-timer-card {
  background-color: hsl(122 20% 98%);
  border: 1px solid hsl(122 25% 88%);
  border-radius: var(--radius-btn);
  padding: 0.875rem 1.25rem;
}

.ty-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: hsl(122 50% 40%);
  animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(40, 130, 60, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(40, 130, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 130, 60, 0); }
}

.ty-timer-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: hsl(122 40% 30%);
}

.ty-timer-digits {
  font-size: 2.25rem;
  font-weight: 800;
  color: hsl(220 20% 12%);
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1;
}

.ty-unit {
  font-size: 0.6875rem;
  font-weight: 700;
  color: hsl(215 15% 55%);
  margin-left: 0.15rem;
}

.ty-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: hsl(122 45% 32%);
  color: #fff;
  font-weight: 800;
  font-size: 0.9375rem;
}

.ty-step-box {
  padding: 0.5rem;
}

.ty-badge-pill {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
}

.ty-call-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ty-call-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed hsl(var(--border));
}

.ty-call-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ty-call-step__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: hsl(122 30% 93%);
  color: hsl(122 45% 32%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ty-call-step__content {
  flex-grow: 1;
}

.ty-step-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(215 15% 55%);
  background-color: hsl(210 20% 94%);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.ty-testimonial-card {
  background-color: hsl(122 20% 99%);
  border: 1px solid hsl(122 25% 90%);
  border-radius: var(--radius-btn);
  padding: 1.125rem;
}

.ty-verified-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: hsl(122 50% 28%);
  background-color: hsl(122 35% 93%);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  border: 1px solid hsl(122 35% 85%);
}

.ty-stats-row {
  display: flex;
  background-color: hsl(122 30% 96%);
  border-radius: 0.625rem;
  overflow: hidden;
  margin-top: 0.75rem;
  border: 1px solid hsl(122 25% 90%);
}

.ty-stat {
  flex: 1;
  text-align: center;
  padding: 0.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ty-stat--highlight {
  background-color: hsl(122 35% 92%);
}

.ty-stat__label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: hsl(215 15% 55%);
  text-transform: uppercase;
}

.ty-stat__val {
  font-size: 0.9375rem;
  font-weight: 800;
  color: hsl(220 20% 12%);
  margin-top: 0.1rem;
}

.ty-feature-tile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: hsl(210 20% 97%);
  border: 1px solid hsl(214 20% 90%);
  border-radius: var(--radius-btn);
  padding: 0.75rem 0.875rem;
  height: 100%;
}

.ty-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #fff;
  color: hsl(122 45% 32%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.ty-quote-box {
  background-color: hsl(122 25% 97%);
  border: 1px solid hsl(122 25% 90%);
  border-radius: var(--radius-btn);
}

.ty-quote-mark {
  font-size: 2.25rem;
  line-height: 1;
  font-family: Georgia, serif;
  font-weight: bold;
}

.ty-cta-banner {
  background: linear-gradient(135deg, hsl(122 42% 32%), hsl(122 46% 40%));
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-elevated);
}

.ty-btn-phone {
  background-color: #fff;
  color: hsl(122 50% 28%);
  font-weight: 800;
  font-size: 1.125rem;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  border: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease;
}

.ty-btn-phone:hover {
  transform: scale(1.03);
  color: hsl(122 50% 24%);
  background-color: #fff;
}

.super-small {
  font-size: 0.7rem;
}

.text-brand-dark {
  color: hsl(122 50% 24%);
}

.text-white-80 {
  color: rgba(255, 255, 255, 0.85);
}

.offers-card {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background-color: hsl(var(--card));
}

.offers-card__head {
  background: var(--gradient-primary);
  color: #fff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.offers-card__head h3 {
  color: #fff;
  font-size: 1.0625rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.25rem;
}

.offers-card__head p {
  font-size: 0.8125rem;
  color: hsl(0 0% 100% / .85);
  margin: 0;
}

.free-pill {
  background-color: hsl(0 0% 100% / .2);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.625rem;
  flex-shrink: 0;
}

.offers-card__body {
  padding: 1.25rem;
}

.offers-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  min-height: 200px;
  background-color: hsl(var(--muted));
  border-radius: var(--radius-btn);
  color: hsl(var(--muted-foreground));
  font-size: 0.9375rem;
  text-align: center;
  padding: 1.5rem;
}

.offers-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.625rem;
  background-color: hsl(var(--card));
  font-size: 1.25rem;
}

.offer-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  text-align: left;
  padding: 0.875rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-btn);
  background-color: hsl(var(--card));
  color: inherit;
  text-decoration: none;
}

.offer-row + .offer-row {
  margin-top: 0.625rem;
}

.offer-row:hover {
  border-color: hsl(var(--primary) / .45);
  background-color: hsl(var(--secondary) / .3);
}

.offers-note {
  font-size: 0.75rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin: 1rem 0 0;
}


/* --------------------------------------------------------------------------
   11. Legal / content pages
   -------------------------------------------------------------------------- */

.legal-body {
  padding-block: 2rem 3rem;
}

.legal-body h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-body h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 0.875rem;
}

.legal-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 1.75rem 0 0.5rem;
}

.legal-body p,
.legal-body li {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: hsl(220 15% 30%);
}

.legal-body .lead-note {
  color: hsl(var(--muted-foreground));
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background-color: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  padding-block: 1.75rem;
  text-align: center;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.site-footer__brand img {
  height: 38px;
  width: auto;
}

.site-footer__social {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  line-height: 1;
}

.site-footer__social:hover {
  color: hsl(var(--primary));
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem 1.25rem;
  list-style: none;
  margin: 0 0 0.875rem;
  padding: 0;
}

.footer-links a {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
}

.footer-links a:hover {
  color: hsl(var(--primary));
}

.footer-disclaimer,
.footer-copyright {
  font-size: 0.75rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  max-width: 40rem;
  margin-inline: auto;
}

.footer-copyright {
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   13. Utilities & motion
   -------------------------------------------------------------------------- */

/* `hidden` must win over Bootstrap's .d-block on the error messages we toggle */
[hidden] {
  display: none !important;
}

.fade-up {
  animation: fadeUp 0.35s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   14b. Marketing-site chrome (full nav header + dark footer)
   Used on the legal/partners pages, which belong to the main marketing site
   rather than the stripped-down funnel (form.fixdebtusa.com) chrome.
   -------------------------------------------------------------------------- */

.site-header--full .navbar { padding-block: 0.875rem; }

.site-header--full .brand img { height: 40px; }

/* The expanded row needs ~1300px to sit comfortably, so it starts at xl
   (1200px) and steps down slightly between 1200 and 1400. */
@media (min-width: 1200px) {
  /* One row: logo | nav centred in the space between | actions pinned right.
     Matches the source header, where the gap either side of the nav block
     is equal (~290px at a 1920px viewport). */
  .site-header--full .navbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding-block: 1.125rem;
    column-gap: 1.5rem; /* logo never butts against the first nav item */
  }

  .site-header--full .brand img { height: 56px; }

  .site-header--full .navbar-collapse {
    display: flex !important;
    flex: 1 1 auto;
    align-items: center;
    /* guarantees clear air between the nav block and the button, whatever
       the centring maths works out to */
    gap: 2.5rem;
  }

  .main-nav {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Laptop range — same layout, dialled back so nothing collides */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .site-header--full .navbar     { padding-block: 0.875rem; }
  .site-header--full .brand img  { height: 40px; }
  .site-header--full .navbar-collapse { gap: 1.5rem; }
  .main-nav                      { gap: 1.25rem; }
  .main-nav .nav-link            { font-size: 1rem; }
  .btn-quote                     { padding: 0.75rem 1.5rem; font-size: 1rem; }
  .header-actions                { gap: 0.75rem; }
  .header-phone__icon            { width: 40px; height: 40px; }
  .header-phone--badge .header-phone__number { font-size: 1rem; }
  .header-phone--badge .header-phone__hours  { font-size: 0.75rem; }
}

/* Narrowest desktop step (1200–1279) — tightest that still fits one row */
@media (min-width: 1200px) and (max-width: 1279.98px) {
  .site-header--full .brand img  { height: 36px; }
  .main-nav                      { gap: 1rem; }
  .main-nav .nav-link            { font-size: 0.9375rem; }
  .btn-quote                     { padding: 0.6875rem 1.25rem; font-size: 0.9375rem; }
  .header-phone__icon            { width: 36px; height: 36px; font-size: 0.875rem; }
  .header-phone--badge .header-phone__number { font-size: 0.9375rem; }
  .header-phone--badge .header-phone__hours  { font-size: 0.6875rem; }
  .container-shell               { padding-inline: 1.5rem; }
}

.main-nav {
  gap: 2.25rem;
}

.main-nav .nav-link {
  color: hsl(220 20% 20%);
  font-weight: 500;
  font-size: 1.0625rem;
  padding-inline: 0;
  white-space: nowrap;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
  color: hsl(var(--primary));
}

.main-nav .dropdown-menu {
  border-color: hsl(var(--border));
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-elevated);
  padding: 0.375rem;
}

.main-nav .dropdown-item {
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}

.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus {
  background-color: hsl(var(--secondary));
  color: hsl(var(--primary-dark));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  flex-shrink: 0;
}

/* Marketing-site CTA — a brighter green than the funnel's forest --primary */
.btn-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.0625rem 3.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, hsl(140 62% 45%), hsl(140 64% 39%));
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 6px 18px -6px hsl(140 64% 39% / .55);
  white-space: nowrap;
}

.btn-quote:hover {
  color: #fff;
  filter: brightness(1.05);
}

/* Phone block with a circular icon badge, used only in the full marketing header */
.header-phone--badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.header-phone__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: hsl(140 55% 94%);
  color: hsl(140 62% 40%);
  font-size: 1rem;
  flex-shrink: 0;
}

.header-phone--badge .header-phone__stack {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  align-items: flex-start;
  text-align: left;
}

.header-phone--badge .header-phone__number {
  color: hsl(220 30% 12%);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.header-phone--badge .header-phone__number:hover {
  color: hsl(140 62% 40%);
}

.header-phone--badge .header-phone__hours {
  color: hsl(var(--muted-foreground));
  font-size: 0.8125rem;
  margin-top: 0.0625rem;
}

/* Legal page hero band */
.legal-hero {
  padding-block: 3rem 1.5rem;
}

.legal-hero h1 {
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.legal-hero__lead {
  max-width: 44rem;
  margin: 0 auto 0.75rem;
  color: hsl(220 15% 35%);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.legal-hero__meta {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
}

/* Breadcrumb bar (partners page) */
.breadcrumb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-block: 1.25rem 0;
  font-size: 0.8125rem;
}

.breadcrumb-bar__back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-bar__back:hover {
  color: hsl(var(--primary));
}

.breadcrumb-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background-color: hsl(var(--secondary));
  color: hsl(var(--primary-dark));
  font-weight: 600;
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
}

/* Definition bullet lists ("Company means...", "Cookies means...") */
.def-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.def-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: hsl(220 15% 30%);
}

.def-list li::before {
  content: "";
  position: absolute;
  left: 0.375rem;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: hsl(220 15% 45%);
}

.def-list strong {
  color: hsl(var(--foreground));
}

/* Cookie-type cards (2x2 grid) */
.cookie-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.cookie-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-card);
  padding: 1.125rem;
}

.cookie-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cookie-card__meta {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.125rem;
}

.cookie-card__meta strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

.cookie-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--foreground) / .8);
  margin-top: 0.625rem;
  margin-bottom: 0;
}

/* CCPA category rows */
.category-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.category-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed hsl(var(--border));
  font-size: 0.875rem;
  line-height: 1.5;
}

.category-list li:last-child { border-bottom: 0; }

.category-badge {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  margin-left: auto;
}

.category-badge--yes {
  background-color: hsl(var(--secondary));
  color: hsl(var(--primary-dark));
}

.category-badge--no {
  background-color: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

/* Partners directory */
.partners-search-wrap {
  margin: 1.5rem 0 2rem;
}

.partners-search {
  margin-bottom: 0.625rem;
}

.partners-search .form-control {
  padding-left: 2.75rem;
}

.partners-count {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.partner-letter {
  padding-block: 1.125rem;
  border-bottom: 1px solid hsl(var(--border));
}

.partner-letter:last-child { border-bottom: 0; }

.letter-heading {
  font-size: 1.0625rem;
  font-weight: 800;
  color: hsl(var(--primary));
  margin-bottom: 0.625rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1.5rem;
}

.partner-name {
  font-size: 0.9375rem;
  color: hsl(var(--foreground) / .85);
}

.partners-empty {
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.9375rem;
  padding-block: 2rem;
}

/* --------------------------------------------------------------------------
   14c. Dark footer (marketing site)
   -------------------------------------------------------------------------- */

.footer-dark {
  background-color: hsl(var(--primary-dark));
  color: hsl(0 0% 100% / .85);
  padding-block: 2.5rem 1.5rem;
}

.footer-dark a {
  color: hsl(0 0% 100% / .8);
  text-decoration: none;
}

.footer-dark a:hover {
  color: #fff;
}

.footer-dark__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid hsl(0 0% 100% / .12);
}

.footer-wordmark {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.footer-wordmark .text-brand-light { color: hsl(122 55% 62%); }
.footer-wordmark .text-white { color: #fff; }

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  color: hsl(0 0% 100% / .7);
  max-width: 26rem;
  margin-bottom: 0.875rem;
}

.footer-cta-line {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.875rem;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: hsl(0 0% 100% / .75);
}

.footer-contact i { color: hsl(122 55% 62%); }

.footer-dark__col h3 {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
}

.footer-dark__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-dark__col li {
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid hsl(0 0% 100% / .12);
}

.footer-newsletter h3 {
  color: #fff;
  font-size: 1.0625rem;
  margin-bottom: 0.25rem;
}

.footer-newsletter p {
  font-size: 0.8125rem;
  color: hsl(0 0% 100% / .65);
  margin: 0;
}

.footer-newsletter__form {
  display: flex;
  gap: 0.625rem;
}

.footer-newsletter__form input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  border: 1px solid hsl(0 0% 100% / .2);
  background-color: hsl(0 0% 100% / .08);
  color: #fff;
  font-size: 0.875rem;
}

.footer-newsletter__form input::placeholder {
  color: hsl(0 0% 100% / .55);
}

.footer-newsletter__form button {
  flex-shrink: 0;
  min-height: 44px;
  padding-inline: 1.25rem;
  border: 0;
  border-radius: var(--radius);
  background-color: #fff;
  color: hsl(var(--primary-dark));
  font-weight: 700;
  font-size: 0.875rem;
}

.footer-disclaimers {
  padding-block: 1.5rem;
  border-bottom: 1px solid hsl(0 0% 100% / .12);
}

.footer-disclaimers p {
  font-size: 0.75rem;
  line-height: 1.7;
  color: hsl(0 0% 100% / .6);
  margin-bottom: 0.875rem;
}

.footer-disclaimers strong {
  color: hsl(0 0% 100% / .85);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.25rem;
  font-size: 0.75rem;
  color: hsl(0 0% 100% / .55);
}

.footer-ssl {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */

/* Very small handsets (≤360px) — keep the DOB row and quick amounts intact */
@media (max-width: 359.98px) {
  .amount-display__value { font-size: 2rem; }
  .step-title            { font-size: 1.375rem; }
  .quick-amount          { font-size: 0.875rem; padding-inline: 0.25rem; }
  .form-select           { font-size: 0.875rem; padding-inline: 0.5rem; }
  .header-phone__hours   { display: none; }
  .brand img             { height: 32px !important; width: auto !important; }
  /* below 360px let the contact line wrap rather than overflow */
  .header-phone__number  { font-size: 0.6875rem; white-space: normal; text-align: right; }
}

/* Phones — keep the header contact block on a single line beside the logo */
@media (max-width: 575.98px) {
  .brand img            { height: 36px !important; width: auto !important; }
  .header-phone__number { font-size: 0.75rem; white-space: nowrap; }
  .header-phone__hours  { font-size: 0.625rem; }
}

/* ≥576px */
@media (min-width: 576px) {
  .site-header__inner    { padding-block: 1rem; }
  .brand img             { height: 42px !important; width: auto !important; }
  .funnel-body           { padding-block: 2rem 2.5rem; }
  .step-title            { font-size: 2rem; }
  .step-subtitle         { font-size: 1rem; }
  .panel                 { padding: 1.5rem; }
  .amount-display__value { font-size: 3rem; }
  .quick-amounts         { gap: 0.75rem; }
  .quick-amount          { font-size: 1rem; min-height: 52px; }
  .social-proof          { font-size: 0.875rem; padding: 0.875rem 1rem; }
  .result-card__head     { padding: 2rem 2rem 2.25rem; }
  .result-card__head h1  { font-size: 1.75rem; }
  .result-card__body,
  .offers-card__body     { padding: 1.75rem; }
  .legal-body h1         { font-size: 2rem; }
}

/* ≥768px */
@media (min-width: 768px) {
  .step-title    { font-size: 2.25rem; }
  .commitments   { padding-block: 3rem; }
  .closing-card  { padding: 2.25rem 2rem; }

  .legal-hero h1        { font-size: 3.25rem; }
  .legal-body h2        { font-size: 1.875rem; }
  .legal-body h3        { font-size: 1.375rem; }
  .cookie-grid          { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners-grid        { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-dark__grid    { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-newsletter    { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-newsletter__form { width: 22rem; }
  .footer-bottom        { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ≥992px */
@media (min-width: 992px) {
  .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ≥992px — headline gains a little more air, layout stays single-column
   to match the source funnel */
@media (min-width: 992px) {
  .funnel-body { padding-block: 2.5rem 3rem; }
}
