/* Shared marketing sections (inc/sections.php, bx- classes), loaded on every public page after
   site-header.css. Built on the site's own palette and typeface (the --bz- tokens and Plus Jakarta Sans
   from site-header.css): purple, cream, lavender and ink, with the light yellow used only as a small
   highlight, as elsewhere on the site. brand.js adds the motion. */
:root {
    --bx-ink: var(--bz-ink, #1f1a2e);
    --bx-ink-2: #2c2540;
    --bx-purple: var(--bz-purple, #6e42d3);
    --bx-purple-dark: var(--bz-purple-dark, #5530b0);
    --bx-purple-soft: #b79cf0;
    --bx-yellow: #ffe08a;
    --bx-lilac: var(--bz-lavender, #f1ebfb);
    --bx-ground: var(--bz-cream, #fbf7f1);
    --bx-line: var(--bz-line, #ebe3d6);
    --bx-line-soft: #efe9e0;
    --bx-text: var(--bz-muted, #5e5869);
    --bx-soft: #6f6a7a;
    --bx-on-dark: #d9d2ee;
    --bx-display: var(--bz-font);
}
html body h1, html body h2 { font-weight: 800; letter-spacing: -.035em; }
html body h3 { font-weight: 750; letter-spacing: -.02em; }

.bx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 1.5px solid transparent; border-radius: 999px; font: inherit; font-size: 17px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.bx-btn svg { width: 18px; height: 18px; fill: currentColor; }
.bx-btn:focus-visible, .bx-radio:focus-visible + *, .bx-mini:focus-visible { outline: 3px solid var(--bx-purple-soft); outline-offset: 3px; }
.bx-btn-primary { background: var(--bx-purple); color: #fff; }
.bx-btn-primary:hover { background: var(--bx-purple-dark); color: #fff; }
.bx-btn-ghost { background: #fff; color: var(--bx-ink); border-color: var(--bx-line); }
.bx-btn-ghost:hover { border-color: var(--bx-purple); color: var(--bx-purple); }
/* White button for purple and ink panels. */
.bx-btn-light { background: #fff; color: var(--bx-purple); }
.bx-btn-light:hover { background: var(--bx-lilac); color: var(--bx-purple-dark); }
.bx-link-button { padding: 8px 0; border: 0; background: none; color: var(--bx-purple); font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* Shared bits */
.bx-section { padding-block: var(--bx-space, 88px); }
.bx-dark { background: var(--bx-ink); color: #fff; }
.bx-ground { background: var(--bx-ground); }
.bx-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 48px); }
.bx-head h2, .bx-section h2 { margin: 0; font-size: clamp(34px, 4.4vw, 56px); line-height: 1; color: inherit; }
.bx-head p { margin: 0; max-width: 440px; font-size: 18px; line-height: 1.55; color: var(--bx-text); }
.bx-dark .bx-head p, .bx-on-dark { color: var(--bx-on-dark); }
.bx-head-split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 48px; }
.bx-head-split > div:first-child { display: grid; gap: 12px; }
.bx-center { justify-items: center; text-align: center; }
.bx-center > p { margin-inline: auto; }
/* !important: paragraph colour rules in older stylesheets and .bx-head p would otherwise win. */
.bx-eyebrow { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bx-purple) !important; }
.bx-eyebrow.is-amber { color: var(--bx-purple-soft) !important; }
.bx-muted { color: var(--bx-soft); }
.bx-purple { color: var(--bx-purple); }
.bx-radio { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bx-section .bx-panel { display: none; }
.bx-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: #f1eff5; color: var(--bx-ink); font-size: 12px; font-weight: 700; white-space: nowrap; }
.bx-chip.is-amber { background: var(--bx-yellow); }
.bx-chip.is-ink { background: var(--bx-ink); color: #fff; }
.bx-chip.is-lilac { background: var(--bx-lilac); color: var(--bx-purple); }
.bx-avatar { display: inline-grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--bx-lilac); color: var(--bx-purple); font-size: 12px; font-weight: 800; }
.bx-avatar.is-small { width: 28px; height: 28px; font-size: 10.5px; }
.bx-avatar.is-grey { background: #f1eff5; color: var(--bx-ink); }
.bx-bar { display: block; height: 8px; border-radius: 99px; background: #f1eff5; overflow: hidden; }
.bx-bar > span { display: block; width: var(--bx-w, 0%); height: 100%; border-radius: inherit; background: var(--bx-purple); transition: width .5s ease; }
.bx-bar.is-soft > span { background: #cfc7e6; }
.bx-bar.is-amber > span { background: #fff; }
.bx-calc-result .bx-bar { background: #ffffff38; height: 14px; } .bx-calc-result .bx-bar > span { background: #d4c4f6; } .bx-calc-result .bx-bar.is-amber > span { background: #fff; }
.bx-ui { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: #fff; color: var(--bx-ink); font-size: 14px; line-height: 1.45; box-shadow: 0 1px 0 #1a14300d; }
.bx-ui-label { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--bx-soft); }
.bx-ui-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bx-ui-row small { font-weight: 500; text-transform: none; letter-spacing: 0; }
.bx-ui-field { padding: 9px 11px; border: 1px solid var(--bx-line); border-radius: 9px; color: var(--bx-soft); }
.bx-ui-field.is-strong { color: var(--bx-ink); font-weight: 650; }
.bx-ui-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.bx-ui-days span { padding: 9px 0; border: 1px solid var(--bx-line); border-radius: 9px; text-align: center; font-weight: 650; }
.bx-ui-days .is-on { border-color: var(--bx-purple); background: var(--bx-purple); color: #fff; font-weight: 800; }
.bx-ui-money { font-size: 32px; font-weight: 800; letter-spacing: -.03em; color: var(--bx-purple); line-height: 1; }
.bx-ui-money.is-big { font-size: clamp(48px, 6vw, 72px); }
.bx-display-sm { font-size: 22px; font-weight: 800; }
.bx-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.bx-actions.is-left { justify-content: flex-start; }
.bx-ticks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bx-ticks li { display: flex; gap: 10px; font-weight: 650; }
.bx-ticks li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--bx-purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Homepage hero: text left, coded phone mock-up right (bx_phone_hero in inc/sections.php). */
.bx-hero { position: relative; background: var(--bx-ground); }
.bx-phone-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-block: clamp(40px, 6vw, 72px) var(--bx-space, 88px); }
.bx-phone-copy { display: grid; justify-items: start; gap: 24px; }
.bx-hero h1 { max-width: 640px; margin: 0; font-size: clamp(42px, 5.4vw, 72px); line-height: 1; letter-spacing: -.04em; color: var(--bx-ink); }
html body .bx-hero h1 .bx-h1-kicker { display: block; width: fit-content; margin: 0 0 20px; padding: 7px 14px; border: 1px solid var(--bx-line); border-radius: 999px; background: #fff; color: var(--bx-purple); font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.bx-accent { color: var(--bx-purple); }
.bx-lead { max-width: 560px; margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--bx-text); }
.bx-hero-ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--bx-text); }
.bx-hero-ticks li::before { content: '✓'; margin-right: 6px; color: var(--bx-purple); font-weight: 800; }
.bx-phone-art { position: relative; min-height: 600px; }
.bx-phone-art::before { content: ''; position: absolute; left: 22%; right: 0; top: 6%; bottom: 8%; border-radius: 40px; background: var(--bx-purple); }
.bx-phone { position: relative; z-index: 1; width: 300px; height: 600px; margin: 0 9% 0 auto; padding: 12px; box-sizing: border-box; border-radius: 46px; background: var(--bx-ink); box-shadow: 0 40px 80px #2a1a4a40; }
.bx-phone-screen { display: flex; flex-direction: column; height: 100%; border-radius: 36px; background: #fff; overflow: hidden; }
.bx-phone-top { display: grid; gap: 2px; padding: 26px 20px 14px; }
.bx-phone-top small { color: var(--bx-soft); font-size: 13px; font-weight: 600; }
.bx-phone-top b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.bx-phone-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 16px; padding: 14px; border-radius: 16px; background: var(--bx-lilac); }
.bx-phone-stats span { display: grid; gap: 2px; }
.bx-phone-stats span:last-child { text-align: right; }
.bx-phone-stats small { white-space: nowrap; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bx-soft); }
.bx-phone-stats b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.bx-phone-list { display: grid; gap: 10px; margin: 0; padding: 16px; list-style: none; }
.bx-phone-list li { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--bx-line-soft); border-radius: 14px; }
.bx-phone-list li > span:nth-child(2) { flex: 1; display: grid; min-width: 0; }
.bx-phone-list b { font-size: 14px; }
.bx-phone-list small { color: var(--bx-soft); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-phone-list .bx-chip { font-size: 11px; padding: 4px 8px; }
.bx-chip.is-yellow { background: var(--bx-yellow); }
.bx-phone-tabs { display: flex; justify-content: space-between; margin-top: auto; padding: 12px 22px 18px; border-top: 1px solid var(--bx-line-soft); color: var(--bx-soft); font-size: 11px; font-weight: 650; }
.bx-phone-tabs .is-on { color: var(--bx-purple); }
.bx-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; width: 250px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 18px 40px #1f1a2e29; font-size: 13px; line-height: 1.35; }
.bx-float > span:last-child { display: grid; gap: 2px; }
.bx-float b { font-size: 15px; }
.bx-float small { color: var(--bx-soft); }
.bx-float-icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--bx-lilac); color: var(--bx-purple); }
.bx-float-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bx-float-call { left: -3%; top: 22%; width: 236px; }
.bx-float-won { right: -2%; bottom: 3%; background: var(--bx-ink); color: #fff; }
.bx-float-won small { color: var(--bx-on-dark); }
.bx-float-won .bx-float-icon { background: var(--bx-purple); color: #fff; }
/* Workflow steps */
.bx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.bx-steps > li { display: grid; align-content: start; gap: 18px; padding: 24px; border-radius: 22px; background: var(--bx-ink-2); }
.bx-steps > li > p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--bx-on-dark); }
.bx-steps > li > p.bx-step-title { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 19px; font-weight: 750; }
.bx-step-title > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bx-purple); color: #fff; font-weight: 800; }
.bx-steps .bx-ui { font-size: 13px; }

/* Switcher: before and after */
.bx-segment, .bx-trade-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bx-segment { padding: 6px; border: 1px solid var(--bx-line); border-radius: 16px; background: #fff; }
.bx-segment label { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 11px; color: var(--bx-text); font-size: 15px; font-weight: 700; cursor: pointer; }
.bx-switch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.bx-card { display: grid; align-content: start; gap: 16px; padding: clamp(22px, 3vw, 32px); border-radius: 26px; background: #fff; border: 1px solid var(--bx-line); }
.bx-card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--bx-text); }
.bx-after { border: 2px solid var(--bx-purple); }
.bx-tag { justify-self: start; padding: 5px 11px; border-radius: 999px; background: #f1eff5; color: var(--bx-ink) !important; font-size: 12px !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bx-tag.is-purple { background: var(--bx-purple); color: #fff !important; }
.bx-sheet { display: grid; border: 1px solid #c9c4d6; border-radius: 4px; font-family: Consolas, 'Courier New', monospace !important; font-size: 12.5px; overflow: hidden; }
.bx-sheet > div { display: grid; grid-template-columns: 1fr 1fr 2fr .6fr; }
.bx-sheet > div > span { padding: 7px 8px; border-right: 1px solid #dcd8e6; border-bottom: 1px solid #dcd8e6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: inherit !important; }
.bx-sheet > div:first-child { background: #eef0ee; font-weight: 700; }
.bx-sheet .is-red { color: #b3261e; font-weight: 700; }
.bx-sheet .is-dupe { background: #fff6d6; }
.bx-notebook { display: grid; gap: 4px; padding: 20px 22px; border-radius: 6px; background: repeating-linear-gradient(#fffdf5 0 31px, #cfe0f2 31px 32px); box-shadow: inset 34px 0 0 -32px #e7a3a3; transform: rotate(-1deg); }
.bx-notebook span { font-family: 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive !important; font-size: 17px; line-height: 28px; color: #2c3b70; }
.bx-bigcrm { display: grid; gap: 12px; padding: 14px; border-radius: 12px; background: #f6f7f9; border: 1px solid #e3e5ea; }
.bx-bigcrm-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.bx-bigcrm-tabs span { padding: 5px 9px; border-radius: 6px; background: #fff; border: 1px solid #e3e5ea; font-size: 12px; color: #667; }
.bx-bigcrm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bx-bigcrm-grid span { height: 28px; border-radius: 5px; background: #e9ebef; }
.bx-bigcrm-note { margin: 0; padding: 7px 10px; border-radius: 7px; background: #fde8e6; color: #9a3030 !important; font-size: 12.5px !important; font-weight: 700; }
.bx-record { padding: 18px; border: 1px solid var(--bx-line-soft); }
.bx-record-head { display: flex; align-items: center; gap: 12px; }
.bx-record-head > span:nth-child(2) { flex: 1; display: grid; }
.bx-record-head small { color: var(--bx-soft); font-size: 13px; }
.bx-record-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bx-record-stats > span { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--bx-ground); color: var(--bx-soft); font-size: 12px; }
.bx-record-stats b { color: var(--bx-ink); font-size: 15px; }
#bx-switch-sheet:checked ~ .bx-switch-grid [data-for="sheet"], #bx-switch-notebook:checked ~ .bx-switch-grid [data-for="notebook"], #bx-switch-crm:checked ~ .bx-switch-grid [data-for="crm"] { display: grid; gap: 16px; }
#bx-switch-sheet:checked ~ .bx-head label[for="bx-switch-sheet"], #bx-switch-notebook:checked ~ .bx-head label[for="bx-switch-notebook"], #bx-switch-crm:checked ~ .bx-head label[for="bx-switch-crm"] { background: var(--bx-purple); color: #fff; }
.bx-segment label { transition: background-color .15s, color .15s; }
.bx-segment label:hover { background: var(--bx-lilac); color: var(--bx-purple); }
#bx-switch-sheet:focus-visible ~ .bx-head label[for="bx-switch-sheet"], #bx-switch-notebook:focus-visible ~ .bx-head label[for="bx-switch-notebook"], #bx-switch-crm:focus-visible ~ .bx-head label[for="bx-switch-crm"] { outline: 3px solid #b79cf0; outline-offset: 2px; }

/* Bento */
.bx-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 18px; }
.bx-tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--bx-line); border-radius: 24px; background: var(--bx-ground); color: var(--bx-ink); text-decoration: none; transition: border-color .15s, background-color .15s; }
.bx-tile:hover { border-color: var(--bx-purple); }
.bx-tile-hero:hover { background: var(--bx-purple-dark); }
.bx-tile h3 { margin: 0; font-size: 22px; line-height: 1.15; }
.bx-tile p { margin: 0; }
.bx-tile > p:not(.bx-eyebrow) { color: var(--bx-text); font-size: 16px; line-height: 1.5; }
.bx-tile-hero { grid-column: span 2; grid-row: span 2; padding: 32px; background: var(--bx-purple); color: #fff; }
.bx-tile-hero h3 { max-width: 400px; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.05; color: #fff; }
.bx-tile h3 { color: inherit; }
.bx-dark h2, .bx-dark h3 { color: #fff; }
.bx-tile-hero .bx-eyebrow { color: #e4d8ff !important; }
.bx-tile-hero > p:not(.bx-eyebrow) { max-width: 380px; color: #e6defa; }
.bx-tile-hero .bx-due { margin-top: auto; }
.bx-tile-wide { grid-column: span 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 20px; }
.bx-tile-wide > span:first-child { display: grid; gap: 10px; }
.bx-tile-wide h3 { font-size: 26px; }
.bx-tile .bx-people, .bx-tile .bx-files { margin-top: auto; }
.bx-due > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bx-people > span { display: flex; align-items: center; gap: 8px; }
.bx-feature-chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.bx-feature-chips a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--bx-line); border-radius: 999px; color: var(--bx-ink); font-size: 15px; font-weight: 650; text-decoration: none; }
.bx-feature-chips a:hover { border-color: var(--bx-purple); color: var(--bx-purple); }
.bx-feature-chips svg { width: 18px; height: 18px; color: var(--bx-purple); }

.bx-files { gap: 8px; padding: 12px; }
.bx-files > span { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.bx-files em { display: grid; place-items: center; width: 36px; height: 28px; border-radius: 6px; background: var(--bx-lilac); color: var(--bx-purple); font-size: 10px; font-style: normal; font-weight: 800; }
.bx-files em.is-photo { background: #e6f4ea; color: #1f6b3a; }
.bx-files em.is-doc { background: #e7eefb; color: #2b4f9a; }
/* Replaces grid (above the founder note) */
.bx-replaces { display: grid; gap: 22px; margin-bottom: 40px; }
.bx-replaces h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px) !important; }
.bx-replaces ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bx-replaces li { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--bx-line); border-radius: 18px; }
.bx-replaces li .bx-muted { font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.bx-replaces s { font-size: 18px; font-weight: 650; color: var(--bx-soft); text-decoration-color: var(--bx-purple-soft); text-decoration-thickness: 2px; }
.bx-replaces strong { font-size: 18px; color: var(--bx-purple); }

/* Stage tabs */
.bx-stages-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.bx-stages-grid > div:first-child { display: grid; align-content: start; gap: 18px; }
.bx-stage-tabs { display: grid; gap: 6px; margin-top: 8px; }
.bx-stage-tabs label { display: grid; gap: 8px; padding: 16px 18px; border-radius: 16px; cursor: pointer; transition: background-color .15s; }
.bx-stage-tabs label:hover { background: var(--bx-ground); }
.bx-stage-name { display: flex; justify-content: space-between; font-family: var(--bx-display); font-size: 22px; font-weight: 800; }
.bx-stage-name small { color: var(--bx-soft); font-size: 14px; }
.bx-stage-text { display: none; font-size: 16px; line-height: 1.5; color: var(--bx-text); }
.bx-stage-progress { display: block; height: 4px; border-radius: 2px; background: #f1eff5; overflow: hidden; }
.bx-stage-progress > span { display: block; width: 0; height: 100%; background: var(--bx-purple); }
.bx-stage-stage { display: grid; place-items: center; padding: clamp(24px, 4vw, 40px); border-radius: 32px; background: var(--bx-purple); min-height: 380px; }
.bx-stage-card { width: min(100%, 460px); padding: 22px; gap: 14px; animation: bx-in .35s ease-out both; }
.bx-pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bx-pipeline span { padding: 8px 0; border-radius: 8px; background: #f1eff5; text-align: center; font-size: 12px; font-weight: 700; color: var(--bx-soft); }
.bx-pipeline .is-done { background: var(--bx-lilac); color: var(--bx-purple); }
.bx-pipeline .is-on { background: var(--bx-purple); color: #fff; }
.bx-file { display: flex; align-items: center; gap: 10px; color: var(--bx-soft); }
.bx-file span { padding: 6px 8px; border-radius: 6px; background: var(--bx-lilac); color: var(--bx-purple); font-size: 11px; font-weight: 800; }
.bx-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 10px; height: 120px; }
.bx-columns span { height: var(--bx-h); border-radius: 8px 8px 3px 3px; background: var(--bx-lilac); }
.bx-columns span:last-child { background: var(--bx-purple); }
@keyframes bx-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
#bx-stage-0:checked ~ .bx-stages-grid [data-for="0"], #bx-stage-1:checked ~ .bx-stages-grid [data-for="1"], #bx-stage-2:checked ~ .bx-stages-grid [data-for="2"], #bx-stage-3:checked ~ .bx-stages-grid [data-for="3"] { display: grid; }
#bx-stage-0:checked ~ .bx-stages-grid label[for="bx-stage-0"], #bx-stage-1:checked ~ .bx-stages-grid label[for="bx-stage-1"], #bx-stage-2:checked ~ .bx-stages-grid label[for="bx-stage-2"], #bx-stage-3:checked ~ .bx-stages-grid label[for="bx-stage-3"] { background: var(--bx-ground); }
#bx-stage-0:checked ~ .bx-stages-grid label[for="bx-stage-0"] .bx-stage-text, #bx-stage-1:checked ~ .bx-stages-grid label[for="bx-stage-1"] .bx-stage-text, #bx-stage-2:checked ~ .bx-stages-grid label[for="bx-stage-2"] .bx-stage-text, #bx-stage-3:checked ~ .bx-stages-grid label[for="bx-stage-3"] .bx-stage-text { display: block; }
.bx-stages.is-playing .bx-stage-tabs label.is-current .bx-stage-progress > span { animation: bx-fill 5s linear forwards; }
.bx-stages.is-paused .bx-stage-progress > span { animation-play-state: paused; }

/* Trades picker */
.bx-trade-chips { justify-content: center; }
.bx-trade-chips label { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--bx-line); border-radius: 999px; background: #fff; font-size: 16px; font-weight: 700; cursor: pointer; transition: border-color .15s, color .15s; }
.bx-trade-chips label:hover { border-color: var(--bx-purple); color: var(--bx-purple); }
.bx-trade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; }
.bx-trade-grid > div:first-child { display: grid; justify-items: start; gap: 18px; }
.bx-trade-grid h3 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.05; animation: bx-in .35s ease-out both; }
.bx-trade-grid p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--bx-text); }
.bx-trade-list { padding: 20px; gap: 8px; box-shadow: 0 24px 50px #1a14301a; }
.bx-trade-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 70px; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--bx-line-soft); }
.bx-trade-row > span:nth-child(2) { display: grid; }
.bx-trade-row small { color: var(--bx-soft); }
.bx-trade-row .bx-chip { justify-self: end; }
.bx-trades .bx-radio:checked + * { outline: none; }
#bx-trade-plumbers:checked ~ [data-for="plumbers"], #bx-trade-electricians:checked ~ [data-for="electricians"], #bx-trade-builders:checked ~ [data-for="builders"], #bx-trade-cleaners:checked ~ [data-for="cleaners"], #bx-trade-consultants:checked ~ [data-for="consultants"], #bx-trade-agencies:checked ~ [data-for="agencies"] { display: grid; }
#bx-trade-plumbers:checked ~ .bx-head label[for="bx-trade-plumbers"], #bx-trade-electricians:checked ~ .bx-head label[for="bx-trade-electricians"], #bx-trade-builders:checked ~ .bx-head label[for="bx-trade-builders"], #bx-trade-cleaners:checked ~ .bx-head label[for="bx-trade-cleaners"], #bx-trade-consultants:checked ~ .bx-head label[for="bx-trade-consultants"], #bx-trade-agencies:checked ~ .bx-head label[for="bx-trade-agencies"] { border-color: var(--bx-purple); background: var(--bx-purple); color: #fff; }
.bx-trades .bx-radio:focus-visible ~ .bx-head .bx-trade-chips { outline: 3px solid #b79cf0; outline-offset: 6px; border-radius: 999px; }

/* Mini demo */
.bx-demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: start; }
.bx-demo-grid > div:first-child { display: grid; gap: 22px; }
.bx-demo-grid > div:first-child > p { margin: 0; font-size: 18px; line-height: 1.55; }
/* Light, on-brand panel: lavender section, white form card, purple actions. */
.bx-tint { background: var(--bx-lilac); }
.bx-demo-form { display: grid; gap: 14px; padding: 22px; border: 1px solid #e4d9f7; border-radius: 20px; background: #fff; }
.bx-demo-form[hidden] { display: none; }
.bx-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bx-demo-form label, .bx-demo-form legend { display: grid; gap: 6px; color: var(--bx-ink); font-size: 14px; font-weight: 650; }
.bx-demo-form input[type=text], .bx-demo-form input[type=number] { min-height: 46px; padding: 0 14px; border: 1px solid var(--bx-line); border-radius: 10px; background: #fff; color: var(--bx-ink); font: inherit; font-size: 16px; transition: border-color .15s; }
.bx-demo-form input[type=text]:hover, .bx-demo-form input[type=number]:hover { border-color: var(--bx-purple-soft); }
.bx-demo-form input:focus { outline: 2px solid var(--bx-purple); outline-offset: 1px; border-color: var(--bx-purple); }
.bx-demo-form fieldset { margin: 0; padding: 0; border: 0; }
.bx-when { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.bx-when label { display: block; }
.bx-when input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bx-when span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--bx-line); border-radius: 999px; color: var(--bx-ink); font-weight: 700; cursor: pointer; transition: border-color .15s, color .15s; }
.bx-when span:hover { border-color: var(--bx-purple); color: var(--bx-purple); }
.bx-when input:checked + span { border-color: var(--bx-purple); background: var(--bx-purple); color: #fff; }
.bx-when input:focus-visible + span { outline: 3px solid #b79cf0; outline-offset: 2px; }
.bx-demo-app { padding: 22px; gap: 14px; border-radius: 24px; }
.bx-demo-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bx-demo-stats > span { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--bx-ground); color: var(--bx-soft); font-size: 13px; font-weight: 650; }
.bx-demo-stats b { color: var(--bx-ink); font-family: var(--bx-display); font-size: 28px; letter-spacing: -.02em; }
.bx-demo-stats > span:last-child b { color: var(--bx-purple); }
.bx-demo-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bx-demo-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--bx-line-soft); border-radius: 12px; animation: bx-in .35s ease-out both; }
.bx-demo-row > span:nth-child(2) { display: grid; min-width: 0; }
.bx-demo-row small { color: var(--bx-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-mini { min-height: 36px; padding: 0 12px; border: 1px solid var(--bx-line); border-radius: 9px; background: #fff; color: var(--bx-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.bx-mini[hidden] { display: none; }
.bx-mini { transition: border-color .15s, color .15s, background-color .15s; }
.bx-mini:hover { border-color: var(--bx-purple); color: var(--bx-purple); }
.bx-mini.is-won { border-color: var(--bx-purple); background: var(--bx-purple); color: #fff; }
.bx-mini.is-won:hover { background: var(--bx-purple-dark); color: #fff; }
.bx-demo-empty { margin: 0; padding: 18px; border-radius: 12px; background: var(--bx-lilac); color: var(--bx-ink); }
.bx-demo-toast { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--bx-purple); color: #fff; font-weight: 700; animation: bx-in .3s ease-out both; }
.bx-demo-toast[hidden], .bx-demo-empty[hidden] { display: none; }
.bx-demo-toast a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Calculator */
.bx-calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.bx-calc-form { display: grid; gap: 22px; }
.bx-calc-form h2 { font-size: clamp(32px, 3.8vw, 48px) !important; margin-bottom: 4px !important; }
.bx-slider { display: grid; gap: 10px; font-size: 16px; font-weight: 650; }
.bx-slider b { font-family: var(--bx-display); font-size: 20px; color: var(--bx-purple); }
.bx-slider input { width: 100%; height: 28px; accent-color: var(--bx-purple); cursor: pointer; }
.bx-calc-result { display: grid; gap: 18px; padding: clamp(28px, 4vw, 40px); border-radius: 28px; background: var(--bx-purple); color: #fff; }
.bx-calc-result > span:first-child { font-size: 15px; font-weight: 700; }
.bx-calc-big { font-size: clamp(56px, 7vw, 88px); font-weight: 800; letter-spacing: -.04em; line-height: .95; color: #fff; }
.bx-calc-bars { display: grid; gap: 8px; margin-top: 4px; font-size: 14px; }
.bx-calc-result .bx-btn { justify-self: start; }
.bx-calc-result small { font-size: 12.5px; line-height: 1.5; }
.bx-calc-result .bx-on-dark { color: #efe8ff; }

/* Room bars on plan cards */
.bx-room { display: flex; align-items: center; gap: 12px; margin: 16px 0 22px; }
.bx-room-label { font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--bx-soft); }
.bx-room-bars { flex: 1; display: grid; gap: 4px; }
.bx-room-bars > span { display: block; height: 6px; border-radius: 3px; background: #f1eff5; overflow: hidden; }
.bx-room-bars > span > span { display: block; width: var(--bx-w); height: 100%; background: var(--bx-purple); }
.bx-room-bars > span:nth-child(2) > span { background: #9b7ce6; }
.bx-room-bars > span:nth-child(3) > span { background: #d4c4f6; }

/* Mobile sign-up bar */
.bx-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; align-items: center; gap: 10px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--bx-line); background: #fff; box-shadow: 0 -10px 30px #1a14301a; }
.bx-sticky > span { flex: 1; display: grid; line-height: 1.3; }
.bx-sticky b { font-size: 14px; }
.bx-sticky small { color: var(--bx-soft); font-size: 12px; }
.bx-sticky .bx-btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
@media (max-width: 760px) { .bx-sticky:not([hidden]) { display: flex; } body.has-sticky { padding-bottom: 84px; } }
.hs-sticky { display: none !important; }

/* One heading scale for every public page, matching the homepage sections. Older templates (landing pages,
   /features, pricing, blog, changelog, legal, the /start advert page) keep their markup and pick this up.
   Body-copy headings inside blog articles and legal text stay at their reading size. */
:root {
    --bx-h1: clamp(40px, 5.6vw, 72px);
    --bx-h2: clamp(34px, 4.4vw, 56px);
    --bx-h2-split: clamp(32px, 3.6vw, 48px);
    --bx-h3: 22px;
}
html body main h1 { font-size: var(--bx-h1); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; color: var(--bx-ink); }
html body main .hero h1 { font-weight: 800; }
html body main .bx-hero h1, html body main .hs-hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1; }
html body main.legal-main h1 { font-size: var(--bx-h1); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; color: var(--bx-ink); }
html body main.legal-main :is(h2, h3) { font-weight: 750; letter-spacing: -.02em; color: var(--bx-ink); }
html body main :is(.section-heading, .hs-heading, .hs-compare-intro, .hs-faq, .faq, .updates-section-heading) h2,
html body main :is(.cta, .hs-final) h2 { font-size: var(--bx-h2); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
html body main :is(.section-copy, .seo-deep-section, .faq, .hs-faq) h2 { font-size: var(--bx-h2-split); }
html body main :is(.cta, .hs-final) h2 { color: #fff; }
html body main :is(.feature-grid, .long-copy, .hs-features) h3 { font-size: var(--bx-h3); line-height: 1.2; letter-spacing: -.02em; font-weight: 750; }
html body main :is(.seo-related-list, .seo-included-list) strong, html body main .features-hub-text strong { font-size: 18px; letter-spacing: -.01em; font-weight: 750; }
/* Keyword line inside the H1 on landing pages and pricing, as a pill like the homepage. */
html body main h1 .seo-h1-keyword { display: block; width: fit-content; margin: 0 0 18px; padding: 7px 14px; border: 1px solid var(--bx-line); border-radius: 999px; background: #fff; color: var(--bx-purple); font-size: 15px !important; font-weight: 700; line-height: 1.3; letter-spacing: 0 !important; text-transform: none; }
html body main .pricing-hero h1 .seo-h1-keyword { margin-inline: auto; }
/* Eyebrows: one style everywhere (13px, uppercase, purple), lavender on dark, yellow on the founder note. */
html body :is(.eyebrow, .hs-eyebrow):not(.seo-h1-keyword) { margin: 0 0 12px; font-size: 13px !important; font-weight: 800; letter-spacing: .1em !important; text-transform: uppercase; color: var(--bx-purple); }
html body .bx-dark :is(.eyebrow, .hs-eyebrow) { color: var(--bx-purple-soft); }
html body .cta .eyebrow { color: #e4d8ff; }
html body .hs-founder .hs-founder-label { color: var(--bx-yellow); }
/* Section intros at the homepage size. */
html body main :is(.section-heading, .hs-heading) > p:not(.eyebrow):not(.hs-eyebrow) { font-size: 18px; line-height: 1.55; }
html body main .section-heading { margin-bottom: 44px; }

/* Section rhythm: every section has the same space inside it, top and bottom. Sections alternate between
   full-width bands (cream page, white, lavender, ink); where two of the same colour meet they share one gap,
   so the spacing between sections is always the same. */
:root { --bx-space: 88px; }
html body main#main > .section, html body main#main > .section + .section, html body main#main > .section.split, html body main#main > .section.split + .section,
html body main#main > .hs-section, html body main#main > .bx-section { padding-top: var(--bx-space); padding-bottom: var(--bx-space); }
html body main#main > :is(.section, .hs-section, .bx-section):not(.is-white):not(.bx-dark):not(.bx-tint) + :is(.section, .hs-section, .bx-section):not(.is-white):not(.bx-dark):not(.bx-tint),
html body main#main > :is(.section, .hs-section, .bx-section).is-white + :is(.section, .hs-section, .bx-section).is-white { padding-top: 0; }
/* White band. On centred .wrap sections the background is extended to the full width. */
html body .is-white { background: #fff; }
html body main#main > .wrap.is-white { box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); }
/* Cards take the opposite colour to their band, so they always stand out. */
html body .is-white :is(.seo-related-list a, .seo-included-list a, .long-copy article), html body .is-white .feature-grid article:nth-child(n) { background: var(--bx-ground); }
html body main#main > .cta, html body main#main > .hs-final { margin-top: var(--bx-space); }
html body main#main > :is(.section, .hs-section, .bx-section):not(.is-white):not(.bx-dark):not(.bx-tint) + :is(.cta, .hs-final) { margin-top: 0; }

/* Speed: the browser skips layout and paint for sections until they come near the screen, so a long
   page opens as fast as a short one. The size hint keeps the scrollbar steady. */
html body main#main > :is(.bx-section, .hs-section, .section, .cta, .hs-final):not(:first-child):not(.wrap.is-white) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* Trust strip */
.bx-trust { --bx-space: 64px; }
.bx-trust-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.bx-trust-head .bx-eyebrow { flex-basis: 100%; margin: 0; }
.bx-trust-head h2 { margin: 0; font-size: clamp(24px, 2.6vw, 32px) !important; letter-spacing: -.025em; }
.bx-text-link { color: var(--bx-ink); font-size: 15px; font-weight: 650; text-decoration: underline; text-decoration-color: #cbbfe6; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: color .15s, text-decoration-color .15s; }
.bx-text-link:hover { color: var(--bx-purple); text-decoration-color: var(--bx-purple); }
.bx-trust-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bx-trust-list li { display: grid; align-content: start; gap: 6px; padding: 22px; border: 1px solid var(--bx-line); border-radius: 20px; background: var(--bx-ground); }
.bx-trust:not(.is-white) .bx-trust-list li { background: #fff; }
.bx-trust-list strong { margin-top: 8px; font-size: 16px; color: var(--bx-ink); }
.bx-trust-list span:not(.bx-trust-icon) { font-size: 14px; line-height: 1.5; color: var(--bx-text); }
.bx-trust-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--bx-lilac); color: var(--bx-purple); }
.bx-trust-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Our Partners (inc/sections.php bx_partners): a logo slider that sits on the page background like any section.
   Without motion (reduced-motion settings, or before the CSS loads) it is one still, centred row of the logos;
   with motion the two rows scroll left together and loop seamlessly, pausing while hovered. */
.bx-partners { overflow: hidden; }
/* At the foot of a page, next to a closing call to action or the footer, the full section gap would double up. */
html body main#main > :not(.section, .hs-section, .bx-section) + .bx-partners { padding-top: calc(var(--bx-space) / 2); }
html body main#main > .bx-partners:last-child { padding-bottom: calc(var(--bx-space) / 2); }
.bx-partners-head { margin-bottom: 34px; text-align: center; }
.bx-partners-head .bx-eyebrow { margin: 0 0 8px; }
.bx-partners-head h2 { margin: 0; font-size: clamp(26px, 3vw, 38px) !important; letter-spacing: -.03em; }
.bx-marquee { display: flex; justify-content: center; overflow: hidden; }
.bx-marquee-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 72px; margin: 0; padding: 0 36px; list-style: none; }
.bx-marquee-row[aria-hidden="true"], .bx-partner.is-repeat { display: none; }
.bx-partner { display: grid; justify-items: center; gap: 12px; }
.bx-partner a { display: block; border-radius: 10px; }
.bx-partner img { display: block; width: auto; height: 56px; }
.bx-partner img[src*="koda"] { height: 46px; margin-block: 5px; }
.bx-partner img[src*="fcb-digital"] { height: 74px; margin-block: -9px; }
.bx-partner img[src*="saashub"] { height: 58px; border-radius: 8px; }
.bx-partner span { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--bx-soft); }
@media (prefers-reduced-motion: no-preference) {
    .bx-marquee { justify-content: flex-start; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
    .bx-marquee-row { flex-shrink: 0; flex-wrap: nowrap; justify-content: flex-start; padding: 6px 36px; animation: bx-marquee 38s linear infinite; }
    .bx-marquee-row[aria-hidden="true"], .bx-partner.is-repeat { display: grid; }
    .bx-marquee-row[aria-hidden="true"] { display: flex; }
    .bx-marquee:hover .bx-marquee-row { animation-play-state: paused; }
    .bx-partner { transition: transform .25s ease, opacity .25s ease; opacity: .82; }
    .bx-partner:hover { transform: translateY(-3px); opacity: 1; }
}
@keyframes bx-marquee { to { transform: translateX(-100%); } }
@media (max-width: 760px) {
    .bx-marquee-row { gap: 24px 44px; padding-inline: 22px; }
    .bx-partner img { height: 44px; }
    .bx-partner img[src*="koda"] { height: 36px; }
    .bx-partner img[src*="fcb-digital"] { height: 58px; margin-block: -7px; }
    .bx-partner img[src*="saashub"] { height: 46px; }
}

/* Related and hub links: cards with an arrow that moves on hover. */
html body .seo-related-list a { position: relative; display: grid; gap: 6px; padding: 22px 52px 22px 22px; transition: border-color .15s, background-color .15s; }
html body .seo-related-list a:hover { border-color: var(--bx-purple); box-shadow: none; }
html body .seo-related-list strong { color: var(--bx-ink); }
html body .seo-related-list span { color: var(--bx-text); font-size: 14.5px; line-height: 1.5; }
html body .seo-related-list em { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bx-lilac); color: var(--bx-purple); font-style: normal; font-weight: 700; transition: background-color .15s, color .15s, transform .15s; }
html body .seo-related-list a:hover em { background: var(--bx-purple); color: #fff; transform: translateX(3px); }
html body .seo-hub .seo-related-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body .seo-included-list a { transition: border-color .15s; }
html body .seo-included-list a:hover { border-color: var(--bx-purple); box-shadow: none; }
@media (max-width: 1080px) { .bx-trust-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } html body .seo-hub .seo-related-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
    :root { --bx-space: 60px; }
    .bx-trust { --bx-space: 48px; }
    .bx-trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html body main .section-heading { margin-bottom: 32px; }
}
@media (max-width: 480px) { .bx-trust-list, html body .seo-hub .seo-related-list { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 960px) {
    .bx-phone-grid { grid-template-columns: minmax(0, 1fr); }
    .bx-phone-art { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 520px) {
    .bx-phone-art { min-height: 0; padding-block: 8px 24px; }
    .bx-phone { width: 260px; height: 540px; margin: 0 auto; }
    .bx-phone-art::before { left: 6%; right: 6%; }
    .bx-float { display: none; }
    .bx-phone-stats { margin-inline: 12px; padding: 12px; }
    .bx-phone-stats small { font-size: 9.5px; letter-spacing: .04em; }
    .bx-phone-stats b { font-size: 20px; }
    .bx-phone-list b { font-size: 13px; white-space: nowrap; }
}
@media (max-width: 1080px) {
    .bx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bx-replaces ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .bx-head-split, .bx-switch-grid, .bx-stages-grid, .bx-trade-grid, .bx-demo-grid, .bx-calc-grid { grid-template-columns: minmax(0, 1fr); }
    .bx-head-split { align-items: start; }
    .bx-stage-stage { min-height: 300px; }
}
@media (max-width: 600px) {
    .bx-steps, .bx-bento, .bx-replaces ul, .bx-two { grid-template-columns: minmax(0, 1fr); }
    .bx-tile-hero, .bx-tile-wide { grid-column: auto; grid-row: auto; }
    .bx-tile-wide { grid-template-columns: minmax(0, 1fr); }
    .bx-tile-hero .bx-due { margin-top: 8px; }
    .bx-actions .bx-btn { width: 100%; }
    .bx-hero h1 { font-size: clamp(36px, 10vw, 44px); letter-spacing: -.035em; }
    .bx-demo-row { grid-template-columns: auto minmax(0, 1fr) auto; }
    .bx-demo-row .bx-mini { grid-column: span 1; }
    .bx-trade-row { grid-template-columns: auto minmax(0, 1fr) auto; }
    .bx-trade-row > b { display: none; }
    .bx-sheet { font-size: 11px; }
    .bx-record-stats { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .bx-stage-card, .bx-trade-grid h3, .bx-demo-row, .bx-demo-toast { animation: none; }
    .bx-bar > span, .bx-tile { transition: none; }
}

/* Motion for the public pages. Sections and cards rise into place as they scroll into view (assets/app/brand.js
   adds html.has-reveal, so nothing is hidden without JavaScript); the hero's product image eases in on load;
   buttons and cards lift a little on hover. All of it is skipped for people who prefer reduced motion. */
@media (prefers-reduced-motion: no-preference) {
    .has-reveal [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0s); }
    .has-reveal [data-reveal].is-revealed { opacity: 1; transform: none; }
    .hero-art, .bx-phone-art, .fc-hero-art, .hs-hero-art { animation: bx-hero-in .9s cubic-bezier(.2, .7, .2, 1) .1s both; }
    .button, .bx-btn, .fc-submit, .hs-button-big { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
    .button:hover, .bx-btn:hover, .fc-submit:hover, .hs-button-big:hover { transform: translateY(-2px); }
    .button:active, .bx-btn:active, .fc-submit:active, .hs-button-big:active { transform: translateY(0) scale(.98); }
    .bx-trust-list li, .features-hub-grid a, .seo-included-list a, .seo-related-list a, .hs-features article { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
    .bx-trust-list li:hover, .features-hub-grid a:hover, .seo-included-list a:hover, .seo-related-list a:hover, .hs-features article:hover { transform: translateY(-3px); }
}
@keyframes bx-hero-in { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }
