@charset "UTF-8";

/* ==========================================================================
   RAR Surplus Recovery — homepage design system
   --------------------------------------------------------------------------
   Art direction: an institutional financial register (deep navy, restrained
   gold, warm paper) rather than a consumer-marketing one. This category is
   saturated with high-saturation gradients and animated money counters, both
   of which read as predatory to an audience that has been warned about
   surplus-recovery scams. Restraint is the differentiator here.

   No web fonts are loaded. A serif display face carries the institutional
   tone at zero network cost, which keeps LCP fast and eliminates the layout
   shift a font swap would otherwise cause on the hero headline.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand — evolved from the existing site's palette so the logo still fits.
     Navy and gold are carried over; the greens are re-tuned toward a calmer
     "resolved" tone and reserved for progress and confirmation states. */
  --navy-900: #061627;
  --navy-800: #0a2138;
  --navy-700: #0f2d4a;
  --navy-600: #17405f;
  --navy-500: #23577c;

  --gold-600: #a97c22;
  --gold-500: #c4952f;
  --gold-400: #dcb254;
  --gold-300: #eccd86;
  --gold-100: #f7edd6;

  --green-700: #14614c;
  --green-600: #1a7a5f;
  --green-100: #e3f2ec;

  --red-700: #98221f;
  --red-600: #b52d29;
  --red-50:  #fdeceb;

  /* Neutrals — warm rather than blue-grey, so the page reads as paper and
     not as a government web portal. */
  --paper:   #fdfcfa;
  --paper-2: #f6f3ee;
  --paper-3: #ece6dc;

  --ink-900: #101a24;
  --ink-700: #2b3949;
  --ink-500: #55636f;
  --ink-400: #6f7d8a;

  --line:      #e0dbd1;
  --line-soft: #efebe3;
  --line-dark: rgba(255, 255, 255, 0.14);

  --white: #ffffff;

  /* Semantic aliases. Components reference these, never raw ramp values, so
     a palette change is a one-line edit. */
  --bg:            var(--paper);
  --bg-alt:        var(--paper-2);
  --surface:       var(--white);
  --text:          var(--ink-900);
  --text-muted:    var(--ink-500);
  --accent:        var(--gold-600);
  --accent-strong: var(--gold-500);
  --brand:         var(--navy-800);

  /* Type scale — 1.2 minor third at mobile, widening to 1.25 at desktop via
     clamp() so headings stay proportionate without breakpoint jumps. */
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;

  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0:  clamp(1rem, 0.96rem + 0.18vw, 1.08rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2:  clamp(1.38rem, 1.25rem + 0.62vw, 1.72rem);
  --step-3:  clamp(1.65rem, 1.43rem + 1.05vw, 2.25rem);
  --step-4:  clamp(1.95rem, 1.6rem + 1.7vw, 3rem);
  --step-5:  clamp(2.3rem, 1.75rem + 2.6vw, 3.9rem);

  /* Spacing — 4px base, named by role rather than size so section rhythm
     stays consistent when values are tuned. */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.75rem;
  --sp-8: 3.5rem;
  --sp-9: 5rem;
  --sp-10: 7rem;

  --section-y: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  --container: 74rem;
  --container-narrow: 52rem;
  --gutter: clamp(1.15rem, 0.6rem + 2.4vw, 2.5rem);

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --shadow-sm: 0 1px 2px rgba(6, 22, 39, 0.06), 0 2px 6px rgba(6, 22, 39, 0.05);
  --shadow:    0 4px 12px rgba(6, 22, 39, 0.07), 0 14px 34px rgba(6, 22, 39, 0.07);
  --shadow-lg: 0 8px 20px rgba(6, 22, 39, 0.09), 0 30px 64px rgba(6, 22, 39, 0.13);

  --ease: cubic-bezier(0.32, 0.72, 0.24, 1);
  --dur: 240ms;

  --focus-ring: 0 0 0 3px var(--paper), 0 0 0 6px var(--navy-500);
  --focus-ring-dark: 0 0 0 3px var(--navy-900), 0 0 0 6px var(--gold-400);
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Anchor targets clear the sticky header instead of hiding beneath it. */
  scroll-padding-top: 6.5rem;
  -moz-tab-size: 4;
  tab-size: 4;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Belt-and-braces against horizontal overflow from any decorative element. */
  overflow-x: clip;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button { background: none; border: none; }

/* A single, high-contrast focus treatment used everywhere. Never removed —
   the previous site relied on the browser default, which disappeared entirely
   against the navy sections. */
:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

.on-dark :focus-visible,
.section--dark :focus-visible {
  box-shadow: var(--focus-ring-dark);
}

::selection {
  background: var(--gold-300);
  color: var(--navy-900);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-6) 0;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--navy-900);
  text-wrap: balance;
}

