/* ==========================================================================
   EZ Funding — production stylesheet
   Faithful reproduction of the approved "Warm amber" Claude Design handoff.
   Palette, type, and spacing are the source of truth — do not redesign.
   ========================================================================== */

:root {
  --cream: #FAF7F2;
  /* Palette updated per design: forest green + gold (was warm amber/orange).
     Token names kept as --orange / --orange-light for stability; values are
     now green / gold. */
  --ink: #0E2A20;             /* dark green ink + dark section backgrounds */
  --orange: #157A4C;          /* primary accent — green */
  --orange-light: #E3B23C;    /* secondary accent — gold */
  --ez-bright: #2FBF7F;       /* brighter green for the footer "EZ" mark */
  --section-warm: #F2EDE4;
  --select-bg: #16382B;       /* dark-green select background */

  --ink-72: rgba(34, 29, 24, .72);
  --ink-70: rgba(34, 29, 24, .70);
  --ink-65: rgba(34, 29, 24, .65);
  --ink-60: rgba(34, 29, 24, .60);
  --ink-55: rgba(34, 29, 24, .55);
  --ink-12: rgba(34, 29, 24, .12);
  --ink-08: rgba(34, 29, 24, .08);
  --ink-06: rgba(34, 29, 24, .06);

  --cream-75: rgba(250, 247, 242, .75);
  --cream-68: rgba(250, 247, 242, .68);
  --cream-65: rgba(250, 247, 242, .65);
  --cream-60: rgba(250, 247, 242, .60);
  --cream-55: rgba(250, 247, 242, .55);
  --cream-50: rgba(250, 247, 242, .50);
  --cream-40: rgba(250, 247, 242, .40);
  --cream-20: rgba(250, 247, 242, .20);
  --cream-12: rgba(250, 247, 242, .12);
  --cream-06: rgba(250, 247, 242, .06);

  --shadow-card: 0 1px 3px rgba(34, 29, 24, .06);
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

/* ---- reset / base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: var(--orange); }
img { max-width: 100%; display: block; }
h1, h2, p { margin: 0; }
summary::-webkit-details-marker { display: none; }
input::placeholder,
textarea::placeholder { color: var(--cream-40); }

/* visible focus rings for keyboard users */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 100;
  text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--font-body);
  cursor: pointer;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 22px;
  box-shadow: 0 5px 16px rgba(21, 122, 76, .3);
}
.btn-primary:hover { color: #fff; }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(34, 29, 24, .22);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 22px;
}
.btn-outline:hover { color: var(--ink); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px var(--gutter);
  background: rgba(14, 42, 32, .92);   /* dark green, matches footer */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-12);
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--cream);           /* "Funding" — light on dark header */
}
.brand:hover { color: var(--cream); }
.brand-ez { color: var(--ez-bright); }  /* bright-green "EZ", same as footer */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  font-weight: 800;
  font-size: clamp(14px, 2.5vw, 17px);
  text-decoration: none;
  color: var(--cream);
  white-space: nowrap;
}
.header-phone:hover { color: var(--ez-bright); }
.header-cta {
  background: var(--ez-bright);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { color: var(--ink); filter: brightness(1.06); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) var(--gutter) clamp(28px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero-copy { flex: 1 1 420px; min-width: 300px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5.5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  text-wrap: pretty;
}
.hero-lede {
  margin-top: 18px;
  font-size: clamp(15.5px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--ink-72);
  max-width: 56ch;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-buttons .btn-primary { flex: 1 1 220px; }
.hero-buttons .btn-outline { flex: 1 1 180px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-60);
}
.hero-meta .dot { color: var(--orange); }
.hero-media {
  flex: 1 1 380px;
  min-width: 280px;
  height: clamp(280px, 38vw, 440px);
  border-radius: 22px;
  overflow: hidden;
}
.hero-media img,
.media-fill img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Trust tiles
   ========================================================================== */
.trust {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(36px, 5vw, 64px);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.tile {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.tile-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}
.tile-sub {
  font-size: 14px;
  color: var(--ink-60);
  margin-top: 4px;
}

/* ==========================================================================
   Why EZ
   ========================================================================== */
.why {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(44px, 6vw, 80px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.why-media {
  flex: 1 1 340px;
  min-width: 280px;
  height: clamp(260px, 34vw, 420px);
  border-radius: 22px;
  overflow: hidden;
}
.why-copy { flex: 1 1 460px; min-width: 300px; }
.why-copy .section-h2 { margin: 0 0 22px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px 24px;
}
.why-item-title { font-weight: 800; font-size: 15.5px; }
.why-item-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-65);
  margin-top: 3px;
}

/* placeholder / disclaimer note (mono, dashed) */
.placeholder-note {
  margin-top: 20px;
  border: 1.5px dashed rgba(34, 29, 24, .3);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-55);
}

/* ==========================================================================
   How it works (dark)
   ========================================================================== */
.how {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(44px, 6vw, 80px) var(--gutter);
}
.how .eyebrow { color: var(--orange-light); }
.how .section-h2 { margin: 0 0 8px; }
.how-lede {
  margin: 0 0 30px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--cream-65);
  max-width: 60ch;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.step {
  background: var(--cream-06);
  border: 1px solid var(--cream-12);
  border-radius: 18px;
  padding: 24px;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--orange-light);
}
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-top: 8px;
}
.step-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cream-68);
  margin-top: 8px;
}
.step-pill {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--orange-light);
  background: rgba(227, 178, 60, .15);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ==========================================================================
   Case types
   ========================================================================== */
