/* ══════════════════════════════════════════════════════════════
   ZoneScout — Premium PropTech Design System
   ══════════════════════════════════════════════════════════════ */

:root {
  /* Core palette */
  --ink: #0a0f1a;
  --ink2: #1e2a3a;
  --ink3: #64748b;
  --ink4: #94a3b8;
  --paper: #fafbfc;
  --white: #ffffff;

  /* Brand accent — sophisticated teal/emerald */
  --accent: #0d9373;
  --accent-hover: #0b7d63;
  --accent-light: #ecfdf5;
  --accent-muted: rgba(13,147,115,.08);

  /* Semantic */
  --red: #dc2626;
  --red-lt: #fef2f2;
  --green: #16a34a;
  --green-lt: #f0fdf4;
  --amber: #d97706;
  --amber-lt: #fffbeb;

  /* Surfaces */
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-sunken: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);

  /* Radii */
  --r: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Type */
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,.6);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  background: var(--ink);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform .2s;
}
.brand:hover .brand-mark { transform: scale(1.05) rotate(-2deg) }
.brand-name {
  font-family: var(--sans);
  font-size: 1.2em;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.03em;
}
.brand-dot { color: var(--accent) }
.nav-links { display: flex; align-items: center; gap: 1px }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink3);
  padding: 7px 14px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all .15s ease;
  letter-spacing: -.01em;
}
.nav-link:hover { color: var(--ink); background: var(--surface-sunken) }
.nav-link.active { color: var(--ink); background: var(--surface-sunken); font-weight: 600 }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--ink);
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  transition: all .2s;
  letter-spacing: -.01em;
}
.nav-cta:hover { background: var(--ink2); transform: translateY(-1px); box-shadow: var(--shadow-md) }
/* ── Hamburger Menu (Mobile) ──────────────────────────────── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  z-index: 510;
  -webkit-tap-highlight-color: transparent;
}
.hamburger svg { display: block }
.hamburger .bar {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: transform .3s ease, opacity .2s ease;
  transform-origin: center;
}
.hamburger.open .bar-top { transform: translateY(3px) rotate(45deg) }
.hamburger.open .bar-mid { opacity: 0 }
.hamburger.open .bar-bot { transform: translateY(-3px) rotate(-45deg) }
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,15,26,.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 499;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 501;
  padding: 80px 24px 32px;
  box-shadow: -8px 0 30px rgba(0,0,0,.12);
  transition: right .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-menu.open { right: 0 }
.mobile-menu a, .mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--sans);
  color: var(--ink2);
  text-decoration: none;
  border: none;
  background: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: all .15s ease;
}
.mobile-menu a:hover, .mobile-menu button:hover { background: var(--surface-sunken); color: var(--ink) }
.mobile-menu a.active { color: var(--accent); font-weight: 600; background: var(--accent-muted) }
.mobile-menu .mm-divider { height: 1px; background: var(--border); margin: 12px 0 }
.mobile-menu .mm-cta {
  margin-top: 8px;
  text-align: center;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--r);
  padding: 14px 20px;
}
.mobile-menu .mm-cta:hover { background: var(--ink2) }

@media(max-width:600px){
  .nav-links { display: none }
  .nav-cta { display: none }
  .hamburger { display: block }
  .mobile-overlay, .mobile-menu { display: block }
}

/* Pages are now separate HTML files */

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: auto;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(13,147,115,.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(59,130,246,.12) 0%, transparent 50%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
@media(max-width:768px) { .hero-inner { grid-template-columns:1fr; padding: 32px 20px 28px; gap: 24px } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,147,115,.12);
  border: 1px solid rgba(13,147,115,.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #6ee7b7;
  margin-bottom: 16px;
  animation: fadeInUp .6s ease both;
}
.icon-flag { flex-shrink: 0; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.15) }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.1em, 4.2vw, 3em);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -.02em;
  animation: fadeInUp .6s ease .1s both;
}
.hero-title em {
  font-style: italic;
  color: #6ee7b7;
}
.hero-subtitle {
  font-family: var(--sans);
  font-size: clamp(0.92em, 1.6vw, 1.05em);
  font-weight: 400;
  color: rgba(255,255,255,.95);
  margin-bottom: 12px;
  line-height: 1.45;
  animation: fadeInUp .6s ease .2s both;
}
.hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 480px;
  animation: fadeInUp .6s ease .3s both;
}
.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  animation: fadeInUp .6s ease .4s both;
}
.hero-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  padding: 5px 0;
}
.hero-feat-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  font-size: .85em;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.06);
}

