/* ---------- database offer card (shared) ----------
   Compact in-body CTA that deep-links into the app's UGC Database already
   filtered (scripts/lib/db-offer.mjs renders it). Standalone on the
   site-system.css tokens so it works on every page family (agency directory,
   guides, industry, blog, feature, tools, comparison pages); the button
   material comes from .seo-button in site-system.css. rates.css and
   glossary.css carry their own older copy on seo.css tokens. */

.db-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 22px;
  align-items: center;
  max-width: 100%;
  margin: 28px 0 36px;
  padding: 20px 22px;
  border: 1px solid rgb(56 71 254 / .18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgb(56 71 254 / .06), rgb(56 71 254 / .02));
  box-sizing: border-box;
  text-align: left;
}

.db-offer-copy {
  min-width: 0;
}

.db-offer .db-offer-copy p {
  margin: 0;
  max-width: none;
  color: var(--site-muted, #626269);
  font-size: 14px;
  line-height: 1.55;
}

.db-offer .db-offer-kicker {
  display: block;
  margin: 0 0 4px;
  color: var(--site-primary, #3847fe);
  font-family: var(--site-font-body, inherit);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.db-offer .db-offer-copy .db-offer-title {
  margin: 0 0 4px;
  color: var(--site-ink, #121212);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.db-offer .db-offer-button {
  max-width: 300px;
  min-height: 44px;
  margin: 0;
  padding: 10px 18px;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
}

/* Inside a dark closing band (seo-cta-band, tools/industry closing CTA) the
   card would clash, so it only ever renders in light content flow. */

@media (max-width: 720px) {
  .db-offer {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .db-offer .db-offer-button {
    max-width: none;
    width: 100%;
  }
}