.cases {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 80px) var(--gutter);
}
.cases .section-h2 { margin: 0 0 8px; }
.cases-lede {
  margin: 0 0 28px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-65);
  max-width: 60ch;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.case-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case-card svg { color: var(--orange); }
.case-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.case-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-65);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  background: var(--section-warm);
  padding: clamp(44px, 6vw, 80px) var(--gutter);
}
.testimonials .section-h2 { margin: 0 0 26px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.quote-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.quote-text { font-size: 15px; line-height: 1.65; }
.quote-person {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: var(--section-warm);
}
.quote-name { font-weight: 800; font-size: 14px; }
.quote-meta { font-size: 12.5px; color: var(--ink-55); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 80px) var(--gutter);
}
.faq .section-h2 { margin: 0 0 24px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary > span { flex: 1; }
.faq-arrow {
  flex: none;
  color: var(--orange);
  transition: transform .2s ease;
}
.faq-item[open] .faq-arrow { transform: rotate(180deg); }
.faq-item p {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-70);
}

/* ==========================================================================
   CTA band (photo + overlay)
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(34, 29, 24, .78);
}
.cta-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 96px) var(--gutter);
  color: var(--cream);
  text-align: center;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.cta-lede {
  margin: 14px auto 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream-75);
  max-width: 52ch;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}
.cta-buttons .btn-primary { padding: 16px 30px; }
.btn-outline-light {
  background: transparent;
  border: 1.5px solid var(--cream-40);
  color: var(--cream);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
}
.btn-outline-light:hover { color: var(--cream); }

/* ==========================================================================
   Apply form — multi-step wizard (dark section)
   Same inputs + logic as the ANA Legal Funding form, re-skinned to EZ.
   ========================================================================== */
.apply {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(44px, 6vw, 80px) var(--gutter);
}
.apply-inner { max-width: 620px; margin: 0 auto; }
.lead-form-head { margin-bottom: 26px; }
.apply h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: -0.025em;
}
.apply-lede {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--cream-60);
}

[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* honeypot — visually hidden, off-screen, not announced */
.hp-field {
  position: absolute; left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}

/* ---- fields ---- */
.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.field label,
.seg-q {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--cream);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--cream);
  background: var(--cream-06);
  border: 1px solid var(--cream-20);
  border-radius: 12px;
  padding: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field select {
  background-color: var(--select-bg);
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23FAF7F2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 8l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input[type="date"] { color-scheme: dark; cursor: pointer; }
.field input::placeholder,
.field textarea::placeholder { color: var(--cream-40); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange-light);
  box-shadow: 0 0 0 3px rgba(227, 178, 60, .25);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #FF6B57; }

.field-error {
  display: none;
  margin-top: 6px;
  font-weight: 600;
  font-size: 12.5px;
  color: #FF9A8A;
}
.field.has-error .field-error { display: block; }

/* ---- error alert (top of form) ---- */
.form-alert {
  display: none;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 107, 87, .1);
  border: 1px solid rgba(255, 107, 87, .35);
  color: #FF9A8A;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
}
.form-alert.show { display: flex; }
.form-alert .ic { flex-shrink: 0; margin-top: 1px; }
.form-alert a { color: #FFC2B8; font-weight: 700; }

/* ---- progress ---- */
.wizard-progress { margin-bottom: 22px; }
.wiz-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 9px;
}
.wiz-stepnum {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-light);
  white-space: nowrap;
}
.wiz-steptitle {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--cream-60);
  text-align: right;
}
.wiz-bar {
  height: 4px;
  background: var(--cream-12);
  border-radius: 2px;
  overflow: hidden;
}
.wiz-bar-fill {
  display: block;
  height: 100%;
  width: 12.5%;
  background: var(--orange);
  border-radius: 2px;
  transition: width .35s ease;
}

