/* ==========================================================
   DREAM FORGE HOME BUYERS — Dallas, TX
   Design tokens + components
   ========================================================== */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.72rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  --text-3xl: clamp(2.4rem, 1.4rem + 3.6vw, 4.25rem);

  /* Spacing */
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  /* Brand palette — Dream Forge */
  --navy-950: #050d1e;
  --navy-900: #08152f;
  --navy: #0a1a3a;
  --navy-800: #0f2650;
  --navy-700: #16345f;
  --steel: #3d5178;
  --silver: #b9c3d4;
  --silver-2: #8b97ac;
  --ice: #a8d0e6;
  --ice-dim: #6fa9c9;
  --gold: #d8a75f;
  --gold-hover: #e8bd7c;
  --gold-deep: #b6853f;
  --white: #ffffff;
  --arch-white: #f6f8fb;
  --arch-white-2: #eef2f8;
  --border: #d8e0ec;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(8,21,47,.08), 0 1px 2px rgba(8,21,47,.05);
  --shadow: 0 10px 30px rgba(8,21,47,.10), 0 2px 8px rgba(8,21,47,.06);
  --shadow-lg: 0 28px 70px rgba(8,21,47,.20), 0 8px 22px rgba(8,21,47,.10);
  --shadow-gold: 0 10px 30px rgba(216,167,95,.32);

  --font-display: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --ease: cubic-bezier(.16,1,.3,1);
}

/* ============ ELEMENTS ============ */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--navy);
  background: var(--arch-white);
  padding-bottom: 0;
}
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--space-5); }
.wrap--narrow { max-width: 860px; }
section { position: relative; }
.section-pad { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }

/* Headings */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.03em;
}
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); letter-spacing: -.015em; line-height: 1.2; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ice-dim);
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--gold); flex: none; }
.on-dark .eyebrow, .band-dark .eyebrow { color: var(--ice); }

.lead { font-size: var(--text-lg); line-height: 1.5; color: var(--steel); font-weight: 400; }
.band-dark .lead { color: var(--silver); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700;
  letter-spacing: .01em; padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm); min-height: 54px; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .2s ease, color .2s ease;
  will-change: transform;
}
.btn--primary { background: linear-gradient(135deg, var(--gold-hover), var(--gold) 55%, var(--gold-deep)); color: var(--navy-950); box-shadow: var(--shadow-gold); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(216,167,95,.45); }
.btn--ghost { background: rgba(255,255,255,.06); color: var(--white); border: 1.5px solid rgba(168,208,230,.5); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(168,208,230,.16); border-color: var(--ice); transform: translateY(-3px); }
.btn--navy { background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.btn--navy:hover { background: var(--navy-800); transform: translateY(-3px); }
.btn--outline-navy { border: 1.5px solid var(--navy); color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }
.btn--lg { font-size: var(--text-base); padding: var(--space-5) var(--space-10); min-height: 60px; }
.btn--block { width: 100%; }

/* ============ LOGO ============ */
.logo { display: inline-flex; align-items: center; gap: var(--space-3); }
.logo svg { flex: none; }
.logo__monogram {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,.35), 0 0 0 1px rgba(168,208,230,.28) inset;
  background: #0a1a3a;
  flex: none;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -.02em; }
.logo-text span { font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ice-dim); font-weight: 600; margin-top: 4px; }
.nav .logo-text b { color: var(--white); }
.nav .logo-text span { color: var(--ice); }

/* Footer logo (full lockup) */
.footer__logo { display: inline-block; }
.footer__logo img {
  max-width: 260px; width: 100%; height: auto; display: block;
  border-radius: 10px;
}
.footer__subbrand {
  margin-top: var(--space-3); font-size: .7rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ice); font-weight: 700;
}

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(6,14,32,.82); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(168,208,230,.14);
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled { background: rgba(5,13,30,.96); box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: 72px; }
.nav__links { display: flex; align-items: center; gap: var(--space-8); }
.nav__links a { font-size: var(--text-sm); font-weight: 600; color: var(--silver); transition: color .2s ease; position: relative; }
.nav__links a:hover { color: var(--white); }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--gold); transition: width .3s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: var(--space-4); }
.nav__phone { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 700; color: var(--white); }
.nav__phone svg { color: var(--gold); }
.nav .btn { min-height: 44px; padding: var(--space-3) var(--space-6); }
.nav__toggle { display: none; color: var(--white); padding: var(--space-2); }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; background: var(--navy-950); padding-top: calc(72px + var(--space-16)); padding-bottom: var(--space-20); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(5,13,30,.96) 0%, rgba(8,21,47,.88) 42%, rgba(10,26,58,.55) 100%),
    linear-gradient(to top, rgba(5,13,30,1) 0%, rgba(5,13,30,0) 55%);
}
.hero__inner { position: relative; z-index: 2; max-width: 780px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ice); background: rgba(168,208,230,.1); border: 1px solid rgba(168,208,230,.32);
  padding: var(--space-2) var(--space-4); border-radius: 100px; margin-bottom: var(--space-6);
}
.hero__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(216,167,95,.2); }
.hero h1 { font-size: var(--text-3xl); color: var(--white); margin-bottom: var(--space-6); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { color: var(--silver); max-width: 60ch; margin-bottom: var(--space-8); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-10); }
.hero__note { font-size: var(--text-xs); color: var(--silver-2); margin-top: calc(var(--space-10) * -1 + var(--space-4)); margin-bottom: var(--space-10); }

/* Trust badge strip */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); position: relative; z-index: 2; margin-top: var(--space-10); }
.trust-badge {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: rgba(255,255,255,.05); border: 1px solid rgba(168,208,230,.18);
  border-radius: var(--radius); backdrop-filter: blur(8px);
}
.trust-badge svg { color: var(--gold); flex: none; }
.trust-badge span { font-size: var(--text-sm); font-weight: 700; color: var(--white); line-height: 1.25; letter-spacing: -.01em; }

