/* ==========================================================================
   BizDue public website
   Loaded only by layouts/marketing.blade.php, after app.css (which supplies
   the brand variables --bd-navy / --bd-primary and Bootstrap's theme).
   Everything is namespaced under .bd-page / .bd-* so the logged-in app is
   never touched.
   ========================================================================== */

.bd-page {
    --ink: #0b1642;
    --text: #38446a;
    --muted: #5a6685;
    --line: #e2e7f2;
    --line-strong: #cdd5ea;
    --surface: #f5f7fc;
    --soft: #eaf0ff;
    --blue: var(--bd-primary);
    --blue-hover: var(--bd-primary-hover);

    --ok: #0a7a52;
    --ok-bg: #e5f5ee;
    --warn: #8a5600;
    --warn-bg: #fff2d6;
    --bad: #b42318;
    --bad-bg: #fdeae8;

    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(11, 22, 66, .06), 0 1px 1px rgba(11, 22, 66, .04);
    --shadow-lg: 0 40px 80px -40px rgba(11, 22, 66, .35), 0 8px 24px -12px rgba(11, 22, 66, .12);

    --font-display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;

    font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

:where(.bd-page) h1,
:where(.bd-page) h2,
:where(.bd-page) h3,
:where(.bd-page) h4 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -.025em;
    text-wrap: balance;
    margin: 0;
}

:where(.bd-page) p { margin: 0; text-wrap: pretty; }
:where(.bd-page) a { text-decoration: none; }
:where(.bd-page) ul { margin: 0; padding: 0; list-style: none; }

.bd-wrap {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}
@media (min-width: 768px) { .bd-wrap { padding-inline: 2rem; } }

.bd-section { padding-block: 4.5rem; }
.bd-section-tint { background: var(--surface); border-block: 1px solid var(--line); }
@media (min-width: 992px) { .bd-section { padding-block: 6rem; } }

.bd-skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: var(--ink);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: 8px;
    transition: top .15s;
}
.bd-skip:focus { top: 1rem; color: #fff; }

/* Focus ------------------------------------------------------------------ */
.bd-page a:focus-visible,
.bd-page button:focus-visible,
.bd-page input:focus-visible,
.bd-page textarea:focus-visible,
.bd-page summary:focus-visible {
    outline: 3px solid rgba(var(--bd-primary-rgb), .45);
    outline-offset: 2px;
    border-radius: 8px;
}

/* Buttons ---------------------------------------------------------------- */
.bd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 46px;
    padding: .6rem 1.35rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font: 600 .9375rem/1 'Figtree', sans-serif;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.bd-btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -8px rgba(var(--bd-primary-rgb), .7); }
.bd-btn-primary:hover { background: var(--blue-hover); color: #fff; }
.bd-btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.bd-btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.bd-btn-light { background: #fff; color: var(--ink); }
.bd-btn-light:hover { background: var(--soft); color: var(--ink); }
.bd-btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.bd-btn-outline-light:hover { border-color: #fff; color: #fff; }
.bd-btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .875rem; }
.bd-btn[disabled] { opacity: .65; cursor: progress; }

.bd-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 600;
    color: var(--blue);
}
.bd-link:hover { color: var(--blue-hover); text-decoration: underline; text-underline-offset: 3px; }

/* Header ----------------------------------------------------------------- */
.bd-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.bd-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 8px 24px -18px rgba(11, 22, 66, .35);
}
.bd-header-in { display: flex; align-items: center; gap: 1rem; height: 68px; }
.bd-logo { display: inline-flex; flex-shrink: 0; }
.bd-logo img { height: 42px; width: auto; display: block; }

.bd-nav { display: none; align-items: center; gap: .15rem; margin-left: 1.25rem; }
@media (min-width: 992px) { .bd-nav { display: flex; } }

