/* Match main site .container: 1140px, 2.5rem side gutters */
.pulse-wrap {
  width: min(100% - 2.5rem, 1140px);
}

.aws-brief {
  background: #fff;
  padding: 2.5rem 0 3rem;
}

.aws-box {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 35, 64, 0.05);
  padding: 1.75rem 1.75rem 2rem;
  box-sizing: border-box;
}

.aws-box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #e6e6e6;
}

.aws-box > * {
  position: relative;
  z-index: 2;
}

.aws-brief__title {
  margin: 0 0 0.2rem;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: clamp(1.575rem, 2.88vw, 2.25rem);
  font-weight: 550;
  line-height: 1.15;
  color: var(--pulse-navy);
  letter-spacing: -0.02em;
}

.aws-disclaimer {
  margin: 0 0 1.5rem;
  font-family: "Source Sans Pro", "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: #c62828;
}

.aws-box,
.aws-prompt,
.aws-meta,
.aws-email,
.aws-search__hint,
.aws-q-label,
.aws-status,
.aws-follow,
.aws-chip {
  font-family: "Source Sans Pro", "Source Sans 3", "Segoe UI", sans-serif;
}

.aws-meta {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
}

.aws-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--pulse-border);
}

.aws-meta li span,
.aws-prompt,
.aws-search__hint,
.aws-email,
.aws-q-label,
.aws-status,
.aws-follow {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: #7a7a7a;
}

.aws-meta li strong,
.aws-prompt strong,
.aws-box .pulse-card__title {
  font-family: "Source Sans Pro", "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.275rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: #002340;
}

.aws-meta li strong {
  text-align: right;
}

.aws-prompt {
  margin: 0 0 1.75rem;
}

.aws-search .pulse-search__row,
#followup-form .pulse-search__row {
  max-width: none;
}

.aws-box .pulse-search__input {
  border: 2px solid #d0d5dd;
  background: #fff;
}

.aws-box .pulse-results__label {
  margin-bottom: 0.15rem;
}

.aws-search__label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pulse-muted);
}

.aws-box--result {
  margin-top: 1.5rem;
}

.aws-status {
  margin: 0.85rem 0 0;
}

.aws-status.is-error {
  color: #9b1c1c;
}

.aws-grid {
  grid-template-columns: 1fr;
}

.aws-span {
  grid-column: 1 / -1;
}

.aws-email p {
  margin: 0 0 0.85rem;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: inherit;
}

.aws-email ul {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
}

.aws-email a {
  color: #4466a5;
}

.aws-q-label {
  display: block;
  margin-bottom: 0.15rem;
}

.aws-examples-label {
  margin-top: 1rem;
}

.aws-chips {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0.15rem 0 0;
}

.aws-chip {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  color: var(--pulse-navy);
  padding: 0.15rem 0;
  cursor: pointer;
}

.aws-chip:hover {
  background: #e8edf2;
}

.aws-box .pulse-search__input.aws-input-preload {
  color: #9aa3ad;
}

#followup-thread {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

.aws-thread-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.aws-msg {
  max-width: 78%;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  line-height: 1.4;
}

.aws-msg--q {
  align-self: flex-end;
  background: #e4eaf1;
  color: var(--pulse-navy);
}

.aws-msg--a {
  align-self: flex-start;
  background: #f3f5f7;
  color: var(--pulse-text);
}

.pulse-search__btn,
.pulse-cta__btn,
.pulse-back,
.aws-chip {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.aws-box .pulse-search__btn {
  min-width: 13.25rem;
  box-sizing: border-box;
}

.pulse-cta .aws-cta-heading {
  margin: 0 auto 0.85rem;
  max-width: 52rem;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.pulse-cta .pulse-cta__btn {
  margin: 0.35rem 0 1.15rem;
}

.pulse-cta p.aws-cta-line {
  margin: 0 auto;
  max-width: none;
  text-align: center;
  line-height: 1.3;
}

.pulse-search__btn:disabled {
  opacity: 0.55;
  cursor: wait;
}


/* Contact form */
.ciq-contact-form {
  margin-top: 0.5rem;
  max-width: none;
  width: 100%;
}

.ciq-field {
  margin-bottom: 1rem;
}

.ciq-field label {
  display: block;
  margin: 0 0 0.35rem;
  font-family: "Source Sans Pro", "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pulse-navy, #002340);
}

.ciq-field input,
.ciq-field select,
.ciq-field textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid #d0d5da;
  border-radius: 8px;
  font-family: "Source Sans Pro", "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  color: #1a1a1a;
  background: #fff;
}

.ciq-field textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.45;
}

