/* ─── Content Pages Shared Stylesheet ───────────────────────────
   Generated by generate.py — do not edit output directly.
   Source: generator/templates/content.css
   Luxury-editorial design system: warm ivory, hairlines, serif
   display type, gold reserved for trust signals & key numbers.
   ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Archivo', sans-serif;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--terra); color: #fff; }

:root {
  --blue: #1e5b3f;
  --blue-dark: #123c29;
  --blue-light: #edf6f0;
  --footer-bg: #15120e;
  --terra: #6d4aa8;
  --terra-dark: #4e3279;
  --navy: #16382a;
  --navy-deep: color-mix(in srgb, #16382a, #000 38%);
  --off-white: #f7f4ee;
  --white: #fffdf9;
  --text-muted: #5f5b54;
  --border: #e7e2d8;
  --gold-line: color-mix(in srgb, #6d4aa8, #fff 35%);
  --shadow-sm: 0 2px 14px rgba(28, 23, 16, 0.07);
  --shadow-md: 0 14px 44px rgba(28, 23, 16, 0.10);
  --shadow-lg: 0 24px 70px rgba(28, 23, 16, 0.16);
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 2px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --deep: #0b1c15;
}

h1, h2 { font-family: 'Archivo', Georgia, serif; line-height: 1.16; font-weight: 500; letter-spacing: -0.012em; }
h3 { font-family: 'Archivo', sans-serif; font-weight: 650; line-height: 1.3; }
h4 { font-family: 'Archivo', sans-serif; font-weight: 600; line-height: 1.35; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.section-pad { padding: clamp(64px, 8vw, 112px) 0; }

/* ─── Buttons — sharp, uppercase, deliberate ──────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 36px; border-radius: var(--radius-pill);
  font-family: 'Archivo', sans-serif; font-size: 0.78rem;
  font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,0.18); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--terra); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-sm { padding: 12px 24px; font-size: 0.72rem; }

/* ─── Section Labels ─────────────────────────────────────────── */
.section-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.7rem; font-weight: 650; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--terra-dark); margin-bottom: 18px;
}
.section-label::before {
  content: ''; display: inline-block; width: 36px; height: 1px;
  background: var(--terra);
}

/* ─── NAV ─────────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(255,253,249,0.95); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav-logo {
  font-family: 'Archivo', Georgia, serif;
  font-size: 1.45rem; font-weight: 600; line-height: 1; flex-shrink: 0;
  letter-spacing: 0.01em;
}
.nav-logo span:first-child { color: var(--navy); }
.nav-logo span:last-child { color: var(--terra-dark); font-style: italic; }

/* ─── Nav Brand (header logo) ─────────────── */
.nav-brand {
  display: flex; align-items: center;
  flex-shrink: 1; min-width: 0; text-decoration: none;
}
.nav-brand-img { height: 44px; width: auto; display: block; max-width: min(200px, calc(100vw - 80px)); }

/* ─── Developer Logo Badge ───────────────────────────────────── */
.dev-logo-badge {
  display: inline-flex; background: var(--white);
  border-radius: var(--radius-sm); padding: 12px 20px;
  margin-bottom: 28px; box-shadow: 0 2px 14px rgba(0,0,0,0.16);
  border: 1px solid color-mix(in srgb, var(--terra), transparent 50%);
}
.dev-logo-img { height: 60px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 13px; font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy);
  position: relative; transition: color var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 1px; background: var(--terra);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--terra-dark); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 14px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--navy); transition: var(--transition); }

/* ─── Mobile Menu ─────────────────────────────────────────────── */
.mobile-menu {
  display: none; flex-direction: column; gap: 4px; padding: 16px 24px 28px;
  background: var(--white); border-bottom: 1px solid var(--border);
  position: fixed; top: 76px; left: 0; right: 0; z-index: 899;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 14px 0; font-size: 0.92rem; font-weight: 550;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 1px solid var(--border); color: var(--navy);
}
.mobile-link:last-of-type { border-bottom: none; }

