/* =====================================================================
   Pagina's voor installateurs (/installateurs/)
   Bouwt op de tokens en patronen in /styles.css (premium theme):
   hero met page-glow + raster, sectiekoppen met eyebrow, kaarten,
   genummerde stappen, FAQ-accordeon en de donkere CTA-band.
   ===================================================================== */

.ib-page { color: var(--ink-900); }
.ib-page main { overflow-x: clip; }

/* ---------- Hero (sluit aan op de andere inner-page heroes) ---------- */
.ib-hero {
    position: relative;
    isolation: isolate;
    padding: 56px 0 72px;
    background-color: #fff;
    background-image: var(--page-glow);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-bottom: 1px solid var(--border);
}
main > .breadcrumb + .ib-hero { padding-top: calc(var(--crumb-h) + 48px); }
.ib-hero::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 520px;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(11, 59, 36, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 59, 36, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 20%, transparent 72%);
    mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 20%, transparent 72%);
}
.ib-hero h1 {
    margin: 0 0 18px;
    color: var(--ink-900);
    font-size: clamp(2.125rem, 4.4vw, 3.375rem);
    font-weight: 760;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
}
.ib-hero-grid {
    display: grid;
    gap: 48px;
    align-items: center;
}
@media (min-width: 960px) {
    .ib-hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 56px; }
}

/* compacte hero: gecentreerd, zoals kennisbank/blog */
.ib-hero-compact { padding-bottom: 64px; text-align: center; }
.ib-hero-compact .ib-narrow { margin: 0 auto; }
.ib-hero-compact .ib-lead { margin-left: auto; margin-right: auto; }
.ib-hero-compact .ib-eyebrow { margin-left: auto; margin-right: auto; }
.ib-hero-compact .ib-cta-buttons, .ib-hero-compact .ib-checks { justify-content: center; }

.ib-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    margin: 0 0 16px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand-700);
}
.ib-eyebrow::before {
    content: '';
    flex: none;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-700), var(--accent-500));
}
.ib-lead {
    max-width: 60ch;
    margin: 0 0 28px;
    color: var(--ink-500);
    font-size: 1.125rem;
    line-height: 1.65;
    text-wrap: pretty;
}

/* ---------- Buttons ---------- */
.ib-cta-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 22px; }
.ib-btn-lg { min-height: 52px; padding: 0 24px; font-size: 1.0625rem; }
.ib-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink-900);
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: border-color .15s, background-color .15s, color .15s, transform .15s var(--ease-out);
}
.ib-btn-ghost:hover { border-color: var(--brand-600); background: var(--brand-50); color: var(--brand-800); transform: translateY(-1px); }
.ib-btn-ghost:focus-visible, .ib-card-link:focus-visible, .ib-faq-item summary:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.ib-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--ink-700);
    font-size: .9375rem;
    font-weight: 550;
}
.ib-checks li { display: inline-flex; align-items: center; gap: 8px; }
.ib-checks li::before {
    content: '';
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23146C3C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
    box-shadow: inset 0 0 0 1px rgba(20, 108, 60, .14);
}