/* Stat bar */
.statbar { background: var(--navy); border-top: 1px solid rgba(168,208,230,.14); }
.statbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.statbar__item { padding: var(--space-8) var(--space-5); text-align: center; border-right: 1px solid rgba(168,208,230,.12); }
.statbar__item:last-child { border-right: none; }
.statbar__item b { display: block; font-family: var(--font-display); font-size: var(--text-xl); color: var(--gold); letter-spacing: -.03em; }
.statbar__item span { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--silver); font-weight: 600; }

/* ============ SECTION HEADERS ============ */
.sec-head { max-width: 720px; margin-bottom: var(--space-16); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head h2 { margin-bottom: var(--space-5); }

/* ============ STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.step {
  position: relative; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-10) var(--space-8) var(--space-8);
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--ice); }
.step__num {
  position: absolute; top: calc(var(--space-6) * -1); left: var(--space-8);
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; color: var(--white);
  background: linear-gradient(150deg, var(--navy-700), var(--navy-950));
  box-shadow: 0 8px 22px rgba(10,26,58,.34); border: 1px solid rgba(168,208,230,.24);
}
.step h3 { margin: var(--space-6) 0 var(--space-3); }
.step p { color: var(--steel); font-size: var(--text-base); }

/* ============ SITUATIONS GRID ============ */
.band-ice { background: linear-gradient(180deg, var(--arch-white-2), var(--arch-white)); }
.sit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.sit {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--space-6); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease);
}
.sit:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.sit__ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(168,208,230,.22); display: grid; place-items: center; color: var(--navy-800); margin-bottom: var(--space-4); }
.sit b { display: block; font-family: var(--font-display); font-size: var(--text-base); letter-spacing: -.01em; margin-bottom: var(--space-2); }
.sit p { font-size: var(--text-sm); color: var(--silver-2); line-height: 1.5; }
.sit-more { text-align: center; margin-top: var(--space-10); font-size: var(--text-base); color: var(--steel); }
.sit-more b { color: var(--navy); }

/* ============ COMPARISON ============ */
.compare { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.compare__cell { padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--border); font-size: var(--text-sm); display: flex; align-items: center; gap: var(--space-3); }
.compare__cell--label { font-weight: 700; color: var(--navy); background: var(--arch-white-2); font-size: var(--text-sm); }
.compare__head { padding: var(--space-6); font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); letter-spacing: -.02em; display: flex; flex-direction: column; gap: 4px; }
.compare__head--us { background: var(--navy); color: var(--white); }
.compare__head--us small { color: var(--gold); font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.compare__head--them { background: var(--arch-white-2); color: var(--steel); }
.compare__head--them small { color: var(--silver-2); font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.compare__cell--us { background: rgba(168,208,230,.1); font-weight: 600; color: var(--navy); }
.compare__cell--us svg { color: #2f855a; flex: none; }
.compare__cell--them { color: var(--silver-2); }
.compare__cell--them svg { color: #c05252; flex: none; }
.compare-cta { text-align: center; margin-top: var(--space-12); }

/* ============ FORM SECTIONS ============ */
.form-band { background: linear-gradient(165deg, var(--navy-950), var(--navy) 55%, var(--navy-800)); color: var(--white); overflow: hidden; }
.form-band .sec-head h2 { color: var(--white); }
.form-band__intro { text-align: center; max-width: 680px; margin: 0 auto var(--space-10); }
.form-band__note {
  display: inline-flex; align-items: center; gap: var(--space-3); text-align: left;
  font-size: var(--text-base); font-weight: 600; color: var(--white);
  background: rgba(168,208,230,.1); border: 1px solid rgba(168,208,230,.3);
  border-left: 4px solid var(--gold);
  padding: var(--space-4) var(--space-6); border-radius: var(--radius-sm); margin-top: var(--space-6);
}
.form-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-6); margin-top: var(--space-8); }
.form-assure li { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--silver); font-weight: 600; }
.form-assure svg { color: var(--ice); flex: none; }

/* Branded container that wraps the live LeadConnector embed */
.form-embed-container {
  max-width: 820px; margin: 0 auto;
  background: var(--white); border: 1px solid rgba(168,208,230,.55);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: var(--space-4);
}
.form-embed-container::before {
  content: ''; display: block; height: 4px; border-radius: 99px; margin: 0 0 var(--space-4);
  background: linear-gradient(90deg, var(--gold), var(--ice), var(--navy-700));
}
.form-embed-frame { min-height: 2336px; height: auto; width: 100%; border-radius: var(--radius); overflow: hidden; }
.form-embed-frame iframe { width: 100%; min-height: 2336px; border: none; display: block; background: #fff; }

/* Buyer pre-launch state */
.buyer-form-container { max-width: 720px; margin: 0 auto; }
.buyer-form-coming-soon {
  position: relative; text-align: center;
  background: linear-gradient(165deg, rgba(168,208,230,.14), rgba(168,208,230,.05));
  border: 1.5px dashed rgba(168,208,230,.5);
  border-radius: var(--radius-lg); padding: clamp(var(--space-8), 5vw, var(--space-16)) clamp(var(--space-5), 4vw, var(--space-12));
  backdrop-filter: blur(4px);
}
.buyer-form-coming-soon .cs-ico {
  width: 60px; height: 60px; margin: 0 auto var(--space-6); border-radius: 16px;
  display: grid; place-items: center; color: var(--navy-950);
  background: linear-gradient(140deg, var(--ice), #dbeef8);
  box-shadow: 0 12px 30px rgba(168,208,230,.28);
}
.buyer-form-coming-soon .badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--navy-950); background: linear-gradient(135deg, var(--gold-hover), var(--gold-deep));
  padding: 6px var(--space-4); border-radius: 100px; margin-bottom: var(--space-5);
  box-shadow: var(--shadow-gold);
}
.buyer-form-coming-soon h3 { font-size: var(--text-xl); color: var(--white); margin-bottom: var(--space-4); }
.buyer-form-coming-soon > p { color: var(--silver); max-width: 52ch; margin: 0 auto var(--space-8); font-size: var(--text-base); }
.buyer-notify-form { display: flex; gap: var(--space-3); max-width: 460px; margin: 0 auto; }
.buyer-notify-form input {
  flex: 1; min-height: 54px; padding: 0 var(--space-5); border-radius: var(--radius-sm);
  background: rgba(255,255,255,.96); border: 1.5px solid rgba(168,208,230,.6); color: var(--navy);
  font-size: var(--text-sm); transition: border-color .2s, box-shadow .2s;
}
.buyer-notify-form input::placeholder { color: var(--silver-2); }
.buyer-notify-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(216,167,95,.2); outline: none; }
.cs-foot { font-size: var(--text-xs); color: var(--silver-2); margin-top: var(--space-6); line-height: 1.6; }

