/*
 * Hibabox marketing pages (home, about, products, contact, hibabox-pro, /solutions/*, /features/*).
 * Light, editorial look: white and warm-paper sections, ink text, green reserved for actions and
 * ticks. Brand fonts (Montserrat headings, Open Sans body) and green (#11A25F) are the site's own.
 * The kiosk mock-up has its own stylesheet: hibabox-kiosk.css.
 */

:root {
    --hp-green: #11A25F;
    --hp-green-d: #0c7f4a;
    --hp-green-text: #0D864F; /* AA (4.6:1) for white-on-green buttons and small green text; #11A25F stays for icons/borders/large text */
    --hp-green-l: #11A25F;
    --hp-mint: #eaf5ee;
    --hp-ink: #1c1f23;
    --hp-text: #4a4f57;
    --hp-muted: #666B73; /* was #737880: 4.08:1 on paper, now 4.9:1 (WCAG AA) */
    --hp-line: #e5e2db;
    --hp-paper: #f7f5f0;
    --hp-soft: #f7f5f0;
    --hp-radius: 10px;
    --hp-nav-h: 76px;
}

.hp-page { color: var(--hp-text); background: #fff; overflow-x: clip; }
.hp-page p { font-size: 1rem; line-height: 1.7; }
.hp-page h1, .hp-page h2, .hp-page h3, .hp-page h4 { font-family: 'Montserrat', sans-serif; color: var(--hp-ink); letter-spacing: -.01em; }
.hp-page [id] { scroll-margin-top: calc(var(--hp-nav-h) + 64px); }
.hp-page a:focus-visible, .hp-page button:focus-visible { outline: 3px solid rgba(17, 162, 95, .45); outline-offset: 2px; }
/* No focus ring on mouse clicks (Bootstrap's button:focus outline); keyboard focus keeps the ring above */
.hp-page a:focus:not(:focus-visible), .hp-page button:focus:not(:focus-visible) { outline: none; }

/* ---------- Sections ---------- */
.hp-section { padding: 64px 0; position: relative; }
.hp-section--white { background: #fff; }
.hp-section--soft { background: var(--hp-paper); }
.hp-section + .hp-section--white, .hp-section--white + .hp-section { border-top: 1px solid var(--hp-line); }

.hp-kicker { font-family: 'Montserrat', sans-serif; font-size: .85rem !important; font-weight: 600; color: var(--hp-green-d); margin: 0 0 14px; }
.hp-kicker--caps { text-transform: uppercase; letter-spacing: .08em; }
p.hp-eyebrow { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; color: var(--hp-muted); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
p.hp-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--hp-green); }
.text-center > p.hp-eyebrow, .hp-center > p.hp-eyebrow { justify-content: center; }
.hp-accent { color: var(--hp-green); }
.hp-label { font-family: 'Open Sans', sans-serif; font-size: .78rem !important; font-weight: 700; color: var(--hp-muted) !important; text-transform: uppercase; letter-spacing: .06em; margin: 22px 0 0; }
.hp-h2 { font-size: 1.85rem; font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.hp-h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 18px; }
.hp-lead { font-size: 1.08rem !important; max-width: 680px; color: var(--hp-text); }
.hp-center { text-align: center; }
.hp-section-head { margin-bottom: 28px; }
.hp-section-head .hp-lead { margin-bottom: 0; }
.hp-section-head.hp-center { text-align: left; }
.hp-section-head.hp-center .hp-lead { margin-left: 0; }

/* ---------- Buttons ---------- */
.hp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: 'Montserrat', sans-serif; font-size: .92rem; font-weight: 600;
    padding: 12px 22px; border-radius: 6px; border: 1px solid transparent;
    text-decoration: none !important; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.hp-btn--primary { background: var(--hp-green-text); color: #fff !important; }
.hp-btn--primary:hover { background: var(--hp-green-d); }
.hp-btn--outline, .hp-btn--ghost, .hp-btn--dark, .hp-btn--white { background: #fff; color: var(--hp-ink) !important; border-color: #cfcbc2; }
.hp-btn--outline:hover, .hp-btn--ghost:hover, .hp-btn--dark:hover, .hp-btn--white:hover { border-color: var(--hp-ink); }
.hp-btn--block { display: flex; width: 100%; }
.hp-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hp-link { color: var(--hp-green-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hp-link:hover { color: var(--hp-ink); }
.hp-link i { font-size: .75em; }

/* ---------- Hero ---------- */
.hp-hero { background: var(--hp-paper); border-bottom: 1px solid var(--hp-line); padding: calc(var(--hp-nav-h) + 40px) 0 48px; }
.hp-hero h1 { font-size: 2.6rem; font-weight: 700; line-height: 1.12; margin-bottom: 16px; max-width: 640px; }
.hp-hero p.hp-hero-copy { font-size: 1.08rem; line-height: 1.65; margin-bottom: 24px; max-width: 580px; color: var(--hp-text); }
.hp-hero p.hp-hero-sub { font-family: 'Montserrat', sans-serif; font-size: 1.3rem; font-weight: 700; line-height: 1.35; color: var(--hp-ink); margin-bottom: 16px; max-width: 600px; }
.hp-hero--compact { padding-bottom: 40px; }
.hp-hero--compact h1 { font-size: 2.3rem; }
.hp-hero--home { padding-bottom: 72px; }
.hp-reassure { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 20px 0 0; padding: 0; list-style: none; }
.hp-reassure li { font-size: .88rem; color: var(--hp-muted); display: inline-flex; gap: 6px; align-items: center; }
.hp-reassure i { color: var(--hp-green); font-size: .78rem; }
.hp-center .hp-hero-copy, .hp-center h1 { margin-left: auto; margin-right: auto; }

.hp-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; font-size: .84rem; }
.hp-breadcrumb li { color: var(--hp-muted); }
.hp-breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #b9b5ac; }
.hp-breadcrumb a { color: var(--hp-text); text-decoration: none; }
.hp-breadcrumb a:hover { color: var(--hp-ink); text-decoration: underline; }

.hp-hero-visual { display: flex; justify-content: center; }
.hp-hero-visual--panel { background: #e4f1e9; border-radius: 16px; padding: 28px 24px 20px; }

/* Brand hero (all marketing pages): soft green backdrop, large headline, outlined secondary button (client reference, QA 21.10.26) */
.hp-hero.hp-hero--brand {
    position: relative; overflow: hidden; border-bottom: 0;
    padding: calc(var(--hp-nav-h) + 56px) 0 72px;
    background: radial-gradient(ellipse 50% 70% at 82% 50%, #d6f0df 0%, rgba(214, 240, 223, 0) 70%), linear-gradient(100deg, #fff 0%, #fff 40%, #eef8f2 100%);
}
.hp-hero--brand::before, .hp-hero--brand::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hp-hero--brand::before { right: -10%; bottom: -38%; width: 64%; height: 100%; transform: rotate(-16deg); background: linear-gradient(135deg, rgba(17, 162, 95, .18), rgba(17, 162, 95, .04)); }
.hp-hero--brand::after { left: 36%; bottom: -55%; width: 42%; height: 85%; background: rgba(17, 162, 95, .07); }
.hp-hero--brand .container { position: relative; z-index: 1; }
.hp-hero--brand .hp-kicker--caps { font-size: .95rem !important; font-weight: 800; color: var(--hp-green-text); letter-spacing: .12em; margin-bottom: 18px; }
.hp-hero--brand h1 { font-size: 3.1rem; font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: #0f1a2e; max-width: 720px; margin-bottom: 22px; }
.hp-hero--brand p.hp-hero-sub { font-size: 1.85rem; line-height: 1.22; letter-spacing: -.02em; color: #0f1a2e; margin-bottom: 20px; }
.hp-hero--brand p.hp-hero-copy { font-size: 1.15rem; color: #4b5565; max-width: 600px; margin-bottom: 32px; }
.hp-hero--brand .hp-btn-row { gap: 16px; }
.hp-hero--brand .hp-btn { font-size: 1.05rem; padding: 16px 30px; min-width: 200px; }
.hp-hero--brand .hp-btn--primary i { margin-left: 4px; }
.hp-hero--brand .hp-btn--ghost, .hp-hero--brand .hp-btn--outline { color: var(--hp-green-d) !important; border: 1.5px solid var(--hp-green); }
.hp-hero--brand .hp-btn--ghost:hover, .hp-hero--brand .hp-btn--outline:hover { background: var(--hp-mint); border-color: var(--hp-green-d); }
.hp-hero-visual--pro .hp-kiosk { max-width: 400px; filter: drop-shadow(0 30px 40px rgba(15, 26, 46, .22)); }
.hp-hero--brand .hp-hero-visual--panel { background: none; padding: 0; }
/* Photo hero: full-bleed product photo on the right half, left edge fading into the backdrop */
.hp-hero--photo { min-height: 640px; display: flex; align-items: center; }
.hp-hero--photo::before, .hp-hero--photo::after { display: none; }
.hp-hero--photo .container { width: 100%; }
.hp-hero-photo { position: absolute; top: 50%; right: 15px; width: 58%; aspect-ratio: 1540 / 1021; transform: translateY(-50%); background-size: cover; background-position: center;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .1) 4%, rgba(0, 0, 0, .3) 8%, rgba(0, 0, 0, .58) 12%, rgba(0, 0, 0, .84) 16%, #000 20%, #000 91%, rgba(0, 0, 0, .84) 93%, rgba(0, 0, 0, .58) 95%, rgba(0, 0, 0, .3) 97%, rgba(0, 0, 0, .1) 98.5%, rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .1) 4%, rgba(0, 0, 0, .3) 8%, rgba(0, 0, 0, .58) 12%, rgba(0, 0, 0, .84) 16%, #000 20%, #000 91%, rgba(0, 0, 0, .84) 93%, rgba(0, 0, 0, .58) 95%, rgba(0, 0, 0, .3) 97%, rgba(0, 0, 0, .1) 98.5%, rgba(0, 0, 0, 0) 100%); }
/* Photos with content close to the left edge (home: Lite tablet) — shorter left fade */
.hp-hero-photo--edge { -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .35) 2%, rgba(0, 0, 0, .75) 4%, #000 6%, #000 93%, rgba(0, 0, 0, .84) 94.5%, rgba(0, 0, 0, .5) 96.5%, rgba(0, 0, 0, .15) 98.5%, rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .35) 2%, rgba(0, 0, 0, .75) 4%, #000 6%, #000 93%, rgba(0, 0, 0, .84) 94.5%, rgba(0, 0, 0, .5) 96.5%, rgba(0, 0, 0, .15) 98.5%, rgba(0, 0, 0, 0) 100%); }
.hp-hero-photo-img { width: 100%; border-radius: 14px; display: block; box-shadow: 0 24px 50px rgba(15, 26, 46, .16); }
.hp-hero-visual--img img { width: 100%; max-width: 420px; display: block; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(15, 26, 46, .2)); }
/* Light cross-sell strip under a hero (e.g. Lite → Pro) */
.hp-upsell-strip { background: #fff; border-top: 1px solid var(--hp-line); border-bottom: 1px solid var(--hp-line); padding: 22px 0; }
.hp-upsell-strip img { width: 100%; max-width: 90px; display: block; }
.hp-upsell-strip p.hp-upsell-title { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--hp-ink); font-size: 1.05rem; margin: 0 0 4px; }
.hp-upsell-strip p.hp-upsell-copy { color: var(--hp-text); font-size: .92rem; margin: 0; }
.hp-hero--brand .hp-hero-visual--panel .hp-kiosk { filter: drop-shadow(0 30px 40px rgba(15, 26, 46, .22)); }
.hp-hero--brand .hp-hero-stage { background: none; overflow: visible; }
.hp-hero--brand .hp-hero-stage::after { left: 8%; right: 8%; bottom: 3%; height: 8%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(15, 26, 46, .14), rgba(15, 26, 46, 0) 70%); }
.hp-hero--brand .hp-breadcrumb a { color: var(--hp-green-d); }
.hp-hero--brand.hp-hero--compact h1 { font-size: 2.7rem; }
.hp-hero--brand.hp-hero--compact { padding-bottom: 56px; }
/* Centred compact heroes (contact, products): balance the backdrop on both sides */
.hp-hero--brand.hp-hero--centered { background: radial-gradient(ellipse 45% 80% at 100% 60%, #d6f0df 0%, rgba(214, 240, 223, 0) 70%), radial-gradient(ellipse 35% 70% at 0% 100%, #e3f5ea 0%, rgba(227, 245, 234, 0) 70%), #fff; }
.hp-hero--brand.hp-hero--centered::before { right: -18%; bottom: -60%; width: 48%; height: 120%; }
.hp-hero--brand.hp-hero--centered::after { left: -12%; bottom: -70%; width: 34%; height: 110%; }
.hp-hero--brand.hp-hero--centered h1 { margin-left: auto; margin-right: auto; }

/* Home hero: both devices */
.hp-hero-devices { position: relative; min-height: 500px; display: flex; align-items: flex-end; justify-content: center; margin: 24px 0 0; }
.hp-hero-devices .hp-dev-pro { width: 58%; max-width: 310px; margin-left: 24%; filter: drop-shadow(0 18px 30px rgba(28, 31, 35, .18)); }
.hp-hero-devices .hp-dev-lite { position: absolute; left: 2%; bottom: 34px; width: 46%; max-width: 260px; filter: drop-shadow(0 14px 24px rgba(28, 31, 35, .2)); }
.hp-hero-devices figcaption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: .82rem; color: var(--hp-muted); }

/* Home hero: split layout, devices staged on a flat brand panel */
.hp-hero--split { background: #fff; border-bottom: 0; padding-bottom: 40px; }
.hp-hero-stage { position: relative; height: 470px; border-radius: 16px; background: #e4f1e9; overflow: hidden; }
.hp-hero-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: #d6eadd; }
/* Fallback stage (used when no hero photo): landscape Pro kiosk behind, Lite in front */
.hp-stage-pro { position: absolute; z-index: 1; right: 4%; top: 14%; width: 86%; height: auto; filter: drop-shadow(0 16px 22px rgba(20, 60, 38, .22)); }
.hp-stage-lite { position: absolute; z-index: 2; left: 5%; bottom: 7%; width: 34%; height: auto; filter: drop-shadow(0 14px 18px rgba(20, 60, 38, .25)); }
.hp-hero-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; max-width: 560px; }
.hp-hero-picks a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); text-decoration: none !important; color: var(--hp-ink); transition: border-color .15s; }
.hp-hero-picks a:hover { border-color: var(--hp-green); }
.hp-hero-picks img { width: 44px; height: 52px; object-fit: contain; flex: 0 0 44px; }
.hp-hero-picks b { display: flex; align-items: center; gap: 6px; font-family: 'Montserrat', sans-serif; font-size: .92rem; }
.hp-hero-picks small { display: block; font-size: .8rem; color: var(--hp-muted); line-height: 1.35; margin-top: 2px; }

.hp-details { margin-top: 24px; border-top: 1px solid var(--hp-line); }
.hp-details summary { cursor: pointer; padding: 16px 0; font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--hp-ink); list-style: none; display: flex; align-items: center; gap: 8px; }
.hp-details summary::-webkit-details-marker { display: none; }
.hp-details summary::before { content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid #cfcbc2; border-radius: 4px; font-weight: 600; color: var(--hp-green-d); }
.hp-details[open] summary::before { content: "\2212"; }
.hp-details summary:hover { color: var(--hp-green-d); }

/* ---------- Sticky section nav ---------- */
.hp-subnav { position: sticky; top: var(--hp-nav-h); z-index: 1020; background: #fff; border-bottom: 1px solid var(--hp-line); }
.hp-subnav .container { display: flex; align-items: center; gap: 10px; }
.hp-subnav-title { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--hp-ink); font-size: .92rem; white-space: nowrap; margin-right: 12px; }
.hp-subnav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; flex: 1; }
.hp-subnav ul::-webkit-scrollbar { display: none; }
.hp-subnav a.hp-subnav-link { display: block; padding: 15px 12px; white-space: nowrap; font-size: .88rem; color: var(--hp-muted); text-decoration: none; border-bottom: 2px solid transparent; }
.hp-subnav a.hp-subnav-link:hover { color: var(--hp-ink); }
.hp-subnav a.hp-subnav-link.is-active { color: var(--hp-ink); border-bottom-color: var(--hp-green); }
.hp-subnav .hp-btn { padding: 8px 16px; font-size: .84rem; white-space: nowrap; }

/* ---------- Icons: small and plain (no tiles) ---------- */
.hp-ico { display: inline-block; color: var(--hp-green); font-size: 1.15rem; line-height: 1; margin-bottom: 4px; }

/* ---------- Benefit strip (Pro page) ---------- */
.hp-benefits { background: #fff; padding: 36px 0; border-bottom: 1px solid var(--hp-line); }
.hp-benefits .container { padding-top: 0 !important; }
.hp-benefit-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.hp-benefit { padding: 4px 22px; }
.hp-benefit + .hp-benefit { border-left: 1px solid var(--hp-line); }
.hp-benefit:first-child { padding-left: 0; }
.hp-benefit h3 { font-size: .98rem; font-weight: 700; margin: 12px 0 6px; }
.hp-benefit p { font-size: .9rem !important; line-height: 1.6; margin: 0; color: var(--hp-muted); }

/* ---------- Outcomes (Pro page) ---------- */
.hp-outcome-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--hp-line); }
.hp-outcome { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--hp-line); }
.hp-outcome:nth-child(odd) { padding-right: 32px; }
.hp-outcome:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--hp-line); }
.hp-outcome h3 { font-size: 1.08rem; font-weight: 700; margin: 10px 0 6px; }
.hp-outcome p { margin: 0; font-size: .95rem !important; }

/* ---------- Tabs (underline style) ---------- */
.hp-tablist { display: flex; flex-wrap: wrap; gap: 4px 26px; border-bottom: 1px solid var(--hp-line); margin-bottom: 28px; padding: 0; }
.hp-tab {
    display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; border-bottom: 2px solid transparent;
    margin-bottom: -1px; padding: 12px 0; cursor: pointer; color: var(--hp-muted);
    font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .92rem;
}
.hp-tab i { font-size: .85em; }
.hp-tab:hover { color: var(--hp-ink); }
.hp-tab[aria-selected="true"] { color: var(--hp-ink); border-bottom-color: var(--hp-green); }
.hp-tab[aria-selected="true"] i { color: var(--hp-green); }

.hp-panel { display: none; }
.hp-panel.is-active { display: block; }
.hp-acc-trigger { display: none; }
.hp-panel-card { padding: 0; }
.hp-panel-card h3 { font-size: 1.6rem; font-weight: 700; line-height: 1.25; margin-bottom: 14px; }

.hp-checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.hp-checks--single { grid-template-columns: 1fr; }
.hp-checks li { position: relative; padding-left: 24px; font-size: .95rem; line-height: 1.55; color: var(--hp-text); }
.hp-checks li::before {
    content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3L13 4.5' fill='none' stroke='%2311A25F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.hp-note { margin-top: 24px; padding: 14px 16px; border-left: 3px solid var(--hp-green); background: var(--hp-paper); font-size: .92rem; line-height: 1.6; display: flex; gap: 10px; }
.hp-section--soft .hp-note { background: #fff; }
.hp-note i { color: var(--hp-green); margin-top: 4px; }

.hp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.hp-chips li { font-size: .84rem; padding: 4px 10px; border-radius: 4px; background: var(--chip-bg, #fff); color: var(--chip-fg, var(--hp-ink)); border: 1px solid var(--hp-line); }

/* ---------- How it works ---------- */
.hp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; border-top: 1px solid var(--hp-line); padding-top: 22px; }
.hp-step-num { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--hp-green-d); font-size: .95rem; margin-bottom: 10px; }
.hp-step h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.hp-step p { font-size: .95rem !important; margin: 0; }

.hp-sync { display: grid; grid-template-columns: 1.3fr auto .7fr; align-items: center; gap: 28px; margin-top: 40px; }
.hp-sync-arrow { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--hp-muted); font-size: .82rem; }
.hp-sync-arrow .hp-sync-line { width: 90px; height: 1px; background: #b9b5ac; position: relative; }
.hp-sync-arrow .hp-sync-line::after { content: ""; position: absolute; right: -1px; top: -4px; border-left: 7px solid #b9b5ac; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.hp-sync-dot { display: none; }
.hp-sync-cloud { color: var(--hp-green); font-size: 1.3rem; }

.hp-laptop { width: 100%; max-width: 560px; margin: 0 auto; }
.hp-laptop-screen { background: #2a2d32; border-radius: 12px 12px 0 0; padding: 10px; }
.hp-laptop-base { height: 12px; margin: 0 -6%; background: #d4d1ca; border-radius: 0 0 12px 12px; }
.hp-dash { background: #f3f4f6; border-radius: 4px; display: grid; grid-template-columns: 22% 1fr; min-height: 300px; overflow: hidden; font-size: 10px; }
.hp-dash-side { background: #23262b; padding: 12px 10px; display: flex; flex-direction: column; gap: 7px; }
.hp-dash-side .hp-dash-logo { color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 11px; margin-bottom: 8px; }
.hp-dash-side .hp-dash-logo b { color: #4ade80; }
.hp-dash-side span { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .55); padding: 5px 6px; border-radius: 4px; font-size: 9.5px; }
.hp-dash-side span.on { background: rgba(17, 162, 95, .25); color: #fff; }
.hp-dash-main { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.hp-dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hp-dash-kpi { background: #fff; border-radius: 4px; padding: 8px; }
.hp-dash-kpi small { color: var(--hp-muted); font-size: 8.5px; display: block; }
.hp-dash-kpi b { color: var(--hp-ink); font-family: 'Montserrat', sans-serif; font-size: 13px; }
.hp-dash-kpi em { color: var(--hp-green); font-style: normal; font-size: 8.5px; font-weight: 700; }
.hp-dash-chart { background: #fff; border-radius: 4px; padding: 10px; display: flex; align-items: flex-end; gap: 5px; height: 92px; }
.hp-dash-chart i { flex: 1; background: var(--hp-green); border-radius: 2px 2px 0 0; opacity: .85; }
.hp-dash-rows { background: #fff; border-radius: 4px; padding: 6px 10px; }
.hp-dash-rows div { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid #f3f4f6; color: #374151; }
.hp-dash-rows div:last-child { border: 0; }
.hp-dash-pill { font-size: 8px; padding: 2px 7px; border-radius: 3px; background: var(--hp-mint); color: var(--hp-green-d); font-weight: 700; }

/* ---------- Stripe / trust ---------- */
.hp-trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin-top: 24px; border-top: 1px solid var(--hp-line); }
.hp-trust { display: flex; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--hp-line); }
.hp-trust .hp-ico { font-size: .95rem; width: 18px; flex: 0 0 18px; text-align: center; }
.hp-trust h3 { font-family: 'Open Sans', sans-serif; font-size: .95rem; font-weight: 600; margin: 0; }
.hp-trust p { font-size: .88rem !important; margin: 4px 0 0; }
.hp-smallprint { font-size: .84rem !important; color: var(--hp-muted) !important; margin-top: 18px; }
.hp-reader-stage { display: grid; place-items: center; min-height: 400px; }
.hp-reader-stage .hp-reader { width: 190px; }

/* ---------- Pricing ---------- */
.hp-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.hp-price { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); padding: 24px 24px; }
.hp-price--featured { border: 2px solid var(--hp-green); }
.hp-price-badge { position: absolute; top: -11px; left: 24px; background: var(--hp-green-text); color: #fff; font-family: 'Montserrat', sans-serif; font-size: .74rem; font-weight: 600; padding: 3px 10px; border-radius: 4px; }
.hp-price-badge--offer { background: var(--hp-ink); }
.hp-price-kind { font-size: .82rem; font-weight: 600; color: var(--hp-muted); margin-bottom: 4px; }
.hp-price h3 { font-size: 1.3rem; font-weight: 700; margin: 0 0 6px; }
.hp-price-tag { font-size: .92rem !important; margin: 0 0 14px; }
.hp-price-amount { font-family: 'Montserrat', sans-serif; font-size: 2.3rem; font-weight: 700; color: var(--hp-ink); line-height: 1; }
.hp-price-amount small { font-size: .9rem; font-weight: 500; color: var(--hp-muted); }
.hp-price-was { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; color: var(--hp-muted); text-decoration: line-through; margin-right: 8px; }
.hp-price-vat { display: block; font-size: .82rem; color: var(--hp-muted); margin-top: 8px; }
.hp-price .hp-checks { margin: 16px 0 20px; flex: 1; align-content: start; }
.hp-price-note { font-size: .85rem; color: var(--hp-muted); margin: -10px 0 18px; }
.hp-support-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 20px; font-size: .92rem; color: var(--hp-text); }
.hp-support-line span { display: inline-flex; align-items: center; gap: 8px; }
.hp-support-line i { color: var(--hp-green); }

/* ---------- FAQ ---------- */
.hp-faq { border-top: 1px solid var(--hp-line); }
.hp-faq-item { border-bottom: 1px solid var(--hp-line); }
.hp-faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; background: none; border: 0; padding: 18px 0; text-align: left; cursor: pointer; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1rem; color: var(--hp-ink); }
.hp-faq-q:hover { color: var(--hp-green-d); }
.hp-faq-q .hp-faq-ico { flex: 0 0 auto; transition: transform .2s; font-size: .8rem; color: var(--hp-muted); }
.hp-faq-q[aria-expanded="true"] .hp-faq-ico { transform: rotate(45deg); }
.hp-faq-a { padding: 0 40px 18px 0; }
.hp-faq-a p { margin: 0; font-size: .98rem !important; }
.hp-faq-side { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hp-line); }
.hp-faq-side h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.hp-faq-side p { font-size: .95rem !important; }

/* ---------- Closing CTA ---------- */
.hp-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.hp-cta .hp-h2 { margin-bottom: 12px; }
.hp-cta p { max-width: 560px; margin-bottom: 8px; }
.hp-cta-reassure { font-size: .9rem !important; color: var(--hp-muted); }
.hp-cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; max-width: 320px; justify-self: end; width: 100%; }
.hp-cta-contact { margin: 6px 0 0 !important; font-size: .9rem !important; text-align: center; }
.hp-cta-contact a { color: var(--hp-green-d); font-weight: 600; }

/* ---------- Generic cards (ruled list style) ---------- */
.hp-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: 1px solid var(--hp-line); }
.hp-card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.hp-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hp-card { padding: 24px 0; border-bottom: 1px solid var(--hp-line); }
.hp-card h3 { font-size: 1.05rem; font-weight: 700; margin: 10px 0 6px; }
.hp-card p { font-size: .95rem !important; margin: 0; }
a.hp-card { display: block; color: inherit; }
a.hp-card:hover h3 { color: var(--hp-green-d); text-decoration: underline; }
.hp-card .hp-link { display: inline-block; margin-top: 12px; }
.row > [class*="col-"] > .hp-card { border: 1px solid var(--hp-line); border-radius: var(--hp-radius); padding: 24px; background: #fff; }

.hp-answer { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--hp-line); border-left: 3px solid var(--hp-green); border-radius: 6px; padding: 20px 22px; }
.hp-answer strong { display: block; font-family: 'Montserrat', sans-serif; color: var(--hp-ink); font-size: .9rem; margin-bottom: 4px; }
.hp-answer p { margin: 0; color: var(--hp-ink); }

.hp-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 28px; border-top: 1px solid var(--hp-line); }
.hp-related a { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--hp-line); text-decoration: none; color: var(--hp-ink); font-weight: 600; font-size: .95rem; }
.hp-related a:hover { color: var(--hp-green-d); text-decoration: underline; }
.hp-related a i { color: var(--hp-muted) !important; width: 16px; text-align: center; font-size: .85rem; }
.hp-related a small { display: block; font-weight: 400; font-size: .84rem; color: var(--hp-muted); }

.hp-lite-strip { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 18px 0 0; margin-top: 24px; border-top: 1px solid var(--hp-line); }
.hp-lite-strip img { width: 60px; }
.hp-lite-strip div { flex: 1; min-width: 220px; }
.hp-lite-strip h3 { font-size: 1rem; font-weight: 700; margin: 0 0 2px; }
.hp-lite-strip p { margin: 0; font-size: .92rem !important; }

/* ---------- Devices (home, about) ---------- */
.hp-device-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hp-device { display: flex; flex-direction: column; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); background: #fff; overflow: hidden; }
/* Device images are transparent cut-outs (Pro landscape kiosk + reader, Lite tablet + reader), centred with a soft shadow */
.hp-device-media { height: 280px; display: flex; align-items: center; justify-content: center; padding: 26px 28px; background: var(--hp-paper); border-bottom: 1px solid var(--hp-line); }
.hp-device-media img { max-height: 100%; width: auto; max-width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 14px 20px rgba(28, 31, 35, .16)) drop-shadow(0 2px 4px rgba(28, 31, 35, .10)); }
.hp-device-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.hp-device h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 2px; display: flex; align-items: center; gap: 10px; }
.hp-device-sub { color: var(--hp-muted); font-size: .92rem !important; margin-bottom: 12px; }
.hp-device .hp-checks { margin: 4px 0 20px; flex: 1; align-content: start; }
.hp-device-best { font-size: .9rem !important; color: var(--hp-muted); margin: 0 0 18px !important; }
.hp-new { font-family: 'Open Sans', sans-serif; font-size: .72rem; font-weight: 700; color: var(--hp-green-d); border: 1px solid currentColor; border-radius: 3px; padding: 1px 6px; letter-spacing: .02em; }

/* ---------- Comparison table ---------- */
.hp-compare-wrap { overflow-x: auto; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); background: #fff; }
.hp-compare { width: 100%; min-width: 560px; border-collapse: collapse; }
.hp-compare th, .hp-compare td { padding: 9px 18px; text-align: left; border-bottom: 1px solid #efece6; font-size: .93rem; vertical-align: middle; }
.hp-compare thead th { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--hp-ink); background: var(--hp-paper); border-bottom: 1px solid var(--hp-line); }
.hp-compare thead th small { display: block; font-weight: 400; color: var(--hp-muted); font-size: .8rem; font-family: 'Open Sans', sans-serif; }
.hp-compare th[scope="row"] { font-weight: 400; color: var(--hp-ink); font-family: 'Open Sans', sans-serif; }
.hp-compare td { color: var(--hp-text); text-align: center; width: 28%; }
.hp-compare thead th:not(:first-child) { text-align: center; }
.hp-compare tr:last-child th, .hp-compare tr:last-child td { border-bottom: 0; }
.hp-yes { color: var(--hp-green); }
.hp-no { color: #c9c5bc; }

/* ---------- Logos ---------- */
.hp-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 32px; align-items: center; list-style: none; margin: 0; padding: 0; }
.hp-logos img { height: 56px; width: 100%; object-fit: contain; filter: grayscale(100%); opacity: .75; mix-blend-mode: multiply; }

/* ---------- Dashboard modules ---------- */
.hp-module { display: flex; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--hp-line); }  /* plain points: no link or hover styling */
.hp-module .hp-ico { font-size: .95rem; width: 18px; text-align: center; }
.hp-module h3 { font-size: .98rem; font-weight: 700; margin: 0 0 2px; color: var(--hp-ink); }
.hp-module p { font-size: .9rem !important; margin: 0; color: var(--hp-text); line-height: 1.55; }
.hp-screenshot { width: 100%; height: auto; }

/* ---------- Sectors ---------- */
.hp-sector-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.hp-sector { display: block; text-decoration: none !important; color: inherit; }
/* Landscape Pro kiosk (screen + reader) themed per faith, centred in the card */
.hp-sector-media { height: 150px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 16px 14px; background: var(--hp-paper); border: 1px solid var(--hp-line); border-radius: var(--hp-radius); transition: border-color .2s; }
.hp-section--soft .hp-sector-media { background: #fff; }
.hp-sector-media img { width: auto; height: auto; max-width: 100%; max-height: 100%; filter: drop-shadow(0 8px 12px rgba(28, 31, 35, .16)); transition: transform .25s ease; }
.hp-sector:hover .hp-sector-media { border-color: #cfcbc2; }
.hp-sector:hover .hp-sector-media img { transform: scale(1.04); }
.hp-sector h3 { font-size: 1rem; font-weight: 700; margin: 14px 0 4px; color: var(--hp-ink); }
.hp-sector:hover h3 { color: var(--hp-green-d); text-decoration: underline; }
.hp-sector p { font-size: .88rem !important; color: var(--hp-muted); margin: 0; line-height: 1.5; }

/* ---------- Quotes ---------- */
.hp-quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--hp-line); padding-top: 24px; }
.hp-quote { margin: 0; }
.hp-quote blockquote { margin: 0 0 14px; font-size: 1.02rem; line-height: 1.7; color: var(--hp-ink); }
.hp-quote figcaption { font-size: .88rem; color: var(--hp-muted); }
.hp-quote figcaption b { color: var(--hp-ink); font-weight: 600; }

/* ---------- About ---------- */
.hp-story-img { width: 100%; height: auto; border-radius: var(--hp-radius); aspect-ratio: 4 / 5; object-fit: cover; }
.hp-timeline { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--hp-line); }
.hp-timeline li { padding: 14px 0; border-bottom: 1px solid var(--hp-line); }
.hp-timeline b { display: block; font-family: 'Montserrat', sans-serif; color: var(--hp-ink); font-size: .98rem; margin-bottom: 2px; }
.hp-timeline span { font-size: .95rem; }

/* ---------- Contact ---------- */
.hp-contact-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--hp-radius); background: #fff; border: 1px solid var(--hp-line); text-decoration: none !important; height: 100%; }
.hp-contact-card:hover { border-color: #b9b5ac; }
.hp-contact-card h3 { font-size: 1.05rem; font-weight: 700; margin: 6px 0 0; color: var(--hp-ink); }
.hp-contact-card p { margin: 0; font-size: .95rem !important; color: var(--hp-text); }
.hp-contact-card strong { font-weight: 600; color: var(--hp-green-d); margin-top: 6px; }

/* ---------- Mobile sticky CTA ---------- */
.hp-mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: none; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--hp-line); transform: translateY(110%); transition: transform .25s ease; }
.hp-mobile-cta.is-visible { transform: none; }