.bd-navlink {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: .4rem .8rem;
    border: 0;
    background: none;
    border-radius: 8px;
    font: 600 .9375rem/1 'Figtree', sans-serif;
    color: var(--muted);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.bd-navlink:hover { color: var(--ink); background: var(--surface); }
.bd-navlink.is-active { color: var(--blue); background: var(--soft); }
.bd-navlink.dropdown-toggle::after { margin-left: .45rem; border-width: .3em .3em 0; }

.bd-menu {
    --bs-dropdown-min-width: 14rem;
    padding: .4rem;
    margin-top: .5rem !important;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}
.bd-menu .dropdown-item {
    padding: .6rem .75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .9375rem;
    color: var(--text);
}
.bd-menu .dropdown-item:hover { background: var(--surface); color: var(--ink); }
.bd-menu .dropdown-item.active { background: var(--soft); color: var(--blue); }

.bd-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.bd-actions .bd-btn-ghost { display: none; }
@media (min-width: 576px) { .bd-actions .bd-btn-ghost { display: inline-flex; } }
.bd-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink);
    font-size: 1.4rem;
    cursor: pointer;
}
@media (min-width: 992px) { .bd-burger { display: none; } }

/* Mobile menu */
.bd-drawer { --bs-offcanvas-width: min(22rem, 88vw); }
.bd-drawer .offcanvas-header { border-bottom: 1px solid var(--line); padding: 1rem 1.25rem; }
.bd-drawer .offcanvas-body { padding: 1rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .25rem; }
.bd-drawer-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: .5rem .75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text);
}
.bd-drawer-link:hover { background: var(--surface); color: var(--ink); }
.bd-drawer-link.is-active { background: var(--soft); color: var(--blue); }
.bd-drawer-label { margin: 1rem .75rem .25rem; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.bd-drawer-cta { margin-top: auto; padding-top: 1.25rem; display: grid; gap: .6rem; }

/* Hero ------------------------------------------------------------------- */
.bd-hero {
    position: relative;
    padding-block: 3.5rem 4rem;
    background:
        linear-gradient(to bottom, rgba(255,255,255,0) 55%, #fff 100%),
        repeating-linear-gradient(to bottom, transparent 0, transparent 39px, rgba(var(--bd-navy-rgb), .04) 39px, rgba(var(--bd-navy-rgb), .04) 40px),
        var(--surface);
    border-bottom: 1px solid var(--line);
}
@media (min-width: 992px) { .bd-hero { padding-block: 5.5rem 6rem; } }

.bd-hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 992px) { .bd-hero-grid { grid-template-columns: 1.02fr 1fr; gap: 4.5rem; } }

.bd-hero h1 {
    font-size: clamp(2.6rem, 6.4vw, 4.6rem);
    line-height: 1;
    letter-spacing: -.035em;
    font-weight: 700;
}
.bd-hero-lead {
    margin-top: 1.5rem;
    max-width: 34rem;
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--text);
}
.bd-hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.bd-hero-note { margin-top: 1rem; font-size: .875rem; color: var(--muted); }

/* The due board: a small, honest picture of what the product does -------- */
.bd-board {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.bd-board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--line);
}
.bd-board-title { font: 650 1.0625rem/1.2 var(--font-display); color: var(--ink); letter-spacing: -.015em; }
.bd-board-sample { font-size: .8125rem; color: var(--muted); }
.bd-board-list { padding: .35rem 0; }

.bd-due {
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    align-items: center;
    gap: .9rem;
    padding: .8rem 1.25rem;
    border-bottom: 1px solid var(--line);
}
.bd-due:last-child { border-bottom: 0; }
.bd-due-ic {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: var(--soft);
    color: var(--blue);
    font-size: 1.1rem;
}
.bd-due-t { font-weight: 600; color: var(--ink); line-height: 1.3; }
.bd-due-s { font-size: .875rem; color: var(--muted); line-height: 1.35; }

.bd-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}
.bd-chip-ok { background: var(--ok-bg); color: var(--ok); }
.bd-chip-warn { background: var(--warn-bg); color: var(--warn); }
.bd-chip-bad { background: var(--bad-bg); color: var(--bad); }
.bd-chip-info { background: var(--soft); color: var(--blue-hover); }

.bd-board-foot {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.25rem;
    background: var(--surface);
    border-top: 1px solid var(--line);
    font-size: .875rem;
    color: var(--muted);
}
.bd-board-foot i { color: var(--blue); font-size: 1rem; }

/* One orchestrated moment: rows settle in, then one reminder goes out. */
.bd-swap { display: grid; justify-items: end; }
.bd-swap > * { grid-area: 1 / 1; }
.bd-swap-from { animation: bd-fade-out .35s ease 2.6s forwards; }
.bd-swap-to { opacity: 0; animation: bd-fade-in .45s ease 2.7s forwards; }