/* ============ BUYERS BAND ============ */
.buyers { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: var(--white); overflow: hidden; position: relative; }
.buyers::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(168,208,230,.14) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5;
}
.buyers .wrap { position: relative; z-index: 2; }
.buyers h2 { color: var(--white); }
.buyers__split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: center; }
.buyers__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(168,208,230,.24); }
.buyers__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.buyers__media figcaption {
  position: absolute; inset: auto var(--space-5) var(--space-5) var(--space-5);
  background: rgba(5,13,30,.86); backdrop-filter: blur(10px);
  border: 1px solid rgba(168,208,230,.24); border-radius: var(--radius);
  padding: var(--space-4) var(--space-5); font-size: var(--text-sm); color: var(--silver); font-weight: 600;
}
.buyers__media figcaption b { color: var(--gold); display: block; font-family: var(--font-display); font-size: var(--text-base); margin-bottom: 2px; }
.bene-list { display: grid; gap: var(--space-5); margin: var(--space-8) 0 var(--space-10); }
.bene { display: flex; gap: var(--space-4); }
.bene__ico { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(168,208,230,.14); border: 1px solid rgba(168,208,230,.3); color: var(--ice); }
.bene b { display: block; font-family: var(--font-display); font-size: var(--text-base); color: var(--white); letter-spacing: -.01em; margin-bottom: 2px; }
.bene p { font-size: var(--text-sm); color: var(--silver); line-height: 1.55; }
.strat-chips { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.chip { font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ice); border: 1px solid rgba(168,208,230,.35); background: rgba(168,208,230,.08); padding: var(--space-2) var(--space-4); border-radius: 100px; }

/* ============ ABOUT ============ */
.about__split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: center; }
.about__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); margin: var(--space-8) 0; }
.pillar { border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); background: var(--white); }
.pillar b { font-family: var(--font-display); font-size: var(--text-base); display: block; margin-bottom: 2px; letter-spacing: -.01em; }
.pillar span { font-size: var(--text-sm); color: var(--silver-2); }
.family-note {
  display: flex; align-items: flex-start; gap: var(--space-4);
  background: var(--navy); color: var(--silver); border-radius: var(--radius);
  padding: var(--space-6); font-size: var(--text-sm); line-height: 1.6;
}
.family-note b { color: var(--white); }
.family-note .fn-ico { flex: none; color: var(--gold); }
.stars { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-6); }
.stars__ico { display: flex; gap: 2px; color: var(--gold); }
.stars span { font-size: var(--text-sm); color: var(--steel); font-weight: 600; }

/* ============ FAQ ============ */
.faq-list { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--border); }
.faq { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  padding: var(--space-6) 0; font-family: var(--font-display); font-size: var(--text-lg);
  font-weight: 700; letter-spacing: -.015em; color: var(--navy); transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--navy-700); }
.faq__plus { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--border); display: grid; place-items: center; color: var(--navy); transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s; }
.faq[open] .faq__plus { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.faq__body { padding-bottom: var(--space-6); color: var(--steel); font-size: var(--text-base); max-width: 68ch; }
.faq[open] .faq__body { animation: fadeSlide .35s var(--ease); }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============ FINAL CTA ============ */
.final-cta { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: var(--white); text-align: center; }
.final-cta h2 { color: var(--white); margin-bottom: var(--space-5); }
.final-cta .lead { margin: 0 auto var(--space-10); max-width: 56ch; }
.final-cta__ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }

/* ============ FOOTER ============ */
.footer { background: var(--navy-950); color: var(--silver-2); padding-top: var(--space-20); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: var(--space-10); padding-bottom: var(--space-16); }
.footer h4 { font-family: var(--font-display); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .14em; color: var(--white); margin-bottom: var(--space-5); font-weight: 700; }
.footer p, .footer li { font-size: var(--text-sm); line-height: 1.7; }
.footer ul { display: grid; gap: var(--space-2); }
.footer a:hover { color: var(--ice); }
.footer__brandcopy { margin: var(--space-5) 0 var(--space-6); max-width: 34ch; }
.footer__family { font-size: var(--text-xs); color: var(--silver-2); border-left: 2px solid var(--gold); padding-left: var(--space-4); line-height: 1.6; }
.socials { display: flex; gap: var(--space-3); margin-top: var(--space-6); }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(168,208,230,.2); display: grid; place-items: center; color: var(--silver); transition: all .25s ease; }
.socials a:hover { background: rgba(168,208,230,.14); border-color: var(--ice); color: var(--white); transform: translateY(-2px); }
.footer__bottom { border-top: 1px solid rgba(168,208,230,.14); padding-block: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: center; }
.footer__bottom p, .footer__bottom li { font-size: var(--text-xs); }
.disclaimer { font-size: var(--text-xs); color: #4f5c75; padding-bottom: var(--space-10); line-height: 1.6; max-width: 90ch; }

/* ============ MOBILE STICKY CTA ============ */
.mobile-cta { display: none; }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .nav__phone span { display: none; }
  .sit-grid { grid-template-columns: repeat(2, 1fr); }
  .buyers__split, .about__split { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: var(--space-12); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .statbar__grid { grid-template-columns: repeat(2, 1fr); }
  .statbar__item:nth-child(2) { border-right: none; }
  .statbar__item:nth-child(-n+2) { border-bottom: 1px solid rgba(168,208,230,.12); }
  .compare { grid-template-columns: 1fr; box-shadow: var(--shadow); }
  .compare__head--us, .compare__head--them { border-bottom: 1px solid rgba(255,255,255,.1); }
  .compare-row { display: grid; grid-template-columns: 1fr; border-bottom: 8px solid var(--arch-white-2); }
}
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .hero { padding-top: calc(72px + var(--space-10)); }
  .hero__ctas .btn { width: 100%; }
  .sit-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .buyer-notify-form { flex-direction: column; }
  .buyer-notify-form .btn { width: 100%; }
  .final-cta__ctas .btn { width: 100%; }
  .nav .btn { display: none; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2);
    position: fixed; inset: auto 0 0 0; z-index: 99;
    padding: var(--space-3); background: rgba(5,13,30,.96);
    backdrop-filter: blur(14px); border-top: 1px solid rgba(168,208,230,.2);
  }
  .mobile-cta .btn { min-height: 52px; padding: var(--space-3); font-size: var(--text-sm); }
  .form-embed-container { padding: var(--space-2); }
  .form-embed-container::before { margin: 0 0 var(--space-2); }
}