/* ---------- Lead preview (mock van het portaal) ---------- */
.ib-preview {
    position: relative;
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 30rem;
    justify-self: center;
    padding: 22px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--hairline, var(--border));
    box-shadow: 0 1px 2px rgba(11, 59, 36, .05), 0 32px 64px -24px rgba(11, 59, 36, .28);
}
.ib-preview::before {
    content: 'Voorbeeld';
    position: absolute;
    top: -12px;
    left: 22px;
    height: 24px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--brand-950, #06261A);
    background: var(--accent-500);
}
.ib-preview-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ib-preview-region { margin: 0; font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
.ib-preview-meta { margin: 4px 0 0; font-size: .8125rem; color: var(--ink-500); }
.ib-score {
    position: relative;
    isolation: isolate;
    flex: none;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: conic-gradient(var(--brand-600) 310deg, var(--border) 0deg);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--brand-900);
}
.ib-score::before { content: ''; position: absolute; inset: 5px; z-index: -1; border-radius: 50%; background: #fff; }
.ib-preview-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ib-tag {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--brand-800);
    background: var(--brand-50);
    box-shadow: inset 0 0 0 1px rgba(20, 108, 60, .1);
}
.ib-tag-hot { color: #9A3412; background: #FFF1E6; box-shadow: inset 0 0 0 1px rgba(194, 65, 12, .16); }
.ib-preview-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0; font-size: .875rem; }
.ib-preview-facts div { padding-bottom: 8px; border-bottom: 1px solid var(--border); min-width: 0; }
.ib-preview-facts dt { color: var(--ink-500); font-size: .75rem; }
.ib-preview-facts dd { margin: 2px 0 0; font-weight: 650; color: var(--ink-900); }
.ib-preview-locked {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: .84rem;
    line-height: 1.45;
    color: var(--brand-900);
    background: linear-gradient(180deg, #F3FAF5, var(--brand-50));
    box-shadow: inset 0 0 0 1px rgba(20, 108, 60, .12);
}
.ib-preview-locked .tb-icon { width: 18px; height: 18px; color: var(--brand-700); }
.ib-preview-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ib-preview-buy > span:first-child { flex: 1 1 100%; font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); }
.ib-buy {
    flex: 1 1 8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-weight: 700;
    font-size: .9rem;
    color: var(--ink-900);
    background: #fff;
}
.ib-buy-primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(180deg, #1C8A4D 0%, var(--brand-700) 55%, #105A32 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 16px -6px rgba(20, 108, 60, .55);
}

