/* ── CSS Custom Properties ─────────────────────────────────────────── */
:root {
  --bg-page: #0a0f1c;
  --bg-card: #111827;
  --bg-card-hover: #161f30;
  --border: #1e2d3d;
  --teal: #00c8c8;
  --teal-dim: #00a0a0;
  --teal-bg: rgba(0,200,200,0.06);
  --text-primary: #f0f4f8;
  --text-secondary: #8b9ab0;
  --text-muted: #4a5568;
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #f97316;
  --diff-more: #f97316;
  --diff-less: #22c55e;
  --mono: 'SF Mono','Fira Code','Cascadia Code',monospace;
  --radius-card: 12px;
  --radius-badge: 20px;
  --radius-input: 8px;
  --nav-height: 60px;
}

/* Light mode */
body.light {
  --bg-page: #d4f0eb;
  --bg-card: #ffffff;
  --bg-card-hover: #e6f7f4;
  --border: #b2ddd6;
  --text-primary: #0d1520;
  --text-secondary: #4a5f76;
  --text-muted: #8b9ab0;
  --teal-bg: rgba(0,160,160,0.07);
}

/* Logo: swap dark/light variants */
.logo-light-mode { display: none; }
body.light .logo-dark-mode  { display: none; }
body.light .logo-light-mode { display: block; }

/* Light mode — teal border on all light-background cards */
body.light .suburb-card,
body.light .diff-panel,
body.light .trust-card,
body.light .next-card {
  border-color: rgba(0,200,200,0.45);
  box-shadow: 0 1px 4px rgba(0, 60, 50, 0.08);
}

