/* CivicPet marketing — Option D Soft Maple / Lake
   Self-contained landing styles (high specificity under .mkt). */

.mkt {
  --mkt-display: "Fraunces", Georgia, "Times New Roman", serif;
  --mkt-sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
  --mkt-ink: #0f172a;
  --mkt-muted: #475569;
  --mkt-lake: #0284c7;
  --mkt-lake-deep: #0369a1;
  --mkt-lake-soft: #e0f2fe;
  --mkt-maple: #d97706;
  --mkt-forest: #166534;
  --mkt-snow: #f8fafc;
  --mkt-white: #ffffff;
  --mkt-border: #e2e8f0;
  --mkt-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 18px 40px rgba(15, 23, 42, 0.07);
  --mkt-shadow-lg: 0 24px 60px rgba(2, 132, 199, 0.16);
  font-family: var(--mkt-sans) !important;
  color: var(--mkt-ink);
  background: var(--mkt-snow);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.mkt a {
  text-decoration: none;
}

.mkt .cp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.7rem;
  background: var(--mkt-lake);
  color: #fff !important;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.35rem;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.28);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.mkt .cp-btn:hover {
  background: var(--mkt-lake-deep);
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(2, 132, 199, 0.32);
}

.mkt .cp-btn-secondary {
  background: #fff;
  color: var(--mkt-lake-deep) !important;
  border: 1.5px solid rgba(2, 132, 199, 0.35);
  box-shadow: none;
}

.mkt .cp-btn-secondary:hover {
  background: var(--mkt-lake-soft);
  color: var(--mkt-lake-deep) !important;
  border-color: var(--mkt-lake);
}

/* —— Top nav —— */
.mkt-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  backdrop-filter: blur(14px);
}

.mkt-top__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.9rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mkt-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.mkt-nav a {
  color: var(--mkt-ink);
  font-weight: 650;
  font-size: 0.95rem;
}

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

.mkt-nav-cta {
  padding: 0.6rem 1rem !important;
  font-size: 0.92rem !important;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.22) !important;
}

/* —— Hero (full-bleed atmosphere) —— */
.mkt-hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #bae6fd;
}

.mkt-hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 80% at 85% 15%, rgba(255, 255, 255, 0.55), transparent 50%),
    radial-gradient(ellipse 70% 60% at 10% 90%, rgba(217, 119, 6, 0.14), transparent 55%),
    linear-gradient(160deg, #f8fafc 0%, #e0f2fe 28%, #7dd3fc 68%, #38bdf8 100%);
}

.mkt-hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(3, 105, 161, 0.45) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}

.mkt-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  z-index: 2;
  height: 96px;
  color: var(--mkt-snow);
}

.mkt-hero__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mkt-hero__inner {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 5rem 1.4rem 6.5rem;
  text-align: center;
}

.mkt-brand-line {
  margin: 0 0 1.1rem;
  font-family: var(--mkt-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--mkt-ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.mkt-headline {
  margin: 0 auto;
  max-width: 18ch;
  font-family: var(--mkt-sans);
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--mkt-lake-deep);
}

.mkt-lead {
  margin: 1.15rem auto 1.75rem;
  max-width: 34rem;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--mkt-muted);
}

.mkt-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* —— Trust pills —— */
.mkt-trust {
  position: relative;
  z-index: 4;
  margin-top: -1.25rem;
  padding: 0 1.25rem 0.5rem;
}

.mkt-trust__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 960px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.mkt-trust__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(2, 132, 199, 0.22);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  font-weight: 750;
  font-size: 0.92rem;
  color: var(--mkt-ink);
}

.mkt-trust__list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--mkt-lake);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* —— Sections —— */
.mkt-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 3.75rem 1.35rem 1.5rem;
}

