/* ── Variables ──────────────────────────────────────────────────────────── */
:root {
  --navy:    #0f1e3c;
  --navy2:   #162d56;
  --navy3:   #1e3a5f;
  --amber:   #d4732a;
  --amber2:  #b45309;
  --bg:      #ffffff;
  --bg-soft: #f4f6f9;
  --bg-mid:  #eef0f4;
  --border:  #e2e5ea;
  --muted:   #6b7280;
  --text:    #111827;
  --green:   #16a34a;
  --radius:  10px;
  --shadow:  0 2px 8px rgba(0,0,0,.07), 0 8px 28px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 16px rgba(0,0,0,.1), 0 16px 48px rgba(0,0,0,.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1160px;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
h4 { font-size: 1rem; font-weight: 600; line-height: 1.4; }
p { color: var(--muted); line-height: 1.75; }
.lead { font-size: 1.125rem; line-height: 1.7; }
.label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px; font-size: .9375rem; font-weight: 600;
  border-radius: 8px; border: 2px solid transparent;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .12s;
  white-space: nowrap; cursor: pointer; text-decoration: none;
  line-height: 1;
}
.btn:active { transform: scale(.98); }
.btn-amber {
  background: var(--amber); color: #fff; border-color: var(--amber);
}
.btn-amber:hover { background: var(--amber2); border-color: var(--amber2); }
.btn-navy {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy2); border-color: var(--navy2); }
.btn-outline {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: 9px; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* ── Navigation ─────────────────────────────────────────────────────────── */
#site-nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
#site-nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 800; color: var(--navy);
  flex-shrink: 0; text-decoration: none;
}
.nav-logo-mark {
  width: 34px; height: 34px; border-radius: 7px;
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-links a {
  padding: 7px 14px; font-size: .9rem; font-weight: 500;
  color: var(--muted); border-radius: 6px;
  transition: color .15s, background .15s;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--bg-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-signin {
  padding: 8px 18px; font-size: .875rem; font-weight: 600;
  color: var(--navy); background: none; border: 1.5px solid var(--border);
  border-radius: 7px; cursor: pointer; text-decoration: none;
  transition: border-color .15s, background .15s;
}
.nav-signin:hover { border-color: var(--navy); background: var(--bg-soft); }
.nav-cta {
  padding: 8px 18px; font-size: .875rem; font-weight: 600;
  color: #fff; background: var(--amber); border: 1.5px solid var(--amber);
  border-radius: 7px; cursor: pointer; text-decoration: none;
  transition: background .15s;
}
.nav-cta:hover { background: var(--amber2); border-color: var(--amber2); }
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; background: none; border: none;
  cursor: pointer; padding: 6px; border-radius: 6px;
  transition: background .15s;
}
.nav-hamburger:hover { background: var(--bg-soft); }
.nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-mobile {
  display: none; flex-direction: column;
  background: #fff; border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 0; font-size: .95rem; font-weight: 500;
  color: var(--navy); border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile-actions {
  display: flex; flex-direction: column; gap: 10px; margin-top: 16px;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
#site-footer {
  background: var(--navy); color: #fff;
  padding: 64px 0 32px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .nav-logo { color: #fff; }
.footer-brand .nav-logo-mark { background: rgba(255,255,255,.1); }
.footer-tagline {
  margin-top: 14px; font-size: .875rem;
  color: rgba(255,255,255,.55); line-height: 1.65;
}
.footer-col h5 {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .875rem; color: rgba(255,255,255,.7);
  text-decoration: none; transition: color .15s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p {
  font-size: .8rem; color: rgba(255,255,255,.4);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(160deg, #fff 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,115,42,.1); color: var(--amber2);
  padding: 5px 14px; border-radius: 100px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 { color: var(--navy); margin-bottom: 20px; }
.hero-sub { font-size: 1.125rem; line-height: 1.7; color: var(--muted); margin-bottom: 36px; max-width: 540px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { font-size: .8rem; color: var(--muted); margin-top: 16px; }

/* Hero illustration */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-illustration {
  width: 100%; max-width: 480px; height: auto;
  filter: drop-shadow(0 16px 40px rgba(15,30,60,.12));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── Trust bar ──────────────────────────────────────────────────────────── */
.trust-bar {
  padding: 32px 0; background: var(--bg-soft);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-label {
  font-size: .8rem; font-weight: 600; color: var(--muted);
  letter-spacing: .04em; text-transform: uppercase;
  flex-shrink: 0;
}
.trust-items {
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .875rem; font-weight: 500; color: var(--navy);
  opacity: .7;
}
.trust-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
  opacity: .15;
}

/* ── Section headers ────────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label { color: var(--amber); margin-bottom: 12px; display: block; }
.section-header h2 { color: var(--navy); margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ── Problem/Solution ───────────────────────────────────────────────────── */
.problem-solution { background: var(--bg); }
.ps-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.ps-card {
  border-radius: 16px; padding: 40px;
}
.ps-card-old {
  background: #fef2f2; border: 1px solid #fecaca;
}
.ps-card-new {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  color: #fff;
}
.ps-card-old h3 { color: #dc2626; margin-bottom: 20px; }
.ps-card-new h3 { color: #fff; margin-bottom: 20px; }
.ps-list { display: flex; flex-direction: column; gap: 12px; }
.ps-item {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .9375rem;
}
.ps-card-old .ps-item { color: #991b1b; }
.ps-card-new .ps-item { color: rgba(255,255,255,.85); }
.ps-icon { flex-shrink: 0; margin-top: 2px; }

/* ── Feature cards ──────────────────────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 32px 28px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow); transform: translateY(-2px);
  border-color: #c7cdd8;
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(15,30,60,.06);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--navy);
}
.feature-card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p { font-size: .9rem; }

/* ── How it works ───────────────────────────────────────────────────────── */
.hiw-section { background: var(--bg-soft); }
.hiw-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; position: relative;
}
.hiw-steps::before {
  content: ''; position: absolute;
  top: 36px; left: calc(16.6% + 18px); right: calc(16.6% + 18px);
  height: 2px; background: var(--border);
  z-index: 0;
}
.hiw-step { text-align: center; position: relative; z-index: 1; }
.hiw-number {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--bg-soft), 0 0 0 9px var(--border);
}
.hiw-step h3 { color: var(--navy); margin-bottom: 10px; }
.hiw-step p { font-size: .9375rem; }

/* ── Pricing cards ──────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: start;
}
.pricing-grid.four-col { grid-template-columns: repeat(4, 1fr); }
.plan-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 16px; padding: 32px 28px;
  display: flex; flex-direction: column; position: relative;
}
.plan-card.popular {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), var(--shadow);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  padding: 3px 14px; border-radius: 100px; white-space: nowrap;
  text-transform: uppercase;
}
.plan-name {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.plan-price-wrap {
  display: flex; align-items: baseline; gap: 3px;
  margin-bottom: 4px;
}
.plan-price-dollar { font-size: 1.1rem; font-weight: 700; color: var(--navy); align-self: flex-start; margin-top: 8px; }
.plan-price-main { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.plan-price-suffix { font-size: .875rem; color: var(--muted); }
.plan-price-period { font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.plan-annual-note { font-size: .8rem; color: var(--muted); min-height: 20px; margin-bottom: 6px; }
.plan-save { display: inline-block; background: #fef3c7; color: #b45309; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; margin-bottom: 8px; }
.plan-tagline { font-size: .875rem; color: var(--muted); margin-bottom: 20px; line-height: 1.5; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.plan-features-list { flex: 1; margin-bottom: 24px; }
.plan-features-list li {
  font-size: .875rem; color: var(--text); padding: 5px 0;
  display: flex; gap: 10px; align-items: flex-start;
}
.plan-check { color: var(--green); flex-shrink: 0; margin-top: 1px; }
.plan-features-list .feat-head {
  font-size: .75rem; font-weight: 700; color: var(--muted);
  letter-spacing: .06em; text-transform: uppercase;
  margin-top: 12px; margin-bottom: 4px;
}

/* ── Feature comparison table ───────────────────────────────────────────── */
.compare-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--border); }
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: .875rem;
}
.compare-table th {
  background: var(--navy); color: #fff;
  padding: 16px 20px; text-align: left;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.compare-table th:first-child { border-radius: 12px 0 0 0; }
.compare-table th:last-child { border-radius: 0 12px 0 0; }
.compare-table td { padding: 13px 20px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--bg-soft); }
.compare-table .cat-row td { background: #f0f2f5; font-weight: 700; font-size: .8rem; color: var(--navy); letter-spacing: .04em; text-transform: uppercase; padding: 10px 20px; }
.check-yes { color: var(--green); }
.check-no { color: #d1d5db; }
.check-partial { color: var(--amber); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border); overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%; background: none; border: none;
  padding: 20px 0; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  font-size: .9875rem; font-weight: 600; color: var(--navy);
  cursor: pointer; text-align: left;
}
.faq-question:hover { color: var(--amber2); }
.faq-chevron {
  flex-shrink: 0; width: 20px; height: 20px; color: var(--muted);
  transition: transform .25s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 0 20px;
  font-size: .9375rem; color: var(--muted); line-height: 1.75;
}
.faq-answer-inner a { color: var(--navy); text-decoration: underline; }

/* ── Testimonials ───────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 14px; padding: 28px;
}
.testimonial-quote {
  font-size: .9375rem; color: var(--text); line-height: 1.7;
  margin-bottom: 20px; font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-soft); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .875rem; color: var(--navy);
}
.testimonial-name { font-size: .875rem; font-weight: 600; color: var(--navy); }
.testimonial-title { font-size: .8rem; color: var(--muted); }

/* ── Dark section (realtor callout, final CTA) ──────────────────────────── */
.section-dark {
  background: var(--navy);
  color: #fff;
}
.section-dark h2 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.7); }
.section-dark .label { color: var(--amber); }
.dark-feature-list {
  display: flex; flex-direction: column; gap: 12px; margin: 24px 0;
}
.dark-feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .9375rem; color: rgba(255,255,255,.85);
}
.dark-check { color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.dark-callout-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

/* ── CTA section ────────────────────────────────────────────────────────── */
.cta-section { text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.7); margin-bottom: 36px; font-size: 1.05rem; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-note { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 16px; }

/* ── Pricing toggle ─────────────────────────────────────────────────────── */
.billing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 0; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 100px; padding: 4px; width: fit-content;
  margin: 0 auto 48px;
}
.toggle-btn {
  padding: 9px 24px; font-size: .875rem; font-weight: 600;
  border: none; background: none; cursor: pointer;
  border-radius: 100px; color: var(--muted);
  transition: background .18s, color .18s;
  display: flex; align-items: center; gap: 8px;
}
.toggle-btn.active { background: var(--navy); color: #fff; }
.save-badge {
  font-size: .65rem; font-weight: 700; padding: 2px 7px;
  background: #fef3c7; color: #b45309; border-radius: 100px;
  line-height: 1.4;
}
.toggle-btn.active .save-badge { background: rgba(212,115,42,.3); color: #fde68a; }

/* annual price visibility */
.price-monthly { display: flex; }
.price-annual  { display: none; }
.annual-active .price-monthly { display: none; }
.annual-active .price-annual  { display: flex; }
.annual-active .annual-note { display: block; }
.annual-note { display: none; color: var(--muted); font-size: .78rem; }

/* ── Blog ───────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card-img {
  height: 160px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  display: flex; align-items: center; justify-content: center;
}
.blog-card-body { padding: 24px; }
.blog-tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--amber2); margin-bottom: 10px;
}
.blog-card-body h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.blog-card-body p { font-size: .875rem; }
.blog-meta { font-size: .78rem; color: var(--muted); margin-top: 16px; }

/* ── Legal pages ────────────────────────────────────────────────────────── */
.legal-wrap { max-width: 800px; margin: 0 auto; padding: 64px 24px 96px; }
.legal-hero { margin-bottom: 40px; }
.legal-hero h1 { color: var(--navy); margin-bottom: 6px; }
.legal-meta { font-size: .875rem; color: var(--muted); }
.legal-toc {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px 28px; margin-bottom: 36px;
}
.legal-toc h4 { color: var(--navy); margin-bottom: 14px; }
.legal-toc ol { padding-left: 20px; line-height: 2; font-size: .875rem; }
.legal-toc ol a { color: var(--navy); }
.legal-toc ol a:hover { color: var(--amber2); }
.legal-body {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 14px; padding: 40px;
  color: var(--text); line-height: 1.8; font-size: .9375rem;
}
.legal-body h2 { font-size: 1.1rem; color: var(--navy); margin: 0 0 12px; }
.legal-body p { color: var(--text); margin-bottom: 14px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin-bottom: 14px; line-height: 1.9; }
.legal-body a { color: var(--navy); text-decoration: underline; }
.legal-body hr { border: none; border-top: 1px solid var(--border); margin: 28px 0; }
.legal-contact-box {
  background: var(--bg-soft); border-radius: 10px;
  padding: 18px 20px; margin-top: 8px;
  font-size: .9rem; line-height: 1.8;
}

/* ── 404 page ───────────────────────────────────────────────────────────── */
.not-found {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px;
}
.not-found-inner { max-width: 520px; }
.not-found-code {
  font-size: clamp(6rem, 18vw, 10rem); font-weight: 900;
  color: var(--navy); line-height: 1; letter-spacing: -.04em;
  opacity: .12; margin-bottom: -24px; display: block;
}
.not-found h1 { color: var(--navy); margin-bottom: 14px; }
.not-found p { font-size: 1.05rem; margin-bottom: 36px; }
.not-found-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Features page specifics ────────────────────────────────────────────── */
.features-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding: 64px 0; border-bottom: 1px solid var(--border);
}
.features-detail:last-child { border-bottom: none; }
.features-detail.reverse .detail-visual { order: -1; }
.detail-visual {
  background: linear-gradient(135deg, var(--bg-soft) 0%, #e8ecf2 100%);
  border-radius: 16px; padding: 48px; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border);
}
.detail-content .label { color: var(--amber); margin-bottom: 12px; display: block; }
.detail-content h2 { color: var(--navy); margin-bottom: 14px; }
.detail-content p { margin-bottom: 20px; }
.detail-list { display: flex; flex-direction: column; gap: 10px; }
.detail-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9375rem; color: var(--text);
}
.detail-list .check { color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* ── Realtor/Agency hero variant ────────────────────────────────────────── */
.landing-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 60%, #1a3a5f 100%);
  padding: 100px 0 80px; color: #fff;
}
.landing-hero h1 { color: #fff; }
.landing-hero .hero-sub { color: rgba(255,255,255,.75); max-width: 560px; }
.landing-hero .hero-eyebrow {
  background: rgba(212,115,42,.2); color: #fbbe7a;
}

/* ── Stat bar ────────────────────────────────────────────────────────────── */
.stat-bar {
  background: var(--bg-soft); padding: 40px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat-number {
  font-size: 2.2rem; font-weight: 800; color: var(--navy);
  letter-spacing: -.02em; line-height: 1;
}
.stat-label { font-size: .875rem; color: var(--muted); margin-top: 4px; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .pricing-grid.four-col { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  h2 { font-size: clamp(1.35rem, 4vw, 1.75rem); }
  .section { padding: 64px 0; }
  .section-lg { padding: 80px 0; }

  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 72px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-note { text-align: center; }
  .hero-visual { order: -1; }
  .hero-illustration { max-width: 320px; }

  .trust-bar-inner { flex-direction: column; gap: 16px; }
  .trust-items { justify-content: center; }

  .ps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-steps { grid-template-columns: 1fr; gap: 32px; }
  .hiw-steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid.four-col { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .dark-callout-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-detail { grid-template-columns: 1fr; gap: 36px; }
  .features-detail.reverse .detail-visual { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .blog-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  h1 { font-size: 1.75rem; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 280px; }
  .legal-body { padding: 24px 20px; }
  .plan-card { padding: 24px 20px; }
}
.logo-segal { color: #0f1e3c !important; font-weight: 600 !important; font-size: 18px !important; }
.nav-logo .logo-sign, .footer-brand .logo-sign { color: #d4732a !important; font-weight: 600 !important; font-size: 18px !important; }

/* ===================================================================
   MOBILE NAV FIXES  (scoped to <=768px only; desktop is untouched)
   =================================================================== */
@media (max-width: 768px) {
  /* Push the hamburger / X to the right edge of the header row instead of
     leaving it floating next to the logo. */
  .nav-hamburger { margin-left: auto; }

  /* 20px left padding on the nav link items (not the CTA buttons). */
  .nav-mobile > a { padding-left: 20px; }

  /* Tighten the dead gap between the links and the buttons, and add a
     subtle divider between the two sections. */
  .nav-mobile-actions {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
  }

  /* Hide the grey horizontal-overflow scroll handle on the page edge. */
  html, body { overflow-x: hidden; }
}