/* Hero right side — feature cards instead of image */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp .8s ease .3s both;
}
@media(max-width:768px) { .hero-visual { display:none } }

.hero-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 360px;
  width: 100%;
}
.hero-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  padding: 14px 12px;
  backdrop-filter: blur(12px);
  transition: all .3s ease;
}
.hero-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.hero-card.featured {
  grid-column: 1 / -1;
  background: rgba(13,147,115,.08);
  border-color: rgba(13,147,115,.15);
}
.hero-card-icon {
  font-size: 1.25em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  color: var(--accent);
}
.hero-card-icon svg { color: #6ee7b7 }
.hero-card.featured .hero-card-icon svg { color: #6ee7b7 }
.hero-card-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  margin-bottom: 2px;
}
.hero-card-value {
  font-family: var(--serif);
  font-size: 1.1em;
  color: var(--white);
  line-height: 1.2;
}
.hero-card.featured .hero-card-value { color: #6ee7b7 }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px) }
  to { opacity: 1; transform: translateY(0) }
}

/* ── Trusted-by strip ─────────────────────────────────────── */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 24px;
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink3);
  font-weight: 500;
}
.trust-item span { font-size: 1.1em; opacity: .6; display: flex; align-items: center }
.trust-item svg { color: var(--accent); opacity: 1 }

/* ── Search Strip ─────────────────────────────────────────── */
.search-strip {
  background: var(--white);
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: 64px;
  z-index: 400;
}
.search-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.search-strip h2 {
  font-family: var(--sans);
  color: var(--ink);
  font-size: .9em;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.search-strip h2::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.search-strip-row {
  flex: 1;
  display: flex;
  gap: 10px;
  min-width: 260px;
}
.strip-input {
  flex: 1;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 15px;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  transition: all .2s ease;
}
.strip-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,147,115,.1);
}
.strip-input:disabled { opacity: .5; cursor: not-allowed }
.strip-btn {
  padding: 11px 24px;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s ease;
  letter-spacing: -.01em;
}
.strip-btn:hover { background: var(--ink2); transform: translateY(-1px); box-shadow: var(--shadow-sm) }
.strip-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none }
.limit-pill {
  background: rgba(217,119,6,.08);
  border: 1px solid rgba(217,119,6,.2);
  color: var(--amber);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  display: none;
}
.limit-pill.show { display: block }

/* ── Content Area ─────────────────────────────────────────── */
.content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 36px;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
@media(max-width:860px) { .content-grid { grid-template-columns: 1fr } }

/* Map */
.map-wrap {
  position: relative;
  z-index: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  background: var(--surface-sunken);
}
#map { width: 100%; flex: 1; min-height: 280px }
.map-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,15,26,.8);
  color: #fff;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  z-index: 400;
  pointer-events: none;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  transition: opacity .3s;
  letter-spacing: -.01em;
}
.map-hint.hide { opacity: 0; pointer-events: none }

/* Lot strip */
.lot-strip {
  display: none;
  margin-top: 16px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
}
.lot-strip.on { display: block }
.lot-strip-head {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.lot-strip-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
}
.lot-strip-item {
  background: var(--surface-sunken);
  border-radius: var(--r);
  padding: 10px 12px;
  border: 1px solid var(--border-light);
}
.lot-strip-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 3px;
}
.lot-strip-val {
  font-family: var(--serif);
  font-size: 1.1em;
  color: var(--ink);
  line-height: 1.2;
}
.lot-strip-source {
  font-size: 10px;
  color: var(--ink4);
  margin-top: 8px;
  font-style: italic;
}

