/* ==========================================================================
   PA Houses for Cash
   Colors live in :root. To change the button/accent color, edit
   --accent, --accent-hover and --accent-light only.
   ========================================================================== */

:root {
  /* Brand */
  --green: #1F3D2B;
  --ink: #1C2A21;
  --cream: #F6F1E7;

  /* Action color (buttons, links, small accents) */
  --accent: #B4532A;
  --accent-hover: #8F4020;
  --accent-light: #E9A77F; /* accent on dark backgrounds */

  /* Neutrals */
  --page: #EFEBE3;
  --tan: #E4DDCF;
  --white: #FFFFFF;
  --border: #CFC5B0;
  --placeholder: #D6CCB8;
  --text: #1C2A21;
  --text-soft: #3E4C43;
  --text-muted: #5E6A61;

  /* Dark surfaces */
  --dark-line: #34463A;
  --dark-chip: #2A3B30;
  --on-dark: #F6F1E7;
  --on-dark-soft: #C9D3CB;
  --on-dark-muted: #A9B5AC;
  --chip-border: #4A6B55;

  /* Hero photo (family on the steps with the SOLD sign on the right) */
  --hero-image: url("../images/hero-1536.jpg");
  --hero-image-set: image-set(url("../images/hero-1536.webp") type("image/webp"), url("../images/hero-1536.jpg") type("image/jpeg"));
  --hero-image-small: url("../images/hero-900.jpg");
  --hero-image-small-set: image-set(url("../images/hero-900.webp") type("image/webp"), url("../images/hero-900.jpg") type("image/jpeg"));

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --gutter: 104px;
  --max: 1072px;
  --section-y: 96px;
  --header-h: 76px;
  --radius: 24px;
}

@media (max-width: 1100px) { :root { --gutter: 56px; } }
@media (max-width: 760px)  { :root { --gutter: 20px; --section-y: 64px; --header-h: 64px; } }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--green); color: var(--white); font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

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

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--green);
  text-wrap: balance;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: var(--placeholder);
  color: #5A4B32;
  font-size: 15px; font-weight: 600; text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 0; border-radius: 999px;
  font: 600 17px/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-hover); color: var(--white); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn--large { min-height: 54px; padding: 0 28px; }
.btn--ghost-dark { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn--ghost-dark:hover { background: var(--page); color: var(--green); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--tan);
  border-bottom: 1px solid var(--placeholder);
  box-shadow: 0 4px 16px rgba(28, 42, 33, .06);
}
.site-header__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: var(--header-h);
  /* Same content width as the NJ Houses for Cash header (1088px), so the logo lines up the same way. */
  padding: 0 max(72px, (100% - 1088px) / 2);
}
.logo { display: inline-flex; align-items: center; flex-shrink: 1; min-width: 0; min-height: 44px; margin-right: auto; }
/* Sized like the NJ Houses for Cash logo: 36px tall on desktop, 28px on phones. */
.logo__img { display: block; width: auto; max-width: 100%; height: 36px; object-fit: contain; object-position: left center; }
@media (max-width: 760px) { .logo__img { height: 32px; } }

.site-nav { display: flex; align-items: center; gap: 4px; }
@media (min-width: 901px) and (max-width: 1000px) {
  .site-header__inner { gap: 16px; }
  .site-nav a { padding: 10px 10px; white-space: nowrap; }
  .header-offer { padding: 0 20px; }
}
.site-nav a {
  padding: 10px 16px; border-radius: 999px;
  color: var(--text); font-size: 16px; font-weight: 500; text-decoration: none;
}
.site-nav a:hover { background: rgba(31, 61, 43, .08); color: var(--green); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 0; border-radius: 12px;
  background: transparent; color: var(--green);
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(31, 61, 43, .08); }

@media (max-width: 1100px) { .site-header__inner { padding: 0 var(--gutter); } }

@media (max-width: 900px) {
  .site-header__inner { gap: 8px; }
  .nav-toggle { display: inline-flex; order: 3; }
  .header-offer { order: 2; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--tan);
    border-bottom: 1px solid var(--placeholder);
    box-shadow: 0 12px 24px rgba(28, 42, 33, .08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 8px; border-radius: 10px; font-size: 18px; }
}