/* ---------- Secties ---------- */
.ib-section { padding: 88px 0; background: #fff; }
.ib-muted { background: var(--surface-muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ib-h2 {
    margin: 0 0 14px;
    color: var(--ink-900);
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-wrap: balance;
}
.ib-sub { max-width: 62ch; margin: 0 0 8px; color: var(--ink-500); font-size: 1.0938rem; line-height: 1.7; }
.ib-small { margin: 16px 0 0; font-size: .875rem; color: var(--ink-500); }
.ib-small a { color: var(--brand-700); font-weight: 650; }
.ib-narrow { max-width: 820px; }

/* sectiekop: eyebrow + titel + lead, gecentreerd (zoals de rest van de site) */
.ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-h2,
.ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-sub { text-align: center; margin-left: auto; margin-right: auto; }
.ib-section > .container > .eyebrow { margin: 0 auto 14px; }
.ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-h2 + .ib-grid,
.ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-h2 + .ib-steps,
.ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-sub + .ib-table-wrap,
.ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-h2 + .ib-faq-item { margin-top: 40px; }
.ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-small { text-align: center; }

/* lopende tekst */
.ib-prose { line-height: 1.75; color: var(--ink-700); font-size: 1.0625rem; }
.ib-narrow.ib-prose { margin-left: auto; margin-right: auto; }
.ib-prose .ib-h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ib-prose > * + .ib-h2 { margin-top: 48px; }
.ib-prose p, .ib-prose ul, .ib-prose ol { margin: 0 0 18px; }
.ib-prose ul, .ib-prose ol { padding-left: 1.25em; }
.ib-prose li { margin: 6px 0; }
.ib-prose li::marker { color: var(--brand-700); }
.ib-prose strong { color: var(--ink-900); }
.ib-prose a { color: var(--brand-700); text-underline-offset: 3px; }
.ib-prose .ib-table-wrap { margin: 24px 0 28px; }

/* ---------- Kaarten ---------- */
.ib-grid { display: grid; gap: 20px; margin-top: 32px; align-items: stretch; }
@media (min-width: 640px) { .ib-grid-3, .ib-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .ib-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ib-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ib-card {
    position: relative;
    height: 100%;
    padding: 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    color: var(--ink-900);
    transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s;
}
.ib-card h3 { margin: 0 0 8px; font-size: 1.125rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.ib-card p { margin: 0 0 8px; color: var(--ink-500); line-height: 1.6; }
.ib-card p:last-child { margin-bottom: 0; }
.ib-grid-3 > .ib-card:not(.ib-card-link)::before {
    content: '';
    display: block;
    width: 28px;
    height: 3px;
    margin-bottom: 18px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--brand-700), var(--accent-500));
}
.ib-card-link { display: flex; flex-direction: column; text-decoration: none; }
.ib-card-link:hover {
    border-color: rgba(20, 108, 60, .22);
    box-shadow: 0 1px 2px rgba(11, 59, 36, .04), 0 16px 36px -14px rgba(11, 59, 36, .2);
    transform: translateY(-2px);
}
.ib-card-link:hover h3 { color: var(--brand-800); }
.ib-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; color: var(--brand-700); font-weight: 650; font-size: .9375rem; }
.ib-more::after { content: '\2192'; transition: transform .2s var(--ease-out); }
.ib-card-link:hover .ib-more::after { transform: translateX(3px); }

/* ---------- Stappen (genummerd, verbonden op desktop) ---------- */
.ib-steps { position: relative; display: grid; gap: 20px; margin: 32px 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .ib-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
    .ib-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ib-steps::before {
        content: '';
        position: absolute;
        top: 49px;
        left: 12%;
        right: 12%;
        height: 2px;
        background: repeating-linear-gradient(90deg, rgba(20, 108, 60, .25) 0 6px, transparent 6px 12px);
        z-index: 0;
    }
}
.ib-steps > li {
    position: relative;
    z-index: 1;
    padding: 26px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    color: var(--ink-500);
    line-height: 1.6;
}
.ib-steps > li p { margin: 0; }
.ib-steps h3 { margin: 16px 0 6px; color: var(--ink-900); font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }
.ib-step-n {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #fff;
    font-weight: 800;
    font-size: 1.0625rem;
    background: linear-gradient(160deg, #1C8A4D, var(--brand-700) 55%, var(--brand-900));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 18px -8px rgba(20, 108, 60, .6);
}

/* ---------- Prijstabel ---------- */
.ib-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.ib-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: .9375rem; }
.ib-table th, .ib-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.ib-table thead th {
    padding-top: 16px;
    padding-bottom: 16px;
    background: var(--surface-muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-500);
    white-space: nowrap;
}
.ib-table tbody th { font-weight: 650; color: var(--ink-900); }
.ib-table td { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-700); }
.ib-table tbody tr { transition: background-color .15s; }
.ib-table tbody tr:hover { background: #FAFCFA; }
.ib-table tbody tr:last-child th, .ib-table tbody tr:last-child td { border-bottom: 0; }
.ib-table .ib-ex { background: rgba(238, 247, 241, .7); color: var(--brand-800); }
.ib-table thead .ib-ex { background: var(--brand-50); color: var(--brand-800); }
.ib-table caption { caption-side: bottom; padding: 14px 18px; text-align: left; font-size: .8125rem; color: var(--ink-500); border-top: 1px solid var(--border); }

/* ---------- Tegoedpakketten ---------- */
.ib-pack { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px 18px; }
.ib-pack-name { margin: 0 0 6px !important; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500) !important; }
.ib-pack-price { margin: 0 0 4px !important; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink-900) !important; font-variant-numeric: tabular-nums; }
.ib-pack-pop {
    border: 2px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(160deg, var(--brand-600), var(--accent-500)) border-box;
    box-shadow: 0 16px 36px -14px rgba(11, 59, 36, .3);
}
.ib-pack-pop::before {
    content: 'Meest gekozen';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    height: 24px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--brand-950, #06261A);
    background: var(--accent-500);
}

