body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f4f6f8;
  color: #111827;
  margin: 0;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 20;
}

.page-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-size: 21px;
  letter-spacing: 0;
}

.brand span {
  color: #64748b;
  font-size: 13px;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #475569;
  font-size: 14px;
}

.nav-links a {
  color: #334155;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  color: #2563eb;
}

.nav-cta {
  background: #1f3a5f;
  color: white;
  border: 0;
  border-radius: 6px;
  padding: 11px 16px;
  font-weight: 700;
}

.hero {
  min-height: 520px;
  /* Demo home image from Unsplash, stored locally for reliable visual QA. */
  background:
    linear-gradient(90deg, rgba(9, 20, 35, 0.86) 0%, rgba(9, 20, 35, 0.64) 48%, rgba(9, 20, 35, 0.1) 100%),
    url("./assets/demo-hero-home-unsplash.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
}

.hero-content {
  width: min(700px, 100%);
  padding: 72px 0;
}

.hero-kicker {
  color: #93c5fd;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.02;
  margin: 0;
  letter-spacing: 0;
}

.hero p {
  margin: 20px 0 0;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.6;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-btn,
.secondary-btn {
  border-radius: 6px;
  padding: 13px 18px;
  font-weight: 800;
  border: 1px solid transparent;
}

.primary-btn {
  background: #2563eb;
  color: white;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.48);
}

.stats-band {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e5e7eb;
}

.stat {
  background: white;
  padding: 24px;
}

.stat strong {
  display: block;
  color: #1f3a5f;
  font-size: 28px;
}

.stat span {
  color: #64748b;
  font-size: 14px;
}

.section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 32px;
  margin: 0;
  letter-spacing: 0;
}

.section-head p {
  margin: 8px 0 0;
  color: #64748b;
  max-width: 620px;
  line-height: 1.55;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.property-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.property-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.property-body {
  padding: 16px;
}

.property-body strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.property-body p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.property-meta {
  display: flex;
  gap: 12px;
  color: #475569;
  font-size: 13px;
}

.valuation-band {
  background: #1f3a5f;
  color: white;
  padding: 54px 0;
}

.valuation-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.valuation-inner h2 {
  font-size: 32px;
  margin: 0 0 10px;
}

.valuation-inner p {
  color: #dbeafe;
  margin: 0;
  line-height: 1.55;
  max-width: 650px;
}

.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 28px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner span:first-child {
  color: #ffffff;
  font-weight: 700;
}

.footer-inner span:last-child {
  color: #94a3b8;
}

.footer-inner a {
  color: #bfdbfe;
  font-weight: 700;
}
@media (max-width: 640px) {
  body {
    padding: 0;
  }

  .page-wrap {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .brand strong {
    font-size: 18px;
  }

  .hero {
    min-height: 560px;
    background-position: center;
  }

  .hero-content {
    padding: 58px 0;
  }

  .hero p {
    font-size: 16px;
  }

  .stats-grid,
  .property-grid,
  .valuation-inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section {
    padding: 44px 0;
  }

  .section-head {
    display: block;
  }

  .footer-inner {
    display: grid;
  }
}