@media (max-width: 480px) {
  .logo__img { height: 28px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: #1C2A21 var(--hero-image) 85% 25% / cover no-repeat;
  background-image: var(--hero-image-set);
}
/* Dark behind the headline and form, lighter on the right so the SOLD sign shows. */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(28, 42, 33, .66) 0%, rgba(28, 42, 33, .66) 58%, rgba(28, 42, 33, .5) 76%, rgba(28, 42, 33, .18) 100%);
}
.hero__inner {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  width: min(900px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding: 96px 0 104px;
  text-align: center;
}
.hero__eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .04em; color: #F2E6D3; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--white);
  text-wrap: balance;
}
.hero__lead { max-width: 620px; font-size: clamp(17px, 2vw, 20px); color: #EDE8DD; }

@media (max-width: 760px) {
  .hero__inner { padding: 56px 0 64px; gap: 18px; }
}
/* Phones: the photo sits across the top (zoomed toward the SOLD sign) and fades into green behind the text. */
@media (max-width: 600px) {
  .hero {
    background: #1C2A21 var(--hero-image-small) right top / 135% auto no-repeat;
    background-image: var(--hero-image-small-set);
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(28, 42, 33, .12) 0, rgba(28, 42, 33, .2) 34vw, rgba(28, 42, 33, .88) 62vw, #1C2A21 90vw);
  }
  .hero__inner { padding-top: 52vw; }
}

/* ---------- Offer form ---------- */
.offer-form { width: min(640px, 100%); margin-top: 8px; text-align: left; }
.offer-form__step { display: flex; flex-direction: column; gap: 8px; }
.offer-form__step[hidden] { display: none; }
.offer-form__label { padding-left: 20px; font-size: 15px; font-weight: 600; color: var(--white); }
.offer-form__hint { padding-left: 20px; font-size: 13px; color: #E0DACD; }

.address-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 5px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}
.address-bar:focus-within { outline: 3px solid var(--accent-light); outline-offset: 2px; }
.address-bar__icon { flex-shrink: 0; margin-left: 16px; color: var(--text-muted); }
.address-bar input {
  flex: 1; min-width: 0; height: 48px;
  border: 0; background: transparent;
  font: 17px var(--font-body); color: var(--text);
}
.address-bar input:focus { outline: none; }
.address-bar input::placeholder { color: #6B746D; }

.offer-form__card {
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
  color: var(--text);
}
.offer-form__progress { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field__optional { font-weight: 400; color: var(--text-muted); }
.field input {
  height: 50px; padding: 0 16px;
  border: 1.5px solid var(--border); border-radius: 12px;
  background: #FBF8F2;
  font: 17px var(--font-body); color: var(--text);
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(180, 83, 42, .2); }
.field input[aria-invalid="true"] { border-color: #B42318; }
.field-error { font-size: 14px; font-weight: 600; color: #B42318; }
.field-suggest[hidden] { display: none; }
.field-suggest { font-size: 14px; color: var(--text-soft); }
.field-suggest__fix {
  padding: 0; border: 0; background: none;
  font: 600 14px var(--font-body); color: var(--accent);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer; overflow-wrap: anywhere;
}
.field-suggest__fix:hover { color: var(--accent-hover); }
.offer-form__step[data-step="1"] .field-error {
  padding: 6px 12px 0 20px; color: #FFD8CC;
}
.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input {
  flex-shrink: 0;
  width: 22px; height: 22px; margin: 1px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent label { font-size: 13px; line-height: 1.5; color: var(--text-soft); cursor: pointer; }
.consent input[aria-invalid="true"] { outline: 2px solid #B42318; outline-offset: 2px; }
.offer-form__actions { display: flex; justify-content: space-between; gap: 12px; }
.form-status { font-size: 14px; font-weight: 600; color: #B42318; }
.form-status:empty { display: none; }
.offer-form__done { text-align: center; align-items: center; }
.offer-form__done-title { font-family: var(--font-display); font-size: 28px; color: var(--green); }
.offer-form__done:focus { outline: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 560px) {
  .address-bar { flex-direction: column; align-items: stretch; border-radius: 20px; padding: 8px; }
  .address-bar__icon { display: none; }
  /* flex: none keeps the box 48px tall when stacked (flex: 1 squashed it to 20px) */
  .address-bar input { flex: none; height: 48px; padding: 0 12px; }
  .address-bar .btn { width: 100%; }
  .offer-form__label, .offer-form__hint { padding-left: 4px; }
  .field-grid { grid-template-columns: 1fr; }
  .offer-form__card { padding: 22px 18px; }
  .offer-form__actions .btn { flex: 1; }
}

/* ---------- Stats strip ---------- */
.stats { padding: 40px var(--gutter); background: var(--green); }
.stats__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 960px; margin: 0 auto;
  text-align: center;
}
.stat {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: center; gap: 6px;
  padding: 0 12px;
}
.stat + .stat { border-left: 1px solid var(--chip-border); }
.stat__value {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: 40px; line-height: 1;
  color: var(--on-dark);
}
.stat__label { font-size: 15px; color: #D6E0D3; }

@media (max-width: 760px) {
  .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat__value { font-size: 34px; }
}

/* ---------- How it works ---------- */
.how__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px; align-items: center;
}
.how__intro { display: flex; flex-direction: column; gap: 20px; }
.how__title { font-size: clamp(36px, 4.6vw, 56px); max-width: 14ch; }
.how__title em { font-style: italic; color: var(--accent); }
.how__photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-top: 12px; border-radius: 24px 24px 24px 120px; }

.how__steps { display: flex; flex-direction: column; gap: 36px; }
.steps { margin: 0; padding: 0; list-style: none; }
.step { display: flex; gap: 28px; }
.step__marker { display: flex; flex-direction: column; align-items: center; }
.step__num {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--green); color: var(--cream);
  font-family: var(--font-display); font-size: 32px; font-weight: 700;
}
.step__num--accent { background: var(--accent); color: var(--white); }
.step__line { flex: 1; width: 0; margin: 8px 0; border-left: 2px dashed var(--accent); }
.step__body { display: flex; flex-direction: column; gap: 10px; padding: 14px 0 48px; }
.step:last-child .step__body { padding-bottom: 0; }
.step__title { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--green); }
.step__body p { font-size: 18px; color: var(--text-soft); }

.how__cta { display: flex; align-items: center; gap: 20px; margin-left: 100px; }
.how__cta-note { font-size: 15px; color: var(--text-soft); }

@media (max-width: 900px) {
  .how__grid { grid-template-columns: 1fr; gap: 48px; }
  .how__title { max-width: 18ch; }
  .how__photo { border-radius: 20px 20px 20px 80px; }
}
@media (max-width: 480px) {
  .step { gap: 18px; }
  .step__num { width: 56px; height: 56px; font-size: 26px; }
  .step__num svg { width: 24px; height: 24px; }
  .step__title { font-size: 24px; }
  .step__body { padding-top: 8px; }
  .step__body p { font-size: 17px; }
  .how__cta { margin-left: 0; flex-direction: column; align-items: stretch; text-align: center; gap: 10px; }
}

/* ---------- Situations ---------- */
.situations { background: var(--green); color: var(--cream); }
.situations .section-title { color: var(--cream); }
.situations__inner { display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  max-width: 960px; margin: 0; padding: 0; list-style: none;
}
.chips li {
  padding: 14px 24px;
  border: 1.5px solid var(--chip-border); border-radius: 999px;
  font-size: 18px; font-weight: 500;
}
.situations__note { font-size: 18px; color: #D6E0D3; }

@media (max-width: 480px) {
  .chips { gap: 10px; }
  .chips li { padding: 10px 16px; font-size: 16px; }
}

/* ---------- Why sell to us ---------- */
.why { background: var(--white); }
.why__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.why__copy { display: flex; flex-direction: column; gap: 20px; max-width: 820px; text-align: center; }
.why__lead {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 2.6vw, 28px); line-height: 1.4;
  color: var(--green); text-wrap: balance;
}
.why__copy p:not(.why__lead) { font-size: 19px; line-height: 1.7; color: var(--text-soft); }

.breakdown {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px; align-items: center;
  width: 100%;
  padding: 28px 48px;
  border-radius: var(--radius);
  background: var(--page);
}
.breakdown__intro { display: flex; flex-direction: column; gap: 14px; }
.breakdown__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3vw, 36px); line-height: 1.15;
  color: var(--green);
}
.breakdown__intro p:not(.eyebrow):not(.breakdown__note) { font-size: 18px; color: var(--text-soft); }
.breakdown__note { margin-top: 12px; font-size: 14px; color: var(--text-muted); }

@media (max-width: 900px) {
  .breakdown { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px 24px; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq__inner { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; width: min(880px, 100%); }
.faq__item {
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: var(--white);
}
.faq__item[open] { border-color: transparent; background: var(--page); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 30px;
  font-size: 20px; font-weight: 600; color: var(--green);
  list-style: none; cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq__item[open] summary::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
}
.faq__item summary:focus-visible { outline-offset: -3px; border-radius: 20px; }
.faq__item p { padding: 0 30px 26px; font-size: 17px; color: var(--text-soft); }

@media (max-width: 480px) {
  .faq__item summary { padding: 20px; font-size: 18px; }
  .faq__item p { padding: 0 20px 22px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 56px 0 28px; }
.site-footer .container { display: flex; flex-direction: column; gap: 36px; }

.footer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--dark-line);
}
.footer-cta__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -0.015em;
}
.footer-cta__text { margin-top: 10px; font-size: 18px; color: var(--on-dark-soft); }

.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 3fr 3fr;
  gap: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand p { max-width: 320px; font-size: 15px; line-height: 1.65; color: var(--on-dark-soft); }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col__title {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-dark);
}
/* Taller tap area without changing the spacing you see */
.footer-col a { margin-block: -6px; padding-block: 6px; color: var(--on-dark); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--accent-light); }

