/* =============================================================
   Zoomi · marketing.css — shared layout for v2 marketing pages
   Used by the 13 secondary marketing pages (feature pages +
   audience pages). Sits on top of design-tokens.css +
   components.css. Token-driven only — zero hex literals.

   Pattern is intentionally generic: hero → N content sections →
   final dark CTA. Tinted card variants borrow from the marketing
   accent palette (peach, mint, buttercup, blossom, sky).
   ============================================================= */

/* =============================================================
   HERO — mkt-hero
   Centered eyebrow → display h1 → lede. Same shape as the
   contact + how-it-works heroes so it sits clear of the sticky
   promo + nav bar.
   ============================================================= */
.mkt-hero {
  padding: var(--s-3xl) var(--page-gutter) var(--s-2xl);
  text-align: center;
}
.mkt-hero__inner { max-width: 880px; margin: 0 auto; }
.mkt-hero__eyebrow { margin-bottom: var(--s-md); }
.mkt-hero__h1 {
  font-family: var(--font-heading);
  font-size: var(--t-display-sm);
  font-weight: 500;
  letter-spacing: var(--track-heading);
  line-height: var(--lh-tight);
  margin: 0 auto var(--s-md);
  color: var(--zoomi-ink);
  max-width: 22ch;
}
.mkt-hero__sub {
  font-size: var(--t-body-lg);
  color: var(--zoomi-body);
  margin: 0 auto;
  max-width: 60ch;
  line-height: var(--lh-body);
}
.mkt-hero__actions {
  display: flex;
  gap: var(--s-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--s-xl);
}

/* Photo variant — right-side hero image column. */
.mkt-hero--photo {
  text-align: left;
  max-width: var(--container-max);
  margin: 0 auto;
}
.mkt-hero--photo .mkt-hero__inner {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-3xl);
  align-items: center;
}
.mkt-hero--photo .mkt-hero__h1,
.mkt-hero--photo .mkt-hero__sub { margin-left: 0; margin-right: 0; }
.mkt-hero--photo .mkt-hero__actions { justify-content: flex-start; }
.mkt-hero__photo {
  width: 100%;
  height: auto;
  border-radius: var(--r-card);
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

/* =============================================================
   SECTION — mkt-section
   Generic content-section wrapper. Each page stacks several of
   these. Modifiers control background tone.
   ============================================================= */
.mkt-section {
  padding: var(--s-3xl) var(--page-gutter);
}
.mkt-section--soft { background: transparent; }
.mkt-section--grey { background: var(--zoomi-bg); }
.mkt-section--ink {
  background: var(--zoomi-ink);
  color: var(--zoomi-cta-text);
}
.mkt-section__inner {
  max-width: 1080px;
  margin: 0 auto;
}
.mkt-section__inner--wide {
  max-width: 1280px;
}
.mkt-section__head {
  text-align: center;
  margin-bottom: var(--s-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-sm);
}
.mkt-section__head--left {
  text-align: left;
  align-items: flex-start;
}
.mkt-section__eyebrow { color: var(--zoomi-body); }
.mkt-section__h2 {
  font-family: var(--font-heading);
  font-size: var(--t-display-sm);
  font-weight: 500;
  letter-spacing: var(--track-heading);
  line-height: var(--lh-tight);
  color: var(--zoomi-ink);
  margin: 0;
  max-width: 22ch;
}
.mkt-section--ink .mkt-section__h2 { color: var(--zoomi-cta-text); }
.mkt-section__lede {
  font-size: var(--t-body-lg);
  color: var(--zoomi-body);
  line-height: var(--lh-body);
  margin: 0;
  max-width: 60ch;
}
.mkt-section--ink .mkt-section__lede,
.mkt-section--ink .mkt-section__eyebrow { color: rgba(255, 255, 255, 0.72); }

/* =============================================================
   GRID — mkt-grid
   Generic N-up grid for benefit cells, use cases, feature lists.
   Default: 3-up. Modifier --two for 2-up, --four for 4-up.
   ============================================================= */
.mkt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-md);
}
.mkt-grid--two  { grid-template-columns: repeat(2, 1fr); }
.mkt-grid--four { grid-template-columns: repeat(4, 1fr); }