/* Light mode — lead card matches insight card: dark with white text */
body.light .lead-card {
  background: #0a2a28;
  border: 1px solid #0a2a28;
  border-left: 3px solid var(--teal);
  box-shadow: none;
}
body.light .lead-heading { color: #f0f4f8; }
body.light .lead-sub     { color: rgba(240,244,248,0.7); }
body.light .lead-privacy { color: rgba(240,244,248,0.45); }
body.light .lead-email-input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,200,200,0.3);
  color: #f0f4f8;
}
body.light .lead-email-input::placeholder { color: rgba(240,244,248,0.35); }
body.light .lead-email-input:focus { border-color: var(--teal); }
body.light .lead-card .search-input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,200,200,0.3);
  color: #f0f4f8;
}
body.light .lead-card .search-input::placeholder { color: rgba(240,244,248,0.35); }
body.light .lead-card .search-input:focus { border-color: var(--teal); }
body.light .lead-card .autocomplete-list {
  background: #0d3530;
  border-color: rgba(0,200,200,0.3);
}
body.light .lead-card .autocomplete-item { color: #f0f4f8; }
body.light .lead-card .autocomplete-item:hover { background: rgba(0,200,200,0.15); }

/* ── Reset & Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  overflow-x: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg-page);
  color: var(--text-primary);
  transition: background 0.2s, color 0.2s;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }
img { display: block; max-width: 100%; }

/* ── Navigation ────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-page);
  transition: background 0.2s, border-color 0.2s, backdrop-filter 0.2s;
}
.nav.scrolled {
  backdrop-filter: blur(12px);
  background: rgba(10,15,28,0.85);
  border-bottom-color: var(--border);
}
body.light .nav.scrolled { background: rgba(212,240,235,0.92); }
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 17px;
  color: var(--text-primary);
}
.nav-brand svg { color: var(--teal); }

/* ── Nav right group (non-index pages) ────────────────── */
/* Everything sits in one flex row to the right of the logo */
.nav-right-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Compare widget: fixed-size, never grows */
.nav-widget {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.nav-widget-field {
  position: relative;
  width: 120px;
  flex-shrink: 0;
}
.nav-widget-input {
  height: 36px !important;
  font-size: 13px !important;
  padding: 0 10px !important;
}
/* Individual desktop text links in nav-right-group */
.nav-desktop-link {
  color: var(--text-secondary);
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-desktop-link:hover { color: var(--text-primary); }

/* Mobile: hide inputs and About/Blog; show hamburger */
@media (max-width: 899px) {
  .nav-widget-field { display: none !important; }
  .nav-desktop-link { display: none !important; }
}

/* ── Hamburger button ──────────────────────────────────── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  padding: 0 8px;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ───────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.mobile-menu.open { display: block; }
.mobile-menu-item {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}
.mobile-menu-item:last-child { border-bottom: none; }
.mobile-menu-item:hover { background: var(--bg-card-hover); color: var(--teal); }
.mobile-menu-item.cta { color: var(--teal); font-weight: 600; }

/* ── Desktop compare panel ─────────────────────────────── */
.nav-compare-wrap { position: relative; }
.nav-compare-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 200;
  min-width: 480px;
}
.nav-compare-panel.open { display: block; }
.ncp-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ncp-inner .search-wrap { flex: 1; }
.ncp-inner .vs-label { flex-shrink: 0; }
.ncp-go-btn {
  height: 44px;
  padding: 0 18px;
  background: var(--teal);
  color: #0a0f1c;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-input);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.ncp-go-btn:hover { background: var(--teal-dim); }
.cta-chevron {
  margin-left: 4px;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.nav-cta-btn[aria-expanded="true"] .cta-chevron { transform: rotate(180deg); }

/* ── Nav right cluster ─────────────────────────────────── */
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  background: var(--teal);
  color: #0a0f1c !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-input);
  white-space: nowrap;
  transition: background 0.15s;
  text-decoration: none !important;
}
.nav-cta-btn:hover { background: var(--teal-dim); }
@media (max-width: 599px) {
  .nav-cta-btn .cta-long { display: none; }
  .nav-cta-btn .cta-short { display: inline; }
  .nav-desktop-links { display: none !important; }
  .cta-chevron { display: none !important; }
  .hamburger-btn { display: flex; }
  .nav-compare-panel { min-width: unset; left: 0; right: 0; }
}
@media (min-width: 600px) {
  .nav-cta-btn .cta-short { display: none; }
}
@media (min-width: 900px) {
  .hamburger-btn { display: none !important; }
}
/* Right-side nav group (all items) */
.nav-links-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;  /* never compress — About/Blog always visible */
}
/* Desktop-only text links (Methodology, Sources etc.) */
.nav-desktop-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-desktop-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-desktop-links a:hover { color: var(--text-primary); }
/* Legacy selector kept for any remaining references */
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--text-secondary); font-size: 14px; }
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: color 0.15s, border-color 0.15s;
}
.theme-toggle:hover { color: var(--teal); border-color: var(--teal); }

/* ── Hero Section ──────────────────────────────────────────────────── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.hero-heading .underline-teal {
  position: relative;
  display: inline-block;
  color: var(--teal);
}
.hero-heading .underline-teal::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  opacity: 0.6;
}
.hero-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 340px;
}

/* ── Search Controls ───────────────────────────────────────────────── */
.search-panel { display: flex; flex-direction: column; gap: 16px; }
.search-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 8px;
  align-items: center;
}
.vs-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  padding: 0 4px;
  text-align: center;
}
.search-wrap { position: relative; width: 100%; }
.search-input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,200,200,0.12);
}
.search-input::placeholder { color: var(--text-muted); }
.autocomplete-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  display: none;
}
.autocomplete-list.open { display: block; }
.autocomplete-item {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.1s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.autocomplete-item:hover, .autocomplete-item.active {
  background: var(--bg-card-hover);
  color: var(--teal);
}
.autocomplete-item small { color: var(--text-muted); font-size: 12px; }
.compare-btn {
  height: 44px;
  padding: 0 20px;
  background: var(--teal);
  color: #0a0f1c;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-input);
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}
.compare-btn:hover { background: var(--teal-dim); transform: translateY(-1px); }
.compare-btn:active { transform: translateY(0); }

/* Toggle groups */
.toggle-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.toggle-group {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-badge);
  overflow: hidden;
}
.toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  background: transparent;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.toggle-btn svg { flex-shrink: 0; }
.toggle-btn.active {
  background: var(--teal);
  color: #0a0f1c;
  font-weight: 600;
}
.toggle-btn + .toggle-btn { border-left: 1px solid var(--border); }

