/*
 * Phase 5 wave 2 (B4): content pages (Help, Why GigMint, About, Fees, Legal), the blog, error pages
 * and CMS (pagebuilder) pages. Design: ContentPage.dc.html. Every rule is scoped under .gm.
 * Loaded by the content views via the gm-styles stack, by layouts.gm-site and by errors.gm-layout.
 */

/* ---------- Band under the header: breadcrumb + optional search ---------- */
.gm .gm-cp-band { background: var(--gm-surface); border-bottom: 1px solid var(--gm-line); }
.gm .gm-cp-band__inner { max-width: 1200px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.gm .gm-cp-band .gm-crumbs { flex: 1 1 360px; font-size: 13.5px; }
.gm .gm-cp-band .gm-crumbs a:first-child { font-weight: 600; }
.gm .gm-cp-search { position: relative; flex: 0 1 360px; margin: 0; }
.gm .gm-cp-search .gm-svg { position: absolute; left: 14px; top: 12px; color: var(--gm-muted); pointer-events: none; }
.gm .gm-cp-search input { width: 100%; height: 40px; border-radius: var(--gm-radius-control); border: 1px solid var(--gm-line-strong); background: var(--gm-surface); padding: 0 14px 0 38px; font: 400 14px var(--gm-font-body); color: var(--gm-ink); }
.gm .gm-cp-search input::placeholder { color: var(--gm-muted); }

/* ---------- Page frame: table of contents + article ---------- */
.gm .gm-cp { max-width: 1200px; margin: 0 auto; padding: 48px 32px 96px; display: flex; flex-direction: column; gap: 64px; }
.gm .gm-cp__layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.gm .gm-cp__aside { flex: 1 1 220px; max-width: 250px; display: flex; flex-direction: column; gap: 28px; position: sticky; top: 24px; }
.gm .gm-cp__article { flex: 999 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 22px; }
.gm .gm-cp__article--wide { max-width: 860px; }

.gm .gm-cp-toc { display: flex; flex-direction: column; gap: 2px; }
.gm .gm-cp-toc__title { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gm-muted); margin: 0 0 10px; }
.gm .gm-cp-toc a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--gm-ink-2); padding: 6px 0 6px 14px; border-left: 2px solid var(--gm-line); line-height: 1.4; }
.gm .gm-cp-toc a:hover { color: var(--gm-ink); border-left-color: var(--gm-line-strong); }
.gm .gm-cp-toc a[aria-current] { color: var(--gm-coral-ink); font-weight: 600; border-left-color: var(--gm-coral-ink); }
.gm .gm-cp-related { border-top: 1px solid var(--gm-line); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.gm .gm-cp-related a { font-size: 14px; color: var(--gm-ink-2); text-decoration: none; line-height: 1.4; }
.gm .gm-cp-related a:hover { color: var(--gm-coral-ink); text-decoration: underline; }

/* ---------- Article header ---------- */
.gm .gm-cp-head { display: flex; flex-direction: column; gap: 14px; padding-bottom: 8px; }
.gm .gm-cp-head .gm-chip { align-self: flex-start; }
.gm .gm-cp-head h1 { font-family: var(--gm-font-display); font-weight: 700; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.gm .gm-cp-lead { margin: 0; font-size: 18px; color: var(--gm-ink-2); }
.gm .gm-cp-meta { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; font-size: 13.5px; color: var(--gm-muted); margin: 0; }
.gm .gm-cp-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.gm .gm-cp-meta a { font-weight: 600; text-decoration: none; }
.gm .gm-cp-meta a:hover { text-decoration: underline; }

/* ---------- Callouts ---------- */
.gm .gm-cp-callout { border-radius: 16px; padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.gm .gm-cp-callout__icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: var(--gm-surface); display: flex; align-items: center; justify-content: center; }
.gm .gm-cp-callout__body { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--gm-ink); min-width: 0; }
.gm .gm-cp-callout__title { font-size: 15.5px; font-weight: 600; }
.gm .gm-cp-callout--teal { background: var(--gm-teal-wash); }
.gm .gm-cp-callout--teal .gm-cp-callout__icon, .gm .gm-cp-callout--teal .gm-cp-callout__title { color: var(--gm-teal); }
.gm .gm-cp-callout--amber { background: var(--gm-amber-wash); }
.gm .gm-cp-callout--amber .gm-cp-callout__icon, .gm .gm-cp-callout--amber .gm-cp-callout__title { color: var(--gm-amber); }
.gm .gm-cp-callout--blue { background: var(--gm-blue-wash); }
.gm .gm-cp-callout--blue .gm-cp-callout__icon, .gm .gm-cp-callout--blue .gm-cp-callout__title { color: var(--gm-blue); }

/* ---------- Prose (our copy, CMS text and blog bodies) ---------- */
.gm .gm-prose { color: var(--gm-ink-2); font-size: 16px; line-height: 1.65; overflow-wrap: break-word; }
.gm .gm-prose > :first-child { margin-top: 0; }
.gm .gm-prose > :last-child { margin-bottom: 0; }
.gm .gm-prose p { margin: 0 0 16px; }
.gm .gm-prose h1, .gm .gm-prose h2 { font-family: var(--gm-font-display); font-weight: 600; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; color: var(--gm-ink); margin: 40px 0 14px; scroll-margin-top: 24px; }
.gm .gm-prose h3 { font-family: var(--gm-font-body); font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--gm-ink); margin: 28px 0 10px; scroll-margin-top: 24px; }
.gm .gm-prose h4, .gm .gm-prose h5, .gm .gm-prose h6 { font-family: var(--gm-font-body); font-size: 17px; font-weight: 600; color: var(--gm-ink); margin: 22px 0 8px; }
.gm .gm-prose ul, .gm .gm-prose ol { margin: 0 0 16px; padding-left: 22px; }
.gm .gm-prose li { margin: 0 0 6px; }
.gm .gm-prose li > b:first-child, .gm .gm-prose li > strong:first-child { color: var(--gm-ink); }
.gm .gm-prose b, .gm .gm-prose strong { font-weight: 600; color: var(--gm-ink); }
.gm .gm-prose a { color: var(--gm-coral-ink); text-decoration: underline; text-underline-offset: 2px; }
.gm .gm-prose a:hover { color: var(--gm-coral-ink-hover); }
.gm .gm-prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 8px 0; }
.gm .gm-prose figure { margin: 20px 0; }
.gm .gm-prose figcaption { font-size: 13px; color: var(--gm-muted); margin-top: 6px; }
.gm .gm-prose blockquote { margin: 20px 0; padding: 14px 18px; background: var(--gm-sunken); border-radius: 12px; color: var(--gm-ink); }
.gm .gm-prose blockquote p:last-child { margin: 0; }
.gm .gm-prose hr { border: 0; border-top: 1px solid var(--gm-line); margin: 28px 0; }
.gm .gm-prose code { font-size: .92em; background: var(--gm-sunken); border-radius: 6px; padding: 1px 6px; }
.gm .gm-prose pre { overflow-x: auto; background: var(--gm-sunken); border-radius: 12px; padding: 14px 16px; }
.gm .gm-prose pre code { background: none; padding: 0; }
.gm .gm-prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.gm .gm-prose th, .gm .gm-prose td { border: 1px solid var(--gm-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.gm .gm-prose th { background: var(--gm-sunken); color: var(--gm-ink); font-weight: 600; }
.gm .gm-prose iframe { max-width: 100%; border: 0; border-radius: 12px; }

/* Section headings written directly in our views (no .gm-prose wrapper) */
.gm .gm-cp-h2 { margin: 24px 0 0; font-family: var(--gm-font-display); font-weight: 600; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; scroll-margin-top: 24px; }
.gm .gm-cp-h3 { margin: 8px 0 0; font-family: var(--gm-font-body); font-size: 20px; font-weight: 600; line-height: 1.25; }
.gm .gm-cp-p { margin: 0; color: var(--gm-ink-2); }
.gm .gm-cp-list { margin: 0; padding-left: 22px; color: var(--gm-ink-2); display: flex; flex-direction: column; gap: 6px; }
.gm .gm-cp-list b { color: var(--gm-ink); font-weight: 600; }

/* ---------- Fee table ---------- */
.gm .gm-cp-table-wrap { overflow-x: auto; background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: 16px; }
.gm .gm-cp-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.gm .gm-cp-table caption { text-align: left; padding: 14px 20px 0; font-size: 13px; color: var(--gm-muted); }
.gm .gm-cp-table thead th { padding: 12px 16px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gm-muted); border-bottom: 1px solid var(--gm-line); text-align: right; }
.gm .gm-cp-table th:first-child, .gm .gm-cp-table td:first-child { text-align: left; padding-left: 20px; }
.gm .gm-cp-table th:last-child, .gm .gm-cp-table td:last-child { padding-right: 20px; }
.gm .gm-cp-table tbody tr + tr { border-top: 1px solid var(--gm-line); }
.gm .gm-cp-table tbody th { padding: 14px 16px; font-weight: 600; text-align: left; }
.gm .gm-cp-table tbody th span { font-weight: 400; color: var(--gm-muted); font-size: 13px; }
.gm .gm-cp-table tbody td { padding: 14px 16px; color: var(--gm-ink-2); text-align: right; white-space: nowrap; }
.gm .gm-cp-table tbody td.is-net { font-weight: 600; color: var(--gm-teal); }

/* ---------- Q&A (native details/summary: keyboard and screen-reader friendly, no JS) ---------- */
.gm .gm-cp-faqs { display: flex; flex-direction: column; background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: 16px; overflow: hidden; }
.gm .gm-cp-faq + .gm-cp-faq { border-top: 1px solid var(--gm-line); }
.gm .gm-cp-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 600; font-size: 16px; color: var(--gm-ink); }
.gm .gm-cp-faq summary::-webkit-details-marker { display: none; }
.gm .gm-cp-faq summary:hover { background: var(--gm-paper); }
.gm .gm-cp-faq summary .gm-svg { color: var(--gm-muted); transition: transform .15s; }
.gm .gm-cp-faq[open] summary .gm-svg { transform: rotate(180deg); }
.gm .gm-cp-faq__a { padding: 0 20px 18px; color: var(--gm-ink-2); }
.gm .gm-cp-faq__a > :first-child { margin-top: 0; }
.gm .gm-cp-faq__a p { margin: 0 0 10px; }
.gm .gm-cp-faq__a p:last-child { margin: 0; }
.gm .gm-cp-faq[hidden] { display: none; }
.gm .gm-cp-group[hidden] { display: none; }
.gm .gm-cp-group { display: flex; flex-direction: column; gap: 14px; }
.gm .gm-cp-results { font-size: 14px; color: var(--gm-muted); margin: 0; }
.gm .gm-cp-results:empty { display: none; }

