/* ============================================================
   Coverage Axis — Design System v4 (Blue + Violet Pop)
   Blue-to-violet gradient accents, FR2-inspired framework
   ============================================================ */

/* ── TOKENS (Coverage Axis — Blue + Violet Pop) ──────── */
:root {
    --navy:        #0F172A;
    --navy-lt:     #1E293B;
    --steel:       #6366F1;
    --coral:       #7C3AED;
    --coral-dk:    #6D28D9;
    --violet:      #7C3AED;
    --blue:        #2563EB;
    --text:        #1E293B;
    --text-muted:  #64748B;
    --text-light:  #94A3B8;
    --white:       #FFFFFF;
    --surface:     #F8FAFC;
    --cream:       #FAFAFC;
    --border:      #E2E8F0;
    --border-lt:   #F1F5F9;
    --green:       #22c55e;
    --sky-bg:      #EEF2FF;
    --sky-dk:      #4F46E5;
    --peach-bg:    #F5F3FF;
    --mint-bg:     #EEF2FF;
    --mint-dk:     #4338CA;
    --rule:        rgba(124,58,237,.06);
    --max-w:       1140px;
    --narrow:      880px;
    --gutter:      clamp(1.25rem, 5vw, 2.5rem);
    --radius:      6px;
    --radius-lg:   10px;
    --radius-xl:   16px;
    --radius-pill: 50px;
    --shadow:      0 2px 8px rgba(0,0,0,.04);
    --shadow-lg:   0 8px 24px rgba(0,0,0,.08);
    --heading:     'Heebo', sans-serif;
    --body:        'Roboto', sans-serif;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
img[loading="lazy"] { opacity: 0; transition: opacity .4s ease; }
img[loading="lazy"].is-loaded, img[loading="lazy"][src=""] { opacity: 1; }

/* ── SCROLL ANIMATIONS ─────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

.stagger-children > * { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.stagger-children.is-visible > * { opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: .08s; }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: .08s; }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: .16s; }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: .24s; }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: .32s; }
.stagger-children.is-visible > *:nth-child(7) { transition-delay: .4s; }
.stagger-children.is-visible > *:nth-child(8) { transition-delay: .48s; }
.stagger-children.is-visible > *:nth-child(9) { transition-delay: .56s; }
.stagger-children.is-visible > *:nth-child(10) { transition-delay: .64s; }
.stagger-children.is-visible > *:nth-child(11) { transition-delay: .72s; }
.stagger-children.is-visible > *:nth-child(12) { transition-delay: .8s; }
.stagger-children.is-visible > *:nth-child(13) { transition-delay: .88s; }
.stagger-children.is-visible > *:nth-child(14) { transition-delay: .96s; }
.stagger-children.is-visible > *:nth-child(15) { transition-delay: 1.04s; }
a { color: var(--steel); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading); color: var(--navy); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 1.65rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.25em; }

/* ── EYEBROW LABEL ──────────────────────────────────── */
.sg-eyebrow {
    font-family: var(--body);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--steel);
    margin-bottom: .4rem;
}

/* ── HEADER ──────────────────────────────────────────── */
.sg-header { position: sticky; top: 0; z-index: 100; background: linear-gradient(135deg, #0F172A 0%, #1a1a3e 100%); border-bottom: none; }
@media (max-width: 640px) { .sg-header { position: relative; } }
.sg-header__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; height: 62px; }
.sg-header__logo { font-family: var(--heading); font-weight: 900; font-size: 1.35rem; color: var(--white); text-decoration: none; letter-spacing: -0.02em; }
.sg-header__nav .sg-nav { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.sg-header__nav .sg-nav a { color: rgba(255,255,255,.7); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .15s; }
.sg-header__nav .sg-nav a:hover { color: var(--white); }
.sg-header__actions { display: flex; align-items: center; gap: 1.25rem; }
.sg-header__phone { color: rgba(255,255,255,.6); font-size: 14px; text-decoration: none; }
.sg-header__phone:hover { color: var(--white); }
.sg-header__phone-label { color: rgba(255,255,255,.4); }
.sg-header__cta { display: inline-block; background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); padding: .55rem 1.5rem; border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; text-decoration: none; transition: all .2s; border: 1.5px solid transparent; }
.sg-header__cta:hover { opacity: .9; text-decoration: none; }

/* Logo image from WP custom logo */
.sg-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.sg-header__logo .custom-logo-link { display: inline-flex; align-items: center; }
.sg-header__logo img.custom-logo { height: 42px !important; width: auto !important; max-width: 240px; display: block; }

/* Hamburger toggle — hidden on desktop, visible on mobile */
.sg-header__toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; width: 32px; height: 32px; position: relative; flex-shrink: 0; }
.sg-header__toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; position: absolute; left: 5px; transition: all .25s ease; }
.sg-header__toggle span:nth-child(1) { top: 8px; }
.sg-header__toggle span:nth-child(2) { top: 15px; }
.sg-header__toggle span:nth-child(3) { top: 22px; }
.sg-header__toggle.is-open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.sg-header__toggle.is-open span:nth-child(2) { opacity: 0; }
.sg-header__toggle.is-open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

