/* Credits overview on the SHOWCASE system. Loaded after credits-pages.css, showcase.css and showcase-pages.css.
 * Scoped by .cr-wide so buy-credits and fund (which share credits-pages.css) are untouched. Section copy keeps its
 * inline sizes, multiplied by --cr-k (type) and --cr-w (column widths). */
.cr-wide { --cr-k: 1; --cr-w: 1; }
@media (min-width: 1700px) { .cr-wide { --cr-k: 1.04; --cr-w: 1.4; } }
@media (min-width: 2200px) { .cr-wide { --cr-k: 1.12; --cr-w: 1.7; } }
@media (min-width: 2500px) { .cr-wide { --cr-k: 1.25; --cr-w: 2; } }

/* hero: three facts as a glass bento */
.cr-hero .sc-title { max-width: 13ch; }
.cr-hero .sc-intro { max-width: 58ch; }
.cr-hero .cr-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 28px); width: min(100%, 760px); justify-self: end; }
.cr-hero .cr-fact { padding: clamp(22px, 2.2vw, 44px); border-radius: 24px; }
.cr-hero .cr-fact:first-child { grid-column: 1 / -1; }
.cr-hero .cr-fact strong { margin-bottom: 10px; color: var(--text-1); font-size: clamp(18px, 1.6vw, 32px) !important; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.cr-hero .cr-fact span { display: block; color: var(--text-2); font-size: clamp(14px, 1vw, 19px) !important; line-height: 1.6; }
.cr-hero .cr-fact:first-child strong { color: var(--accent-4, #F2E3B8); }

/* sections below: one shared column and scaled type */
.cr-wide > section:not(.sc-hero) { padding-inline: var(--sc-gutter, 24px) !important; }
.cr-wide .cr-inner, .cr-wide .rp-inner, .cr-wide > section:not(.sc-hero) > div:has(> .section-header) { max-width: calc(900px * var(--cr-w, 1)) !important; }
.cr-wide .cr-h2, .cr-wide .rp-title, .cr-wide .section-header h2 { font-size: var(--sc-h2) !important; letter-spacing: -.035em; line-height: 1.1; text-wrap: balance; max-width: clamp(600px, 52vw, 1300px); }
.cr-wide .section-header { max-width: none; margin-inline: 0; text-align: left; }
.cr-wide .section-header + p { text-align: left !important; margin-inline: 0 !important; }
.cr-wide .eyebrow { font-size: clamp(12px, .85vw, 16px); }
.cr-wide .cr-body, .cr-wide .rp-body { font-size: calc(15.5px * var(--cr-k, 1)); max-width: 78ch; }
.cr-wide .cr-note { font-size: calc(14px * var(--cr-k, 1)); max-width: 78ch; }
.cr-wide .cr-list { max-width: 96ch; }
.cr-wide .cr-list li, .cr-wide .rp-terms li, .cr-wide .rp-causes li { font-size: calc(15px * var(--cr-k, 1)) !important; }
.cr-wide .cr-log-grid { gap: clamp(16px, 1.5vw, 28px) !important; }
.cr-wide .compare-table { font-size: calc(15px * var(--cr-k, 1)); }
.cr-wide .footer-cta h2 { font-size: clamp(26px, 3vw, 52px) !important; }
.cr-wide .footer-cta p { max-width: clamp(500px, 40vw, 900px); font-size: var(--sc-body); }

@media (max-width: 900px) {
  .cr-hero .sc-title { max-width: none; }
  .cr-hero .cr-facts { justify-self: stretch; width: 100%; grid-template-columns: minmax(0, 1fr); }
}
