/* =========================================================================
   Buildertrend content cluster - supplemental styles.
   This file ONLY adds the few components the integration/service theme
   (integrations.css, .qb-int-page + qbi-*) does not already provide:
   a stronger conversion hero, the Buildertrend logo lockup, neutral info
   cards, readable prose, comparison tables, the hub collection grid, and
   sibling cross-links. Everything else (typography, sections, FAQ, CTA,
   process steps, fix cards, sticky CTA, FREE flag) is inherited verbatim
   from integrations.css so the cluster is the SAME theme, not a new one.

   Load order: integrations.css first, then this file.
   ========================================================================= */

/* Cluster modifier on the .qb-int-page wrapper.
   Darken + thicken body copy vs the default integration grey so the text
   reads solid, not washed out. One variable override flows through every
   qbi component that uses var(--qbi-text-grey). */
.qb-int-page.bti-cluster {
    --qbi-text-grey: #294049;          /* was #4a5b65 - darker */
    --bti-accent: var(--qbi-accent);
    --bti-ink: #00293a;
    --bti-line: #e2ecee;
}
.qb-int-page.bti-cluster p,
.qb-int-page.bti-cluster li {
    font-weight: 600;
    color: #294049;
}
/* anchored sections (hero ghost-CTA targets) land below the top edge, not jammed against it */
.qb-int-page.bti-cluster .qbi-section[id] { scroll-margin-top: 26px; }
html { scroll-behavior: smooth; }
.qb-int-page.bti-cluster .qbi-section-lead { color: #38535d; }

/* =====================================================================
   HERO - contained two-column dark hero (text left, logo lockup right)
   Built on the same dark teal gradient tokens as .qbi-hero, but laid out
   for a content/landing page (CTA visible, not pinned to the viewport
   bottom). Far more conversion-focused than a bare light hero.
   ===================================================================== */
.qb-int-page .bti-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px 560px at 92% 115%, rgba(14, 175, 160, 0.20), transparent 60%),
        radial-gradient(820px 460px at -5% -10%, color-mix(in srgb, var(--qbi-accent) 26%, transparent), transparent 62%),
        linear-gradient(135deg, var(--qbi-darker) 0%, var(--qbi-deep-teal) 100%);
}
.qb-int-page .bti-hero::after {
    /* faint grid texture, like the integration hero illustration */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 78% 40%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 78% 40%, #000 0%, transparent 70%);
    pointer-events: none;
}
.qb-int-page .bti-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 26px 24px 64px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}
.qb-int-page .bti-hero-copy { max-width: 660px; }