/* ---------- Article footer: contact card ---------- */
.gm .gm-cp-foot { margin-top: 24px; border-top: 1px solid var(--gm-line); padding-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.gm .gm-cp-contact { background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: 16px; padding: 20px 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gm .gm-cp-contact__icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: var(--gm-amber-wash); color: var(--gm-amber); display: flex; align-items: center; justify-content: center; }
.gm .gm-cp-contact__text { flex: 1 1 260px; display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.gm .gm-cp-contact__text strong { font-size: 15px; font-weight: 600; }
.gm .gm-cp-contact__text span { font-size: 13.5px; color: var(--gm-ink-2); }

/* ---------- Cards grid (why-us points, about facts, CTA band) ---------- */
.gm .gm-cp-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.gm .gm-cp-point { background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.gm .gm-cp-point__icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.gm .gm-cp-point h3 { font-family: var(--gm-font-body); font-size: 17px; font-weight: 600; line-height: 1.3; }
.gm .gm-cp-point p { margin: 0; font-size: 15px; color: var(--gm-ink-2); }
.gm .gm-cp-facts { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0; margin: 0; background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: 16px; overflow: hidden; }
.gm .gm-cp-facts dt, .gm .gm-cp-facts dd { margin: 0; padding: 14px 20px; border-top: 1px solid var(--gm-line); font-size: 15px; }
.gm .gm-cp-facts dt { color: var(--gm-muted); font-weight: 600; font-size: 13.5px; }
.gm .gm-cp-facts dd { color: var(--gm-ink); overflow-wrap: anywhere; }
.gm .gm-cp-facts dt:first-of-type, .gm .gm-cp-facts dt:first-of-type + dd { border-top: 0; }
.gm .gm-cp-cta { background: var(--gm-night); color: var(--gm-night-text); border-radius: 24px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.gm .gm-cp-cta h2 { color: var(--gm-night-text); font-family: var(--gm-font-display); font-weight: 600; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; }
.gm .gm-cp-cta p { margin: 6px 0 0; color: var(--gm-night-muted); max-width: 520px; }
.gm .gm-cp-cta .gm-row { gap: 10px; }
.gm .gm-cp-cta .gm-btn--secondary { background: transparent; color: var(--gm-night-text); border-color: var(--gm-night-line); }
.gm .gm-cp-cta .gm-btn--secondary:hover { background: #2A221D; color: var(--gm-night-text); }

/* ---------- Legal ---------- */
.gm .gm-cp-legal .gm-prose h2 { font-size: 24px; margin-top: 32px; }
.gm .gm-cp-legal__body { display: flex; flex-direction: column; gap: 28px; }
.gm .gm-cp-legal__body .gm-cms-block { max-width: none; }
.gm .gm-cp-legal__body .gm-cms-block h2 { font-size: 24px; }
.gm .gm-cp-empty { background: var(--gm-surface); border: 1px dashed var(--gm-line-strong); border-radius: 16px; padding: 28px; color: var(--gm-ink-2); }
.gm .gm-cp-empty p { margin: 0 0 8px; }
.gm .gm-cp-empty p:last-child { margin: 0; }

/* ---------- Blog ---------- */
.gm .gm-blog { max-width: 1200px; margin: 0 auto; padding: 48px 32px 96px; display: flex; flex-direction: column; gap: 32px; }
.gm .gm-blog__head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.gm .gm-blog__head h1 { font-family: var(--gm-font-display); font-weight: 700; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.gm .gm-blog__head .gm-chip { align-self: flex-start; }
.gm .gm-blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.gm .gm-post-card { position: relative; height: 100%; background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s; }
.gm .gm-post-card:hover { border-color: var(--gm-line-strong); }
.gm .gm-post-card:focus-within { box-shadow: var(--gm-focus); }
.gm .gm-post-card__img { aspect-ratio: 3 / 2; background: var(--gm-sunken); overflow: hidden; }
.gm .gm-post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gm .gm-post-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gm .gm-post-card__cats { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.gm .gm-post-card__cats a, .gm .gm-post-card__cats span { text-decoration: none; }
.gm .gm-post-card h2, .gm .gm-post-card h3 { font-family: var(--gm-font-display); font-weight: 600; font-size: 20px; line-height: 1.25; }
.gm .gm-post-card__link { color: var(--gm-ink); text-decoration: none; }
.gm .gm-post-card__link:hover { color: var(--gm-coral-ink); }
.gm .gm-post-card__link:focus-visible { box-shadow: none; outline: none; }
/* The title link covers the card so the whole card is clickable; category/tag links sit above it. */
.gm .gm-post-card__link::after { content: ""; position: absolute; inset: 0; }
.gm .gm-post-card p { margin: 0; color: var(--gm-ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gm .gm-post-card__meta { margin-top: auto; font-size: 13px; color: var(--gm-muted); }
.gm .gm-blog__empty { background: var(--gm-surface); border: 1px dashed var(--gm-line-strong); border-radius: 16px; padding: 40px 24px; text-align: center; color: var(--gm-ink-2); }
.gm .gm-blog__empty p { margin: 0 0 12px; }
.gm .gm-blog__author { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.gm .gm-blog__author-img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; background: var(--gm-sunken); }
.gm .gm-blog__links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.gm .gm-blog__links a { font-weight: 600; text-decoration: none; }
.gm .gm-blog__links a:hover { text-decoration: underline; }

.gm .gm-post { max-width: 1200px; margin: 0 auto; padding: 40px 32px 96px; display: flex; flex-direction: column; gap: 56px; }
.gm .gm-post__article { max-width: 760px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.gm .gm-post__cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.gm .gm-post__cats a { text-decoration: none; }
.gm .gm-post__author-links { margin: 4px 0 0; }
.gm .gm-blog__links:empty { display: none; }
.gm .gm-post__back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; }
.gm .gm-post__byline { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--gm-muted); flex-wrap: wrap; }
.gm .gm-post__byline img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.gm .gm-post__byline b { color: var(--gm-ink); font-weight: 600; }
.gm .gm-post__byline a { color: var(--gm-ink); font-weight: 600; text-decoration: none; }
.gm .gm-post__byline a:hover { color: var(--gm-coral-ink); text-decoration: underline; }
.gm .gm-post__cover { margin: 0; border-radius: 16px; overflow: hidden; background: var(--gm-sunken); }
.gm .gm-post__cover img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.gm .gm-post__body { font-size: 17px; }
.gm .gm-post__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gm .gm-post__tags a { display: inline-flex; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--gm-line-strong); background: var(--gm-surface); color: var(--gm-ink-2); font-size: 13px; font-weight: 600; text-decoration: none; }
.gm .gm-post__tags a:hover { background: var(--gm-sunken); color: var(--gm-ink); }
.gm .gm-post__author { background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: 16px; padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.gm .gm-post__author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.gm .gm-post__author-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.gm .gm-post__author-name { font-weight: 600; font-size: 16px; color: var(--gm-ink); text-decoration: none; }
.gm a.gm-post__author-name:hover { color: var(--gm-coral-ink); text-decoration: underline; }
.gm .gm-post__author-role { font-size: 13px; color: var(--gm-teal); font-weight: 600; }
.gm .gm-post__author-bio { margin: 0; font-size: 14.5px; color: var(--gm-ink-2); }
.gm .gm-post__more { display: flex; flex-direction: column; gap: 20px; }
.gm .gm-post__more h2 { font-family: var(--gm-font-display); font-weight: 600; font-size: 30px; letter-spacing: -0.02em; }

/* Blog pager (links, not buttons) */
.gm .gm-cp-pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
.gm .gm-cp-pager a, .gm .gm-cp-pager span { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--gm-line); background: var(--gm-surface); color: var(--gm-ink); font-weight: 600; font-size: 14px; text-decoration: none; font-variant-numeric: tabular-nums; }
.gm .gm-cp-pager a:hover { border-color: var(--gm-line-strong); background: var(--gm-sunken); color: var(--gm-ink); }
.gm .gm-cp-pager [aria-current="page"] { background: var(--gm-ink); border-color: var(--gm-ink); color: #FFFFFF; }
.gm .gm-cp-pager .is-disabled { color: var(--gm-muted); background: transparent; }
.gm .gm-cp-pager .is-gap { border: 0; background: none; min-width: 24px; padding: 0; color: var(--gm-muted); }

/* ---------- Error pages (404 et al.) ---------- */
.gm .gm-nf-wrap { max-width: 1200px; margin: 0 auto; padding: 48px 32px 96px; }
.gm .gm-nf { border: 1px dashed var(--gm-line-strong); border-radius: 24px; padding: 72px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; position: relative; overflow: hidden; }
.gm .gm-nf__blob { position: absolute; border-radius: 50%; pointer-events: none; }
.gm .gm-nf__blob--a { right: -70px; top: -70px; width: 220px; height: 220px; background: var(--gm-coral-wash); }
.gm .gm-nf__blob--b { left: -60px; bottom: -80px; width: 200px; height: 200px; background: var(--gm-teal-wash); }
.gm .gm-nf > :not(.gm-nf__blob) { position: relative; }
.gm .gm-nf__code { margin: 0; font-family: var(--gm-font-display); font-weight: 700; font-size: 96px; line-height: 1; letter-spacing: -0.04em; color: var(--gm-ink); display: inline-flex; align-items: baseline; }
.gm .gm-nf__code span { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--gm-coral); margin-left: 6px; }
.gm .gm-nf h1 { font-family: var(--gm-font-display); font-weight: 600; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; }
.gm .gm-nf__text { margin: 0; max-width: 520px; color: var(--gm-ink-2); font-size: 17px; }
.gm .gm-nf__search { margin: 6px 0 0; width: 100%; max-width: 560px; display: flex; align-items: center; gap: 8px; background: var(--gm-surface); border: 1px solid var(--gm-line-strong); border-radius: 16px; padding: 6px 6px 6px 18px; }
.gm .gm-nf__search > .gm-svg { color: var(--gm-muted); }
.gm .gm-nf__search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font: 400 16px var(--gm-font-body); color: var(--gm-ink); }
.gm .gm-nf__search input:focus-visible { box-shadow: none; }
.gm .gm-nf__search:focus-within { box-shadow: var(--gm-focus); }
.gm .gm-nf__search button { height: 44px; padding: 0 20px; border-radius: 12px; border: 0; background: var(--gm-ink); color: #FFFFFF; font: 600 15px var(--gm-font-body); cursor: pointer; }
.gm .gm-nf__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; width: 100%; max-width: 720px; margin: 10px 0 0; padding: 0; list-style: none; }
.gm .gm-nf__link { text-decoration: none; color: var(--gm-ink); background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: 16px; padding: 16px; display: flex; align-items: center; gap: 12px; text-align: left; height: 100%; }
.gm .gm-nf__link:hover { border-color: var(--gm-line-strong); color: var(--gm-ink); }
.gm .gm-nf__link-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.gm .gm-nf__link-text { display: flex; flex-direction: column; line-height: 1.35; }
.gm .gm-nf__link-text strong { font-size: 15px; font-weight: 600; }
.gm .gm-nf__link-text span { font-size: 12.5px; color: var(--gm-muted); }
.gm .gm-nf__home { font-size: 15px; font-weight: 600; text-decoration: none; margin-top: 4px; }
.gm .gm-nf__home:hover { text-decoration: underline; }
.gm .gm-nf__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.gm .gm-icon-coral { background: var(--gm-coral-wash); color: var(--gm-coral-ink); }
.gm .gm-icon-blue { background: var(--gm-blue-wash); color: var(--gm-blue); }
.gm .gm-icon-teal { background: var(--gm-teal-wash); color: var(--gm-teal); }
.gm .gm-icon-amber { background: var(--gm-amber-wash); color: var(--gm-amber); }

/* =====================================================================
 * CMS pages (layouts.gm-site): the pagebuilder's grid markup and the section views it renders.
 * The pagebuilder emits Bootstrap-style container/row/col classes; this is a small flex grid for them.
 * ===================================================================== */
.gm .gm-cms { padding: 0 0 72px; }
.gm .gm-cms .pb-themesection { padding: 32px 0; }
.gm .gm-cms .container { max-width: 1200px; margin: 0 auto; padding: 0 32px; width: 100%; }
.gm .gm-cms .container-fluid { width: 100%; padding: 0 32px; }
.gm .gm-cms .row { display: flex; flex-wrap: wrap; gap: 32px 0; margin: 0 -16px; }
.gm .gm-cms .row > [class^="col"], .gm .gm-cms .row > [class*=" col"] { padding: 0 16px; min-width: 0; flex: 1 0 0%; }
.gm .gm-cms .row > .col-12 { flex: 0 0 100%; max-width: 100%; }
.gm .gm-cms .row > .col-9 { flex: 0 0 75%; max-width: 75%; }
.gm .gm-cms .row > .col-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.gm .gm-cms .row > .col-6 { flex: 0 0 50%; max-width: 50%; }
.gm .gm-cms .row > .col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.gm .gm-cms .row > .col-3 { flex: 0 0 25%; max-width: 25%; }
.gm .gm-cms .row > .col-2-4 { flex: 0 0 20%; max-width: 20%; }
.gm .gm-cms .row > .col-2 { flex: 0 0 16.666%; max-width: 16.666%; }
.gm .gm-cms img { max-width: 100%; height: auto; }
.gm .gm-cms-content { max-width: 760px; }
/* A CMS page whose text is in the rich-text "content" field (pagebuilder::page renders .pb-page-content). */
.gm .gm-cms .pb-page-content { max-width: 824px; margin: 32px auto 0; color: var(--gm-ink-2); line-height: 1.65; overflow-wrap: break-word; }
.gm .gm-cms .pb-page-content p, .gm .gm-cms .pb-page-content ul, .gm .gm-cms .pb-page-content ol { margin: 0 0 16px; }
.gm .gm-cms .pb-page-content h2 { font-family: var(--gm-font-display); font-weight: 600; font-size: 30px; letter-spacing: -0.02em; margin: 36px 0 12px; }
.gm .gm-cms .pb-page-content h3 { font-family: var(--gm-font-body); font-weight: 600; font-size: 20px; margin: 24px 0 8px; }
.gm .gm-cms .pb-page-content a { text-decoration: underline; text-underline-offset: 2px; }
.gm .gm-cms .pb-page-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.gm .gm-cms .pb-page-content th, .gm .gm-cms .pb-page-content td { border: 1px solid var(--gm-line); padding: 10px 12px; text-align: left; }

.gm .gm-cms-head { max-width: 1200px; margin: 0 auto; padding: 40px 32px 8px; display: flex; flex-direction: column; gap: 12px; }
.gm .gm-cms-head h1 { font-family: var(--gm-font-display); font-weight: 700; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: anywhere; }

/* paragraph / faqs / content-with-bullets: a readable column */
.gm .gm-cms-block { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.gm .gm-cms-block__eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gm-muted); margin: 0; }
.gm .gm-cms-block h2 { font-family: var(--gm-font-display); font-weight: 600; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; scroll-margin-top: 24px; }
.gm .gm-cms-block .gm-btn { align-self: flex-start; }
.gm .gm-cms-bullets { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.gm .gm-cms-bullets li { display: flex; gap: 10px; align-items: flex-start; color: var(--gm-ink-2); }
.gm .gm-cms-bullets li .gm-svg { color: var(--gm-teal); margin-top: 3px; }
.gm .gm-cms-block--dark { background: var(--gm-night); color: var(--gm-night-text); border-radius: 24px; padding: 32px; max-width: none; }
.gm .gm-cms-block--dark h2 { color: var(--gm-night-text); }
.gm .gm-cms-block--dark .gm-prose, .gm .gm-cms-block--dark .gm-cms-bullets li { color: var(--gm-night-muted); }

/* image */
.gm .gm-cms-image { margin: 0; border-radius: 16px; overflow: hidden; background: var(--gm-sunken); }
.gm .gm-cms-image img { width: 100%; display: block; object-fit: cover; }

/* counter */
.gm .gm-cms-stats { display: flex; flex-direction: column; gap: 16px; }
.gm .gm-cms-stats > p { margin: 0; color: var(--gm-ink-2); max-width: 640px; }
.gm .gm-cms-stats ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.gm .gm-cms-stats li { background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.gm .gm-cms-stats img { width: 32px; height: 32px; object-fit: contain; margin-bottom: 6px; }
.gm .gm-cms-stats strong { font-family: var(--gm-font-display); font-weight: 700; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.gm .gm-cms-stats span { font-size: 14px; color: var(--gm-ink-2); }

/* add-banner: a dark call-to-action band */
.gm .gm-cms-banner { background: var(--gm-night); color: var(--gm-night-text); border-radius: 24px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.gm .gm-cms-banner__text { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.gm .gm-cms-banner__text .gm-cms-block__eyebrow { color: var(--gm-night-muted); }
.gm .gm-cms-banner h2 { color: var(--gm-night-text); font-family: var(--gm-font-display); font-weight: 600; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; }
.gm .gm-cms-banner p { margin: 0; color: var(--gm-night-muted); }
.gm .gm-cms-banner__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.gm .gm-cms-banner__aside small { color: var(--gm-night-muted); font-size: 13px; }

/* spacer */
.gm .gm-cms-spacer { height: 48px; }

/* ---------- Tablet / phone ---------- */
@media (max-width: 1024px) {
  .gm .gm-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .gm .gm-cp__layout { gap: 28px; }
  .gm .gm-cp__aside { position: static; max-width: none; flex-basis: 100%; gap: 20px; }
  .gm .gm-cp-toc { background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: 16px; padding: 16px 18px; }
  .gm .gm-cp-related { display: none; }
}
@media (max-width: 768px) {
  .gm .gm-cp-band__inner { padding: 12px 16px; }
  .gm .gm-cp-search { flex-basis: 100%; }
  .gm .gm-cp, .gm .gm-blog, .gm .gm-post, .gm .gm-nf-wrap { padding: 28px 16px 64px; }
  .gm .gm-cp { gap: 48px; }
  .gm .gm-cp-head h1, .gm .gm-blog__head h1, .gm .gm-cms-head h1 { font-size: 30px; }
  .gm .gm-cp-h2, .gm .gm-prose h1, .gm .gm-prose h2, .gm .gm-cms-block h2, .gm .gm-post__more h2 { font-size: 24px; }
  .gm .gm-cp-lead { font-size: 17px; }
  .gm .gm-cp-points { grid-template-columns: minmax(0, 1fr); }
  .gm .gm-cp-facts { grid-template-columns: minmax(0, 1fr); }
  .gm .gm-cp-facts dt { padding-bottom: 0; }
  .gm .gm-cp-facts dd { border-top: 0; padding-top: 4px; }
  .gm .gm-cp-cta, .gm .gm-cms-banner { padding: 28px 20px; border-radius: 20px; }
  .gm .gm-cp-cta h2, .gm .gm-cms-banner h2 { font-size: 24px; }
  .gm .gm-blog__grid { grid-template-columns: minmax(0, 1fr); }
  .gm .gm-post__author { flex-direction: column; }
  .gm .gm-nf { padding: 48px 16px; }
  .gm .gm-nf__code { font-size: 72px; }
  .gm .gm-nf h1 { font-size: 30px; }
  .gm .gm-nf__search { padding-left: 14px; }
  .gm .gm-nf__search button { padding: 0 14px; }
  .gm .gm-cms-head { padding: 28px 16px 0; }
  .gm .gm-cms .container, .gm .gm-cms .container-fluid { padding: 0 16px; }
  .gm .gm-cms .row > [class^="col"], .gm .gm-cms .row > [class*=" col"] { flex: 0 0 100%; max-width: 100%; }
  .gm .gm-cms .pb-themesection { padding: 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .gm .gm-cp-faq summary .gm-svg, .gm .gm-post-card { transition: none; }
}
@media print {
  .gm .gm-header, .gm .gm-footer, .gm .gm-cp-band, .gm .gm-cp__aside, .gm .gm-cp-foot { display: none !important; }
  .gm .gm-cp { padding: 0; }
  .gm .gm-cp__article { max-width: none; }
}
