/* ===================================================
   SA Property Central — Apple Design System
   =================================================== */

:root {
  --bg:          #f5f5f7;
  --bg-white:    #ffffff;
  --text:        #1d1d1f;
  --text-2:      #6e6e73;
  --text-3:      #86868b;
  --border:      #d2d2d7;
  --border-sub:  #e8e8ed;

  --blue:        #0071e3;
  --blue-h:      #0077ed;
  --blue-bg:     rgba(0,113,227,0.08);
  --blue-border: rgba(0,113,227,0.25);

  --green:       #1d6f42;
  --green-bg:    #e6f4eb;
  --green-border:rgba(29,111,66,0.25);

  --amber:       #9a4f00;
  --amber-bg:    #fff3e0;
  --amber-border:rgba(154,79,0,0.25);

  --red:         #b00020;
  --red-bg:      #fff0f2;
  --red-border:  rgba(176,0,32,0.25);

  --nav-h:       52px;
  --max:         1200px;
  --radius:      18px;
  --radius-sm:   12px;
  --radius-xs:   8px;

  --shadow-xs:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.07);
  --shadow:      0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.13);
  --shadow-xl:   0 24px 80px rgba(0,0,0,0.16);

  --font: -apple-system, 'SF Pro Display', BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); overflow-x: hidden; }
html, body { background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { overflow-x: hidden; min-width: 0; width: 100%; max-width: 100vw; }
/* Long unbreakable tokens (URLs, big numbers) must not blow out their container. */
p, li, td, th, dd, dt, h1, h2, h3, h4, h5, h6, span, div, a { overflow-wrap: anywhere; word-break: break-word; }
/* Grid/flex children default to min-content sizing — explicit min-width:0 lets them
   shrink past their content size instead of forcing horizontal scroll. */
.tool-body > *, .footer__grid > *, .tools-grid > *, .card-grid > *,
.problem-grid > *, .stat-grid > *, .zone-facts > *, .form-row > * { min-width: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: var(--font); cursor: pointer; }
input, select, textarea { font-family: var(--font); }

/* ===== LAYOUT ===== */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; width: 100%; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
@media (max-width: 360px) { .wrap { padding: 0 12px; } }
.section { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 56px 0; } }
@media (max-width: 480px) { .section { padding: 40px 0; } }

/* ===== A11Y: SKIP-LINK ===== */
/* Hidden off-screen until focused via Tab from the page top. */
.skip-link {
  position: absolute; top: -100px; left: 8px; z-index: 10000;
  background: var(--blue); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  text-decoration: none; box-shadow: var(--shadow);
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; outline: 3px solid var(--text); outline-offset: 2px; }