@keyframes bd-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bd-fade-out { to { opacity: 0; } }
@keyframes bd-fade-in { to { opacity: 1; } }
.bd-board .bd-due { animation: bd-rise .5s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(var(--i) * 70ms + 150ms); }

@media (prefers-reduced-motion: reduce) {
    .bd-board .bd-due { animation: none; }
    .bd-swap-from { animation: none; opacity: 0; }
    .bd-swap-to { animation: none; opacity: 1; }
}

/* Proof strip ------------------------------------------------------------ */
.bd-proof { display: grid; gap: 0; }
@media (min-width: 768px) { .bd-proof { grid-template-columns: repeat(4, 1fr); } }
.bd-proof-item { display: flex; gap: .85rem; padding: 1.5rem 1.25rem 1.5rem 0; }
@media (min-width: 768px) {
    .bd-proof-item { padding-inline: 1.5rem; border-left: 1px solid var(--line); }
    .bd-proof-item:first-child { padding-left: 0; border-left: 0; }
}
.bd-proof-item i { font-size: 1.35rem; color: var(--blue); line-height: 1.3; }
.bd-proof-item strong { display: block; color: var(--ink); font-weight: 650; line-height: 1.3; }
.bd-proof-item span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.45; margin-top: .15rem; }

/* Section heads ---------------------------------------------------------- */
.bd-head { max-width: 40rem; margin-bottom: 2.75rem; }
.bd-head h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.bd-head p { margin-top: 1rem; font-size: 1.0625rem; color: var(--text); }
.bd-head-split { display: grid; gap: 1rem 3rem; max-width: none; align-items: end; }
@media (min-width: 992px) { .bd-head-split { grid-template-columns: 1.1fr 1fr; } .bd-head-split p { margin: 0; } }

/* Module bento ----------------------------------------------------------- */
.bd-bento { display: grid; gap: 1rem; grid-template-columns: repeat(12, 1fr); }
.bd-tile {
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.bd-tile:hover { border-color: rgba(var(--bd-primary-rgb), .45); box-shadow: 0 14px 34px -22px rgba(var(--bd-primary-rgb), .55); color: var(--text); }
@media (min-width: 768px) {
    .bd-tile-4 { grid-column: span 6; }
    .bd-tile-last { grid-column: span 12; }
}
@media (min-width: 992px) {
    .bd-tile-7 { grid-column: span 7; }
    .bd-tile-5 { grid-column: span 5; }
    .bd-tile-4, .bd-tile-last { grid-column: span 4; }
}
.bd-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bd-ic {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: var(--soft);
    color: var(--blue);
    font-size: 1.25rem;
    flex-shrink: 0;
}
.bd-tile-go { color: var(--line-strong); font-size: 1.1rem; transition: color .2s ease; }
.bd-tile:hover .bd-tile-go { color: var(--blue); }
.bd-tile h3 { font-size: 1.375rem; }
.bd-tile p { font-size: .9688rem; color: var(--text); }
.bd-tile .bd-ui { margin-top: auto; }

.bd-tile-wide {
    grid-column: span 12;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
}
.bd-tile-wide .bd-tile-text { flex: 1 1 22rem; }
.bd-tile-wide ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9375rem; color: var(--ink); font-weight: 600; }
.bd-tile-wide li { display: inline-flex; align-items: center; gap: .4rem; }
.bd-tile-wide li i { color: var(--ok); }

