/* =======================================================================
   bestcarriertms.com — design system
   --------------------------------------------------------------------- */

/* ---------- Tokens ---------------------------------------------------- */
:root {
    /* Color */
    --bct-ink:       #0a1f2c;   /* primary text */
    --bct-ink-2:     #213b48;   /* secondary text */
    --bct-muted:     #5d717b;   /* tertiary / labels */
    --bct-faint:     #94a4ac;   /* even fainter */

    --bct-deep:      #0d3b4f;   /* primary brand — deep teal */
    --bct-deep-2:    #0a2e3f;   /* hover / pressed */
    --bct-teal:      #1a7c8c;   /* mid teal accent */
    --bct-teal-2:    #2da3b3;   /* lighter teal */

    --bct-amber:     #f59e0b;   /* CTA / Editor's Choice */
    --bct-amber-2:   #d97706;   /* hover */
    --bct-amber-bg:  #fff4dd;   /* tinted bg */

    --bct-paper:     #fafaf7;   /* primary off-white */
    --bct-bone:      #f4efe6;   /* alt section bg (warmer) */
    --bct-cream:     #f8f3e7;   /* tinted bone for callouts */
    --bct-white:     #ffffff;
    --bct-line:      #e6e1d6;   /* hairline border */
    --bct-line-2:    #d8d2c4;   /* stronger border */

    --bct-good:      #16a34a;   /* yes / free trial / pass */
    --bct-warn:      #b45309;   /* needs note */
    --bct-bad:       #b91c1c;   /* no / fail */

    /* Score color ramp */
    --bct-score-elite: #0d8a5a;  /* 90+ */
    --bct-score-strong:#1a7c8c;  /* 80–89 */
    --bct-score-solid: #b45309;  /* 70–79 */
    --bct-score-weak:  #6b7280;  /* <70 */

    /* Type */
    --ff-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    --ff-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

    /* Radius / shadow / motion */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 14px;
    --r-pill: 999px;

    --shadow-1: 0 1px 2px rgba(13,59,79,.04), 0 1px 1px rgba(13,59,79,.03);
    --shadow-2: 0 1px 3px rgba(13,59,79,.06), 0 6px 16px -6px rgba(13,59,79,.10);
    --shadow-3: 0 2px 4px rgba(13,59,79,.06), 0 16px 32px -12px rgba(13,59,79,.18);
    --shadow-deep: 0 24px 60px -24px rgba(10,31,44,.45);

    --t-fast: 120ms cubic-bezier(.4,0,.2,1);
    --t-mid:  220ms cubic-bezier(.4,0,.2,1);

    /* Layout */
    --container: 1240px;
    --pad-section: 88px;
    --pad-section-md: 64px;
    --pad-section-sm: 48px;
}

/* ---------- Reset / base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    margin: 0;
    font-family: var(--ff-sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--bct-ink);
    background: var(--bct-paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--bct-deep); text-decoration: none; }
a:hover { color: var(--bct-deep-2); }
a:focus-visible {
    outline: 2px solid var(--bct-amber);
    outline-offset: 2px;
    border-radius: 3px;
}

button { font-family: inherit; }

ul, ol { padding-left: 1.2rem; }

hr { border: 0; border-top: 1px solid var(--bct-line); margin: 2rem 0; }

::selection { background: var(--bct-amber); color: var(--bct-ink); }

/* ---------- Utilities ------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.visually-hidden {
    position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; white-space: nowrap;
}

.skip-link {
    position: absolute; top: -100px; left: 16px; background: var(--bct-deep); color: #fff; padding: 10px 16px;
    border-radius: var(--r-md); font-weight: 600; z-index: 200;
}
.skip-link:focus { top: 16px; color: #fff; }

.muted { color: var(--bct-muted); }

/* ---------- Typography ---------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--ff-sans);
    color: var(--bct-ink);
    margin: 0 0 .5em;
    letter-spacing: -.015em;
    font-weight: 800;
    line-height: 1.12;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -.025em; font-weight: 900; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.18rem; font-weight: 700; }
h4 { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bct-deep); }

p { margin: 0 0 1em; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--ff-mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--bct-teal);
    font-weight: 700;
    margin-bottom: 1.1rem;
}
.eyebrow::before {
    content: ''; width: 18px; height: 2px; background: var(--bct-amber);
}

.section-title {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    margin-bottom: .6rem;
}

.section-lede {
    font-size: 1.08rem;
    color: var(--bct-ink-2);
    max-width: 64ch;
    margin: 0 0 2.4rem;
}

/* ---------- Buttons -------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .85rem 1.35rem;
    font-family: var(--ff-sans);
    font-weight: 600;
    font-size: .95rem;
    line-height: 1;
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    text-decoration: none;
    white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--bct-amber); outline-offset: 3px; }

.btn--primary { background: var(--bct-amber); color: var(--bct-ink); border-color: var(--bct-amber); }
.btn--primary:hover { background: var(--bct-amber-2); border-color: var(--bct-amber-2); color: var(--bct-ink); transform: translateY(-1px); box-shadow: var(--shadow-2); }

.btn--ink { background: var(--bct-deep); color: #fff; border-color: var(--bct-deep); }
.btn--ink:hover { background: var(--bct-deep-2); border-color: var(--bct-deep-2); color: #fff; transform: translateY(-1px); }

.btn--ghost {
    background: transparent;
    color: var(--bct-deep);
    border-color: var(--bct-line-2);
}
.btn--ghost:hover { background: var(--bct-white); border-color: var(--bct-deep); color: var(--bct-deep); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

.btn--sm { padding: .6rem 1rem; font-size: .88rem; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn--xl { padding: 1.1rem 1.85rem; font-size: 1.05rem; }

/* ---------- Pills / badges ------------------------------------------ */
.pill {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .28rem .65rem;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
    border-radius: var(--r-pill);
    text-transform: uppercase;
    background: var(--bct-bone);
    color: var(--bct-ink-2);
    border: 1px solid var(--bct-line);
    white-space: nowrap;
}
.pill i { font-size: .7em; }

.pill--editor { background: var(--bct-amber-bg); color: var(--bct-amber-2); border-color: rgba(245,158,11,.4); }
.pill--editor i { color: var(--bct-amber-2); }

.pill--value { background: rgba(22,163,74,.10); color: #0d6e36; border-color: rgba(22,163,74,.3); }
.pill--value i { color: #0d6e36; }

.pill--pick { background: rgba(26,124,140,.10); color: var(--bct-deep); border-color: rgba(26,124,140,.3); }
.pill--pick i { color: var(--bct-teal); }

.pill--standard { background: rgba(10,31,44,.06); color: var(--bct-ink); border-color: rgba(10,31,44,.18); }
.pill--standard i { color: var(--bct-ink); }

/* ---------- Section frames ------------------------------------------ */
.section { padding: var(--pad-section) 0; }
.section--bone   { background: var(--bct-bone); }
.section--paper  { background: var(--bct-paper); }
.section--white  { background: var(--bct-white); border-top: 1px solid var(--bct-line); border-bottom: 1px solid var(--bct-line); }
.section--dark   { background: var(--bct-deep); color: #fff; }
.section--dark .section-title,
.section--dark h3 { color: #fff; }
.section--dark .section-lede { color: rgba(255,255,255,.78); }
.section--dark .eyebrow { color: var(--bct-amber); }

@media (max-width: 900px) { .section { padding: var(--pad-section-md) 0; } }
@media (max-width: 600px) { .section { padding: var(--pad-section-sm) 0; } }

.tape-divider {
    height: 6px;
    background: repeating-linear-gradient(
        135deg,
        var(--bct-amber) 0 14px,
        var(--bct-deep) 14px 28px
    );
    opacity: .85;
}

/* ---------- Header / nav -------------------------------------------- */
.bct-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250,250,247,.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t-mid), box-shadow var(--t-mid);
}
.bct-nav.is-scrolled {
    border-bottom-color: var(--bct-line);
    box-shadow: 0 1px 0 rgba(13,59,79,.04), 0 8px 24px -16px rgba(13,59,79,.18);
}
.bct-nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex; align-items: center; gap: 1.2rem;
}

.bct-brand {
    display: inline-flex; align-items: center; gap: .65rem;
    font-weight: 800; color: var(--bct-ink);
    letter-spacing: -.01em;
    flex-shrink: 0;
}
.bct-brand:hover { color: var(--bct-deep); }
.bct-brand-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: var(--bct-deep); color: #fff;
    border-radius: 8px;
    font-family: var(--ff-mono); font-weight: 700;
    font-size: .85rem; letter-spacing: -.04em;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,.18);
}
.bct-brand-mark span { color: var(--bct-amber); }
.bct-brand-word { font-size: 1.04rem; font-weight: 800; }

.bct-nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
}
.bct-nav-links ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; align-items: center; gap: .15rem;
}
.bct-nav-links li { position: relative; }
.bct-nav-links a {
    display: inline-block;
    padding: .6rem .85rem;
    color: var(--bct-ink-2);
    font-weight: 600;
    font-size: .94rem;
    border-radius: var(--r-md);
    transition: background var(--t-fast), color var(--t-fast);
}
.bct-nav-links a:hover, .bct-nav-links a:focus-visible {
    background: var(--bct-bone); color: var(--bct-deep);
}
.bct-nav-links li.has-dropdown > a::after {
    content: '\f078'; /* fa caret */
    font: 900 .65rem 'Font Awesome 6 Free';
    margin-left: .35rem; color: var(--bct-faint);
    transition: transform var(--t-fast);
    display: inline-block;
}
.bct-nav-links li.has-dropdown:hover > a::after { transform: rotate(180deg); }