/* ── Comparison Section ────────────────────────────────────────────── */
.comparison-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 320px;
  gap: 16px;
  align-items: start;
}

/* ── Suburb Card ───────────────────────────────────────────────────── */
.suburb-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}
.card-photo {
  height: 160px;
  background: linear-gradient(135deg, var(--teal-dim), #003838);
  position: relative;
  overflow: hidden;
}

/* Mapbox image container */
.card-image {
  position: relative;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.9) contrast(1.05);
}
.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,15,28,0.1) 0%,
    rgba(10,15,28,0.5) 100%
  );
  pointer-events: none;
}

/* Apply card-image styles to card-photo when it contains an img */
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.9) contrast(1.05);
}
.card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,15,28,0.1) 0%,
    rgba(10,15,28,0.5) 100%
  );
  pointer-events: none;
}
.card-photo-scrim {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
}
.card-suburb-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.card-suburb-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}
.cbd-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-badge);
  backdrop-filter: blur(4px);
}
.cheaper-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--green);
  color: #0a0f1c;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-badge);
}

/* Badges row */
.card-badges {
  display: flex;
  gap: 6px;
  padding: 12px 14px 4px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-badge);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.badge-grey { background: var(--border); color: var(--text-secondary); }
.badge-green { background: rgba(34,197,94,0.15); color: var(--green); }
.badge-amber { background: rgba(245,158,11,0.15); color: var(--amber); }
.badge-red { background: rgba(249,115,22,0.15); color: var(--red); }

/* Cost rows */
.card-body { padding: 4px 14px 0; }
.cost-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  border-bottom: 1px solid var(--border);
}
.cost-row:last-child { border-bottom: none; }
.cost-icon { color: var(--text-secondary); flex-shrink: 0; width: 18px; }
.cost-labels { flex: 1; min-width: 0; }
.cost-label { font-size: 14px; color: var(--text-primary); line-height: 1.2; }
.cost-sublabel { font-size: 11px; color: var(--text-muted); }
.cost-amount {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
  text-align: right;
}

/* Tip button */
.tip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--text-muted);
  background: transparent;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  vertical-align: middle;
  margin-left: 4px;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: border-color 0.15s, color 0.15s;
}
.tip-btn:hover, .tip-btn:focus-visible {
  border-color: var(--teal);
  color: var(--teal);
  outline: none;
}

/* Tooltip popover */
#cost-tip-pop {
  position: absolute;
  z-index: 9999;
  max-width: 260px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  pointer-events: none;
}

/* Estimated range label */
.est-label {
  font-size: 10px;
  color: var(--text-muted);
  font-family: inherit;
}
@media (max-width: 599px) {
  .cost-amount { white-space: normal; }
  .cost-amount .est-label { display: block; }
}

/* Source indicator dots */
.src-dot {
  font-size: 9px;
  vertical-align: middle;
  margin-right: 2px;
}
.src-dot.official { color: var(--teal); }
.src-dot.estimated { color: var(--text-muted); }

/* Data completeness line */
.data-completeness {
  font-size: 11px;
  color: var(--text-muted);
  padding: 6px 0 4px;
  border-top: 1px solid var(--border);
  margin-top: 2px;
  display: none;
}
.data-completeness.visible { display: block; }

/* Strata row hidden in house mode */
.strata-row { display: none; }
body.unit .strata-row { display: flex; }