@media (max-width: 768px) {
    .sg-header__nav, .sg-header__phone { display: none; }
    .sg-header__toggle { display: block; }
    .sg-header__cta { display: none; }

    /* Mobile nav open state */
    .sg-header__nav.is-open {
        display: block;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #0F172A 0%, #1a1a3e 100%);
        padding: 1rem var(--gutter) 1.5rem;
        border-top: 1px solid rgba(255,255,255,.08);
        box-shadow: 0 8px 24px rgba(0,0,0,.3);
    }
    .sg-header__nav.is-open .sg-nav {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .sg-header__nav.is-open .sg-nav li a {
        display: block;
        padding: .75rem 0;
        font-size: 16px;
        color: rgba(255,255,255,.85);
        border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .sg-header__nav.is-open .sg-nav li:last-child a { border-bottom: none; }
    .sg-header__nav.is-open .sg-nav li a:hover { color: var(--white); }
}

/* ── BREADCRUMBS ─────────────────────────────────────── */
.sg-breadcrumbs { max-width: var(--max-w); margin: -1.5rem auto 0; padding: 0 var(--gutter) 3.5rem; text-align: center; }
.sg-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin: 0; padding: 0; font-size: 13px; color: rgba(255,255,255,.4); }
.sg-breadcrumbs ol li + li::before { content: "/"; color: rgba(255,255,255,.2); margin-right: .35rem; }
.sg-breadcrumbs a { color: rgba(255,255,255,.5); text-decoration: none; }
.sg-breadcrumbs a:hover { color: rgba(255,255,255,.8); text-decoration: underline; }
.sg-breadcrumbs__current { color: rgba(255,255,255,.8); font-weight: 500; }

/* ── HERO (FR2 style — subtle gradient, fine lines) ─── */
.sg-hero { background: linear-gradient(135deg, #0F172A 0%, #1a1a3e 50%, #2d1b4e 100%); padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) clamp(4rem, 8vw, 6rem); text-align: center; position: relative; overflow: visible; border-bottom: none; }
.sg-hero--left { text-align: center; }
.sg-hero--left .sg-hero__title, .sg-hero--left .sg-hero__intro { max-width: 700px; margin-left: auto; margin-right: auto; }
.sg-hero__title { max-width: 700px; margin: 0 auto .75rem; color: var(--white); }
.sg-hero__intro { max-width: 560px; margin: 0 auto 1.5rem; font-size: .95rem; line-height: 1.7; color: rgba(255,255,255,.7); }
.sg-hero__cta { display: inline-flex; align-items: center; gap: .5rem; background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); padding: .85rem 2rem; border-radius: var(--radius-pill); position: relative; z-index: 1; font-family: var(--heading); font-size: .95rem; font-weight: 700; text-decoration: none; transition: all .25s; border: none; outline: none; }
.sg-hero__cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124,58,237,.35); text-decoration: none; }
.sg-hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: center; margin-top: 1.25rem; }
.sg-hero__trust-item { font-size: .8rem; color: rgba(255,255,255,.6); font-weight: 500; }
.sg-hero__trust-check { color: #4ade80; text-shadow: 0 0 6px rgba(74,222,128,.4); margin-right: .15rem; }
.sg-hero--left .sg-hero__trust { justify-content: center; }

/* ── STATS BAR (Floating card with gradient values) ──── */
.sg-stats-bar { display: flex; flex-wrap: wrap; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 4px 20px rgba(0,0,0,.06); border: 1px solid var(--border); border-top: 3px solid; border-image: linear-gradient(90deg, var(--blue), var(--violet)) 1; border-top-left-radius: 0; border-top-right-radius: 0; max-width: 900px; margin: -3.5rem auto 0; position: relative; z-index: 2; }
.sg-stat { flex: 1; min-width: 160px; padding: 1.5rem 1rem; text-align: center; }
.sg-stat + .sg-stat { border-left: 1px solid var(--border-lt); }
.sg-stat__value { display: block; font-family: var(--heading); font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; background: linear-gradient(135deg, var(--blue), var(--violet)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sg-stat__label { display: block; font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); margin-top: .35rem; font-weight: 500; }

@media (max-width: 640px) {
    .sg-stats-bar { flex-wrap: wrap; margin: -1rem 1rem 0; }
    .sg-stat { flex: 1 1 50%; }
    .sg-stat:nth-child(3), .sg-stat:nth-child(4) { border-top: 1px solid var(--border-lt); }
}

/* ── MAIN CONTENT (FR2 article style) ────────────────── */
.sg-main { min-height: 60vh; }
.sg-content { max-width: var(--narrow); margin: 0 auto; padding: clamp(2.5rem, 5vw, 3.5rem) var(--gutter); }
.sg-content--narrow { max-width: var(--narrow); margin: 0 auto; padding: clamp(2.5rem, 5vw, 3.5rem) var(--gutter); }
.sg-content h2 { font-size: clamp(1.35rem, 2.8vw, 1.65rem); font-weight: 800; margin: 2.5rem 0 1.5rem; padding: 0 0 .75rem; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 50%, var(--violet) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; border-left: none; position: relative; }
.sg-content h2::after { content: ""; display: block; width: 60px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--violet)); margin-top: .75rem; border-radius: 2px; }
.sg-content h3 { margin-top: 2rem; margin-bottom: .5rem; color: var(--navy); position: relative; padding-left: 1rem; font-size: 1.05rem; }
.sg-content h3::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px; background: linear-gradient(180deg, var(--blue), var(--violet)); border-radius: 3px; }
.sg-content p { line-height: 1.8; color: var(--text-muted); margin-bottom: 1.25rem; font-size: .95rem; }
.sg-content ul { margin: 1.25rem 0 1.75rem; padding-left: 0; list-style: none; }
.sg-content li { margin-bottom: .75rem; line-height: 1.7; color: var(--text-muted); padding-left: 1.5rem; position: relative; font-size: .95rem; }
.sg-content li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: linear-gradient(135deg, var(--blue), var(--violet)); border-radius: 50%; }
.sg-content li::after { display: none; }
.sg-content strong { color: var(--navy); font-weight: 700; }
.sg-content a { color: var(--steel); text-decoration: underline; text-decoration-color: rgba(99,102,241,.3); text-underline-offset: 3px; transition: text-decoration-color .15s; }
.sg-content a:hover { text-decoration-color: var(--steel); }
.sg-content blockquote { margin: 1.5rem 0; padding: 1.25rem 1.5rem 1.25rem 1.75rem; max-width: none; text-align: left; font-family: var(--body); font-size: .95rem; font-style: normal; color: var(--navy); line-height: 1.7; font-weight: 600; background: linear-gradient(135deg, rgba(37,99,235,.04), rgba(124,58,237,.06)); border-left: 4px solid; border-image: linear-gradient(180deg, var(--blue), var(--violet)) 1; border-radius: 0; letter-spacing: normal; }
.sg-content blockquote::before { display: none; }
.sg-content blockquote p { text-align: left; font-family: var(--body); font-size: .95rem; line-height: 1.7; font-style: normal; color: var(--navy); margin-bottom: 0; font-weight: 600; }
.sg-content blockquote p + p { margin-top: .75rem; font-weight: 400; font-size: .9rem; color: var(--text-muted); }
.sg-content blockquote strong { color: var(--steel); }
.sg-content hr { border: none; height: 2px; background: linear-gradient(90deg, var(--blue), var(--violet), transparent); margin: 2.5rem 0; border-radius: 2px; }
.sg-content blockquote + hr { margin-top: 1rem; }
.sg-content hr + h2 { margin-top: 2rem; }

/* ── SECTIONS ────────────────────────────────────────── */
.sg-section { padding: clamp(3rem, 6vw, 4.5rem) var(--gutter); position: relative; }
.sg-section > .sg-eyebrow { max-width: var(--max-w); margin: 0 auto .25rem; }
.sg-section > h2 { max-width: var(--max-w); margin: 0 auto 1.5rem; font-size: clamp(1.5rem, 3vw, 1.65rem); }
.sg-section > h2::after { content: ""; display: block; width: 50px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--violet)); margin-top: .75rem; border-radius: 2px; }
.sg-section__intro { max-width: var(--narrow); color: var(--text-muted); font-size: .95rem; margin-bottom: 2rem; }

/* Alternate section — sky blue bg */
.sg-section--alt { background: var(--sky-bg); border-top: 1px solid rgba(99,102,241,.08); border-bottom: 1px solid rgba(99,102,241,.08); }

/* Peach bg variant (for challenges/considerations) */
.sg-section--peach { background: var(--peach-bg); border-top: 1px solid rgba(99,102,241,.08); border-bottom: 1px solid rgba(99,102,241,.08); }

/* ── RELATED SECTIONS ────────────────────────────────── */
.sg-related { padding: clamp(3rem, 6vw, 4.5rem) var(--gutter); }
.sg-related > .sg-eyebrow { max-width: var(--max-w); margin: 0 auto .25rem; }
.sg-related__heading { max-width: var(--max-w); margin: 0 auto 1.25rem; font-size: clamp(1.35rem, 2.8vw, 1.65rem); }
.sg-related__heading::after { content: ""; display: block; width: 50px; height: 3px; background: linear-gradient(90deg, var(--coral), #3B6B9C); margin-top: .75rem; border-radius: 2px; }

/* Alternate related — mint green bg */
.sg-related--alt { background: var(--mint-bg); border-top: 1px solid rgba(45,138,86,.08); border-bottom: 1px solid rgba(45,138,86,.08); }

/* ── CARDS (KEPT — user's design) ────────────────────── */
.sg-cards { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .sg-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sg-cards { grid-template-columns: 1fr; } }

/* Collapsible grid — show first N items, hide rest */
.sg-cards--collapsible > .sg-card:nth-child(n+7) { display: none; }
.sg-cards--collapsible.is-expanded > .sg-card:nth-child(n+7) { display: flex; }
.sg-card { background: var(--white); border: 1px solid var(--border-lt); border-radius: var(--radius); padding: 1.25rem; transition: all .2s ease; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.sg-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--coral), #3B6B9C); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.sg-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.04); transform: translateY(-2px); border-color: var(--border); }
.sg-card:hover::before { transform: scaleX(1); }
.sg-card__icon { width: 42px; height: 42px; border-radius: 50%; background: rgba(99,102,241,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-bottom: .75rem; color: var(--steel); }
.sg-card__icon svg { width: 22px; height: 22px; }
.sg-card__title { font-family: var(--heading); font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.sg-card__desc { font-size: .85rem; color: var(--text-muted); line-height: 1.65; margin: 0; flex: 1; }

/* 2-column variant */
.sg-cards--2col .sg-cards { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .sg-cards--2col .sg-cards { grid-template-columns: 1fr; } }

/* Show More toggle button */
.sg-show-more { display: block; margin: 1.5rem auto 0; padding: .7rem 2rem; border: 2px solid var(--border); border-radius: var(--radius-pill); background: var(--white); font-family: var(--heading); font-weight: 700; font-size: .88rem; color: var(--navy); cursor: pointer; transition: all .2s; }
.sg-show-more:hover { border-color: var(--blue); color: var(--blue); }

/* ── PROCESS STEPS (FR2 stacked cards) ───────────────── */
.sg-process-steps { display: flex; flex-direction: column; gap: .75rem; max-width: var(--max-w); margin: 0 auto; }
.sg-process-step { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); transition: all .25s; position: relative; overflow: hidden; }
.sg-process-step::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--blue), var(--violet)); }
.sg-process-step:hover { border-color: rgba(99,102,241,.2); box-shadow: 0 8px 24px rgba(124,58,237,.08); transform: translateY(-2px); }
.sg-process-step__num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); font-family: var(--heading); font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(124,58,237,.2); }
.sg-process-step__title { font-family: var(--heading); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.sg-process-step__desc { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* ── FAQ (FR2 numbered card accordion) ───────────────── */
.sg-section--faq { background: var(--white) !important; }
.sg-section--faq > .sg-eyebrow { max-width: var(--max-w); margin: 0 auto .25rem; }
.sg-section--faq > h2 { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.sg-section--faq > h2::after { content: ""; display: block; width: 50px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--violet)); margin-top: .75rem; border-radius: 2px; }
.sg-faq { display: flex; flex-direction: column; gap: .75rem; max-width: var(--max-w); margin: 0 auto; }
.sg-faq__item { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .2s; box-shadow: var(--shadow); }
.sg-faq__item:hover { border-color: rgba(99,102,241,.2); box-shadow: 0 4px 16px rgba(124,58,237,.06); }
.sg-faq__item.is-open { border-color: rgba(99,102,241,.3); box-shadow: 0 4px 20px rgba(124,58,237,.08); }
.sg-faq__question { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--white); border: none; text-align: left; font-family: var(--heading); font-size: 1.05rem; font-weight: 700; color: var(--navy); cursor: pointer; transition: background .15s; }
.sg-faq__question:hover { background: var(--surface); }
.sg-faq__num { font-family: var(--heading); font-size: .8rem; font-weight: 800; flex-shrink: 0; min-width: 32px; letter-spacing: .02em; background: linear-gradient(135deg, var(--blue), var(--violet)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sg-faq__text { flex: 1; }
.sg-faq__icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(124,58,237,.08)); color: var(--steel); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 500; transition: all .2s; }
.sg-faq__question[aria-expanded="true"] .sg-faq__icon { background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); transform: rotate(45deg); }
.sg-faq__answer { padding: 0 1.5rem 1.25rem 4rem; font-size: .92rem; color: var(--text-muted); line-height: 1.8; }
.sg-faq__answer p { margin-bottom: .75rem; }
.sg-faq__answer p:last-child { margin-bottom: 0; }