.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid var(--bct-line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-3);
    padding: .5rem;
    opacity: 0; visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.bct-nav-links li.has-dropdown:hover > .dropdown,
.bct-nav-links li.has-dropdown:focus-within > .dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.dd-col { display: flex; flex-direction: column; gap: 2px; }
.dd-col--grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.dd-title {
    font-family: var(--ff-mono); font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--bct-muted);
    padding: .5rem .6rem .25rem;
}
.dropdown a {
    display: flex; align-items: center; gap: .65rem;
    padding: .5rem .7rem;
    border-radius: 6px;
    color: var(--bct-ink);
    font-weight: 500;
    font-size: .9rem;
}
.dropdown a small { color: var(--bct-muted); font-weight: 500; }
.dropdown a i { width: 16px; text-align: center; color: var(--bct-teal); }
.dropdown a:hover { background: var(--bct-bone); }

.bct-nav-cta { display: flex; align-items: center; flex-shrink: 0; }

.bct-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--bct-line);
    border-radius: var(--r-md);
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    cursor: pointer;
}
.bct-menu-btn .bars {
    position: relative;
    width: 18px; height: 12px;
    display: inline-block;
}
.bct-menu-btn .bars span {
    position: absolute; left: 0; right: 0; height: 2px;
    background: var(--bct-ink);
    border-radius: 2px;
    transition: transform var(--t-fast), opacity var(--t-fast), top var(--t-fast);
}
.bct-menu-btn .bars span:nth-child(1) { top: 0; }
.bct-menu-btn .bars span:nth-child(2) { top: 5px; }
.bct-menu-btn .bars span:nth-child(3) { top: 10px; }
.bct-menu-btn.is-open .bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.bct-menu-btn.is-open .bars span:nth-child(2) { opacity: 0; }
.bct-menu-btn.is-open .bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
    .bct-nav-links a { padding: .55rem .6rem; font-size: .9rem; }
}
@media (max-width: 980px) {
    .bct-menu-btn { display: inline-flex; }
    .bct-nav-links {
        position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
        background: var(--bct-paper);
        flex-direction: column; align-items: stretch;
        padding: 1.5rem 1.25rem 2rem;
        overflow-y: auto;
        transform: translateY(-8px);
        opacity: 0; visibility: hidden;
        transition: opacity var(--t-mid), transform var(--t-mid), visibility var(--t-mid);
        z-index: 90;
    }
    .bct-nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
    .bct-nav-links ul { flex-direction: column; align-items: stretch; gap: 0; }
    .bct-nav-links a { padding: .9rem .9rem; font-size: 1rem; border-bottom: 1px solid var(--bct-line); border-radius: 0; }
    .bct-nav-links li.has-dropdown > a::after { display: none; }
    .dropdown {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0;
        background: transparent;
        padding: 0 0 .75rem 1.5rem;
    }
    .dropdown a { padding: .55rem .5rem; font-size: .9rem; border-bottom: 0; }
    .dd-col--grid { grid-template-columns: 1fr 1fr; }
    body.bct-nav-locked { overflow: hidden; }
    .bct-nav-cta .btn { padding: .55rem .9rem; font-size: .85rem; }
    .bct-nav-cta .btn span { display: none; }
}
@media (max-width: 480px) {
    .bct-brand-word { display: none; }
    .bct-nav-cta .btn span { display: none; }
}

/* ---------- Hero ---------------------------------------------------- */
.hero {
    position: relative;
    padding: 92px 0 72px;
    background:
        radial-gradient(60% 65% at 8% 0%, rgba(245,158,11,.06) 0%, transparent 70%),
        radial-gradient(50% 60% at 100% 100%, rgba(26,124,140,.10) 0%, transparent 70%),
        var(--bct-paper);
    overflow: hidden;
    border-bottom: 1px solid var(--bct-line);
}
.hero::before {
    /* subtle hairline grid as a "data-driven editorial" texture */
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(13,59,79,.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(13,59,79,.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; text-align: center; }
.hero h1 {
    margin-bottom: 1.1rem;
}
.hero h1 .accent {
    background: linear-gradient(180deg, transparent 60%, rgba(245,158,11,.5) 60%);
    padding: 0 .12em;
}
.hero-sub {
    font-size: 1.18rem;
    color: var(--bct-ink-2);
    max-width: 60ch; margin: 0 auto 1.8rem;
    line-height: 1.6;
}
.hero-ctas {
    display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center;
    margin-bottom: 2.4rem;
}

.trust-strip {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
    gap: 0;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    padding: 0;
    box-shadow: var(--shadow-2);
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
}
.trust-cell {
    flex: 1 1 0; min-width: 140px;
    padding: 1.1rem 1.25rem;
    text-align: center;
    border-right: 1px solid var(--bct-line);
}
.trust-cell:last-child { border-right: 0; }
.trust-num {
    font-family: var(--ff-mono);
    font-size: 1.7rem; font-weight: 700;
    color: var(--bct-deep);
    line-height: 1;
    letter-spacing: -.02em;
}
.trust-lbl {
    margin-top: .35rem;
    font-size: .76rem;
    color: var(--bct-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}
@media (max-width: 600px) {
    .trust-cell { flex: 1 1 50%; border-right: 0; border-bottom: 1px solid var(--bct-line); }
    .trust-cell:nth-last-child(-n+2) { border-bottom: 0; }
    .trust-cell:nth-child(odd) { border-right: 1px solid var(--bct-line); }
}

/* ---------- Fleet-tier grid ----------------------------------------- */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.tier-card {
    display: flex; flex-direction: column; gap: .9rem;
    padding: 1.5rem 1.25rem 1.4rem;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    color: var(--bct-ink);
    transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
    position: relative;
    overflow: hidden;
}
.tier-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--bct-deep) 0%, var(--bct-teal) 100%);
    opacity: 0; transition: opacity var(--t-fast);
}
.tier-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-3);
    border-color: var(--bct-deep);
    color: var(--bct-ink);
}
.tier-card:hover::before { opacity: 1; }
.tier-icon {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--r-md);
    background: rgba(13,59,79,.07);
    color: var(--bct-deep);
    font-size: 1.2rem;
}
.tier-card h3 { font-size: 1.08rem; margin-bottom: 0; }
.tier-card .tier-sub {
    font-family: var(--ff-mono);
    font-size: .72rem;
    color: var(--bct-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: .15rem;
}
.tier-card p {
    font-size: .9rem;
    color: var(--bct-ink-2);
    margin: 0;
    flex: 1;
    line-height: 1.5;
}
.tier-card .tier-foot {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: .4rem;
    font-size: .82rem;
    color: var(--bct-muted);
    font-weight: 600;
}
.tier-card .tier-foot .arrow {
    color: var(--bct-deep);
    transition: transform var(--t-fast);
}
.tier-card:hover .tier-foot .arrow { transform: translateX(3px); }

@media (max-width: 1100px) { .tier-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .tier-grid { grid-template-columns: 1fr; } }

/* ---------- Top-rated ranking table --------------------------------- */
.rank-table {
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2);
}
.rank-thead, .rank-row {
    display: grid;
    grid-template-columns: 56px 1.3fr 1fr 1.4fr 1fr .9fr 1fr;
    align-items: center;
    gap: .75rem;
    padding: .9rem 1.1rem;
}
.rank-thead {
    background: var(--bct-deep);
    color: #fff;
    font-family: var(--ff-mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
}
.rank-thead > div:first-child { text-align: center; }
.rank-row {
    border-top: 1px solid var(--bct-line);
    transition: background var(--t-fast);
}
.rank-row:hover { background: var(--bct-bone); }

.rank-num {
    font-family: var(--ff-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bct-deep);
    text-align: center;
    line-height: 1;
}

.rank-product { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.rank-logo {
    flex-shrink: 0;
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bct-deep) 0%, var(--bct-teal) 100%);
    color: #fff;
    border-radius: 8px;
    font-family: var(--ff-mono);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: -.03em;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,.2);
}
.rank-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--bct-ink);
    line-height: 1.2;
    margin-bottom: .25rem;
}
.rank-tags {
    display: flex; flex-wrap: wrap; gap: .3rem;
}
.rank-tag {
    font-family: var(--ff-mono);
    font-size: .65rem;
    color: var(--bct-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}
.rank-tag::after { content: ' ·'; color: var(--bct-faint); margin-right: .15rem; }
.rank-tag:last-child::after { content: ''; }

/* The signature score visual */
.score {
    display: flex; flex-direction: column; gap: .35rem;
}
.score-num {
    display: flex; align-items: baseline; gap: .35rem;
    font-family: var(--ff-mono);
    font-weight: 700;
}
.score-num .n {
    font-size: 1.55rem;
    color: var(--bct-deep);
    line-height: 1;
    letter-spacing: -.03em;
}
.score-num .max {
    font-size: .8rem;
    color: var(--bct-faint);
    font-weight: 500;
}
.score-bar {
    height: 4px;
    background: var(--bct-line);
    border-radius: 4px;
    overflow: hidden;
}
.score-bar .fill {
    height: 100%;
    background: var(--bct-score-strong);
    border-radius: 4px;
}
.score--elite  .score-num .n { color: var(--bct-score-elite); }
.score--elite  .score-bar .fill { background: var(--bct-score-elite); }
.score--strong .score-num .n { color: var(--bct-score-strong); }
.score--strong .score-bar .fill { background: var(--bct-score-strong); }
.score--solid  .score-num .n { color: var(--bct-score-solid); }
.score--solid  .score-bar .fill { background: var(--bct-score-solid); }
.score--weak   .score-num .n { color: var(--bct-score-weak); }
.score--weak   .score-bar .fill { background: var(--bct-score-weak); }

.rank-best { font-size: .9rem; color: var(--bct-ink-2); }
.rank-price { font-family: var(--ff-mono); }
.rank-price .p {
    font-size: 1rem; font-weight: 700; color: var(--bct-ink);
    letter-spacing: -.01em; display: block; line-height: 1.1;
}
.rank-price .ps {
    font-size: .72rem; color: var(--bct-muted); font-weight: 500;
    margin-top: .15rem;
}
.rank-trial { font-size: .82rem; color: var(--bct-good); font-weight: 600; }
.rank-trial.is-no { color: var(--bct-muted); font-weight: 500; }
.rank-cta { text-align: right; }
.rank-cta .btn { padding: .55rem 1rem; font-size: .82rem; }

.rank-badge-row {
    grid-column: 1 / -1;
    display: flex; flex-wrap: wrap; gap: .5rem;
    padding: 0 1.1rem 1.1rem;
    margin-top: -.4rem;
}

@media (max-width: 1100px) {
    .rank-thead, .rank-row {
        grid-template-columns: 48px 1.3fr 1fr 1fr 1fr;
    }
    .rank-thead .col-best, .rank-row .rank-best,
    .rank-thead .col-trial, .rank-row .rank-trial { display: none; }
}
@media (max-width: 760px) {
    .rank-thead { display: none; }
    .rank-row {
        grid-template-columns: 1fr;
        gap: 1rem; padding: 1.2rem;
    }
    .rank-row > div::before {
        content: attr(data-lbl);
        display: block;
        font-family: var(--ff-mono); font-size: .65rem;
        text-transform: uppercase; letter-spacing: .08em;
        color: var(--bct-muted); font-weight: 700;
        margin-bottom: .3rem;
    }
    .rank-num { text-align: left; font-size: 1.2rem; }
    .rank-num::before { content: ''; }
    .rank-product::before { display: none; }
    .rank-cta { text-align: left; }
    .rank-cta::before { display: none; }
    .rank-badge-row { padding: 0 1.2rem 1.2rem; margin-top: -.5rem; }
}

.rank-foot {
    padding: 1.1rem 1.25rem;
    background: var(--bct-cream);
    border-top: 1px solid var(--bct-line);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
    font-size: .88rem;
    color: var(--bct-ink-2);
}
.rank-foot .lhs { display: flex; align-items: center; gap: .55rem; font-weight: 600; }
.rank-foot .lhs i { color: var(--bct-amber-2); }
.rank-foot a { font-weight: 700; }

/* ---------- Compare teaser ------------------------------------------ */
.compare-teaser {
    background: var(--bct-white);
    border: 1px dashed var(--bct-line-2);
    border-radius: var(--r-lg);
    padding: 2.2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}
.compare-slots {
    display: flex; align-items: center; gap: 1.2rem;
}
.compare-slot {
    width: 86px; height: 86px;
    border: 2px dashed var(--bct-line-2);
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--ff-mono);
    font-weight: 700;
    color: var(--bct-faint);
    background: var(--bct-paper);
    position: relative;
}
.compare-slot.is-filled {
    background: linear-gradient(135deg, var(--bct-deep) 0%, var(--bct-teal) 100%);
    border-style: solid; border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-2);
}
.compare-slot.is-filled::after {
    content: '\f00c';
    font: 900 .75rem 'Font Awesome 6 Free';
    position: absolute; top: -8px; right: -8px;
    width: 22px; height: 22px;
    background: var(--bct-amber); color: var(--bct-ink);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-1);
}
.compare-vs {
    font-family: var(--ff-mono);
    font-size: .75rem;
    color: var(--bct-muted);
    font-weight: 700;
    letter-spacing: .12em;
}
.compare-text h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.compare-text p { color: var(--bct-ink-2); margin: 0; font-size: .95rem; }

