:root {
  --blue: #08569F;
  --blue-50: #E0ECF6;
  --blue-100: #B3CDE6;
  --blue-200: #80AAD3;
  --blue-300: #4D86C0;
  --blue-400: #2061AB;
  --blue-500: #08569F;
  --blue-600: #064B8A;
  --blue-700: #043F72;
  --blue-800: #033258;
  --blue-900: #01263F;
  --hero-gradient: linear-gradient(135deg, #01263F 0%, #08569F 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  color: #1f2937;
  background: #08569F;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.bg-hero-gradient {
  background-image: var(--hero-gradient);
}

.ubuntu-bold {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--blue-500);
  font-weight: 600;
  font-size: 1.15rem;
}

.brand-logo-desktop {
  height: 2rem;
  display: none;
}

.brand-logo-mobile {
  height: 4rem;
}

.brand-text {
  display: none;
}

.nav-toggle {
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-links {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a:hover,
.mobile-menu a:hover {
  color: var(--blue-500);
}

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
}

.mobile-menu a:hover {
  background: #f3f4f6;
}

/* Hero */
.hero {
  position: relative;
  background: url("images/town.png") center / cover no-repeat;
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: var(--hero-gradient);
  opacity: 0.75;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.15;
  font-weight: 700;
}

.hero p {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 3vw, 1.875rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 4rem;
}

.btn {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background-color 0.2s ease, transform 0.15s ease;
  border: 0;
  cursor: pointer;
}

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

.btn-white {
  background: #fff;
  color: #2563eb;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: #d1d5db;
}

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

.btn-blue:hover {
  background: var(--blue-300);
}

/* Plans */
.plans {
  padding: 5rem 0;
  background: #e5e7eb;
}

.plans h2 {
  margin: 0 0 3rem;
  text-align: center;
  color: var(--blue-500);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.plans-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.card {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: var(--blue);
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  color: #fff;
  background-image: var(--hero-gradient);
}

.card-header img {
  height: 3rem;
  width: 3rem;
  background: #fff;
  border-radius: 0.25rem;
}

.card-header h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
}

.card-badge {
  text-align: center;
  background: var(--blue-300);
  color: #fff;
  font-weight: 600;
  padding: 0.35rem;
  min-height: 1.75rem;
}

.card-badge.spacer {
  background: transparent;
  color: transparent;
}

.price {
  text-align: center;
  padding-bottom: 2rem;
}

.price-amount {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1;
}

.price-amount .dollar,
.price-amount .star {
  font-size: 1.25rem;
  vertical-align: top;
}

.price-label {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 600;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0 2rem;
  flex: 1;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--blue-400);
  font-size: 1.05rem;
}

.feature-list li:last-child {
  border-bottom: 0;
}

.feature-list .icon {
  width: 2rem;
  color: #6b7280;
  text-align: center;
}

.card-cta {
  padding: 2rem;
  text-align: center;
}

.neighbor-card img {
  display: block;
  width: 100%;
}

.neighbor-body {
  padding: 2rem;
  text-align: center;
  color: var(--blue);
}

.neighbor-body h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--blue);
}

.neighbor-body p {
  margin: 2rem 0 0;
  text-align: left;
  font-size: 1rem;
  line-height: 1.6;
}

/* Construction */
.construction {
  padding: 5rem 1.25rem 2.5rem;
}

.construction-panel {
  background: #fed7aa;
  border: 4px solid #fb923c;
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.construction-panel h2 {
  margin: 0 0 3rem;
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: #000;
}

.construction-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.construction-copy h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.construction-copy p {
  color: #374151;
  line-height: 1.7;
  margin: 0 0 1rem;
}

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

.construction-media img {
  border-radius: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.construction-media h3 {
  margin: 1.25rem 0 0;
  font-size: 1.5rem;
}

/* Footer */
.footer {
  background: var(--blue);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}

.footer h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 3vw, 1.875rem);
}

.footer p {
  margin: 0 0 1rem;
}

.footer .fine-print {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Signup page */
.signup-hero {
  background-image: var(--hero-gradient);
  color: #fff;
  text-align: center;
  padding: 2.5rem 1rem;
}

.signup-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.signup-hero p {
  margin: 0;
  opacity: 0.95;
  max-width: 40rem;
  margin-inline: auto;
}

.signup-section {
  background: #e5e7eb;
  padding: 3rem 0 4rem;
}

.form-card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 40rem;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--blue-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font: inherit;
  color: #111827;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--blue-300);
  border-color: var(--blue-400);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-actions {
  margin-top: 1.5rem;
  text-align: center;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}

.form-note a {
  color: var(--blue-500);
  text-decoration: underline;
}

#business_name_group {
  display: none;
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 0;
  }

  .brand-logo-desktop,
  .brand-text {
    display: block;
  }

  .brand-logo-mobile,
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .mobile-menu.open {
    display: none;
  }

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

  .price-amount .dollar,
  .price-amount .star {
    font-size: 1.5rem;
  }

  .price-label {
    font-size: 0.875rem;
  }
}

@media (min-width: 1280px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .construction-layout {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .construction-copy,
  .construction-media {
    width: 48%;
  }
}