/* ── CTA ─────────────────────────────────────────────── */
.sg-cta { background: linear-gradient(135deg, #0F172A 0%, #1a1a3e 50%, #2d1b4e 100%); padding: clamp(3rem, 6vw, 4.5rem) var(--gutter); text-align: center; }
.sg-cta > .sg-eyebrow { color: rgba(255,255,255,.35); }
.sg-cta__headline { font-size: clamp(1.5rem, 3vw, 1.65rem); margin-bottom: .5rem; color: var(--white); }
.sg-cta__subtext { font-size: .95rem; color: rgba(255,255,255,.6); max-width: 480px; margin: 0 auto 2rem; line-height: 1.7; }
.sg-cta__button { display: inline-block; background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); padding: .8rem 2.5rem; border-radius: var(--radius-pill); font-family: var(--body); font-size: .9rem; font-weight: 700; text-decoration: none; transition: all .25s; box-shadow: 0 4px 14px rgba(124,58,237,.3); }
.sg-cta__button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124,58,237,.4); text-decoration: none; }

/* ── RELATED CARDS ───────────────────────────────────── */
.sg-related__grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* Collapsible related cards — show first 9 desktop, first 6 mobile */
.sg-related__grid--collapsible > .sg-related__card:nth-child(n+10) { display: none; }
.sg-related__grid--collapsible.is-expanded > .sg-related__card:nth-child(n+10) { display: flex; }
@media (max-width: 768px) {
    .sg-related__grid--collapsible > .sg-related__card:nth-child(n+7) { display: none; }
    .sg-related__grid--collapsible.is-expanded > .sg-related__card:nth-child(n+7) { display: flex; }
}
.sg-related__card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border-lt); border-radius: var(--radius); padding: 1.25rem; text-decoration: none; transition: all .2s ease; position: relative; overflow: hidden; }
.sg-related__card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--violet)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.sg-related__card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.04); transform: translateY(-2px); text-decoration: none; border-color: var(--border); }
.sg-related__card:hover::before { transform: scaleX(1); }
.sg-related__card-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.sg-related__card-header .ce-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(99,102,241,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--steel); }
.sg-related__card-header .ce-icon svg { width: 18px; height: 18px; }
.sg-related__card-title { font-family: var(--heading); font-size: .88rem; font-weight: 700; color: var(--navy); margin: 0; line-height: 1.3; }
.sg-related__card-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin: 0 0 .75rem; flex: 1; }
.sg-related__card-link { font-size: .85rem; font-weight: 600; color: var(--coral); display: inline-flex; align-items: center; gap: .25rem; transition: gap .2s ease; }
.sg-related__card-link .ce-arrow { transition: transform .2s; }
.sg-related__card:hover .sg-related__card-link { gap: .5rem; }
.sg-related__card:hover .ce-arrow { transform: translateX(4px); }

@media (max-width: 860px) { .sg-related__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sg-related__grid { grid-template-columns: 1fr; } }

/* ── LEAD FORM (FR2 style) ──────────────────────────── */
.sg-lead-form { background: var(--white); padding: clamp(3rem, 6vw, 4.5rem) var(--gutter); border-top: 1px solid var(--border); }
.sg-lead-form > .sg-eyebrow { text-align: center; max-width: 640px; margin: 0 auto .25rem; }
.sg-lead-form__inner { max-width: 720px; margin: 0 auto; }
.sg-lead-form__headline { text-align: center; font-family: var(--heading); font-size: clamp(1.35rem, 3vw, 1.6rem); font-weight: 800; color: var(--navy); margin-bottom: .5rem; letter-spacing: -0.02em; }
.sg-lead-form__subtext { text-align: center; font-size: .95rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.7; }
.sg-lead-form__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-bottom: 1.75rem; }
.sg-lead-form__trust-item { display: flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 500; color: var(--text-muted); }
.sg-lead-form__trust-check { width: 22px; height: 22px; border-radius: 50%; background: #22c55e; color: var(--white); display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; flex-shrink: 0; }
.sg-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.sg-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sg-form__field { margin-bottom: 1rem; }
.sg-form__field label { display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: .3rem; }
.sg-form__field input, .sg-form__field select, .sg-form__field textarea { width: 100%; padding: .65rem .9rem; border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--body); font-size: .88rem; color: var(--text); background: var(--white); transition: border-color .15s, box-shadow .15s; outline: none; }
.sg-form__field textarea { padding: .65rem .9rem; min-height: 100px; resize: vertical; }
.sg-form__field input:focus, .sg-form__field select:focus, .sg-form__field textarea:focus { border-color: var(--steel); box-shadow: 0 0 0 3px rgba(99,102,241,.1); }
.sg-form__submit { display: block; width: 100%; padding: .8rem; background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); border: none; border-radius: var(--radius-pill); font-family: var(--body); font-weight: 700; font-size: .9rem; cursor: pointer; transition: all .25s; margin-top: .5rem; box-shadow: 0 4px 14px rgba(124,58,237,.25); }
.sg-form__submit:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,.35); }
.sg-form__disclaimer { text-align: center; font-size: .78rem; color: var(--text-light); margin-top: .5rem; }

@media (max-width: 640px) { .sg-form__row { grid-template-columns: 1fr; } }