/* ── DA History section ─────────────────────────────────────── */
.da-section {
  display: none;
  margin-top: 16px;
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.da-section.on { display: block }
.da-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
}
.da-head:hover { background: var(--surface-sunken) }
.da-head-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink3);
}
.da-toggle-btn {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  pointer-events: none;
}
.da-panel {
  display: none;
  padding: 0 16px 14px;
  border-top: 1px solid var(--border-light);
}
.da-panel.on { display: block }
.da-loading {
  font-size: 12px;
  color: var(--ink4);
  padding: 10px 0 4px;
}
.da-empty {
  font-size: 12px;
  color: var(--ink4);
  padding: 10px 0 4px;
  margin: 0;
}
.da-none {
  font-size: 12px;
  color: var(--ink4);
  font-style: italic;
  margin: 0 0 10px;
  padding: 0;
}
.da-source-note {
  font-size: 11px;
  color: var(--ink4);
  margin: 0 0 8px;
  padding: 0;
  line-height: 1.4;
}
.da-group {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink4);
  margin: 12px 0 6px;
}
.da-card {
  background: var(--surface-sunken);
  border-radius: var(--r);
  border: 1px solid var(--border-light);
  padding: 10px 12px;
  margin-bottom: 6px;
}
.da-card-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.da-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.da-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}
.da-badge-ok  { background: rgba(21,143,87,.1);  color: #158F57 }
.da-badge-no  { background: rgba(220,38,38,.08); color: #dc2626 }
.da-badge-mid { background: rgba(202,138,4,.1);  color: #92400e }
.da-card-addr {
  font-size: 11px;
  color: var(--ink3);
  margin-bottom: 3px;
}
.da-card-type {
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.4;
}
.da-card-meta {
  font-size: 10px;
  color: var(--ink4);
  margin-bottom: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.da-portal-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.da-portal-link:hover { text-decoration: underline }
.overlay-rows { display: flex; flex-direction: column; gap: 6px; margin-top: 6px }
.overlay-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px }
.overlay-row-label { color: var(--ink2); font-weight: 500 }
.overlay-yn {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid;
}
.overlay-yn.yes-fire { background: rgba(220,38,38,.06); border-color: rgba(220,38,38,.2); color: #dc2626 }
.overlay-yn.yes-flood { background: rgba(37,99,235,.06); border-color: rgba(37,99,235,.2); color: #2563eb }
.overlay-yn.yes-flood-pmf { background: rgba(37,99,235,.03); border-color: rgba(37,99,235,.12); color: #6b7280 }
.overlay-yn.yes-heritage { background: rgba(217,119,6,.06); border-color: rgba(217,119,6,.2); color: #d97706 }
.overlay-yn.no { background: var(--surface-sunken); border-color: var(--border-light); color: var(--ink4) }
.ai-loading-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 13px;
  color: var(--ink3);
  grid-column: 1/-1;
}
.ai-loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  flex-shrink: 0;
}

/* ── Features Panel ───────────────────────────────────────── */
.features-panel {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.fp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 40px 28px;
  text-align: center;
}
.fp-empty .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-sunken);
  border-radius: var(--r-md);
  font-size: 1.6em;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}
.fp-empty h3 {
  font-family: var(--serif);
  font-size: 1.15em;
  color: var(--ink2);
  margin-bottom: 8px;
}
.fp-empty p {
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.65;
  max-width: 300px;
}
.fp-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 36px;
  text-align: center;
}
.fp-loading.on { display: flex }
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin-bottom: 16px;
}
@keyframes spin { to { transform: rotate(360deg) } }
.fp-loading h4 {
  font-family: var(--sans);
  font-size: .95em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.steps-mini { text-align: left }
.step-m {
  font-size: 12px;
  color: var(--ink4);
  padding: 3px 0;
  transition: all .3s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.step-m::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: all .3s;
}
.step-m.on { color: var(--ink); font-weight: 600 }
.step-m.on::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(13,147,115,.15) }
.step-m.done { color: var(--ink4); text-decoration: line-through }
.step-m.done::before { background: var(--ink4) }

.fp-error {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 28px;
  text-align: center;
}
.fp-error.on { display: flex }
.fp-error .icon { font-size: 2.2em; margin-bottom: 12px }
.fp-error h4 { font-size: .95em; color: var(--red); margin-bottom: 6px; font-weight: 600 }
.fp-error p { font-size: 13px; color: var(--ink3); line-height: 1.55; margin-bottom: 14px }
.fp-error button {
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: var(--r);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  transition: all .2s;
}
.fp-error button:hover { background: var(--ink2) }

.fp-results { display: none; flex-direction: column }
.fp-results.on { display: flex }

.fp-addr {
  background: var(--ink);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}
.fp-addr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(13,147,115,.1));
  pointer-events: none;
}
.fp-addr h3 {
  font-family: var(--sans);
  color: var(--white);
  font-size: .88em;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.fp-addr p { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 3px }

.stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 12px;
}
.stat-card {
  background: var(--surface-sunken);
  border-radius: var(--r);
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  transition: background .15s;
}
.stat-card:hover { background: #f8fafc }
.stat-card.full { grid-column: 1/-1 }
.stat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 4px;
}
.stat-value {
  font-family: var(--serif);
  font-size: 1.3em;
  color: var(--ink);
  line-height: 1.15;
}
.stat-value.na {
  font-family: var(--sans);
  font-size: .75em;
  font-weight: 400;
  color: var(--ink3);
  line-height: 1.4;
}
.stat-sub { font-size: 10px; color: var(--ink4); margin-top: 3px }
.zone-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.zone-r { background: #fde8e8; color: #9b1c1c }
.zone-e, .zone-c { background: #def7ec; color: #03543f }
.zone-b, .zone-mu { background: #e1effe; color: #1e429f }
.zone-ru { background: #fdf6b2; color: #723b13 }
.zone-re { background: #edebfe; color: #5521b5 }
.zone-in { background: #fce8f3; color: #751a3d }
.zone-sp { background: #e3fcec; color: #014737 }
.zone-other { background: var(--surface-sunken); color: var(--ink3) }

.state-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 5px;
}
.state-nsw { background: #e8f4fd; color: #1a5276; border: 1px solid rgba(26,82,118,.15) }
.state-vic { background: #fce4ec; color: #880e4f; border: 1px solid rgba(136,14,79,.15) }
.state-qld { background: #f3e5f5; color: #6a1b9a; border: 1px solid rgba(106,27,154,.15) }
.state-sa { background: #fff3e0; color: #e65100; border: 1px solid rgba(230,81,0,.15) }
.state-wa { background: #e8f5e9; color: #1b5e20; border: 1px solid rgba(27,94,32,.15) }
.state-tas { background: #e0f2f1; color: #004d40; border: 1px solid rgba(0,77,64,.15) }
.state-act { background: #e3f2fd; color: #0d47a1; border: 1px solid rgba(13,71,161,.15) }
.state-nt { background: #fff8e1; color: #f57f17; border: 1px solid rgba(245,127,23,.15) }
.state-note {
  font-size: 11px;
  color: var(--ink3);
  font-style: italic;
  margin-top: 4px;
  line-height: 1.5;
  padding: 6px 10px;
  background: var(--surface-sunken);
  border-radius: 6px;
  border-left: 2px solid var(--border);
}

.portal-btn {
  margin: 8px 12px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-sunken);
  border: 1px solid var(--border-light);
  border-radius: var(--r);
  padding: 9px 14px;
  text-decoration: none;
  color: var(--ink3);
  font-size: 12px;
  font-weight: 500;
  transition: all .2s;
}
.portal-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}
.planning-disclaimer {
  margin: 0 12px 14px;
  padding: 8px 12px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink4);
  background: var(--surface-sunken);
  border-radius: var(--r);
  border-left: 3px solid var(--amber);
}

/* ── Development Analysis ─────────────────────────────────── */
.dev-analysis {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: none;
}
.dev-analysis.on { display: block }
.dev-analysis-title {
  font-family: var(--serif);
  font-size: 1.3em;
  color: var(--ink);
  margin-bottom: 16px;
}
.dev-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
}
@media(max-width:768px) { .dev-grid { grid-template-columns: 1fr } }
.dev-item {
  border-radius: var(--r-md);
  padding: 16px 18px;
  border-left: 3px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: transform .15s, box-shadow .15s;
}
.dev-item:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm) }
.dev-item.g { border-left-color: var(--green); background: var(--green-lt) }
.dev-item.r { border-left-color: var(--red); background: var(--red-lt) }
.dev-item.a { border-left-color: var(--amber); background: var(--amber-lt) }
.dev-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px }
.dev-label { font-size: 13px; font-weight: 600; color: var(--ink) }
.dev-status {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.dev-status.g { background: rgba(22,163,74,.12); color: var(--green) }
.dev-status.r { background: rgba(220,38,38,.1); color: var(--red) }
.dev-status.a { background: rgba(217,119,6,.1); color: var(--amber) }
.dev-item p { font-size: 13px; color: var(--ink2); line-height: 1.65 }

.planner-note {
  margin-top: 16px;
  background: var(--accent-light);
  border: 1px solid rgba(13,147,115,.15);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.planner-note strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 5px;
}
.planner-note p { font-size: 13px; color: #0f5132; line-height: 1.55 }

.dev-disc {
  margin-top: 14px;
  background: var(--amber-lt);
  border: 1px solid rgba(217,119,6,.15);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 12px;
  color: #92400e;
  line-height: 1.55;
}

/* ── Next Steps — Pathway & Document Finder ────────────── */
.next-steps {
  display: none;
  margin-top: 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  animation: fadeInUp .4s ease both;
}
.next-steps.on { display: block }
.ns-header {
  background: var(--surface-sunken);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ns-header h4 {
  font-family: var(--sans);
  font-size: .85em;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}
.ns-header .ns-step-num {
  width: 22px; height: 22px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.ns-body { padding: 18px 20px }
.ns-prompt {
  font-size: 13px;
  color: var(--ink2);
  margin-bottom: 14px;
  line-height: 1.55;
}
.ns-pathway-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ns-pathway-btn {
  flex: 1;
  min-width: 140px;
  padding: 14px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all .2s ease;
  text-align: left;
  font-family: var(--sans);
}
.ns-pathway-btn:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.ns-pathway-btn.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(13,147,115,.1);
}
.ns-pathway-btn .pw-icon {
  font-size: 1.3em;
  margin-bottom: 6px;
  display: block;
}
.ns-pathway-btn .pw-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}
.ns-pathway-btn .pw-desc {
  font-size: 11px;
  color: var(--ink3);
  line-height: 1.45;
}

/* Document results area */
.ns-docs {
  display: none;
  margin-top: 16px;
  animation: fadeInUp .35s ease both;
}
.ns-docs.on { display: block }
.ns-docs-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-size: 13px;
  color: var(--ink3);
}
.ns-docs-result {
  background: var(--surface-sunken);
  border-radius: var(--r-md);
  border: 1px solid var(--border-light);
  padding: 16px 18px;
}
.ns-docs-result h5 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ns-doc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ns-doc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.5;
  padding: 8px 12px;
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border-light);
}
.ns-doc-item .doc-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--accent-muted);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}
.ns-doc-item .doc-name { font-weight: 600; color: var(--ink) }
.ns-doc-item .doc-note { font-size: 12px; color: var(--ink3); margin-top: 2px }
.ns-doc-summary {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink3);
  line-height: 1.6;
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--r);
  border-left: 2px solid var(--accent);
}
.ns-doc-error {
  font-size: 13px;
  color: var(--ink3);
  padding: 12px 0;
  line-height: 1.55;
}
.ns-back-btn {
  margin-top: 12px;
  padding: 7px 14px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink3);
  cursor: pointer;
  font-family: var(--sans);
  transition: all .15s;
}
.ns-back-btn:hover { border-color: var(--ink3); color: var(--ink) }
@media(max-width:480px) {
  .ns-pathway-btns { flex-direction: column }
  .ns-pathway-btn { min-width: unset }
}

.dev-cta {
  margin-top: 20px;
  background: var(--accent);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dev-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,.08));
  pointer-events: none;
}
.dev-cta h4 {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.15em;
  margin-bottom: 6px;
  position: relative;
}
.dev-cta p {
  color: rgba(255,255,255,.75);
  font-size: 13px;
  margin-bottom: 14px;
  position: relative;
}
.dev-cta button {
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: var(--r);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  transition: all .2s;
  position: relative;
}
.dev-cta button:hover { background: var(--ink2); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.25) }