/* =============================================================
   CELL — mkt-cell
   Generic flat tile inside an mkt-grid. Title (h3) + body.
   Tinted variants for visual rhythm across a 3-up or 4-up row.
   ============================================================= */
.mkt-cell {
  background: var(--zoomi-card);
  border-radius: var(--r-bento);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}
.mkt-cell--peach     { background: var(--accent-peach-soft); }
.mkt-cell--mint      { background: var(--accent-mint-soft); }
.mkt-cell--buttercup { background: var(--accent-buttercup-soft); }
.mkt-cell--blossom   { background: var(--accent-blossom-soft); }
.mkt-cell--sky       { background: var(--accent-sky-soft); }
.mkt-cell--grey      { background: var(--zoomi-bg); }

.mkt-cell__num {
  font-family: var(--font-heading);
  font-size: var(--t-headline-lg);
  font-weight: 600;
  letter-spacing: var(--track-heading);
  line-height: 1;
  color: var(--zoomi-ink);
  opacity: 0.32;
}
.mkt-cell__title {
  font-family: var(--font-heading);
  font-size: var(--t-headline-sm);
  font-weight: 600;
  letter-spacing: var(--track-heading);
  line-height: var(--lh-snug);
  color: var(--zoomi-ink);
  margin: 0;
}
.mkt-cell__body {
  font-size: var(--t-body-md);
  color: var(--zoomi-body);
  line-height: var(--lh-body);
  margin: 0;
}
.mkt-cell__body a { color: var(--zoomi-ink); text-decoration: underline; }
.mkt-cell__body a:hover { text-decoration: none; }

/* =============================================================
   BULLETS — mkt-bullets
   Clean checkmark list. Same mechanism as the pricing card
   features (svg data-url, mint-soft circle).
   ============================================================= */
.mkt-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}
.mkt-bullets li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--s-sm);
  align-items: start;
  font-size: var(--t-body-md);
  color: var(--zoomi-ink);
  line-height: var(--lh-body);
}
.mkt-bullets li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: var(--r-pill);
  background-color: var(--accent-mint-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}
.mkt-bullets li strong { font-weight: 600; color: var(--zoomi-ink); }