/* ── FOOTER ──────────────────────────────────────────── */
.sg-footer { background: linear-gradient(135deg, #0F172A 0%, #1a1a3e 50%, #2d1b4e 100%); color: rgba(255,255,255,.6); padding: clamp(3rem, 6vw, 4rem) var(--gutter) 2rem; }
.sg-footer__inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.sg-footer__col h4 { color: var(--white); font-family: var(--heading); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.sg-footer__col ul { list-style: none; margin: 0; padding: 0; }
.sg-footer__col li { margin-bottom: .5rem; }
.sg-footer__col a { color: rgba(255,255,255,.45); font-size: 14px; text-decoration: none; transition: color .15s; }
.sg-footer__col a:hover { color: var(--white); }
.sg-footer__col p { font-size: 14px; line-height: 1.6; }

@media (max-width: 768px) { .sg-footer__inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sg-footer__inner { grid-template-columns: 1fr; } }

/* ── MOBILE CTA ──────────────────────────────────────── */
.sg-mobile-cta { display: none; }
@media (max-width: 640px) {
    .sg-mobile-cta { display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; padding: .75rem var(--gutter) 1.25rem; background: linear-gradient(135deg, #0F172A 0%, #1a1a3e 50%, #2d1b4e 100%); transition: transform 0.3s ease, opacity 0.3s ease; }
    .sg-mobile-cta__btn { display: block; text-align: center; background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); padding: 14px; border-radius: var(--radius-pill); font-family: var(--heading); font-size: 16px; font-weight: 700; text-decoration: none; }
    .sg-mobile-cta.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
}

/* ── ARCHIVE / INDEX ─────────────────────────────────── */
.sg-archive { max-width: var(--max-w); margin: 0 auto; padding: 2rem var(--gutter); }
.sg-archive__title { margin-bottom: 1.5rem; }
.sg-archive__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.sg-archive__card { display: block; background: var(--surface); border-radius: var(--radius); padding: 1.25rem 1.5rem; text-decoration: none; transition: box-shadow .2s, transform .2s; border: 1px solid var(--border-lt); }
.sg-archive__card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); text-decoration: none; }
.sg-archive__card h2 { font-size: .95rem; }

/* ── SINGLE PAGE WRAPPER ─────────────────────────────── */
.sg-single { }
.sg-single--combo .sg-hero { text-align: center; }
.sg-single--combo .sg-hero .sg-hero__title { max-width: var(--max-w); margin-left: auto; margin-right: auto; padding: 0 var(--gutter); }
.sg-single--combo .sg-hero .sg-hero__intro { max-width: var(--max-w); margin-left: auto; margin-right: auto; padding: 0 var(--gutter); }

/* ── GUTENBERG OVERRIDES ─────────────────────────────── */
.entry-content > *, .wp-block { max-width: var(--narrow); margin-left: auto; margin-right: auto; }

/* ── MID-PAGE CTA — Gradient Banner ──────────────────── */
.sg-mid-cta {
    background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 60%, var(--navy) 100%);
    border-radius: 0 0 50% 50% / 0 0 20px 20px; padding: 4rem 2rem; text-align: center; color: #fff;
    max-width: none; margin: 0; position: relative; overflow: hidden;
}
.sg-mid-cta::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
    border-radius: 50%;
}
.sg-mid-cta::after {
    content: ''; position: absolute; bottom: -40%; left: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
    border-radius: 50%;
}
.sg-mid-cta__inner { max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }
.sg-mid-cta__headline { font-family: var(--heading); font-size: 1.4rem; color: #fff; margin: 0 0 .5rem; }
.sg-mid-cta__text { font-size: .9rem; color: rgba(255,255,255,.8); margin: 0 0 1.5rem; line-height: 1.7; }
.sg-mid-cta__btn {
    display: inline-block; background: #fff; color: var(--coral);
    padding: .75rem 2rem; border-radius: var(--radius-pill); font-weight: 700; font-size: .9rem;
    text-decoration: none; transition: all .2s;
}
.sg-mid-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.15); text-decoration: none; }

/* ── COMPARISON — Two-Column Split ───────────────────── */
.sg-comparison-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); max-width: var(--max-w); margin: 0 auto; box-shadow: var(--shadow); }
.sg-comparison-split__col { padding: 2.5rem 2rem; }
.sg-comparison-split__col--protected { background: linear-gradient(180deg, rgba(37,99,235,.04) 0%, rgba(37,99,235,.08) 100%); border-right: 1px solid var(--border); }
.sg-comparison-split__col--exposed { background: linear-gradient(180deg, rgba(239,68,68,.03) 0%, rgba(239,68,68,.06) 100%); }
.sg-comparison-split__header {
    display: flex; align-items: center; gap: .6rem;
    font-family: var(--heading); font-weight: 800; font-size: 1.1rem;
    margin-bottom: 1.5rem; padding-bottom: .75rem;
}
.sg-comparison-split__col--protected .sg-comparison-split__header { color: var(--blue); border-bottom: 2px solid; border-image: linear-gradient(90deg, var(--blue), var(--violet)) 1; }
.sg-comparison-split__col--exposed .sg-comparison-split__header { color: #DC2626; border-bottom: 2px solid #fca5a5; }
.sg-comparison-split__icon {
    width: 30px; height: 30px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-weight: 900; font-size: .9rem; color: #fff;
}
.sg-comparison-split__col--protected .sg-comparison-split__icon { background: linear-gradient(135deg, var(--blue), var(--violet)); }
.sg-comparison-split__col--exposed .sg-comparison-split__icon { background: #DC2626; }
.sg-comparison-split__list { list-style: none; padding: 0; }
.sg-comparison-split__item {
    padding: .85rem 0; border-bottom: 1px solid rgba(0,0,0,.05);
    font-size: .9rem; line-height: 1.6; display: flex; gap: .6rem;
}
.sg-comparison-split__item:last-child { border-bottom: none; }
.sg-comparison-split__item strong { display: block; margin-bottom: .15rem; color: var(--navy); }
.sg-comparison-split__check { flex-shrink: 0; margin-top: 2px; font-weight: 700; }
.sg-comparison-split__col--protected .sg-comparison-split__check { color: var(--blue); }
.sg-comparison-split__col--exposed .sg-comparison-split__check { color: #DC2626; }
@media (max-width: 640px) {
    .sg-comparison-split { grid-template-columns: 1fr; }
    .sg-comparison-split__col--protected { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ── WHY COVERAGE AXIS — 4-Column Grid Cards ─────────── */
.sg-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: var(--max-w); margin: 0 auto; }
.sg-why-card { padding: 2rem 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); text-align: center; transition: all .25s; position: relative; overflow: hidden; }
.sg-why-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--violet)); }
.sg-why-card:hover { border-color: rgba(99,102,241,.25); box-shadow: 0 8px 24px rgba(124,58,237,.1); transform: translateY(-3px); }
.sg-why-card__num { font-family: var(--heading); font-size: 2.2rem; font-weight: 800; line-height: 1; margin-bottom: .75rem; background: linear-gradient(135deg, var(--blue), var(--violet)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sg-why-card__label { font-family: var(--heading); font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.sg-why-card__desc { font-size: .85rem; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 860px) { .sg-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sg-why-grid { grid-template-columns: 1fr; } }

/* ── HOMEPAGE ────────────────────────────────────────── */

/* Hero — Two-column layout */
.sg-hero--home .sg-hero--home__inner {
    max-width: var(--max-w); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 380px; gap: 3rem;
    align-items: center; padding: 0 var(--gutter);
}
.sg-hero--home { text-align: left; }
.sg-hero--home .sg-hero__title { text-align: left; max-width: 600px; margin: 0 0 .75rem; }
.sg-hero--home .sg-hero__intro { text-align: left; max-width: 520px; margin: 0 0 1.5rem; }
.sg-hero--home__actions { display: flex; gap: .75rem; margin-top: 1.5rem; justify-content: flex-start; }
.sg-hero--home__outline {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .85rem 2rem; border-radius: var(--radius-pill);
    border: 2px solid rgba(255,255,255,.3); color: #fff;
    font-family: var(--heading); font-weight: 700; font-size: .95rem;
    transition: all .25s;
}
.sg-hero--home__outline:hover { border-color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.sg-hero--home .sg-hero__trust { justify-content: flex-start; }
.sg-hero__title-accent {
    background: linear-gradient(135deg, #818CF8, #C084FC);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sg-hero__eyebrow {
    font-family: var(--heading); font-size: .75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .14em;
    color: rgba(255,255,255,.5); margin-bottom: .75rem;
}

/* Spec Panel */
.sg-home-spec {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg); padding: 1.5rem; backdrop-filter: blur(8px);
}
.sg-home-spec__header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.25rem; padding-bottom: .75rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.sg-home-spec__label {
    font-family: var(--heading); font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5);
}
.sg-home-spec__status {
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: #4ade80; display: flex; align-items: center; gap: .4rem;
}
.sg-home-spec__dot {
    width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
    display: inline-block; animation: specPulse 2s ease-in-out infinite;
}
@keyframes specPulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.sg-home-spec__row {
    display: flex; justify-content: space-between; align-items: center;
    padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.05);
    font-size: .85rem;
}
.sg-home-spec__row:last-child { border-bottom: none; }
.sg-home-spec__key { color: rgba(255,255,255,.45); font-weight: 500; }
.sg-home-spec__val { color: rgba(255,255,255,.85); font-weight: 600; text-align: right; }
.sg-home-spec__val--hl { color: #818CF8; }
.sg-home-spec__cta {
    display: block; text-align: center; margin-top: 1.25rem;
    padding: .75rem; border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--blue), var(--violet));
    color: #fff; font-family: var(--heading); font-weight: 700; font-size: .88rem;
    transition: all .25s;
}
.sg-home-spec__cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,.35); text-decoration: none; }