/* ── Blog ─────────────────────────────────────────────────── */
.page-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px }
.section { padding: 52px 0 }
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8em, 3vw, 2.6em);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.section-sub {
  font-size: 15px;
  color: var(--ink3);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
@media(max-width:860px) { .blog-grid { grid-template-columns: 1fr 1fr } }
@media(max-width:560px) { .blog-grid { grid-template-columns: 1fr } }

.blog-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.blog-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3em;
  position: relative;
  overflow: hidden;
}
.blog-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(13,147,115,.2), transparent 60%);
}
.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column }
.blog-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 8px;
}
.blog-body h3 {
  font-family: var(--serif);
  font-size: 1.05em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.35;
}
.blog-body p { font-size: 13px; color: var(--ink3); line-height: 1.55; flex: 1 }
.blog-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px }
.blog-date { font-size: 11px; color: var(--ink4) }
.blog-read { font-size: 12px; font-weight: 600; color: var(--accent) }

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink3);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 24px;
  transition: color .15s;
}
.article-back:hover { color: var(--ink) }
.article-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.article-title {
  font-family: var(--serif);
  font-size: clamp(1.7em, 3.5vw, 2.4em);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.article-meta { font-size: 13px; color: var(--ink3); display: flex; gap: 16px; margin-bottom: 28px }
.article-body { max-width: 700px }
.article-body h2 {
  font-family: var(--serif);
  font-size: 1.3em;
  color: var(--ink);
  margin: 28px 0 12px;
}
.article-body p { font-size: 15px; color: var(--ink2); line-height: 1.8; margin-bottom: 16px }
.article-body ul { margin: 0 0 16px 20px }
.article-body ul li { font-size: 15px; color: var(--ink2); line-height: 1.8; margin-bottom: 5px }
.article-body .callout {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 14px;
  color: #065f46;
}
.article-body .callout strong { display: block; margin-bottom: 4px }
.article-cta {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.article-cta::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 160px;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(13,147,115,.08));
  pointer-events: none;
}
.article-cta h4 { font-family: var(--serif); font-size: 1.1em; margin-bottom: 4px; position: relative }
.article-cta p { font-size: 13px; color: rgba(255,255,255,.6); margin: 0; position: relative }
.article-cta button {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--r);
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: all .2s;
}
.article-cta button:hover { background: var(--accent-hover) }

