/* B.Accountable funnel: checkout lightbox + offer pages. Pairs with /ba-journal-sales.css tokens. */
.btn--ghost { background: #fff; color: var(--purple-800); border: 2px solid #e3d2ea; box-shadow: none; }
.btn--ghost:hover { box-shadow: 0 8px 18px rgba(72, 16, 101, .12); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.ba-pick { display: grid; gap: 12px; margin: 6px 0 12px; }
.ba-pick-yearly { border: 1px dashed #e0cfe8; border-radius: 14px; padding: 12px 14px 14px; background: #fbf7fd; }
.ba-pick-yearly p { margin: 0 0 10px; font-size: .86rem; color: var(--purple-800); }
.ba-pick-yearly p span { color: var(--muted); font-size: .8rem; }

/* Lightbox */
html.ba-modal-open, html.ba-modal-open body { overflow: hidden; }
.ba-modal[hidden] { display: none; }
.ba-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 14px; overflow-y: auto; }
.ba-modal__backdrop { position: fixed; inset: 0; background: rgba(28, 6, 40, .72); backdrop-filter: blur(3px); }
.ba-modal__panel { position: relative; width: min(560px, 100%); margin: auto 0; animation: baPop .22s ease-out; }
@keyframes baPop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.ba-modal__close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f4ecf7; color: var(--purple-800); font-size: 1.5rem; line-height: 1; display: grid; place-items: center; }
.ba-modal__close:hover { background: #ead9f1; }
.ba-choice { border: 0; padding: 0; margin: 4px 0 12px; display: grid; gap: 8px; }
.ba-choice legend { font-size: .8rem; font-weight: 800; color: var(--purple-800); margin-bottom: 6px; padding: 0; }
.ba-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; border: 2px solid #eadff0; border-radius: 13px; padding: 11px 13px; cursor: pointer; background: #fff; }
.ba-opt:has(input:checked) { border-color: var(--orange); background: #fff8f3; }
.ba-opt:has(input:disabled) { cursor: not-allowed; opacity: .72; background: #faf7fb; }
.ba-opt input { accent-color: var(--orange-dark); width: 18px; height: 18px; margin: 0; }
.ba-opt__txt b { display: block; color: var(--purple-800); font-size: .95rem; }
.ba-opt__txt small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.35; }
.ba-opt__price { font-weight: 800; color: var(--orange-dark); font-size: 1.05rem; white-space: nowrap; }
.ba-bump { border: 2px dashed #ffb27e; background: #fff8f1; border-radius: 13px; padding: 11px 13px; margin: 4px 0 10px; }
.ba-bump__row { display: flex; gap: 10px; align-items: flex-start; }
.ba-bump__row input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--orange-dark); }
.ba-bump__row b { display: block; color: var(--purple-800); font-size: .92rem; }
.ba-bump__row small { display: block; color: var(--muted); font-size: .76rem; }
.ba-bump__soon { margin: 6px 0 0 28px; font-size: .72rem; font-weight: 700; color: #a3521f; }
.ba-modal .order-card #commas-checkout, .ba-modal #commas-checkout { min-height: 280px; margin-top: 6px; }
.ba-modal #commas-checkout[aria-busy="true"]::before { content: "Loading secure checkout…"; display: block; color: #776a7c; font-size: .85rem; font-weight: 600; padding: 24px 8px; text-align: center; }
.ba-modal .lm-form { display: grid; gap: 7px; margin: 4px 0 10px; }
.ba-modal .lm-form label { font-size: .8rem; font-weight: 700; color: var(--purple-800); }
.ba-modal .lm-form input:not([type=checkbox]):not([type=radio]) { width: 100%; border: 1px solid #e5d6eb; border-radius: 10px; padding: 11px 12px; font: 500 .95rem var(--body); background: #fff; color: #2a1433; }
.ba-modal .lm-form label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; font-size: .72rem; color: #5a4a60; line-height: 1.4; }
.ba-modal .lm-form label.check input { margin-top: 3px; flex-shrink: 0; }
.ba-modal .lm-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.ba-modal .lm-form .err, .ba-modal [data-checkout-msg] { color: #9b2d1a; font-size: .75rem; }
.ba-modal .lm-form .fine { font-size: .72rem; margin: 4px 0 0; }
.ba-modal .lm-form .fine a { color: var(--purple-700); }

/* Offer pages (upsells / downsell / thank-you) */
.oto-top { background: #fff; border-bottom: 1px solid #f0e7f2; }
.oto-top .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.oto-top img { height: 40px; width: auto; }
.oto-steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a89aae; }
.oto-steps li { padding: 6px 10px; border-radius: 99px; background: #f6f0f8; }
.oto-steps li[aria-current] { background: var(--purple-800); color: #fff; }
.oto-steps li.done { color: var(--purple-700); }
.oto-hero { text-align: center; padding-block: clamp(44px, 6vw, 72px) clamp(40px, 5vw, 60px); }
.oto-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); margin: 0 auto 14px; max-width: 820px; }
.oto-hero .oto-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 700px; margin: 0 auto; opacity: .95; }
.oto-hero .oto-sub strong { color: var(--gold); }
.oto-notice { display: inline-block; margin: 0 0 16px; padding: 7px 14px; border-radius: 99px; background: rgba(255, 255, 255, .14); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.oto-body { padding-block: clamp(44px, 6vw, 72px); }
.oto-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(26px, 4vw, 54px); align-items: start; }
.oto-copy p { font-size: 1.04rem; }
.oto-copy .oto-quote { font: italic 700 clamp(1.2rem, 2vw, 1.5rem)/1.4 var(--heading); color: var(--purple-800); border-left: 4px solid var(--orange); padding-left: 18px; margin: 22px 0; }
.oto-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.oto-points div { background: #f8f1fb; border-radius: 14px; padding: 14px; }
.oto-points b { display: block; color: var(--purple-800); margin-bottom: 4px; }
.oto-points span { font-size: .86rem; color: var(--muted); }
.oto-card { position: sticky; top: 18px; text-align: center; }
.oto-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 8px; }
.oto-card .order-price { margin: 12px 0 16px; }
.oto-card .btn { width: 100%; }
.oto-no { display: block; margin-top: 14px; color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.oto-no:hover { color: var(--purple-800); }
.oto-fine { font-size: .74rem; color: #776a7c; margin: 14px 0 0; }
.oto-foot { text-align: center; font-size: .8rem; color: #776a7c; padding: 22px 0 30px; }
.oto-foot a { color: var(--purple-700); }
@media (max-width: 860px) { .oto-grid { grid-template-columns: 1fr; } .oto-card { position: static; } .oto-points { grid-template-columns: 1fr; } .oto-steps { display: none; } }
.purchase-grid > #get { display: contents; }
.ba-save { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: #ffe9db; color: #b2420f; font-size: .7rem; font-weight: 800; letter-spacing: .02em; vertical-align: middle; white-space: nowrap; }
.ba-pick-yearly .ba-why { font-size: .76rem; color: var(--muted); margin: -2px 0 10px; line-height: 1.45; }

/* Inside the Journal slideshow */
.ba-show { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(28px, 4.5vw, 64px); row-gap: 14px; align-items: start; }
.ba-show__head { grid-column: 2; grid-row: 1; display: flex; flex-direction: column-reverse; }
.ba-show__head .eyebrow { margin-bottom: 10px; }
.ba-show__head h2 { font-size: clamp(2.1rem, 3vw, 3.1rem); margin: 0; }
.ba-show__stage { grid-column: 1; grid-row: 1 / span 2; }
.ba-show__frame { position: relative; }
.ba-show .ba-slide { margin: 0; }
.ba-show .ba-slide + .ba-slide { margin-top: 18px; }
.ba-show.is-js .ba-slide + .ba-slide { margin-top: 0; }
.ba-show.is-js .ba-slide[data-inactive], .ba-show.is-js .ba-panel[data-inactive] { display: none; }
.ba-show .ba-slide img { width: 100%; height: auto; aspect-ratio: 1050 / 1275; object-fit: contain; background: #fff; border: 1px solid #e9e1ea; border-radius: 12px; box-shadow: 0 22px 40px rgba(50, 24, 65, .17); animation: baFade .25s ease-out; }
@keyframes baFade { from { opacity: .35; } to { opacity: 1; } }
.ba-nav { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--purple-800); color: #fff; box-shadow: 0 8px 18px rgba(50, 24, 65, .25); place-items: center; padding: 0; }
.ba-show.is-js .ba-nav { display: grid; }
.ba-nav svg { width: 20px; height: 20px; }
.ba-nav:hover { background: var(--orange-dark); }
.ba-nav--prev { left: -18px; }
.ba-nav--next { right: -18px; }
.ba-show__cap { text-align: center; font-size: .72rem; color: #756879; margin: 10px 0 0; }
.ba-show__copy { grid-column: 2; grid-row: 2; }
.ba-tabs { display: none; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.ba-show.is-js .ba-tabs { display: flex; }
.ba-tab { border: 2px solid #e6d6ee; background: #fff; color: var(--purple-800); font-weight: 800; font-size: .8rem; padding: 8px 14px; border-radius: 99px; }
.ba-tab:hover { border-color: var(--orange); }
.ba-tab[aria-pressed="true"] { background: var(--purple-800); border-color: var(--purple-800); color: #fff; }
.ba-panel__lead { font-size: 1.02rem; color: var(--muted); margin: 0 0 20px; max-width: 560px; }
.ba-show .feature-list { gap: 18px; }
.ba-show .inside-cta { justify-content: flex-start; margin-top: 26px; }
.ba-panel + .ba-panel { margin-top: 26px; }
.ba-show.is-js .ba-panel + .ba-panel { margin-top: 0; }
.rhythm-cta { display: flex; justify-content: center; margin-top: 30px; }
@media (max-width: 1050px) { .ba-show .feature-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .ba-show { grid-template-columns: 1fr; }
  .ba-show__head, .ba-show__stage, .ba-show__copy { grid-column: 1; grid-row: auto; }
  .ba-show__stage { max-width: 440px; width: 100%; margin-inline: auto; }
  .ba-nav--prev { left: -10px; } .ba-nav--next { right: -10px; }
  .ba-tabs { justify-content: center; }
  .ba-show .inside-cta { justify-content: center; }
}

/* On-page choice bars (same look as the checkout window's choices) */
.ba-choice--page { display: grid; gap: 10px; margin: 6px 0 10px; }
.ba-opt--btn { width: 100%; text-align: left; font: inherit; color: inherit; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.ba-opt--btn:hover { border-color: var(--orange); transform: translateY(-1px); }
.ba-opt--btn.is-selected { border-color: var(--orange); background: #fff8f3; }
.ba-opt--btn[disabled] { cursor: not-allowed; opacity: .72; background: #faf7fb; transform: none; }
.ba-opt__radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #b9a6c4; background: #fff; flex-shrink: 0; }
.ba-opt--btn.is-selected .ba-opt__radio { border-color: var(--orange-dark); box-shadow: inset 0 0 0 3px #fff; background: var(--orange-dark); }
.ba-choice--page .ba-opt__txt b { font-size: .92rem; line-height: 1.3; }
.ba-choice--page .ba-save { margin-left: 4px; }
.ba-bundle-fine { font-size: .74rem !important; margin-bottom: 6px; }
.ba-modal .ba-opt__price, .ba-choice--page .ba-opt__price { font-size: 1.05rem; font-weight: 800; }