h1 { font-size: var(--step-5); line-height: 1.06; letter-spacing: -0.022em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.25; }
h4 { font-size: var(--step-1); line-height: 1.3; }

p { text-wrap: pretty; }

a {
  color: var(--navy-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--navy-800); }

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-700);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.kicker::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: currentColor;
  flex: none;
}

.kicker--center { justify-content: center; }

.section--dark .kicker { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }

.section--alt { background: var(--bg-alt); }

.section--dark {
  background:
    radial-gradient(1200px 520px at 78% -10%, rgba(196, 149, 47, 0.16), transparent 62%),
    linear-gradient(168deg, var(--navy-900), var(--navy-700));
  color: rgba(255, 255, 255, 0.9);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

.section--dark a { color: var(--gold-300); }

.section-head {
  max-width: 48rem;
  margin-bottom: var(--sp-8);
  display: grid;
  gap: var(--sp-4);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.section-head p {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-500);
}

.section--dark .section-head p { color: rgba(255, 255, 255, 0.74); }

/* Spacing utilities. These exist so the markup needs no inline style
   attributes — the Content-Security-Policy sets style-src 'self' with no
   'unsafe-inline', which blocks style="" attributes outright. */
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }

.text-center { text-align: center; }

.grid { display: grid; gap: var(--sp-5); }

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.stack { display: grid; gap: var(--sp-4); }

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-4);
  z-index: 200;
  padding: var(--sp-3) var(--sp-5);
  background: var(--navy-900);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus-visible { transform: translateY(0); }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Standalone error page (404.php). */
.page-error {
  min-height: 70vh;
  display: grid;
  place-items: center;
}

.page-error__logo {
  width: 11rem;
  height: 4.72rem;
  margin: 0 auto var(--sp-6);
}

.page-error__actions {
  margin-top: var(--sp-6);
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   5. Icons
   -------------------------------------------------------------------------- */

/* The sprite element itself is never rendered; only its <symbol>s are
   referenced by <use>. */
.icon-sprite { display: none; }

/* All icons are inline SVG referencing a same-document sprite, sized in ems so
   they scale with their label. The previous site used typographic glyphs
   (⌂ § ◇ ♙ ▦ ⌁ ⌕ ▤) as icons, which render inconsistently across platforms
   and are announced literally by screen readers. */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--lg { width: 1.75rem; height: 1.75rem; }

.icon-tile {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy-800);
  color: var(--gold-300);
  flex: none;
}

.icon-tile--soft {
  background: var(--gold-100);
  color: var(--gold-600);
}

.icon-tile--green {
  background: var(--green-100);
  color: var(--green-700);
}

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

.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: var(--white);
  --btn-bd: var(--navy-800);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  /* 48px minimum height at default size: comfortably above the 24px WCAG 2.2
     target minimum and above the 44px platform guidance. */
  min-height: 3rem;
  padding: 0.78rem 1.5rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn:active { transform: translateY(0); }

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--primary {
  --btn-bg: var(--gold-600);
  --btn-bd: var(--gold-600);
  --btn-fg: #fff;
}

/* Contrast note: #a97c22 on white is 4.6:1 for the border, and white text on
   #a97c22 is 4.55:1 — both clear AA for the 16px+ button label. The lighter
   --gold-500 is used only for large text and non-text decoration. */
.btn--primary:hover {
  --btn-bg: var(--gold-500);
  --btn-bd: var(--gold-500);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  --btn-bd: var(--line);
}

.btn--ghost:hover {
  --btn-bd: var(--navy-600);
  --btn-bg: var(--white);
}

.section--dark .btn--ghost,
.on-dark .btn--ghost {
  --btn-fg: var(--white);
  --btn-bd: rgba(255, 255, 255, 0.35);
}