/* Homepage stats override — same floating card but for homepage context */
.sg-stats-bar--home { margin-top: -30px; }

/* Homepage Sections */
.sg-home-section {
    padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
    max-width: calc(var(--max-w) + var(--gutter) * 2); margin: 0 auto;
}
.sg-home-section--violet { background: var(--peach-bg); max-width: 100%; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sg-home-section--violet .sg-home-section__head,
.sg-home-section--violet .sg-home-chips,
.sg-home-section--violet .sg-home-fit-grid { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.sg-home-section--sky { background: var(--sky-bg); max-width: 100%; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sg-home-section--sky .sg-home-section__head,
.sg-home-section--sky .sg-home-how-grid { max-width: var(--max-w); margin-left: auto; margin-right: auto; }

.sg-home-section__head {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem;
    margin-bottom: 2rem;
}
.sg-home-section__head--centered { flex-direction: column; align-items: center; text-align: center; }
.sg-home-section__head--centered .sg-home-section__intro { max-width: 60ch; }
.sg-home-section__title { font-size: clamp(1.4rem, 3vw, 1.65rem); font-weight: 800; margin-bottom: .5rem; color: var(--navy); }
.sg-home-section__intro { font-size: .92rem; color: var(--text-muted); max-width: 50ch; line-height: 1.65; }
.sg-home-section__link {
    flex-shrink: 0; font-family: var(--heading); font-weight: 700; font-size: .88rem;
    padding: .65rem 1.5rem; border: 2px solid var(--border);
    border-radius: var(--radius-pill); color: var(--navy);
    transition: all .2s; white-space: nowrap;
}
.sg-home-section__link:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* Homepage card grid (3-col) */
.sg-home-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
@media (max-width: 860px) { .sg-home-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sg-home-grid { grid-template-columns: 1fr; } }

/* Business Type Chips */
.sg-home-chips { display: flex; flex-wrap: wrap; gap: .75rem; }
.sg-home-chip {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .7rem 1.4rem; border: 1px solid var(--border);
    border-radius: var(--radius-pill); background: var(--white);
    color: var(--navy); font-family: var(--heading); font-weight: 600;
    font-size: .9rem; transition: all .2s;
}
.sg-home-chip:hover {
    border-color: var(--blue); color: var(--blue);
    box-shadow: 0 4px 12px rgba(37,99,235,.1);
    text-decoration: none; transform: translateY(-1px);
}
.sg-home-chip__arrow { color: var(--text-light); transition: color .2s; }
.sg-home-chip:hover .sg-home-chip__arrow { color: var(--blue); }

/* How It Works — 4-col grid */
.sg-home-how-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.sg-home-how-step {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem;
    transition: all .25s; position: relative; overflow: hidden;
}
.sg-home-how-step::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--violet));
}
.sg-home-how-step:hover { border-color: rgba(99,102,241,.25); box-shadow: 0 8px 24px rgba(124,58,237,.08); transform: translateY(-2px); }
.sg-home-how-step__num {
    font-family: var(--heading); font-size: 1.8rem; font-weight: 800;
    line-height: 1; margin-bottom: .75rem;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sg-home-how-step__title { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.sg-home-how-step__desc { font-size: .85rem; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 860px) { .sg-home-how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sg-home-how-grid { grid-template-columns: 1fr; } }

/* Who We Work With — 4-col grid */
.sg-home-fit-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.sg-home-fit-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem;
    transition: all .25s;
}
.sg-home-fit-card:hover { border-color: rgba(99,102,241,.25); box-shadow: 0 8px 24px rgba(124,58,237,.08); transform: translateY(-2px); }
.sg-home-fit-card__icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; color: var(--violet);
}
.sg-home-fit-card:nth-child(1) .sg-home-fit-card__icon { background: var(--sky-bg); color: var(--blue); }
.sg-home-fit-card:nth-child(2) .sg-home-fit-card__icon { background: var(--peach-bg); color: var(--violet); }
.sg-home-fit-card:nth-child(3) .sg-home-fit-card__icon { background: #ECFDF5; color: #059669; }
.sg-home-fit-card:nth-child(4) .sg-home-fit-card__icon { background: #FEF3C7; color: #D97706; }
.sg-home-fit-card__title { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.sg-home-fit-card__desc { font-size: .85rem; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 860px) { .sg-home-fit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sg-home-fit-grid { grid-template-columns: 1fr; } }

/* Homepage hero responsive */
@media (max-width: 960px) {
    .sg-hero--home .sg-hero--home__inner { grid-template-columns: 1fr; text-align: center; }
    .sg-hero--home .sg-hero__title,
    .sg-hero--home .sg-hero__intro { text-align: center; max-width: 100%; }
    .sg-hero--home__actions { justify-content: center; }
    .sg-hero--home .sg-hero__trust { justify-content: center; }
    .sg-hero--home__spec { display: none; }
}
@media (max-width: 480px) {
    .sg-hero--home__actions { flex-direction: column; align-items: center; }
    .sg-home-section__head { flex-direction: column; }
    .sg-home-chips { gap: .5rem; }
    .sg-home-chip { font-size: .82rem; padding: .55rem 1rem; }
}

/* ── UTILITY PAGE SECTIONS ───────────────────────────── */

/* Cost Ranges */
.sg-cost-ranges { display: flex; flex-wrap: wrap; gap: 1rem; max-width: var(--max-w); margin: 0 auto; justify-content: center; }
.sg-cost-range { flex: 0 1 calc(33.333% - 0.67rem); min-width: 0; }
@media (max-width: 860px) { .sg-cost-range { flex: 0 1 calc(50% - 0.5rem); } }
@media (max-width: 480px) { .sg-cost-range { flex: 0 1 100%; } }
.sg-cost-range {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.5rem; text-align: center;
    transition: all .25s; position: relative; overflow: hidden;
}
.sg-cost-range::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--violet)); }
.sg-cost-range:hover { border-color: rgba(99,102,241,.25); box-shadow: 0 8px 24px rgba(124,58,237,.08); transform: translateY(-2px); }
.sg-cost-range__label { font-family: var(--heading); font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: .5rem; }
.sg-cost-range__values { display: block; margin-bottom: .25rem; }
.sg-cost-range__low, .sg-cost-range__high {
    font-family: var(--heading); font-weight: 800; font-size: 1.4rem;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sg-cost-range__sep { color: var(--text-muted); margin: 0 .25rem; font-size: 1rem; }
.sg-cost-range__period { display: block; font-size: .78rem; color: var(--text-muted); margin-top: .25rem; }

/* Minimum Coverage Limits */
.sg-min-limits { display: flex; flex-wrap: wrap; gap: 1rem; max-width: var(--max-w); margin: 0 auto; justify-content: center; }
.sg-min-limit { flex: 0 1 calc(33.333% - 0.67rem); min-width: 0; }
@media (max-width: 860px) { .sg-min-limit { flex: 0 1 calc(50% - 0.5rem); } }
@media (max-width: 480px) { .sg-min-limit { flex: 0 1 100%; } }
.sg-min-limit {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.5rem; text-align: center; transition: all .25s;
    position: relative; overflow: hidden;
}
.sg-min-limit::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--violet)); }
.sg-min-limit:hover { border-color: rgba(99,102,241,.25); box-shadow: 0 8px 24px rgba(124,58,237,.08); transform: translateY(-2px); }
.sg-min-limit__type { font-family: var(--heading); font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: .5rem; }
.sg-min-limit__value {
    font-family: var(--heading); font-weight: 800; font-size: 1.4rem;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sg-min-limit__note { font-size: .78rem; color: var(--text-muted); margin-top: .25rem; }

/* Best Companies Cards */
.sg-company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: var(--max-w); margin: 0 auto; }
.sg-company-grid--collapsible > .sg-company-card:nth-child(n+7) { display: none; }
.sg-company-grid--collapsible.is-expanded > .sg-company-card:nth-child(n+7) { display: block; }
@media (max-width: 860px) { .sg-company-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sg-company-grid { grid-template-columns: 1fr; } }
.sg-company-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.5rem; transition: all .25s; position: relative; overflow: hidden;
}
.sg-company-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--violet)); }
.sg-company-card:hover { border-color: rgba(99,102,241,.25); box-shadow: 0 8px 24px rgba(124,58,237,.08); transform: translateY(-2px); }
.sg-company-card__name { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: .25rem; }
.sg-company-card__rating {
    display: inline-block; padding: .2rem .6rem; border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff;
    font-size: .7rem; font-weight: 700; margin-bottom: .75rem;
}
.sg-company-card__desc { font-size: .88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: .75rem; }
.sg-company-card__strength { font-size: .85rem; color: var(--navy); padding-top: .75rem; border-top: 1px solid var(--border-lt); }