@media (max-width: 800px) {
    .compare-teaser { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
    .compare-slots { justify-content: center; flex-wrap: wrap; }
}

/* ---------- Methodology callout ------------------------------------- */
.method-callout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, #0a2e3f 0%, #0d3b4f 60%, #1a7c8c 130%);
    color: #fff;
    border-radius: var(--r-lg);
    padding: 3rem;
    box-shadow: var(--shadow-deep);
    position: relative;
    overflow: hidden;
}
.method-callout::before {
    content: '';
    position: absolute; right: -120px; top: -60px; bottom: -60px; width: 380px;
    background:
        radial-gradient(closest-side, rgba(245,158,11,.18) 0%, transparent 70%);
    pointer-events: none;
}
.method-callout .eyebrow { color: var(--bct-amber); }
.method-callout h2 { color: #fff; }
.method-callout p { color: rgba(255,255,255,.85); }
.method-list {
    display: flex; flex-direction: column; gap: .8rem;
    list-style: none; padding: 0; margin: 0;
}
.method-list li {
    display: flex; align-items: flex-start; gap: .8rem;
    color: rgba(255,255,255,.92);
    font-size: .98rem;
    line-height: 1.45;
    padding: .8rem 1rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--r-md);
}
.method-list i {
    color: var(--bct-amber);
    font-size: .8rem;
    margin-top: .35rem;
    flex-shrink: 0;
}
.method-callout .btn--primary { margin-top: 1.4rem; }

@media (max-width: 900px) {
    .method-callout { grid-template-columns: 1fr; padding: 2rem; gap: 2rem; }
}

/* ---------- Operation-type strip ------------------------------------ */
.op-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}
.op-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .65rem;
    padding: 1.4rem .8rem;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-md);
    color: var(--bct-ink);
    transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
    text-align: center;
}
.op-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
    border-color: var(--bct-deep);
    color: var(--bct-deep);
}
.op-card i {
    font-size: 1.5rem;
    color: var(--bct-teal);
}
.op-card .nm {
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: -.005em;
}
@media (max-width: 1100px) { .op-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px)  { .op-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Versus / head-to-head ---------------------------------- */
.versus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.versus-card {
    display: flex;
    flex-direction: column;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    padding: 1.5rem 1.5rem 1.3rem;
    color: var(--bct-ink);
    transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
    position: relative;
}
.versus-card:hover {
    transform: translateY(-2px); box-shadow: var(--shadow-3); border-color: var(--bct-deep);
    color: var(--bct-ink);
}
.versus-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: .65rem;
    margin-bottom: .9rem;
}
.versus-side {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: .55rem .5rem;
    background: var(--bct-bone);
    border-radius: var(--r-md);
    font-weight: 700;
    color: var(--bct-deep);
    font-size: 1rem;
    line-height: 1.2;
    word-break: break-word;
    hyphens: auto;
}
.versus-vs {
    align-self: center;
    font-family: var(--ff-mono);
    font-size: .72rem;
    font-weight: 700;
    color: var(--bct-amber-2);
    letter-spacing: .1em;
    background: var(--bct-amber-bg);
    padding: .35rem .55rem;
    border-radius: var(--r-pill);
    border: 1px solid rgba(245,158,11,.3);
}
.versus-card p {
    color: var(--bct-ink-2);
    margin: 0 0 1rem;
    font-size: .94rem;
    line-height: 1.5;
    flex: 1;            /* push the "Read" link to the bottom for ragged ledes */
}
.versus-card .versus-link {
    display: inline-flex; align-items: center; gap: .35rem;
    color: var(--bct-deep); font-weight: 700; font-size: .88rem;
    margin-top: auto;
}
.versus-card:hover .versus-link i { transform: translateX(3px); }
.versus-link i { transition: transform var(--t-fast); }

/* Tighter breakpoint — at narrow 2-col, "Rose Rocket" / "Trimble TMW.Suite" cramp the side cells. */
@media (max-width: 920px) { .versus-grid { grid-template-columns: 1fr; } }

/* ---------- News / blog placeholder cards --------------------------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.news-card {
    display: flex; flex-direction: column;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    overflow: hidden;
    color: var(--bct-ink);
    transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); border-color: var(--bct-deep); color: var(--bct-ink); }
.news-card--stub { cursor: default; }
.news-card--stub:hover { transform: none; box-shadow: var(--shadow-1); border-color: var(--bct-line); }
.news-link--coming { color: var(--bct-muted); font-weight: 500; }
.news-img {
    aspect-ratio: 16/9;
    background:
        linear-gradient(135deg, var(--bct-deep) 0%, var(--bct-teal) 100%);
    position: relative;
    overflow: hidden;
}
.news-img::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(circle at 70% 30%, #000 30%, transparent 80%);
}
.news-img i {
    position: absolute; right: 18px; bottom: 18px;
    font-size: 2.4rem;
    color: rgba(255,255,255,.18);
}
.news-body { padding: 1.2rem 1.3rem 1.4rem; flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.news-meta {
    display: flex; align-items: center; gap: .6rem;
    font-family: var(--ff-mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
    color: var(--bct-muted);
}
.news-meta .cat { color: var(--bct-amber-2); }
.news-meta .dot { width: 3px; height: 3px; background: var(--bct-faint); border-radius: 50%; }
.news-card h3 { font-size: 1.12rem; line-height: 1.3; margin: 0; }
.news-card p { font-size: .92rem; color: var(--bct-ink-2); margin: 0; flex: 1; }
.news-link {
    display: inline-flex; align-items: center; gap: .35rem;
    font-weight: 700; color: var(--bct-deep); font-size: .88rem;
    margin-top: .3rem;
}

@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- Buyer's-guide pillars ----------------------------------- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.pillar-card {
    display: flex; flex-direction: column; gap: .85rem;
    padding: 1.6rem 1.4rem 1.4rem;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    color: var(--bct-ink);
    transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
    position: relative;
    overflow: hidden;
}
.pillar-card::before {
    content: '';
    position: absolute; top: 0; left: 0; height: 100%; width: 4px;
    background: var(--bct-amber);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--t-mid);
}
.pillar-card:hover {
    transform: translateY(-3px); box-shadow: var(--shadow-3); border-color: var(--bct-deep);
    color: var(--bct-ink);
}
.pillar-card:hover::before { transform: scaleY(1); }
.pillar-icon {
    width: 48px; height: 48px;
    background: var(--bct-bone);
    color: var(--bct-deep);
    border-radius: var(--r-md);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
}
.pillar-card h3 { font-size: 1.08rem; margin: 0; }
.pillar-card p { color: var(--bct-ink-2); margin: 0; flex: 1; font-size: .92rem; }
.pillar-link {
    margin-top: .3rem;
    display: inline-flex; align-items: center; gap: .3rem;
    color: var(--bct-deep); font-weight: 700; font-size: .85rem;
}

@media (max-width: 1020px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .pillars-grid { grid-template-columns: 1fr; } }

/* ---------- Newsletter --------------------------------------------- */
.newsletter {
    text-align: center;
    max-width: 640px; margin: 0 auto;
}
.newsletter-form {
    display: flex; gap: .5rem; max-width: 520px; margin: 1.6rem auto 0;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    padding: .35rem;
    border-radius: var(--r-pill);
    transition: border-color var(--t-fast);
}
.newsletter-form:focus-within { border-color: var(--bct-amber); }
.newsletter-form input {
    flex: 1;
    background: transparent;
    border: 0;
    color: #fff;
    font-family: inherit;
    font-size: .98rem;
    padding: .65rem 1rem;
    outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.55); }