/* ============ COMPARISON ROW STRUCTURE ============ */
.compare__headrow, .compare__row { display: contents; }

@media (max-width: 860px) {
  .compare { display: block; box-shadow: var(--shadow); }
  .compare__headrow { display: grid; grid-template-columns: 1fr 1fr; }
  .compare__headrow .compare__head--spacer { display: none; }
  .compare__row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 6px solid var(--arch-white-2); }
  .compare__row .compare__cell--label { grid-column: 1 / -1; border-bottom: 1px solid var(--border); }
  .compare__cell { font-size: var(--text-sm); }
}

/* ==========================================================
   CONVERSION LAYER — hero address capture, trust bar,
   situation chips, condition gallery, testimonials
   ========================================================== */

/* ---- Hero address capture ---- */
.addr-form {
  display: flex; gap: var(--space-3); align-items: stretch;
  max-width: 640px; margin-bottom: var(--space-4);
}
.addr-form__field {
  position: relative; flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center;
}
.addr-form__pin {
  position: absolute; left: var(--space-4); color: var(--ice-dim); pointer-events: none;
}
.addr-form input {
  width: 100%; min-height: 60px;
  padding: 0 var(--space-5) 0 calc(var(--space-4) + 28px);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.97);
  border: 1.5px solid rgba(168,208,230,.55);
  color: var(--navy); font-size: var(--text-base); font-weight: 500;
  font-family: var(--font-body);
  box-shadow: 0 10px 30px rgba(5,13,30,.28);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.addr-form input::placeholder { color: #8b97ac; font-weight: 400; }
.addr-form input:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216,167,95,.25), 0 10px 30px rgba(5,13,30,.28);
}
.addr-form .btn { flex: none; white-space: nowrap; }
.addr-form.is-invalid input { border-color: #e08b8b; box-shadow: 0 0 0 4px rgba(224,139,139,.22); }
.hero__note { margin: 0 0 var(--space-5); }
.hero__alts {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-6) var(--space-8); margin-top: var(--space-3);
}
.hero__alt {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 700; color: var(--ice);
  border-bottom: 1px solid rgba(168,208,230,.4); padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.hero__alt:hover { color: var(--white); border-color: var(--gold); }
.hero__alt--soft {
  color: var(--silver);
  border-color: rgba(216,167,95,.35);
}
.hero__alt--soft:hover { color: var(--gold); border-color: var(--gold); }
@media (max-width: 640px) {
  .hero__alts { gap: var(--space-3); flex-direction: column; align-items: flex-start; }
}

/* ---- Trust bar ---- */
.trustbar {
  background: linear-gradient(90deg, var(--navy-900), var(--navy) 50%, var(--navy-900));
  border-top: 1px solid rgba(168,208,230,.16);
  border-bottom: 1px solid rgba(168,208,230,.16);
}
.trustbar__row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0;
}
.trustbar__row li {
  display: flex; align-items: center; gap: var(--space-3);
  flex: 1 1 auto; justify-content: center;
  padding: var(--space-5) var(--space-4);
  font-size: var(--text-sm); font-weight: 700; color: var(--white);
  letter-spacing: -.01em; line-height: 1.2; text-align: left;
  border-right: 1px solid rgba(168,208,230,.16);
}
.trustbar__row li:last-child { border-right: none; }
.trustbar__row svg { color: var(--gold); flex: none; }
.trustbar__stars { color: var(--gold); letter-spacing: 1px; font-size: .85rem; flex: none; }