.section--dark .btn--ghost:hover,
.on-dark .btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-bd: rgba(255, 255, 255, 0.6);
}

.btn--lg {
  min-height: 3.5rem;
  padding: 1rem 1.9rem;
  font-size: var(--step-1);
}

.btn--block { width: 100%; }

.btn .icon { width: 1.15em; height: 1.15em; stroke-width: 2; }

/* Text link with a trailing arrow that nudges on hover. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 650;
  color: var(--navy-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-block: 0.35rem;
}

.link-arrow:hover {
  color: var(--navy-900);
  border-bottom-color: currentColor;
}

.link-arrow .icon { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

.section--dark .link-arrow { color: var(--gold-300); }
.section--dark .link-arrow:hover { color: var(--gold-100); }

/* --------------------------------------------------------------------------
   7. Top bar and header
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--step--1);
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-5);
  min-height: 2.6rem;
  padding-block: 0.4rem;
}

.topbar__note {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-left: auto;
}

.topbar a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding-block: 0.35rem;
  white-space: nowrap;
}

.topbar a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* On the narrowest phones the descriptive note is dropped rather than wrapped
   to three lines; the phone and email links are the useful part. */
@media (max-width: 33.75em) {
  .topbar__note { display: none; }
  .topbar__links { margin-inline: auto; }
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

/* Sticky is justified here: the page is long and the primary conversion action
   must stay one tap away. The shadow only appears once scrolled, so the
   header does not look detached at rest. */
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: 5.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex: none;
}

/* The logo is a full wordmark lockup (mark + three lines of type + tagline),
   so it has to be shown large enough to read rather than shrunk to an icon —
   and no adjacent text repetition of the company name is needed. Dimensions
   are fixed in both axes to reserve the space before the image decodes. */
.brand img {
  width: 9.25rem;
  height: 3.97rem;
}

@media (min-width: 40em) {
  .brand img { width: 11rem; height: 4.72rem; }
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-left: auto;
}

.nav a {
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--navy-900);
  background: var(--paper-2);
}

.nav a[aria-current="true"] { color: var(--navy-900); }

.nav .btn { margin-left: var(--sp-3); }
.nav .btn:hover { background: var(--gold-500); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  margin-left: auto;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
  min-height: 2.75rem;
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 1.1rem;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 62em) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: auto 0 0 0;
    top: var(--header-offset, 7.1rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: var(--sp-4) var(--gutter) var(--sp-7);
    background: var(--paper);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    overscroll-behavior: contain;
    /* Closed state is inert to pointer, keyboard and screen readers alike. */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
                visibility 0s linear var(--dur);
  }

  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .nav a {
    padding: 0.95rem 0.4rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }

  .nav .btn {
    margin: var(--sp-5) 0 0;
    border-bottom: none;
  }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.5rem, 1rem + 5vw, 4.5rem) clamp(3rem, 1rem + 6vw, 5.5rem);
  background:
    radial-gradient(900px 460px at 12% 0%, rgba(196, 149, 47, 0.1), transparent 60%),
    linear-gradient(172deg, var(--navy-900) 0%, var(--navy-700) 58%, var(--navy-600) 100%);
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
}

/* A faint blueprint grid: it suggests records and documentation without
   costing an image request. Purely decorative, hidden from assistive tech. */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 20% 10%, #000 35%, transparent 78%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: start;
}

@media (min-width: 62em) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(25rem, 0.98fr);
    gap: clamp(2.5rem, 1rem + 3vw, 4rem);
  }
}

.hero h1 { color: var(--white); max-width: 15ch; }

.hero h1 em {
  font-style: normal;
  color: var(--gold-300);
}

.hero__copy {
  margin-top: var(--sp-5);
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.4rem 0.9rem 0.4rem 0.6rem;
  margin-bottom: var(--sp-5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--gold-300);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.hero__assurances {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line-dark);
}

