.municipal {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: #2e2e2e;
  background: #fff;
  overflow-x: hidden;
}

.section-eyebrow {
      font-size: 16px;
      color: #666;
      text-transform: uppercase;
      line-height: 24px;
      margin-bottom: 4px;
    }

.h-40 {
      font-family: 'Roboto Flex', sans-serif;
      font-weight: 700;
      font-size: 40px;
      line-height: 1.2;
      color: #000;
      font-variation-settings: "GRAD" 0, "XOPQ" 96, "XTRA" 468, "YOPQ" 79,
        "YTAS" 750, "YTDE" -203, "YTFI" 738, "YTLC" 514, "YTUC" 712, "wdth" 112;
    }

@media (max-width: 991px) { .h-40 { font-size: 32px; } }

@media (max-width: 575px) { .h-40 { font-size: 26px; } }

.h-20 {
      font-family: 'Roboto Flex', sans-serif;
      font-weight: 700;
      font-size: 20px;
      line-height: 1.2;
      color: #000;
      font-variation-settings: "GRAD" 0, "XOPQ" 96, "XTRA" 468, "YOPQ" 79,
        "YTAS" 750, "YTDE" -203, "YTFI" 738, "YTLC" 514, "YTUC" 712, "wdth" 112;
    }

.body-18 { font-size: 18px; line-height: 24px; color: #2e2e2e; }

.body-16 { font-size: 16px; line-height: 24px; color: #666; }

.dot-accent-sm {
      display: inline-block;
      width: 12px; height: 12px;
      border-radius: 50%;
      background: #1eb7fb;
      margin-left: 4px;
      vertical-align: super;
    }

.built-section {
      background: rgba(2,11,15,0.02);
      padding: 184px 70px 120px;
    }

@media (max-width: 991px) { .built-section { padding: 80px 0; } }

.app-preview-box {
      background: #fff;
      border-radius: 8px;
      border: 2px solid #4dc9e6;
      overflow: hidden;
      min-height: 540px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

  .app-preview-inner {
    width: 100%; height: 100%;
    min-height: 400px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: #666;
  }

.dot-decorators {
      position: absolute;
      top: 10px; left: 10px;
      display: flex; gap: 8px;
    }

.dot-dec {
      width: 12px; height: 12px;
      border-radius: 50%;
      background: linear-gradient(135deg, #FFA8BD, #696EFF);
      opacity: 0.6;
    }

.municipal-preview { min-height: 508px; }

.stat-strip-row {
      border-top: 1px solid rgba(153,153,153,0.25);
      display: flex;
          margin-bottom: 36px;
  }

.stat-strip-item {
      flex: 1;
      padding: 28px 24px;
      border-left: 1px solid rgba(153,153,153,0.25);
    }
@media (max-width: 991px) { 
  .stat-strip-item {
    padding: 24px 16px; 
  }
}
.stat-strip-item:first-child { border-left: none; }

.stat-strip-value {
      font-family: 'Roboto Flex', sans-serif;
      font-weight: 700;
      font-size: 20px;
      line-height: 1.2;
      color: #000;
      font-variation-settings: "GRAD" 0, "XOPQ" 96, "XTRA" 468, "YOPQ" 79,
        "YTAS" 750, "YTDE" -203, "YTFI" 738, "YTLC" 514, "YTUC" 712, "wdth" 112;
      display: block;
      margin-bottom: 8px;
    }

.explore-link {
      display: inline-flex;
      align-items: center;
      gap: 64px;
      border-bottom: 1px solid #999;
      padding-bottom: 12px;
      font-size: 18px;
      font-weight: 500;
      color: #1e1e1e;
      text-decoration: none;
    }

.explore-link:hover { color: #1eb7fb; }

.explore-link .arr {
      width: 16px; height: 16px;
      border-radius: 50%;
      background: #000;
      display: inline-flex; align-items: center; justify-content: center;
    }

/* Municipal chat widget */
.municipal-widget {
  --brand-blue-light: #4f72d4;
  --brand-blue:       #2b4bab;
  --brand-navy:       #1a2e4a;
  --brand-gold:       #e8c840;

  --ink:        #111827;
  --ink-soft:   #374151;
  --ink-mute:   #9ca3af;
  --line:       #e5e7eb;
  --line-soft:  #f3f4f6;
  --surface:    #ffffff;
  --bubble:     #f0f1f3;

  width: 100%; height: 100%; 
  background: transparent;
  display: flex; align-items: center; justify-content: center;
}

.municipal-widget .chat-card{
  width: 100%;
  height: 508px;
  max-width: 100%;
  max-height: 100%;
  background: var(--surface);
  border: none;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.municipal-widget .chat-messages-wrapper{
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.municipal-widget .chat-messages-wrapper::before{
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: linear-gradient(to bottom, var(--surface) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.municipal-widget .chat-messages{
  height: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding: 24px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: none;
}
.municipal-widget .chat-messages::-webkit-scrollbar{ display: none; }

.municipal-widget .msg-user{
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  flex-shrink: 0;
  margin-top: 32px;
}
.municipal-widget .msg-user:first-child{ margin-top: 0; }
.municipal-widget .msg-user.visible{ opacity: 1; transform: translateY(0); }

.municipal-widget .user-bubble{
  background: var(--bubble);
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.5;
  padding: 10px 15px;
  border-radius: 18px 18px 4px 18px;
  max-width: 74%;
}

.municipal-widget .msg-ai{
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  flex-shrink: 0;
}
.municipal-widget .msg-ai.visible{ opacity: 1; transform: translateY(0); }

.municipal-widget .ai-badge{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--brand-blue-light) 0%, var(--brand-blue) 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px 6px 10px;
  border-radius: 50px;
  width: fit-content;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
  margin-bottom: -14px;
  margin-left: 2px;
  box-shadow: 0 2px 8px rgba(43, 75, 171, 0.25);
}

.municipal-widget .ai-badge svg{
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.municipal-widget .ai-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 12px 12px 12px;
  padding: 22px 16px 15px;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.6;
  max-width: 92%;
  margin-left: 2px;
}

.municipal-widget .ai-para{
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.municipal-widget .ai-lead{
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.municipal-widget .ai-sub{
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 10px;
  margin-bottom: 5px;
}

.municipal-widget .ai-bullets{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.municipal-widget .ai-bullets li{
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.38s ease, transform 0.38s ease;
}
.municipal-widget .ai-bullets li.visible{ opacity: 1; transform: translateY(0); }

.municipal-widget .bullet-dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gold);
  flex-shrink: 0;
  margin-top: 5px;
}
.municipal-widget .ai-bullets li strong{ font-weight: 600; color: var(--ink); }

.municipal-widget .stream-cursor{
  display: inline-block;
  width: 2px;
  height: 12px;
  background: var(--ink-mute);
  margin-left: 2px;
  vertical-align: middle;
  border-radius: 1px;
  animation: blink-cur 0.72s infinite;
}
@keyframes blink-cur {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.municipal-widget .msg-typing{
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  flex-shrink: 0;
}
.municipal-widget .msg-typing.visible{ opacity: 1; transform: translateY(0); }

.municipal-widget .typing-bubble{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 12px 12px 12px;
  padding: 32px 14px 14px;
  width: 32%;
  min-width: 150px;
  position: relative;
  margin-top: -14px;
  margin-left: 2px;
}

.municipal-widget .skeleton-line{
  height: 9px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite ease-in-out;
  margin-bottom: 7px;
}
.municipal-widget .skeleton-line:last-child{ margin-bottom: 0; }
.municipal-widget .skeleton-line.short{ width: 55%; }

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.municipal-widget .chat-input-bar{
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px 14px;
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
}

.municipal-widget .chat-input-field{
  flex: 1;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 50px;
  background: #f9fafb;
  padding: 0 18px;
  font-size: 13.5px;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  cursor: default;
}
.municipal-widget .chat-input-field.typing{ color: var(--ink); }
.municipal-widget .chat-input-field.typing::after{
  content: '|';
  animation: blink 0.75s infinite;
  color: #6b7280;
  margin-left: 1px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.municipal-widget .chat-send-btn{
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-navy);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.municipal-widget .send-icon{
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: reduce) {
  .municipal-widget .msg-user, .municipal-widget .msg-ai, .municipal-widget .msg-typing, .municipal-widget .ai-bullets li{
    transition: none;
    opacity: 1;
    transform: none;
  }
  .municipal-widget .skeleton-line, .municipal-widget .stream-cursor, .municipal-widget .chat-input-field.typing::after{ animation: none; }
  .municipal-widget .chat-messages{ scroll-behavior: auto; }
}