/* Total block */
.card-total {
  border-top: 1px solid var(--border);
  padding: 14px 14px 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.total-label {
  font-size: 13px;
  color: var(--text-secondary);
}
.total-right { text-align: right; }
.total-amount {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.total-monthly {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: var(--mono);
}

/* ── Difference Panel ──────────────────────────────────────────────── */
.diff-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.diff-header {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.diff-callout { margin-bottom: 20px; }
.diff-callout-label { font-size: 14px; color: var(--text-primary); margin-bottom: 4px; }
.diff-callout-label strong { color: var(--teal); }
.diff-callout-amount {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.diff-callout-direction { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.diff-callout-monthly { font-size: 12px; color: var(--text-muted); font-family: var(--mono); }

.diff-rows { flex: 1; display: flex; flex-direction: column; gap: 0; }
.diff-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.diff-row:last-child { border-bottom: none; }
.diff-row-label { font-size: 12px; color: var(--text-secondary); }
.diff-pill {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-badge);
}
.diff-pill-more { background: rgba(249,115,22,0.15); color: var(--diff-more); }
.diff-pill-less { background: rgba(34,197,94,0.15); color: var(--diff-less); }
.diff-pill-equal { background: var(--border); color: var(--text-muted); }

.diff-strata-row { display: none; }
body.unit .diff-strata-row { display: flex; }

.diff-view-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--teal);
  margin-top: 16px;
  transition: gap 0.15s;
}
.diff-view-link:hover { gap: 8px; }
.diff-footnote {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ── Insight Banner ────────────────────────────────────────────────── */
.insight-banner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 24px;
}
.insight-card {
  background: rgba(0,200,200,0.12);
  border: 1px solid rgba(0,200,200,0.3);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.insight-icon { color: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* Light mode — dark card with white text */
body.light .insight-card {
  background: #0a2a28;
  border: 1px solid #0a2a28;
  border-left: 3px solid var(--teal);
  box-shadow: none;
}
body.light .insight-label { color: var(--teal); }
body.light .insight-text  { color: #f0f4f8; }
body.light .insight-icon  { color: var(--teal); }
.insight-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.insight-text {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.55;
}
.insight-text strong { color: var(--teal); font-family: var(--mono); }

/* ── Trust Banner ──────────────────────────────────────────────────── */
.trust-banner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 32px;
}
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.trust-left { display: flex; align-items: center; gap: 16px; }
.trust-icon { color: var(--teal); flex-shrink: 0; }
.trust-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.trust-sub { font-size: 13px; color: var(--text-secondary); }
.trust-illustration { flex-shrink: 0; display: flex; align-items: center; }

/* ── Lead Capture ──────────────────────────────────────────────────── */
.lead-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
}
.lead-card {
  background: var(--bg-card);
  border: 1px solid var(--teal);
  border-radius: var(--radius-card);
  padding: 32px;
}
.lead-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.lead-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 600px;
}
/* Report feature checklist */
.report-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 20px;
  padding: 16px 18px;
  background: rgba(0,200,200,0.06);
  border: 1px solid rgba(0,200,200,0.18);
  border-radius: var(--radius-card);
}
.rf-label {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 2px;
}
.report-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
.rf-icon {
  color: var(--teal);
  flex-shrink: 0;
  stroke: var(--teal);
}
body.light .report-features {
  background: rgba(0,200,200,0.08);
  border-color: rgba(0,200,200,0.3);
}
@media(max-width:599px) {
  .report-features { grid-template-columns: 1fr; gap: 6px; padding: 14px 14px; }
  .report-feature { font-size: 12px; }
}

/* Lead form — dwelling type toggle */
.lead-type-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.lead-type-label {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.lead-type-toggle {
  display: flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}
body.light .lead-type-toggle {
  background: rgba(255,255,255,0.12);
  border-color: rgba(0,200,200,0.25);
}
.lead-type-btn {
  padding: 5px 16px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lead-type-btn.active {
  background: var(--teal);
  color: #0a0f1c;
  font-weight: 600;
}
body.light .lead-type-btn { color: rgba(240,244,248,0.7); }
body.light .lead-type-btn.active { color: #0a0f1c; }

/* Lead form — buying timeline pills */
.lead-timeline-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.lead-timeline-label {
  font-size: 13px;
  color: var(--text-secondary);
}
.lead-timeline-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lead-timeline-pill {
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0,200,200,0.3);
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.lead-timeline-pill:hover {
  border-color: var(--teal);
  color: var(--text-primary);
}
.lead-timeline-pill.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #0a0f1c;
  font-weight: 600;
}

.lead-suburbs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.lead-bottom-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.lead-name-input {
  flex: 0 0 140px !important;
  min-width: 0;
}
.lead-email-input {
  flex: 1;
  height: 44px !important;
  min-height: 44px;
  padding: 0 14px;
  align-self: stretch;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}
.lead-email-input:focus { border-color: var(--teal); }
.lead-email-input::placeholder { color: var(--text-muted); }
.lead-submit-btn {
  height: 44px;
  padding: 0 24px;
  background: var(--teal);
  color: #0a0f1c;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-input);
  white-space: nowrap;
  transition: background 0.15s;
}
.lead-submit-btn:hover { background: var(--teal-dim); }
.lead-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.lead-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
}
/* Success state */
.lead-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
}
.lead-success.visible { display: flex; }
.lead-form-content.hidden { display: none; }
.lead-success-icon { color: var(--green); }
.lead-success-title { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.lead-success-sub { font-size: 14px; color: var(--text-secondary); }

/* ── What's Next ───────────────────────────────────────────────────── */
.whats-next {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.next-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.15s, background 0.15s;
}
.next-card:hover { background: var(--bg-card-hover); }
.next-card.featured { border-color: var(--teal); }
.next-icon { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.next-badge {
  display: inline-flex;
  padding: 2px 10px;
  background: var(--teal);
  color: #0a0f1c;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-badge);
  margin-bottom: 6px;
}
.next-title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.next-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; }
.next-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  transition: gap 0.15s;
}
.next-cta:hover { gap: 8px; }

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
}
.footer-main {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.legal {
  font-size: 11px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.7;
}

.coming-soon-note {
  text-align: center;
  opacity: 0.5;
  font-size: 0.875rem;
  padding: 1.5rem 0 0.5rem;
}

/* ── Hub sections ──────────────────────────────────────────────────── */
.hub-section { max-width: 960px; margin: 3rem auto 4rem; padding: 0 1.25rem; display: flex; flex-direction: column; gap: 1.25rem; }
.hub-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 680px) { .hub-row { grid-template-columns: 1fr; } }
.hub-panel { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem 1.4rem 1.1rem; display: flex; flex-direction: column; }
.hub-panel-header { margin-bottom: 1rem; }
.hub-eyebrow { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); margin-bottom: 0.2rem; }
.hub-heading { font-size: 1rem; font-weight: 700; margin: 0; color: var(--text); }
.hub-see-all { display: inline-block; margin-top: 0.9rem; font-size: 0.8rem; color: var(--teal); text-decoration: none; }
.hub-see-all:hover { text-decoration: underline; }

