/* ─── Variables ─── */
:root {
  --navy:      #0D1F3C;
  --navy-mid:  #1A3A5C;
  --amber:     #F59E0B;
  --amber-dim: #D97706;
  --green:     #10B981;
  --red:       #EF4444;
  --off-white: #FAFAF8;
  --light-gray:#F3F2EE;
  --mid-gray:  #6B7280;
  --dark-gray: #374151;
  --white:     #FFFFFF;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--off-white);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,31,60,0.07);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-cta-pill {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background: var(--amber);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  transition: background 0.15s;
  letter-spacing: -0.01em;
}

.nav-cta-pill:hover {
  background: var(--amber-dim);
}

/* ─── Hero ─── */
.hero {
  padding: 5rem 2rem 4rem;
  background: var(--off-white);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 480px;
}
.hero-sub--strong {
  font-weight: 600;
  color: var(--navy);
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

/* ─── Dashboard mockup ─── */
.dashboard-mockup {
  background: var(--navy);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(13,31,60,0.18), 0 8px 24px rgba(13,31,60,0.12);
  font-family: 'DM Sans', sans-serif;
}
.mockup-header {
  background: #162d50;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.mockup-title {
  margin-left: 0.75rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.03em;
}
.mockup-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 280px;
}
.mockup-sidebar {
  background: #0f1f35;
  padding: 1.25rem 0.75rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.25rem;
}
.sidebar-item--active {
  background: rgba(245,158,11,0.12);
  color: var(--amber);
}
.sidebar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.sidebar-dot--amber { background: var(--amber); }
.sidebar-dot--green { background: var(--green); }
.sidebar-dot--red { background: var(--red); }
.sidebar-count {
  margin-left: auto;
  font-size: 0.65rem;
  background: rgba(255,255,255,0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 10px;
}
.mockup-main {
  padding: 1rem 1rem 1rem 1.25rem;
}
.property-row {
  display: grid;
  grid-template-columns: 1.8fr 1.4fr 1.6fr 1fr 1fr;
  gap: 0.4rem;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.6);
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  margin-bottom: 0.2rem;
  align-items: center;
}
.property-row--head {
  color: rgba(255,255,255,0.3);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.p-name  { color: rgba(255,255,255,0.85); font-weight: 500; }
.p-council { color: rgba(255,255,255,0.5); }
.p-scheme { font-size: 0.62rem; color: rgba(255,255,255,0.45); }
.p-status { font-size: 0.62rem; font-weight: 600; padding: 0.15rem 0.4rem; border-radius: 4px; text-align: center; }
.p-status--amber { background: rgba(245,158,11,0.15); color: var(--amber); }
.p-status--green { background: rgba(16,185,105,0.15); color: var(--green); }
.p-status--red   { background: rgba(239,68,68,0.15);  color: var(--red);   }
.p-dead  { color: rgba(255,255,255,0.4); font-size: 0.62rem; }

/* ─── Problem ─── */
.problem { background: var(--navy); padding: 5rem 2rem; }
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem .section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 3rem;
  max-width: 680px;
}
.problem .section-title em { color: var(--amber); font-style: normal; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.problem-card { padding: 0; }
.problem-stat {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.problem-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ─── Features ─── */
.features { padding: 5rem 2rem; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.features .section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 3rem;
  max-width: 560px;
}
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 4rem; }
.feature-item { display: flex; gap: 1.25rem; }
.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--light-gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.feature-text h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.feature-text p { font-size: 0.9rem; color: var(--dark-gray); line-height: 1.65; }

/* ─── How (comparison) ─── */
.how { padding: 4rem 2rem; background: var(--light-gray); }
.how-inner { max-width: 900px; margin: 0 auto; }
.how .section-eyebrow { margin-bottom: 0.75rem; }
.how .section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--navy);
  margin-bottom: 2.5rem;
}
.how-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0 2rem; align-items: start; }
.how-col-title { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mid-gray); margin-bottom: 1rem; }
.how-list { list-style: none; }
.how-list li { font-size: 0.9rem; padding: 0.5rem 0; line-height: 1.5; display: flex; gap: 0.5rem; }
.how-list--bad li::before { content: '✗'; color: var(--red); font-weight: 700; }
.how-list--bad li { color: var(--mid-gray); }
.how-list--good li::before { content: '✓'; color: var(--green); font-weight: 700; }
.how-list--good li { color: var(--navy); font-weight: 500; }
.how-divider { display: flex; align-items: center; color: var(--amber); padding-top: 2rem; }

/* ─── Coverage ─── */
.coverage { padding: 5rem 2rem; background: var(--navy); }
.coverage-inner { max-width: 1200px; margin: 0 auto; }
.coverage .section-eyebrow { color: var(--amber); }
.coverage .section-title { color: var(--white); font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 3vw, 2.4rem); margin-bottom: 1.25rem; }
.coverage-sub { font-size: 1rem; color: rgba(255,255,255,0.6); max-width: 600px; line-height: 1.7; margin-bottom: 3rem; }
.coverage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.coverage-region { border-left: 2px solid rgba(245,158,11,0.25); padding-left: 1.25rem; }
.region-title { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.35rem; }
.region-count { font-size: 0.78rem; color: var(--amber); font-weight: 600; margin-bottom: 0.75rem; }
.region-detail { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ─── Closing ─── */
.closing { padding: 6rem 2rem; background: var(--amber); }
.closing-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.closing-sub {
  font-size: 1.05rem;
  color: rgba(13,31,60,0.7);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
}

/* ─── Footer ─── */
.footer { padding: 3rem 2rem; background: var(--navy-mid); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-note { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.6; max-width: 480px; margin-bottom: 1rem; }
.footer-legal { font-size: 0.75rem; color: rgba(255,255,255,0.25); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .how-divider { display: none; }
}
@media (max-width: 600px) {
  .problem-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .features, .problem, .coverage, .closing { padding: 3.5rem 1.25rem; }
  .how { padding: 3rem 1.25rem; }
  .nav-inner { padding: 0.9rem 1.25rem; }
}