:root {
  --bg: #FAF8F5;
  --fg: #1A1612;
  --muted: #7A7067;
  --accent: #B5451B;
  --accent-light: #E8DDD4;
  --signal-green: #3A7D44;
  --signal-off: #C4BFB8;
  --nav-bg: #1A1612;
  --nav-fg: #FAF8F5;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav { background: var(--nav-bg); color: var(--nav-fg); padding: 1rem 2rem; }
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-family: 'Bitter', serif; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.nav-tagline { font-size: 0.85rem; opacity: 0.5; font-family: 'DM Sans', sans-serif; }

/* ── HERO ── */
.hero { padding: 5rem 2rem 4rem; }
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 600; margin-bottom: 1.25rem; }
.hero-headline { font-family: 'Bitter', serif; font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.hero-sub { font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 42ch; margin-bottom: 1.75rem; }
.hero-meta { display: flex; align-items: center; gap: 0.75rem; }
.meta-pill { background: var(--accent-light); color: var(--accent); font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 99px; }
.meta-sep { color: var(--muted); font-size: 0.75rem; }

/* ── SIGNAL GRID ── */
.signal-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.signal-card { background: white; border: 1px solid var(--accent-light); border-radius: 12px; padding: 1rem 1.25rem; display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 0.75rem; }
.signal-card.signal-active { border-color: var(--signal-green); }
.signal-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal-green); display: block; flex-shrink: 0; }
.signal-dot--off { background: var(--signal-off); }
.signal-name { font-weight: 600; font-size: 0.85rem; }
.signal-event { color: var(--muted); font-size: 0.8rem; }
.signal-time { font-size: 0.7rem; color: var(--muted); white-space: nowrap; text-align: right; }

/* ── SECTION LABEL ── */
.section-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); font-weight: 600; margin-bottom: 1.5rem; }