/* ---- Situation chips ---- */
.sitchips { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.sitchip {
  display: flex; align-items: center; gap: var(--space-4);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: var(--space-5);
  transition: transform .3s var(--ease), border-color .25s ease, box-shadow .3s var(--ease);
}
.sitchip:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.sitchip__ico {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(168,208,230,.24); color: var(--navy-800);
}
.sitchip b {
  font-family: var(--font-display); font-size: var(--text-base);
  letter-spacing: -.015em; line-height: 1.2;
}

/* ---- Us vs Realtor compact card ---- */
.vscard {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--white);
  border: 1px solid var(--border);
}
.vscard__head, .vsrow { display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
.vscard__head > div {
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-base);
  letter-spacing: -.02em; display: flex; flex-direction: column; gap: 3px;
}
.vscard__head--spacer { background: var(--arch-white-2); }
.vscard__head--us { background: var(--navy); color: var(--white); }
.vscard__head--us small { color: var(--gold); font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vscard__head--them { background: var(--arch-white-2); color: var(--steel); }
.vscard__head--them small { color: var(--silver-2); font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vsrow > * {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm); display: flex; align-items: center; gap: var(--space-3);
}
.vsrow__label { font-weight: 700; color: var(--navy); background: var(--arch-white-2); }
.vsrow__us { background: rgba(168,208,230,.12); color: var(--navy); }
.vsrow__us b { font-weight: 700; }
.vsrow__us svg { color: #2f855a; flex: none; }
.vsrow__them { color: var(--silver-2); }
.vsrow__them svg { color: #c05252; flex: none; }

/* ---- Testimonial band ---- */
.testi-band { background: linear-gradient(180deg, var(--arch-white-2), var(--arch-white)); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.testi {
  text-align: center; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi img {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
  margin: 0 auto var(--space-5); display: block;
  border: 3px solid var(--white); box-shadow: 0 8px 22px rgba(8,21,47,.18);
}
.testi blockquote {
  font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.35;
  letter-spacing: -.02em; color: var(--navy); margin-bottom: var(--space-5);
}
.testi figcaption { display: flex; flex-direction: column; gap: 2px; }
.testi figcaption b { font-size: var(--text-sm); color: var(--navy); font-weight: 700; }
.testi figcaption span { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--ice-dim); font-weight: 700; }

/* ---- Any condition gallery ---- */
.cond-band { background: linear-gradient(170deg, var(--navy-950), var(--navy) 60%, var(--navy-900)); color: var(--white); }
.cond-band .sec-head h2 { color: var(--white); }
.cond-band .sec-head .lead { color: var(--silver); }
.cond-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.cond {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(168,208,230,.24); background: var(--navy-900);
  transition: transform .35s var(--ease), border-color .3s ease;
}
.cond:hover { transform: translateY(-4px); border-color: var(--gold); }
.cond img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.cond figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: var(--space-6) var(--space-4) var(--space-3);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--white);
  background: linear-gradient(to top, rgba(5,13,30,.94), rgba(5,13,30,0));
}
.cond figcaption::before {
  content: ''; display: block; width: 22px; height: 2px;
  background: var(--gold); margin-bottom: 8px;
}
.cond-cta { text-align: center; margin-top: var(--space-12); }
.cond-cta p { font-size: var(--text-sm); color: var(--silver-2); margin-top: var(--space-4); }

/* ---- Address confirmation callout above the LC form ---- */
.addr-callout[hidden] { display: none !important; }
.addr-callout {
  display: flex; align-items: flex-start; gap: var(--space-3);
  max-width: 820px; margin: 0 auto var(--space-6);
  background: rgba(216,167,95,.12); border: 1px solid rgba(216,167,95,.45);
  border-left: 4px solid var(--gold); border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm); font-weight: 600; color: var(--white); line-height: 1.5;
}
.addr-callout svg { color: var(--gold); flex: none; margin-top: 2px; }
.addr-callout b { color: var(--gold); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .sitchips { grid-template-columns: repeat(2, 1fr); }
  .trustbar__row li { flex: 1 1 42%; }
  .trustbar__row li:nth-child(2n) { border-right: none; }
}
@media (max-width: 860px) {
  .cond-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .vscard__head, .vsrow { grid-template-columns: 1fr 1fr; }
  .vsrow__label { grid-column: 1 / -1; padding-block: var(--space-3); }
  .vscard__head--spacer { display: none; }
  .vsrow > * { padding-inline: var(--space-5); }
}
@media (max-width: 640px) {
  .addr-form { flex-direction: column; gap: var(--space-3); }
  .addr-form .btn { width: 100%; }
  .sitchips { grid-template-columns: 1fr; gap: var(--space-3); }
  .sitchip { padding: var(--space-4); }
  .trustbar__row { flex-direction: column; }
  .trustbar__row li {
    flex: 1 1 auto; width: 100%; justify-content: flex-start;
    border-right: none; border-bottom: 1px solid rgba(168,208,230,.14);
    padding: var(--space-3) var(--space-2); font-size: var(--text-xs);
  }
  .trustbar__row li:last-child { border-bottom: none; }
  .cond figcaption { font-size: 10px; padding: var(--space-5) var(--space-3) var(--space-3); }
  .cond-cta .btn { width: 100%; }
}

/* ============ SCROLL LANDING (offset for fixed nav) ============ */
/* Fallback for browsers that ignore scroll-padding on html when smooth scrolling */
html { scroll-padding-top: 108px; }
:target { scroll-margin-top: 108px; }
section[id],
main[id],
#top {
  scroll-margin-top: 108px;
}
@media (max-width: 640px) {
  html { scroll-padding-top: 96px; }
  :target { scroll-margin-top: 96px; }
  section[id], main[id], #top { scroll-margin-top: 96px; }
}

/* ---- QA fixes: nav density, hero legibility, 5-up trust bar ---- */
.nav__links { gap: var(--space-6); }
.nav__links a { white-space: nowrap; }
.nav__phone span { white-space: nowrap; }
.nav .btn { white-space: nowrap; }
.logo-text b { white-space: nowrap; }
@media (max-width: 1240px) {
  .nav__links { gap: var(--space-5); }
  .nav__links a { font-size: var(--text-xs); }
  .nav__phone span { display: none; }
}

/* Hero: let the homeowner read through the tint */
.hero__bg img { opacity: .78; object-position: 68% 50%; }
.hero__bg::after {
  background:
    linear-gradient(100deg, rgba(5,13,30,.95) 0%, rgba(8,21,47,.85) 38%, rgba(10,26,58,.42) 66%, rgba(10,26,58,.30) 100%),
    linear-gradient(to top, rgba(5,13,30,.96) 0%, rgba(5,13,30,0) 48%);
}

/* Trust bar: keep all five on one line at desktop */
@media (min-width: 1025px) {
  .trustbar__row { flex-wrap: nowrap; }
  .trustbar__row li {
    flex: 1 1 0; min-width: 0; gap: var(--space-2);
    padding: var(--space-5) var(--space-3); font-size: var(--text-xs);
  }
}
.testi { display: flex; flex-direction: column; }
.testi blockquote { flex: 1 1 auto; }
@media (max-width: 860px) {
  .vscard__head > .vscard__head--spacer { display: none; }
  .vscard__head > div { padding: var(--space-4) var(--space-5); }
  .vsrow > * { padding-inline: var(--space-4); font-size: var(--text-xs); }
  .vsrow__label { font-size: var(--text-sm); }
}