/* Mini product UI (shared by home tiles and the Features page) ------------ */
.bd-ui {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: .9rem 1rem;
    font-size: .875rem;
}
.bd-ui-white { background: #fff; box-shadow: var(--shadow-sm); }
.bd-ui-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-bottom: .7rem; margin-bottom: .2rem; border-bottom: 1px solid var(--line); font-weight: 650; color: var(--ink); }
.bd-ui-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.bd-ui-row:last-child { border-bottom: 0; padding-bottom: .1rem; }
.bd-ui-row b { font-weight: 600; color: var(--ink); display: block; line-height: 1.3; }
.bd-ui-row small { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.bd-ui-amt { font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.bd-ui-amt.is-in { color: var(--ok); }
.bd-ui-amt.is-out { color: var(--bad); }
.bd-ui-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: .75rem; margin-top: .2rem; border-top: 1px solid var(--line-strong); font-weight: 650; color: var(--ink); }
.bd-ui-total .bd-ui-amt { font-size: 1.125rem; }
.bd-ui-av { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; flex-shrink: 0; }
.bd-ui-lead { display: flex; align-items: center; gap: .75rem; min-width: 0; }

.bd-steps { display: flex; align-items: center; margin: .25rem 0 1rem; }
.bd-steps i { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--blue); color: #fff; font-size: .8rem; font-style: normal; flex-shrink: 0; }
.bd-steps i.is-todo { background: #fff; border: 2px solid var(--line-strong); }
.bd-steps s { flex: 1; height: 3px; background: var(--blue); text-decoration: none; }
.bd-steps s.is-todo { background: var(--line-strong); }
.bd-steps-labels { display: flex; justify-content: space-between; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.bd-steps-labels .on { color: var(--blue-hover); }
.bd-bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: .6rem; }
.bd-bar > span { display: block; height: 100%; background: var(--blue); border-radius: inherit; }

/* Product screenshot ----------------------------------------------------- */
.bd-showcase { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 992px) { .bd-showcase { grid-template-columns: 5fr 7fr; gap: 4.5rem; } }
.bd-showcase h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.bd-showcase-text > p { margin-top: 1rem; font-size: 1.0625rem; }
.bd-checks { margin-top: 1.5rem; display: grid; gap: .75rem; }
.bd-checks li { display: flex; gap: .65rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.bd-checks i { color: var(--ok); font-size: 1.1rem; line-height: 1.5; }
.bd-frame {
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.bd-frame-bar { display: flex; gap: .4rem; padding: .65rem .9rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.bd-frame-bar span { width: .65rem; height: .65rem; border-radius: 50%; background: var(--line-strong); }
.bd-frame img { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 1695; object-fit: cover; object-position: top; }

/* Audience switcher ------------------------------------------------------ */
.bd-aud { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .bd-aud { grid-template-columns: 20rem 1fr; gap: 2.5rem; } }
.bd-aud-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; align-content: start; }
@media (min-width: 992px) { .bd-aud-tabs { grid-template-columns: 1fr; } }
.bd-aud-tab {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 56px;
    padding: .7rem .9rem;
    text-align: left;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    font: 600 .9375rem/1.25 'Figtree', sans-serif;
    color: var(--text);
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.bd-aud-tab i { font-size: 1.15rem; color: var(--muted); }
.bd-aud-tab:hover { border-color: var(--line-strong); color: var(--ink); }
.bd-aud-tab.active { border-color: var(--blue); background: var(--soft); color: var(--ink); }
.bd-aud-tab.active i { color: var(--blue); }
.bd-aud-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .bd-aud-panel { padding: 2.25rem; } }
.bd-aud-panel h3 { font-size: 1.625rem; }
.bd-aud-panel p { margin-top: .8rem; max-width: 38rem; }
.bd-aud-panel .bd-checks { margin-top: 1.5rem; }

/* FAQ -------------------------------------------------------------------- */
.bd-faq-grid { display: grid; gap: 2rem 4rem; }
@media (min-width: 992px) { .bd-faq-grid { grid-template-columns: 1fr 1.7fr; } }
.bd-faq-side p { margin-top: 1rem; }
.bd-faq-side .bd-link { margin-top: 1.25rem; }
.bd-faq-item { border-bottom: 1px solid var(--line); }
.bd-faq-item:first-child { border-top: 1px solid var(--line); }
.bd-faq-q {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 60px;
    padding: 1rem 0;
    border: 0;
    background: none;
    text-align: left;
    font: 650 1.0625rem/1.35 'Figtree', sans-serif;
    color: var(--ink);
    cursor: pointer;
}
.bd-faq-q::after {
    content: '';
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5fed' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
    transition: transform .2s ease;
}
.bd-faq-q:not(.collapsed)::after { transform: rotate(45deg); }
.bd-faq-a { padding: 0 2.5rem 1.35rem 0; color: var(--text); max-width: 42rem; }
.bd-faq-a a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* CTA band --------------------------------------------------------------- */
.bd-cta {
    position: relative;
    overflow: hidden;
    padding-block: 4.5rem;
    background:
        radial-gradient(60rem 24rem at 100% 120%, rgba(var(--bd-primary-rgb), .55), transparent 70%),
        var(--ink);
    color: #fff;
}
.bd-cta-in { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 992px) { .bd-cta-in { grid-template-columns: 1.4fr 1fr; gap: 4rem; } }
.bd-cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.bd-cta p { margin-top: 1rem; max-width: 36rem; color: rgba(255,255,255,.78); font-size: 1.0625rem; }
.bd-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 992px) { .bd-cta-actions { justify-content: flex-end; } }

/* Inner-page hero -------------------------------------------------------- */
.bd-pagehead {
    padding-block: 3.25rem 3rem;
    background:
        repeating-linear-gradient(to bottom, transparent 0, transparent 39px, rgba(var(--bd-navy-rgb), .035) 39px, rgba(var(--bd-navy-rgb), .035) 40px),
        var(--surface);
    border-bottom: 1px solid var(--line);
}
@media (min-width: 992px) { .bd-pagehead { padding-block: 4.5rem 4rem; } }
.bd-pagehead h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.035em; max-width: 22ch; }
.bd-pagehead p { margin-top: 1rem; max-width: 40rem; font-size: 1.125rem; }
.bd-pagehead .bd-meta { margin-top: 1rem; font-size: .9rem; color: var(--muted); }

/* Features page ---------------------------------------------------------- */
.bd-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.bd-jump a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 40px;
    padding: .4rem .9rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
    font-size: .9rem;
    color: var(--ink);
    transition: border-color .15s ease, color .15s ease;
}
.bd-jump a:hover { border-color: var(--blue); color: var(--blue); }
.bd-jump i { color: var(--blue); }

.bd-feature { position: relative; display: grid; gap: 2rem; align-items: center; padding-block: 3.5rem; scroll-margin-top: 80px; border-bottom: 1px solid var(--line); }
.bd-feature:last-of-type { border-bottom: 0; }
@media (min-width: 992px) {
    .bd-feature { grid-template-columns: 1fr 1fr; gap: 5rem; padding-block: 4.5rem; }
    .bd-feature.is-flip .bd-feature-text { order: 2; }
}
.bd-feature h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); margin-top: 1.1rem; }
.bd-feature-text > p { margin-top: 1rem; font-size: 1.0625rem; }
.bd-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; scroll-margin-top: 80px; pointer-events: none; }