/* ── HOW IT WORKS ── */
.how { padding: 4rem 2rem; background: var(--fg); color: var(--bg); }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how .section-label { color: #C4BFB8; }
.how-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 2rem; }
.step-num { font-family: 'Bitter', serif; font-size: 2rem; font-weight: 700; color: var(--accent); display: block; margin-bottom: 0.75rem; }
.step h3 { font-family: 'Bitter', serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: #C4BFB8; line-height: 1.65; }
.step-divider { width: 1px; background: #3A3530; align-self: stretch; }

/* ── FEATURES ── */
.features { padding: 5rem 2rem; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-headline { font-family: 'Bitter', serif; font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
.features-sub { color: var(--muted); max-width: 52ch; line-height: 1.7; margin-bottom: 3rem; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.feature { }
.feature-icon { font-size: 1.25rem; color: var(--accent); display: block; margin-bottom: 0.5rem; }
.feature h4 { font-family: 'Bitter', serif; font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.feature p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ── NEIGHBORHOODS ── */
.neighborhoods { padding: 4rem 2rem; background: #F0EAE2; }
.neighborhoods-inner { max-width: 1100px; margin: 0 auto; }
.hood-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 1.25rem; }
.hood-card { background: white; border-radius: 14px; padding: 1.75rem 1.5rem; border: 1px solid #E0D6C8; }
.hood-name { font-family: 'Bitter', serif; font-size: 1rem; font-weight: 700; display: block; margin-bottom: 0.4rem; }
.hood-desc { font-size: 0.8rem; color: var(--muted); }

/* ── CLOSING ── */
.closing { padding: 5rem 2rem; background: var(--accent); color: white; }
.closing-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.closing-quote { font-family: 'Bitter', serif; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 600; line-height: 1.3; opacity: 0.95; }

/* ── FOOTER ── */
.footer { padding: 2rem; background: var(--nav-bg); color: var(--nav-fg); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-family: 'Bitter', serif; font-weight: 700; font-size: 1rem; }
.footer-copy { font-size: 0.8rem; opacity: 0.45; }

/* ── NAV ── */
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { font-size: 0.85rem; color: var(--nav-fg); text-decoration: none; opacity: 0.75; transition: opacity 0.2s; }
.nav-link:hover { opacity: 1; }

/* ── PRICING ── */
.pricing { padding: 5rem 2rem; background: var(--bg); }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-headline { font-family: 'Bitter', serif; font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1rem; }
.pricing-sub { color: var(--muted); max-width: 52ch; line-height: 1.7; margin-bottom: 3rem; }

.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 4rem; align-items: start; }

.pricing-card { background: white; border: 2px solid var(--accent-light); border-radius: 16px; padding: 2rem; position: relative; display: flex; flex-direction: column; gap: 0; }
.pricing-card--featured { border-color: var(--accent); box-shadow: 0 4px 24px rgba(181,69,27,0.12); }
.card-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: white; font-size: 0.7rem; font-weight: 600; padding: 0.25rem 0.875rem; border-radius: 99px; white-space: nowrap; }

.card-header { margin-bottom: 1.5rem; }
.card-tier { font-family: 'Bitter', serif; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); display: block; margin-bottom: 0.5rem; }
.card-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.5rem; }
.price-amount { font-family: 'Bitter', serif; font-size: 2.5rem; font-weight: 700; color: var(--fg); }
.price-period { font-size: 1rem; color: var(--muted); }
.card-tagline { font-size: 0.875rem; color: var(--muted); }

.card-features { list-style: none; flex: 1; margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.feat { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; line-height: 1.5; }
.feat-icon { flex-shrink: 0; color: var(--accent); font-size: 0.875rem; margin-top: 0.05rem; }
.feat--on { color: var(--fg); }
.feat--off { color: var(--muted); }
.feat--off .feat-icon { color: var(--signal-off); }

/* ── BUTTONS ── */
.btn { display: inline-block; text-align: center; padding: 0.75rem 1.5rem; border-radius: 8px; font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: all 0.2s; cursor: pointer; border: 2px solid transparent; }
.btn--primary { background: var(--accent); color: white; }
.btn--primary:hover { background: #9a3a16; }
.btn--outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn--outline:hover { background: var(--accent-light); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.8rem; }

/* ── PRICING TABLE ── */
.pricing-table-wrap { margin-bottom: 3rem; }
.table-label { display: block; margin-bottom: 1rem; }
.pricing-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; background: white; border-radius: 12px; overflow: hidden; border: 1px solid var(--accent-light); }
.pricing-table th { background: var(--accent-light); color: var(--accent); font-family: 'Bitter', serif; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.875rem 1.25rem; text-align: center; }
.pricing-table th:first-child { text-align: left; }
.pricing-table td { padding: 0.75rem 1.25rem; border-top: 1px solid #f0ebe4; text-align: center; color: var(--muted); }
.pricing-table td:first-child { text-align: left; color: var(--fg); font-weight: 500; }
.table-featured { background: #fdf5f1; }
.pricing-table .check { color: var(--signal-green); font-size: 1rem; }
.tr-price td { border-top: 2px solid var(--accent-light); padding-top: 1.25rem; }
.td-price { font-family: 'Bitter', serif; font-size: 1.1rem; font-weight: 700; color: var(--fg); }
.tr-cta td { padding-bottom: 1.25rem; }

/* ── RESIDENT CALLOUT ── */
.resident-callout { background: #F0EAE2; border: 1px solid #E0D6C8; border-radius: 12px; padding: 1.5rem 2rem; display: flex; align-items: flex-start; gap: 1rem; font-size: 0.95rem; line-height: 1.6; max-width: 680px; }
.callout-icon { font-size: 1.25rem; color: var(--accent); flex-shrink: 0; margin-top: 0.05rem; }

/* ── SUCCESS BANNER ── */
.success-banner { background: #e8f5e9; border-bottom: 1px solid #c8e6c9; padding: 1.25rem 2rem; display: flex; align-items: flex-start; gap: 1rem; }
.success-icon { font-size: 1.25rem; color: var(--signal-green); flex-shrink: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-right { order: -1; }
  .how-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .step-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .hood-grid { grid-template-columns: 1fr 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-table { font-size: 0.8rem; }
  .pricing-table td, .pricing-table th { padding: 0.5rem 0.75rem; }
}

@media (max-width: 480px) {
  .hood-grid { grid-template-columns: 1fr; }
  .nav-tagline { display: none; }
  .pricing-table { display: block; overflow-x: auto; }
}