.hub-compare-list { display: flex; flex-direction: column; gap: 2px; }
.hub-compare-item { display: block; padding: 0.45rem 0.6rem; border-radius: 6px; text-decoration: none; color: var(--text); font-size: 0.82rem; transition: background 0.12s; }
.hub-compare-item:hover { background: rgba(0,200,200,0.08); }
.hub-vs-pair { display: flex; align-items: center; gap: 0.5rem; }
.hub-vs { font-size: 0.7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; flex-shrink: 0; }

.hub-council-list { display: flex; flex-direction: column; gap: 2px; }
.hub-council-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0.6rem; border-radius: 6px; text-decoration: none; transition: background 0.12s; }
.hub-council-item:hover { background: rgba(0,200,200,0.08); }
.hub-council-name { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.hub-council-count { font-size: 0.75rem; color: var(--muted); }

.hub-rank-list { display: flex; flex-direction: column; gap: 2px; }
.hub-rank-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.45rem 0.6rem; border-radius: 6px; text-decoration: none; transition: background 0.12s; }
.hub-rank-item:hover { background: rgba(0,200,200,0.08); }
.hub-rank-n { font-size: 0.72rem; font-weight: 700; color: var(--muted); width: 14px; text-align: right; flex-shrink: 0; font-family: var(--mono); }
.hub-rank-name { font-size: 0.85rem; color: var(--text); flex: 1; }
.hub-rank-cost { font-size: 0.85rem; font-weight: 700; color: var(--teal); font-family: var(--mono); flex-shrink: 0; }
.hub-rank-unit { font-size: 0.7rem; font-weight: 400; color: var(--muted); }