.newsletter-form .btn { padding: .65rem 1.25rem; }
.newsletter-form.is-sent { opacity: .55; pointer-events: none; }
.newsletter-ok {
    display: inline-flex; align-items: center; gap: .5rem;
    margin-top: 1rem;
    color: var(--bct-amber); font-weight: 700;
}
.newsletter-fine {
    margin-top: 1rem;
    font-family: var(--ff-mono);
    font-size: .72rem;
    color: rgba(255,255,255,.55);
}

@media (max-width: 520px) {
    .newsletter-form { flex-direction: column; border-radius: var(--r-md); padding: .65rem; gap: .6rem; }
    .newsletter-form input { padding: .55rem .75rem; }
    .newsletter-form .btn { justify-content: center; }
}

/* ---------- Footer -------------------------------------------------- */
.bct-foot {
    background: var(--bct-ink);
    color: rgba(255,255,255,.78);
    padding: 72px 0 40px;
    margin-top: 0;
}
.bct-foot-grid {
    display: grid;
    grid-template-columns: 2fr repeat(6, 1fr);
    gap: 2.5rem 2rem;
}
.bct-foot-brand .bct-brand--foot { margin-bottom: 1rem; color: #fff; }
.bct-foot-brand .bct-brand--foot:hover { color: #fff; }
.bct-foot-brand .bct-brand-mark { background: rgba(255,255,255,.08); }
.bct-foot-blurb { color: rgba(255,255,255,.55); font-size: .9rem; max-width: 36ch; line-height: 1.55; margin-bottom: 1rem; }
.bct-foot-meta, .bct-foot-stamp {
    font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: .35rem;
}
.bct-foot-meta i, .bct-foot-stamp i { color: var(--bct-amber); margin-right: .35rem; }
.bct-foot-meta a { color: rgba(255,255,255,.78); }
.bct-foot-meta a:hover { color: #fff; }

.bct-foot h4 {
    color: #fff;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-family: var(--ff-mono);
    margin-bottom: 1rem;
}
.bct-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.bct-foot ul a {
    color: rgba(255,255,255,.7);
    font-size: .9rem;
    transition: color var(--t-fast);
}
.bct-foot ul a:hover { color: #fff; }
.bct-foot ul a .muted { color: rgba(255,255,255,.4); font-weight: 500; }

.bct-foot-legal {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.10);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
    gap: 1rem;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
}
.bct-foot-pledge {
    display: flex; flex-wrap: wrap; gap: 1.1rem;
    font-family: var(--ff-mono); font-size: .72rem;
    text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}
.bct-foot-pledge span { display: inline-flex; align-items: center; gap: .4rem; }
.bct-foot-pledge i { color: var(--bct-amber); }

@media (max-width: 1100px) {
    .bct-foot-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .bct-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .bct-foot-grid { grid-template-columns: 1fr 1fr; }
    .bct-foot-brand { grid-column: 1 / -1; }
    .bct-foot-legal { flex-direction: column; align-items: flex-start; }
}

/* =======================================================================
   Page-level components — methodology, about, product reviews
   --------------------------------------------------------------------- */

/* ---------- Page hero (smaller than homepage hero) ----------------- */
.page-hero {
    padding: 72px 0 40px;
    background:
        radial-gradient(50% 60% at 8% 0%, rgba(245,158,11,.05) 0%, transparent 70%),
        var(--bct-paper);
    border-bottom: 1px solid var(--bct-line);
}
.page-hero .meta {
    display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center;
    margin-top: 1.5rem;
    font-family: var(--ff-mono);
    font-size: .76rem;
    color: var(--bct-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}
.page-hero .meta i { color: var(--bct-amber-2); margin-right: .35rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: .8rem; }
.page-hero .lede { font-size: 1.15rem; color: var(--bct-ink-2); max-width: 64ch; margin-top: 1rem; line-height: 1.6; }

/* ---------- Article / prose layout -------------------------------- */
.article {
    display: grid;
    grid-template-columns: 240px minmax(0, 720px) 1fr;
    gap: 3rem;
    padding: 56px 0 96px;
    align-items: start;
}
.article > .body { grid-column: 2; }
.article > .toc {
    grid-column: 1;
    position: sticky; top: 88px;
    align-self: start;
    font-size: .88rem;
}
.article > .aside { grid-column: 3; position: sticky; top: 88px; align-self: start; }

@media (max-width: 1100px) {
    .article { grid-template-columns: 1fr; gap: 2rem; padding: 48px 0 80px; }
    .article > .body, .article > .toc, .article > .aside { grid-column: 1; position: static; }
    .article > .toc { order: -1; }
}

.toc h2 {
    margin: 0 0 .8rem;
    font-family: var(--ff-mono);
    font-size: .68rem;
    color: var(--bct-muted);
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
}
.toc ol {
    list-style: none;
    counter-reset: toc;
    padding: 0; margin: 0;
}
.toc li {
    counter-increment: toc;
    border-left: 2px solid var(--bct-line);
    padding-left: .9rem;
    margin-bottom: .15rem;
}
.toc li.is-active { border-left-color: var(--bct-amber); }
.toc li a {
    display: block;
    padding: .35rem 0;
    color: var(--bct-ink-2);
    font-weight: 500;
    line-height: 1.35;
}
.toc li a::before {
    content: counter(toc, decimal-leading-zero);
    font-family: var(--ff-mono);
    color: var(--bct-faint);
    margin-right: .55rem;
    font-size: .76rem;
    font-weight: 700;
}
.toc li a:hover { color: var(--bct-deep); }

/* ---------- Prose ------------------------------------------------- */
.prose { color: var(--bct-ink); font-size: 1.04rem; line-height: 1.72; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 {
    font-size: clamp(1.55rem, 2.4vw, 1.95rem);
    margin: 3rem 0 1rem;
    padding-top: 1rem;
    border-top: 3px solid var(--bct-amber);
    font-weight: 800;
    letter-spacing: -.015em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin: 2rem 0 .6rem;
    color: var(--bct-deep);
}
.prose p { margin: 1em 0; }
.prose strong { color: var(--bct-ink); font-weight: 700; }
.prose a:not(.btn) {
    color: var(--bct-deep);
    border-bottom: 1px solid rgba(13,59,79,.3);
    transition: border-color var(--t-fast), color var(--t-fast);
}
.prose a:not(.btn):hover { border-bottom-color: var(--bct-deep); color: var(--bct-deep-2); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose hr { margin: 2.4em 0; border-top: 1px dashed var(--bct-line); }

/* Footnote-style citations: [G2] [Capterra] etc. */
.cite {
    display: inline-block;
    vertical-align: super;
    font-size: .68em;
    line-height: 1;
    margin-left: 1px;
    padding: 1px 5px;
    background: var(--bct-cream);
    color: var(--bct-deep);
    border: 1px solid rgba(13,59,79,.18);
    border-radius: 4px;
    font-family: var(--ff-mono);
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 0 !important;
    white-space: nowrap;
}
.cite:hover { background: var(--bct-amber-bg); color: var(--bct-amber-2); border-color: rgba(245,158,11,.4); }

/* ---------- Sourced quote block ----------------------------------- */
.quote {
    margin: 1.6em 0;
    padding: 1.5rem 1.6rem;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-left: 4px solid var(--bct-deep);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-1);
}
.quote--neg { border-left-color: var(--bct-bad); }
.quote--mixed { border-left-color: var(--bct-warn); }

.quote .q {
    font-size: 1.04rem;
    line-height: 1.6;
    color: var(--bct-ink);
    font-style: italic;
    margin: 0 0 .8em;
    quotes: '"' '"' '\2018' '\2019';
}
.quote .q::before { content: open-quote; color: var(--bct-deep); font-size: 1.4em; line-height: 0; vertical-align: -.3em; margin-right: .15em; }
.quote .q::after  { content: close-quote; color: var(--bct-deep); font-size: 1.4em; line-height: 0; vertical-align: -.3em; margin-left: .1em; }

.quote .attr {
    display: flex; flex-wrap: wrap; gap: .35rem 1rem;
    align-items: center;
    font-size: .82rem;
    color: var(--bct-muted);
    font-family: var(--ff-mono);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}
.quote .attr .role { color: var(--bct-ink-2); }
.quote .attr .src { color: var(--bct-deep); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.quote .attr .src:hover { color: var(--bct-amber-2); }
.quote .attr .sentiment {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: 2px 8px;
    border-radius: var(--r-pill);
    font-size: .68rem;
}
.quote .attr .sentiment.pos { background: rgba(22,163,74,.10); color: #0d6e36; }
.quote .attr .sentiment.neg { background: rgba(185,28,28,.10); color: #9a1d1d; }
.quote .attr .sentiment.mixed { background: rgba(180,83,9,.10); color: #92400e; }

/* ---------- Pros / cons two-column -------------------------------- */
.proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 2rem 0;
}
.proscons > div {
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    padding: 1.5rem;
}
.proscons .pros { border-top: 4px solid var(--bct-good); }
.proscons .cons { border-top: 4px solid var(--bct-bad); }
.proscons h3 {
    margin: 0 0 1rem;
    display: flex; align-items: center; gap: .55rem;
    font-size: 1.05rem;
    color: var(--bct-ink);
}
.proscons h3 i.pos { color: var(--bct-good); }
.proscons h3 i.neg { color: var(--bct-bad); }
.proscons ul { list-style: none; padding: 0; margin: 0; }
.proscons li {
    padding: .65rem 0 .65rem 1.6rem;
    position: relative;
    border-bottom: 1px solid var(--bct-line);
    font-size: .96rem;
    line-height: 1.5;
    color: var(--bct-ink-2);
}
.proscons li:last-child { border-bottom: 0; }
.proscons .pros li::before {
    content: '\f00c';
    font: 900 .85rem 'Font Awesome 6 Free';
    color: var(--bct-good);
    position: absolute; left: 0; top: .8rem;
}
.proscons .cons li::before {
    content: '\f00d';
    font: 900 .9rem 'Font Awesome 6 Free';
    color: var(--bct-bad);
    position: absolute; left: 0; top: .8rem;
}
.proscons li .src {
    display: inline-block;
    margin-left: .35rem;
    font-family: var(--ff-mono);
    font-size: .68rem;
    color: var(--bct-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.proscons li .src a { color: var(--bct-deep); border-bottom: 1px dotted currentColor; padding-bottom: 1px; }
@media (max-width: 720px) { .proscons { grid-template-columns: 1fr; } }

/* ---------- TL;DR / verdict box ----------------------------------- */
.verdict {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    background: var(--bct-cream);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    padding: 1.8rem 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-1);
}
.verdict .label {
    font-family: var(--ff-mono);
    font-size: .68rem;
    color: var(--bct-muted);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
    margin-bottom: .55rem;
}
.verdict h2 { font-size: 1.25rem; margin: 0 0 .6rem; }
.verdict p { font-size: 1rem; color: var(--bct-ink-2); margin: 0 0 .6em; }
.verdict .verdict-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
}
.verdict .vs-cell {
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-md);
    padding: .85rem 1rem;
}
.verdict .vs-cell .lbl { font-size: .68rem; color: var(--bct-muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.verdict .vs-cell .val { font-family: var(--ff-mono); font-size: 1.1rem; font-weight: 700; color: var(--bct-ink); margin-top: .2rem; }
@media (max-width: 800px) {
    .verdict { grid-template-columns: 1fr; padding: 1.4rem 1.5rem; }
}

/* ---------- Spec matrix (8 cat × ~10 feature) --------------------- */
.spec-matrix {
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin: 1.5rem 0;
}
.spec-cat {
    border-top: 1px solid var(--bct-line);
}
.spec-cat:first-child { border-top: 0; }
.spec-cat-head {
    display: flex; align-items: center; gap: .7rem;
    padding: 1rem 1.2rem;
    background: var(--bct-bone);
    cursor: pointer;
    user-select: none;
    list-style: none;
}
.spec-cat-head::-webkit-details-marker { display: none; }
.spec-cat-head i.cat-ico { color: var(--bct-deep); font-size: 1rem; }
.spec-cat-head .nm { font-weight: 700; font-size: 1.02rem; color: var(--bct-ink); flex: 1; }
.spec-cat-head .pct {
    font-family: var(--ff-mono);
    font-size: .82rem;
    color: var(--bct-muted);
    font-weight: 600;
}
.spec-cat-head::after {
    content: '\f078';
    font: 900 .8rem 'Font Awesome 6 Free';
    color: var(--bct-faint);
    transition: transform var(--t-fast);
    margin-left: .5rem;
}
.spec-cat[open] > .spec-cat-head::after { transform: rotate(180deg); }
.spec-cat-body { padding: .25rem 1.2rem 1.2rem; }
.spec-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: .55rem .25rem;
    border-bottom: 1px dashed var(--bct-line);
    font-size: .94rem;
    color: var(--bct-ink-2);
}
.spec-row:last-child { border-bottom: 0; }
.spec-row .feature { line-height: 1.4; }
.spec-cell {
    display: inline-flex; align-items: center; gap: .35rem;
    font-family: var(--ff-mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 700;
    padding: .25rem .65rem;
    border-radius: var(--r-pill);
    white-space: nowrap;
}
.spec-cell.is-native      { background: rgba(22,163,74,.10); color: #0d6e36; }
.spec-cell.is-integration { background: rgba(13,59,79,.08); color: var(--bct-deep); }
.spec-cell.is-partial     { background: rgba(180,83,9,.10); color: #92400e; }
.spec-cell.is-no          { background: rgba(185,28,28,.08); color: #9a1d1d; }
.spec-cell.is-unknown     { background: var(--bct-bone); color: var(--bct-muted); border: 1px dashed var(--bct-line-2); }

/* ---------- Ratings aggregate (G2 / Capterra / GetApp) ------------ */
.ratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 1.4rem 0;
}
.rating-card {
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-md);
    padding: 1rem 1.1rem;
    text-align: center;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.rating-card:hover { border-color: var(--bct-deep); box-shadow: var(--shadow-2); }
.rating-card .platform {
    font-family: var(--ff-mono); font-size: .72rem;
    text-transform: uppercase; letter-spacing: .14em; font-weight: 700;
    color: var(--bct-muted);
    margin-bottom: .3rem;
}
.rating-card .stars {
    color: var(--bct-amber);
    font-size: .92rem;
    letter-spacing: .04em;
    margin: .2rem 0;
}
.rating-card .stars .empty { color: var(--bct-faint); }
.rating-card .num {
    font-family: var(--ff-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bct-ink);
    line-height: 1;
}
.rating-card .num small { color: var(--bct-faint); font-size: .65em; font-weight: 500; }
.rating-card .count {
    font-size: .76rem;
    color: var(--bct-muted);
    margin-top: .25rem;
}

/* ---------- Fact table (company facts, pricing tiers) ------------- */
.fact-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-md);
    overflow: hidden;
    margin: 1.4rem 0;
}
.fact-table th, .fact-table td {
    padding: .85rem 1.1rem;
    text-align: left;
    font-size: .94rem;
    border-bottom: 1px solid var(--bct-line);
}
.fact-table th {
    background: var(--bct-bone);
    font-family: var(--ff-mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--bct-muted);
    font-weight: 700;
    width: 32%;
}
.fact-table td { color: var(--bct-ink); }
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: 0; }
.fact-table .unknown { color: var(--bct-muted); font-style: italic; }

/* ---------- Aside / sticky CTA card ------------------------------- */
.aside-card {
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    padding: 1.4rem;
    box-shadow: var(--shadow-2);
}
.aside-card .lbl { font-family: var(--ff-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--bct-muted); font-weight: 700; }
.aside-card h3 { font-size: 1.05rem; margin: .35rem 0 .55rem; }
.aside-card p { font-size: .9rem; color: var(--bct-ink-2); margin: 0 0 .8em; }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-card .score-mini {
    display: flex; align-items: baseline; gap: .35rem;
    font-family: var(--ff-mono); font-weight: 700;
    margin: .35rem 0 .15rem;
}
.aside-card .score-mini .n { font-size: 2rem; color: var(--bct-deep); letter-spacing: -.03em; }
.aside-card .score-mini .max { font-size: .8rem; color: var(--bct-faint); }
.aside-card .score-mini .badge-inline { margin-left: auto; }
.aside-card hr { margin: 1rem 0; border-top: 1px solid var(--bct-line); }

/* ---------- Alternatives list ------------------------------------- */
.alt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 1.6rem 0;
}
.alt-card {
    display: block;
    padding: 1.2rem 1.3rem;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    color: var(--bct-ink);
    transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.alt-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--bct-deep); color: var(--bct-ink); }
.alt-card .nm { font-weight: 700; font-size: 1rem; color: var(--bct-ink); }
.alt-card .why { font-size: .88rem; color: var(--bct-ink-2); margin-top: .35rem; line-height: 1.45; }
.alt-card .read {
    margin-top: .55rem;
    font-family: var(--ff-mono); font-size: .7rem;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--bct-deep); font-weight: 700;
}

/* ---------- Source list (bottom of review) ------------------------ */
.source-list {
    background: var(--bct-bone);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-md);
    padding: 1.2rem 1.4rem;
    margin-top: 2.5rem;
    font-size: .88rem;
}
.source-list h3 {
    margin: 0 0 .65rem;
    font-family: var(--ff-mono);
    font-size: .68rem;
    color: var(--bct-muted);
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
}
.source-list ol {
    padding-left: 1.4em;
    margin: 0;
    columns: 2;
    column-gap: 1.4rem;
}
.source-list li {
    margin: .4em 0;
    font-family: var(--ff-mono);
    font-size: .82rem;
    color: var(--bct-ink-2);
    break-inside: avoid;
}
.source-list li a { color: var(--bct-deep); border-bottom: 1px dotted currentColor; word-break: break-word; }
@media (max-width: 720px) { .source-list ol { columns: 1; } }

/* ---------- Editor profile (about page) --------------------------- */
.editor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 2rem 0;
}
.editor-card {
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    padding: 1.6rem;
    box-shadow: var(--shadow-1);
}
.editor-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bct-deep) 0%, var(--bct-teal) 100%);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--ff-mono);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,.18);
}
.editor-card .nm { font-weight: 800; font-size: 1.1rem; color: var(--bct-ink); }
.editor-card .role {
    font-family: var(--ff-mono);
    font-size: .76rem;
    color: var(--bct-deep);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
    margin-top: .2rem;
}
.editor-card .bio { margin: .8rem 0 0; color: var(--bct-ink-2); font-size: .92rem; line-height: 1.5; }