/* ---------- FAQ (zelfde uitstraling als .faq-item) ---------- */
.ib-faq-item {
    margin-bottom: 10px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color .2s, box-shadow .2s;
}
.ib-faq-item:hover { border-color: #D3DDD6; box-shadow: var(--shadow-sm); }
.ib-faq-item[open] { border-color: rgba(20, 108, 60, .28); box-shadow: 0 10px 28px -14px rgba(11, 59, 36, .25); }
.ib-faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 18px 64px 18px 24px;
    border-radius: 14px;
    font-size: 1.0625rem;
    font-weight: 650;
    color: var(--ink-900);
    cursor: pointer;
    list-style: none;
}
.ib-faq-item summary::-webkit-details-marker { display: none; }
.ib-faq-item summary::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    border-radius: 999px;
    background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23146C3C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
    transition: transform .2s var(--ease-out);
}
.ib-faq-item[open] summary::after { transform: rotate(180deg); }
.ib-faq-item[open] summary { color: var(--brand-800); }
.ib-faq-item p { margin: 0; padding: 0 24px 22px; color: var(--ink-700); line-height: 1.7; }

/* ---------- CTA-band (zoals .cta-section) ---------- */
.ib-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 96px 0;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(800px 380px at 85% -10%, rgba(242, 169, 59, .22), transparent 60%),
        radial-gradient(700px 420px at 0% 110%, rgba(26, 128, 72, .6), transparent 60%),
        var(--brand-900);
}
.ib-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.3px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 10%, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 10%, transparent 70%);
}
.ib-cta::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    z-index: -1;
    width: min(720px, 90%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(242, 169, 59, .7), transparent);
}
.ib-cta .ib-narrow { margin: 0 auto; }
.ib-cta h2 {
    margin: 0 auto 16px;
    max-width: 22em;
    color: #fff;
    font-size: clamp(1.75rem, 3.4vw, 2.625rem);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-wrap: balance;
}
.ib-cta p { max-width: 62ch; margin: 0 auto; color: rgba(255, 255, 255, .78); font-size: 1.0625rem; line-height: 1.65; }
.ib-cta .ib-cta-buttons { justify-content: center; margin: 32px 0 18px; }
.ib-cta .btn-primary { background: #fff; color: var(--brand-900); border-color: #fff; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35); }
.ib-cta .btn-primary:hover { background: var(--brand-50); color: var(--brand-900); transform: translateY(-1px); }
.ib-cta .ib-btn-ghost { background: rgba(255, 255, 255, .05); color: #fff; border-color: rgba(255, 255, 255, .24); box-shadow: none; }
.ib-cta .ib-btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); color: #fff; }
.ib-cta .ib-cta-note { font-size: .875rem; color: rgba(255, 255, 255, .6); }

/* ---------- Kennisbank-artikelen voor installateurs ---------- */
.ib-page .blog-article-content ol > li::marker { color: var(--brand-700); font-weight: 700; }

/* ---------- Responsief ---------- */
@media (max-width: 768px) {
    .ib-hero { padding: 40px 0 48px; }
    main > .breadcrumb + .ib-hero { padding-top: calc(var(--crumb-h) + 24px); }
    .ib-hero-compact { padding-bottom: 44px; }
    .ib-lead { font-size: 1.0625rem; }
    .ib-section { padding: 56px 0; }
    .ib-cta { padding: 64px 0; }
    .ib-card, .ib-steps > li { padding: 22px; }
    .ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-h2 + .ib-grid,
    .ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-h2 + .ib-steps,
    .ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-sub + .ib-table-wrap,
    .ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-h2 + .ib-faq-item { margin-top: 28px; }
    .ib-faq-item summary { padding: 16px 60px 16px 18px; font-size: 1rem; }
    .ib-faq-item summary::after { right: 16px; }
    .ib-faq-item p { padding: 0 18px 18px; }
}
@media (max-width: 640px) {
    .ib-cta-buttons > * { flex: 1 1 100%; justify-content: center; text-align: center; }
    .ib-checks { flex-direction: column; align-items: flex-start; }
    .ib-hero-compact .ib-checks { align-items: center; }
    .ib-preview { padding: 18px; }
    .ib-preview-facts { gap: 8px 14px; }
    .ib-grid-5 > .ib-pack-pop { grid-column: 1 / -1; order: -1; }
    .ib-pack { padding: 22px 12px; }
    .ib-pack-price { font-size: 1.625rem; }
}
@media (max-width: 380px) {
    .ib-preview-facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .ib-card, .ib-btn-ghost, .ib-faq-item summary::after, .ib-more::after { transition: none; }
    .ib-card-link:hover, .ib-btn-ghost:hover { transform: none; }
}

/* =====================================================================
   V7 REFINE (2026-10-11): same flat system as styles.css V7 layer
   ===================================================================== */
.ib-eyebrow { font-size: 12px; letter-spacing: .09em; }
.ib-eyebrow::before { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-700); }
.ib-h2 { font-size: var(--v7-h2, clamp(1.625rem, 1.15rem + 1.6vw, 2.375rem)); font-weight: 700; }
.ib-hero h1 { letter-spacing: -0.04em; }
.ib-card, .ib-steps > li, .ib-faq-item, .ib-pack { border-radius: var(--v7-r, 12px) !important; box-shadow: none !important; border-color: var(--v7-line, #E4E9E5) !important; }
.ib-card-link:hover { transform: none; box-shadow: 0 1px 2px rgba(11, 59, 36, .05); border-color: var(--v7-line-strong, #D5DCD7) !important; }
.ib-grid-3 > .ib-card:not(.ib-card-link)::before { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-700); margin-bottom: 14px; }
.ib-steps::before { background: var(--v7-line-strong, #D5DCD7) !important; height: 1px !important; }
.ib-step-n { width: 36px; height: 36px; border-radius: 10px; font-size: .9375rem; background: var(--brand-700); box-shadow: none; }
.ib-table-wrap { border-radius: var(--v7-r, 12px); box-shadow: none; border-color: var(--v7-line, #E4E9E5); }
.ib-table thead th { background: var(--v7-muted, #F7F9F7); }
.ib-preview { box-shadow: 0 1px 2px rgba(11, 59, 36, .04), 0 16px 40px -20px rgba(11, 59, 36, .25) !important; border-radius: var(--v7-r, 12px) !important; }
.ib-preview::before { border-radius: 6px; }
.ib-pack-pop { background: #fff !important; border: 1px solid var(--brand-700) !important; box-shadow: none !important; }
.ib-pack-pop::before { border-radius: 6px; }
.ib-cta { background: var(--brand-900) !important; }
.ib-cta::before { display: none !important; }
@media (max-width: 768px) {
    .ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-h2,
    .ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-sub,
    .ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-small,
    .ib-hero-compact, .ib-hero-compact .ib-lead { text-align: left; margin-left: 0; margin-right: 0; }
    .ib-section > .container > .eyebrow, .ib-hero-compact .ib-eyebrow { margin-left: 0; margin-right: auto; justify-content: flex-start; }
    .ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-h2 + .ib-grid,
    .ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-h2 + .ib-steps,
    .ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-sub + .ib-table-wrap,
    .ib-section > .container:not(.ib-prose):not(.ib-hero-grid) > .ib-h2 + .ib-faq-item { margin-top: 24px; }
    .ib-grid { gap: 10px !important; }
    .ib-card, .ib-steps > li { padding: 18px !important; }
    .ib-steps { gap: 10px; }
    .ib-steps > li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; }
    .ib-steps > li > * { grid-column: 2; }
    .ib-steps > li > .ib-step-n { grid-column: 1; grid-row: 1 / span 2; }
    .ib-steps h3 { margin: 6px 0 4px; }
    /* price table fits a phone without sideways scrolling */
    .ib-table { min-width: 0; font-size: .875rem; }
    .ib-table th, .ib-table td { padding: 11px 10px; }
    .ib-table th:first-child, .ib-table td:first-child { padding-left: 14px; }
    .ib-table thead th { font-size: .6875rem; }
    .ib-table caption { padding: 12px 14px; }
}