/* ---- step panels ---- */
.step-panel { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.step-panel + .step-panel { margin-top: 16px; }
.wizard-viewport { position: relative; }
.wizard.is-wizard .wizard-viewport {
  overflow: hidden;
  transition: height .38s cubic-bezier(.4, 0, .2, 1);
}
.wizard.is-wizard .step-panel {
  position: absolute; top: 0; left: 0; width: 100%;
  opacity: 0; transform: translateX(100%); pointer-events: none;
  transition: transform .38s cubic-bezier(.4, 0, .2, 1), opacity .28s ease;
}
.wizard.is-wizard .step-panel[data-state="active"] {
  opacity: 1; transform: translateX(0); pointer-events: auto;
}
.wizard.is-wizard .step-panel[data-state="prev"] { transform: translateX(-100%); }

/* ---- segmented Yes / No / Disputed toggles ---- */
.seg-field { display: block; margin-bottom: 16px; }
.seg { display: flex; gap: 8px; }
.seg-opt { flex: 1; min-width: 0; margin: 0; }
.seg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-opt span {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 8px 10px;
  font-weight: 700; font-size: 14px; color: var(--cream);
  background: var(--cream-06); border: 1px solid var(--cream-20);
  border-radius: 12px; cursor: pointer; text-align: center;
  transition: border-color .15s, background-color .15s, color .15s;
}
.seg-opt:hover span { border-color: var(--cream-40); }
.seg-opt input:checked + span {
  background: var(--orange); border-color: var(--orange); color: #fff;
}
.seg-opt input:focus-visible + span { outline: 3px solid var(--orange-light); outline-offset: 2px; }
.cond-field[hidden] { display: none; }

/* ---- nav ---- */
.wizard-nav {
  display: flex; align-items: center; gap: 12px; margin-top: 22px;
}
.submit-btn,
.wiz-next {
  font-family: var(--font-body);
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  padding: 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: opacity .15s ease;
}
.wiz-next {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.wiz-next-ic { display: inline-flex; }
.wiz-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream-55); padding: 12px 10px;
  transition: color .15s;
}
.wiz-back:hover { color: var(--cream); }
.wiz-back[hidden] { display: none; }
.lead-form.is-submitting .submit-btn,
.lead-form.is-submitting .wiz-next { opacity: .6; pointer-events: none; }

.form-disc {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin: 16px 0 0;
  font-size: 13px; color: var(--cream-50);
}
.form-disc .ic { color: var(--orange-light); }

/* ---- success state ---- */
.form-success { display: none; text-align: center; padding: 20px 0 8px; }
.lead-form.is-success .lead-form-head,
.lead-form.is-success .lead-form-body { display: none; }
.lead-form.is-success .form-success { display: block; }
.form-success .ok-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(227, 178, 60, .14); color: var(--orange-light);
  margin-bottom: 18px;
}
.form-success h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.6rem; color: var(--cream); margin: 0 0 9px;
}
.form-success p {
  font-size: 14.5px; color: var(--cream-60);
  max-width: 34ch; margin: 0 auto 20px;
}
.form-success .success-call {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--cream); text-decoration: none;
}
.form-success .success-call .ic { color: var(--orange-light); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--cream-55);
  border-top: 1px solid var(--cream-12);
  padding: clamp(32px, 4vw, 48px) var(--gutter);
}
.footer-cols {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 36px 48px;
}
.footer-brand { flex: 1 1 300px; max-width: 460px; }
.footer-callbtn {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  background: var(--ez-bright);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
}
.footer-callbtn:hover { color: var(--ink); filter: brightness(1.06); }
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 8px;
}
.footer-ez { color: var(--ez-bright); }
.footer-brand-desc {
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 46ch;
  margin: 0;
}
.footer-col { flex: 0 1 auto; min-width: 150px; font-size: 13.5px; line-height: 1.9; }
.footer-col h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 8px;
}
.footer-col a { text-decoration: none; }
.footer-col address { font-style: normal; display: flex; flex-direction: column; gap: 2px; }
.footer-contact a { color: var(--cream); }
.footer-contact a.strong { font-weight: 700; }
.footer-contact address span { color: var(--cream-55); margin-top: 4px; }
.footer-links { display: flex; flex-direction: column; }
.footer-links a {
  color: rgba(250, 247, 242, .7);
  padding: 3px 0;
}
.footer-links a:hover { color: var(--ez-bright); }
.footer-legal {
  max-width: var(--maxw);
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--cream-12);
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--cream-55);
}
.footer-legal p { margin: 0; max-width: 90ch; }
.footer-copy { margin-top: 10px; color: var(--cream-50); }
.footer-copy a { color: var(--cream-55); }
.footer-copy a:hover { color: var(--ez-bright); }

/* ==========================================================================
   Animations
   ========================================================================== */
/* Scroll reveal (fade-up). Only active once JS adds .reveal-ready, so no-JS
   and reduced-motion users always get fully-visible content. JS reveals
   above-the-fold elements immediately and the rest as they scroll into view. */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1),
              transform .6s cubic-bezier(.4, 0, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-ready .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Hover lift on cards (light sections) */
.tile,
.case-card,
.quote-card {
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover,
.case-card:hover,
.quote-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(14, 42, 32, .10);
}

/* Hover lift on the dark "How it works" step cards */
.step { transition: transform .18s ease, border-color .18s ease; }
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(250, 247, 242, .28);
}

/* Primary-button micro-lift */
.btn-primary,
.submit-btn,
.wiz-next { transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease; }
.btn-primary:hover { transform: translateY(-2px); }

/* Header elevation once scrolled */
.site-header { transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(14, 42, 32, .30); }

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
