/* ============================================================
   Clearlii — Rich content section library (loaded site-wide on
   enriched pages). Self-contained; uses global tokens.
   ============================================================ */

/* intro lead band under hero */
.lead-band { max-width: 760px; }

/* download link pill (shared; also styled in innovation.css) */
.download-link { display: inline-flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 12px 22px; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: .2s; }
.download-link:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-1px); }
.download-link svg { width: 18px; height: 18px; flex: none; color: var(--purple); }
.lead-band .eyebrow { margin-bottom: 18px; }
.lead-band h2 { margin: 0 0 16px; }
.lead-band p { font-size: 18px; line-height: 1.7; color: #3a3a40; margin: 0 0 16px; }

/* prose block (long-form copy) */
.prose { max-width: 760px; }
.prose > p { font-size: 16.5px; line-height: 1.75; color: #3a3a40; margin: 0 0 20px; }
.prose h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); margin: 40px 0 14px; }
.prose h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 30px 0 10px; }
.prose ul { margin: 0 0 20px; padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 11px; font-size: 16px; line-height: 1.65; color: #3a3a40; }
.prose ul li::before { content: ''; position: absolute; left: 3px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.prose strong { color: var(--ink); font-weight: 600; }

/* alternating image + text feature rows */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feat-row + .feat-row { margin-top: 70px; }
.feat-row.flip .feat-media { order: 2; }
.feat-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3.1; box-shadow: 0 24px 60px rgba(40,53,131,.14); position: relative; }
.feat-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-media .tagpill { position: absolute; top: 18px; left: 18px; background: rgba(255,255,255,.92); color: var(--purple); font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: var(--r-pill); }
.feat-text h2 { margin: 0 0 16px; }
.feat-text .eyebrow { margin-bottom: 16px; }
.feat-text p { font-size: 16px; line-height: 1.7; color: #3a3a40; margin: 0 0 16px; }
.feat-text .mini-list { list-style: none; margin: 18px 0 24px; padding: 0; }
.feat-text .mini-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 15px; color: var(--ink); line-height: 1.5; }
.feat-text .mini-list li svg { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; color: var(--purple); }

/* full-bleed photo feature with overlay copy */
.photo-feature { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; padding: 52px; }
.photo-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.photo-feature .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(26,22,32,.82), rgba(26,22,32,.25) 70%, transparent); }
.photo-feature .pf-body { position: relative; z-index: 2; max-width: 540px; color: #fff; }
.photo-feature .pf-body h2 { color: #fff; margin: 0 0 14px; }
.photo-feature .pf-body p { color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.6; margin: 0 0 22px; }

/* icon feature cards (3-up) */
.icards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.icards.four { grid-template-columns: repeat(4, 1fr); }
.icard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; transition: transform .2s, box-shadow .2s; }
.icard:hover { transform: translateY(-3px); box-shadow: var(--sh-card); }
.icard .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; color: var(--purple); margin-bottom: 20px; }
.icard .ico svg { width: 26px; height: 26px; }
.icard h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 9px; }
.icard p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.icard .rl svg, a.rl svg { width: 14px; height: 14px; flex: none; }

/* numbered step flow */
.stepflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.stepflow.three { grid-template-columns: repeat(3, 1fr); }
.sflow { position: relative; padding: 30px; border-radius: var(--r-lg); background: var(--surface); }
.sflow .sn { width: 44px; height: 44px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 600; margin-bottom: 18px; }
.sflow h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 8px; }
.sflow p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }

/* stat strip */
.statstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.statstrip.three { grid-template-columns: repeat(3, 1fr); }
.sstat .n { font-size: 56px; font-weight: 500; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.sstat .n span { color: var(--purple); }
.sstat .l { font-size: 14.5px; color: var(--muted); margin-top: 8px; line-height: 1.45; }

/* quote band */
.quote-band { background: #1a1620; border-radius: var(--r-lg); padding: 60px; position: relative; overflow: hidden; text-align: center; }
.quote-band::before { content: ''; position: absolute; inset: 0; background: var(--grad-vitamin); opacity: .2; }
.quote-band > * { position: relative; z-index: 1; }
.quote-band blockquote { margin: 0 auto; max-width: 820px; }
.quote-band blockquote p { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.45; font-weight: 500; letter-spacing: -0.02em; color: #fff; font-style: italic; margin: 0 0 22px; }
.quote-band cite { font-style: normal; color: rgba(255,255,255,.72); font-size: 14.5px; }
.quote-band cite strong { display: block; color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 2px; }

/* inline FAQ (per-page) */
.faqx { max-width: 820px; }
.faqx details { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; transition: border-color .2s; }
.faqx details[open] { border-color: rgba(120,33,129,.35); }
.faqx summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 16.5px; font-weight: 500; color: var(--ink); }
.faqx summary::-webkit-details-marker { display: none; }
.faqx summary .qi { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--purple); box-shadow: inset 0 0 0 1.5px rgba(120,33,129,.25); transition: .3s; }
.faqx details[open] summary .qi { transform: rotate(45deg); background: var(--purple); color: #fff; box-shadow: none; }
.faqx summary .qi svg { width: 14px; height: 14px; }
.faqx .ax { padding: 0 24px 24px; }
.faqx .ax p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--muted); }

/* CTA band */
.ctaband { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 60px; text-align: center; background: var(--surface); }
.ctaband.dark { background: #1a1620; }
.ctaband.dark::before { content: ''; position: absolute; inset: 0; background: var(--grad-vitamin); opacity: .22; }
.ctaband > * { position: relative; z-index: 1; }
.ctaband h2 { margin: 0 0 14px; }
.ctaband.dark h2 { color: #fff; }
.ctaband p { font-size: 16px; color: var(--muted); max-width: 54ch; margin: 0 auto 28px; }
.ctaband.dark p { color: rgba(255,255,255,.8); }
.ctaband .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* two-column rich text */
.twocol { columns: 2; column-gap: 48px; max-width: 900px; }
.twocol p { font-size: 16px; line-height: 1.75; color: #3a3a40; margin: 0 0 16px; break-inside: avoid; }

@media (max-width: 1000px) {
  .feat-row { grid-template-columns: 1fr; gap: 32px; }
  .feat-row.flip .feat-media { order: 0; }
  .icards, .icards.four { grid-template-columns: 1fr 1fr; }
  .stepflow, .stepflow.three { grid-template-columns: 1fr 1fr; }
  .statstrip, .statstrip.three { grid-template-columns: 1fr 1fr; }
  .twocol { columns: 1; }
}
@media (max-width: 600px) {
  .icards, .icards.four, .stepflow, .stepflow.three, .statstrip, .statstrip.three { grid-template-columns: 1fr; }
  .quote-band, .ctaband, .photo-feature { padding: 32px 24px; }
  .sstat .n { font-size: 44px; }
}