@media (min-width: 30em) {
  .hero__assurances { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hero__assurance {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.hero__assurance .icon {
  margin-top: 0.15em;
  color: var(--gold-300);
}

.hero__assurance strong {
  display: block;
  color: var(--white);
  font-weight: 650;
}

/* --------------------------------------------------------------------------
   9. Eligibility form
   -------------------------------------------------------------------------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  overflow: hidden;
  scroll-margin-top: 7rem;
}

.form-card__head {
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  background: linear-gradient(180deg, var(--paper-2), var(--surface));
  border-bottom: 1px solid var(--line-soft);
}

@media (min-width: 30em) {
  .form-card__head { padding: var(--sp-6) var(--sp-6) var(--sp-4); }
}

.form-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green-700);
}

.form-card__head h2 {
  margin-top: var(--sp-2);
  font-size: var(--step-2);
}

.form-card__head p {
  margin-top: var(--sp-2);
  font-size: 0.95rem;
  color: var(--ink-500);
}

.form-card__body { padding: var(--sp-5); }

@media (min-width: 30em) {
  .form-card__body { padding: var(--sp-6); }
}

/* --- Fields -------------------------------------------------------------- */

.fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-4);
}

.fieldset[hidden] { display: none; }

.fieldset__legend {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--navy-900);
  padding: 0;
}

.fieldset__hint {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--ink-500);
}

.field { display: grid; gap: 0.4rem; }

.field-row {
  display: grid;
  gap: var(--sp-4);
}

@media (min-width: 34em) {
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.field label,
.field .field__label {
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--ink-700);
}

.field__optional {
  font-weight: 500;
  color: var(--ink-400);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  /* 16px minimum prevents iOS Safari from zooming the viewport on focus. */
  font-size: max(1rem, var(--step-0));
  line-height: 1.4;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.field textarea {
  min-height: 6rem;
  resize: vertical;
  line-height: 1.55;
}

.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2355636f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.1rem;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-400); }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink-400); }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(35, 87, 124, 0.18);
}

.field--invalid input,
.field--invalid select,
.field--invalid textarea {
  border-color: var(--red-600);
  background: var(--red-50);
}

.field__error {
  display: none;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--red-700);
}

.field--invalid .field__error { display: flex; }

.field__error .icon { margin-top: 0.15em; width: 1em; height: 1em; }

/* --- Consent ------------------------------------------------------------- */

.consent {
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.checkbox {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sp-3);
  align-items: start;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-700);
  cursor: pointer;
}

.checkbox input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 0;
  margin-top: 0.15em;
  accent-color: var(--green-700);
  cursor: pointer;
  flex: none;
}

.checkbox--invalid { color: var(--red-700); }
.checkbox--invalid input[type="checkbox"] { outline: 2px solid var(--red-600); outline-offset: 2px; }
.checkbox--invalid .field__error { display: flex; margin-top: var(--sp-2); }

/* Optional-detail disclosure inside the form. Native <details> so it works
   with no script and is already keyboard operable. */
.details-optional {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: var(--sp-3) var(--sp-4);
}

.details-optional > summary {
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--navy-700);
  list-style: none;
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.details-optional > summary::-webkit-details-marker { display: none; }

.details-optional > summary::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-weight: 700;
  line-height: 1;
}

.details-optional[open] > summary::before { content: "\2212"; }

.details-optional > summary:hover { color: var(--navy-900); }

/* Honeypot: removed from the layout, from the tab order and from the
   accessibility tree, so no human — sighted or not — can reach it. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Actions and states -------------------------------------------------- */

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.form-actions .btn--primary { flex: 1 1 12rem; }

.form-note {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-500);
}

.form-note .icon {
  margin-top: 0.15em;
  color: var(--green-700);
}

.form-note a { color: var(--navy-700); }

.form-alert {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  margin-bottom: var(--sp-5);
  border: 1px solid var(--red-600);
  border-radius: var(--radius);
  background: var(--red-50);
  color: var(--red-700);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.form-alert[hidden] { display: none; }

.form-alert .icon { margin-top: 0.1em; flex: none; }

.form-success {
  display: grid;
  gap: var(--sp-4);
  justify-items: start;
  padding: var(--sp-6) var(--sp-5);
  text-align: left;
}

.form-success[hidden] { display: none; }

.form-success__mark {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
}

.form-success__mark .icon { width: 1.75rem; height: 1.75rem; stroke-width: 2; }

.form-success h3 { font-size: var(--step-2); }

.form-success p { color: var(--ink-500); font-size: 0.95rem; }

.form-success__ref {
  padding: var(--sp-3) var(--sp-4);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--navy-800);
  word-break: break-all;
}