/* ---------- Home (QA 01.11.26) ---------- */
/* Hero photo is a real <img> (not a CSS background) at every width: below lg it sits under the copy,
   from lg it bleeds to the right edge behind the text column with soft faded edges. */
.hp-home-hero-media img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 50px rgba(15, 26, 46, .16); }
.hp-home-hero-text .hp-link { white-space: nowrap; }
.hp-home-note { font-size: .9rem !important; color: var(--hp-muted); margin: 20px 0 0; }
.hp-home-quotes { margin-top: 56px; }
@media (min-width: 992px) {
    .hp-hero--photo .hp-home-hero-row { position: relative; }
    .hp-hero--photo .hp-home-hero-text { z-index: 1; }
    .hp-hero--photo .hp-home-hero-media-col { position: static; }
    .hp-hero--photo .hp-home-hero-media { position: absolute; top: 50%; right: 15px; width: 58%; transform: translateY(-50%); z-index: 0; pointer-events: none; }
    .hp-hero--photo .hp-home-hero-media img { border-radius: 0; box-shadow: none;
        -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .35) 2%, rgba(0, 0, 0, .75) 4%, #000 6%, #000 93%, rgba(0, 0, 0, .84) 94.5%, rgba(0, 0, 0, .5) 96.5%, rgba(0, 0, 0, .15) 98.5%, rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .35) 2%, rgba(0, 0, 0, .75) 4%, #000 6%, #000 93%, rgba(0, 0, 0, .84) 94.5%, rgba(0, 0, 0, .5) 96.5%, rgba(0, 0, 0, .15) 98.5%, rgba(0, 0, 0, 0) 100%); }
}
@media (max-width: 991px) {
    /* style.css centres every h1/p below 992px; keep the home page left-aligned like its buttons */
    .hp-home h1, .hp-home h2, .hp-home h3, .hp-home p { text-align: left; }
    .hp-home-hero-media { margin-top: 32px; }
    .hp-home-quotes { margin-top: 40px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .hp-sector-grid { grid-template-columns: repeat(3, 1fr); }
    .hp-benefit-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
    .hp-benefit:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 991px) {
    .hp-hero--brand h1, .hp-hero--brand.hp-hero--compact h1 { font-size: 2.4rem; }
    .hp-hero--photo { min-height: 0; display: block; }
    .hp-hero--brand p.hp-hero-sub { font-size: 1.5rem; }
    .hp-hero--brand::before { width: 90%; height: 60%; bottom: -20%; }
    .hp-hero--brand::after { display: none; }
    :root { --hp-nav-h: 66px; }
    .hp-section { padding: 48px 0; }
    .hp-hero h1 { font-size: 2.2rem; }
    .hp-hero--compact h1 { font-size: 2rem; }
    .hp-hero-visual { margin-top: 40px; }
    .hp-h2 { font-size: 1.7rem; }
    .hp-price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .hp-card-grid, .hp-card-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .hp-steps { grid-template-columns: repeat(2, 1fr); }
    .hp-sync { grid-template-columns: 1fr; justify-items: center; }
    .hp-sync-arrow { transform: rotate(90deg); margin: 10px 0; }
    .hp-subnav-title { display: none; }
    .hp-cta { grid-template-columns: 1fr; gap: 24px; }
    .hp-cta-actions { justify-self: start; }
    .hp-hero-devices { min-height: 420px; max-width: 460px; margin: 32px auto 0; }
    .hp-hero-stage { height: 400px; margin-top: 28px; }
    .hp-device-grid, .hp-quote-grid { grid-template-columns: 1fr; }
    .hp-logos { grid-template-columns: repeat(4, 1fr); }

    /* Tabs become an accordion */
    .hp-tabs--acc .hp-tablist { display: none; }
    .hp-tabs--acc .hp-panel { display: block; border-top: 1px solid var(--hp-line); }
    .hp-tabs--acc .hp-panel:last-child { border-bottom: 1px solid var(--hp-line); }
    .hp-tabs--acc .hp-acc-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; background: none; border: 0; color: var(--hp-ink); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1rem; padding: 16px 0; text-align: left; cursor: pointer; }
    .hp-tabs--acc .hp-acc-trigger span { display: inline-flex; align-items: center; gap: 10px; }
    .hp-tabs--acc .hp-acc-trigger span i { color: var(--hp-green); }
    .hp-tabs--acc .hp-acc-trigger i.hp-acc-chev { transition: transform .2s; color: var(--hp-muted); }
    .hp-tabs--acc .hp-acc-trigger[aria-expanded="true"] i.hp-acc-chev { transform: rotate(180deg); }
    .hp-tabs--acc .hp-panel-body { display: none; padding-bottom: 28px; }
    .hp-tabs--acc .hp-panel.is-open .hp-panel-body { display: block; }
}
@media (max-width: 767px) {
    .hp-hero.hp-hero--brand { padding-top: calc(var(--hp-nav-h) + 28px); padding-bottom: 40px; }
    .hp-hero--brand h1, .hp-hero--brand.hp-hero--compact h1 { font-size: 2.05rem; }
    .hp-hero--brand p.hp-hero-sub { font-size: 1.25rem; }
    .hp-hero--brand p.hp-hero-copy { font-size: 1.02rem; }
    .hp-hero--brand .hp-btn { flex: 1 1 100%; min-width: 0; }
    .hp-hero { padding-top: calc(var(--hp-nav-h) + 24px); padding-bottom: 32px; }
    .hp-section { padding: 40px 0; }
    .hp-hero h1 { font-size: 1.85rem; }
    .hp-hero--compact h1 { font-size: 1.7rem; }
    .hp-page h1, .hp-page h2, .hp-page h3, .hp-page p, .hp-hero p.hp-hero-copy { text-align: left; }
    .hp-center, .hp-center h1, .hp-center p { text-align: left !important; }
    .hp-btn-row { justify-content: flex-start !important; }
    .hp-breadcrumb { justify-content: flex-start !important; }
    .hp-benefit-grid { grid-template-columns: 1fr 1fr; }
    .hp-benefit, .hp-benefit + .hp-benefit { border-left: 0; padding-left: 0; }
    .hp-outcome-grid, .hp-card-grid, .hp-card-grid--4, .hp-card-grid--2, .hp-trust-grid { grid-template-columns: 1fr; }
    .hp-outcome:nth-child(even) { padding-left: 0; border-left: 0; }
    .hp-checks { grid-template-columns: 1fr; }
    .hp-steps { grid-template-columns: 1fr; }
    .hp-btn-row .hp-btn { flex: 1 1 100%; }
    .hp-mobile-cta { display: block; }
    .hp-subnav .hp-btn { display: none; }
    .hp-faq-a { padding-right: 0; }
    .hp-sector-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-sector-media { height: 140px; }
    .hp-device-media { height: 240px; padding: 22px; }
    .hp-device-body { padding: 22px; }
    .hp-hero-devices { min-height: 360px; }
    .hp-hero-stage { height: 320px; }
    .hp-hero-picks { grid-template-columns: 1fr; }
    .hp-logos { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .hp-cta-actions { max-width: none; }
    .hp-page ~ .callback-btn { display: none; }
}
@media (max-width: 575px) {
    .hp-home-hero-text .hp-link { white-space: normal; }
    .hp-logos { grid-template-columns: repeat(2, 1fr); }
    .hp-sector-grid { gap: 16px; }
    .hp-sector-media { height: 120px; padding: 12px 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .hp-faq-ico, .hp-acc-chev { transition: none !important; }
}

/* Real kiosk screenshots (device frame cut-outs) on the Pro page feature + community tabs */
.hp-device-shot { display: block; width: 100%; height: auto; max-width: 620px; margin: 0 auto; filter: drop-shadow(0 18px 28px rgba(15, 26, 46, .18)); }
@media (min-width: 992px) { .hp-sync--real { grid-template-columns: 1.15fr auto 1fr; } }
.hp-laptop-shot { display: block; width: 100%; height: auto; border-radius: 4px; }
.hp-sync-kiosk { max-width: 420px; }
.hp-device-shot--hero { max-width: 100%; }

/* ---------- Legal pages (privacy policy, terms) ---------- */
.legal-switch { display: inline-flex; gap: 4px; margin-top: 22px; padding: 4px; background: #fff; border: 1px solid var(--hp-line); border-radius: 999px; box-shadow: 0 6px 18px rgba(15,26,46,.06); }
.legal-switch a { padding: 8px 18px; border-radius: 999px; font-family: 'Montserrat', sans-serif; font-size: .85rem; font-weight: 700; color: var(--hp-ink); text-decoration: none; }
.legal-switch a:hover { background: var(--hp-mint); color: var(--hp-green-d); text-decoration: none; }
.legal-switch a[aria-current="page"] { background: var(--hp-green-text); color: #fff; }
.legal-toc { position: sticky; top: calc(var(--hp-nav-h) + 24px); max-height: calc(100vh - var(--hp-nav-h) - 48px); overflow-y: auto; padding-right: 8px; }
.legal-toc-title { font-family: 'Montserrat', sans-serif; font-size: .78rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--hp-muted); margin: 0 0 10px !important; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--hp-line); }
.legal-toc li a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: .82rem; line-height: 1.4; color: var(--hp-text); text-decoration: none; }
.legal-toc li a:hover { color: var(--hp-green-d); border-left-color: var(--hp-green); text-decoration: none; }
.legal-toc-mobile { border: 1px solid var(--hp-line); border-radius: var(--hp-radius); padding: 14px 18px; margin-bottom: 32px; background: var(--hp-paper); }
.legal-toc-mobile summary { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--hp-ink); cursor: pointer; }
.legal-toc-mobile .legal-toc { position: static; max-height: 50vh; margin-top: 12px; }
.legal-body a { color: var(--hp-green-d); font-weight: 600; }
@media (max-width: 767px) { .legal-switch { display: flex; } .legal-switch a { flex: 1; text-align: center; padding: 8px 10px; } }
.legal-toc-mobile .legal-toc-title { display: none; }