/* ── About ────────────────────────────────────────────────── */
.about-hero {
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: 44px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 10%, rgba(13,147,115,.1), transparent 50%);
  pointer-events: none;
}
@media(max-width:640px) { .about-hero { grid-template-columns: 1fr; padding: 28px 24px } }
.about-hero h2 {
  font-family: var(--serif);
  font-size: 1.8em;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
  position: relative;
  letter-spacing: -.01em;
}
.about-hero p {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  line-height: 1.8;
  margin-bottom: 12px;
  position: relative;
}
.about-stats { display: flex; gap: 28px; margin-top: 10px; position: relative }
.about-stat { font-family: var(--serif); font-size: 2.2em; color: #6ee7b7 }
.about-stat-label { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 2px }
.about-quote {
  background: rgba(255,255,255,.05);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.about-quote p {
  font-family: var(--serif);
  color: rgba(255,255,255,.92);
  font-size: 1.05em;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 0;
}
.about-quote cite {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  font-style: normal;
}
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 52px;
}
@media(max-width:560px) { .about-cards { grid-template-columns: 1fr } }
.about-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 24px;
  transition: all .2s;
}
.about-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px) }
.about-card h3 {
  font-family: var(--sans);
  font-size: .95em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.about-card p { font-size: 13px; color: var(--ink3); line-height: 1.7 }
.about-card-icon { vertical-align: -3px; margin-right: 4px; flex-shrink: 0 }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.4);
  padding: 36px 24px;
  text-align: center;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13,147,115,.3), transparent);
}
.footer-brand {
  font-family: var(--sans);
  font-size: 1.15em;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.footer p { font-size: 12px; line-height: 1.8 }
.footer a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .15s }
.footer a:hover { color: rgba(255,255,255,.8) }