.footer-contact { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: currentColor; }
.footer-contact--strong { font-weight: 600; }

.social { display: flex; gap: 10px; }
.social a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark-chip); color: var(--on-dark);
}
.social a:hover { background: var(--accent); color: var(--white); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--dark-line);
  font-size: 14px; color: var(--on-dark-muted);
}
.footer-bottom__links { display: flex; gap: 24px; }
.footer-bottom__links a { color: var(--on-dark-soft); }
.footer-bottom__links a:hover { color: var(--accent-light); }

@media (max-width: 900px) {
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Legal pages (privacy.html, terms.html) ---------- */
.legal { padding-block: 72px 96px; }
.legal__inner {
  max-width: 760px;
  padding: 56px 64px;
  border-radius: var(--radius);
  background: var(--white);
}
.legal__title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--green);
}
.legal__updated { margin: 8px 0 32px; font-size: 15px; color: var(--text-muted); }
.legal h2 {
  margin: 36px 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: var(--green);
}
.legal p, .legal li { color: var(--text-soft); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; }
.legal ul + p { margin-top: 16px; }
.legal li + li { margin-top: 6px; }
.legal strong { color: var(--text); }
.legal__contact { font-style: normal; line-height: 1.8; color: var(--text-soft); }

.site-footer--compact { padding: 28px 0; }
.site-footer--compact .footer-bottom { padding-top: 0; border-top: 0; }
.footer-bottom__links a[aria-current="page"] { color: var(--on-dark); }