/* ===== TYPOGRAPHY ===== */
.t-display  { font-size: clamp(2.6rem, 6vw, 5rem);   font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; }
.t-headline { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.1;  letter-spacing: -0.018em; }
.t-title    { font-size: clamp(1.2rem, 2vw, 1.5rem);  font-weight: 600; line-height: 1.2;  letter-spacing: -0.012em; }
.t-body     { font-size: 17px; line-height: 1.65; }
.t-callout  { font-size: 15px; line-height: 1.6; }
.t-caption  { font-size: 12px; line-height: 1.5; color: var(--text-2); }
.t-label    { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.num        { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ===== STATUS BANNER ===== */
.status-banner          { text-align: center; padding: 9px 24px; font-size: 13px; font-weight: 400; transition: all .3s; }
.status-banner-loading  { background: var(--amber-bg);  color: var(--amber); border-bottom: 1px solid var(--amber-border); }
.status-banner-success  { background: var(--green-bg);  color: var(--green); border-bottom: 1px solid var(--green-border); }
.status-banner-error    { background: var(--red-bg);    color: var(--red);   border-bottom: 1px solid var(--red-border); }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.nav__logo  { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.nav__logo-icon {
  width: 36px; height: 32px; border-radius: 8px;
  background: var(--blue); color: #fff;
  /* "SAPC" monogram — 4 letters, so the font is smaller and tracking is tight
     compared to the original single-letter "B". */
  font-weight: 800; font-size: 10.5px; letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav__logo-text          { font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.nav__logo-text .accent  { color: var(--blue); }
.nav__links              { display: flex; align-items: center; gap: 2px; }
.nav__links a            { font-size: 13px; font-weight: 400; color: var(--text); padding: 6px 10px; border-radius: 8px; transition: background .15s; text-decoration: none; }
.nav__links a:hover      { background: rgba(0,0,0,0.05); text-decoration: none; }
.nav__links a.active     { color: var(--blue); font-weight: 500; }
.nav__cta                { font-size: 13px; font-weight: 500; padding: 8px 18px; background: var(--blue); color: #fff; border-radius: 980px; text-decoration: none; transition: background .15s; white-space: nowrap; }
.nav__cta:hover          { background: var(--blue-h); text-decoration: none; }
.nav__hamburger          { display: none; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 8px; }
.nav__hamburger span     { display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px; transition: all .2s; }

/* Collapse nav to hamburger early enough that the 9 links + CTA never get squeezed.
   At ~1100px the desktop nav starts crowding the logo — bump the breakpoint up. */
@media (max-width: 1100px) { .nav__links { display: none; } .nav__cta { display: none; } .nav__hamburger { display: flex; } }
/* Tighter logo + cta gap on narrow desktops so nothing kisses the edge. */
@media (max-width: 1200px) { .nav__links { gap: 0; } .nav__links a { padding: 6px 8px; font-size: 12.5px; } }

/* Mobile drawer */
.nav-drawer         { position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 320px); background: var(--bg-white); z-index: 200; transform: translateX(110%); transition: transform .3s cubic-bezier(.4,0,.2,1); box-shadow: var(--shadow-xl); }
.nav-drawer.open    { transform: translateX(0); }
.nav-backdrop       { position: fixed; inset: 0; background: rgba(0,0,0,0.28); z-index: 199; opacity: 0; pointer-events: none; transition: opacity .25s; backdrop-filter: blur(2px); }
.nav-backdrop.open  { opacity: 1; pointer-events: auto; }
.nav-drawer__head   { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border-sub); }
.nav-drawer__close  { width: 40px; height: 40px; background: rgba(0,0,0,0.06); border: none; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; color: var(--text-2); display: flex; align-items: center; justify-content: center; }
.nav-drawer__links  { padding: 8px; overflow-y: auto; }
.nav-drawer__links a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 400; transition: background .15s; }
.nav-drawer__links a:hover { background: rgba(0,0,0,0.04); text-decoration: none; }
.nav-drawer__links .section-sep { padding: 12px 12px 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); }
.nav-drawer__links .tag { font-size: 11px; color: var(--blue); font-weight: 700; min-width: 22px; }
body.nav-locked { overflow: hidden; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 24px; border-radius: 980px; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; border: none; transition: all .15s; font-family: var(--font); }
.btn:hover { text-decoration: none; }
.btn-primary   { background: var(--blue); color: #fff; }
.btn-primary:hover   { background: var(--blue-h); }
.btn-primary:active  { transform: scale(.98); }
.btn-secondary { background: rgba(0,0,0,0.07); color: var(--text); }
.btn-secondary:hover { background: rgba(0,0,0,0.1); }
.btn-ghost     { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-ghost:hover { background: var(--blue-bg); }
.btn-sm  { padding: 10px 18px; font-size: 13px; min-height: 40px; }
.btn-lg  { padding: 16px 32px; font-size: 17px; }
.btn-full { width: 100%; }

/* ===== CARDS ===== */
.card       { background: var(--bg-white); border-radius: var(--radius); border: 1px solid var(--border-sub); box-shadow: var(--shadow-xs); padding: 28px; }
.card-lg    { background: var(--bg-white); border-radius: var(--radius); border: 1px solid var(--border-sub); box-shadow: var(--shadow-sm); padding: 36px; }
.card-dark  { background: #1d1d1f; color: #f5f5f7; border-radius: var(--radius); padding: 28px; }

/* Tool cards — homepage only */
.tool-card         { display: flex; flex-direction: column; background: var(--bg-white); border-radius: var(--radius); border: 1px solid var(--border-sub); padding: 32px; text-decoration: none; transition: box-shadow .25s, transform .25s; }
.tool-card:hover   { box-shadow: var(--shadow-lg); transform: translateY(-3px); text-decoration: none; }
.tool-card__icon   { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; flex-shrink: 0; }
.tool-card__tag    { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.tool-card__name   { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; letter-spacing: -.01em; line-height: 1.2; }
.tool-card__desc   { font-size: 14px; line-height: 1.6; color: var(--text-2); flex: 1; margin-bottom: 20px; }
.tool-card__cta    { font-size: 14px; color: var(--blue); font-weight: 500; display: flex; align-items: center; gap: 4px; }

/* ===== FORM CONTROLS ===== */
.form-label   { display: block; font-size: 12px; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 11px 14px; background: var(--bg);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  /* Must be 16px+ to stop iOS Safari auto-zoom on focus. */
  font-size: 16px; color: var(--text); font-family: var(--font);
  transition: border-color .15s, box-shadow .15s;
  min-height: 44px; appearance: none; -webkit-appearance: none;
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,227,0.12); background: var(--bg-white); }
.form-control:hover:not(:focus) { border-color: #aeaeb2; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6e73' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.form-hint  { font-size: 12px; color: var(--text-3); margin-top: 5px; }
.form-group { margin-bottom: 16px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* Checkbox */
.check-label { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border-radius: 10px; cursor: pointer; transition: background .15s; }
.check-label:hover { background: var(--bg); }
.check-input { width: 20px; height: 20px; min-width: 20px; border: 1.5px solid var(--border); border-radius: 6px; appearance: none; cursor: pointer; background: var(--bg-white); transition: all .15s; margin-top: 1px; position: relative; }
.check-input:checked { background: var(--blue); border-color: var(--blue); }
.check-input:checked::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 10px; border: 2px solid white; border-top: none; border-left: none; transform: rotate(45deg); }
.check-body {}
.check-title { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.4; }
.check-desc  { font-size: 12px; color: var(--text-2); margin-top: 2px; }

/* ===== BADGES ===== */
.badge       { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.badge-blue  { background: var(--blue-bg);   color: var(--blue); }
.badge-green { background: var(--green-bg);  color: var(--green); }
.badge-amber { background: var(--amber-bg);  color: var(--amber); }
.badge-red   { background: var(--red-bg);    color: var(--red); }
.badge-gray  { background: rgba(0,0,0,0.06); color: var(--text-2); }

/* Severity tags */
.sev-tag      { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 20px; }
.sev-high     { background: var(--red-bg);   color: var(--red); }
.sev-med      { background: var(--amber-bg); color: var(--amber); }
.sev-low      { background: var(--green-bg); color: var(--green); }

/* ===== MODE TOGGLE BUTTONS ===== */
.mode-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.mode-btn  { padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; border: 1.5px solid var(--border); background: var(--bg-white); color: var(--text-2); transition: all .15s; min-height: 40px; }
.mode-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.mode-btn:hover:not(.active) { background: var(--bg); color: var(--text); }

/* ===== TICKER ===== */
.ticker-wrap   { overflow: hidden; white-space: nowrap; background: var(--bg-white); border-top: 1px solid var(--border-sub); border-bottom: 1px solid var(--border-sub); padding: 11px 0; }
.ticker-inner  { display: inline-block; animation: ticker-scroll 80s linear infinite; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item   { display: inline-flex; align-items: center; gap: 6px; margin: 0 28px; font-size: 13px; color: var(--text-2); }
.ticker-item strong { color: var(--text); font-weight: 600; }
.ticker-up   { color: var(--green); font-weight: 600; }
.ticker-down { color: var(--red);   font-weight: 600; }

/* ===== SKELETON ===== */
.skel { display: inline-block; background: linear-gradient(90deg, rgba(0,0,0,0.05), rgba(0,0,0,0.09), rgba(0,0,0,0.05)); background-size: 200% 100%; animation: skel-anim 1.4s infinite; border-radius: 6px; }
@keyframes skel-anim { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ===== PROGRESS BAR ===== */
.prog-bar       { height: 6px; background: var(--border-sub); border-radius: 99px; overflow: hidden; }
.prog-bar__fill { height: 100%; background: linear-gradient(90deg, var(--blue), #34aadc); border-radius: 99px; }

/* ===== TOOL HERO ===== */
.tool-hero    { background: #1d1d1f; color: #f5f5f7; padding: 52px 0 44px; }
.tool-hero p  { color: rgba(245,245,247,0.72); font-size: 17px; line-height: 1.6; max-width: 640px; margin-top: 10px; }

/* ===== TOOL LAYOUT (2-col) ===== */
.tool-body   { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .tool-body { grid-template-columns: 1fr; } }

/* ===== RESULT EMPTY STATE ===== */
.result-empty      { text-align: center; padding: 60px 24px; color: var(--text-3); }
.result-empty .ico { font-size: 44px; margin-bottom: 12px; }
.result-empty p    { font-size: 15px; max-width: 280px; margin: 0 auto; line-height: 1.5; }

/* ===== STAT GRID ===== */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border-sub); border-radius: var(--radius); overflow: hidden; }
.stat-cell { background: var(--bg-white); padding: 20px; }
.stat-val  { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.stat-val.blue  { color: var(--blue); }
.stat-val.green { color: var(--green); }
.stat-val.amber { color: var(--amber); }
.stat-val.red   { color: var(--red); }
.stat-lbl { font-size: 12px; color: var(--text-2); margin-top: 4px; line-height: 1.4; }

/* ===== VERDICT BANNER ===== */
.verdict { border-radius: var(--radius-sm); padding: 16px 20px; font-weight: 600; font-size: 14px; }
.verdict-red    { background: var(--red-bg);   color: var(--red);   border: 1px solid var(--red-border); }
.verdict-amber  { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-border); }
.verdict-green  { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.verdict-blue   { background: var(--blue-bg);  color: var(--blue);  border: 1px solid var(--blue-border); }

/* ===== ZONE RESULT ===== */
.zone-loc { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border-sub); }
.zone-loc__name { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.zone-loc__coords { font-size: 12px; color: var(--text-3); margin-bottom: 10px; }

.zone-summary { background: var(--bg-white); border: 1px solid var(--border-sub); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.zone-summary__name { font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -.01em; margin-bottom: 8px; }
.zone-summary__intent { font-size: 14px; line-height: 1.65; color: var(--text-2); margin-bottom: 20px; }

.zone-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 0; }
.zone-fact  { background: var(--bg); border-radius: 10px; padding: 13px 15px; }
.zone-fact.full { grid-column: 1 / -1; }
.zone-fact__lbl { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); margin-bottom: 4px; }
.zone-fact__val { font-size: 14px; color: var(--text); line-height: 1.45; }
.zone-fact__val.low    { color: var(--green); font-weight: 600; }
.zone-fact__val.medium { color: var(--amber); font-weight: 600; }
.zone-fact__val.high   { color: var(--red);   font-weight: 600; }

/* Implications / what-this-means bullets */
.implications { background: #f0f4ff; border: 1px solid rgba(0,113,227,0.15); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 16px; }
.implications__title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-bottom: 12px; }
.implications ul { list-style: none; }
.implications li { font-size: 14px; line-height: 1.6; color: var(--text); padding: 5px 0 5px 22px; position: relative; }
.implications li::before { position: absolute; left: 0; top: 5px; }
.implications li.ok::before     { content: '✓'; color: var(--green); font-weight: 700; }
.implications li.warn::before   { content: '⚠'; }
.implications li.stop::before   { content: '✕'; color: var(--red); font-weight: 700; }
.implications li.info::before   { content: '·'; color: var(--text-3); font-weight: 700; font-size: 18px; top: 2px; }

/* TNV Section */
.tnv-section { background: var(--green-bg); border: 1.5px solid var(--green-border); border-radius: var(--radius-sm); padding: 20px; margin-bottom: 16px; }
.tnv-section__header { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--green); margin-bottom: 6px; }
.tnv-section__intro  { font-size: 13px; color: var(--green); margin-bottom: 14px; line-height: 1.5; }
.tnv-item { background: var(--bg-white); border-radius: 10px; padding: 13px 15px; margin-bottom: 8px; border: 1px solid var(--green-border); }
.tnv-item:last-child { margin-bottom: 0; }
.tnv-item__name { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--green); margin-bottom: 5px; }
.tnv-item__desc { font-size: 13px; color: var(--text); line-height: 1.55; }

/* Overlay cards */
.overlay-section { margin-bottom: 16px; }
.overlay-section__title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 10px; }
.overlay-card     { border-radius: var(--radius-xs); padding: 14px 16px; margin-bottom: 8px; border: 1px solid; overflow: hidden; }
.overlay-card:last-child { margin-bottom: 0; }
.overlay-card__head  { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.overlay-card__name  { font-size: 14px; font-weight: 600; line-height: 1.3; }
.overlay-card__what  { font-size: 13px; line-height: 1.55; }
.overlay-card.sev-high { background: var(--red-bg);   border-color: var(--red-border); }
.overlay-card.sev-med  { background: var(--amber-bg); border-color: var(--amber-border); }
.overlay-card.sev-low  { background: var(--green-bg); border-color: var(--green-border); }
.overlay-card.sev-high .overlay-card__name { color: var(--red); }
.overlay-card.sev-med  .overlay-card__name { color: var(--amber); }
.overlay-card.sev-low  .overlay-card__name { color: var(--green); }
.overlay-card.sev-high .overlay-card__what { color: var(--text-2); }
.overlay-card.sev-med  .overlay-card__what { color: var(--text-2); }
.overlay-card.sev-low  .overlay-card__what { color: var(--text-2); }

/* Easements info */
.easements-note { background: #f0f6ff; border: 1px solid rgba(0,113,227,0.2); border-radius: var(--radius-xs); padding: 18px 20px; margin-top: 16px; }
.easements-note__title { font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.easements-note p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 8px; }
.easements-note a { font-size: 13px; color: var(--blue); font-weight: 600; }

.zone-disclaimer { font-size: 12px; color: var(--text-3); line-height: 1.6; margin-top: 16px; font-style: italic; }

/* Accuracy badge */
.accuracy-badge-polygon { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); padding: 5px 11px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 5px; }
.accuracy-badge-estimate { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-border); padding: 5px 11px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 5px; }

/* ===== COST ROWS ===== */
.cost-row     { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border-sub); gap: 16px; }
.cost-row:last-child { border-bottom: none; }
.cost-label   { font-size: 14px; color: var(--text); }
.cost-sub     { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.cost-val     { font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; }
.cost-val.zero { color: var(--green); }

/* ===== MARKET TEMP ROWS ===== */
.temp-row    { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-sub); }
.temp-row:last-child { border-bottom: none; }
.temp-row__label { font-size: 14px; color: var(--text); }
.temp-row__val   { font-size: 14px; font-weight: 600; color: var(--text); }

/* ===== SECTION HEADER ===== */
.sec-header   { text-align: center; margin-bottom: 52px; }
.sec-header .kicker { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .02em; margin-bottom: 14px; }
.sec-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.sec-header p  { font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 560px; margin: 0 auto; }

/* ===== FOOTER ===== */
.footer { background: #1d1d1f; color: rgba(245,245,247,0.65); }
/* Footer = 5 columns on wide desktops (brand + Tools + more Tools + Explore + Disclaimer),
   collapsing to 2 on tablet, 1 on phone. The !important defends against legacy inline
   grid-template-columns styles still present on some pages. */
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.9fr 0.9fr 0.8fr 0.9fr; gap: 40px; padding: 64px 0 48px; }
@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr !important; gap: 32px; } }
@media (max-width: 768px)  { .footer__grid { grid-template-columns: 1fr 1fr !important; gap: 28px; padding: 44px 0 32px; } }
@media (max-width: 480px)  { .footer__grid { grid-template-columns: 1fr !important; } }
.footer__logo      { font-size: 20px; font-weight: 700; color: #f5f5f7; letter-spacing: -.01em; margin-bottom: 6px; }
.footer__logo span { color: var(--blue); }
.footer__tag       { font-size: 13px; color: rgba(245,245,247,0.4); }
.footer h4         { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(245,245,247,0.45); margin-bottom: 14px; }
.footer a          { display: block; font-size: 13px; color: rgba(245,245,247,0.6); margin-bottom: 9px; text-decoration: none; transition: color .15s; }
.footer a:hover    { color: rgba(245,245,247,0.95); text-decoration: none; }
.footer__bottom    { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; text-align: center; font-size: 12px; color: rgba(245,245,247,0.28); }

/* ===== PROBLEM CARDS ===== */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card { background: var(--bg-white); border-radius: var(--radius); border: 1px solid var(--border-sub); padding: 32px; }
.problem-card .emoji { font-size: 28px; margin-bottom: 16px; }
.problem-card h3 { font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: -.01em; margin-bottom: 10px; }
.problem-card p  { font-size: 14px; line-height: 1.65; color: var(--text-2); }

/* ===== LIVE MARKET CARD ===== */
.live-dot { display: inline-block; width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: live-pulse 2s infinite; }
@keyframes live-pulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-blue   { color: var(--blue); }
.text-green  { color: var(--green); }
.text-amber  { color: var(--amber); }
.text-red    { color: var(--red); }
.text-muted  { color: var(--text-2); }
.text-dim    { color: var(--text-3); }
.fw-bold     { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track  { background: var(--bg); }
::-webkit-scrollbar-thumb  { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #aeaeb2; }

/* ===== ARTICLE PROSE (blog, suburb, glossary content pages) ===== */
.prose { font-size: 17px; line-height: 1.75; color: var(--text); }
.prose h2 { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.015em; color: var(--text); margin-top: 2.4rem; margin-bottom: 0.9rem; }
.prose h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-top: 1.8rem; margin-bottom: 0.7rem; }
.prose h4 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-top: 1.4rem; margin-bottom: 0.5rem; }
.prose p  { margin-bottom: 1.2rem; }
.prose a  { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue-h); }
.prose ul, .prose ol { margin-bottom: 1.2rem; padding-left: 1.5rem; }
.prose ul li { list-style-type: disc; margin-bottom: 0.45rem; }
.prose ol li { list-style-type: decimal; margin-bottom: 0.45rem; }
.prose strong { font-weight: 700; color: var(--text); }
.prose em { font-style: italic; }
.prose blockquote { border-left: 3px solid var(--blue); padding-left: 1rem; margin: 1.5rem 0; font-style: italic; color: var(--text-2); }
.prose code { background: var(--border-sub); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; font-family: 'SF Mono','Fira Code',monospace; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--border-sub); text-align: left; vertical-align: top; }
.prose th { background: var(--border-sub); font-weight: 700; color: var(--text); }
.prose .callout { background: var(--blue-bg); border: 1px solid var(--blue-border); border-left: 3px solid var(--blue); padding: 1rem 1.25rem; border-radius: 8px; margin: 1.5rem 0; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose .faq details { border-bottom: 1px solid var(--border-sub); padding: 1rem 0; }
.prose .faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--text); list-style: none; padding-right: 2rem; position: relative; }
.prose .faq summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 1.5rem; color: var(--blue); }
.prose .faq details[open] summary::after { content: '−'; }
.prose .faq summary::-webkit-details-marker { display: none; }
.prose .faq details > p { margin-top: 0.75rem; color: var(--text-2); line-height: 1.7; }
.severity-high { color: var(--red); font-weight: 700; }
.severity-med  { color: var(--amber); font-weight: 700; }
.severity-low  { color: var(--green); font-weight: 700; }

/* ===== ARTICLE PAGE STRUCTURE ===== */
.article-breadcrumb { font-size: 12px; color: var(--text-3); margin-bottom: 24px; }
.article-breadcrumb a { color: var(--text-2); text-decoration: none; }
.article-breadcrumb a:hover { color: var(--blue); }
.article-breadcrumb .sep { margin: 0 6px; }
.article-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; background: var(--blue-bg); color: var(--blue); margin-bottom: 14px; }
.article-header { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border-sub); }
.article-header h1 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); margin-bottom: 16px; }
.article-header .standfirst { font-size: 18px; line-height: 1.65; color: var(--text-2); }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-3); flex-wrap: wrap; margin-bottom: 8px; }
.article-category { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); }
.article-cta { background: var(--bg-white); border: 1px solid var(--border-sub); border-radius: var(--radius); padding: 28px; margin-top: 48px; box-shadow: var(--shadow-xs); }
.article-cta .kicker { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-bottom: 10px; }
.article-cta h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); letter-spacing: -0.01em; margin-bottom: 8px; }
.article-cta p { font-size: 14px; color: var(--text-2); margin-bottom: 20px; line-height: 1.6; }