.mkt-section__head {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.mkt-section__head h2 {
  margin: 0 0 0.55rem;
  font-family: var(--mkt-display);
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  color: var(--mkt-ink);
}

.mkt-section__head p {
  margin: 0;
  color: var(--mkt-muted);
  font-size: 1.08rem;
}

.mkt-section--pricing {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

/* —— Why municipalities choose CivicPet —— */
.mkt-why {
  position: relative;
  padding: 1rem 0 0.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(2, 132, 199, 0.1), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(217, 119, 6, 0.08), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--mkt-lake-soft) 45%, #fff 100%);
}

.mkt-why__oneliner {
  max-width: 46rem;
  margin: 0 auto;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--mkt-ink);
  font-weight: 600;
}

.mkt-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
  margin: 0 0 1.75rem;
}

.mkt-compare__card {
  background: #fff;
  border: 1px solid var(--mkt-border);
  border-radius: 1.15rem;
  padding: 1.35rem 1.4rem 1.45rem;
  box-shadow: var(--mkt-shadow);
}

.mkt-compare__card--pain {
  border-color: rgba(100, 116, 139, 0.35);
  background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
}

.mkt-compare__card--answer {
  border-color: rgba(2, 132, 199, 0.28);
  background: linear-gradient(180deg, #fff 0%, #f0f9ff 100%);
  box-shadow: var(--mkt-shadow-lg);
}

.mkt-compare__label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mkt-muted);
}

.mkt-compare__card--answer .mkt-compare__label {
  color: var(--mkt-lake-deep);
}

.mkt-compare__card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--mkt-display);
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.mkt-compare__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mkt-compare__card li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.15rem;
  color: var(--mkt-muted);
  font-size: 0.98rem;
}

.mkt-compare__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #94a3b8;
}

.mkt-compare__card--answer li::before {
  background: var(--mkt-lake);
}

.mkt-compare__card code {
  font-size: 0.9em;
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
  background: var(--mkt-lake-soft);
  color: var(--mkt-lake-deep);
}

.mkt-compare__arrow {
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--mkt-maple);
  padding-top: 2.5rem;
}

.mkt-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mkt-why-tile {
  background: #fff;
  border: 1px solid var(--mkt-border);
  border-radius: 1.1rem;
  padding: 1.2rem 1.25rem 1.3rem;
  box-shadow: var(--mkt-shadow);
  border-top: 3px solid var(--mkt-lake);
}

.mkt-why-tile h3 {
  margin: 0 0 0.4rem;
  font-family: var(--mkt-display);
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--mkt-ink);
}

.mkt-why-tile p {
  margin: 0;
  color: var(--mkt-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.mkt-why-tile--wide {
  grid-column: 1 / -1;
  border-top-color: var(--mkt-maple);
  background: linear-gradient(120deg, #fff 0%, #fff7ed 55%, #e0f2fe 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1.25rem;
}

.mkt-why-tile--wide h3 {
  flex: 1 1 16rem;
}

.mkt-why-tile--wide p {
  flex: 2 1 18rem;
}

/* —— Feature cards —— */
.mkt-features {
  padding: 2.5rem 0 1rem;
  background:
    linear-gradient(180deg, var(--mkt-snow) 0%, #fff 40%, var(--mkt-snow) 100%);
}

.mkt-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.mkt-feature {
  position: relative;
  background: #fff;
  border: 1px solid var(--mkt-border);
  border-radius: 1.15rem;
  padding: 1.35rem 1.3rem 1.4rem;
  box-shadow: var(--mkt-shadow);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mkt-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--mkt-lake) 0%, #38bdf8 100%);
}

.mkt-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: var(--mkt-shadow-lg);
}

.mkt-feature__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.95rem;
  background: linear-gradient(160deg, #e0f2fe, #bae6fd);
  color: var(--mkt-lake-deep);
  border: 1px solid rgba(2, 132, 199, 0.18);
}

.mkt-feature__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mkt-feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--mkt-ink);
}