@media (max-width: 760px) {
  .legal { padding-block: 32px 56px; }
  .legal__inner { padding: 32px 22px; }
  .legal h2 { font-size: 21px; }
}
.header-offer { flex-shrink: 0; }
@media (max-width: 480px) {
  .header-offer { padding: 0 16px; }
  .header-offer__long { display: none; }
}

@media (max-width: 360px) {
  .site-header__inner { gap: 6px; }
  .logo__img { height: 24px; }
  .header-offer { padding: 0 12px; font-size: 15px; }
  .breakdown { padding: 24px 16px; }
}

/* ==========================================================================
   Offer intake page (offer.html)
   ========================================================================== */
.offer { padding-block: 48px 88px; }
.offer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}
@media (min-width: 961px) {
  /* The form and the green panel sit side by side, always the same height. */
  .offer__grid { align-items: stretch; }
  .offer-aside { position: static; }
  .offer-aside__card { height: 100%; }
}

.intake {
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(28, 42, 33, .06);
}
.intake__step { display: flex; flex-direction: column; gap: 16px; }
.intake__step[hidden], .intake__progress[hidden] { display: none; }
.intake__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--green);
  text-wrap: balance;
}
.intake__title:focus { outline: none; }
.intake__lead { margin-top: -8px; font-size: 16px; color: var(--text-soft); }
.intake__lead a { font-weight: 600; }