.ciq-field input:focus,
.ciq-field select:focus,
.ciq-field textarea:focus {
  outline: none;
  border-color: #009688;
  box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.25);
}

.ciq-contact-submit {
  margin-top: 0.35rem;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.ciq-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ciq-form-status {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: "Source Sans Pro", "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.4;
}

.ciq-form-status--ok {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.ciq-form-status--err {
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}


/* Bullet list inside product info cards */
.ciq-bullets {
  margin: 0.75rem 0 0;
  padding-left: 1.35rem;
  font-family: "Source Sans Pro", "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  line-height: 1.5;
  color: #1a1a1a;
}

.ciq-bullets li {
  margin-bottom: 0.5rem;
}

.ciq-bullets li::marker {
  color: #1a1a1a;
}


/* ── Shared button standard (2026-09 button audit) ──────────────────────────
   One size/type spec for every CTA button, matching homepage .btn in style.css:
   Montserrat 600, 0.92rem, 0.02em tracking, 1.25 line-height, 3rem tall,
   20rem wide (fits the longest label, "Email Barry@CommunitasIQ.com").
   Colors are unchanged and still come from each button's own rules. */
.pulse-search__btn,
.pulse-cta__btn,
button.pulse-cta__btn,
.aws-box .pulse-search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 3rem;
  min-width: min(200px, 100%);
  max-width: 100%;
  padding: 0.7rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: none;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* Contact "Send It" stays centered under the form */
.pulse-search__btn.ciq-contact-submit {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Neighborhood Database feature paragraphs */
.ciq-features { margin-top: 1.25rem; }
.ciq-feature__title { font-family: "Montserrat", "Segoe UI", sans-serif; font-size: 1.15rem; font-weight: 700; color: #1a1a1a; margin: 1.25rem 0 0.4rem; }
.ciq-features .ciq-feature__title:first-child { margin-top: 0; }
.ciq-features p { margin: 0 0 0.5rem; line-height: 1.6; color: #1a1a1a; }


/* ── Products hub: three info cards (mirrors homepage #partnership-services .feature-card) ── */
.ciq-product-cards {
  background: #f0f0f0;
  padding: 3rem 0;
}

.ciq-product-cards .pulse-wrap {
  width: min(100% - 2.5rem, 1140px);
  margin-inline: auto;
}

.ciq-product-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ciq-product-card {
  position: relative;
  display: block;
  background: #fff;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 35, 64, 0.05);
  transition: box-shadow 0.2s, transform 0.2s;
  box-sizing: border-box;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.ciq-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #e6e6e6;
}

.ciq-product-card:hover,
.ciq-product-card:focus-visible {
  box-shadow: 0 12px 32px rgba(0, 35, 64, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}

.ciq-product-card__body {
  display: flex;
  flex-direction: column;
  min-height: 284px;
  padding: 1.35rem 1.5rem 1.5rem;
  box-sizing: border-box;
}

.ciq-product-card h3 {
  margin: 0 0 0.55rem;
  font-family: "Source Sans Pro", "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.275rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: #002340;
  transition: color 0.2s;
}

.ciq-product-card:hover h3,
.ciq-product-card:focus-visible h3 {
  color: #4466a5;
}

/* Icon replaces body text: centered in the space below the title */
.ciq-product-card__icon {
  display: block;
  width: 168px;
  height: 168px;
  margin: auto;
  padding-top: 0.5rem;
  box-sizing: content-box;
}

@media (max-width: 768px) {
  .ciq-product-card__body {
    min-height: 240px;
  }
  .ciq-product-card__icon {
    width: 144px;
    height: 144px;
  }
}

@media (max-width: 1024px) {
  .ciq-product-cards__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .ciq-product-cards__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ciq-product-card {
    transition: none;
  }
  .ciq-product-card:hover,
  .ciq-product-card:focus-visible {
    transform: none;
  }
}

/* Left-justified meta list (Ai Solutions demo list) */
.aws-meta--left li { justify-content: flex-start; gap: 1.5rem; }
.aws-meta--left li span { flex: 0 0 5.5rem; }
.aws-meta--left li strong { text-align: left; }
.aws-meta--left a,
.aws-meta--left a:visited,
.aws-meta--left a:hover,
.aws-meta--left a:focus { color: inherit; text-decoration: none; }

/* Demo list: View Demo label left (with eye icon), description right */
.aws-meta--left li { justify-content: space-between; align-items: center; }
.aws-meta--left li span { flex: 0 0 auto; white-space: nowrap; }
.aws-meta--left li span, .aws-meta--left li span a { display: inline-flex; align-items: center; gap: 0.45rem; }
.aws-meta--left li strong { text-align: right; }
.aws-eye { flex: 0 0 auto; }