.form-success ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: var(--sp-2);
  font-size: 0.92rem;
  color: var(--ink-700);
}

/* Spinner shown inside the submit button while the request is in flight. */
.btn__spinner {
  width: 1.05em;
  height: 1.05em;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: rar-spin 700ms linear infinite;
}

@keyframes rar-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   10. Assurance strip
   -------------------------------------------------------------------------- */

.assurance-strip {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
  padding-block: var(--sp-6);
}

.assurance-strip__grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.assurance {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.assurance .icon { color: var(--gold-300); margin-top: 0.1em; }

.assurance strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.assurance span {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

/* --------------------------------------------------------------------------
   11. Cards
   -------------------------------------------------------------------------- */

.card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--paper-3);
  box-shadow: var(--shadow);
}

.card h3 { font-size: var(--step-1); }

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-500);
  flex: 1;
}

.card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.card__foot { margin-top: auto; }

.card--feature {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 1px var(--gold-400), var(--shadow);
}

.card--flat {
  background: transparent;
  border-color: transparent;
  padding: 0;
}

.card--flat:hover { transform: none; box-shadow: none; }

.section--dark .card {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}

.section--dark .card:hover { border-color: rgba(255, 255, 255, 0.26); box-shadow: none; }
.section--dark .card p { color: rgba(255, 255, 255, 0.72); }
.section--dark .card__tag { color: rgba(255, 255, 255, 0.55); }

/* --------------------------------------------------------------------------
   12. Surplus explainer
   -------------------------------------------------------------------------- */

.explainer {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}

@media (min-width: 60em) {
  .explainer { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}

/* A stacked waterfall showing sale price minus payoffs leaving a remainder.
   Proportions are illustrative and labelled as such in the markup — no
   specific dollar figures are shown, because none can be substantiated. */
.waterfall {
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.waterfall__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
}

.waterfall__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-3);
  font-size: 0.87rem;
  font-weight: 650;
  color: var(--ink-700);
}

.waterfall__label span:last-child {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-400);
  text-align: right;
}

.waterfall__bar {
  height: 1.65rem;
  border-radius: var(--radius-sm);
  background: var(--paper-3);
  position: relative;
  overflow: hidden;
}

.waterfall__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: var(--navy-700);
  width: 100%;
  transform-origin: left center;
}

/* Illustrative proportions, expressed as classes rather than inline widths so
   no style attribute is needed. These are not data — see the caption. */
.waterfall__fill--full { width: 100%; }
.waterfall__fill--debt { width: 62%; }
.waterfall__fill--costs { width: 17%; }
.waterfall__fill--surplus { width: 21%; }

.waterfall__row--cost .waterfall__fill { background: var(--ink-400); }
.waterfall__row--surplus .waterfall__fill {
  background: linear-gradient(90deg, var(--green-600), var(--green-700));
}

.waterfall__row--surplus .waterfall__label { color: var(--green-700); }

.waterfall__note {
  margin-top: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-soft);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-400);
}

/* --------------------------------------------------------------------------
   13. Process
   -------------------------------------------------------------------------- */

.process {
  display: grid;
  gap: var(--sp-5);
  counter-reset: step;
}

@media (min-width: 48em) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 72em) {
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.process__item {
  position: relative;
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid rgba(236, 205, 134, 0.45);
  color: var(--gold-300);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.process__item h3 { font-size: var(--step-1); }

.process__item p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.process__note {
  margin-top: var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------------------------------------------------
   14. Verify-us section (anti-scam transparency)
   -------------------------------------------------------------------------- */

.verify {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3rem);
}

@media (min-width: 60em) {
  .verify { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
}

.checklist {
  display: grid;
  gap: var(--sp-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sp-3);
  align-items: start;
}

.checklist .icon {
  margin-top: 0.15em;
  color: var(--green-600);
  stroke-width: 2;
}

.checklist strong {
  display: block;
  color: var(--navy-900);
  font-weight: 650;
  margin-bottom: 0.1rem;
}

.checklist span {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-500);
}

.callout {
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius);
  background: var(--surface);
}

.callout h3 {
  font-size: var(--step-1);
  margin-bottom: var(--sp-2);
}

.callout p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-500);
}

.callout p + p { margin-top: var(--sp-3); }

