:root {
  --primary: #1669C9;
  --primary-dark: #104a8e;
  --surface: #FFFFFF;
  --surface-alt: #F4F7FB;
  --surface-high: #E8EEF5;
  --text: #101418;
  --text-muted: #5B626A;
  --outline: #C4CBD3;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(16, 20, 24, 0.08);
  --max-width: 1100px;

  /* Issue status accents (paired with text labels — never color-only) */
  --status-reported: #6B7280;
  --status-acknowledged: #0EA5E9;
  --status-in-progress: #F59E0B;
  --status-under-review: #8B5CF6;
  --status-resolved: #10B981;
  --status-closed: #374151;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.text-center {
  text-align: center;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--outline);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  white-space: nowrap;
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: rgba(22, 105, 201, 0.06);
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.btn-light:hover {
  background: #f0f4fa;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-large {
  padding: 14px 28px;
  font-size: 1rem;
}

.icon {
  width: 18px;
  height: 18px;
}

/* Hero */
.hero {
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #F4F7FB 0%, #FFFFFF 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 12px;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-tagline {
  margin: 24px 0 0;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* Phone mockup */
.phone-mockup {
  width: 280px;
  height: 520px;
  margin: 0 auto;
  border: 10px solid var(--text);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-screen {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  overflow-y: auto;
}

.card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-image {
  height: 110px;
  background: var(--surface-high);
}

.card-image-road {
  background: linear-gradient(135deg, #8a97a5 0%, #5B626A 60%, #3d444b 100%);
}

.card-image-resolved {
  background: linear-gradient(135deg, #6EE7B7 0%, #10B981 100%);
}

.card-body {
  padding: 14px;
}

.card-body h3 {
  margin: 8px 0 4px;
  font-size: 1rem;
}

.meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.card-footer {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Status pills — color always paired with a text label */
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-reported {
  background: #E5E7EB;
  color: #374151;
}

.status-acknowledged {
  background: #E0F2FE;
  color: #075985;
}

.status-in-progress {
  background: #FEF3C7;
  color: #92400E;
}

.status-under-review {
  background: #EDE9FE;
  color: #5B21B6;
}

.status-resolved {
  background: #D1FAE5;
  color: #065F46;
}

.status-closed {
  background: #E5E7EB;
  color: #111827;
}

/* Stats strip */
.stats-strip {
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
  background: var(--surface);
  padding: 28px 0 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stats-note {
  margin: 12px auto 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 40px;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 760px;
  margin: -24px auto 40px;
}

/* About values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.value h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--primary);
}

.value p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.step {
  text-align: center;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
}

.step-number {
  width: 48px;
  height: 48px;
  line-height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.step p {
  color: var(--text-muted);
  margin: 0;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature {
  padding: 24px;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Live issues */
.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.issue-card {
  padding: 20px;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.2s, transform 0.15s;
}

.issue-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.issue-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.issue-code {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.issue-card h3 {
  margin: 4px 0 2px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.issues-fallback-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: -16px 0 24px;
}

/* Cities */
.cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.city {
  padding: 8px 18px;
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--surface);
}

/* Impact */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.impact-item {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
}

.impact-item h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.impact-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.partner-card {
  padding: 24px;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  background: var(--surface);
}

.partner-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--primary);
}

.partner-card p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.partner-ask {
  padding-top: 12px;
  border-top: 1px dashed var(--outline);
  font-size: 0.9rem;
}

.partner-ask strong {
  color: var(--text);
}

.partner-card-cta {
  background: var(--surface-alt);
  border-color: var(--primary);
}

/* CTA */
.section-cta {
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.section-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.section-cta p {
  margin: 0 0 28px;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--text);
  color: #fff;
  padding: 48px 0 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-inner p {
  margin: 6px 0 0;
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 4px;
}

.footer-col a {
  color: #fff;
  opacity: 0.85;
  font-size: 0.95rem;
}

.footer-col a:hover {
  opacity: 1;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 14px;
    padding-top: 8px;
    flex-wrap: wrap;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mockup {
    width: 240px;
    height: 440px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .issue-card {
    transition: none;
  }
}