/* ==========================================================
   LAYER 3 — MOBILE DRAWER · EXIT MODAL · CHAT WIDGET ·
   COOKIE CONSENT · LEGAL ARTICLE PAGES
   (brand tokens only: navy / gold / ice-blue / silver)
   ========================================================== */

/* ============ MOBILE MENU DRAWER ============ */
.mnav { display: none; }

@media (max-width: 1024px) {
  .mnav {
    display: block;
    position: fixed; inset: 0; z-index: 200;
    pointer-events: none;
  }
  .mnav__backdrop {
    position: absolute; inset: 0;
    background: rgba(3, 9, 22, .62);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .25s var(--ease);
  }
  .mnav__panel {
    position: absolute; inset: 0 0 0 auto;
    width: min(420px, 92vw);
    display: flex; flex-direction: column;
    background: linear-gradient(170deg, var(--navy-900) 0%, var(--navy-950) 68%);
    border-left: 1px solid rgba(168, 208, 230, .18);
    box-shadow: -30px 0 80px rgba(0, 0, 0, .5);
    transform: translateX(100%);
    opacity: .6;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: var(--space-5) var(--space-6) var(--space-10);
  }
  .mnav.is-open { pointer-events: auto; }
  .mnav.is-open .mnav__backdrop { opacity: 1; }
  .mnav.is-open .mnav__panel { transform: none; opacity: 1; }

  .mnav__top {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-4); padding-bottom: var(--space-5);
    border-bottom: 1px solid rgba(168, 208, 230, .14);
  }
  .mnav__brand { display: inline-flex; align-items: center; gap: var(--space-3); }
  .mnav__brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(168,208,230,.28) inset; flex: none; }
  .mnav__brand b { font-family: var(--font-display); font-size: 1rem; color: var(--white); letter-spacing: -.02em; display: block; line-height: 1.1; }
  .mnav__brand > span { display: block; }
  .mnav__brand span span { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ice); font-weight: 700; }
  .mnav__close {
    width: 44px; height: 44px; border-radius: 10px; flex: none;
    display: grid; place-items: center; color: var(--white);
    border: 1px solid rgba(168, 208, 230, .28);
    background: rgba(255, 255, 255, .05);
    transition: background .2s ease, border-color .2s ease;
  }
  .mnav__close:hover { background: rgba(168, 208, 230, .16); border-color: var(--ice); }

  .mnav__links { display: flex; flex-direction: column; margin-top: var(--space-4); }
  .mnav__links a {
    position: relative; display: flex; align-items: center;
    min-height: 56px; padding: var(--space-3) 0;
    font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
    letter-spacing: -.02em; color: var(--white);
    border-bottom: 1px solid rgba(168, 208, 230, .1);
    transition: color .2s ease;
  }
  .mnav__links a::after {
    content: ''; position: absolute; left: 0; bottom: 10px;
    height: 2px; width: 0; background: var(--gold);
    transition: width .3s var(--ease);
  }
  .mnav__links a:hover, .mnav__links a:focus-visible { color: var(--gold-hover); }
  .mnav__links a:hover::after, .mnav__links a:focus-visible::after { width: 100%; }

  .mnav__divider { height: 1px; background: rgba(168, 208, 230, .18); margin: var(--space-6) 0 var(--space-2); }

  .mnav__row {
    display: flex; align-items: center; gap: var(--space-4);
    min-height: 60px; padding: var(--space-3) 0;
    font-size: var(--text-sm); font-weight: 700; color: var(--white);
    border-bottom: 1px solid rgba(168, 208, 230, .1);
    word-break: break-word;
  }
  .mnav__row svg { color: var(--gold); flex: none; }
  .mnav__row:hover { color: var(--gold-hover); }
  .mnav__row b { font-family: var(--font-display); font-size: 1.05rem; }

  .mnav__cta { margin-top: var(--space-8); }
  .mnav__cta .btn { width: 100%; }
  .mnav__investor {
    display: block; text-align: center; margin-top: var(--space-5);
    font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--ice);
  }
  .mnav__investor:hover { color: var(--white); }
  .mnav__legal { margin-top: var(--space-6); text-align: center; font-size: var(--text-xs); color: var(--silver-2); }
  .mnav__legal a { color: var(--silver); }
  .mnav__legal a:hover { color: var(--ice); }
}

body.is-locked { overflow: hidden; }

