/* BillionaireSwipe presentation tokens consume Athenian Site Theme Tokens. */
:root {
    --bsw-content: 1180px;
    --bsw-gutter: clamp(1rem, 3vw, 2.25rem);
    --bsw-display: var(--font-display, var(--font-heading, "Plus Jakarta Sans", system-ui, sans-serif));
    --bsw-body: var(--font-body, "DM Sans", system-ui, sans-serif);
}

body.bsw-site {
    background: var(--page-bg, var(--surface-0, #10131d));
    color: var(--text-mid, #d4d9e4);
    font-family: var(--bsw-body);
    font-size: 16px;
    line-height: 1.6;
}

body.bsw-site a {
    color: var(--ctl-c2, #83d9ef);
}

body.bsw-site a:focus-visible,
body.bsw-site button:focus-visible {
    outline: 3px solid var(--focus-ring-strong, var(--ctl-c2, #83d9ef));
    outline-offset: 3px;
}

.bsw-header,
.bsw-footer,
.bsw-section {
    color: var(--text-mid, #d4d9e4);
}

.bsw-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--border, #ffffff24);
    background: color-mix(in oklch, var(--surface-0, #10131d) 92%, transparent);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

.bsw-header__inner,
.bsw-footer__inner,
.bsw-frame {
    width: min(var(--bsw-content), calc(100% - (var(--bsw-gutter) * 2)));
    margin-inline: auto;
}

.bsw-header__inner {
    min-height: 78px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.bsw-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--text-high, #f7f8fc) !important;
    font-family: var(--bsw-display);
    font-weight: 800;
    letter-spacing: -.03em;
    text-decoration: none;
    white-space: nowrap;
}

.bsw-brand img {
    display: block;
    width: clamp(150px, 16vw, 218px);
    height: auto;
    max-height: 46px;
    object-fit: contain;
    object-position: left center;
}

.bsw-nav,
.bsw-actions,
.bsw-footer__links,
.bsw-footer__actions {
    display: flex;
    align-items: center;
    gap: clamp(.75rem, 1.8vw, 1.35rem);
}

.bsw-nav a,
.bsw-footer a {
    color: var(--text-low, #aab2c0);
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}

.bsw-nav a:hover,
.bsw-footer a:hover {
    color: var(--text-high, #f7f8fc);
    transform: translateY(-1px);
}

.bsw-actions .sttm-switcher {
    flex: 0 0 auto;
}

.bsw-actions {
    flex-direction: row;
    margin-left: auto;
}

.bsw-auth-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
}

.bsw-actions .bsw-button--compact {
    font-size: 14px;
}

body.bsw-site a.bsw-sign-out {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding-inline: .25rem;
    color: var(--text-mid);
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .2em;
}

body.bsw-site a.bsw-sign-out:hover {
    color: var(--text-high);
}

.bsw-token-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: .35rem .65rem;
    border: 1px solid var(--border, #ffffff24);
    border-radius: 999px;
    background: color-mix(in oklch, var(--ctl-c1, #8fa33a) 12%, transparent);
    color: var(--ctl-c3, #f4e7b4);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bsw-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .75rem 1.2rem;
    border: 1px solid color-mix(in oklch, var(--ctl-c2, #ddb340) 48%, transparent);
    border-radius: var(--radius, 14px);
    background: var(--btn-bg, linear-gradient(135deg, var(--ctl-c1, #f29ab5), var(--ctl-c2, #83d9ef)));
    box-shadow: var(--btn-shadow, 0 10px 24px rgba(0,0,0,.3));
    color: var(--btn-fg, #10131a) !important;
    font-family: var(--bsw-body);
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none !important;
    transition: transform 160ms ease, filter 160ms ease;
}

.bsw-button:hover {
    filter: saturate(1.08) brightness(1.05);
    transform: translateY(-2px);
}

.bsw-button--compact {
    min-height: 40px;
    padding: .6rem .9rem;
    border-radius: calc(var(--radius, 14px) - 4px);
    font-size: .9rem;
}

body.bsw-site a.bsw-button--outline, body.bsw-site .bs-bill-workspace button.bsw-button--outline {
    background: color-mix(in oklch, var(--ctl-c2) 6%, var(--surface-0));
    color: var(--ctl-c2) !important;
    border-color: var(--ctl-c2);
    box-shadow: none;
}
.bsw-header__inner > .bsw-actions { width: auto; flex-shrink: 0; }
.bsw-nav a { white-space: nowrap; }

.bsw-paths-section { background: var(--surface-1); }
.bsw-paths-section .bsw-section__heading { max-width: 850px; }
.bsw-paths-section .bsw-section__heading > p { font-size: 16px; }
.bsw-paths-section .bsw-section__heading > p.bsw-kicker { font-size: 14px; }
.bsw-path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bsw-path-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--border);
    border-top: 3px solid var(--ctl-c1);
    border-radius: var(--radius-lg);
    background: var(--surface-0);
    font-size: 16px;
}
.bsw-path-card--giving { border-top-color: var(--ctl-c2); background: linear-gradient(145deg, color-mix(in oklch, var(--ctl-c2) 8%, transparent), transparent 65%), var(--surface-0); }
.bsw-path-label {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--ctl-c3);
    font: 700 13px/1.4 var(--font-ui, var(--bsw-body));
    letter-spacing: .07em;
    text-transform: uppercase;
}
.bsw-path-card h3 { max-width: 20ch; margin: 0 0 16px; color: var(--text-high); font: 800 clamp(28px, 3vw, 38px)/1.1 var(--bsw-display); letter-spacing: -.04em; }
.bsw-path-card > p { margin: 0; color: var(--text-mid); }
.bsw-path-card ul { margin: 24px 0 32px; padding-left: 20px; color: var(--text-low); }
.bsw-path-card li { padding-left: 4px; margin-block: 8px; }
.bsw-path-card .bsw-button { margin-top: auto; font-size: 16px; }
.bsw-path-hero { background: radial-gradient(ellipse at 95% 0%, color-mix(in oklch, var(--ctl-c2) 13%, transparent), transparent 60%), var(--page-bg); }
.bsw-path-hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(290px, .8fr); gap: 60px; align-items: center; }
.bsw-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; color: var(--text-low); font-size: 14px; }
.bsw-path-hero .bsw-kicker { font-size: 14px; }
.bsw-path-title { max-width: 14ch; margin: 0; color: var(--text-high); font: 800 clamp(38px, 4.5vw, 66px)/1.04 var(--bsw-display); letter-spacing: -.055em; }
.bsw-path-title em { color: var(--ctl-c2); font-style: normal; }
.bsw-path-lede { max-width: 53ch; margin: 24px 0 0; font-size: 18px; line-height: 1.65; color: var(--text-mid); }
.bsw-path-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; font-size: 16px; }
.bsw-text-link { text-underline-offset: 4px; }
.bsw-path-status { padding: 30px; border: 1px solid var(--border); border-top: 3px solid var(--ctl-c2); border-radius: var(--radius-lg); background: var(--surface-1); font-size: 16px; }
.bsw-path-status h2 { margin: 0 0 18px; color: var(--text-high); font: 700 26px/1.2 var(--bsw-display); letter-spacing: -.03em; }
.bsw-path-status p { margin: 0 0 18px; }
.bsw-path-process, .bsw-path-prepare { scroll-margin-top: 24px; }
.bsw-path-section-heading { max-width: 800px; }
.bsw-path-section-heading h2 { font-size: clamp(30px, 3.5vw, 44px); }
.bsw-path-section-heading p, .bsw-path-section-heading .bsw-kicker { font-size: 16px; }
.bsw-path-section-heading .bsw-kicker { margin-bottom: 16px; font-size: 14px; }
.bsw-path-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bsw-path-steps > li { border-top: 3px solid var(--ctl-c1); padding: 24px 20px; background: var(--surface-1); border-radius: 0 0 var(--radius) var(--radius); font-size: 16px; }
.bsw-path-steps h3 { margin: 0 0 16px; color: var(--text-high); font: 700 20px/1.25 var(--bsw-display); }
.bsw-path-steps p { margin: 0; color: var(--text-mid); }
.bsw-path-prepare { background: var(--surface-1); }
.bsw-path-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; font-size: 16px; }
.bsw-path-checklist h2, .bsw-path-faq > h2 { color: var(--text-high); margin: 0 0 24px; font: 700 30px/1.15 var(--bsw-display); letter-spacing: -.035em; }
.bsw-path-checklist .bsw-kicker { margin-bottom: 18px; font-size: 14px; }
.bsw-path-checklist > p { margin: 0 0 24px; }
.bsw-path-checklist ul { padding-left: 20px; margin: 0 0 24px; }
.bsw-path-checklist li { margin-block: 12px; }
.bsw-path-availability { padding: 18px; border-left: 3px solid var(--ctl-c2); background: var(--surface-0); color: var(--text-low); }
.bsw-path-faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.bsw-path-faq summary { padding-right: 12px; color: var(--text-high); font-weight: 700; cursor: pointer; }
.bsw-path-faq summary:focus-visible { outline: 3px solid var(--ctl-c2); outline-offset: 5px; }
.bsw-path-faq details p { margin: 16px 0 0; color: var(--text-mid); }
.bsw-path-switch { text-align: center; }
.bsw-path-switch h2 { margin: 0 0 24px; color: var(--text-high); font: 700 clamp(26px, 3vw, 36px)/1.15 var(--bsw-display); }
.bsw-path-switch .bsw-button { font-size: 16px; }

@media (max-width: 900px) {
    .bsw-path-hero__grid { grid-template-columns: 1fr; gap: 32px; }
    .bsw-path-title { max-width: 18ch; }
    .bsw-path-steps { grid-template-columns: 1fr 1fr; }
    .bsw-path-detail-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 620px) {
    .bsw-path-grid, .bsw-path-steps { grid-template-columns: 1fr; }
    .bsw-path-card, .bsw-path-status { padding: 24px; }
    .bsw-path-card h3 { max-width: none; }
    .bsw-path-lede { font-size: 16px; }
}

.bsw-section {
    padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.bsw-hero {
    position: relative;
    overflow: hidden;
    padding-top: clamp(4.5rem, 10vw, 8.5rem);
    background:
        radial-gradient(circle at 82% 12%, color-mix(in oklch, var(--ctl-c2, #ddb340) 24%, transparent), transparent 34%),
        radial-gradient(circle at 12% 34%, color-mix(in oklch, var(--ctl-c1, #8fa33a) 22%, transparent), transparent 35%),
        var(--page-bg, var(--surface-0, #10131d));
}

.bsw-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
}

.bsw-kicker {
    margin: 0 0 1rem;
    color: var(--ctl-c2, #ddb340);
    font-family: var(--font-ui, var(--bsw-body));
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.bsw-title {
    max-width: 10ch;
    margin: 0;
    color: var(--text-high, #f7f8fc);
    font-family: var(--bsw-display);
    font-size: clamp(3rem, 7vw, 6.9rem);
    font-weight: 800;
    letter-spacing: -.075em;
    line-height: .94;
}

.bsw-title em {
    color: var(--ctl-c2, #ddb340);
    font-style: normal;
}

.bsw-lede {
    max-width: 58ch;
    margin: 1.6rem 0 0;
    color: var(--text-low, #aab2c0);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.bsw-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .8rem;
    margin-top: 2rem;
}

.bsw-hero__note {
    margin: 1rem 0 0;
    color: var(--text-low, #aab2c0);
    font-size: .88rem;
}

/* The real heading keeps its layout and accessible text throughout the effect. */
.bsw-hero .bsw-title {
    position: relative;
    isolation: isolate;
}

.bsw-dissolve-text {
    color: inherit;
    transition: color 420ms ease;
}

.bsw-dissolve-text.is-dissolving {
    color: transparent;
    transition: none;
}

.bsw-dissolve-canvas {
    position: absolute;
    z-index: 1;
    max-width: none;
    pointer-events: none;
}

.bsw-dissolve-replay {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .55rem .8rem;
    border: 1px solid var(--border, #ffffff24);
    border-radius: var(--radius, 14px);
    background: var(--surface-1, #171c10);
    color: var(--text-mid, #d9ddc7);
    font: 600 .875rem/1.3 var(--bsw-body);
    cursor: pointer;
}

.bsw-dissolve-replay:hover {
    border-color: var(--ctl-c2, #ddb340);
    color: var(--ctl-c2, #ddb340);
}

.bsw-dissolve-replay:disabled {
    opacity: .6;
    cursor: default;
}

.bsw-dissolve-replay[hidden] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .bsw-dissolve-text.is-dissolving {
        color: inherit;
    }
    .bsw-dissolve-text {
        transition: none;
    }
    .bsw-dissolve-canvas,
    .bsw-dissolve-replay {
        display: none;
    }
}

.bsw-signal-card {
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--border, #ffffff24);
    border-radius: var(--radius-lg, 20px);
    background:
        linear-gradient(160deg, color-mix(in oklch, var(--ctl-c1, #8fa33a) 18%, transparent), transparent 45%),
        linear-gradient(330deg, color-mix(in oklch, var(--ctl-c2, #ddb340) 11%, transparent), transparent 58%),
        var(--surface-1, #171923);
    box-shadow: var(--drop-md, 0 16px 32px rgba(0,0,0,.3)), 0 0 0 1px color-mix(in oklch, var(--ctl-c2, #ddb340) 12%, transparent);
}

.bsw-signal-card__top,
.bsw-signal-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.bsw-signal-card__eyebrow,
.bsw-signal-card__meta {
    color: var(--text-low, #aab2c0);
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bsw-signal-card__dot {
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: var(--ctl-c2, #ddb340);
    box-shadow: 0 0 0 .35rem color-mix(in oklch, var(--ctl-c2, #ddb340) 18%, transparent);
}

.bsw-signal-card__headline {
    max-width: 9ch;
    margin: 0;
    color: var(--text-high, #f7f8fc);
    font-family: var(--bsw-display);
    font-size: clamp(2.2rem, 5vw, 4.7rem);
    font-weight: 800;
    letter-spacing: -.07em;
    line-height: .95;
}

.bsw-signal-card__bars {
    display: grid;
    gap: .7rem;
}

.bsw-signal-card__bars span {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ctl-c1, #8fa33a), var(--ctl-c2, #ddb340));
}

.bsw-signal-card__bars span:nth-child(2) { width: 76%; }
.bsw-signal-card__bars span:nth-child(3) { width: 52%; }

/* Printed bill artwork: 17 / 22 is US Letter (8.5 × 11 in), scaled to fit. */
.bsw-bill-artwork { min-width: 0; width: 100%; }
.bsw-bill-demo {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-family: var(--bsw-body);
}
.bsw-bill-demo__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 6px;
    color: var(--text-mid);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.bsw-bill-demo__badge {
    padding: 5px 8px;
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--ctl-c3);
    font-size: 11px;
    letter-spacing: .03em;
}
.bsw-bill-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.3;
    container-type: inline-size;
    isolation: isolate;
}
.bsw-bill-stage__empty {
    position: absolute;
    inset: 24% 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-mid);
    text-align: center;
    font-size: 20px;
}
.bsw-bill-stage__empty strong {
    color: var(--ctl-c2);
    font-family: var(--bsw-display);
    font-size: clamp(26px, 8cqw, 38px);
    letter-spacing: -.04em;
}
.bsw-bill-slot {
    position: absolute;
    top: 13%;
    left: 10%;
    width: 76%;
    aspect-ratio: 17 / 22;
    transform-origin: 50% 75%;
    transition: transform 600ms ease;
}
.bsw-bill-slot[data-depth="0"] { z-index: 3; transform: rotate(-3deg); }
.bsw-bill-slot[data-depth="1"] { z-index: 2; transform: translate(6%, -6%) rotate(4deg); }
.bsw-bill-slot[data-depth="2"] { z-index: 1; transform: translate(10%, -12%) rotate(9deg); }
.bsw-bill-slot[hidden] { display: none; }
.bsw-bill-stage.is-restacking { animation: bsw-bill-restack 550ms ease-out both; }
@keyframes bsw-bill-restack {
    from { opacity: 0; }
    to { opacity: 1; }
}
.bsw-bill {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 6.5%;
    border: 1px solid #d9dce0;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 15px 30px #0005, 0 1px 3px #0003;
    color: #29323b;
    font: 400 clamp(6px, 1.7cqw, 8px)/1.4 Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}
.bsw-bill p, .bsw-bill h2 { margin: 0; }
.bsw-bill__provider {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 2%;
    border-bottom: 2px solid #293d48;
}
.bsw-bill__provider div, .bsw-bill__account > div,
.bsw-bill__balance > div, .bsw-bill__stub > div { display: flex; flex-direction: column; }
.bsw-bill__provider strong { font-size: 1.4em; line-height: 1.15; }
.bsw-bill__provider div > span { margin-top: 3px; color: #69747d; font-size: .7em; letter-spacing: .05em; }
.bsw-bill__monogram {
    display: grid;
    flex: 0 0 2.6em;
    place-items: center;
    width: 2.6em;
    height: 2.6em;
    border: 1px solid #4e6a79;
    border-radius: 4px;
    color: #34505e;
    font-size: 1.1em;
    font-weight: 700;
}
.bsw-bill-slot[data-bill-kind="Mortgage"] .bsw-bill__monogram { color: #56613d; border-color: #899474; }
.bsw-bill-slot[data-bill-kind="Auto"] .bsw-bill__monogram { color: #68523b; border-color: #ae987b; }
.bsw-bill__title h2 { color: #26333e; font: 700 1.4em/1.25 Arial, Helvetica, sans-serif; }
.bsw-bill__title > span { display: block; margin-top: 4px; color: #66737b; font-size: .72em; letter-spacing: .08em; }
.bsw-bill__account { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bsw-bill__account strong { margin: 2px 0; }
.bsw-bill__account > div > span:first-child { color: #63717a; font-size: .75em; letter-spacing: .04em; }
.bsw-bill__balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 3%;
    border: 1px solid #d3dce1;
    background: #f0f4f6;
}
.bsw-bill__balance span { font-size: .75em; letter-spacing: .06em; }
.bsw-bill__balance > div:first-child > strong { color: #203644; font-size: 3em; line-height: 1.15; letter-spacing: -.04em; }
.bsw-bill__balance > div:last-child { text-align: right; }
.bsw-bill__balance > div:last-child > strong { margin-top: 4px; font-size: 1.05em; }
.bsw-bill__details > strong { display: block; font-size: 1.05em; }
.bsw-bill__details > span { display: block; margin: 1px 0 6px; color: #64737d; font-size: .8em; }
.bsw-bill__row { display: flex; justify-content: space-between; gap: 8px; padding: 1% 0; border-bottom: 1px solid #e5e9eb; }
.bsw-bill__row > :last-child { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.bsw-bill__row--label { padding: 1% 3%; background: #eef1f3; color: #53636e; font-size: .85em; }
.bsw-bill__row--total { border-bottom: 0; padding-bottom: 0; }
.bsw-bill__notice { margin: 2% 0; color: #77818a; font-size: .73em; }
.bsw-bill__stub { display: flex; justify-content: space-between; gap: 8px; padding-top: 3%; border-top: 1px dashed #9ba6ad; font-size: .75em; }
.bsw-bill__stub > div > strong { margin-bottom: 3px; }
.bsw-bill__stub > div:last-child { text-align: right; }
.bsw-bill__stub > div:last-child > strong { font-size: 1.5em; margin: 2px 0; }
.bsw-bill-fragments { position: absolute; z-index: 4; max-width: none; pointer-events: none; }
.bsw-bill-demo__controls { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; z-index: 5; }
.bsw-bill-demo__play {
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid var(--ctl-c2);
    border-radius: 8px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font: 700 14px/1.3 var(--bsw-body);
    cursor: pointer;
}
.bsw-bill-demo__play:disabled { cursor: default; opacity: .7; }
.bsw-bill-demo__play[hidden] { display: none; }
.bsw-bill-demo__status { min-height: 20px; margin: 0; color: var(--text-mid); font-size: 13px; text-align: center; }
.bsw-bill-demo__caption { margin: 12px 0 0; color: var(--text-low); font-size: 11px; text-align: center; }
.bsw-bill-demo__header, .bsw-bill-demo__caption, .bsw-bill-demo__status { display: none; }
/* Keep a keyboard-accessible pause without visible animation chrome. */
.bsw-bill-demo__controls { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bsw-bill-demo__controls:focus-within { bottom: 0; left: 25%; width: auto; height: auto; overflow: visible; clip-path: none; }

/* One full-width gesture ties the fictional profile to the current bill. */
.bsw-demo-swipe { position: relative; z-index: 5; width: 80%; margin: -17% auto 0; }
.bsw-demo-swipe[hidden] { display: none; }
.bsw-demo-swipe__heading {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.bsw-demo-swipe__heading:focus-within {
    z-index: 6;
    top: 8px;
    right: 8px;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
}
.bsw-demo-swipe__heading:focus-within > span { display: none; }
.bsw-demo-swipe .bsw-bill-demo__play {
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #ddb340;
    border-radius: 6px;
    background: #17200e;
    box-shadow: none;
    color: var(--ctl-c2, #ddb340);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-color: #ddb34066;
    text-underline-offset: 4px;
}
.bsw-demo-swipe__track {
    --swipe-x: 0px;
    --swipe-progress: 0;
    position: relative;
    width: 100%;
    height: 72px;
    overflow: hidden;
    border: 1px solid #a7b55b7a;
    border-radius: 999px;
    background: linear-gradient(110deg, #263016, #182010 65%, #222711);
    box-shadow: inset 0 1px 0 #ffffff0d, 0 14px 36px #0003;
    isolation: isolate;
}
.bsw-demo-swipe__fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #8fa33a66, #ddb34045);
    transform: scaleX(var(--swipe-progress));
    transform-origin: left;
    pointer-events: none;
}
.bsw-demo-swipe__label {
    position: absolute;
    inset: 0 20px 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: calc(1 - var(--swipe-progress) * 1.5);
    pointer-events: none;
}
.bsw-demo-swipe__avatar {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 2px solid #e9c86780;
    border-radius: 50%;
    object-fit: cover;
    background: #8fa33a;
}
.bsw-demo-swipe__label > span { min-width: 0; max-width: 100%; }
.bsw-demo-swipe__name { display: block; margin-bottom: 0; color: #d2d9c6; font-size: 14px; line-height: 1.15; }
.bsw-demo-swipe__bill { display: block; color: #f9f6e8; font: 700 16px/1.2 var(--bsw-display); letter-spacing: -.025em; }
.bsw-demo-swipe__recipient { display: flex; align-items: baseline; gap: 6px; max-width: 100%; margin-top: 2px; color: #bfc8ad; font-size: 12px; line-height: 1.25; }
.bsw-demo-swipe__business { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bsw-demo-swipe__account { flex: 0 0 auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bsw-demo-swipe__handle {
    position: absolute;
    z-index: 2;
    top: 8px;
    left: 8px;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid #edce78;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9cc77, #cfa83c);
    box-shadow: 0 3px 12px #0004, inset 0 1px 0 #fff6;
    color: #283013;
    transform: translateX(var(--swipe-x));
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.bsw-demo-swipe__handle svg { width: 26px; height: 26px; pointer-events: none; }
.bsw-demo-swipe__arrow {
    opacity: 1;
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity 160ms ease, transform 200ms ease;
}
.bsw-demo-swipe__check { opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 0; transition: opacity 160ms ease; }
.bsw-demo-swipe__track[data-state="complete"] .bsw-demo-swipe__arrow { opacity: 0; transform: translateX(3px) scale(.85); }
.bsw-demo-swipe__track[data-state="complete"] .bsw-demo-swipe__check { opacity: 1; animation: bsw-demo-check-draw 420ms cubic-bezier(.22, 1, .36, 1) both; }
@keyframes bsw-demo-check-draw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}
.bsw-demo-swipe__handle:active { cursor: grabbing; }
.bsw-demo-swipe__track[data-state="dragging"] { border-color: #e9c867; }
.bsw-demo-swipe__track[data-state="complete"] { border-color: #bdcb6f; }
.bsw-demo-swipe__track[data-state="complete"] .bsw-demo-swipe__handle { background: #b6c665; border-color: #d4e18e; }
.bsw-demo-swipe__track::after {
    content: "Payment Sent!";
    position: absolute;
    inset: 0 78px 0 20px;
    display: grid;
    place-items: center;
    opacity: 0;
    color: #e1edb4;
    font: 700 18px/1.35 var(--bsw-display);
    text-align: center;
    pointer-events: none;
}
.bsw-demo-swipe__track[data-state="complete"]::after { opacity: 1; animation: bsw-demo-payment-sent 520ms cubic-bezier(.16, 1, .3, 1) both; }
@keyframes bsw-demo-payment-sent {
    0% { opacity: 0; transform: translateY(5px) scale(.96); }
    65% { opacity: 1; transform: translateY(-1px) scale(1.015); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.bsw-demo-swipe__footer { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bsw-demo-swipe__footer p { margin: 0; color: var(--text-low, #b0b9a4); font-size: 13px; line-height: 1.5; }
.bsw-demo-swipe__footer .bsw-demo-swipe__hint { color: var(--text-mid, #d4d9c9); font-size: 14px; }
.bsw-bill-demo > .bsw-bill-demo__status {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
@media (max-width: 480px) {
    .bsw-demo-swipe__track { height: 68px; }
    .bsw-demo-swipe__handle { width: 50px; height: 50px; }
    .bsw-demo-swipe__label { inset-inline: 72px 14px; gap: 9px; }
    .bsw-demo-swipe__avatar { width: 32px; height: 32px; transform: translateY(-7px); }
    .bsw-demo-swipe__label > span { flex: 1; }
    .bsw-demo-swipe__name { font-size: 14px; line-height: 1.1; }
    .bsw-demo-swipe__bill { font-size: 15px; line-height: 1.1; }
    .bsw-demo-swipe__recipient { width: calc(100% + 41px); max-width: none; margin-left: -41px; margin-top: 1px; font-size: 11px; line-height: 1.15; gap: 4px; }
    .bsw-demo-swipe__heading { font-size: 15px; }
    .bsw-demo-swipe__track::after { inset-inline: 16px 72px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .bsw-demo-swipe__track[data-state="complete"]::after { animation: none; transform: none; }
    .bsw-demo-swipe__arrow, .bsw-demo-swipe__check { transition: none; }
    .bsw-demo-swipe__track[data-state="complete"] .bsw-demo-swipe__check { animation: none; stroke-dashoffset: 0; }
}

.bs-portal { width: 100%; color: var(--text-mid); font-size: 16px; line-height: 1.6; }
.bs-portal > h1 { max-width: 22ch; margin: 0 0 24px; color: var(--text-high); font: 800 clamp(32px,4vw,54px)/1.08 var(--bsw-display); letter-spacing: -.045em; }
.bs-portal > p { max-width: 78ch; margin-bottom: 24px; }
.bs-portal .bsw-kicker { font-size: 14px; }
.bs-portal-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 28px; align-items: start; margin-top: 32px; }
.bs-social-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0; }
.bs-social-buttons p { margin: 0; }
.login .bs-social-buttons { display: grid; font-size: 14px; }
.login .bs-social-button { text-align: center; box-sizing: border-box; }
.bs-social-privacy { display: block; margin: 0 0 20px; font-size: 13px; }
.bs-policy { max-width: 800px; padding-block: 48px; font-size: 16px; line-height: 1.75; }
.bs-policy h1 { font-size: clamp(36px, 5vw, 56px); }
.bs-policy h2 { margin: 36px 0 16px; font-size: 26px; color: var(--text-high); }
.bs-bill-workspace { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.bs-bill-workspace > p { max-width: 78ch; }
.bs-bill-workspace h2 { font-size: clamp(28px, 3vw, 38px); }
.bs-bill-list, .bs-swipe-grid { display: grid; gap: 24px; margin-top: 24px; }
.bs-swipe-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.bs-member-bill { min-width: 0; }
.bs-bill-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.bs-portal .bs-bill-top h3, .bs-portal .bs-swipe-card h3 { margin: 0; }
.bs-bill-status { display: inline-block; padding: 5px 10px; border-radius: 100px; background: color-mix(in srgb, var(--ctl-c1) 18%, transparent); color: var(--text-high); font-size: 12px; font-weight: 700; }
.bs-bill-workspace .bs-bill-amount { color: var(--text-high); font: 800 clamp(30px, 4vw, 44px)/1.15 var(--bsw-display); letter-spacing: -.035em; margin: 20px 0 12px; }
.bs-swipe-card { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(150deg, color-mix(in srgb, var(--ctl-c1) 10%, var(--surface-1)), var(--surface-1)); }
.bs-swipe-card p { margin: 0; overflow-wrap: anywhere; }
.bs-swipe-card .bs-portal-actions { margin-top: auto; padding-top: 16px; }
.bs-portal-actions button { cursor: pointer; }
.bs-bill-workspace summary { cursor: pointer; color: var(--text-high); font-weight: 700; padding-block: 10px; }
.bs-new-bill > summary { font-size: 22px; }
.bs-new-bill[open] > summary { margin-bottom: 18px; }
.bs-bill-upload, .bs-member-bill details[open] > form { margin-block: 24px; }
.bs-bill-withdraw { margin-top: 22px; font-size: 14px; }
.bs-document-list { list-style: none; padding: 0; margin: 20px 0; }
.bs-document-list li { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding-block: 8px; }
.bs-text-button { appearance: none; background: none; border: 0; color: var(--ctl-c2); text-decoration: underline; font: inherit; padding: 6px 0; cursor: pointer; }
.bs-bill-pagination { display: flex; gap: 24px; margin-top: 20px; }
.bs-reset-passes { margin-top: 18px; }
.bs-bill-workspace input[type=file] { max-width: 100%; font-size: 14px; }
.bs-bill-workspace input[type=date] { color-scheme: dark; }
.bs-swipe-hint { color: var(--text-low); font-size: 12px; }
.bs-swipe-card[data-bs-swipe] { touch-action: pan-y; }
.bs-portal-panel, .bs-portal--registration > .bs-portal-grid > form { padding: clamp(24px,3vw,36px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-1); }
.bs-portal h2 { color: var(--text-high); font: 700 26px/1.2 var(--bsw-display); margin: 0 0 20px; letter-spacing: -.025em; }
.bs-portal h3 { color: var(--text-high); font: 700 20px/1.3 var(--bsw-display); margin: 28px 0 16px; }
.bs-portal-panel p { margin: 0 0 20px; }
.bs-portal-form { display: grid; gap: 20px; }
.bs-portal-form label { display: grid; gap: 8px; color: var(--text-high); font-weight: 600; }
.bs-portal-form input:not([type=checkbox]), .bs-portal-form select, .bs-portal-form textarea { box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface-0); color: var(--text-high); font: 400 16px/1.4 var(--bsw-body); }
.bs-portal-form input:focus-visible, .bs-portal-form select:focus-visible { outline: 2px solid var(--ctl-c2); outline-offset: 3px; }
.bs-portal-form small { color: var(--text-low); font-size: 14px; font-weight: 400; }
.bs-portal .bsw-button { font-size: 16px; cursor: pointer; }
.bs-portal-form .bs-check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; }
.bs-check input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ctl-c2); }
.bs-portal-form fieldset { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--border); border-radius: 7px; }
.bs-portal-form legend { padding-inline: 6px; color: var(--text-high); }
.bs-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bs-portal-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-block: 24px; }
.bs-portal-notice { padding: 18px 20px; border-left: 3px solid var(--ctl-c2); background: var(--surface-2); }
.bs-portal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 16px; }
.bs-portal-meta span { padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; color: var(--ctl-c3); font-size: 14px; }
.bs-account-session { overflow-wrap: anywhere; color: var(--text-low); }
.bs-account-switcher { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.bs-account-switcher .bsw-button { font-size: 14px; }
.bs-account-switcher [aria-current="page"] { outline: 2px solid var(--ctl-c2); outline-offset: 3px; }
.bs-email-panel { margin-top: 28px; }
.bs-verification-state { color: var(--ctl-c2); font-weight: 700; }
.bs-review-checks { padding-left: 20px; margin-bottom: 24px; }
.bs-review-checks li { margin-block: 8px; }
.bs-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) {
    .bs-portal-grid, .bs-form-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .bsw-bill-slot { transition: none; }
    .bsw-bill-stage.is-restacking { animation: none; }
    .bsw-bill-fragments { display: none; }
}

.bsw-section__heading {
    max-width: 680px;
    margin-bottom: 2rem;
}

.bsw-section__heading h2 {
    margin: 0;
    color: var(--text-high, #f7f8fc);
    font-family: var(--bsw-display);
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: -.06em;
    line-height: 1;
}

.bsw-section__heading p {
    margin: 1rem 0 0;
    color: var(--text-low, #aab2c0);
}

.bsw-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.bsw-card {
    position: relative;
    min-height: 210px;
    padding: 1.35rem;
    border: 1px solid var(--border, #ffffff24);
    border-radius: var(--radius, 14px);
    background:
        linear-gradient(145deg, color-mix(in oklch, var(--ctl-c1, #8fa33a) 10%, transparent), transparent 56%),
        var(--surface-1, #171923);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.bsw-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    border-radius: var(--radius, 14px) var(--radius, 14px) 0 0;
    background: linear-gradient(90deg, var(--ctl-c1, #8fa33a), var(--ctl-c2, #ddb340));
    opacity: .8;
}

.bsw-card:hover {
    border-color: color-mix(in oklch, var(--ctl-c2, #ddb340) 42%, transparent);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .2);
    transform: translateY(-3px);
}

.bsw-card strong {
    display: block;
    margin-bottom: .75rem;
    color: var(--text-high, #f7f8fc);
    font-family: var(--bsw-display);
    font-size: 1.15rem;
}

.bsw-card p {
    margin: 0;
    color: var(--text-low, #aab2c0);
}

/* Journey artwork stays decorative; the copy remains readable without images. */
.bsw-card.bsw-journey-card {
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 96px;
    min-height: 330px;
    padding: 26px;
    background: #11190c;
}

.bsw-journey-card::before { z-index: 2; }

.bsw-journey-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 19, 8, .28) 0%, rgba(12, 19, 8, .67) 38%, rgba(12, 19, 8, .96) 75%);
}

.bsw-journey-card .bsw-journey-card__image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    filter: saturate(.45);
}

.bsw-journey-card--support .bsw-journey-card__image { object-position: 45% 55%; }

.bsw-journey-card__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border: 1px solid #ddb34073;
    border-radius: 16px;
    background: rgba(15, 23, 9, .88);
    color: #e9c867;
    box-shadow: 0 4px 20px #0003;
}

.bsw-journey-card__icon > span {
    display: block;
    width: 30px;
    height: 30px;
    background: currentColor;
    -webkit-mask: var(--bsw-journey-icon) center / contain no-repeat;
    mask: var(--bsw-journey-icon) center / contain no-repeat;
}

.bsw-journey-card .bsw-journey-card__copy h3 {
    margin: 0 0 12px;
    color: #f7f8ef;
    font-family: var(--bsw-display);
    font-size: 22px;
    font-size: 1.375em;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.bsw-journey-card .bsw-journey-card__copy p {
    color: #d8ddcf;
    font-size: 16px;
    font-size: 1em;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .bsw-card.bsw-journey-card { min-height: 290px; gap: 56px; }
}

@media (prefers-reduced-motion: reduce) {
    .bsw-card.bsw-journey-card { transition: none; }
    .bsw-card.bsw-journey-card:hover { transform: none; }
}

.bsw-profile-section {
    background: var(--surface-1, #171923);
}

.bsw-profile-shell,
.bsw-inbox-shell {
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid var(--border, #ffffff24);
    border-radius: var(--radius-lg, 20px);
    background: var(--surface-0, #10131d);
}

.bsw-footer {
    border-top: 1px solid var(--border, #ffffff24);
    background: var(--surface-0, #10131d);
}

.bsw-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(120px, 1fr));
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: 3rem 0 2rem;
}

.bsw-footer__brand p {
    max-width: 34ch;
    margin: 1rem 0 0;
    color: var(--text-low, #aab2c0);
}

.bsw-footer__column strong {
    display: block;
    margin-bottom: .75rem;
    color: var(--text-high, #f7f8fc);
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bsw-footer__column a {
    display: block;
    margin: .5rem 0;
}

.bsw-footer__legal {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border, #ffffff24);
    color: var(--text-low, #aab2c0);
    font-size: .86rem;
}

@media (max-width: 900px) {
    .bsw-header__inner { flex-wrap: wrap; gap: 12px; padding-block: 12px; }
    .bsw-header__inner > nav { order: 3; flex: 1 0 100%; }
    .bsw-header__inner > .bsw-actions { margin-left: auto; }
    .bsw-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }
    .bsw-hero__grid { grid-template-columns: 1fr; }
    .bsw-signal-card { min-height: 300px; }
    .bsw-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .bsw-header__inner { min-height: 68px; }
    .bsw-brand img { width: 160px; }
    .bsw-actions .sttm-switcher { display: none; }
    .bsw-actions .bsw-token-badge { display: none; }
    .bsw-title { max-width: 12ch; }
    .bsw-footer__inner { grid-template-columns: 1fr 1fr; }
    .bsw-footer__brand,
    .bsw-footer__legal { grid-column: 1 / -1; }
}