.hub-article-list { display: flex; flex-direction: column; gap: 2px; }
.hub-article-item { display: block; padding: 0.55rem 0.6rem; border-radius: 6px; font-size: 0.85rem; color: var(--text); text-decoration: none; line-height: 1.4; transition: background 0.12s; }
.hub-article-item:hover { background: rgba(0,200,200,0.08); color: var(--teal); }

/* ── Utilities ─────────────────────────────────────────────────────── */
.hidden { display: none !important; }
.num { font-family: var(--mono); }

/* ── Blog ──────────────────────────────────────────────────────────── */
.blog-article {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.blog-article .breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-size: 13px;
  color: var(--text-muted);
}
.blog-article .breadcrumb li { display: flex; align-items: center; }
.blog-article .breadcrumb li + li::before { content: "›"; margin: 0 8px; color: var(--text-muted); }
.blog-article .breadcrumb a { color: var(--teal); text-decoration: none; }
.article-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--mono);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.blog-article h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}
.article-intro {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  padding: 18px 20px;
  background: var(--bg-card);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  margin-bottom: 36px;
}
.blog-article section { margin-bottom: 8px; }
.blog-article h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.blog-article h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.blog-article p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.blog-article ul, .blog-article ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.blog-article li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.blog-article strong { color: var(--text-primary); }
.blog-article a { color: var(--teal); }
.blog-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 14px;
}
.blog-article table caption {
  font-size: 12px;
  color: var(--text-muted);
  text-align: left;
  margin-bottom: 8px;
  font-style: italic;
}
.blog-article table th {
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 2px solid var(--teal);
  font-size: 13px;
}
.blog-article table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}
.blog-article table tr:nth-child(even) td { background: var(--bg-card); }
.faq-section { margin-top: 48px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:first-of-type { padding-top: 0; }
.faq-item:last-of-type { border-bottom: none; }
.faq-item p { margin-bottom: 0; }
.cta-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  margin-top: 48px;
  text-align: center;
}
.cta-section h2 { margin-top: 0; border-bottom: none; padding-bottom: 0; }
.cta-section p { margin-bottom: 20px; }
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: #0a0f1c;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.88; }
.blog-article .btn-primary { color: #0a0f1c !important; }

/* Blog index */
.blog-index { max-width: 860px; margin: 0 auto; padding: 56px 24px 80px; }
.blog-index-heading { font-size: clamp(1.8rem,3.5vw,2.5rem); font-weight:700; letter-spacing:-0.02em; color:var(--text-primary); margin-bottom:8px; }
.blog-index-sub { font-size:15px; color:var(--text-secondary); margin-bottom:40px; }
.blog-grid { display:grid; grid-template-columns:1fr; gap:20px; }
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  transition: border-color 0.15s;
  text-decoration: none;
  display: block;
}
.blog-card:hover { border-color: var(--teal); }
.blog-card-tag { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color:var(--teal); margin-bottom:8px; }
.blog-card-title { font-size:1.1rem; font-weight:700; color:var(--text-primary); margin-bottom:8px; line-height:1.3; }
.blog-card-desc { font-size:14px; color:var(--text-secondary); line-height:1.65; margin-bottom:12px; }
.blog-card-meta { font-size:12px; color:var(--text-muted); font-family:var(--mono); }
@media(max-width:599px){.blog-article{padding:32px 16px 60px}.blog-index{padding:32px 16px 60px}.article-meta{font-size:7px;line-height:1.5;font-family:var(--font-sans,system-ui,sans-serif);letter-spacing:0}}