/* ============ EXIT-INTENT MODAL ============ */
.exit-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.exit-modal.is-open { display: block; }
.exit-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(3, 9, 22, .7); backdrop-filter: blur(8px);
  animation: dfFade .25s var(--ease) both;
}
.exit-modal__card {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 2rem));
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 72%);
  border: 1px solid rgba(216, 167, 95, .32);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
  padding: var(--space-8) var(--space-8) var(--space-10);
  animation: dfPop .3s var(--ease) both;
}
@keyframes dfFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes dfPop { from { opacity: 0; transform: translate(-50%, -46%) scale(.96) } to { opacity: 1; transform: translate(-50%, -50%) scale(1) } }
.exit-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); }
.exit-modal__mono { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(168,208,230,.3) inset; flex: none; }
.exit-modal__close {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: grid; place-items: center; color: var(--silver);
  border: 1px solid rgba(168, 208, 230, .24);
  transition: color .2s ease, background .2s ease;
}
.exit-modal__close:hover { color: var(--white); background: rgba(168, 208, 230, .14); }
.exit-modal h2 {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.35rem); color: var(--white);
  margin-top: var(--space-6);
}
.exit-modal h2 em { font-style: normal; color: var(--gold); }
.exit-modal p.exit-sub { color: var(--silver); margin-top: var(--space-4); font-size: var(--text-base); }
.exit-modal__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.exit-modal__ctas .btn { flex: 1 1 200px; }
.exit-modal__foot {
  margin-top: var(--space-5); font-size: var(--text-xs);
  color: var(--silver-2); letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
}
@media (max-width: 560px) {
  /* Bottom-sheet on mobile — slides up from bottom, feels native */
  .exit-modal__card {
    left: 0; right: 0; top: auto; bottom: 0;
    transform: none;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: var(--space-6) var(--space-6) calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
    animation: dfSlideUp .32s var(--ease) both;
  }
  .exit-modal__ctas .btn { flex: 1 1 100%; }
  /* Small handle indicator at the top of the sheet */
  .exit-modal__card::before {
    content: ''; display: block; width: 44px; height: 4px; border-radius: 999px;
    background: rgba(168, 208, 230, .35);
    margin: 0 auto var(--space-4);
  }
}
@keyframes dfSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ CHAT WIDGET (LeadConnector placeholder) ============ */
.dfchat { position: fixed; right: 20px; bottom: 20px; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-3); }
.dfchat__bubble {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-hover), var(--gold) 55%, var(--gold-deep));
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
  position: relative;
  transition: transform .3s var(--ease);
}
.dfchat__bubble:hover { transform: translateY(-3px) scale(1.04); }
.dfchat__bubble::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(216, 167, 95, .55);
  animation: dfPulse 2.4s ease-out infinite;
}
@keyframes dfPulse {
  0% { transform: scale(.85); opacity: .8 }
  70% { transform: scale(1.25); opacity: 0 }
  100% { transform: scale(1.25); opacity: 0 }
}
.dfchat__panel {
  width: min(320px, calc(100vw - 40px));
  order: -1;
  background: linear-gradient(165deg, var(--navy-800), var(--navy-950));
  border: 1px solid rgba(168, 208, 230, .24);
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .5);
  padding: var(--space-6);
  opacity: 0; transform: translateY(10px) scale(.97);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.dfchat.is-open .dfchat__panel { opacity: 1; transform: none; pointer-events: auto; }
.dfchat.is-open .dfchat__bubble::before { animation: none; opacity: 0; }
.dfchat__panel p.dfchat__msg { color: var(--white); font-size: var(--text-sm); line-height: 1.6; font-weight: 500; }
.dfchat__panel .btn { width: 100%; margin-top: var(--space-5); min-height: 50px; }
.dfchat__note { margin-top: var(--space-3); font-size: var(--text-xs); color: var(--silver-2); text-align: center; }
.dfchat__x {
  position: absolute; top: 8px; right: 10px; color: var(--silver-2);
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px;
}
.dfchat__x:hover { color: var(--white); background: rgba(255,255,255,.08); }
.dfchat__panelwrap { position: relative; }
@media (max-width: 640px) {
  .dfchat { bottom: 90px; right: 16px; }
}