/* ── RESOURCE / BLOG TEMPLATE ───────────────────────── */
.sg-resource-pill {
    display: inline-block; padding: .25rem .75rem; border-radius: var(--radius-pill);
    background: rgba(255,255,255,.15); color: #fff; font-size: .75rem;
    font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.2);
}
.sg-resource-pill--small { font-size: .65rem; padding: .2rem .55rem; }

.sg-article-layout {
    max-width: var(--max-w); margin: 0 auto; padding: 3rem var(--gutter);
}
.sg-article-layout__inner {
    display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start;
}
.sg-article {
    min-width: 0; overflow-wrap: break-word; word-wrap: break-word;
}
.sg-article__hero-img img {
    width: 100%; height: auto; border-radius: var(--radius-lg); margin-bottom: 2rem;
}

/* Table of Contents */
.sg-toc {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.5rem 2rem; margin-bottom: 2rem;
}
.sg-toc__title {
    font-family: var(--heading); font-size: 1rem; font-weight: 800;
    color: var(--navy); margin: 0 0 .75rem;
}
.sg-toc__list {
    list-style: none; margin: 0; padding: 0; counter-reset: toc;
}
.sg-toc__list li { counter-increment: toc; margin-bottom: .5rem; }
.sg-toc__list li::before {
    content: counter(toc) "."; color: var(--violet); font-weight: 700;
    margin-right: .5rem; font-size: .85rem;
}
.sg-toc__list a {
    color: var(--text); text-decoration: none; font-size: .92rem;
    transition: color .2s;
}
.sg-toc__list a:hover { color: var(--violet); }