/* ---------- Stub / "coming soon" review card ---------------------- */
.review-stub {
    background: var(--bct-cream);
    border: 1px dashed var(--bct-line-2);
    border-radius: var(--r-lg);
    padding: 2.2rem 2rem;
    text-align: center;
    margin: 2rem 0;
}
.review-stub h2 { margin: 0 0 .6rem; }
.review-stub p { margin: 0 auto .8rem; color: var(--bct-ink-2); max-width: 56ch; }

/* =======================================================================
   Tier landing-page components
   --------------------------------------------------------------------- */

/* ---------- "What changes at this scale" callout ----------------- */
.tier-shift {
    background: var(--bct-bone);
    border-left: 4px solid var(--bct-deep);
    padding: 1.6rem 1.8rem;
    border-radius: var(--r-md);
    margin: 2rem 0 2.5rem;
}
.tier-shift h3 {
    font-size: 1.05rem;
    margin: 0 0 .8rem;
    color: var(--bct-deep);
    display: flex; align-items: center; gap: .55rem;
}
.tier-shift h3 i { color: var(--bct-amber-2); }
.tier-shift ul { padding-left: 1.4em; margin: 0; }
.tier-shift li { padding: .35em 0; line-height: 1.5; color: var(--bct-ink); }

/* ---------- Recommendation cards (per-product mini-card on tier pages) */
.tier-rec {
    display: flex;
    gap: 1.4rem;
    padding: 1.5rem 1.6rem;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    margin: 1rem 0;
    transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
    align-items: flex-start;
}
.tier-rec:hover { border-color: var(--bct-deep); box-shadow: var(--shadow-2); }
.tier-rec.is-secondary {
    background: var(--bct-paper);
    border-style: dashed;
}
.tier-rec-rank {
    flex-shrink: 0;
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--bct-deep) 0%, var(--bct-teal) 100%);
    color: #fff;
    font-family: var(--ff-mono);
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,.18);
}
.tier-rec.is-secondary .tier-rec-rank {
    background: var(--bct-bone);
    color: var(--bct-muted);
    box-shadow: none;
    border: 1px dashed var(--bct-line-2);
}
.tier-rec-body { flex: 1; min-width: 0; }
.tier-rec-head {
    display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap;
    margin-bottom: .35rem;
}
.tier-rec-name {
    font-size: 1.2rem; font-weight: 800; color: var(--bct-ink);
    letter-spacing: -.01em;
}
.tier-rec-name a { color: inherit; }
.tier-rec-name a:hover { color: var(--bct-deep); }
.tier-rec-score {
    font-family: var(--ff-mono);
    font-weight: 700;
    color: var(--bct-deep);
    font-size: 1rem;
}
.tier-rec-score small { color: var(--bct-faint); font-weight: 500; font-size: .7em; }
.tier-rec-meta {
    display: flex; flex-wrap: wrap; gap: .35rem .9rem;
    font-family: var(--ff-mono);
    font-size: .72rem;
    color: var(--bct-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    margin-bottom: .55rem;
}
.tier-rec-meta i { color: var(--bct-amber-2); margin-right: .3rem; }
.tier-rec-why {
    color: var(--bct-ink-2);
    font-size: .96rem;
    line-height: 1.55;
    margin: 0 0 .55rem;
}
.tier-rec-actions {
    display: flex; gap: .8rem; align-items: center; flex-wrap: wrap;
    margin-top: .35rem;
}
.tier-rec-actions .btn { padding: .55rem 1rem; font-size: .85rem; }
.tier-rec-actions .read {
    font-family: var(--ff-mono);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
    color: var(--bct-muted);
}

@media (max-width: 600px) {
    .tier-rec { flex-direction: column; }
    .tier-rec-rank { width: 44px; height: 44px; font-size: 1.2rem; border-radius: 10px; }
}

/* ---------- Mistake callout (rookie errors at scale) -------------- */
.mistake {
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-left: 4px solid var(--bct-bad);
    border-radius: var(--r-md);
    padding: 1.1rem 1.3rem;
    margin: .75rem 0;
}
.mistake h3 {
    margin: 0 0 .35rem;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
    color: var(--bct-ink);
    display: flex; align-items: center; gap: .55rem;
    font-family: var(--ff-sans);
}
.mistake h3 i { color: var(--bct-bad); font-size: .9em; }
.mistake h3 .num {
    font-family: var(--ff-mono);
    font-size: .76rem;
    color: var(--bct-bad);
    font-weight: 700;
    margin-right: .15rem;
}
.mistake p {
    margin: 0;
    font-size: .94rem;
    color: var(--bct-ink-2);
    line-height: 1.55;
}
.mistake .src {
    display: inline-block;
    margin-left: .3rem;
    font-family: var(--ff-mono);
    font-size: .68rem;
    color: var(--bct-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.mistake .src a { color: var(--bct-deep); border-bottom: 1px dotted currentColor; padding-bottom: 1px; }

/* ---------- Migration paths flow ---------------------------------- */
.migration {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 1.6rem 0;
}
.migration-card {
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-md);
    padding: 1.2rem 1.3rem;
}
.migration-card .lbl {
    font-family: var(--ff-mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--bct-muted);
    font-weight: 700;
    margin-bottom: .55rem;
    display: flex; align-items: center; gap: .5rem;
}
.migration-card .lbl i.in { color: var(--bct-good); }
.migration-card .lbl i.out { color: var(--bct-amber-2); }
.migration-card p { margin: 0; font-size: .96rem; color: var(--bct-ink-2); line-height: 1.55; }
.migration-card p strong { color: var(--bct-ink); }
@media (max-width: 720px) { .migration { grid-template-columns: 1fr; } }

/* ---------- Feature checklist (what matters at this scale) -------- */
.checklist {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}
.checklist li {
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-md);
    padding: 1rem 1.2rem 1rem 2.6rem;
    position: relative;
    font-size: .95rem;
    line-height: 1.5;
    color: var(--bct-ink-2);
}
.checklist li::before {
    content: '\f00c';
    font: 900 .85rem 'Font Awesome 6 Free';
    color: var(--bct-good);
    position: absolute;
    left: 1rem; top: 1.1rem;
    width: 18px; height: 18px;
    background: rgba(22,163,74,.12);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .65rem;
}
.checklist li strong { color: var(--bct-ink); display: block; margin-bottom: .25rem; }

/* ---------- FAQ accordion (tier page + future) -------------------- */
.faq {
    margin: 1.5rem 0;
    border-top: 1px solid var(--bct-line);
}
.faq details {
    border-bottom: 1px solid var(--bct-line);
    padding: .35rem 0;
}
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem .25rem 1rem 0;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--bct-ink);
    display: flex; align-items: center; gap: .85rem;
    user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '\f067';
    font: 900 .8rem 'Font Awesome 6 Free';
    color: var(--bct-deep);
    margin-left: auto;
    transition: transform var(--t-fast);
    width: 28px; height: 28px;
    background: var(--bct-bone);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
}
.faq details[open] summary::after {
    content: '\f068';
}
.faq summary:hover { color: var(--bct-deep); }
.faq-body {
    padding: 0 1rem 1.2rem 0;
    color: var(--bct-ink-2);
    font-size: .96rem;
    line-height: 1.65;
}
.faq-body p:first-child { margin-top: 0; }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- Pricing-band table ------------------------------------ */
.pricing-bands {
    margin: 1.4rem 0;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.pricing-band {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 1.5rem;
    padding: 1.05rem 1.4rem;
    border-top: 1px solid var(--bct-line);
    align-items: baseline;
}
.pricing-band:first-child { border-top: 0; }
.pricing-band .price {
    font-family: var(--ff-mono);
    font-weight: 700;
    color: var(--bct-deep);
    font-size: 1.05rem;
    letter-spacing: -.01em;
}
.pricing-band .price small {
    display: block;
    color: var(--bct-muted);
    font-weight: 500;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: .15rem;
}
.pricing-band .desc {
    color: var(--bct-ink-2);
    font-size: .95rem;
    line-height: 1.55;
}
@media (max-width: 600px) {
    .pricing-band { grid-template-columns: 1fr; gap: .25rem; }
}

/* ---------- Section subtitle (re-usable on long pages) ----------- */
.subsec-title {
    font-size: 1.2rem !important;
    font-weight: 700;
    color: var(--bct-ink);
    margin: 2.2rem 0 .8rem !important;
    border-top: 0 !important;
    padding-top: 0 !important;
}

/* =======================================================================
   Reusable patterns — extracted from inline styles for maintainability
   --------------------------------------------------------------------- */

/* ---------- Breadcrumb (tier pages + review pages) ---------------- */
.bct-crumbs {
    margin-bottom: 1rem;
}
.bct-crumbs ol {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    font-family: var(--ff-mono);
    font-size: .76rem;
    color: var(--bct-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}
.bct-crumbs li[aria-hidden] { color: var(--bct-faint); }
.bct-crumbs .crumb-link {
    color: inherit;
    border-bottom: 1px dotted currentColor;
    padding-bottom: 1px;
}
.bct-crumbs .crumb-link:hover { color: var(--bct-deep); }
.bct-crumbs .is-current { color: var(--bct-ink-2); }

/* ---------- Compact link list (tier nav + privacy/terms summary) -- */
.bct-aside-list {
    list-style: none;
    padding: 0; margin: 0;
    font-size: .92rem;
}
.bct-aside-list li {
    padding: .55rem 0;
    border-bottom: 1px solid var(--bct-line);
    color: var(--bct-ink-2);
}
.bct-aside-list li:last-child { border-bottom: 0; }
.bct-aside-list a {
    color: var(--bct-deep);
    border-bottom: 1px dotted var(--bct-faint);
    padding-bottom: 1px;
}
.bct-aside-list a:hover {
    color: var(--bct-deep-2);
    border-bottom-color: var(--bct-deep);
}
.bct-aside-list .is-current {
    font-weight: 700;
    color: var(--bct-deep);
}
.bct-aside-list .check {
    color: var(--bct-good);
    margin-right: .5rem;
}

/* ---------- Eyebrow / page-meta link ----------------------------- */
.bct-meta-link {
    color: inherit;
    border-bottom: 1px dotted currentColor;
}
.bct-meta-link:hover { color: var(--bct-deep); }

/* ---------- Full-width button (aside cards) ---------------------- */
.btn--full {
    width: 100%;
    justify-content: center;
}
.btn--full + .btn--full {
    margin-top: .5rem;
}

/* ---------- Aside disclaimer caption ----------------------------- */
.aside-disclaimer {
    font-size: .76rem;
    color: var(--bct-muted);
    text-align: center;
    margin: .8rem 0 0;
    font-family: var(--ff-mono);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ---------- Heading variants ------------------------------------- */
/* Use on .prose h2 to suppress the default top rule + padding (e.g. Sources heading after an <hr>). */
.prose h2.no-rule {
    border-top: 0;
    padding-top: 0;
}

/* ---------- Pros/cons stacked (compare-page nested layout) ------- */
.proscons.is-stacked {
    grid-template-columns: 1fr;
}

/* ---------- Page-hero score chip (review pages) ----------------- */
.page-hero h1 .score-chip {
    color: var(--bct-deep);
    font-weight: 700;
}

/* =======================================================================
   Compare-page components — head-to-head
   --------------------------------------------------------------------- */

/* ---------- Compare hero — "A vs B" title ----------------------- */
.page-hero h1 .cmp-vs-word {
    display: inline-block;
    margin: 0 .35em;
    padding: .05em .45em;
    background: var(--bct-amber);
    color: var(--bct-ink);
    font-family: var(--ff-mono);
    font-size: .55em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    border-radius: var(--r-pill);
    vertical-align: middle;
}

/* ---------- Verdict box (compare variant — split at-a-glance pane) */
.cmp-verdict {
    grid-template-columns: 1.4fr 1fr;
}
.cmp-verdict-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
}
.cmp-verdict-side {
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-md);
    padding: 1rem 1.1rem;
    text-align: center;
}
.cmp-verdict-side .lbl {
    font-family: var(--ff-mono);
    font-size: .7rem;
    color: var(--bct-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
}
.cmp-verdict-side .val {
    font-family: var(--ff-mono);
    font-size: 1.5rem;
    color: var(--bct-deep);
    font-weight: 700;
    margin-top: .25rem;
    letter-spacing: -.02em;
}
.cmp-verdict-side .sub {
    font-size: .82rem;
    color: var(--bct-ink-2);
    margin-top: .35rem;
    line-height: 1.35;
}

@media (max-width: 800px) {
    .cmp-verdict { grid-template-columns: 1fr; }
    .cmp-verdict-stack { grid-template-columns: 1fr 1fr; }
}

/* ---------- Side-by-side stat strip ----------------------------- */
.cmp-stats {
    width: 100%;
    border-collapse: collapse;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin: 1.5rem 0;
}
.cmp-stats th, .cmp-stats td {
    padding: .85rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--bct-line);
}
.cmp-stats thead th.cmp-th {
    background: var(--bct-deep);
    color: #fff;
    font-family: var(--ff-mono);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
}
.cmp-stats tbody th {
    background: var(--bct-bone);
    font-family: var(--ff-mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--bct-muted);
    font-weight: 700;
    width: 22%;
}
.cmp-stats tbody td {
    color: var(--bct-ink);
    font-size: .94rem;
    width: 39%;
}
.cmp-stats tr:last-child th, .cmp-stats tr:last-child td { border-bottom: 0; }

@media (max-width: 700px) {
    .cmp-stats th, .cmp-stats td { padding: .6rem .8rem; font-size: .85rem; }
    .cmp-stats tbody th { width: 30%; }
}

/* ---------- 3-column spec-matrix row ---------------------------- */
.cmp-spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
    padding: .55rem .25rem;
    border-bottom: 1px dashed var(--bct-line);
}
.cmp-spec-row:last-child { border-bottom: 0; }
.cmp-spec-row .feature {
    color: var(--bct-ink-2);
    font-size: .94rem;
    line-height: 1.4;
}
.cmp-spec-head {
    border-bottom: 1px solid var(--bct-line);
    background: var(--bct-bone);
    margin: 0 -1.2rem;
    padding: .55rem 1.45rem;
}
.cmp-spec-head .feature, .cmp-spec-head .cmp-side {
    font-family: var(--ff-mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--bct-muted);
    font-weight: 700;
}