.bd-flow { display: grid; gap: 2rem; counter-reset: step; }
@media (min-width: 768px) { .bd-flow { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.bd-flow li { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.bd-flow li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -1.05rem;
    left: 0;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font: 700 .9rem/1 var(--font-display);
}
.bd-flow h3 { font-size: 1.3rem; }
.bd-flow p { margin-top: .6rem; }

/* About ------------------------------------------------------------------ */
.bd-story { display: grid; gap: 1.5rem 5rem; }
@media (min-width: 992px) { .bd-story { grid-template-columns: 1fr 1.25fr; } }
.bd-story h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.bd-story-body { display: grid; gap: 1.1rem; font-size: 1.125rem; line-height: 1.7; max-width: 40rem; }

.bd-beliefs { display: grid; gap: 0; }
@media (min-width: 768px) { .bd-beliefs { grid-template-columns: repeat(3, 1fr); } }
.bd-belief { padding: 1.75rem 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) {
    .bd-belief { padding: 2rem 2rem 2rem 0; }
    .bd-belief + .bd-belief { padding-left: 2rem; border-left: 1px solid var(--line); }
}
.bd-belief h3 { margin-top: 1rem; font-size: 1.25rem; }
.bd-belief p { margin-top: .5rem; }

.bd-who { display: grid; gap: 0; }
@media (min-width: 768px) { .bd-who { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.bd-who li { display: flex; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line-strong); }
.bd-who i { color: var(--blue); font-size: 1.4rem; line-height: 1.3; }
.bd-who b { display: block; color: var(--ink); font-weight: 650; font-size: 1.0625rem; }
.bd-who span { display: block; margin-top: .2rem; font-size: .9688rem; color: var(--text); }

/* Contact ---------------------------------------------------------------- */
.bd-contact { display: grid; gap: 2.5rem; }
@media (min-width: 992px) { .bd-contact { grid-template-columns: 1fr 1.6fr; gap: 5rem; } }
.bd-contact h2 { font-size: 1.75rem; }
.bd-contact-list { margin-top: 1.5rem; }
.bd-contact-list li { display: flex; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.bd-contact-list li:last-child { border-bottom: 1px solid var(--line); }
.bd-contact-list b { display: block; color: var(--ink); font-weight: 650; }
.bd-contact-list a, .bd-contact-list span { color: var(--text); }
.bd-contact-list a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.bd-contact-hint { margin-top: 1.5rem; font-size: .9375rem; color: var(--muted); }

.bd-formcard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .bd-formcard { padding: 2.25rem; } }
.bd-form { display: grid; gap: 1.1rem; }
@media (min-width: 768px) { .bd-form { grid-template-columns: 1fr 1fr; } .bd-form .is-full { grid-column: 1 / -1; } }
.bd-label { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .9375rem; color: var(--ink); }
.bd-label small { font-weight: 500; color: var(--muted); }
.bd-input {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: .7rem .9rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: #fff;
    font: 400 1rem/1.4 'Figtree', sans-serif;
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.bd-input { min-height: 8.5rem; resize: vertical; }
.bd-input::placeholder { color: #8a94ad; }
.bd-input:hover { border-color: #aab5d2; }
.bd-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(var(--bd-primary-rgb), .18); }
.bd-input.is-invalid { border-color: var(--bad); }
.bd-input.is-invalid:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .16); }
.bd-error { margin-top: .35rem; font-size: .875rem; color: var(--bad); }
.bd-alert { display: flex; gap: .65rem; align-items: flex-start; padding: .9rem 1rem; margin-bottom: 1.25rem; border-radius: var(--radius-sm); font-weight: 500; }
.bd-alert-ok { background: var(--ok-bg); color: #075c3e; }
.bd-alert-bad { background: var(--bad-bg); color: var(--bad); }
.bd-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.bd-form-foot small { color: var(--muted); }

/* Legal pages ------------------------------------------------------------ */
.bd-legal { display: grid; gap: 2rem; padding-block: 3rem 5rem; }
@media (min-width: 992px) { .bd-legal { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; } }
.bd-toc { display: none; }
@media (min-width: 992px) {
    .bd-toc { display: block; position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; }
}
.bd-toc-title { font: 650 .9375rem/1 var(--font-display); color: var(--ink); margin-bottom: .75rem; }
.bd-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.bd-toc a { display: block; padding: .4rem .9rem; margin-left: -1px; border-left: 2px solid transparent; font-size: .9rem; line-height: 1.4; color: var(--muted); }
.bd-toc a:hover { color: var(--ink); }
.bd-toc a.is-current { color: var(--blue); border-left-color: var(--blue); font-weight: 600; }

.bd-prose { max-width: 44rem; font-size: 1.0625rem; line-height: 1.75; }
.bd-prose > * + * { margin-top: 1rem; }
.bd-prose h2 { font-size: 1.5rem; margin-top: 2.75rem; scroll-margin-top: 96px; }
.bd-prose h2 + * { margin-top: .75rem; }
.bd-prose strong { color: var(--ink); font-weight: 650; }
.bd-prose ul { list-style: disc; padding-left: 1.35rem; display: grid; gap: .5rem; }
.bd-prose ul li::marker { color: var(--blue); }
.bd-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.bd-legal-more { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9375rem; }
.bd-legal-more span { color: var(--muted); }

/* Footer ----------------------------------------------------------------- */
.bd-footer { background: #fff; border-top: 1px solid var(--line); }
.bd-footer-grid { display: grid; gap: 2.25rem 2rem; padding-block: 3.5rem 2.5rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 992px) { .bd-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; } }
.bd-footer-brand { grid-column: 1 / -1; }
@media (min-width: 992px) { .bd-footer-brand { grid-column: auto; } }
.bd-footer-brand img { height: 40px; width: auto; }
.bd-footer-brand p { margin-top: 1rem; max-width: 22rem; font-size: .9688rem; color: var(--muted); }
.bd-footer h2 { font: 650 .9375rem/1 var(--font-display); letter-spacing: -.01em; color: var(--ink); margin-bottom: 1rem; }
.bd-footer li + li { margin-top: .15rem; }
.bd-footer li a { display: inline-block; padding-block: .3rem; color: var(--muted); font-size: .9688rem; }
.bd-footer li span { color: var(--muted); font-size: .9688rem; }
.bd-footer li a:hover { color: var(--blue); }
.bd-footer-bar { padding-block: 1.25rem 1.75rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }

/* Motion safety ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .bd-page *, .bd-page *::before, .bd-page *::after {
        transition-duration: .001ms !important;
    }
}

.bd-toc[hidden] { display: none !important; }

/* BizDue Tour ------------------------------------------------------------- */
.bd-tour {
    position: relative;
    padding-block: 3.5rem;
    color: #c9d3f3;
    background:
        repeating-linear-gradient(to bottom, transparent 0, transparent 39px, rgba(255,255,255,.035) 39px, rgba(255,255,255,.035) 40px),
        radial-gradient(60rem 26rem at 100% 0%, rgba(var(--bd-primary-rgb), .38), transparent 70%),
        var(--ink);
}
@media (min-width: 992px) { .bd-tour { padding-block: 5rem; } }

.bd-tour-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-areas: "head" "stage" "chapters";
}
@media (min-width: 992px) {
    .bd-tour-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        grid-template-areas: "head stage" "chapters stage";
        grid-template-rows: auto 1fr;
        column-gap: 3.5rem;
        row-gap: 1.75rem;
    }
}

.bd-tour-head { grid-area: head; align-self: end; }
.bd-tour-head h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); }
.bd-tour-head p { margin-top: 1rem; max-width: 30rem; font-size: 1.0625rem; color: #c9d3f3; }

.bd-tour-stage { grid-area: stage; position: relative; margin: 0; align-self: center; }
.bd-tour-stage video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0e1c52;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--radius);
    box-shadow: 0 40px 80px -36px rgba(0,0,0,.65);
}
.bd-tour-stage figcaption { margin-top: .625rem; font-size: .8125rem; color: #98a6d6; }

/* Play button laid over the poster; it exists only when scripts run, so the native controls always work. */
.bd-tour-play {
    position: absolute;
    left: 50%;
    top: calc(50% - 1rem);
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem 1.5rem .5rem .5rem;
    border: 0;
    border-radius: 99px;
    background: #fff;
    color: var(--ink);
    font: 650 1rem/1 'Figtree', system-ui, sans-serif;
    white-space: nowrap;
    box-shadow: 0 18px 40px -14px rgba(0,0,0,.6);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.bd-tour-play i {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 1.6rem;
    padding-left: .1rem;
}
.bd-tour-play:hover { transform: translate(-50%, -50%) scale(1.03); }
.bd-tour-play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.bd-tour-stage.is-playing .bd-tour-play { display: none; }

.bd-tour-chapters {
    grid-area: chapters;
    align-self: start;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.14);
}
@media (min-width: 992px) { .bd-tour-chapters { grid-template-columns: 1fr; } }
.bd-tour-chapters li { border-bottom: 1px solid rgba(255,255,255,.14); }
.bd-tour-chapters button {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: .875rem;
    width: 100%;
    padding: .6rem .5rem;
    border: 0;
    background: transparent;
    color: #c9d3f3;
    font: 500 .9375rem/1.3 'Figtree', system-ui, sans-serif;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.bd-tour-chapters time { flex: none; width: 2.5rem; font-variant-numeric: tabular-nums; font-size: .8125rem; color: #8fa2e6; }
.bd-tour-chapters button:hover { background: rgba(255,255,255,.06); color: #fff; }
.bd-tour-chapters button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.bd-tour-chapters button.is-current { color: #fff; font-weight: 650; background: rgba(255,255,255,.08); }
.bd-tour-chapters button.is-current::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5rem;
    bottom: .5rem;
    width: 3px;
    border-radius: 3px;
    background: #7fa6ff;
}
.bd-tour-chapters button.is-current time { color: #b9ccff; }

@media (prefers-reduced-motion: reduce) {
    .bd-tour-play, .bd-tour-chapters button { transition: none; }
}