/* ===== INDEX / LISTING PAGE CARDS ===== */
.index-header { padding: 48px 0 28px; }
.index-header h1 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin-bottom: 12px; }
.index-header p { font-size: 17px; color: var(--text-2); max-width: 560px; line-height: 1.6; }
.index-header .badge { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); background: var(--blue-bg); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }
.section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-3); margin-bottom: 14px; margin-top: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border-sub); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 32px; }
.card-link { display: flex; flex-direction: column; padding: 22px; background: var(--bg-white); border: 1px solid var(--border-sub); border-radius: var(--radius-sm); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.card-link:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); text-decoration: none; }
.card-link h2 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 7px; letter-spacing: -0.01em; line-height: 1.3; }
.card-link p  { font-size: 13px; color: var(--text-2); line-height: 1.6; flex: 1; margin-bottom: 10px; }
.card-link .cta-arrow { font-size: 12px; color: var(--blue); font-weight: 500; margin-top: auto; }
.featured-post { display: block; background: var(--bg-white); border: 1px solid var(--border-sub); border-radius: var(--radius); padding: 32px; margin-bottom: 40px; text-decoration: none; transition: border-color .15s; }
.featured-post:hover { border-color: var(--blue); text-decoration: none; }
.featured-post .meta { font-size: 12px; color: var(--text-3); margin-bottom: 12px; }
.featured-post .tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--amber-bg); color: var(--amber); padding: 2px 8px; border-radius: 999px; margin-right: 8px; }
.featured-post h2 { font-size: clamp(1.2rem,2.5vw,1.75rem); font-weight: 700; color: var(--text); letter-spacing: -0.015em; margin-bottom: 10px; line-height: 1.2; }
.featured-post p  { font-size: 15px; color: var(--text-2); line-height: 1.65; }
.featured-post .read-more { font-size: 13px; color: var(--blue); font-weight: 500; margin-top: 14px; display: block; }
.pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.pill-green { background: var(--green-bg); color: var(--green); }
.pill-blue  { background: var(--blue-bg); color: var(--blue); }
.pill-amber { background: var(--amber-bg); color: var(--amber); }
.pill-red   { background: var(--red-bg); color: var(--red); }
.index-cta { background: var(--blue-bg); border: 1px solid var(--blue-border); border-radius: var(--radius); padding: 28px; margin-top: 40px; }
.index-cta h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.index-cta p  { font-size: 14px; color: var(--text-2); margin-bottom: 20px; line-height: 1.6; }
.cat-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