@media (max-width: 600px) {
    .cmp-spec-row { grid-template-columns: 1fr; gap: .35rem; }
    .cmp-spec-head { display: none; }
    .cmp-cell-lbl::before { content: '— '; }
}

/* ---------- 2-column pros/cons + pricing ------------------------ */
.cmp-proscons,
.cmp-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 1.5rem 0;
}
.cmp-pc-col {
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    padding: 1.4rem;
}
.cmp-pc-head {
    font-family: var(--ff-sans);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--bct-deep);
    letter-spacing: -.01em;
    margin-bottom: .9rem;
    padding-bottom: .65rem;
    border-bottom: 2px solid var(--bct-amber);
}
.cmp-pc-col .proscons { margin: 0; }
.cmp-pc-col .proscons > div { padding: 1rem 1.1rem; border: 0; border-radius: 0; background: transparent; border-top: 1px solid var(--bct-line); }
.cmp-pc-col .proscons .pros { border-top: 0; }
.cmp-pc-col .proscons .cons { border-top: 1px solid var(--bct-line); }
.cmp-pricing .fact-table { margin: 0; }
.cmp-pricing-note {
    margin-top: .85rem;
    font-size: .85rem;
    color: var(--bct-muted);
    line-height: 1.5;
}

@media (max-width: 800px) {
    .cmp-proscons,
    .cmp-pricing { grid-template-columns: 1fr; }
}

