/* Bookhelp Design System — approved reference implementation (home + for-customers).
   Load order: after bookhelp-site.css and bookhelp-approved-branding.css.
   Tokens reuse the existing site palette; contrast checked in BOOKHELP_UX_AUDIT.md. */

.bhm .bhm-eyebrow--blue{color:var(--bhm-blue)!important}
.bhm .bhm-eyebrow--ok{color:#16845b!important}

/* Hero trust chips (factual reassurance, no invented numbers) */
.bhm-hero-chips{display:flex;flex-wrap:wrap;gap:10px 22px;margin:22px 0 0;padding:0;list-style:none}
.bhm-hero-chips span{display:inline-flex;align-items:center;gap:9px;font-size:14px;font-weight:600;color:var(--bhm-ink)}
.bhm-dot-ok,.bhm-dot-blue{display:inline-block;width:18px;height:18px;border-radius:50%;flex:none}
.bhm-dot-ok{background:#16845b}
.bhm-dot-blue{background:var(--bhm-blue)}

/* Visible three-step strip (replaces the collapsed details on home) */
.bhm-work-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin:6px 0 24px;padding:0;list-style:none}
.bhm-work-steps article{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--bhm-line);border-radius:16px;padding:22px 20px}
.bhm-work-number{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--bhm-blue);color:#fff;font-weight:800;font-size:18px;flex:none}
.bhm-work-steps h3{font-size:19px;margin:4px 0 8px}
.bhm-work-steps p{font-size:14.5px;margin:0}

/* Two-sided section: For Customers / For Vendors */
.bhm-duo{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.bhm-duo-card{border-radius:20px;padding:32px;display:flex;flex-direction:column;gap:8px}
.bhm-duo-card h2{font-size:26px;margin:4px 0 10px;letter-spacing:-.4px}
.bhm-duo-card p{font-size:15.5px;margin:0 0 18px}
.bhm-duo-card .bhm-actions{margin:0;gap:10px}
.bhm-duo-blue{background:#eaf0ff;border:1px solid #c7d5f8}
.bhm-duo-green{background:#eaf7f0;border:1px solid #bfe3d0}
.bhm-duo-blue .bhm-duo-eyebrow{color:var(--bhm-blue)}
.bhm-duo-green .bhm-duo-eyebrow{color:#16805d}

/* For Customers page hero + expectation cards */
.bhm-customers-hero{background:linear-gradient(180deg,#fff 0%,#eaf0ff 100%)}
.bhm-customers-hero h1 em{color:var(--bhm-blue)}
.bhm-expect{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.bhm-expect .bhm-light-card{display:flex;flex-direction:column}
.bhm-expect .bhm-light-card p{margin-bottom:0}

/* For-customers account banner secondary buttons on light banner */
.bhm-free-banner .bhm-actions{margin-top:26px;display:flex;flex-wrap:wrap;gap:12px}

/* Inline links on tinted sections need the same dark-blue contrast as the
   scoped details-links (white-blue #255ce6 is too low-contrast on #f3f7fa). */
.bhm .bhm-tinted p>a:link,.bhm .bhm-tinted p>a:visited{color:#174f86!important;text-decoration:underline;text-underline-offset:3px}
.bhm .bhm-tinted p>a:hover,.bhm .bhm-tinted p>a:active{color:#102830!important}
.bhm .bhm-tinted p>a:focus-visible{color:#102830!important;outline:3px solid #174f86;outline-offset:4px;border-radius:2px}

/* Trust strip */
.bhm-trust-strip{border-top:1px solid var(--bhm-line);background:var(--bhm-soft)}
.bhm-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:24px 0;font-size:14px;font-weight:600;color:var(--bhm-muted)}
.bhm-trust-grid span{margin:0}

/* Mobile hamburger trigger: Astra renders it with the white global button colour,
   and its containers collapse at the forced 1199px breakpoint, leaving the control
   invisible. Restore containers and restyle the trigger with approved brand colours;
   keep a 44px+ touch target and a visible focus ring. */
@media(max-width:1199px){
 body.ast-header-break-point #ast-mobile-header .site-header-primary-section-right{display:block!important;visibility:visible!important}
 body.ast-header-break-point #ast-mobile-header [data-section='section-header-mobile-trigger'],body.ast-header-break-point #ast-mobile-header .ast-button-wrap{display:block!important;visibility:visible!important}
 #masthead .main-header-menu-toggle{display:flex!important;align-items:center;justify-content:center;min-height:46px;min-width:46px;padding:12px;background:#1d4ed8!important;color:#fff!important;border:0;border-radius:8px;box-shadow:none;text-decoration:none}
 #masthead .main-header-menu-toggle .ast-mobile-svg{fill:currentColor}
 #masthead .main-header-menu-toggle:hover{background:#173da8!important;color:#fff!important}
 #masthead .main-header-menu-toggle:focus-visible{outline:3px solid #8db4ff;outline-offset:3px}
}

/* Responsive */
@media(max-width:1050px){.bhm-work-steps{grid-template-columns:1fr;gap:18px}.bhm-duo{grid-template-columns:1fr}.bhm-expect{grid-template-columns:1fr;gap:18px}.bhm-trust-grid{grid-template-columns:1fr 1fr;row-gap:14px}}
@media(max-width:780px){.bhm-hero-chips{gap:8px 16px}.bhm-work-steps article{padding:18px 16px}.bhm-duo-card{padding:26px}}
@media(max-width:420px){.bhm-categories h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){.bhm-trust-strip{transition:none}}