/* ── Modal ────────────────────────────────────────────────── */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,15,26,.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.overlay.on { display: flex }
.modal {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(10,15,25,.25);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn .25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.97) }
  to { opacity: 1; transform: translateY(0) scale(1) }
}
.modal h3 {
  font-family: var(--serif);
  font-size: 1.3em;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 5px;
}
.modal > p { color: var(--ink3); font-size: 13px; margin-bottom: 20px }
.modal label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink3);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.modal input, .modal select, .modal textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 14px;
  margin-bottom: 12px;
  font-family: var(--sans);
  color: var(--ink);
  transition: all .2s;
  background: var(--white);
}
.modal input:focus, .modal select:focus, .modal textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,147,115,.1);
}
.modal textarea { resize: vertical; min-height: 60px }
.mbtns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px }
.bsec {
  padding: 10px 18px;
  background: var(--surface-sunken);
  border: 1px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  font-size: 13px;
  font-family: var(--sans);
  color: var(--ink3);
  font-weight: 500;
  transition: all .15s;
}
.bsec:hover { background: var(--border-light); color: var(--ink) }
.bpri {
  padding: 10px 22px;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--sans);
  transition: all .2s;
}
.bpri:hover { background: var(--ink2) }
.bpri:disabled { opacity: .5; cursor: not-allowed }
.sbox { text-align: center; padding: 16px 0 }
.sbox .tick { font-size: 2.5em; margin-bottom: 12px }
.sbox h3 { font-family: var(--serif); color: var(--green); margin-bottom: 8px; font-size: 1.2em }
.sbox p { color: var(--ink3); font-size: 13px; line-height: 1.65 }