/* ---------- "Where each one wins" two-column block ------------- */
.cmp-wins {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 1.5rem 0;
}
.cmp-wins-col {
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    padding: 1.5rem 1.6rem;
    border-top: 4px solid var(--bct-deep);
}
.cmp-wins-col h3 {
    margin: 0 0 .8rem;
    font-size: 1.15rem;
    color: var(--bct-deep);
    display: flex; align-items: center; gap: .55rem;
}
.cmp-wins-col h3 i { color: var(--bct-amber-2); }
.cmp-wins-col ul { padding-left: 1.2em; margin: 0; }
.cmp-wins-col li {
    padding: .35em 0;
    color: var(--bct-ink-2);
    font-size: .96rem;
    line-height: 1.55;
}
.cmp-wins-col li strong { color: var(--bct-ink); }
@media (max-width: 800px) { .cmp-wins { grid-template-columns: 1fr; } }

/* ---------- Buyer-profile recommendation block ---------------- */
.cmp-rec {
    background: var(--bct-cream);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    padding: 1.6rem 1.8rem;
    margin: 1.5rem 0;
}
.cmp-rec h3 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    color: var(--bct-ink);
}
.cmp-rec dl { margin: 0; }
.cmp-rec dt {
    font-weight: 700;
    color: var(--bct-deep);
    margin-top: .9rem;
    font-size: .95rem;
}
.cmp-rec dt:first-child { margin-top: 0; }
.cmp-rec dd {
    margin: .15rem 0 0 0;
    color: var(--bct-ink-2);
    font-size: .95rem;
    line-height: 1.55;
    padding-left: 1rem;
    border-left: 3px solid var(--bct-amber);
}

/* ---------- Compare-hub grid (compare/index.php) -------------- */
.cmp-hub-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin: 2rem 0;
    min-width: 0;
}
.cmp-hub-card {
    display: block;
    padding: 1.7rem 1.6rem 1.4rem;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    color: var(--bct-ink);
    transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
    min-width: 0;
}
.cmp-hub-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-3);
    border-color: var(--bct-deep);
    color: var(--bct-ink);
}
.cmp-hub-card .pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
    margin-bottom: 1rem;
}
.cmp-hub-card .side {
    text-align: center;
    padding: .65rem .5rem;
    background: var(--bct-bone);
    border-radius: var(--r-md);
    font-weight: 700;
    color: var(--bct-deep);
    min-width: 0;
    font-size: .95rem;
    line-height: 1.25;
}
.cmp-hub-card .v {
    font-family: var(--ff-mono);
    font-size: .75rem;
    font-weight: 700;
    color: var(--bct-amber-2);
    background: var(--bct-amber-bg);
    padding: .35rem .6rem;
    border-radius: var(--r-pill);
    border: 1px solid rgba(245,158,11,.3);
    letter-spacing: .14em;
}
.cmp-hub-card p {
    color: var(--bct-ink-2);
    margin: 0 0 .8rem;
    font-size: .95rem;
}
.cmp-hub-card .read {
    color: var(--bct-deep);
    font-weight: 700;
    font-size: .88rem;
    display: inline-flex; align-items: center; gap: .35rem;
}
.cmp-hub-card:hover .read i { transform: translateX(3px); }
.cmp-hub-card .read i { transition: transform var(--t-fast); }