/* In-hero breadcrumb - light, refined, replaces the bare grey line */
.qb-int-page .bti-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: rgba(215, 251, 251, 0.66);
    margin: 0 0 26px;
}
.qb-int-page .bti-crumb a {
    color: #d7fbfb;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.18s ease;
}
.qb-int-page .bti-crumb a:hover { opacity: 1; }
.qb-int-page .bti-crumb .bti-crumb-sep { opacity: 0.4; }
.qb-int-page .bti-crumb .bti-crumb-cur { color: #ffffff; }

.qb-int-page .bti-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 14px 20px 0;
    background: rgba(0, 200, 175, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(154, 255, 255, 0.30);
    border-radius: 999px;
    box-sizing: border-box;
    min-height: 52px;
    padding: 0 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #d7fbfb;
    vertical-align: middle;
}
.qb-int-page .bti-hero-pill::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--qbi-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--qbi-accent) 24%, transparent);
}
.qb-int-page .bti-hero h1 {
    color: #ffffff;
    font-family: Lexend, Manrope, system-ui, sans-serif;
    font-weight: 900;
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 20px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.qb-int-page .bti-hero h1 .qbi-hl {
    background: linear-gradient(135deg, #9affff 0%, #5ee8e8 55%, #00c5b0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Compound selector (.qb-int-page.bti-cluster) outranks the .bti-cluster p
   body-copy override so the hero lead stays light on the dark hero. */
.qb-int-page.bti-cluster .bti-hero-lead {
    color: rgba(255, 255, 255, 0.94);
    font-size: 16.5px;
    font-weight: 500;
    line-height: 1.68;
    margin: 0 0 28px;
    max-width: 600px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.qb-int-page .bti-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 0 0 26px;
}
/* Secondary / ghost CTA for the dark hero */
.qb-int-page .bti-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: Manrope, system-ui, sans-serif;
    font-size: 16px;
    font-weight: 800;
    padding: 16px 30px;
    border-radius: 999px;
    color: #eafeff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(154, 255, 255, 0.40);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.qb-int-page .bti-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(154, 255, 255, 0.7);
    transform: translateY(-2px);
}
/* hero CTA wrap so the FREE flag has room (the qbi flag sits top-right) */
.qb-int-page .bti-hero .qbi-hero-cta { font-size: 17px; padding: 16px 34px; }

/* Trust row - reuses .qbi-hero-trust styling from integrations.css */
.qb-int-page .bti-hero .qbi-hero-trust { margin: 0; }

/* ---- Hero visual: Buildertrend <-> QuickBooks logo lockup ---- */
.qb-int-page .bti-herovis {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 8px;
}
.qb-int-page .bti-chip {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 320px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.qb-int-page .bti-chip-icon {
    width: 46px; height: 46px;
    flex-shrink: 0;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #f3f8f8;
    border: 1px solid #e2ecee;
    overflow: hidden;
}
.qb-int-page .bti-chip-icon img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
/* Full-bleed variant for the navy Buildertrend app icon (fills the rounded slot) */
.qb-int-page .bti-chip-icon--bleed { padding: 0; background: #0a2240; border-color: #0a2240; }
.qb-int-page .bti-chip-icon--bleed img { padding: 0; object-fit: cover; }
.qb-int-page .bti-chip-tx { display: flex; flex-direction: column; line-height: 1.2; }
.qb-int-page .bti-chip-tx .bti-chip-k {
    font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #7c8b90;
}
.qb-int-page .bti-chip-tx .bti-chip-v {
    font-family: Lexend, Manrope, sans-serif; font-size: 17px; font-weight: 800; color: #00293a; letter-spacing: -0.01em;
}
/* connector between the two chips */
.qb-int-page .bti-connect {
    position: relative;
    z-index: 1;
    width: 2px;
    height: 56px;
    margin: -2px 0;
    background: repeating-linear-gradient(180deg, #0EAFA0 0 7px, transparent 7px 14px);
    animation: bti-flow 1.1s linear infinite;
}
.qb-int-page .bti-connect::before,
.qb-int-page .bti-connect::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 9px; height: 9px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: var(--qbi-accent);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--qbi-accent) 16%, transparent);
}
.qb-int-page .bti-connect::before { top: -5px; }
.qb-int-page .bti-connect::after { bottom: -5px; background: #0EAFA0; box-shadow: 0 0 0 6px rgba(14,175,160,0.16); }
@keyframes bti-flow { to { background-position: 0 14px; } }
@media (prefers-reduced-motion: reduce) { .qb-int-page .bti-connect { animation: none; } }
.qb-int-page .bti-herovis-cap {
    margin-top: 20px;
    text-align: center;
    color: rgba(215, 251, 251, 0.85);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ---- Buildertrend wordmark (CSS, crisp at any size, correct fonts) ---- */
.bti-logo {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: Lexend, Manrope, system-ui, sans-serif;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.02em;
    color: #1f7a43;
    white-space: nowrap;
}
.bti-logo .bti-logo-roof {
    width: 17px; height: 14px; flex-shrink: 0;
    color: #2A8C4D;
}
.bti-logo .bti-logo-roof svg { width: 100%; height: 100%; display: block; }
.bti-logo b { font-weight: 800; color: #0f5a30; }

/* =====================================================================
   INFO CARDS - neutral teal-accented cards (the qbi-why-card is red /
   failure-themed; this is the same silhouette for general content).
   ===================================================================== */
.qb-int-page .bti-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1120px;
    margin: 0 auto;
}
.qb-int-page .bti-cards.bti-cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 940px; }
.qb-int-page .bti-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--bti-line, #e2ecee);
    border-top: 3px solid var(--qbi-accent);
    border-radius: 14px;
    padding: 26px 24px 22px;
    box-shadow: 0 6px 20px rgba(0, 41, 58, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.qb-int-page .bti-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 41, 58, 0.12);
}
.qb-int-page .bti-card-num {
    font-family: Lexend, sans-serif;
    font-weight: 900;
    font-size: 26px;
    line-height: 1;
    color: color-mix(in srgb, var(--qbi-accent) 32%, #ffffff);
    position: absolute;
    top: 20px;
    right: 22px;
}
.qb-int-page .bti-card h3 {
    color: var(--bti-ink, #00293a);
    font-family: Manrope, system-ui, sans-serif;
    font-size: 18.5px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.015em;
    margin: 0 0 10px;
    max-width: 92%;
}
.qb-int-page .bti-card p {
    color: #36525c;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.62;
    margin: 0;
}

/* =====================================================================
   PROSE - readable narrative blocks (dark, solid text)
   ===================================================================== */
.qb-int-page .bti-prose { max-width: 820px; margin: 0 auto; }
.qb-int-page .bti-prose.bti-prose--left { margin: 0; }
.qb-int-page .bti-prose p {
    color: #294049;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.75;
    margin: 0 0 18px;
}
.qb-int-page .bti-prose h3 {
    color: var(--bti-ink, #00293a);
    font-family: Manrope, system-ui, sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.015em;
    margin: 30px 0 12px;
}
.qb-int-page .bti-prose strong, .qb-int-page .bti-prose b { color: #00293a; font-weight: 800; }
.qb-int-page .bti-prose a { color: var(--qbi-teal); font-weight: 700; text-decoration: none; border-bottom: 2px solid color-mix(in srgb, var(--qbi-teal) 32%, transparent); }
.qb-int-page .bti-prose a:hover { border-color: var(--qbi-teal); }
.qb-int-page .bti-prose ul { margin: 0 0 18px; padding: 0; list-style: none; }
.qb-int-page .bti-prose ul li {
    position: relative; padding-left: 30px; margin: 0 0 12px;
    color: #294049; font-size: 16.5px; font-weight: 600; line-height: 1.6;
}
.qb-int-page .bti-prose ul li::before {
    content: ""; position: absolute; left: 4px; top: 0.5em;
    width: 10px; height: 10px; border-radius: 3px; background: var(--qbi-accent);
}

/* =====================================================================
   COMPARISON TABLE
   ===================================================================== */
.qb-int-page .bti-table-wrap {
    max-width: 980px;
    margin: 0 auto;
    overflow-x: auto;
    border: 1px solid var(--bti-line, #e2ecee);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 41, 58, 0.06);
}
.qb-int-page .bti-table { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
.qb-int-page .bti-table th,
.qb-int-page .bti-table td {
    padding: 16px 20px; text-align: left; vertical-align: top;
    border-bottom: 1px solid var(--bti-line, #e2ecee);
    font-size: 15.5px; font-weight: 600; color: #294049;
}
.qb-int-page .bti-table thead th {
    background: linear-gradient(135deg, var(--qbi-darker), var(--qbi-deep-teal));
    color: #fff;
    font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: 0.01em;
    border-bottom: none;
}
.qb-int-page .bti-table thead th:first-child { border-top-left-radius: 15px; }
.qb-int-page .bti-table thead th:last-child { border-top-right-radius: 15px; }
.qb-int-page .bti-table tbody tr:nth-child(even) td { background: #f6fafa; }
.qb-int-page .bti-table tbody tr:last-child td { border-bottom: none; }
.qb-int-page .bti-table td:first-child { font-weight: 800; color: #00293a; }
/* yes/no markers - alias both prefixes (.bt- from the original exemplar and
   .bti- ) so comparison cells colour correctly across every cluster table. */
.qb-int-page .bti-table .bti-yes,
.qb-int-page .bti-table .bt-yes { color: #0f7a45; font-weight: 800; }
.qb-int-page .bti-table .bti-no,
.qb-int-page .bti-table .bt-no { color: #c0392b; font-weight: 800; }

/* Verdict variant: column 2 is the "wrong way" (red), column 3 is the
   FinTruction way (green). Used on DIY-vs-us comparison tables. */
.qb-int-page .bti-table--verdict thead th:nth-child(2) { background: linear-gradient(135deg, #8f231d, #b5362b); }
.qb-int-page .bti-table--verdict thead th:nth-child(3) { background: linear-gradient(135deg, #0a5e3a, #0f7a45); }
.qb-int-page .bti-table--verdict tbody td:nth-child(2) { background: #fdeeec !important; color: #a83329; }
.qb-int-page .bti-table--verdict tbody td:nth-child(3) { background: #ebfaf1 !important; color: #155f3d; }
.qb-int-page .bti-table--verdict tbody td:nth-child(2) .bt-no,
.qb-int-page .bti-table--verdict tbody td:nth-child(2) .bti-no { color: #a83329; }
.qb-int-page .bti-table--verdict tbody td:nth-child(3) .bt-yes,
.qb-int-page .bti-table--verdict tbody td:nth-child(3) .bti-yes { color: #155f3d; }

/* =====================================================================
   CALLOUT - light branded panel (distinct from the dark qbi-builtfor)
   ===================================================================== */
.qb-int-page .bti-callout {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--qbi-accent) 9%, #fff), #ffffff);
    border: 1px solid color-mix(in srgb, var(--qbi-accent) 26%, transparent);
    border-top: 4px solid var(--qbi-accent);
    border-radius: 16px;
    padding: 34px 38px;
    box-shadow: 0 8px 24px rgba(0, 41, 58, 0.06);
}
.qb-int-page .bti-callout h3 {
    color: var(--bti-ink, #00293a);
    font-family: Manrope, sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -0.015em;
    margin: 0 0 12px;
}
.qb-int-page .bti-callout p { color: #2f4a54; font-size: 16.5px; font-weight: 600; line-height: 1.66; margin: 0 auto 16px; max-width: 620px; }
.qb-int-page .bti-callout p:last-of-type { margin-bottom: 0; }
.qb-int-page .bti-callout .qbi-hero-cta { margin-top: 20px; }

/* =====================================================================
   HUB collection grid + sibling cross-links
   ===================================================================== */
.qb-int-page .bti-collection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1120px;
    margin: 0 auto;
}
.qb-int-page .bti-coll-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--bti-line, #e2ecee);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 41, 58, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.qb-int-page .bti-coll-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(0, 41, 58, 0.13);
    border-color: color-mix(in srgb, var(--qbi-accent) 45%, transparent);
}
.qb-int-page .bti-coll-body {
    display: flex; flex-direction: column; flex-grow: 1;
    padding: 22px 22px 24px;
}
.qb-int-page .bti-coll-card--money { border-color: color-mix(in srgb, var(--qbi-accent) 30%, transparent); }
.qb-int-page .bti-coll-card--money .bti-coll-body {
    background: linear-gradient(135deg, color-mix(in srgb, var(--qbi-accent) 8%, #fff), #fff);
}
.qb-int-page .bti-coll-tag {
    display: inline-block;
    font-family: Manrope, sans-serif; font-size: 11px; font-weight: 800;
    letter-spacing: 1.4px; text-transform: uppercase; color: var(--qbi-teal);
    margin: 0 0 12px;
}
.qb-int-page .bti-coll-card--money .bti-coll-tag { color: var(--qbi-accent); }
.qb-int-page .bti-coll-card h3 {
    color: var(--bti-ink, #00293a);
    font-family: Manrope, sans-serif; font-size: 19px; font-weight: 800; line-height: 1.28; letter-spacing: -0.015em;
    margin: 0 0 10px;
}
.qb-int-page .bti-coll-card p { color: #36525c; font-size: 14.5px; font-weight: 600; line-height: 1.58; margin: 0 0 18px; flex-grow: 1; }
.qb-int-page .bti-coll-go { font-weight: 800; font-size: 14px; color: var(--qbi-accent); }

/* Shared branded thumbnail (featured image) for link cards */
.qb-int-page .bti-thumb { display: block; width: 100%; aspect-ratio: 20 / 9; }

.qb-int-page .bti-siblings {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    max-width: 1040px; margin: 0 auto;
}
.qb-int-page .bti-sib {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bti-line, #e2ecee);
    border-radius: 15px; overflow: hidden; text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 41, 58, .06);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.qb-int-page .bti-sib:hover { border-color: var(--qbi-accent); transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,41,58,.13); }
.qb-int-page .bti-sib-body { padding: 16px 18px 18px; }
.qb-int-page .bti-sib-body b {
    display: block; font-family: Manrope, sans-serif; font-weight: 800; color: #00293a;
    font-size: 15.5px; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 6px;
}
.qb-int-page .bti-sib-desc { display: block; font-size: 13px; font-weight: 600; color: #51686f; line-height: 1.5; }

/* ---- Compact trust bar (section breaks; smaller than the homepage bar) ---- */
.qb-int-page .bti-trustband { display: flex; justify-content: center; padding: 6px 22px; }
.qb-int-page .bti-trustband-stack { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.qb-int-page .bti-trust {
    display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
    background: #fff; border: 1px solid var(--bti-line, #e2ecee); border-radius: 999px;
    padding: 9px 20px; box-shadow: 0 6px 18px rgba(0, 41, 58, .07);
}
/* Standalone Procore Network credential (light-section variant of the hero badge). */
.qb-int-page .pc-netbadge {
    position: relative; display: inline-flex; align-items: center; gap: 11px;
    padding: 8px 15px; border-radius: 13px; text-decoration: none; overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 82, 0, 0.09), rgba(255, 82, 0, 0.02));
    border: 1px solid rgba(255, 120, 50, 0.4);
    box-shadow: 0 6px 18px rgba(255, 82, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.qb-int-page .pc-netbadge::before {
    content: ""; position: absolute; top: 0; left: -65%; width: 45%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: skewX(-20deg); opacity: 0;
}
.qb-int-page .pc-netbadge:hover::before { animation: pcShine 0.85s ease; }
.qb-int-page .pc-netbadge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 82, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 120, 50, 0.6);
}
.qb-int-page .pc-netbadge-logo {
    flex-shrink: 0; font-family: Manrope, system-ui, sans-serif;
    font-weight: 800; font-size: 15px; letter-spacing: -0.3px; color: #ff5200;
}
.qb-int-page .pc-netbadge-div { flex-shrink: 0; width: 1px; height: 26px; background: rgba(0, 41, 58, 0.14); }
.qb-int-page .pc-netbadge-body { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; }
.qb-int-page .pc-netbadge-eyebrow {
    font-family: Manrope, system-ui, sans-serif; font-size: 9px; font-weight: 800;
    letter-spacing: 1.4px; text-transform: uppercase; color: #c2410c;
}
.qb-int-page .pc-netbadge-title { font-family: Manrope, system-ui, sans-serif; font-size: 12.5px; font-weight: 700; color: #294049; }
.qb-int-page .pc-netbadge-seal {
    flex-shrink: 0; display: grid; place-items: center; width: 26px; height: 26px;
    filter: drop-shadow(0 2px 6px rgba(255, 82, 0, 0.4));
}
.qb-int-page .pc-netbadge-seal svg { width: 26px; height: 26px; }
.qb-int-page .bti-trust-avatars { display: inline-flex; }
.qb-int-page .bti-trust-avatars .bti-tav {
    width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .14); display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
}
.qb-int-page .bti-trust-avatars .bti-tav:not(:first-child) { margin-left: -9px; }
.qb-int-page .bti-trust-avatars .bti-tav img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.qb-int-page .bti-trust-div { width: 1px; height: 22px; background: var(--bti-line, #e2ecee); }
.qb-int-page .bti-trust-rate { display: inline-flex; align-items: center; gap: 9px; }
.qb-int-page .bti-trust-stars { display: inline-flex; gap: 2px; }
.qb-int-page .bti-trust-stars img { width: 13px; height: 13px; }
.qb-int-page .bti-trust-copy { font-size: 12.5px; font-weight: 800; color: #00293a; letter-spacing: .1px; }
@media (max-width: 520px) {
    .qb-int-page .bti-trust { gap: 10px; padding: 8px 14px; }
    .qb-int-page .bti-trust-copy { font-size: 11.5px; }
}

/* =====================================================================
   STEP ACCORDION - horizontal step bars (number + title) that expand to
   reveal full detail. Replaces the cramped multi-column process grid so
   long, keyword-rich step copy has room to breathe.
   ===================================================================== */
.qb-int-page .bti-stepper { max-width: 900px; margin: 0 auto; }
.qb-int-page .bti-stepx {
    position: relative; background: #fff; border: 1px solid var(--bti-line, #e2ecee);
    border-radius: 14px; margin: 0 0 12px; overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 41, 58, .05);
    transition: box-shadow .2s ease, border-color .2s ease;
}
.qb-int-page .bti-stepx[open] {
    box-shadow: 0 12px 28px rgba(0, 41, 58, .10);
    border-color: color-mix(in srgb, var(--qbi-accent) 40%, transparent);
}
.qb-int-page .bti-stepx-sum {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
    padding: 15px 20px;
}
.qb-int-page .bti-stepx-sum::-webkit-details-marker { display: none; }
.qb-int-page .bti-stepx-num {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--qbi-bright-teal), var(--qbi-teal));
    color: #fff; font-family: Lexend, sans-serif; font-weight: 900; font-size: 17px;
    box-shadow: 0 6px 16px rgba(0, 146, 130, .35);
}
.qb-int-page .bti-stepx-title {
    flex: 1; font-family: Manrope, sans-serif; font-weight: 800; font-size: 16.5px;
    color: #00293a; line-height: 1.32; letter-spacing: -0.01em;
}
.qb-int-page .bti-stepx-ic {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
    background: #eef6f4; color: var(--qbi-teal); display: grid; place-items: center;
    transition: transform .25s ease, background .2s ease, color .2s ease;
}
.qb-int-page .bti-stepx-ic svg { width: 16px; height: 16px; }
.qb-int-page .bti-stepx[open] .bti-stepx-ic { transform: rotate(180deg); background: var(--qbi-teal); color: #fff; }
.qb-int-page .bti-stepx-body { padding: 2px 24px 20px 80px; }
.qb-int-page .bti-stepx-body p { color: #294049; font-size: 15.5px; font-weight: 600; line-height: 1.72; margin: 0; }
@media (max-width: 560px) {
    .qb-int-page .bti-stepx-sum { gap: 13px; padding: 13px 16px; }
    .qb-int-page .bti-stepx-num { width: 38px; height: 38px; font-size: 15px; }
    .qb-int-page .bti-stepx-title { font-size: 15px; }
    .qb-int-page .bti-stepx-body { padding: 2px 18px 18px 18px; }
}

/* hub backlink strip */
.qb-int-page .bti-hublink { text-align: center; padding: 30px 24px; background: #fff; border-top: 1px solid #e6eef0; }
.qb-int-page .bti-hublink a {
    color: var(--qbi-teal); font-weight: 800; text-decoration: none; font-size: 15.5px;
    border-bottom: 2px solid color-mix(in srgb, var(--qbi-teal) 32%, transparent); padding-bottom: 2px;
}
.qb-int-page .bti-hublink a:hover { color: var(--qbi-accent); border-color: var(--qbi-accent); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1023px) {
    .qb-int-page .bti-hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .qb-int-page .bti-herovis { order: 2; max-width: 420px; margin: 0 auto; }
    .qb-int-page .bti-cards { grid-template-columns: repeat(2, 1fr); }
    .qb-int-page .bti-collection { grid-template-columns: repeat(2, 1fr); }
    .qb-int-page .bti-siblings { grid-template-columns: repeat(2, 1fr); }
    .qb-int-page .bti-hero h1 { font-size: 38px; }
}
@media (max-width: 640px) {
    .qb-int-page .bti-hero-inner { padding: 18px 18px 48px; }
    .qb-int-page .bti-hero h1 { font-size: 30px; }
    .qb-int-page .bti-hero-lead { font-size: 15.5px; }
    .qb-int-page .bti-hero-cta-row { gap: 12px; }
    .qb-int-page .bti-hero-cta-row > a { width: 100%; justify-content: center; }
    .qb-int-page .bti-cards,
    .qb-int-page .bti-collection,
    .qb-int-page .bti-siblings { grid-template-columns: 1fr; }
    .qb-int-page .bti-prose p, .qb-int-page .bti-prose ul li { font-size: 16px; }
}
@media (max-width: 480px) {
    .qb-int-page .bti-hero h1 { font-size: 26px; }
}

/* =====================================================================
   Keyboard focus visibility (a11y) - applies across the cluster theme
   ===================================================================== */
.qb-int-page a:focus-visible,
.qb-int-page button:focus-visible,
.qb-int-page summary:focus-visible,
.qb-int-page .bti-coll-card:focus-visible,
.qb-int-page .bti-sib:focus-visible {
    outline: 3px solid #9affff;
    outline-offset: 2px;
    border-radius: 6px;
}
.qb-int-page .bti-hero a:focus-visible {
    outline-color: #ffffff;
}

/* =====================================================================
   "Procore Network Member" credential badge (mirrors the QuickBooks
   integration hero badge). Dark-hero variant, sits under the eyebrow pill.
   ===================================================================== */
.qb-int-page .procore-cred {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 13px;
    margin: 0 0 20px;
    padding: 9px 14px;
    border-radius: 14px;
    text-decoration: none;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 82, 0, 0.16), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 140, 80, 0.38);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.qb-int-page .procore-cred::before {
    content: "";
    position: absolute;
    top: 0; left: -65%;
    width: 45%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    opacity: 0;
}
.qb-int-page .procore-cred:hover::before { animation: pcShine 0.85s ease; }
@keyframes pcShine {
    0% { left: -65%; opacity: 0; }
    25% { opacity: 1; }
    100% { left: 125%; opacity: 0; }
}
.qb-int-page .procore-cred:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(255, 82, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 140, 80, 0.6);
}
.qb-int-page .pc-logo {
    flex-shrink: 0;
    font-family: Manrope, system-ui, sans-serif;
    font-weight: 800; font-size: 17px; letter-spacing: -0.3px;
    color: #ff5200;
}
.qb-int-page .pc-div { flex-shrink: 0; width: 1px; height: 30px; background: rgba(255, 255, 255, 0.22); }
.qb-int-page .pc-body { display: flex; flex-direction: column; gap: 2px; line-height: 1.15; }
.qb-int-page .pc-eyebrow {
    font-family: Manrope, system-ui, sans-serif;
    font-size: 9.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
    color: #ffb78f;
}
.qb-int-page .pc-title { font-family: Manrope, system-ui, sans-serif; font-size: 13px; font-weight: 700; color: #ffffff; }
.qb-int-page .pc-seal {
    flex-shrink: 0; display: grid; place-items: center;
    width: 32px; height: 32px;
    filter: drop-shadow(0 3px 9px rgba(255, 82, 0, 0.5));
}
.qb-int-page .pc-seal svg { width: 32px; height: 32px; }