/* Ordered version — numbered steps. */
.mkt-bullets--ordered {
  counter-reset: mkt-step;
}
.mkt-bullets--ordered li {
  grid-template-columns: 28px 1fr;
}
.mkt-bullets--ordered li::before {
  counter-increment: mkt-step;
  content: counter(mkt-step);
  width: 24px;
  height: 24px;
  margin-top: 0;
  background-image: none;
  background-color: var(--accent-mint-soft);
  color: var(--zoomi-ink);
  font-family: var(--font-heading);
  font-size: var(--t-title-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =============================================================
   CALLOUT — mkt-callout
   Single wide warm card for highlighting one big idea. Borrows
   the peach-soft background from contact-card--warm.
   ============================================================= */
.mkt-callout {
  background: var(--accent-peach-soft);
  border-radius: var(--r-card);
  padding: var(--s-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}
.mkt-callout--grey { background: var(--zoomi-bg); }
.mkt-callout--mint { background: var(--accent-mint-soft); }
.mkt-callout--blossom { background: var(--accent-blossom-soft); }
.mkt-callout__eyebrow { color: var(--zoomi-body); }
.mkt-callout__title {
  font-family: var(--font-heading);
  font-size: var(--t-headline-md);
  font-weight: 600;
  letter-spacing: var(--track-heading);
  line-height: var(--lh-snug);
  color: var(--zoomi-ink);
  margin: 0;
}
.mkt-callout__body {
  font-size: var(--t-body-md);
  color: var(--zoomi-ink);
  line-height: var(--lh-body);
  margin: 0;
}
.mkt-callout__body + .mkt-callout__body { margin-top: var(--s-sm); }
.mkt-callout__body a { color: var(--zoomi-ink); text-decoration: underline; }
.mkt-callout__body a:hover { text-decoration: none; }
.mkt-callout__actions {
  display: flex;
  gap: var(--s-md);
  flex-wrap: wrap;
  margin-top: var(--s-xs);
}

/* =============================================================
   TABLE — mkt-table
   For comparison tables (e.g. ZoomiTag vs others). Wraps in a
   scrolling container on narrow viewports.
   ============================================================= */
.mkt-table-wrap {
  background: var(--zoomi-card);
  border: 1px solid var(--zoomi-hair);
  border-radius: var(--r-card);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.mkt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-body-md);
  color: var(--zoomi-ink);
}
.mkt-table thead th {
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: var(--track-heading);
  font-size: var(--t-body-md);
  color: var(--zoomi-ink);
  padding: var(--s-md) var(--s-lg);
  background: var(--zoomi-bg);
  border-bottom: 1px solid var(--zoomi-hair);
}
.mkt-table tbody td {
  padding: var(--s-md) var(--s-lg);
  border-bottom: 1px solid var(--zoomi-hair);
  vertical-align: top;
  line-height: var(--lh-body);
  color: var(--zoomi-body);
}
.mkt-table tbody td:first-child {
  color: var(--zoomi-ink);
  font-weight: 500;
}
.mkt-table tbody tr:last-child td { border-bottom: 0; }

/* =============================================================
   FINAL CTA — mkt-final-cta
   Closing dark-ink panel. Mirrors .hiw-cta / .faq-page__cta.
   ============================================================= */
.mkt-final-cta {
  background: var(--zoomi-ink);
  color: var(--zoomi-cta-text);
  padding: var(--s-4xl) var(--page-gutter);
  text-align: center;
}
.mkt-final-cta__inner { max-width: 720px; margin: 0 auto; }
.mkt-final-cta .eyebrow { color: rgba(255, 255, 255, 0.72); }
.mkt-final-cta__h {
  font-family: var(--font-heading);
  font-size: var(--t-display-sm);
  font-weight: 500;
  letter-spacing: var(--track-heading);
  line-height: var(--lh-tight);
  color: var(--zoomi-cta-text);
  margin: var(--s-md) 0;
}
.mkt-final-cta__sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--t-body-lg);
  margin: 0 0 var(--s-xl);
  line-height: var(--lh-body);
}
.mkt-final-cta__sub a {
  color: var(--zoomi-cta-text);
  text-decoration: underline;
}
.mkt-final-cta__actions {
  display: flex;
  gap: var(--s-md);
  justify-content: center;
  flex-wrap: wrap;
}
.mkt-final-cta .zoomi-btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  color: var(--zoomi-cta-text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.mkt-final-cta .zoomi-btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }

/* =============================================================
   INLINE LINKS — paragraph links inside mkt-section / mkt-cell
   ============================================================= */
.mkt-prose a {
  color: var(--zoomi-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.mkt-prose a:hover { text-decoration: none; }
.mkt-prose p {
  font-size: var(--t-body-lg);
  color: var(--zoomi-body);
  line-height: var(--lh-body);
  margin: 0 0 var(--s-md);
}
.mkt-prose p:last-child { margin-bottom: 0; }
.mkt-prose--note {
  margin-top: var(--s-lg);
  font-size: var(--t-body-md);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1080px) {
  .mkt-grid       { grid-template-columns: repeat(2, 1fr); }
  .mkt-grid--four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .mkt-hero--photo .mkt-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--s-xl);
  }
  .mkt-hero--photo { text-align: center; }
  .mkt-hero--photo .mkt-hero__actions { justify-content: center; }
  .mkt-section__h2 { font-size: var(--t-headline-lg); }
  .mkt-final-cta__h { font-size: var(--t-headline-lg); }
  .mkt-callout { padding: var(--s-xl); }
}
@media (max-width: 720px) {
  .mkt-grid,
  .mkt-grid--two,
  .mkt-grid--four { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .mkt-hero__h1 { font-size: var(--t-headline-lg); }
  .mkt-section { padding: var(--s-2xl) var(--page-gutter); }
  .mkt-cell { padding: var(--s-lg); }
}