@media (max-width: 720px) { .cmp-hub-grid { grid-template-columns: 1fr; } }

/* =======================================================================
   Integration matrix pages
   --------------------------------------------------------------------- */

/* ---------- Single-partner matrix table ------------------------- */
.int-matrix {
    width: 100%;
    border-collapse: collapse;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin: 1.5rem 0;
}
.int-matrix th,
.int-matrix td {
    padding: .85rem 1.1rem;
    border-bottom: 1px solid var(--bct-line);
    vertical-align: middle;
    font-size: .94rem;
}
.int-matrix tr:last-child th,
.int-matrix tr:last-child td { border-bottom: 0; }
.int-matrix thead th {
    background: var(--bct-deep);
    color: #fff;
    text-align: left;
    font-family: var(--ff-mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
}
.int-matrix tbody th.int-tms {
    text-align: left;
    font-weight: 700;
    color: var(--bct-ink);
    width: 30%;
}
.int-matrix tbody th.int-tms a {
    color: inherit;
    border-bottom: 1px dotted var(--bct-faint);
}
.int-matrix tbody th.int-tms a:hover { color: var(--bct-deep); }
.int-matrix tbody tr:hover { background: var(--bct-bone); }

.int-matrix .int-score {
    width: 12%;
    font-family: var(--ff-mono);
    font-size: .88rem;
    color: var(--bct-deep);
    font-weight: 700;
    white-space: nowrap;
}
.int-matrix .int-status {
    width: 22%;
    white-space: nowrap;
}
.int-matrix .int-note {
    width: 36%;
    color: var(--bct-ink-2);
    font-size: .9rem;
}
.int-matrix .int-note a {
    color: var(--bct-deep);
    border-bottom: 1px dotted currentColor;
    padding-bottom: 1px;
    font-weight: 600;
}
.int-matrix .int-note .int-note-tail { color: var(--bct-muted); }

@media (max-width: 800px) {
    .int-matrix thead { display: none; }
    .int-matrix,
    .int-matrix tbody,
    .int-matrix tr,
    .int-matrix th,
    .int-matrix td { display: block; width: auto; }
    .int-matrix tbody tr {
        padding: 1rem 1.2rem;
        border-bottom: 1px solid var(--bct-line);
    }
    .int-matrix tbody tr:last-child { border-bottom: 0; }
    .int-matrix th.int-tms,
    .int-matrix .int-score,
    .int-matrix .int-status,
    .int-matrix .int-note {
        padding: .25rem 0;
        border-bottom: 0;
    }
    .int-matrix .int-score::before { content: 'Score: '; color: var(--bct-muted); font-weight: 500; }
    .int-matrix .int-status::before { content: 'Status: '; color: var(--bct-muted); font-weight: 500; font-family: var(--ff-sans); font-size: .85rem; }
    .int-matrix .int-note::before { content: 'Source: '; color: var(--bct-muted); font-weight: 500; font-size: .85rem; }
}

/* ---------- Wide multi-column matrix (factoring) ---------------- */
.int-matrix-scroll {
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    -webkit-overflow-scrolling: touch;
}
.int-matrix--wide {
    margin: 0;
    border: 0;
    border-radius: 0;
    min-width: 720px;
}
.int-matrix--wide thead th.int-th-rotated {
    text-align: center;
    font-size: .68rem;
    padding: .85rem .5rem;
    white-space: nowrap;
}
.int-matrix--wide tbody th.int-tms {
    width: auto;
    min-width: 160px;
    position: sticky;
    left: 0;
    background: var(--bct-white);
    z-index: 1;
}
.int-matrix--wide tbody tr:hover th.int-tms { background: var(--bct-bone); }
.int-matrix--wide .int-cell {
    text-align: center;
    width: 1%;
    padding: .65rem .55rem;
    font-size: 1rem;
}
.int-matrix--wide .int-cell.is-native i      { color: var(--bct-good); }
.int-matrix--wide .int-cell.is-integration i { color: var(--bct-deep); }
.int-matrix--wide .int-cell.is-partial i     { color: var(--bct-warn); }
.int-matrix--wide .int-cell.is-no i          { color: var(--bct-faint); opacity: .55; }
.int-matrix--wide .int-cell.is-unknown i     { color: var(--bct-faint); opacity: .55; }

/* ---------- Integration hub grid (integrations/index.php) ------- */
.int-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 2rem 0;
}
.int-hub-card {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    padding: 1.6rem 1.6rem 1.4rem;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-lg);
    color: var(--bct-ink);
    transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}
.int-hub-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-3);
    border-color: var(--bct-deep);
    color: var(--bct-ink);
}
.int-hub-card .icon {
    width: 48px; height: 48px;
    background: var(--bct-bone);
    color: var(--bct-deep);
    border-radius: var(--r-md);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}
.int-hub-card .nm {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--bct-ink);
    letter-spacing: -.01em;
}
.int-hub-card .cat {
    font-family: var(--ff-mono);
    font-size: .68rem;
    color: var(--bct-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
}
.int-hub-card p { color: var(--bct-ink-2); margin: 0; font-size: .94rem; flex: 1; }
.int-hub-card .stat {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-family: var(--ff-mono);
    font-size: .76rem;
    color: var(--bct-deep);
    font-weight: 700;
    margin-top: .35rem;
}
.int-hub-card:hover .stat i { transform: translateX(3px); }
.int-hub-card .stat i { transition: transform var(--t-fast); }
.int-hub-card-head { display: flex; align-items: center; gap: .9rem; }

/* ---------- Prose-note paragraphs (small muted commentary) -------- */
.prose-note { font-size: .92rem; color: var(--bct-muted); }
.prose-note--mono { font-size: .9rem; color: var(--bct-muted); font-family: var(--ff-mono); margin-top: 1rem; }
.prose-note--small-mono { font-family: var(--ff-mono); font-size: .82rem; color: var(--bct-muted); }
.int-note-tail--empty { color: var(--bct-faint); }

/* ---------- Aside-card spacing modifier --------------------------- */
.aside-card--spaced { margin-top: 1rem; }

/* ---------- Op-type page extras ----------------------------------- */
.optype-h1-icon { color: var(--bct-deep); margin-right: .55rem; font-size: .85em; vertical-align: -.05em; }
.optype-pick-pill { font-size: .62rem; padding: .2rem .55rem; }

/* ---------- Editorial refresh queue (review-page footer) ---------- */
.refresh-queue {
    background: var(--bct-bone);
    border: 1px solid var(--bct-line);
    border-left: 3px solid var(--bct-deep);
    border-radius: var(--r-md);
    padding: 1.1rem 1.3rem;
    margin-top: 1.4rem;
    font-size: .9rem;
    color: var(--bct-ink-2);
}
.refresh-queue-head {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--bct-deep);
    font-family: var(--ff-mono);
    font-size: .82rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .2rem;
}
.refresh-queue-head i { font-size: .95em; }
.refresh-queue p { margin: .4rem 0 .55rem; }
.refresh-queue ul { margin: 0; padding-left: 1.3em; font-size: .88rem; line-height: 1.55; }
.refresh-queue li { margin-bottom: .2rem; }

/* ---------- Glossary page ----------------------------------------- */
.glossary-jump {
    position: sticky;
    top: 72px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    padding: .6rem .8rem;
    margin: 0 0 1.5rem;
    background: var(--bct-white);
    border: 1px solid var(--bct-line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-2);
    font-family: var(--ff-mono);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.glossary-jump a,
.glossary-jump span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 .35rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--bct-deep);
    background: var(--bct-bone);
    transition: background var(--t-fast), color var(--t-fast);
}
.glossary-jump a:hover { background: var(--bct-deep); color: var(--bct-white); }
.glossary-jump span { color: var(--bct-faint); background: transparent; opacity: .5; }

.glossary-letter { margin: 2.5rem 0 1.5rem; scroll-margin-top: 130px; }
.glossary-letter-h {
    font-family: var(--ff-mono);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--bct-deep);
    margin: 0 0 1rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid var(--bct-line);
    letter-spacing: -.02em;
}
.glossary-list { margin: 0; padding: 0; }
.glossary-list dt {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--bct-ink);
    margin: 1.4rem 0 .35rem;
    scroll-margin-top: 130px;
}
.glossary-list dt:first-child { margin-top: 0; }
.glossary-list dd {
    margin: 0 0 0 0;
    color: var(--bct-ink-2);
    font-size: .96rem;
    line-height: 1.55;
}
.glossary-list dd a { color: var(--bct-deep); border-bottom: 1px dotted currentColor; }
.glossary-list dd a:hover { border-bottom-style: solid; }
.glossary-anchor {
    margin-left: .35rem;
    color: var(--bct-faint);
    font-weight: 500;
    font-size: .8em;
    text-decoration: none;
    opacity: 0;
    transition: opacity var(--t-fast), color var(--t-fast);
}
.glossary-list dt:hover .glossary-anchor,
.glossary-list dt:focus-within .glossary-anchor { opacity: 1; color: var(--bct-deep); }

/* ---------- Print -------------------------------------------------- */
@media print {
    .bct-nav, .bct-foot, .btn, .newsletter, .compare-teaser, .toc, .aside { display: none !important; }
    body { background: #fff; color: #000; }
    .article { grid-template-columns: 1fr; }
}
