/* frontdoor/css/marketing.css — the marketing pages' own pieces (Phase 6 spec §5).
 * [p6 2026-11-12] Loaded AFTER landing.css on every marketing page (home,
 * builders, brokerages, photographers, 404, builder pricing, case studies).
 * landing.css stays the source of the brand tokens and the shared blocks (hero,
 * sections, demo, steps, proof, FAQ, footer); this file adds only what the new
 * pages need, and the 375 px rule: a 16 px side gutter and no horizontal scroll. */

/* ---------- phones: 16 px gutter ---------- */
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .ivris-header { padding: 14px 16px; }
  .header-nav { padding-left: 16px; padding-right: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
}
.demo-frame, .mkt-card, .mkt-offer, .faq, .mkt-bands { max-width: 100%; }

/* ---------- header: the Book CTA ---------- */
.header-nav .mkt-book-cta { box-shadow: none; }
@media (min-width: 721px) and (max-width: 1023px) {
  /* six links + the CTA do not fit a tablet bar: the CTA is in the hero and the closing band */
  .header-nav { gap: 14px; }
  .header-nav .mkt-book-cta { display: none; }
}
@media (max-width: 720px) {
  .header-nav .mkt-book-cta { width: 100%; margin-top: 14px; padding: 14px; font-size: 15px; }
}

/* ---------- audience cards ---------- */
.mkt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.mkt-card { background: var(--warm-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.section:not(.section--white) .mkt-card { background: var(--white); }
.mkt-card h3 { font-size: 19px; font-weight: 700; color: var(--black); line-height: 1.3; }
.mkt-card-note { font-size: 13.5px; font-weight: 700; color: var(--green-dark); background: var(--green-light);
  border-radius: var(--radius-sm); padding: 6px 10px; }
.mkt-card-link { margin-top: auto; font-size: 14.5px; font-weight: 700; color: var(--green-dark); text-decoration: none; }
.mkt-card-link:hover { color: var(--green); }

/* ---------- check lists ---------- */
.mkt-list { list-style: none; display: grid; gap: 8px; font-size: 14.5px; color: var(--gray); line-height: 1.55; }
.mkt-list li { position: relative; padding-left: 24px; }
.mkt-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.mkt-list--lg { font-size: 16px; gap: 12px; color: var(--ink); }
.mkt-list--light { color: rgba(244, 244, 239, .85); font-size: 16px; gap: 10px; margin-top: 22px; }

/* ---------- two-column blocks ---------- */
.mkt-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px 48px; align-items: start; }
@media (max-width: 720px) { .mkt-split { grid-template-columns: minmax(0, 1fr); } }
.mkt-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.mkt-cta-row--center { align-self: center; margin-top: 0; }
.mkt-more { margin-top: 18px; font-weight: 700; }
.mkt-more a { color: var(--green-dark); text-decoration: none; }
.mkt-more a:hover { color: var(--green); }

/* ---------- the offer box (builders) ---------- */
.mkt-offer { background: var(--black); border-radius: 20px; padding: 48px 40px; position: relative; overflow: hidden; color: #f4f4ef; }
.mkt-offer::before { content: ''; position: absolute; inset: auto -120px -220px auto; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(106, 173, 63, .32), transparent 70%); pointer-events: none; }
.mkt-offer > * { position: relative; }
.mkt-offer-sub { margin-top: 14px; font-size: 16px; color: rgba(244, 244, 239, .75); max-width: 60ch; }
@media (max-width: 560px) { .mkt-offer { padding: 34px 22px; } }

/* ---------- hosted-forever heading (h2 here; landing.css styles .forever h3) ---------- */
.forever .mkt-forever-h { font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif; font-weight: 700;
  font-size: clamp(26px, 4vw, 40px); line-height: 1.1; color: #fff; max-width: 20ch; }
.forever .mkt-forever-h .accent { color: var(--green); }

/* ---------- testimonials ---------- */
.mkt-testimonials { margin-top: 26px; margin-bottom: 0; }
.testimonial .t-disclosure { font-style: italic; }

/* ---------- price summary (brokerages; no card form here) ---------- */
.mkt-price-summary { max-width: 720px; }

/* ---------- closing booking band ---------- */
.mkt-book-line a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mkt-book .sub { color: rgba(244, 244, 239, .75); }

/* ---------- 404 ---------- */
.mkt-404 .mkt-404-links { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- builder pricing ---------- */
.mkt-bands { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.mkt-bands th, .mkt-bands td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.mkt-bands thead th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }

/* ---------- preview bar (rendered only on a signed preview) ---------- */
.mkt-preview-bar { box-shadow: 0 -4px 14px rgba(17, 17, 17, .18); }
body:has(.mkt-preview-bar) { padding-bottom: 40px; }