/* Sidebar */
.sg-sidebar { position: sticky; top: 2rem; }
.sg-sidebar__cta {
    background: linear-gradient(135deg, var(--navy), #1a1a3e); border-radius: var(--radius-lg);
    padding: 1.75rem; margin-bottom: 1.5rem; text-align: center;
}
.sg-sidebar__cta-headline {
    font-family: var(--heading); font-size: 1.1rem; font-weight: 800;
    color: #fff; margin: 0 0 .5rem;
}
.sg-sidebar__cta-text { color: rgba(255,255,255,.7); font-size: .85rem; margin: 0 0 1rem; line-height: 1.5; }
.sg-sidebar__cta-btn {
    display: inline-block; padding: .65rem 1.5rem; border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff;
    font-size: .85rem; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.sg-sidebar__cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(124,58,237,.3); }

.sg-sidebar__block {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem; margin-bottom: 1.5rem;
}
.sg-sidebar__title {
    font-family: var(--heading); font-size: .95rem; font-weight: 800;
    color: var(--navy); margin: 0 0 .75rem; padding-bottom: .5rem;
    border-bottom: 2px solid var(--rule);
}
.sg-sidebar__list { list-style: none; margin: 0; padding: 0; }
.sg-sidebar__list li { margin-bottom: .4rem; }
.sg-sidebar__list a {
    color: var(--text); text-decoration: none; font-size: .88rem; transition: color .2s;
}
.sg-sidebar__list a:hover { color: var(--violet); }

/* Related Resources Grid */
.sg-related__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.sg-related__card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.5rem; text-decoration: none; color: inherit;
    transition: all .25s; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.sg-related__card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--violet)); opacity: 0; transition: opacity .25s;
}
.sg-related__card:hover { border-color: rgba(99,102,241,.25); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.sg-related__card:hover::before { opacity: 1; }
.sg-related__card-header { margin-bottom: .75rem; }
.sg-related__card-title {
    font-family: var(--heading); font-size: 1rem; font-weight: 700;
    color: var(--navy); margin: .5rem 0 0; line-height: 1.35;
}
.sg-related__card-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.sg-related__card-link {
    font-size: .85rem; font-weight: 700; color: var(--blue); margin-top: .75rem;
}

/* Resource deep content inherits main content styles */
.sg-deep-content { max-width: none; padding: 0; }
.sg-deep-content h2 { font-size: clamp(1.35rem, 2.8vw, 1.65rem); font-weight: 800; margin: 2.5rem 0 1.5rem; padding: 0 0 .75rem; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 50%, var(--violet) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sg-deep-content h2::after { content: ""; display: block; width: 60px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--violet)); margin-top: .75rem; border-radius: 2px; }
.sg-deep-content h3 { margin-top: 2rem; margin-bottom: .5rem; color: var(--navy); position: relative; padding-left: 1rem; font-size: 1.05rem; font-weight: 700; }
.sg-deep-content h3::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px; background: linear-gradient(180deg, var(--blue), var(--violet)); border-radius: 3px; }
.sg-deep-content h4 { margin-top: 1.75rem; margin-bottom: .5rem; color: var(--navy); font-size: 1rem; font-weight: 700; }
.sg-deep-content p { line-height: 1.8; color: var(--text-muted); margin-bottom: 1.25rem; font-size: .95rem; }
.sg-deep-content p:first-of-type { font-size: 1.05rem; line-height: 1.75; color: var(--navy); }
.sg-deep-content ul { margin: 1.25rem 0 1.75rem; padding-left: 0; list-style: none; }
.sg-deep-content li { margin-bottom: .75rem; line-height: 1.7; color: var(--text-muted); padding-left: 1.5rem; position: relative; font-size: .95rem; }
.sg-deep-content ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: linear-gradient(135deg, var(--blue), var(--violet)); border-radius: 50%; }
.sg-deep-content ol { margin: 1.25rem 0 1.75rem; padding-left: 0; list-style: none; counter-reset: deep-ol; }
.sg-deep-content ol li { counter-increment: deep-ol; padding-left: 2.5rem; }
.sg-deep-content ol li::before { content: counter(deep-ol); position: absolute; left: 0; top: 0; width: 26px; height: 26px; background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); border-radius: 50%; font-family: var(--heading); font-weight: 700; font-size: .78rem; display: flex; align-items: center; justify-content: center; }
.sg-deep-content strong { color: var(--navy); font-weight: 700; }
.sg-deep-content em { color: var(--steel); font-style: italic; }
.sg-deep-content a { color: var(--steel); text-decoration: underline; text-decoration-color: rgba(99,102,241,.3); text-underline-offset: 3px; transition: text-decoration-color .15s; }
.sg-deep-content a:hover { text-decoration-color: var(--steel); }
.sg-deep-content blockquote { margin: 1.75rem 0; padding: 1.25rem 1.5rem 1.25rem 1.75rem; font-size: .98rem; font-style: normal; color: var(--navy); line-height: 1.7; font-weight: 600; background: linear-gradient(135deg, rgba(37,99,235,.04), rgba(124,58,237,.06)); border-left: 4px solid; border-image: linear-gradient(180deg, var(--blue), var(--violet)) 1; border-radius: 0 4px 4px 0; }
.sg-deep-content blockquote p { margin-bottom: 0; color: var(--navy); font-size: .98rem; font-weight: 600; }
.sg-deep-content blockquote p + p { margin-top: .75rem; font-weight: 400; font-size: .9rem; color: var(--text-muted); }
.sg-deep-content hr { border: none; height: 2px; background: linear-gradient(90deg, var(--blue), var(--violet), transparent); margin: 2.5rem 0; border-radius: 2px; }
.sg-deep-content img { max-width: 100%; height: auto; border-radius: var(--radius-lg); margin: 1.75rem 0; display: block; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.sg-deep-content figure { margin: 1.75rem 0; }
.sg-deep-content figure img { margin: 0; }
.sg-deep-content figcaption { font-size: .82rem; color: var(--text-muted); text-align: center; margin-top: .5rem; font-style: italic; }
.sg-deep-content table { width: 100%; border-collapse: collapse; margin: 1.75rem 0; font-size: .92rem; box-shadow: 0 2px 8px rgba(0,0,0,.04); border-radius: var(--radius-lg); overflow: hidden; }
.sg-deep-content table thead { background: linear-gradient(135deg, var(--navy) 0%, #1a1a3e 50%, #2d1b4e 100%); color: var(--white); }
.sg-deep-content table th { padding: .85rem 1rem; font-family: var(--heading); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; text-align: left; }
.sg-deep-content table td { padding: .85rem 1rem; border-bottom: 1px solid var(--border-lt); color: var(--text-muted); line-height: 1.6; vertical-align: top; }
.sg-deep-content table tbody tr:nth-child(even) { background: rgba(99,102,241,.025); }
.sg-deep-content table tbody tr:last-child td { border-bottom: none; }
.sg-deep-content code { background: rgba(99,102,241,.08); color: var(--navy); padding: .15rem .4rem; border-radius: 4px; font-size: .88em; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.sg-deep-content pre { background: var(--navy); color: #e8e8f0; padding: 1.25rem 1.5rem; border-radius: var(--radius-lg); overflow-x: auto; margin: 1.5rem 0; font-size: .85rem; line-height: 1.6; }
.sg-deep-content pre code { background: none; color: inherit; padding: 0; }
.sg-deep-content h2 + p, .sg-deep-content h3 + p, .sg-deep-content h4 + p { margin-top: .25rem; }
.sg-deep-content > *:first-child { margin-top: 0; }
.sg-deep-content > *:last-child { margin-bottom: 0; }

/* ── ARCHIVE SEARCH BAR ─────────────────────────────── */
.sg-search-bar__input {
    width: 100%; padding: .85rem 1.25rem; font-size: 1rem; font-family: var(--body);
    border: 2px solid var(--border); border-radius: var(--radius-pill);
    background: var(--white); color: var(--text); outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.sg-search-bar__input:focus {
    border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.sg-search-bar__input::placeholder { color: var(--text-light); }
.sg-search-bar__count {
    text-align: center; font-size: .85rem; color: var(--text-muted); margin-top: .5rem;
}
.sg-search-bar + .sg-section { padding-top: 0; }
.sg-related__card--hidden { display: none !important; }
.sg-search-no-results {
    grid-column: 1 / -1; text-align: center; padding: 2rem;
    font-size: .95rem; color: var(--text-muted);
}

/* ── ADVISOR BIO ────────────────────────────────────── */
.sg-section--advisor { background: var(--surface); border-top: 1px solid var(--border-lt); border-bottom: 1px solid var(--border-lt); }
.sg-advisor {
    max-width: var(--narrow); margin: 0 auto;
    display: flex; align-items: flex-start; gap: 2rem;
}
.sg-advisor__avatar {
    flex-shrink: 0; width: 80px; height: 80px; border-radius: 50%; overflow: hidden;
    border: 3px solid transparent; background-image: linear-gradient(var(--white), var(--white)), linear-gradient(135deg, var(--blue), var(--violet));
    background-origin: border-box; background-clip: content-box, border-box;
}
.sg-advisor__avatar img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 15%; border-radius: 50%; display: block;
}
.sg-advisor__content { flex: 1; }
.sg-advisor__content .sg-eyebrow { margin-bottom: .25rem; }
.sg-advisor__name {
    font-family: var(--heading); font-size: 1.25rem; font-weight: 800;
    color: var(--navy); margin: 0 0 .15rem;
}
.sg-advisor__title {
    font-size: .9rem; font-weight: 600; color: var(--violet); margin: 0 0 .75rem;
}
.sg-advisor__bio {
    font-size: .92rem; color: var(--text-muted); line-height: 1.7; margin: 0 0 1rem;
}
.sg-advisor__credentials {
    display: flex; flex-wrap: wrap; gap: .5rem .75rem;
}
.sg-advisor__credential {
    font-size: .8rem; font-weight: 600; color: var(--navy);
    display: inline-flex; align-items: center; gap: .35rem;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-pill); padding: .3rem .75rem;
}
.sg-advisor__credential-icon {
    color: var(--green); font-size: .75rem; font-weight: 700;
}
@media (max-width: 768px) {
    .sg-advisor { flex-direction: column; align-items: center; text-align: center; }
    .sg-advisor__credentials { justify-content: center; }
}

/* ── LEAD FORM SUCCESS STATE ────────────────────────── */
.sg-lead-form--success .sg-lead-form__inner { text-align: center; padding: 3rem 2rem; }
.sg-lead-form__success-msg h2 {
    font-family: var(--heading); font-size: 1.5rem; font-weight: 800;
    color: var(--navy); margin: 0 0 .5rem;
}
.sg-lead-form__success-msg p {
    font-size: .95rem; color: var(--text-muted); line-height: 1.6; margin: 0;
}
.sg-success-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(34,197,94,.1); color: var(--green);
    font-size: 2rem; font-weight: 700; margin-bottom: 1rem;
}

/* ── BLOG/RESOURCE ARCHIVE CARDS ────────────────────── */
.sg-blog-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.sg-blog-card {
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    transition: transform .25s, box-shadow .25s;
    background: var(--white);
}
.sg-blog-card:hover {
    transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.sg-blog-card__img {
    width: 100%; aspect-ratio: 16/9; overflow: hidden;
}
.sg-blog-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .3s;
}
.sg-blog-card:hover .sg-blog-card__img img {
    transform: scale(1.05);
}
.sg-blog-card__body {
    padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1;
    min-width: 0; overflow-wrap: break-word; word-wrap: break-word;
}
.sg-blog-card__meta {
    display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem;
}
.sg-blog-card__meta .sg-resource-pill--small {
    background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(124,58,237,.1));
    color: var(--violet); border: none;
}
.sg-blog-card__read-time {
    font-size: .8rem; color: var(--text-muted);
}
.sg-blog-card__title {
    font-family: var(--heading); font-size: 1.1rem; font-weight: 700;
    color: var(--navy); margin: 0 0 .5rem; line-height: 1.35;
}
.sg-blog-card__desc {
    font-size: .88rem; color: var(--text-muted); line-height: 1.6;
    margin: 0 0 1rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sg-blog-card__footer {
    margin-top: auto; display: flex; align-items: center; justify-content: space-between;
    padding-top: .75rem; border-top: 1px solid var(--border-lt);
}
.sg-blog-card__cta {
    font-size: .85rem; font-weight: 700; color: var(--blue);
}
.sg-blog-card__date {
    font-size: .8rem; color: var(--text-muted);
}
/* Horizontal card variant — for sidebar layouts */
.sg-blog-grid--single-col { grid-template-columns: 1fr; }
.sg-blog-card--horizontal { flex-direction: row; }
.sg-blog-card--horizontal .sg-blog-card__img {
    width: 280px; min-width: 280px; aspect-ratio: auto; height: auto;
}
.sg-blog-card--horizontal .sg-blog-card__body { padding: 1.25rem 1.5rem; }

@media (max-width: 768px) {
    .sg-blog-grid { grid-template-columns: 1fr; }
    .sg-blog-card--horizontal { flex-direction: column; }
    .sg-blog-card--horizontal .sg-blog-card__img { width: 100%; min-width: auto; aspect-ratio: 16/9; }
}

/* ── RESOURCE MOBILE ────────────────────────────────── */
@media (max-width: 768px) {
    .sg-article-layout__inner {
        grid-template-columns: 1fr; gap: 2rem;
    }
    .sg-sidebar { position: static; }
    .sg-related__grid { grid-template-columns: 1fr; }
    .sg-toc { padding: 1.25rem; }
}

/* ── PRINT ───────────────────────────────────────────── */
/* ──────────────────────────────────────────────────────────────────────────
 * BLOG — ClicksGeek-inspired single-column layout
 * ──────────────────────────────────────────────────────────────────────── */

/* Hero variants for blog */
.sg-hero--blog { padding-bottom: 1rem; }
.sg-hero--blog .sg-hero__intro { max-width: 720px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; }
.sg-hero--blog .sg-hero__intro em { font-style: italic; color: rgba(255,255,255,.85); }

/* Article hero — left-aligned (ClicksGeek-style layout) */
.sg-hero--article { padding-bottom: 1.5rem; text-align: left; }
.sg-hero--article > * { max-width: 880px; margin-left: auto; margin-right: auto; }
.sg-hero--article .sg-breadcrumbs { margin-bottom: 1.25rem; }
.sg-hero--article .sg-breadcrumbs ol { justify-content: flex-start; padding-left: 0; }
.sg-hero--article .sg-hero__title { font-size: clamp(1.85rem, 4.4vw, 2.75rem); line-height: 1.2; margin: 1rem auto; text-align: left; }
.sg-hero__category { display: inline-block; padding: .35rem .9rem; border-radius: var(--radius-pill); background: rgba(255,255,255,.12); color: var(--white); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.18); }
.sg-hero__byline { font-size: .92rem; color: rgba(255,255,255,.7); margin-top: 1rem; text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.sg-hero__byline-author { color: var(--white); font-weight: 600; }
.sg-hero__byline-title { color: rgba(255,255,255,.65); }
.sg-hero__byline-dot { margin: 0 .35rem; color: rgba(255,255,255,.4); }

/* Filter pills */
.sg-blog-filter { max-width: 1080px; margin: 0 auto; padding: 1.5rem var(--gutter) .5rem; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.sg-blog-filter__pill { display: inline-block; padding: .5rem 1.1rem; border-radius: var(--radius-pill); background: var(--surface); color: var(--text-muted); font-size: .9rem; font-weight: 600; text-decoration: none; transition: background .18s, color .18s, transform .18s; border: 1px solid var(--border); }
.sg-blog-filter__pill:hover { background: var(--white); color: var(--navy); transform: translateY(-1px); }
.sg-blog-filter__pill.is-active { background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); border-color: transparent; }

/* Blog grid container */
.sg-blog { max-width: 980px; margin: 0 auto; padding: 2.5rem var(--gutter) 3rem; }

/* Standard post card */
.sg-blog-post { margin-bottom: 3rem; }
.sg-blog-post__link { display: block; text-decoration: none; color: inherit; }
.sg-blog-post__img { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.25rem; box-shadow: 0 4px 18px rgba(15,23,42,.08); }
.sg-blog-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sg-blog-post__link:hover .sg-blog-post__img img { transform: scale(1.03); }
.sg-blog-post__body { max-width: 760px; margin: 0 auto; }
.sg-blog-post__category { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--violet); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .65rem; }
.sg-blog-post__title { font-family: var(--heading); font-size: clamp(1.3rem, 2.6vw, 1.65rem); font-weight: 800; color: var(--navy); margin: 0 0 .65rem; line-height: 1.3; transition: color .18s; }
.sg-blog-post__link:hover .sg-blog-post__title { color: var(--blue); }
.sg-blog-post__excerpt { font-size: .96rem; color: var(--text-muted); line-height: 1.7; margin: 0 0 .75rem; }
.sg-blog-post__meta { font-size: .85rem; color: var(--text-muted); display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.sg-blog-post__author { color: var(--navy); font-weight: 600; }
.sg-blog-post__dot { color: var(--border); }

/* Featured (first) post — bigger */
.sg-blog-post--featured { margin-bottom: 3.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border-lt); }
.sg-blog-post--featured .sg-blog-post__img { aspect-ratio: 21/9; max-width: 980px; }
.sg-blog-post--featured .sg-blog-post__body { max-width: 820px; }
.sg-blog-post--featured .sg-blog-post__title { font-size: clamp(1.75rem, 3.6vw, 2.4rem); }
.sg-blog-post--featured .sg-blog-post__excerpt { font-size: 1.05rem; }
.sg-blog-post--featured .sg-blog-post__category { font-size: .8rem; }

/* Pagination */
.sg-blog__pagination { text-align: center; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border-lt); }
.sg-blog__load-more { display: inline-block; padding: .85rem 1.75rem; border-radius: var(--radius-pill); background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s; margin: 0 .35rem .5rem; }
.sg-blog__load-more:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,.3); }
.sg-blog__load-more--alt { background: var(--surface); color: var(--navy); border: 1px solid var(--border); }
.sg-blog__load-more--alt:hover { background: var(--white); }
.sg-blog__total { font-size: .85rem; color: var(--text-muted); margin-top: 1rem; }
.sg-blog__empty { text-align: center; padding: 4rem var(--gutter); color: var(--text-muted); font-size: 1rem; }