/* --------------------------------------------------------------------------
   15. Fee panel
   -------------------------------------------------------------------------- */

.fee-panel {
  display: grid;
  gap: var(--sp-5);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@media (min-width: 54em) {
  .fee-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-7); }
}

.fee-list {
  display: grid;
  gap: var(--sp-4);
  margin: 0;
  padding: 0;
}

.fee-list div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sp-3);
  align-items: start;
}

.fee-list dt {
  grid-column: 2;
  font-weight: 650;
  color: var(--navy-900);
}

.fee-list dd {
  grid-column: 2;
  margin: 0.1rem 0 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-500);
}

.fee-list .icon {
  grid-row: span 2;
  margin-top: 0.2em;
  color: var(--green-600);
  stroke-width: 2;
}

/* --------------------------------------------------------------------------
   16. Team
   -------------------------------------------------------------------------- */

.team {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  max-width: 56rem;
}

.team-card {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.team-card__head {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.team-card img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--paper-3);
  background: var(--paper-2);
  flex: none;
}

.team-card h3 { font-size: var(--step-1); }

.team-card__role {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  color: var(--gold-600);
}

.team-card__bio {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-500);
}

.team-card__bio p + p { margin-top: var(--sp-3); }

.pending-note {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.3rem 0.65rem;
  border: 1px dashed var(--ink-400);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-400);
}

/* --------------------------------------------------------------------------
   17. FAQ
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}

@media (min-width: 62em) {
  .faq { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); }
  .faq__intro { position: sticky; top: 7rem; }
}

.accordion {
  display: grid;
  gap: var(--sp-3);
}

.accordion__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.accordion__item:has(> h3 > .accordion__trigger[aria-expanded="true"]) {
  border-color: var(--paper-3);
  box-shadow: var(--shadow-sm);
}

.accordion__item > h3 { margin: 0; font: inherit; }

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.45;
  color: var(--navy-900);
  text-align: left;
  cursor: pointer;
  min-height: 3.25rem;
}

.accordion__trigger:hover { background: var(--paper-2); }

.accordion__icon {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--navy-700);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(180deg);
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}

.accordion__panel[hidden] { display: none; }

.accordion__panel > div {
  padding: 0 var(--sp-5) var(--sp-5);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-500);
}

.accordion__panel p + p { margin-top: var(--sp-3); }

/* --------------------------------------------------------------------------
   18. Resources
   -------------------------------------------------------------------------- */

.resource {
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.resource__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.08em;
}

.resource h3 { font-size: var(--step-1); }

.resource p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-500);
}

/* Applied when the linked article does not exist yet: the card still teaches,
   but it is not dressed up as a working link. */
.resource--pending { border-style: dashed; background: transparent; }

/* --------------------------------------------------------------------------
   19. Final CTA
   -------------------------------------------------------------------------- */

.final-cta { position: relative; overflow: hidden; }

.final-cta__inner {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}

@media (min-width: 58em) {
  .final-cta__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--sp-8); }
}

.final-cta h2 { max-width: 20ch; }

.final-cta p {
  margin-top: var(--sp-4);
  font-size: var(--step-1);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
}

.final-cta__actions {
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
}

.final-cta__phone {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0 0;
  color: var(--white);
  text-decoration: none;
  font-size: var(--step-1);
  font-weight: 650;
  border-top: 1px solid var(--line-dark);
  margin-top: var(--sp-2);
}

.final-cta__phone small {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.final-cta__phone .icon { color: var(--gold-300); }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  padding-block: var(--sp-8) var(--sp-6);
  font-size: 0.93rem;
}

.footer__grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

@media (min-width: 56em) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
}

.footer h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: var(--sp-4);
}

.footer nav,
.footer .footer__list {
  display: grid;
  gap: var(--sp-1);
}

.footer a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  padding-block: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer__brand img {
  width: 11rem;
  height: 4.72rem;
  margin-bottom: var(--sp-4);
  /* The lockup is dark navy type on transparency; on the navy footer it needs
     a light plate to stay legible rather than a filter that would grey it out. */
  padding: 0.55rem 0.7rem;
  background: var(--paper);
  border-radius: var(--radius);
}

.footer__brand p {
  max-width: 34ch;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.66);
}

