:root {
  --navy: #062b61;
  --navy-2: #031c42;
  --blue: #1464f4;
  --blue-2: #0b49bd;
  --red: #c8102e;
  --red-2: #9b0b24;
  --sky: #eaf3ff;
  --ice: #f5f9ff;
  --ink: #0c1b33;
  --muted: #526078;
  --white: #ffffff;
  --line: #d9e3f0;
  --success: #147d64;
  --shadow: 0 24px 70px rgba(3, 28, 66, .14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-160%); padding: 10px 16px; background: var(--white); border-radius: 8px; color: var(--navy); }
.skip-link:focus { transform: translateY(0); }

.topbar { background: var(--navy-2); color: #dfeaff; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar a { color: white; text-decoration: none; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(217,227,240,.82); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 156px; height: 61px; object-fit: contain; object-position: center; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { text-decoration: none; color: var(--navy); font-size: .95rem; font-weight: 750; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--navy); font-size: 1.35rem; }

.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border: 0; border-radius: 14px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 12px 26px rgba(20,100,244,.28); }
.btn-red { color: white; background: linear-gradient(135deg, #db183a, var(--red-2)); box-shadow: 0 12px 26px rgba(200,16,46,.22); }
.btn-ghost { color: var(--navy); background: white; border: 1px solid #c8d5e7; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Segoe UI", Arial, sans-serif; line-height: 1.08; color: var(--navy); margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(2.7rem, 6vw, 5.3rem); letter-spacing: -.055em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.035em; }
h3 { margin-bottom: 10px; font-size: 1.35rem; }
.lead { max-width: 690px; color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.25rem); }

.hero { position: relative; padding: 80px 0 66px; background: radial-gradient(circle at 75% 18%, rgba(20,100,244,.12), transparent 32%), linear-gradient(180deg, #f8fbff 0%, white 88%); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -240px; top: -250px; border: 72px solid rgba(200,16,46,.055); border-radius: 50%; animation: orbit 18s linear infinite; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 58px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 span { display: block; color: var(--red); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 26px; color: #34435b; font-size: .92rem; font-weight: 680; }
.hero-notes span::before { content: "✓"; margin-right: 7px; color: var(--success); font-weight: 900; }
.hero-visual { position: relative; min-height: 485px; }
.hero-photo { width: 100%; height: 465px; object-fit: cover; border-radius: 34px 8px 34px 8px; box-shadow: var(--shadow); }
.hero-frame { position: absolute; inset: 18px -18px -18px 18px; border: 2px solid rgba(20,100,244,.16); border-radius: 34px 8px 34px 8px; z-index: -1; }
.float-card { position: absolute; min-width: 190px; padding: 15px 17px; background: rgba(255,255,255,.95); border: 1px solid rgba(217,227,240,.9); border-radius: 16px; box-shadow: 0 16px 42px rgba(3,28,66,.16); animation: float 4.8s ease-in-out infinite; }
.float-card strong { display: block; color: var(--navy); font-family: "Segoe UI", Arial, sans-serif; }
.float-card small { color: var(--muted); }
.float-a { top: 28px; left: -34px; }
.float-b { right: -24px; bottom: 35px; animation-delay: -2.2s; }

.path-section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 32px; }
.section-head p { max-width: 580px; margin: 0; color: var(--muted); }
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.path-card { position: relative; min-height: 255px; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; text-decoration: none; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.path-card::after { content: "→"; position: absolute; right: 22px; bottom: 18px; color: var(--blue); font-size: 1.55rem; font-weight: 900; transition: transform .25s ease; }
.path-card:hover { transform: translateY(-7px); border-color: #9ebcf4; box-shadow: 0 18px 42px rgba(3,28,66,.1); }
.path-card:hover::after { transform: translateX(5px); }
.path-num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 30px; border-radius: 13px; color: white; background: var(--navy); font-family: "Segoe UI", Arial, sans-serif; font-weight: 900; }
.path-card p { margin: 0; color: var(--muted); }
.path-card.featured { color: white; background: linear-gradient(145deg, var(--navy), #0a458f); border-color: transparent; }
.path-card.featured h3, .path-card.featured p, .path-card.featured::after { color: white; }
.path-card.featured .path-num { color: var(--navy); background: white; }

.split-section { padding: 86px 0; background: var(--navy-2); color: white; }
.split-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.split-section h2, .split-section h3 { color: white; }
.split-section .eyebrow { color: #8ab5ff; }
.split-section .lead { color: #cad8ef; }
.option-stack { display: grid; gap: 12px; }
.option-row { display: grid; grid-template-columns: 145px 1fr; gap: 18px; padding: 21px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.06); transition: background .25s ease, transform .25s ease; }
.option-row:hover { transform: translateX(5px); background: rgba(255,255,255,.1); }
.option-row strong { color: #aecdff; }
.option-row p { margin: 0; color: #e2eaf6; }

.situations { padding: 86px 0; background: var(--ice); }
.situation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.situation-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.situation-card p { margin: 0; color: var(--muted); }

.process { padding: 86px 0; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.step { position: relative; padding: 26px 20px 20px; border-top: 4px solid var(--blue); background: #fff; box-shadow: 0 12px 32px rgba(3,28,66,.08); border-radius: 4px 4px 18px 18px; }
.step b { display: block; margin-bottom: 16px; color: var(--red); font-family: "Segoe UI", Arial, sans-serif; font-size: 2rem; }
.step p { margin: 0; color: var(--muted); }

.partners { padding: 76px 0; background: linear-gradient(135deg, #eef5ff, #fff 60%); }
.partner-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 38px; padding: 42px; border: 1px solid #cfe0fa; border-radius: 28px; background: white; box-shadow: var(--shadow); }
.partner-panel p { max-width: 720px; margin-bottom: 0; color: var(--muted); }

.form-section { padding: 88px 0; background: linear-gradient(140deg, #f6f9ff, #edf4ff); }
.form-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 55px; align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 30px; }
.contact-card { padding: 18px; border: 1px solid #d3e0f1; border-radius: 16px; background: rgba(255,255,255,.8); }
.contact-card span { display: block; color: var(--muted); font-size: .86rem; }
.contact-card a { color: var(--navy); font-weight: 850; text-decoration: none; }
.lead-form { padding: 32px; border: 1px solid #d8e3f1; border-radius: 26px; background: white; box-shadow: 0 24px 70px rgba(3,28,66,.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; color: var(--navy); font-size: .9rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #c7d4e5; border-radius: 11px; color: var(--ink); background: #fbfdff; }
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(20,100,244,.15); border-color: var(--blue); }
.fine-print { color: #66738a; font-size: .78rem; line-height: 1.45; }
.hp-field { position: absolute; left: -10000px; opacity: 0; pointer-events: none; }

.faq { padding: 86px 0; }
.faq-list { max-width: 900px; margin: 34px auto 0; }
.faq-head { align-items: center; }
.faq-toggle-all { flex: 0 0 auto; min-height: 42px; padding: 9px 15px; border: 1px solid #b9cbe1; border-radius: 999px; color: var(--navy); background: var(--white); font-weight: 800; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.faq-toggle-all:hover, .faq-toggle-all:focus-visible { transform: translateY(-2px); border-color: var(--blue); box-shadow: 0 9px 24px rgba(3,28,66,.12); }
details { border-bottom: 1px solid var(--line); transition: background .2s ease, border-color .2s ease; }
summary { position: relative; padding: 22px 44px 22px 0; color: var(--navy); font-family: "Segoe UI", Arial, sans-serif; font-size: 1.15rem; font-weight: 760; cursor: pointer; list-style: none; transition: color .2s ease, padding-left .2s ease; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; color: var(--blue); font-size: 1.5rem; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 22px; color: var(--muted); }
details[open] p { animation: faqAnswer .22s ease both; }
@keyframes faqAnswer { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.page-hero { padding: 78px 0 58px; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: white; }
.page-hero h1 { max-width: 900px; color: white; font-size: clamp(2.7rem, 5vw, 4.7rem); }
.page-hero .lead { color: #d9e5f8; }
.content-section { padding: 76px 0; }
.content-section.alt { background: var(--ice); }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.info-card p, .info-card li { color: var(--muted); }
.info-card ul { padding-left: 20px; }
.compare { width: 100%; border-collapse: collapse; margin-top: 28px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(3,28,66,.07); }
.compare th, .compare td { padding: 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { color: white; background: var(--navy); }
.compare tr:nth-child(even) td { background: var(--ice); }
.callout { padding: 28px; border-left: 5px solid var(--red); border-radius: 0 16px 16px 0; background: #fff3f5; }

.site-footer { padding: 55px 0 24px; background: #031630; color: #cbd7e8; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 42px; }
.footer-logo { width: 190px; height: auto; margin-bottom: 16px; padding: 10px 12px; border-radius: 14px; background: white; filter: none; opacity: 1; }
.site-footer h3 { color: white; font-size: 1rem; }
.site-footer a { display: block; margin: 7px 0; color: #dbe5f2; text-decoration: none; }
.site-footer a:hover { color: white; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #95a8c0; font-size: .79rem; }
.footer-bottom p { margin: 7px 0; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.25,1); }
[data-reveal].visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-11px) rotate(.4deg); } }
@keyframes orbit { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .main-nav { position: absolute; left: 20px; right: 20px; top: 82px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav .btn { margin-top: 6px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .hero-grid, .split-grid, .form-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 55px; }
  .hero-visual { max-width: 720px; }
  .path-grid { grid-template-columns: 1fr 1fr; }
  .situation-grid, .content-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .partner-panel { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 28px, 1180px); }
  .topbar .container { justify-content: center; min-height: 42px; text-align: center; }
  .topbar span { display: none; }
  .brand img { width: 132px; height: 52px; }
  .hero { padding: 46px 0 44px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 355px; }
  .hero-photo { height: 340px; border-radius: 25px 7px; }
  .float-card { min-width: 160px; padding: 11px 13px; }
  .float-a { top: 14px; left: -8px; }
  .float-b { right: -5px; bottom: 4px; }
  .section-head { display: block; }
  .path-grid, .situation-grid, .steps, .content-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .option-row { grid-template-columns: 1fr; gap: 4px; }
  .partner-panel, .lead-form { padding: 24px; }
  .compare { display: block; overflow-x: auto; white-space: normal; }
}

/* Light-first theme and persistent day/night control */
html { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

.theme-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid rgba(6,43,97,.18);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 34px rgba(3,28,66,.18);
  font-weight: 800;
  cursor: pointer;
}
.theme-toggle:hover { transform: translateY(-2px); }
.theme-toggle:focus-visible { outline: 3px solid rgba(20,100,244,.28); outline-offset: 2px; }
.theme-toggle-icon { font-size: 1.05rem; line-height: 1; }

/* The homepage begins bright; the house film stays visible without darkening the message. */
.hero-cinematic {
  min-height: calc(100svh - 112px);
  max-height: 760px;
  background: #edf5ff;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(248,252,255,.98) 0%, rgba(245,250,255,.94) 43%, rgba(242,248,255,.73) 70%, rgba(235,245,255,.84) 100%),
    linear-gradient(0deg, rgba(236,246,255,.86), transparent 52%);
}
.hero-video { opacity: .64; filter: saturate(.82) contrast(.93); }
.hero-cinematic .hero-grid {
  min-height: 0;
  padding: 48px 0 92px;
  gap: 64px;
}
.hero-cinematic .hero-copy { color: var(--ink); }
.hero-cinematic .hero-kicker { color: var(--blue-2); }
.hero-cinematic h1 {
  color: var(--navy);
  font-size: clamp(3.1rem, 5.6vw, 5.8rem);
  line-height: .96;
  text-shadow: 0 3px 24px rgba(255,255,255,.8);
}
.hero-line { color: var(--navy) !important; }
.hero-cinematic h1 .hero-accent { max-width: 760px; color: var(--red) !important; font-size: .58em; line-height: 1.08; }
.hero-cinematic .lead { color: #32435c; }
.hero-cinematic .hero-notes { color: #33445c; }
.hero-cinematic .btn-ghost { color: var(--navy); border-color: rgba(6,43,97,.28); background: rgba(255,255,255,.72); }
.hero-cinematic .btn-ghost:hover { background: white; }
.choice-panel {
  border-color: rgba(6,43,97,.14);
  background: rgba(255,255,255,.86);
  box-shadow: 0 28px 70px rgba(3,28,66,.16);
}
.choice-label { color: var(--blue-2); }
.choice-panel a { color: var(--navy); border-color: rgba(6,43,97,.1); background: rgba(239,246,255,.84); }
.choice-panel a:hover { background: rgba(218,233,255,.96); border-color: rgba(20,100,244,.5); }
.choice-panel a em { color: #526078; }
.signal-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transform: none;
  box-shadow: 0 -8px 28px rgba(130,8,31,.13);
}
.signal-track { padding: 12px 0; }

/* A clearer, lighter decision flow. */
.split-section { color: var(--ink); background: linear-gradient(135deg, #edf5ff, #f9fcff 58%, #eef5ff); }
.split-section h2, .split-section h3 { color: var(--navy); }
.split-section .eyebrow { color: var(--blue-2); }
.split-section .lead { color: var(--muted); }
.option-row { border-color: #ccdcf0; background: rgba(255,255,255,.78); }
.option-row:hover { background: white; }
.option-row strong { color: var(--blue-2); }
.option-row p { color: var(--muted); }
.page-hero { color: var(--ink); background: linear-gradient(135deg, #edf5ff, #f9fcff 60%, #e3efff); }
.page-hero h1 { color: var(--navy); }
.page-hero .lead { color: var(--muted); }
.faq-list { columns: 2; column-gap: 42px; max-width: none; }
.faq-list details { break-inside: avoid; }

html[data-theme="dark"] {
  --navy: #9fc2ff;
  --navy-2: #05182f;
  --blue: #6fa3ff;
  --blue-2: #91b8ff;
  --red: #ff4967;
  --red-2: #ff6a82;
  --sky: #0d2748;
  --ice: #081b33;
  --ink: #eff5ff;
  --muted: #b7c5d9;
  --white: #07172b;
  --line: #24405f;
  --shadow: 0 24px 70px rgba(0,0,0,.34);
}
html[data-theme="dark"] body { background: #07172b; }
html[data-theme="dark"] .site-header { background: rgba(6,22,42,.93); border-color: #213b59; }
html[data-theme="dark"] .nav-toggle,
html[data-theme="dark"] .theme-toggle { color: #f1f6ff; border-color: #2b4767; background: rgba(8,29,54,.95); }
html[data-theme="dark"] .main-nav a { color: #eef5ff; }
html[data-theme="dark"] .hero-cinematic { background: #031c42; }
html[data-theme="dark"] .hero-overlay { background: linear-gradient(90deg, rgba(2,16,40,.97) 0%, rgba(3,30,69,.88) 43%, rgba(3,24,53,.48) 72%, rgba(3,20,48,.74) 100%); }
html[data-theme="dark"] .hero-video { opacity: 1; filter: none; }
html[data-theme="dark"] .hero-cinematic .hero-copy,
html[data-theme="dark"] .hero-cinematic h1,
html[data-theme="dark"] .hero-line { color: white !important; }
html[data-theme="dark"] .hero-cinematic .hero-kicker { color: #a9c7ff; }
html[data-theme="dark"] .hero-cinematic .lead { color: #e5edf8; }
html[data-theme="dark"] .hero-cinematic .hero-notes { color: #d7e5f8; }
html[data-theme="dark"] .hero-cinematic .btn-ghost { color: white; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
html[data-theme="dark"] .choice-panel { border-color: rgba(255,255,255,.22); background: rgba(5,30,67,.66); box-shadow: 0 34px 80px rgba(0,0,0,.32); }
html[data-theme="dark"] .choice-label { color: #bcd1f2; }
html[data-theme="dark"] .choice-panel a { color: white; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.075); }
html[data-theme="dark"] .choice-panel a:hover { background: rgba(20,100,244,.3); }
html[data-theme="dark"] .choice-panel a em { color: #b9cbe3; }
html[data-theme="dark"] .path-card,
html[data-theme="dark"] .situation-card,
html[data-theme="dark"] .step,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .lead-form,
html[data-theme="dark"] .partner-panel,
html[data-theme="dark"] .contact-card { background: #0b213c; border-color: #274564; }
html[data-theme="dark"] .split-section,
html[data-theme="dark"] .page-hero { color: #eff5ff; background: linear-gradient(135deg, #071a32, #0c2748); }
html[data-theme="dark"] .split-section h2,
html[data-theme="dark"] .split-section h3,
html[data-theme="dark"] .page-hero h1 { color: #f2f7ff; }
html[data-theme="dark"] .option-row { border-color: #2b496a; background: rgba(15,42,74,.8); }
html[data-theme="dark"] .option-row:hover { background: #13365e; }
html[data-theme="dark"] .property-proof { background: #07172b; }
html[data-theme="dark"] .partners,
html[data-theme="dark"] .form-section { background: linear-gradient(135deg, #081b33, #0d2748); }
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea { color: #eff5ff; border-color: #355373; background: #07192e; }
html[data-theme="dark"] .callout { background: #2a1720; }

@media (max-width: 980px) {
  .hero-cinematic { max-height: none; }
  .hero-cinematic .hero-grid { padding-bottom: 100px; }
  .faq-list { columns: 1; }
  html[data-theme="dark"] .main-nav { background: #081d37; border-color: #294665; }
}

@media (max-width: 650px) {
  .hero-cinematic { min-height: auto; }
  .hero-cinematic .hero-grid { gap: 26px; padding: 40px 0 96px; }
  .hero-cinematic h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-cinematic h1 .hero-accent { font-size: .58em; }
  .choice-panel { padding: 11px; border-radius: 20px; }
  .choice-panel a { padding: 13px 14px; }
  .theme-toggle { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Cinematic Home Finders TX homepage */
.home .site-header { background: rgba(255,255,255,.88); box-shadow: 0 8px 32px rgba(2,19,45,.08); }
.hero-cinematic { min-height: 780px; padding: 0; display: grid; align-items: center; background: var(--navy-2); isolation: isolate; }
.hero-cinematic::before { display: none; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; animation: cinematicZoom 18s ease-in-out infinite alternate; }
.hero-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(2,16,40,.97) 0%, rgba(3,30,69,.88) 43%, rgba(3,24,53,.42) 72%, rgba(3,20,48,.68) 100%), linear-gradient(0deg, rgba(2,16,40,.7), transparent 45%); }
.hero-cinematic .hero-grid { grid-template-columns: 1.12fr .72fr; min-height: 690px; padding: 70px 0 92px; gap: 80px; }
.hero-cinematic .hero-copy { color: white; }
.hero-cinematic .hero-kicker { color: #a9c7ff; opacity: 0; animation: heroRise .7s .15s forwards; }
.hero-cinematic h1 { max-width: 840px; color: white; font-size: clamp(3.3rem, 6.3vw, 6.3rem); line-height: .92; text-shadow: 0 8px 34px rgba(0,0,0,.28); }
.hero-line { display: block; color: white !important; opacity: 0; transform: translateY(38px); animation: heroRise .82s cubic-bezier(.2,.78,.2,1) forwards; }
.hero-line:nth-child(1) { animation-delay: .25s; }
.hero-line:nth-child(2) { animation-delay: .38s; }
.hero-line:nth-child(3) { animation-delay: .52s; }
.hero-cinematic h1 .hero-accent { margin-top: 10px; color: #ff3154 !important; font-size: .63em; line-height: 1.05; letter-spacing: -.035em; }
.hero-cinematic .lead { max-width: 740px; color: #e5edf8; opacity: 0; animation: heroRise .75s .72s forwards; }
.hero-cinematic .hero-actions { opacity: 0; animation: heroRise .75s .88s forwards; }
.hero-cinematic .hero-notes { color: #d7e5f8; opacity: 0; animation: heroRise .75s 1s forwards; }
.hero-cinematic .btn-ghost { color: white; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.hero-cinematic .btn-ghost:hover { background: rgba(255,255,255,.16); }
.choice-panel { padding: 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 28px; background: rgba(5,30,67,.52); box-shadow: 0 34px 80px rgba(0,0,0,.3); backdrop-filter: blur(20px); opacity: 0; transform: translateX(35px); animation: panelIn .9s .72s cubic-bezier(.2,.78,.2,1) forwards; }
.choice-label { margin: 3px 8px 12px; color: #bcd1f2; font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.choice-panel a { position: relative; display: grid; grid-template-columns: 42px 1fr; column-gap: 12px; align-items: center; margin-top: 8px; padding: 17px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; color: white; background: rgba(255,255,255,.075); text-decoration: none; overflow: hidden; transition: transform .28s ease, background .28s ease, border-color .28s ease; }
.choice-panel a::before { content: ""; position: absolute; inset: 0; transform: translateX(-102%); background: linear-gradient(100deg, transparent, rgba(255,255,255,.14), transparent); transition: transform .55s ease; }
.choice-panel a:hover { transform: translateX(-7px); background: rgba(20,100,244,.3); border-color: rgba(137,180,255,.65); }
.choice-panel a:hover::before { transform: translateX(102%); }
.choice-panel a span { grid-row: 1 / 3; color: #ff4967; font-family: "Segoe UI", Arial, sans-serif; font-size: .82rem; font-weight: 900; }
.choice-panel a strong { position: relative; z-index: 1; font-family: "Segoe UI", Arial, sans-serif; font-size: 1.05rem; }
.choice-panel a em { position: relative; z-index: 1; color: #b9cbe3; font-size: .82rem; font-style: normal; }
.scroll-cue { position: absolute; left: 50%; bottom: 23px; display: flex; align-items: center; gap: 10px; color: #dbe7f7; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue span { display: block; width: 1px; height: 30px; background: linear-gradient(white, transparent); transform-origin: top; animation: pulseLine 1.7s ease-in-out infinite; }
.signal-strip { overflow: hidden; color: white; background: var(--red); transform: rotate(-.55deg) scale(1.02); transform-origin: center; }
.signal-track { display: flex; align-items: center; width: max-content; padding: 13px 0; animation: ticker 28s linear infinite; }
.signal-track span { padding: 0 28px; font-family: "Segoe UI", Arial, sans-serif; font-size: .84rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.signal-track i { opacity: .6; font-style: normal; }
.home .path-section { padding-top: 100px; }
.home .path-card { min-height: 290px; background: linear-gradient(145deg, white, #f7faff); }
.home .path-card.featured { background: linear-gradient(145deg, #0b4bb3, #062b61 70%); }
.home .path-num { border-radius: 50%; }
.conversion-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; margin-top: 34px; padding: 38px; border: 1px solid #cbdcf2; border-radius: 28px; background: linear-gradient(135deg, #f5f9ff, white); box-shadow: 0 18px 54px rgba(3,28,66,.09); }
.conversion-copy h2 { max-width: 580px; margin-bottom: 14px; }
.conversion-copy > p:not(.eyebrow) { color: var(--muted); }
.conversion-copy .conversion-promise { margin: 22px 0 0; padding-left: 18px; border-left: 4px solid var(--red); color: var(--navy); font-weight: 800; }
.decision-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.decision-list > div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 17px; border: 1px solid #d6e3f3; border-radius: 16px; background: rgba(255,255,255,.9); }
.decision-list span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: white; background: var(--blue); font-family: "Segoe UI", Arial, sans-serif; font-size: .76rem; font-weight: 900; }
.decision-list p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.48; }
.decision-list strong { display: block; margin-bottom: 2px; color: var(--navy); font-family: "Segoe UI", Arial, sans-serif; }
.property-proof { padding: 98px 0; overflow: hidden; background: #fff; }
.property-proof-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.property-photo-wrap { position: relative; }
.property-photo-wrap::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; z-index: -1; border-radius: 28px; background: var(--sky); }
.property-photo-wrap img { width: 100%; height: 460px; object-fit: cover; border-radius: 28px 6px 28px 6px; box-shadow: var(--shadow); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.property-photo-wrap:hover img { transform: scale(1.015) rotate(.2deg); }
.property-stamp { position: absolute; right: -20px; bottom: 28px; padding: 16px 22px; color: white; background: var(--red); border: 3px solid white; border-radius: 999px; box-shadow: 0 12px 30px rgba(83,4,20,.25); font-family: "Segoe UI", Arial, sans-serif; font-size: 1.05rem; font-weight: 900; transform: rotate(-5deg); animation: stampFloat 4s ease-in-out infinite; }
.property-proof-copy h2 { max-width: 590px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--blue); font-family: "Segoe UI", Arial, sans-serif; font-size: 1.08rem; font-weight: 900; text-decoration: none; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(6px); }
@keyframes heroRise { to { opacity: 1; transform: translateY(0); } }
@keyframes panelIn { to { opacity: 1; transform: translateX(0); } }
@keyframes cinematicZoom { from { transform: scale(1.01); } to { transform: scale(1.09); } }
@keyframes pulseLine { 0%,100% { transform: scaleY(.35); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes stampFloat { 0%,100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-8px); } }

@media (max-width: 980px) {
  .hero-cinematic { min-height: auto; }
  .hero-cinematic .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 70px 0 96px; }
  .choice-panel { max-width: 680px; }
  .property-proof-grid { grid-template-columns: 1fr; }
  .property-photo-wrap { max-width: 780px; }
}

@media (max-width: 650px) {
  .hero-cinematic .hero-grid { padding-top: 54px; }
  .hero-cinematic h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .hero-cinematic .hero-accent { font-size: .57em; }
  .choice-panel { padding: 10px; border-radius: 21px; }
  .choice-panel a { padding: 14px; }
  .scroll-cue { display: none; }
  .signal-strip { transform: none; }
  .property-proof { padding: 72px 0; }
  .property-proof-grid { gap: 46px; }
  .property-photo-wrap img { height: 320px; }
  .property-stamp { right: 8px; bottom: -18px; }
}

/* Final light-first homepage layer (kept after the cinematic motion rules). */
.hero-cinematic {
  min-height: calc(100svh - 112px);
  max-height: 760px;
  background: #edf5ff;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(248,252,255,.98) 0%, rgba(245,250,255,.94) 43%, rgba(242,248,255,.73) 70%, rgba(235,245,255,.84) 100%),
    linear-gradient(0deg, rgba(236,246,255,.86), transparent 52%);
}
.hero-video { opacity: .64; filter: saturate(.82) contrast(.93); }
.hero-cinematic .hero-grid { min-height: 0; padding: 48px 0 92px; gap: 64px; }
.hero-cinematic .hero-copy { color: var(--ink); }
.hero-cinematic .hero-kicker { color: var(--blue-2); }
.hero-cinematic h1 { color: var(--navy); font-size: clamp(3.1rem, 5.6vw, 5.8rem); line-height: .96; text-shadow: 0 3px 24px rgba(255,255,255,.8); }
.hero-line { color: var(--navy) !important; }
.hero-cinematic h1 .hero-accent { max-width: 760px; color: var(--red) !important; font-size: .58em; line-height: 1.08; }
.hero-cinematic .lead { color: #32435c; }
.hero-cinematic .hero-notes { color: #33445c; }
.hero-cinematic .btn-ghost { color: var(--navy); border-color: rgba(6,43,97,.28); background: rgba(255,255,255,.72); }
.hero-cinematic .btn-ghost:hover { background: white; }
.choice-panel { border-color: rgba(6,43,97,.14); background: rgba(255,255,255,.86); box-shadow: 0 28px 70px rgba(3,28,66,.16); }
.choice-label { color: var(--blue-2); }
.choice-panel a { color: var(--navy); border-color: rgba(6,43,97,.1); background: rgba(239,246,255,.84); }
.choice-panel a:hover { background: rgba(218,233,255,.96); border-color: rgba(20,100,244,.5); }
.choice-panel a em { color: #526078; }
.signal-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; transform: none; box-shadow: 0 -8px 28px rgba(130,8,31,.13); }
.signal-track { padding: 12px 0; }

html[data-theme="dark"] .home .site-header { background: rgba(6,22,42,.93); border-color: #213b59; }
html[data-theme="dark"] .hero-cinematic { background: #031c42; }
html[data-theme="dark"] .hero-overlay { background: linear-gradient(90deg, rgba(2,16,40,.97) 0%, rgba(3,30,69,.88) 43%, rgba(3,24,53,.48) 72%, rgba(3,20,48,.74) 100%); }
html[data-theme="dark"] .hero-video { opacity: 1; filter: none; }
html[data-theme="dark"] .hero-cinematic .hero-copy,
html[data-theme="dark"] .hero-cinematic h1,
html[data-theme="dark"] .hero-line { color: white !important; }
html[data-theme="dark"] .hero-cinematic .hero-kicker { color: #a9c7ff; }
html[data-theme="dark"] .hero-cinematic .lead { color: #e5edf8; }
html[data-theme="dark"] .hero-cinematic .hero-notes { color: #d7e5f8; }
html[data-theme="dark"] .hero-cinematic .btn-ghost { color: white; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
html[data-theme="dark"] .choice-panel { border-color: rgba(255,255,255,.22); background: rgba(5,30,67,.66); box-shadow: 0 34px 80px rgba(0,0,0,.32); }
html[data-theme="dark"] .choice-label { color: #bcd1f2; }
html[data-theme="dark"] .choice-panel a { color: white; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.075); }
html[data-theme="dark"] .choice-panel a:hover { background: rgba(20,100,244,.3); }
html[data-theme="dark"] .choice-panel a em { color: #b9cbe3; }
html[data-theme="dark"] .conversion-panel { border-color: #284766; background: linear-gradient(135deg, #0a203b, #0d294a); }
html[data-theme="dark"] .decision-list > div { border-color: #2a4969; background: rgba(7,25,46,.78); }

@media (max-width: 980px) {
  .hero-cinematic { min-height: auto; max-height: none; }
  .hero-cinematic .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 58px 0 98px; }
  .conversion-panel { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 650px) {
  .hero-cinematic .hero-grid { gap: 26px; padding: 40px 0 96px; }
  .hero-cinematic h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-cinematic h1 .hero-accent { font-size: .58em; }
  .choice-panel { padding: 11px; border-radius: 20px; }
  .choice-panel a { padding: 13px 14px; }
  .conversion-panel { padding: 25px 20px; }
  .decision-list { grid-template-columns: 1fr; }
}

/* The film contains its own slow, seamless motion. Keep CSS from adding a competing zoom. */
.hero-video { opacity: .78; animation: none; transform: scale(1.02); }
html[data-theme="dark"] .hero-video { opacity: .88; animation: none; transform: scale(1.02); }

/* Keep the home visible in light mode instead of bleaching the film with white. */
.home .route-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(3,20,48,.68) 0%, rgba(4,31,68,.52) 43%, rgba(3,24,53,.30) 72%, rgba(3,20,48,.48) 100%),
    linear-gradient(0deg, rgba(2,16,40,.42), transparent 52%);
}
.home .route-hero .hero-video { opacity: .96; filter: saturate(.94) contrast(1.04) brightness(.78); }
.home .route-intro h1,
.home .route-intro .hero-line { color: white !important; text-shadow: 0 5px 26px rgba(0,0,0,.38); }
.home .route-intro .hero-kicker { color: #c5dbff; }
.home .route-intro .lead { color: #f0f5fc; text-shadow: 0 2px 15px rgba(0,0,0,.35); }

/* Buyer/seller routing homepage */
.minor-nav { color: var(--muted) !important; font-size: .82rem !important; font-weight: 650 !important; }
.route-hero { min-height: calc(100svh - 112px); max-height: 760px; }
.route-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 58px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 94px; }
.route-intro h1 { margin-bottom: 22px; font-size: clamp(3.55rem, 6vw, 6.4rem); line-height: .92; }
.route-intro .lead { max-width: 580px; color: #32435c; }
.role-choice { display: grid; gap: 16px; }
.role-card { position: relative; display: grid; grid-template-columns: 52px 1fr 34px; align-items: center; gap: 17px; min-height: 174px; padding: 28px; border: 1px solid rgba(6,43,97,.15); border-radius: 25px; color: var(--navy); background: rgba(255,255,255,.94); box-shadow: 0 22px 56px rgba(3,28,66,.14); text-decoration: none; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.role-card:hover { transform: translateY(-6px); border-color: rgba(20,100,244,.5); box-shadow: 0 30px 66px rgba(3,28,66,.19); }
.role-card small { display: block; margin-bottom: 4px; color: var(--blue-2); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.role-card strong { display: block; font-family: "Segoe UI", Arial, sans-serif; font-size: clamp(1.55rem, 2.4vw, 2.2rem); line-height: 1.08; }
.role-card p { margin: 8px 0 0; color: var(--muted); }
.role-card b { color: var(--red); font-size: 2rem; transition: transform .25s ease; }
.role-card:hover b { transform: translateX(6px); }
.role-number { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: white; background: var(--navy); font-family: "Segoe UI", Arial, sans-serif; font-weight: 900; }
.seller-card { border-color: rgba(200,16,46,.23); }
.seller-card .role-number { background: var(--red); }
.market-section { padding: 96px 0; background: white; }
.market-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 70px; align-items: center; }
.market-grid > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.market-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.market-facts article { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--ice); }
.market-facts article > span { color: var(--red); font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.market-facts p { color: var(--muted); }
.market-facts a { color: var(--blue-2); font-weight: 850; text-decoration: none; }
.clarity-section { padding: 88px 0; background: linear-gradient(135deg, #edf5ff, #f9fcff); }
.clarity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.clarity-grid article { padding: 25px; border: 1px solid #d5e2f2; border-radius: 18px; background: rgba(255,255,255,.82); }
.clarity-grid b { color: var(--red); font-family: "Segoe UI", Arial, sans-serif; font-size: 1.6rem; }
.clarity-grid p { margin-bottom: 0; color: var(--muted); }
.route-cta { padding: 66px 0; color: white; background: linear-gradient(130deg, var(--navy-2), #0a4aa1); }
.route-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.route-cta h2 { margin-bottom: 0; color: white; }
.route-cta .eyebrow { color: #a9c7ff; }
.route-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Load one hero image immediately, then prepare the remaining crossfade frames after load. */
.hero-carousel { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: #172235 url("assets/hero-aerial-branded.webp") center/cover no-repeat; contain: paint; }
.hero-carousel span { position: absolute; inset: 0; opacity: 0; background-position: center; background-size: cover; background-repeat: no-repeat; backface-visibility: hidden; }
.hero-carousel.is-ready span { animation: heroCrossfade 72s linear infinite; }
.hero-carousel span:nth-child(1) { background-image: url("assets/hero-aerial-branded.webp"); }
.hero-carousel span:nth-child(2) { animation-delay: 12s; }
.hero-carousel span:nth-child(3) { animation-delay: 24s; }
.hero-carousel span:nth-child(4) { animation-delay: 36s; }
.hero-carousel span:nth-child(5) { animation-delay: 48s; }
.hero-carousel span:nth-child(6) { animation-delay: 60s; }
@keyframes heroCrossfade { 0% { opacity: 0; } 3% { opacity: 1; } 15.5% { opacity: 1; } 20% { opacity: 0; } 100% { opacity: 0; } }

/* Skip layout and paint work for homepage sections until they approach the viewport. */
.home main > section:not(.route-hero) { content-visibility: auto; contain-intrinsic-size: auto 720px; }

/* Lightweight rollovers: transforms and color only, with no additional image work. */
.market-facts article,
.clarity-grid article,
.step,
.situation-card,
.info-card,
.contact-card,
.funnel-card,
.fit-list,
.buyer-types article { transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease; }

@media (hover: hover) {
  .market-facts article:hover,
  .clarity-grid article:hover,
  .step:hover,
  .situation-card:hover,
  .info-card:hover,
  .contact-card:hover,
  .funnel-card:hover,
  .fit-list:hover,
  .buyer-types article:hover { transform: translateY(-5px); border-color: rgba(20,100,244,.42); box-shadow: 0 18px 38px rgba(3,28,66,.11); }
  .faq-list details:hover { border-color: rgba(20,100,244,.45); }
  .faq-list summary:hover { color: var(--blue-2); padding-left: 6px; }
  .site-footer a:hover { transform: translateX(3px); }
}

.site-footer a { transition: color .2s ease, transform .2s ease; }

.form-reassurance { margin: 4px 0 14px; color: var(--navy); font-size: .82rem; font-weight: 800; letter-spacing: .01em; }
.mobile-action-bar { display: none; }

/* Keep the choice compact and low-left so the property and yard sign stay visible. */
.route-hero-inner { grid-template-columns: 1fr; align-content: center; gap: 24px; }
.route-intro { max-width: 720px; }
.role-choice { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 680px); justify-self: start; gap: 12px; }
.role-card { grid-template-columns: 38px 1fr 20px; gap: 11px; min-height: 88px; padding: 12px 14px; border-radius: 17px; }
.role-number { width: 36px; height: 36px; font-size: .8rem; }
.role-card small { margin-bottom: 2px; font-size: .67rem; }
.role-card strong { font-size: clamp(1.08rem, 1.55vw, 1.35rem); }
.role-card p { display: none; }
.role-card b { font-size: 1.35rem; }

/* Dedicated campaign pages */
.funnel-hero { position: relative; padding: 84px 0 72px; overflow: hidden; background: linear-gradient(105deg, rgba(246,251,255,.98), rgba(231,242,255,.9)), url("assets/hero-townhomes-branded.webp") center/cover; }
.funnel-hero-grid { display: grid; grid-template-columns: 1.05fr .72fr; gap: 64px; align-items: center; }
.funnel-hero h1 { max-width: 780px; font-size: clamp(3.15rem, 5.6vw, 5.7rem); line-height: .96; }
.funnel-hero .lead { max-width: 760px; }
.funnel-card { padding: 28px; border: 1px solid #c9dbef; border-radius: 24px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.funnel-card ul { margin: 16px 0; padding-left: 22px; }
.funnel-card li { margin: 10px 0; color: var(--muted); }
.funnel-card > a { color: var(--blue-2); font-weight: 850; text-decoration: none; }
.funnel-card .card-note { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.benefit-strip { color: white; background: var(--red); }
.benefit-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.benefit-strip span { padding: 14px 18px; border-right: 1px solid rgba(255,255,255,.24); text-align: center; font-family: "Segoe UI", Arial, sans-serif; font-size: .82rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.funnel-section { padding: 86px 0; }
.funnel-section.alt { background: var(--ice); }
.funnel-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 66px; align-items: start; }
.funnel-grid > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.fit-list { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 16px 45px rgba(3,28,66,.08); }
.fit-list ul { margin-bottom: 0; padding-left: 22px; }
.fit-list li { margin: 11px 0; color: var(--muted); }
.buyer-types { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 16px; }
.buyer-types article { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.buyer-types p { color: var(--muted); }
.buyer-types a { color: var(--blue-2); font-weight: 800; text-decoration: none; }
.buyer-types .investor-muted { background: var(--ice); opacity: .86; }
.situation-paths { grid-template-columns: repeat(3, 1fr); }
.situation-paths .path-card { min-height: 245px; }
.situation-paths .path-card h2 { margin: 18px 0 10px; font-size: 1.45rem; }

html[data-theme="dark"] .route-intro .lead { color: #d7e5f8; }
html[data-theme="dark"] .role-card,
html[data-theme="dark"] .market-facts article,
html[data-theme="dark"] .clarity-grid article,
html[data-theme="dark"] .funnel-card,
html[data-theme="dark"] .fit-list,
html[data-theme="dark"] .buyer-types article { border-color: #294867; background: rgba(9,31,56,.92); }
html[data-theme="dark"] .market-section { background: #07172b; }
html[data-theme="dark"] .clarity-section { background: linear-gradient(135deg, #081b33, #0d2748); }
html[data-theme="dark"] .funnel-hero { background: linear-gradient(105deg, rgba(5,23,43,.97), rgba(8,35,65,.9)), url("assets/hero-townhomes-branded.webp") center/cover; }
html[data-theme="dark"] .buyer-types .investor-muted { background: #0a203a; }

@media (max-width: 980px) {
  .route-hero { max-height: none; }
  .route-hero-inner, .market-grid, .funnel-hero-grid, .funnel-grid { grid-template-columns: 1fr; }
  .situation-paths { grid-template-columns: 1fr 1fr; }
  .route-hero-inner { gap: 22px; padding: 48px 0 96px; }
  .role-choice { grid-template-columns: 1fr 1fr; }
  .role-choice { width: min(100%, 680px); max-width: none; justify-self: start; }
  .role-card { grid-template-columns: 36px 1fr; min-height: 84px; align-items: center; }
  .role-card b { display: none; }
  .clarity-grid { grid-template-columns: 1fr 1fr; }
  .buyer-types { grid-template-columns: 1fr 1fr; }
  .buyer-types .investor-muted { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .route-hero-inner { width: min(100% - 28px, 1180px); padding-top: 34px; }
  .hero-carousel, .hero-carousel span { background-position: 75% center; }
  .route-intro h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .situation-paths { grid-template-columns: 1fr; }
  .role-choice, .market-facts, .clarity-grid, .buyer-types { grid-template-columns: 1fr; }
  .role-card { min-height: 70px; padding: 10px 12px; }
  .role-card strong { font-size: 1.18rem; }
  .buyer-types .investor-muted { grid-column: auto; }
  .route-cta .container { display: block; }
  .route-cta-actions { margin-top: 24px; }
  .route-cta-actions .btn { width: 100%; }
  .funnel-hero { padding: 58px 0 52px; }
  .funnel-hero h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .benefit-strip .container { display: flex; overflow-x: auto; }
  .benefit-strip span { min-width: 190px; }
  body { padding-bottom: 66px; }
  .theme-toggle { bottom: 78px; }
  .mobile-action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(6,43,97,.18); background: rgba(255,255,255,.96); box-shadow: 0 -10px 30px rgba(3,28,66,.14); backdrop-filter: blur(10px); }
  .mobile-action-bar a { display: grid; min-height: 44px; place-items: center; border-radius: 11px; font-weight: 900; text-align: center; text-decoration: none; }
  .mobile-call { color: var(--navy); border: 1px solid #b9cbe0; background: white; }
  .mobile-lead { color: white; background: var(--red); }
}

html[data-theme="dark"] .form-reassurance { color: #dce9fa; }
html[data-theme="dark"] .mobile-action-bar { border-color: #294867; background: rgba(7,23,43,.96); }
html[data-theme="dark"] .mobile-call { color: white; border-color: #3a5878; background: #0b2747; }

@media (prefers-reduced-motion: reduce) {
  .hero-carousel span { display: none; animation: none; }
}