/* ─── Page Hero Banner ───────────────────────────────────────── */
.page-hero {
  padding-top: 76px;
  background:
    radial-gradient(ellipse 70% 70% at 85% 0%, color-mix(in srgb, #6d4aa8, transparent 86%), transparent),
    linear-gradient(130deg, var(--deep) 0%, #16382a 75%);
  color: #fff;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(to right, transparent, #6d4aa8, transparent);
  opacity: 0.6;
}
.page-hero-inner { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.page-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 24px; flex-wrap: wrap;
}
.page-breadcrumb a { color: rgba(255,255,255,0.72); transition: color var(--transition); }
.page-breadcrumb a:hover { color: var(--gold-line); }
.page-breadcrumb span { color: rgba(255,255,255,0.3); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 18px; }
.page-hero .hero-desc { font-size: clamp(1rem, 1.5vw, 1.12rem); color: rgba(255,255,255,0.8); max-width: 720px; line-height: 1.8; font-weight: 350; }
.page-hero-meta { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.hero-meta-item { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.75); }
.hero-meta-item svg { width: 16px; height: 16px; fill: var(--terra); flex-shrink: 0; }

/* ─── Content Layout ─────────────────────────────────────────── */
.content-grid { display: grid; grid-template-columns: 1fr 348px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.article-body { min-width: 0; }
.article-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--navy); margin: 48px 0 16px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-family: 'Archivo', Georgia, serif; font-size: 1.3rem; font-weight: 550; color: var(--navy); margin: 32px 0 12px; }
.article-body p { color: #3d3a34; margin-bottom: 18px; font-size: 1rem; line-height: 1.85; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 9px; color: #3d3a34; font-size: 1rem; line-height: 1.75; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body li::marker { color: var(--terra-dark); }
.article-body strong { color: var(--navy); font-weight: 650; }
.article-body a { color: var(--terra-dark); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: var(--transition); font-weight: 550; }
.article-body a:hover { text-decoration-color: var(--terra-dark); }

/* ─── Stat Callout Boxes ─────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 32px 0; }
.stat-box {
  background: var(--off-white); border: 1px solid var(--border);
  border-top: 2px solid var(--terra);
  border-radius: var(--radius-sm); padding: 24px 16px; text-align: center;
}
.stat-box .stat-num { font-family: 'Archivo', serif; font-size: 2rem; font-weight: 500; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.stat-box .stat-label { font-size: 0.7rem; font-weight: 650; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; }

/* ─── Info Cards ─────────────────────────────────────────────── */
.info-card { background: var(--off-white); border-radius: var(--radius-sm); border: 1px solid var(--border); border-left: 3px solid var(--terra); padding: 26px 28px; margin: 28px 0; }
.info-card h4 { color: var(--navy); margin-bottom: 12px; font-size: 1rem; font-weight: 650; }
.info-card ul { margin-left: 16px; }
.info-card li { list-style: disc; color: #3d3a34; font-size: 0.92rem; margin-bottom: 7px; }
.info-card li::marker { color: var(--terra-dark); }

/* ─── Highlight Strip ────────────────────────────────────────── */
.highlight-strip {
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, color-mix(in srgb, var(--terra), transparent 84%), transparent),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-md); padding: 36px; margin: 36px 0; color: #fff;
  border: 1px solid color-mix(in srgb, var(--terra), transparent 60%);
}
.highlight-strip h3 { font-family: 'Archivo', Georgia, serif; font-size: 1.35rem; font-weight: 550; color: #fff; margin-bottom: 12px; }
.highlight-strip p { color: rgba(255,255,255,0.85); margin-bottom: 0; }

/* ─── Sidebar ────────────────────────────────────────────────── */
.sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 30px 28px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.sidebar-card.primary {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; border-color: color-mix(in srgb, var(--terra), transparent 55%);
}
.sidebar-card.primary::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--terra-dark), var(--terra), var(--gold-line));
}
.sidebar-card.primary h3 { font-family: 'Archivo', Georgia, serif; color: #fff; margin-bottom: 8px; font-size: 1.3rem; font-weight: 550; }
.sidebar-card.primary p { color: rgba(255,255,255,0.82); font-size: 0.9rem; margin-bottom: 22px; }
.sidebar-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 18px; }
.sidebar-card .btn { width: 100%; justify-content: center; }
.sidebar-card.primary .btn-primary { background: var(--terra-dark); border-color: var(--terra-dark); }
.sidebar-card.primary .btn-primary:hover { background: var(--terra); border-color: var(--terra); }
.sidebar-stats { display: flex; flex-direction: column; gap: 12px; }
.sidebar-stat { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.sidebar-stat:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-stat .label { color: var(--text-muted); }
.sidebar-stat .value { font-family: 'Archivo', Georgia, serif; font-weight: 550; font-size: 1rem; color: var(--navy); }
.related-links { display: flex; flex-direction: column; gap: 8px; }
.related-link {
  display: flex; align-items: center; gap: 11px; padding: 12px 15px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  font-size: 0.86rem; font-weight: 550; color: var(--navy); transition: var(--transition);
}
.related-link:hover { border-color: var(--terra); color: var(--terra-dark); background: var(--off-white); }
.related-link svg { width: 14px; height: 14px; fill: var(--terra-dark); flex-shrink: 0; }

/* ─── CTA Section ────────────────────────────────────────────── */
.cta-section {
  background:
    radial-gradient(ellipse 70% 60% at 80% 10%, color-mix(in srgb, #6d4aa8, transparent 86%), transparent),
    linear-gradient(120deg, var(--deep) 0%, #16382a 100%);
  color: #fff; padding: clamp(64px, 9vw, 104px) 0; text-align: center;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, #6d4aa8, transparent);
  opacity: 0.6;
}
.cta-section h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 18px; }
.cta-section p { color: rgba(255,255,255,0.78); font-size: 1.02rem; max-width: 580px; margin: 0 auto 36px; line-height: 1.8; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; font-weight: 700; }
.btn-white:hover { background: var(--gold-line); border-color: var(--gold-line); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: color-mix(in srgb, var(--terra), transparent 25%); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--gold-line); }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer { background: var(--footer-bg); color: rgba(255,255,255,0.65); border-top: 1px solid color-mix(in srgb, var(--terra), transparent 70%); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding: clamp(48px, 6vw, 72px) 0 40px; flex-wrap: wrap; }
.footer-brand p { font-size: 0.84rem; line-height: 1.7; max-width: 300px; color: rgba(255,255,255,0.6); }
.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-nav-col h4 { font-size: 0.68rem; font-weight: 650; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terra); margin-bottom: 16px; }
.footer-nav-col a { display: block; font-size: 0.86rem; color: rgba(255,255,255,0.62); padding: 4px 0; transition: color var(--transition); margin-bottom: 3px; }
.footer-nav-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.footer-rera { font-size: 0.75rem; line-height: 1.7; max-width: 700px; color: rgba(255,255,255,0.55); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.42); white-space: nowrap; letter-spacing: 0.04em; }
footer address { font-style: normal; margin-top: 16px; font-size: 0.85rem; color: rgba(255,255,255,0.62); line-height: 1.7; }
footer address a { color: rgba(255,255,255,0.85); transition: color var(--transition); }
footer address a:hover { color: var(--gold-line); }
.footer-brand .nav-logo { margin-bottom: 10px; }
.footer-brand .nav-logo span:first-child { color: #fff; }
.footer-brand .nav-logo span:last-child { color: var(--terra); }

/* ─── Table ──────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-sm); margin: 28px 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.data-table th { background: var(--navy); color: rgba(255,255,255,0.88); padding: 14px 18px; text-align: left; font-weight: 650; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.data-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); color: #3d3a34; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--off-white); }
.data-table .highlight-col { font-weight: 650; color: var(--navy); }

/* ─── Tags / Badges ──────────────────────────────────────────── */
.tag { display: inline-flex; align-items: center; padding: 5px 13px; border-radius: var(--radius-pill); font-size: 0.7rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; }
.tag-green { background: var(--off-white); color: var(--navy); border: 1px solid var(--border); }
.tag-gold { background: color-mix(in srgb, var(--terra), #fff 88%); color: var(--terra-dark); border: 1px solid color-mix(in srgb, var(--terra), #fff 55%); }

/* ─── Amenity Grid ───────────────────────────────────────────── */
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 28px 0; }
.amenity-item { display: flex; align-items: flex-start; gap: 14px; padding: 20px 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: var(--transition); }
.amenity-item:hover { border-color: var(--terra); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.amenity-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--off-white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem; }
.amenity-item h4 { font-size: 0.92rem; font-weight: 650; color: var(--navy); margin-bottom: 4px; }
.amenity-item p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ─── Timeline ───────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 32px; margin: 28px 0; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--navy); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--terra); }
.timeline-item h4 { font-size: 0.96rem; font-weight: 650; color: var(--navy); margin-bottom: 4px; }
.timeline-item p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.timeline-year { font-family: 'Archivo', Georgia, serif; font-size: 0.92rem; font-style: italic; font-weight: 500; color: var(--terra-dark); letter-spacing: 0.04em; margin-bottom: 6px; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-top { flex-direction: column; }
  .footer-nav { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .amenity-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .data-table { font-size: 0.82rem; }
  .data-table th, .data-table td { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
button:focus-visible, a:focus-visible { outline: 2px solid var(--terra-dark); outline-offset: 3px; }

/* ─── Sticky Mobile CTA Bar ──────────────────────────────────── */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 850;
  background: rgba(255, 253, 249, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(28, 23, 16, 0.1);
  padding: 10px 14px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
@media (max-width: 768px) {
  .sticky-cta-bar { display: flex; }
  body { padding-bottom: 70px; }
}
.sticky-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.sticky-cta-btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.sticky-cta-btn.enquire { background: var(--blue); color: #fff; }

/* ─── Trust Bar (content pages) ─────────────────────────────── */
#trust-bar { background: var(--off-white); border-bottom: 1px solid var(--border); }
.trust-bar-inner {
  max-width: 1240px; margin: 0 auto; padding: 16px clamp(20px, 4vw, 56px);
  display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center; align-items: center;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.84rem; font-weight: 650; color: var(--navy); letter-spacing: 0.02em; }
.trust-item svg { width: 22px; height: 22px; fill: var(--terra-dark); flex-shrink: 0; }
.trust-item-sub { font-weight: 400; color: var(--text-muted); }

/* ─── Comparison Table ───────────────────────────────────────── */
.comparison-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-sm); margin: 28px 0; background: var(--white); }
table.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.comparison-table th { background: var(--navy); color: rgba(255,255,255,0.88); padding: 14px 18px; text-align: left; font-weight: 650; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
table.comparison-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); color: #3d3a34; }
table.comparison-table tr:last-child td { border-bottom: none; }
table.comparison-table tr.highlight-row td { background: color-mix(in srgb, var(--terra), #fff 90%); font-weight: 650; color: var(--navy); }

/* ─── Neighborhood Scorecard ─────────────────────────────────── */
.scorecard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 28px 0; }
.scorecard-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 24px 18px; text-align: center; transition: var(--transition); }
.scorecard-item:hover { border-color: var(--terra); box-shadow: var(--shadow-sm); }
.scorecard-score { font-family: 'Archivo', serif; font-size: 2rem; font-weight: 500; color: var(--navy); line-height: 1; }
.scorecard-max { font-family: 'Archivo', serif; font-size: 1rem; font-style: italic; color: var(--terra-dark); }
.scorecard-label { font-weight: 650; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 10px 0 4px; color: var(--navy); }
.scorecard-desc { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ─── EMI Calculator (content pages) ────────────────────────── */
.emi-card { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: clamp(28px, 4vw, 44px); }
.emi-field { margin-bottom: 28px; }
.emi-field-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.emi-field-head output { font-family: 'Archivo', Georgia, serif; font-size: 1.2rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--navy); }
.emi-field input[type="range"] {
  width: 100%; height: 4px; border-radius: 2px; background: var(--border);
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.emi-field input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; width: 22px; height: 22px;
  border-radius: 50%; background: var(--navy); cursor: pointer; border: 2px solid var(--terra);
  box-shadow: 0 1px 5px rgba(0,0,0,0.25);
}
.emi-field input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--navy);
  cursor: pointer; border: 2px solid var(--terra); box-shadow: 0 1px 5px rgba(0,0,0,0.25);
}
.emi-result {
  text-align: center; padding: 30px 24px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 1px solid color-mix(in srgb, var(--terra), transparent 60%);
  border-radius: var(--radius-sm); margin: 28px 0;
}
.emi-result-label { font-size: 0.68rem; font-weight: 650; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terra); margin-bottom: 10px; }
.emi-result-value { font-family: 'Archivo', serif; font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; line-height: 1; }
.emi-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.emi-breakdown-item { text-align: center; padding: 16px 14px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.emi-breakdown-label { font-size: 0.66rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px; }
.emi-breakdown-value { font-family: 'Archivo', Georgia, serif; font-weight: 550; color: var(--navy); font-size: 1.15rem; }
.emi-disclaimer { font-size: 0.76rem; color: var(--text-muted); text-align: center; margin-top: 16px; }