/* Progress */
.intake__progress { flex: none; margin-bottom: 20px; }
.intake__step-count { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.steps-nav {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
  margin: 8px 0 10px; padding: 0; list-style: none;
}
.steps-nav__item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.steps-nav__dot {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--border);
  font-size: 12px;
}
.steps-nav__item.is-current { color: var(--green); }
.steps-nav__item.is-current .steps-nav__dot { border-color: var(--green); background: var(--green); color: var(--cream); }
.steps-nav__item.is-done .steps-nav__dot { border-color: var(--green); color: var(--green); }
.intake__bar { height: 6px; border-radius: 999px; background: var(--page); overflow: hidden; }
.intake__bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .3s ease; }
@media (prefers-reduced-motion: reduce) { .intake__bar span { transition: none; } }

/* Address search */
.addr { position: relative; }
.addr[hidden] { display: none; }
.addr__box {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px;
  border: 1.5px solid var(--border); border-radius: 14px;
  background: #FBF8F2;
}
.addr__box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(180, 83, 42, .2); }
.addr__icon { flex-shrink: 0; color: var(--text-muted); }
.addr .addr__box input { flex: 1; min-width: 0; height: 52px; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: 18px; }
.addr .addr__box input:focus { outline: none; box-shadow: none; }
.addr__box:has(input[aria-invalid="true"]) { border-color: #B42318; }
.addr__list {
  position: absolute; left: -1.5px; right: -1.5px; top: calc(100% + 6px); z-index: 20;
  margin: 0; padding: 6px; list-style: none;
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--white);
  box-shadow: 0 16px 32px rgba(28, 42, 33, .14);
}
.addr__option { padding: 12px 14px; border-radius: 10px; font-size: 16px; cursor: pointer; }
.addr__option:hover, .addr__option[aria-selected="true"] { background: var(--page); }
.addr__credit { padding: 6px 14px 4px; font-size: 11px; color: var(--text-muted); text-align: right; }
/* Homepage hero: the same list, under the whole address bar */
.hero-addr { position: relative; }
.hero-addr__list { left: 0; right: 0; top: calc(100% + 8px); z-index: 30; text-align: left; color: var(--text); }
.hero-addr__list[hidden] { display: none; }

.link-btn {
  align-self: flex-start;
  margin-top: -12px; padding: 10px 0;
  border: 0; background: none;
  color: var(--accent); font: 600 15px var(--font-body);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: var(--accent-hover); }
.manual[hidden] { display: none; }
.field-grid--tight { grid-template-columns: 90px minmax(0, 1fr); gap: 14px; }
.field input[readonly] { background: var(--page); color: var(--text-muted); }
.field__hint { font-size: 14px; color: var(--text-muted); }