.footer__badge {
  display: inline-block;
  margin-top: var(--sp-4);
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(236, 205, 134, 0.4);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.footer address {
  font-style: normal;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
}

.footer__hours {
  margin-top: var(--sp-2);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__legal {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: var(--sp-4);
}

.footer__legal p {
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  max-width: 92ch;
}

.footer__legal strong { color: rgba(255, 255, 255, 0.85); }

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-5);
  font-size: 0.84rem;
}

.footer__meta nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* --------------------------------------------------------------------------
   20b. Unconfirmed content marker
   -------------------------------------------------------------------------- */

/* Rendered by placeholder() in inc/config.php wherever the business owner has
   not yet supplied a real value. Loud on purpose: an unfilled placeholder must
   be impossible to miss in review, because the alternative is inventing a
   number. Every occurrence is listed in docs/INFORMATION-TO-CONFIRM.md. */
.placeholder {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border: 1px dashed var(--red-600);
  border-radius: var(--radius-sm);
  background: var(--red-50);
  color: var(--red-700);
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: normal;
}

.section--dark .placeholder,
.footer .placeholder {
  border-color: var(--gold-400);
  background: rgba(236, 205, 134, 0.14);
  color: var(--gold-300);
}

/* --------------------------------------------------------------------------
   21. Motion
   -------------------------------------------------------------------------- */

/* Reveal-on-scroll. The default state is fully visible: the hidden state is
   only applied by script once IntersectionObserver support is confirmed, so a
   JS failure can never leave the page blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@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;
  }

  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   22. Forced colors and print
   -------------------------------------------------------------------------- */

@media (forced-colors: active) {
  .btn,
  .card,
  .accordion__item,
  .field input,
  .field select,
  .field textarea { border: 1px solid ButtonBorder; }

  .icon { stroke: currentColor; }

  :focus-visible { outline: 2px solid Highlight; box-shadow: none; }
}

@media print {
  .topbar,
  .header,
  .hero__grid,
  .final-cta__actions,
  .nav-toggle { display: none !important; }

  body { background: #fff; color: #000; }

  .section--dark,
  .hero,
  .footer,
  .assurance-strip {
    background: #fff !important;
    color: #000 !important;
  }

  .section--dark h2, .hero h1, .footer h2 { color: #000 !important; }

  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }

  .accordion__panel[hidden] { display: block !important; }
}

/* Legal pages */
.site-header--compact { position: static; border-bottom: 1px solid var(--border, #dfe5e8); background: #fff; }
.site-header--compact .header__inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header--compact .brand img { width: 180px; height: auto; display: block; }
.legal-page { padding-top: clamp(3rem, 7vw, 6rem); }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2.25rem; }
.prose p, .prose li { max-width: 75ch; }
@media (max-width: 560px) { .site-header--compact .header__inner { min-height: 76px; } .site-header--compact .brand img { width: 145px; } }


/* Recovery highlights: three aligned cards */
.recovered-counter {
  padding: 34px 0;
  background: #f4f6f8;
  border-bottom: 1px solid rgba(6, 22, 39, 0.10);
}
.recovered-counter__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.recovered-card {
  min-height: 150px;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(6, 22, 39, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.recovered-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(6, 22, 39, 0.14); }
.recovered-card--total { background: #061627; color: #fff; border: 1px solid rgba(255,255,255,.12); }
.recovered-card--service { background: #a97c22; color: #fff; border: 1px solid #916817; }
.recovered-card--phone { background: #0d3556; color: #fff; border: 1px solid #082a46; }
.recovered-card__value { margin: 0; font-size: clamp(2.15rem,4vw,3.55rem); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: inherit; }
.recovered-card__title { margin: 10px 0 0; font-size: clamp(1.05rem,1.8vw,1.35rem); line-height: 1.2; font-weight: 800; color: inherit; }
.recovered-card__sub { margin: 7px 0 0; font-size: .94rem; line-height: 1.35; color: rgba(255,255,255,.84); }
.recovered-card .icon { width: 25px; height: 25px; margin-bottom: 8px; color: inherit; }
@media (max-width: 820px) {
  .recovered-counter__grid { grid-template-columns: 1fr; }
  .recovered-card { min-height: 130px; }
  .recovered-card__value { font-size: clamp(2.35rem,10vw,3.4rem); }
}