.mkt-feature p {
  margin: 0;
  color: var(--mkt-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* —— Pricing —— */
.mkt-pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 880px;
  margin: 0 auto;
}

.mkt-plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--mkt-border);
  border-radius: 1.35rem;
  padding: 1.75rem 1.55rem 1.6rem;
  box-shadow: var(--mkt-shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mkt-plan--featured {
  border-color: rgba(2, 132, 199, 0.45);
  background:
    linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow: var(--mkt-shadow-lg);
}

.mkt-plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(2, 132, 199, 0.12);
  color: var(--mkt-lake-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mkt-plan h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--mkt-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mkt-price {
  margin: 0.55rem 0 0.25rem;
  font-family: var(--mkt-display);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--mkt-lake);
}

.mkt-price span {
  font-family: var(--mkt-sans);
  font-size: 1rem;
  font-weight: 650;
  color: var(--mkt-muted);
  margin-left: 0.15rem;
}

.mkt-plan-meta {
  margin: 0 0 0.85rem;
  color: var(--mkt-muted);
  font-size: 0.95rem;
}

.mkt-plan-trial {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(22, 101, 52, 0.1);
  color: var(--mkt-forest);
  font-weight: 800;
  font-size: 0.85rem;
}

.mkt-plan-points {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.mkt-plan-points li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.45rem;
  border-top: 1px solid var(--mkt-border);
  font-weight: 650;
  color: var(--mkt-ink);
}

.mkt-plan-points li:first-child {
  border-top: 0;
}

.mkt-plan-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--mkt-lake);
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px rgba(2, 132, 199, 0.35);
}

.mkt-plan .cp-btn {
  width: 100%;
}

/* —— Closing —— */
.mkt-closing {
  margin: 2.5rem 0 0;
  padding: 4rem 1.35rem 4.75rem;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(56, 189, 248, 0.28), transparent 60%),
    linear-gradient(180deg, #e0f2fe 0%, #f8fafc 100%);
  text-align: center;
}

.mkt-closing__inner {
  max-width: 36rem;
  margin: 0 auto;
}

.mkt-closing h2 {
  margin: 0 0 0.6rem;
  font-family: var(--mkt-display);
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.mkt-closing p {
  margin: 0 0 1.45rem;
  color: var(--mkt-muted);
  font-size: 1.08rem;
}

/* —— Footer —— */
.mkt-footer {
  border-top: 1px solid var(--mkt-border);
  padding: 1.75rem 1.25rem 2.75rem;
  text-align: center;
  color: var(--mkt-muted);
  background: #fff;
}

.mkt-footer .cp-brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--mkt-ink);
}

.mkt-footer .cp-brand span {
  color: var(--mkt-lake);
}

.mkt-footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  margin: 0.85rem 0 0.55rem;
}

.mkt-footer-nav a {
  color: var(--mkt-lake);
  font-weight: 700;
}

.mkt-footer-nav a:hover {
  color: var(--mkt-lake-deep);
}

@media (max-width: 960px) {
  .mkt-feature-grid,
  .mkt-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mkt-compare {
    grid-template-columns: 1fr;
  }

  .mkt-compare__arrow {
    padding: 0;
    transform: rotate(90deg);
  }
}

@media (max-width: 720px) {
  .mkt-hero {
    min-height: auto;
  }

  .mkt-hero__inner {
    padding: 3.5rem 1.2rem 5.25rem;
    text-align: left;
  }

  .mkt-cta-row {
    justify-content: flex-start;
  }

  .mkt-section__head {
    text-align: left;
  }

  .mkt-feature-grid,
  .mkt-why-grid,
  .mkt-pricing {
    grid-template-columns: 1fr;
  }

  .mkt-why-tile--wide {
    grid-column: auto;
  }

  .mkt-top__inner {
    flex-wrap: wrap;
  }

  .mkt-nav {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mkt .cp-btn,
  .mkt-feature {
    transition: none;
  }
}