/* Questions */
.q { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
.q__label { padding: 0; font-size: 16px; font-weight: 600; color: var(--text); }
.q__hint { font-weight: 400; color: var(--text-muted); }

.cards { display: grid; gap: 10px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-opt, .chip-opt { position: relative; cursor: pointer; }
.card-opt input, .chip-opt input {
  position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}
.card-opt__body {
  display: flex; flex-direction: column; gap: 2px;
  height: 100%;
  padding: 11px 14px 11px 42px;
  border: 1.5px solid var(--border); border-radius: 14px;
  background: var(--white);
  transition: border-color .15s ease, background-color .15s ease;
}
.card-opt__body::before {
  content: "";
  position: absolute; left: 14px; top: 14px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--white);
}
.card-opt__title { font-size: 16px; font-weight: 600; color: var(--text); }
.card-opt__hint { font-size: 13px; color: var(--text-muted); }
.card-opt--center .card-opt__body { justify-content: center; min-height: 50px; }
.card-opt--center .card-opt__body::before { top: 50%; transform: translateY(-50%); }
.card-opt:hover .card-opt__body { border-color: var(--green); }
.card-opt input:checked + .card-opt__body { border-color: var(--green); background: #F1F5F0; }
.card-opt input:checked + .card-opt__body::before { border: 5px solid var(--green); }
.card-opt input:focus-visible + .card-opt__body { outline: 3px solid var(--accent); outline-offset: 2px; }

.chips-opt { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt span {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 16px;
  border: 1.5px solid var(--border); border-radius: 999px;
  background: var(--white);
  font-size: 15px; font-weight: 500; color: var(--text);
  transition: border-color .15s ease, background-color .15s ease;
}
.chip-opt:hover span { border-color: var(--green); }
.chip-opt input:checked + span { border-color: var(--green); background: var(--green); color: var(--cream); }
.chip-opt input[type="checkbox"]:checked + span::before {
  content: ""; width: 14px; height: 14px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.chip-opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.select { max-width: 420px; }
.select__box { position: relative; }
.select__box select {
  width: 100%; height: 46px; padding: 0 44px 0 16px;
  border: 1.5px solid var(--border); border-radius: 12px;
  background: #FBF8F2;
  font: 16px var(--font-body); color: var(--text);
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
}
.select__box select:hover { border-color: var(--green); }
.select__box select[aria-invalid="true"] { border-color: #B42318; }
.select__box select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(180, 83, 42, .2); }
.select__box select:has(option[value=""]:checked) { color: var(--text-muted); }
.select__box option { color: var(--text); }
.select__chevron { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.price { max-width: 420px; }
.price__box {
  display: flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: 12px;
  background: #FBF8F2;
}
.price__box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(180, 83, 42, .2); }
.price__box:has(input[aria-invalid="true"]) { border-color: #B42318; }
.price__prefix { padding-left: 16px; font-size: 17px; font-weight: 600; color: var(--text-muted); }
.price .price__box input { flex: 1; min-width: 0; padding-left: 6px; border: 0; background: transparent; box-shadow: none; }
.price .price__box input:focus { box-shadow: none; }

.intake__actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.intake__actions--end { justify-content: flex-end; }
.intake .btn--large { min-height: 48px; }
.intake .field input { height: 46px; }
.intake__actions--start { justify-content: flex-start; flex-wrap: wrap; }

/* Done */
.intake__done { align-items: flex-start; }
.intake__done:focus { outline: none; }
.intake__done .intake__lead { margin-top: 0; }
.intake__done-icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); color: var(--cream);
}

/* Side panel */
.offer-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.offer-aside__card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--cream);
}
.offer-aside__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #C9D3CB; }
.offer-aside__address {
  margin-top: -6px; padding-bottom: 18px;
  border-bottom: 1px solid var(--chip-border);
  font-size: 16px; color: #C9D3CB;
}
.offer-aside__address.is-set { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--cream); }
.offer-aside__title { margin-top: 4px; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.offer-aside__list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; color: #D6E0D3; }
.offer-aside__list li { display: flex; gap: 12px; }
.offer-aside__num {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(246, 241, 231, .12);
  font-size: 13px; font-weight: 700; color: var(--cream);
}
.offer-aside__trust {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 6px; padding-top: 18px;
  border-top: 1px solid var(--chip-border);
  font-size: 14px; color: #D6E0D3;
}
.offer-aside__trust svg { flex-shrink: 0; margin-top: 2px; }

@media (max-width: 960px) {
  .offer__grid { grid-template-columns: minmax(0, 1fr); }
  .offer-aside { position: static; }
}
@media (max-width: 640px) {
  .offer { padding-block: 20px 48px; }
  .intake { padding: 24px 18px 28px; }
  .steps-nav__label { display: none; }
  .steps-nav { display: flex; gap: 10px; }
  .cards--2, .cards--4 { grid-template-columns: minmax(0, 1fr); }
  .intake__actions .btn--large { flex: 1; }
  .intake__actions--start .btn { flex: 1; }
  .offer-aside__card { padding: 24px 20px; }
}

/* Keep the footer at the bottom on short pages */
.offer-body { min-height: 100vh; display: flex; flex-direction: column; }
.offer-body > main { flex: 1 0 auto; }

/* ---------- Offer preview card (No surprises) ---------- */
.offer-demo { display: flex; flex-direction: column; align-items: center; }
.offer-demo__phone {
  width: min(340px, 100%);
  padding: 12px 14px 14px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(28, 42, 33, .16), 0 0 0 1px rgba(28, 42, 33, .06);
}
.offer-demo__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 4px 8px;
}
.offer-demo__addr { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--text); }
.offer-demo__menu { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.offer-demo__menu i { display: block; height: 2.5px; border-radius: 2px; background: var(--text); }
.offer-demo__menu i:last-child { width: 70%; margin-left: auto; }

.offer-demo__card {
  position: relative; overflow: hidden;
  padding: 16px 18px 18px;
  border-radius: 20px;
  background: var(--green);
  color: var(--cream);
  box-shadow: 0 14px 30px rgba(31, 61, 43, .28);
}
.offer-demo__mark {
  position: absolute; right: -34px; bottom: -40px;
  width: 190px; height: 190px;
  color: rgba(246, 241, 231, .07);
}
.offer-demo__card-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.offer-demo__brand { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.offer-demo__tag {
  padding: 3px 10px; border-radius: 999px;
  background: rgba(246, 241, 231, .14);
  font-size: 12px; font-weight: 600; color: #D6E0D3;
}
.offer-demo__label { position: relative; margin-top: 14px; font-size: 14px; color: #D6E0D3; }
.offer-demo__amount {
  position: relative; margin-top: 2px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 40px; line-height: 1.05; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.offer-demo__details { padding: 12px 6px 0; }
.offer-demo__rows { margin: 6px 0 0; }
.offer-demo__row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--tan);
  font-size: 14px;
}
.offer-demo__row dt { color: var(--text-soft); }
.offer-demo__row dd { margin: 0; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.offer-demo__row dd.is-accent { color: var(--accent); }
.offer-demo__row--total { border-top: 2px solid var(--green); }
.offer-demo__row--total dt, .offer-demo__row--total dd { font-weight: 700; color: var(--green); }

/* Reveal animation (added by js/main.js only when motion is OK) */
.offer-demo.is-ready .offer-demo__card { opacity: 0; transform: translateY(16px) scale(.98); }
.offer-demo.is-ready .offer-demo__row { opacity: 0; transform: translateY(8px); }
.offer-demo.is-live .offer-demo__card,
.offer-demo.is-live .offer-demo__row {
  opacity: 1; transform: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.offer-demo.is-live .offer-demo__row:nth-child(1) { transition-delay: .9s; }
.offer-demo.is-live .offer-demo__row:nth-child(2) { transition-delay: 1.2s; }
.offer-demo.is-live .offer-demo__row:nth-child(3) { transition-delay: 1.35s; }
.offer-demo.is-live .offer-demo__row:nth-child(4) { transition-delay: 1.5s; }

@media (max-width: 400px) {
  .offer-demo__phone { padding: 10px 10px 12px; border-radius: 24px; }
  .offer-demo__amount { font-size: 36px; }
}
.breakdown__intro p.breakdown__note { margin-top: 2px; font-size: 14px; color: var(--text-muted); }

/* Phones: make room for the logo, "Get Offer" and the menu button */
@media (max-width: 360px) {
  .site-header__inner:has(.nav-toggle) { padding: 0 14px; }
  .site-header__inner:has(.nav-toggle) .logo__img { height: 22px; }
  .site-header__inner:has(.nav-toggle) .header-offer { padding: 0 12px; font-size: 14px; }
  .nav-toggle { width: 40px; }
}

/* ---------- 404 page ---------- */
.notfound .legal__title + p { margin-top: 14px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.notfound__call { margin-top: 24px; }
@media (max-width: 480px) { .notfound__actions .btn { flex: 1 1 100%; } }