/* Designed hero scenes (Lite, Hardware, Add-ons): no card or shadow — all four edges fade into the mint hero background */
.hp-hero-photo--soft {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 92%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 6%, #000 92%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 92%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 6%, #000 92%, transparent 100%);
    mask-composite: intersect;
}
.hp-hero-photo-img.hp-hero-photo--soft { height: auto; border-radius: 0; box-shadow: none; }

/* Skip link (site-wide, layouts/app.blade.php) — hidden until focused with the keyboard */
.hb-skip-link { position: fixed; left: 16px; top: -60px; z-index: 10000; padding: 10px 18px; border-radius: 8px; background: #0f1a2e; color: #fff !important; font-weight: 700; text-decoration: none; transition: top .15s; }
.hb-skip-link:focus { top: 12px; outline: 3px solid rgba(17, 162, 95, .6); outline-offset: 2px; }
#main-content:focus { outline: none; }

/* Comparison tables on phones: fit the screen instead of a 560px min-width that hid the last column behind a scroll */
@media (max-width: 575.98px) {
    .hp-compare { min-width: 0; }
    .hp-compare th, .hp-compare td { padding: 8px 6px; font-size: .78rem; line-height: 1.35; }
    .hp-compare th[scope="row"], .hp-compare thead th:first-child { padding-left: 10px; }
    .hp-compare td { width: auto; }
    .hp-compare thead th { font-size: .78rem; }
    .hp-compare th[scope="row"] { width: 34%; }
}

/* Organisation pages (/solutions/*): hero kiosk cut-out, same image as the homepage community card */
.hp-sol-hero-img { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; filter: drop-shadow(0 24px 34px rgba(15, 26, 46, .2)); }
@media (max-width: 991.98px) { .hp-sol-hero-img { max-width: 520px; margin-top: 32px; } }