/* Single article — centered, no sidebar */
.sg-article--centered { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) 3rem; }
.sg-article__featured-img { max-width: 1100px; margin: -1rem auto 2.5rem; padding: 0 var(--gutter); }
.sg-article__featured-img img { width: 100%; height: auto; max-height: 540px; object-fit: cover; border-radius: var(--radius-lg); display: block; box-shadow: 0 8px 32px rgba(15,23,42,.08); }

/* Author bio card at bottom of article */
.sg-article__author-card { display: flex; gap: 1.25rem; align-items: flex-start; padding: 2rem 1.5rem; background: var(--surface); border-radius: var(--radius-lg); border-left: 4px solid; border-image: linear-gradient(180deg, var(--blue), var(--violet)) 1; margin-top: 3rem; }
.sg-article__author-card-avatar { flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--blue), var(--violet)); display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--heading); font-weight: 700; font-size: 1.5rem; }
.sg-article__author-card-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.sg-article__author-card-name { font-family: var(--heading); font-weight: 700; font-size: 1.05rem; color: var(--navy); margin: 0 0 .25rem; }
.sg-article__author-card-title { font-size: .88rem; color: var(--text-muted); margin: 0 0 .65rem; font-weight: 500; }
.sg-article__author-card-bio { font-size: .9rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* "Keep Reading" related posts at bottom of single post */
.sg-blog-more { max-width: 1080px; margin: 4rem auto 1rem; padding: 0 var(--gutter); }
.sg-blog-more__title { text-align: center; font-family: var(--heading); font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 800; color: var(--navy); margin: 0 0 2rem; }
.sg-blog-more__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.sg-blog-more__card { text-decoration: none; color: inherit; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 2px 12px rgba(15,23,42,.06); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.sg-blog-more__card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15,23,42,.1); }
.sg-blog-more__card-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.sg-blog-more__card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sg-blog-more__card:hover .sg-blog-more__card-img img { transform: scale(1.05); }
.sg-blog-more__card-body { padding: 1.25rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.sg-blog-more__card-category { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--violet); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; }
.sg-blog-more__card-title { font-family: var(--heading); font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0 0 auto; line-height: 1.35; }
.sg-blog-more__card-meta { font-size: .8rem; color: var(--text-muted); margin: .75rem 0 0; padding-top: .75rem; border-top: 1px solid var(--border-lt); }

/* Mobile */
@media (max-width: 768px) {
    .sg-blog-more__grid { grid-template-columns: 1fr; }
    .sg-blog-post--featured .sg-blog-post__img { aspect-ratio: 16/9; }
    .sg-article__featured-img { margin-top: -.5rem; padding: 0; border-radius: 0; }
    .sg-article__featured-img img { border-radius: 0; }
    .sg-article__author-card { flex-direction: column; align-items: center; text-align: center; }
}

@media print {
    .sg-header, .sg-footer, .sg-mobile-cta, .sg-cta { display: none; }
    body { color: #000; background: #fff; font-size: 11pt; }
    .sg-content { max-width: 100%; padding: 0; }
}