/* ── Mobile comparison table ───────────────────────────────────────── */
#mobile-compare { display: none; padding: 0 16px 24px; }
.mob-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}
.mob-table thead tr {
  border-bottom: 2px solid var(--border);
}
.mob-th-cat {
  text-align: left;
  padding: 10px 6px 10px 0;
  font-size: 11px;
  color: var(--text-muted);
  width: 34%;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mob-th-val {
  text-align: right;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  width: 33%;
}
.mob-cat-cell {
  padding: 0 6px 0 0;
  color: var(--text-secondary);
  vertical-align: middle;
  line-height: 1.25;
}
.mob-cat-label {
  font-size: 13px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.mob-cat-sub {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
  margin-top: 1px;
}
.mob-val-cell {
  text-align: right;
  padding: 0;
  vertical-align: middle;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-primary);
  white-space: nowrap;
}
.mob-val-cell.est-cell {
  font-size: 11px;
  white-space: normal;
}
.mob-val-cell.est-cell .est-label {
  display: block;
}
.mob-table tbody tr {
  min-height: 44px;
  border-bottom: 1px solid var(--border);
}
.mob-table tbody tr td { padding: 11px 0; }
.mob-table tbody tr td:first-child { padding-left: 0; }
.mob-win {
  color: var(--teal);
  font-weight: 700;
}
.mob-total-row td {
  padding: 12px 0;
  border-top: 2px solid var(--border);
  font-weight: 700;
  font-size: 15px;
  font-family: var(--mono);
}
.mob-total-row .mob-cat-cell {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: inherit;
}
.mob-strata-row { display: none; }
body.unit .mob-strata-row { display: table-row; }

/* ── Mobile score row (secondary — less prominent than total) ──────── */
.mob-score-row td {
  padding: 7px 0;
  border-top: 1px dashed var(--border);
}
.mob-score-row .mob-cat-cell {
  font-size: 11px;
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 400;
}
.mob-score-cell {
  font-size: 12px;
  font-weight: 500;
  font-family: var(--mono);
  color: var(--text-secondary);
  text-align: right;
}
.mob-score-cell.score-hi { color: var(--teal); opacity: 0.85; }

/* ── Mobile report CTA button ──────────────────────────────────────── */
#mob-report-cta {
  display: none;
  padding: 12px 0 4px;
  text-align: center;
}
@media (max-width: 640px) {
  #mob-report-cta { display: block; }
}
@media (min-width: 641px) {
  #mob-report-cta { display: none !important; }
}
.mob-report-btn {
  display: inline-block;
  padding: 11px 18px;
  background: transparent;
  border: 1.5px solid var(--teal);
  border-radius: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  line-height: 1.3;
}

/* ── Mobile suburb links ───────────────────────────────────────────── */
#mob-suburb-links {
  display: none;
  padding: 0 16px 24px;
}
@media (max-width: 640px) {
  #mob-suburb-links { display: block; }
}
@media (min-width: 641px) {
  #mob-suburb-links { display: none !important; }
}
.mob-links-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
}
.mob-sub-link {
  font-size: 13px;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mob-sub-link:empty { display: none; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .comparison-grid { grid-template-columns: 1fr 1fr; }
  .diff-panel { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px 32px;
  }
  .hero-sub { max-width: none; }
  .comparison-grid { grid-template-columns: 1fr; }
  .diff-panel { grid-column: auto; }
  .next-grid { grid-template-columns: 1fr 1fr; }
  .lead-suburbs-grid { grid-template-columns: repeat(3, 1fr); }
  .lead-suburbs-grid .lead-suburb:nth-child(4),
  .lead-suburbs-grid .lead-suburb:nth-child(5) {
    grid-column: auto;
  }
}
@media (max-width: 640px) {
  /* Hide desktop cards, show mobile table */
  #card-a, #card-b { display: none; }
  #mobile-compare { display: block; }
}
@media (min-width: 641px) {
  #mobile-compare { display: none !important; }
}
@media (max-width: 599px) {
  .nav { padding: 0 16px; }
  .hero { padding: 32px 16px 24px; }
  .hero-heading { font-size: 1.8rem; }
  .search-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }
  .search-row .search-wrap:nth-child(3) { grid-column: 1; }
  .search-row .compare-btn { grid-column: 2; grid-row: 1 / 3; height: 100%; }
  .vs-label { display: none; }
  .comparison-section, .insight-banner, .trust-banner,
  .lead-section, .whats-next { padding-left: 16px; padding-right: 16px; }
  .next-grid { grid-template-columns: 1fr; }
  .lead-suburbs-grid { grid-template-columns: 1fr 1fr; }
  .lead-bottom-row { flex-direction: column; }
  .lead-name-input  { flex: 1 1 100% !important; width: 100% !important; min-width: 0; }
  .lead-email-wrap  { width: 100% !important; min-width: 0; }
  .lead-email-input { width: 100% !important; min-width: 0; }
  .lead-submit-btn  { width: 100%; }
  .trust-illustration { display: none; }
  .toggle-row { gap: 8px; }
}
/* ============================================
   BLOG INDEX ARTICLE — ADDITIONAL CSS
   Append this to the existing blog CSS block in styles.css
   ============================================ */

