/* Pulse product shell — CommunitasIQ branded */

:root {
  --pulse-navy: #002340;
  --pulse-green: #2e7d32;
  --pulse-teal: #009688;
  --pulse-blue: #4466a5;
  --pulse-text: #1a1a1a;
  --pulse-muted: #5c6670;
  --pulse-border: #e6e6e6;
  --pulse-bg: #f4f6f8;
  --pulse-white: #ffffff;
  --pulse-font: "Source Sans 3", "Segoe UI", sans-serif;
  --pulse-display: "Montserrat", "Segoe UI", sans-serif;
  --pulse-max: 1100px;
  --pulse-radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--pulse-font);
  color: var(--pulse-text);
  background: var(--pulse-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--pulse-blue);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pulse-navy);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.pulse-wrap {
  width: min(100% - 2rem, var(--pulse-max));
  margin-inline: auto;
}

/* Site topbar — matches homepage (sticky, frost on scroll; Back left, Hello! right, logo centered) */
:root {
  --header-height: 4.8rem;
  --site-topbar-max: 1140px;
}

.site-topbar {
  position: sticky;
  top: 0;
  height: var(--header-height);
  min-height: var(--header-height);
  max-height: var(--header-height);
  background-color: #002340;
  box-shadow: none;
  border-bottom: none;
  overflow: visible;
  z-index: 50;
  display: flex;
  align-items: center;
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease,
    -webkit-backdrop-filter 0.35s ease;
}

.site-topbar.is-scrolled {
  background-color: rgba(0, 35, 64, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.site-topbar__inner {
  width: min(100% - 2.5rem, var(--site-topbar-max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

.site-topbar__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0.45rem 0;
}

.site-topbar__logo {
  display: block;
  width: auto;
  height: auto;
  max-height: calc(var(--header-height) - 1.4rem);
  max-width: 2.75rem;
  object-fit: contain;
}

.site-topbar__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-topbar__nav--left {
  left: 0;
  right: auto;
}

.site-topbar__nav--right {
  right: 0;
  left: auto;
}

.site-topbar__nav a {
  color: #fff;
  text-decoration: none;
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-topbar__nav a:hover,
.site-topbar__nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: #fff;
}


/* Hero + search — blue→green fade kept; type matches free-app band on main site */
.pulse-hero {
  background:
    linear-gradient(135deg, rgba(0, 35, 64, 0.94) 0%, rgba(0, 35, 64, 0.88) 55%, rgba(46, 125, 50, 0.75) 100%),
    var(--pulse-navy);
  color: #fff;
  padding: 1.75rem 0;
}

/* Match “Custom Neighborhood Database App Included Free” title; left-aligned */
.pulse-hero__title {
  margin: 0 0 1rem;
  font-family: var(--pulse-display);
  font-size: clamp(1.575rem, 2.88vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: left;
  max-width: none;
  color: #fff;
}

/* Match free-app bullet / body text on main site */
.pulse-hero__lead {
  margin: 0 0 1.1rem;
  max-width: none;
  font-family: var(--pulse-font);
  font-size: clamp(1.08rem, 0.55vw + 1.02rem, 1.42rem);
  font-weight: 400;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.pulse-search__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
}

.pulse-search__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 40rem;
}

.pulse-search__input {
  flex: 1 1 16rem;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border: 2px solid transparent;
  border-radius: var(--pulse-radius);
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--pulse-text);
  background: #fff;
}

.pulse-search__input:focus {
  outline: none;
  border-color: var(--pulse-teal);
  box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.35);
}

.pulse-search__btn {
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  border: 0;
  border-radius: var(--pulse-radius);
  background: var(--pulse-green);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.pulse-search__btn:hover {
  background: #256628;
}

.pulse-search__hint {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 40rem;
}

/* Results */
.pulse-results {
  padding: 2rem 0 3rem;
}

.pulse-results__banner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.25rem;
  background: var(--pulse-bg);
  border: 1px solid var(--pulse-border);
  border-left: 4px solid var(--pulse-green);
  border-radius: var(--pulse-radius);
}

.pulse-results__label {
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pulse-muted);
}

.pulse-results__address {
  margin: 0;
  font-family: var(--pulse-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pulse-navy);
}

.pulse-results__clear {
  border: 1px solid var(--pulse-navy);
  background: #fff;
  color: var(--pulse-navy);
  border-radius: 4px;
  padding: 0.45rem 0.9rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.pulse-results__clear:hover {
  background: var(--pulse-navy);
  color: #fff;
}

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.pulse-card {
  background: #fff;
  border: 1px solid var(--pulse-border);
  border-radius: var(--pulse-radius);
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 35, 64, 0.05);
}

.pulse-card__title {
  margin: 0 0 0.85rem;
  font-family: var(--pulse-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--pulse-navy);
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--pulse-green);
}

.pulse-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pulse-card__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
}

.pulse-card__list li span {
  color: var(--pulse-muted);
}

.pulse-card__list li strong {
  color: var(--pulse-navy);
  font-weight: 600;
  text-align: right;
}

.pulse-card__body {
  margin: 0;
  font-size: 0.95rem;
  color: var(--pulse-text);
  line-height: 1.45;
}

.pulse-card__empty {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--pulse-muted);
}

.pulse-card__meta {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--pulse-muted);
}

/* About */
.pulse-about {
  background: var(--pulse-bg);
  padding: 2.75rem 0;
  border-top: 1px solid var(--pulse-border);
}

.pulse-about h2 {
  margin: 0 0 0.75rem;
  font-family: var(--pulse-display);
  font-size: 1.5rem;
  color: var(--pulse-navy);
}

.pulse-about p {
  margin: 0 0 1rem;
  max-width: 42rem;
  color: var(--pulse-text);
}

.pulse-about__points {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--pulse-text);
}

.pulse-about__points li {
  margin-bottom: 0.4rem;
}

/* CTA */
.pulse-cta {
  background: var(--pulse-green);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}

.pulse-cta h2 {
  margin: 0 0 0.5rem;
  font-family: var(--pulse-display);
  font-size: 1.45rem;
}

.pulse-cta p {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.92);
}

.pulse-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  background: #fff;
  color: var(--pulse-navy);
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}

.pulse-cta__btn:hover {
  background: #f0f0f0;
}

/* Footer */
.pulse-footer {
  background: var(--pulse-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.25rem 0;
  font-size: 0.88rem;
}

.pulse-footer__inner {
  text-align: center;
}

.pulse-footer p {
  margin: 0 0 0.35rem;
}

@media (max-width: 720px) {
  .pulse-grid {
    grid-template-columns: 1fr;
  }

  .pulse-hero {
    padding: 1.75rem 0;
  }
}