/* Google Places dropdown */
.pac-container {
  z-index: 9999!important;
  border-radius: var(--r)!important;
  border: 1px solid var(--border)!important;
  box-shadow: var(--shadow-lg)!important;
  font-family: var(--sans)!important;
}

/* ── Responsive polish ─────────────────────────────────────── */
@media(max-width:480px) {
  .lot-strip-grid { grid-template-columns: repeat(2,1fr) }
  .stat-cards { grid-template-columns: 1fr }
  .stat-card.full { grid-column: auto }
  .hero-features { grid-template-columns: 1fr }
}

/* ── Partner Resources (Blog) ───────────────────────────── */
.partner-resources {
  margin-top: 28px;
  padding: 20px;
  background: var(--surface-sunken);
  border-radius: var(--r-md);
  border: 1px solid var(--border-light);
}
.partner-resources h4 {
  font-family: var(--sans);
  font-size: .85em;
  font-weight: 600;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media(max-width:560px) { .partner-grid { grid-template-columns: 1fr } }
.partner-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  text-decoration: none;
  transition: all .15s ease;
}
.partner-link:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-1px) }
.partner-icon { font-size: 1.4em; flex-shrink: 0 }
.partner-link strong { font-size: 13px; color: var(--ink); display: block; font-weight: 600 }
.partner-link small { font-size: 11px; color: var(--ink3); display: block; margin-top: 2px }