/* Key findings box */
.key-findings {
  border-left: 3px solid var(--color-teal, #00c8c8);
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  background: var(--color-surface, rgba(0,200,200,0.04));
  border-radius: 0 6px 6px 0;
}

.key-findings h2 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.key-findings ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.key-findings li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Article intro note (secondary intro paragraph) */
.article-intro-note {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--color-surface, rgba(0,0,0,0.03));
  border-radius: 6px;
  border: 1px solid var(--color-border, #e5e7eb);
}

/* Purchase price callout — prominent box in methodology section */
.purchase-price-callout {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border: 2px solid var(--color-teal, #00c8c8);
  border-radius: 8px;
  background: var(--color-surface, rgba(0,200,200,0.04));
}

.purchase-price-callout h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.purchase-price-callout p {
  margin-bottom: 0.75rem;
}

.purchase-price-callout p:last-child {
  margin-bottom: 0;
}

/* Purchase price note — inline callout after cheapest table */
.purchase-price-note {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface, rgba(0,0,0,0.03));
  border-radius: 6px;
  border-left: 3px solid var(--color-border, #e5e7eb);
  font-size: 0.92rem;
}

.purchase-price-note p {
  margin-bottom: 0;
  line-height: 1.65;
}

/* Assumption items */
.assumptions-section .assumption-item {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.assumptions-section .assumption-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.assumptions-section .assumption-item h3 {
  margin-bottom: 0.4rem;
}

/* Insight callout */
.insight-callout {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--color-surface, rgba(0,200,200,0.04));
  border-radius: 6px;
  font-size: 0.95rem;
}

.insight-callout p {
  margin-bottom: 0;
  line-height: 1.65;
}

/* Inline CTA link */
a.inline-cta {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--color-teal, #00c8c8);
  text-decoration: none;
  font-size: 0.95rem;
}

a.inline-cta:hover {
  text-decoration: underline;
}

/* Data attribution section */
.data-attribution {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.data-attribution h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.data-attribution p {
  font-size: 0.82rem;
  opacity: 0.6;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Wider table support for 8-column unit tables */
@media (max-width: 768px) {
  .blog-article table {
    min-width: 560px;
  }
}

/* ── Suburb Insights ────────────────────────────────────────────────── */
.suburb-insights {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.suburb-benchmark {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.suburb-benchmark.positive { color: var(--green); }
.suburb-benchmark.negative { color: var(--red); }

.suburb-score {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.score-dots {
  color: var(--teal);
  letter-spacing: 2px;
  font-size: 14px;
}

.suburb-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-badge);
  width: fit-content;
}
.suburb-label--positive { background: rgba(34,197,94,0.15);  color: var(--green); }
.suburb-label--caution  { background: rgba(245,158,11,0.15); color: var(--amber); }
.suburb-label--warning  { background: rgba(249,115,22,0.15); color: var(--red);   }
.suburb-label--neutral  { background: rgba(139,154,176,0.12); color: var(--text-secondary); }

.suburb-insight-cta {
  margin-top: 2px;
  background: none;
  border: 1px solid var(--teal);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-input);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.suburb-insight-cta:hover {
  background: var(--teal-bg);
}
.coi-note {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}