/* ============ COOKIE CONSENT ============ */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 180;
  width: min(430px, calc(100vw - 32px));
  background: linear-gradient(165deg, var(--navy-800), var(--navy-950));
  border: 1px solid rgba(168, 208, 230, .24);
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .48);
  padding: var(--space-6);
  display: none;
}
.cookie.is-visible { display: block; animation: dfSlideUp .35s var(--ease) both; }
@keyframes dfSlideUp { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.cookie__title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); letter-spacing: -.02em; }
.cookie p { font-size: var(--text-sm); color: var(--silver); line-height: 1.6; margin-top: var(--space-2); }
.cookie p a { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cookie__btns { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.cookie__btns .btn { flex: 1 1 150px; min-height: 48px; font-size: var(--text-sm); padding: var(--space-3) var(--space-5); }
.cookie__manage {
  display: block; margin-top: var(--space-4); font-size: var(--text-xs);
  color: var(--ice); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-align: center;
}
.cookie__manage:hover { color: var(--white); }
.cookie__prefs { display: none; margin-top: var(--space-5); border-top: 1px solid rgba(168,208,230,.16); padding-top: var(--space-4); }
.cookie.is-prefs .cookie__prefs { display: block; }
.cookie.is-prefs { width: min(470px, calc(100vw - 32px)); }
.cookie__cat { display: flex; align-items: flex-start; gap: var(--space-4); padding-block: var(--space-3); border-bottom: 1px solid rgba(168,208,230,.1); }
.cookie__cat:last-of-type { border-bottom: none; }
.cookie__cat b { display: block; color: var(--white); font-size: var(--text-sm); }
.cookie__cat span { display: block; color: var(--silver-2); font-size: var(--text-xs); line-height: 1.5; }
.cookie__cat label { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: var(--space-2); cursor: pointer; }
.cookie__cat input { width: 20px; height: 20px; accent-color: var(--gold); cursor: pointer; }
.cookie__cat input:disabled { cursor: not-allowed; opacity: .7; }
@media (max-width: 640px) {
  .cookie { left: 12px; right: 12px; width: auto; bottom: 76px; padding: var(--space-5); }
}

/* ============ LEGAL / ARTICLE PAGES ============ */
.legal-page { background: var(--navy-950); color: var(--silver); }
.legal-hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 80%);
  border-bottom: 1px solid rgba(168, 208, 230, .14);
  padding-top: calc(72px + var(--space-16));
  padding-bottom: var(--space-12);
}
.legal-hero .eyebrow { color: var(--ice); }
.legal-hero h1 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em;
  line-height: 1.05; font-size: var(--text-2xl); color: var(--white);
  margin-top: var(--space-4);
}
.legal-hero p.legal-eff { margin-top: var(--space-4); color: var(--silver); font-size: var(--text-sm); }
.legal-wrap { max-width: 780px; margin-inline: auto; padding-inline: var(--space-5); }
.legal-body { background: var(--navy-900); padding-block: var(--space-16) var(--space-20); }
.legal-alert {
  display: flex; gap: var(--space-4); align-items: flex-start;
  background: rgba(216, 167, 95, .12);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius); padding: var(--space-5) var(--space-6);
  color: var(--white); font-weight: 700; font-size: var(--text-sm); line-height: 1.6;
  margin-bottom: var(--space-12);
}
.legal-alert svg { color: var(--gold); flex: none; margin-top: 2px; }
.legal-toc {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(168, 208, 230, .18);
  border-radius: var(--radius); padding: var(--space-6);
  margin-bottom: var(--space-12);
}
.legal-toc h2 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ice); font-family: var(--font-body); font-weight: 800; }
.legal-toc ol { margin-top: var(--space-4); counter-reset: toc; display: grid; gap: var(--space-2); }
.legal-toc li { counter-increment: toc; font-size: var(--text-sm); }
.legal-toc li a { color: var(--silver); }
.legal-toc li a::before { content: counter(toc) ". "; color: var(--gold); font-weight: 700; }
.legal-toc li a:hover { color: var(--white); }
.legal-article { font-size: 1.0625rem; line-height: 1.85; color: #cfd8e6; }
.legal-article h2 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  letter-spacing: -.02em; line-height: 1.2; color: var(--white);
  margin-top: var(--space-12); margin-bottom: var(--space-4);
  padding-top: var(--space-2); scroll-margin-top: 96px;
}
.legal-article h2:first-child { margin-top: 0; }
.legal-article h3 { font-family: var(--font-display); font-size: 1.075rem; color: var(--ice); margin-top: var(--space-6); margin-bottom: var(--space-2); }
.legal-article p { margin-bottom: var(--space-5); }
.legal-article ul, .legal-article ol { margin: 0 0 var(--space-6) var(--space-2); display: grid; gap: var(--space-3); }
.legal-article ul li { padding-left: var(--space-6); position: relative; }
.legal-article ul li::before {
  content: ''; position: absolute; left: 0; top: .72em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--gold);
}
.legal-article ol { counter-reset: la; }
.legal-article ol li { counter-increment: la; padding-left: var(--space-8); position: relative; }
.legal-article ol li::before { content: counter(la) "."; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.legal-article strong { color: var(--white); }
.legal-article a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal-article a:hover { color: var(--gold-hover); }
.legal-foot {
  margin-top: var(--space-16); padding-top: var(--space-6);
  border-top: 1px solid rgba(168, 208, 230, .18);
  display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: center;
}
.legal-foot p { font-size: var(--text-sm); color: var(--silver-2); margin: 0; }
.legal-foot a.legal-back { font-weight: 700; color: var(--gold); font-size: var(--text-sm); }
.legal-foot a.legal-back:hover { color: var(--gold-hover); }
@media (max-width: 640px) {
  .legal-hero { padding-top: calc(72px + var(--space-10)); }
  .legal-article { font-size: 1rem; line-height: 1.8; }
}

/* Footer: cookie preferences link sits with the legal row */
.footer__bottom .cookie-pref-link { cursor: pointer; }

/* Legal pages have no sticky mobile CTA bar — drop the reserved space */
@media (max-width: 640px) {
  body.legal-page { padding-bottom: var(--space-8); }
}

/* Cookie banner: keep both button labels on one line */
.cookie { width: min(470px, calc(100vw - 32px)); }
.cookie__btns .btn { flex: 1 1 auto; white-space: nowrap; padding-inline: var(--space-4); font-size: var(--text-xs); letter-spacing: .04em; }

/* Keep the floating chat bubble from overlapping the footer legal row */
.footer__bottom { padding-bottom: calc(var(--space-6) + 60px); }

/* No sticky CTA bar on legal pages — sit the consent banner at the bottom */
@media (max-width: 640px) {
  body.legal-page .cookie { bottom: 16px; }
}

/* ============ POST-QA POLISH ============ */

/* Testimonial star ratings */
.testi__stars {
  display: inline-flex; gap: 3px; margin-top: var(--space-1);
  color: var(--gold);
}
.testi__stars svg { display: block; }
.testi > .testi__stars { margin: var(--space-2) 0 var(--space-3); }

/* Give buyers section extra breathing room above the mobile sticky CTA */
@media (max-width: 640px) {
  .buyers { padding-bottom: var(--space-16); }
  section.section-pad:last-of-type { padding-bottom: calc(var(--space-16) + var(--space-4)); }
}

/* ---- Buyer form has fewer fields than seller form ---- */
.form-embed-frame--buyer { min-height: 1510px; }
.form-embed-frame--buyer iframe { min-height: 1510px; }
@media (max-width: 640px) {
  .form-embed-frame--buyer { min-height: 1780px; }
  .form-embed-frame--buyer iframe { min-height: 1780px; }
}

/* ============ DISTRESSED HOME BANNER ============ */
.distressed-banner {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding-block: clamp(var(--space-16), 8vw, var(--space-28));
}
.distressed-banner__img { position: absolute; inset: 0; z-index: 0; }
.distressed-banner__img img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 60% 55%;
  opacity: 0.72;
}
.distressed-banner::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(95deg, rgba(5,13,30,.94) 0%, rgba(8,21,47,.82) 42%, rgba(10,26,58,.42) 72%, rgba(10,26,58,.28) 100%),
    linear-gradient(to top, rgba(5,13,30,.85) 0%, rgba(5,13,30,0) 55%);
}
.distressed-banner__content {
  position: relative; z-index: 2;
  max-width: 640px;
}
.distressed-banner__content .eyebrow { color: var(--ice); }
.distressed-banner__content h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);
  color: var(--white);
  line-height: 1.1;
  margin-top: var(--space-4);
}
.distressed-banner__content .lead {
  color: var(--silver);
  margin-top: var(--space-5);
  max-width: 56ch;
}
.distressed-banner__content .btn {
  margin-top: var(--space-8);
}
@media (max-width: 640px) {
  .distressed-banner { min-height: 420px; }
  .distressed-banner__img img { object-position: 55% 60%; }
}
