/* Bounty marketing site: shared design system (tokens, base, buttons, reveal, final CTA, footer).
   Everything is scoped under .bx / .bx-* so the Crafto theme CSS can't reach it. */
:root {
    --bx-ink: #11132a;
    --bx-ink-2: #1b1e3d;
    --bx-ink-3: #262a52;
    --bx-red: #990000;
    --bx-red-hi: #d4142c;
    --bx-gold: #ffc53d;
    --bx-gold-deep: #e0940a;
    --bx-cream: #fbf5ea;
    --bx-cream-2: #f4e9d4;
    --bx-text: #1b1d33;
    --bx-muted: #5c6178;
    --bx-line: #e8e3da;
    --bx-green: #1fb86b;
    --bx-display: 'Rubik', 'Inter', sans-serif;
    --bx-radius: 22px;
}

/* ---- header additions ---- */
/* size the sign-in/start column to its content so it never wraps (iPad landscape) */
header .navbar .bx-head-col { flex: 0 0 auto; width: auto; }
header .navbar .bx-head-cta { display: flex; align-items: center; justify-content: flex-end; gap: 18px; white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199px) { header .navbar .bx-head-cta { gap: 14px; } header .navbar .navbar-nav .nav-item .nav-link { padding-left: 11px !important; padding-right: 11px !important; } }
header .navbar .bx-head-cta .bx-signin { font: 600 15px/1 var(--bx-display); color: #fff; }
header.sticky .navbar .bx-head-cta .bx-signin { color: var(--bx-text); }
header .navbar .bx-head-cta .bx-start {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--bx-red-hi); color: #fff; border-radius: 999px;
    padding: 11px 20px; font: 700 14px/1 var(--bx-display); letter-spacing: .2px;
    box-shadow: 0 8px 24px rgba(212, 20, 44, .35); transition: transform .2s, box-shadow .2s;
}
header .navbar .bx-head-cta .bx-start:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(212, 20, 44, .45); color: #fff; }
@media (max-width: 991px) { header .navbar .bx-head-cta .bx-signin { display: none; } }
@media (max-width: 575px) { header .navbar .bx-head-cta .bx-start { padding: 9px 14px; font-size: 13px; } }

/* ---- base ---- */
.bx { font-family: 'Inter', sans-serif; color: var(--bx-text); line-height: 1.6; overflow-x: clip; }
:where(.bx) section { padding: 0; position: relative; }
:where(.bx) h1, :where(.bx) h2, :where(.bx) h3, :where(.bx) h4 { font-family: var(--bx-display); color: inherit; margin: 0; letter-spacing: -0.02em; line-height: 1.2; }
:where(.bx) p { margin: 0; }
:where(.bx) img { max-width: 100%; height: auto; }
:where(.bx) a { text-decoration: none; }
.bx-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 575px) { .bx-wrap { padding: 0 16px; } }
.bx-pad { padding: 120px 0; }
@media (max-width: 991px) { .bx-pad { padding: 84px 0; } }

.bx-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font: 700 13px/1 var(--bx-display); letter-spacing: .14em; text-transform: uppercase;
    color: var(--bx-red); margin-bottom: 18px;
}
.bx-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.bx-h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.06; font-weight: 800; }
.bx-lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--bx-muted); }
.bx-center { text-align: center; }
.bx-center .bx-lede { max-width: 680px; margin: 20px auto 0; }

/* buttons (self-contained: the theme's animated buttons collapse on injected content) */
.bx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 17px 28px; border-radius: 999px; border: 0;
    font: 700 16px/1 var(--bx-display); letter-spacing: .1px; text-transform: none;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s; cursor: pointer; white-space: nowrap;
}
.bx-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.bx-btn-red { background: linear-gradient(180deg, #e0182f, #a8001a); color: #fff; box-shadow: 0 10px 30px rgba(212, 20, 44, .35), inset 0 1px 0 rgba(255,255,255,.25); }
.bx-btn-red:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(212, 20, 44, .45), inset 0 1px 0 rgba(255,255,255,.25); }
.bx-btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.bx-btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; transform: translateY(-2px); }
.bx-btn-dark { background: var(--bx-ink); color: #fff; }
.bx-btn-dark:hover { background: var(--bx-ink-3); color: #fff; transform: translateY(-2px); }
.bx-btn-line { background: #fff; color: var(--bx-text); box-shadow: inset 0 0 0 1.5px var(--bx-line); }
.bx-btn-line:hover { color: var(--bx-text); box-shadow: inset 0 0 0 1.5px var(--bx-text); transform: translateY(-2px); }
.bx-glove { cursor: url('/Bounty/images/glove.svg') 6 2, pointer; }

/* scroll reveal (content stays visible if JS is off) */
.bx-js .bx-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.bx-js .bx-reveal.is-in { opacity: 1; transform: none; }
.bx-js .bx-reveal[data-d="1"] { transition-delay: .1s; }
.bx-js .bx-reveal[data-d="2"] { transition-delay: .2s; }
.bx-js .bx-reveal[data-d="3"] { transition-delay: .3s; }
.bx-js .bx-reveal[data-d="4"] { transition-delay: .4s; }
.bx-js .bx-reveal[data-d="5"] { transition-delay: .5s; }

/* floating background coins */
.bx-float { position: absolute; pointer-events: none; opacity: .5; filter: blur(.3px); animation: bx-bob 7s ease-in-out infinite; }
.bx-float.f1 { width: 38px; top: 18%; left: 4%; animation-delay: -1s; }
.bx-float.f2 { width: 26px; top: 76%; left: 44%; animation-delay: -3s; opacity: .35; }
.bx-float.f3 { width: 30px; top: 12%; right: 6%; animation-delay: -5s; opacity: .4; }
@keyframes bx-bob { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-18px) rotate(8deg); } }

/* ================= FINAL CTA ================= */
.bx-final { background: #fff; padding-bottom: 120px; }
.bx-final-card {
    position: relative; overflow: hidden; border-radius: 32px; padding: 80px 60px; text-align: center; color: #fff;
    background:
        radial-gradient(600px 300px at 15% 0%, rgba(255, 197, 61, .25), transparent 60%),
        radial-gradient(600px 400px at 90% 100%, rgba(212, 20, 44, .45), transparent 60%),
        var(--bx-ink);
}
@media (max-width: 575px) { .bx-final-card { padding: 56px 22px; border-radius: 24px; } }
.bx-final-card h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; font-weight: 800; max-width: 760px; margin: 0 auto; }
.bx-final-card p { margin: 20px auto 36px; max-width: 560px; font-size: 18px; color: rgba(255,255,255,.72); }
.bx-final-card .bx-hero-ctas, .bx-final-card .bx-ctas { justify-content: center; margin-top: 0; }
.bx-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.bx-final-card .bx-float { opacity: .8; }
.bx-final-card .bx-float.f1 { width: 60px; top: 16%; left: 7%; }
.bx-final-card .bx-float.f2 { width: 44px; top: 70%; left: 88%; }
.bx-final-card .bx-float.f3 { width: 34px; top: 74%; left: 12%; right: auto; }
@media (max-width: 767px) { .bx-final-card .bx-float { display: none; } }

/* ================= FOOTER ================= */
.bx-foot { background: #0b0d1f; color: rgba(255,255,255,.6); padding: 72px 0 36px; font-family: 'Inter', sans-serif; font-size: 15px; line-height: 1.6; }
.bx-foot a { color: rgba(255,255,255,.75); transition: color .2s; }
.bx-foot a:hover { color: #fff; }
.bx-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 991px) { .bx-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .bx-foot-grid { grid-template-columns: 1fr; } }
.bx-foot-logo img { height: 40px; width: auto; margin-bottom: 16px; }
.bx-foot h5 { font: 700 13px/1 var(--bx-display); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.bx-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bx-social { display: flex; gap: 10px; margin-top: 20px; }
.bx-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); font-size: 17px; }
.bx-social a:hover { background: var(--bx-red-hi); }
.bx-foot-base { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) {
    .bx *, .bx *::before, .bx *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .bx-js .bx-reveal { opacity: 1; transform: none; }
    .bx-loop-path img { display: none; }
}

/* ================= INNER PAGES ================= */
/* compact dark hero shared by playground / marketplace / support / legal */
.bx-page-hero {
    background:
        radial-gradient(800px 420px at 88% 10%, rgba(212, 20, 44, .30), transparent 60%),
        radial-gradient(600px 420px at 5% 100%, rgba(255, 197, 61, .12), transparent 60%),
        linear-gradient(180deg, #0c0e22 0%, var(--bx-ink) 70%, #151838 100%);
    color: #fff; padding: 168px 0 96px; overflow: hidden;
}
.bx-page-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 72%);
}
.bx-page-hero.is-short { padding-bottom: 150px; }
.bx-page-hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.bx-page-hero-grid.is-solo { grid-template-columns: 1fr; text-align: center; }
.bx-page-hero-grid.is-solo .bx-page-sub { margin-left: auto; margin-right: auto; }
.bx-page-hero-grid.is-solo .bx-ctas { justify-content: center; }
@media (max-width: 991px) {
    .bx-page-hero { padding: 140px 0 72px; }
    .bx-page-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .bx-page-hero-grid .bx-ctas { justify-content: center; }
    .bx-page-sub { margin-left: auto; margin-right: auto; }
    .bx-page-art { display: none; }
}
.bx-page-hero .bx-eyebrow { color: #ff8a99; }
.bx-page-hero h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; }
.bx-page-hero h1 em { font-style: normal; background: linear-gradient(180deg, #ffe08a 10%, var(--bx-gold) 45%, var(--bx-gold-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bx-page-sub { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: rgba(255,255,255,.72); max-width: 620px; }
.bx-page-hero .bx-ctas { margin-top: 34px; }
.bx-page-art { position: relative; text-align: center; }
.bx-page-art::before { content: ""; position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; max-width: 100%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 197, 61, .28), transparent 65%); }
.bx-page-art img.art { position: relative; width: min(300px, 90%); filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); animation: bx-bob 7s ease-in-out infinite; }
.bx-page-art .bx-float { opacity: .85; filter: none; }
.bx-btn-gold { background: linear-gradient(180deg, #ffd766, var(--bx-gold-deep)); color: #3a2600; box-shadow: 0 10px 26px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.5); }
.bx-btn-gold:hover { color: #3a2600; transform: translateY(-2px); }

/* active nav item */
header .navbar .navbar-nav .nav-item .nav-link.is-current { color: var(--bx-gold) !important; }
header.sticky .navbar .navbar-nav .nav-item .nav-link.is-current { color: var(--bx-red-hi) !important; }

/* mini "how it works" strip that overlaps the hero */
.bx-mini-steps { position: relative; z-index: 2; padding-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 767px) { .bx-mini-steps { grid-template-columns: 1fr; padding-top: 40px; } }
.bx-mini-step { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 20px; padding: 20px 22px; box-shadow: 0 24px 50px rgba(17, 19, 42, .12), inset 0 0 0 1px var(--bx-line); }
.bx-mini-step b { display: block; font: 700 17px/1.25 var(--bx-display); color: var(--bx-text); margin-bottom: 2px; }
.bx-mini-step span { font-size: 14px; color: var(--bx-muted); line-height: 1.45; display: block; }
.bx-mini-step a { color: var(--bx-red); font-weight: 600; }
.bx-mini-step i { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 800 18px/1 var(--bx-display); font-style: normal; background: var(--bx-cream); color: var(--bx-red); }

/* catalog: filter chips + card grid (playground + marketplace) */
.bx-catalog { background: #fff; padding: 64px 0 110px; }
.bx-catalog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.bx-catalog-bar h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.bx-count { font-size: 15px; color: var(--bx-muted); margin-top: 4px; }
.bx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bx-chip { border: 0; border-radius: 999px; padding: 10px 18px; background: #f4f1ea; color: var(--bx-muted); font: 600 14px/1 var(--bx-display); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.bx-chip:hover { color: var(--bx-text); transform: translateY(-1px); }
.bx-chip[aria-pressed="true"] { background: var(--bx-ink); color: #fff; }
.bx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.bx-grid.is-few { grid-template-columns: repeat(auto-fit, minmax(290px, 360px)); justify-content: center; }
@media (max-width: 575px) { .bx-grid, .bx-grid.is-few { grid-template-columns: 1fr; } }
.bx-card { position: relative; display: flex; flex-direction: column; border-radius: var(--bx-radius); background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px var(--bx-line), 0 1px 2px rgba(17,19,42,.04); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.bx-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--bx-line), 0 28px 60px rgba(17, 19, 42, .12); }
.bx-card[hidden] { display: none; }
.bx-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f4f1ea; }
.bx-card-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.bx-card:hover .bx-card-media > img { transform: scale(1.05); }
.bx-card-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font: 800 64px/1 var(--bx-display); letter-spacing: -.03em; }
.bx-card-badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(17, 19, 42, .78); color: #fff; font: 700 12px/1 var(--bx-display); backdrop-filter: blur(6px); }
.bx-card-badge.is-right { left: auto; right: 14px; }
.bx-card-badge.is-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 3px rgba(62, 224, 143, .25); }
.bx-card-body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.bx-card-tag { align-self: flex-start; font: 700 11px/1 var(--bx-display); letter-spacing: .1em; text-transform: uppercase; color: var(--bx-red); background: #fde8eb; padding: 6px 9px; border-radius: 6px; margin-bottom: 12px; }
.bx-card h3 { font-size: 20px; font-weight: 700; line-height: 1.25; margin-bottom: 4px; }
.bx-card h3 a { color: var(--bx-text); }
.bx-card h3 a:hover { color: var(--bx-red); }
.bx-card-host { font-size: 14px; color: var(--bx-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-card-rewards { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bx-card-rewards li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 7px; border-radius: 999px; background: #fff6df; color: #6b4a00; font: 600 13px/1.2 var(--bx-display); max-width: 100%; }
.bx-card-rewards li img { width: 20px; height: 20px; flex-shrink: 0; object-fit: contain; }
.bx-card-rewards li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-card-rewards li.is-gift { background: #fde8eb; color: #8a0013; }
.bx-card-none { margin-top: 16px; font-size: 13.5px; color: var(--bx-muted); }
.bx-card-foot { margin-top: auto; padding-top: 20px; }
.bx-card-foot .bx-btn { width: 100%; padding: 14px 20px; font-size: 15px; }
.bx-price-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.bx-price-row img { width: 30px; }
.bx-price-row b { font: 800 26px/1 var(--bx-display); color: var(--bx-text); letter-spacing: -.02em; }
.bx-price-row span { font-size: 14px; color: var(--bx-muted); }
.bx-reward-art { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #fff7e3, #f3e3bf); }
.bx-reward-art img { width: 62%; height: 78%; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(120, 80, 20, .25)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.bx-card:hover .bx-reward-art img { transform: scale(1.06) rotate(-2deg); }
.bx-reward-art.is-gift { background: radial-gradient(circle at 50% 40%, #fff0f2, #f6d3d9); }
.bx-reward-art.is-coupon { background: radial-gradient(circle at 50% 40%, #eefbf4, #cfeedd); }

/* skeletons + empty state */
.bx-skel { border-radius: var(--bx-radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--bx-line); }
.bx-skel div { background: linear-gradient(90deg, #f3f0ea 0%, #faf8f4 50%, #f3f0ea 100%); background-size: 200% 100%; animation: bx-shimmer 1.3s linear infinite; }
.bx-skel div:first-child { aspect-ratio: 16 / 10; }
.bx-skel div + div { height: 16px; margin: 20px 22px 0; border-radius: 6px; width: 60%; }
.bx-skel div:last-child { width: 40%; margin-bottom: 26px; }
@keyframes bx-shimmer { to { background-position: -200% 0; } }
.bx-empty { grid-column: 1 / -1; text-align: center; padding: 56px 24px; border-radius: var(--bx-radius); background: var(--bx-cream); }
.bx-empty img { width: 110px; margin-bottom: 14px; }
.bx-empty b { display: block; font: 700 20px/1.3 var(--bx-display); color: var(--bx-text); margin-bottom: 6px; }
.bx-empty p { color: var(--bx-muted); font-size: 15.5px; max-width: 440px; margin: 0 auto; }
.bx-empty .bx-btn { margin-top: 20px; }

/* redeem modal (Bootstrap modal, restyled) */
#redeemModal .modal-content { border: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.35); font-family: 'Inter', sans-serif; }
#redeemModal .modal-header { border: 0; padding: 30px 30px 0; flex-direction: column; align-items: center; text-align: center; }
#redeemModal .modal-header img { width: 84px; margin-bottom: 10px; }
#redeemModal .modal-title { font: 800 24px/1.2 var(--bx-display); color: var(--bx-text); letter-spacing: -.02em; }
#redeemModal .modal-body { padding: 10px 30px 6px; text-align: center; color: var(--bx-muted); font-size: 15.5px; line-height: 1.6; }
#redeemModal .modal-body b, #redeemModal .modal-body #rewardTitle, #redeemModal .modal-body #rewardAmount { color: var(--bx-text); font-weight: 700; }
#redeemModal .modal-body h4 { font: 700 20px/1.35 var(--bx-display); color: var(--bx-text); }
#redeemModal .modal-footer { border: 0; padding: 18px 30px 30px; display: flex; gap: 10px; flex-wrap: nowrap; }
#redeemModal .modal-footer > * { margin: 0; flex: 1; }
#redeemModal .modal-footer .btn { text-transform: none; letter-spacing: 0; border-radius: 999px; padding: 14px 18px; font: 700 15px/1 var(--bx-display); border: 0; }
#redeemModal .modal-footer .btn-secondary { background: #f1eee7; color: var(--bx-text); }
#redeemModal .modal-footer .btn-red { background: linear-gradient(180deg, #e0182f, #a8001a); color: #fff; }
#redeemModal .text-danger { color: var(--bx-red-hi) !important; font-size: 14px; }
#redeemModal .text-danger a { color: inherit; text-decoration: underline; }

/* long-form documents (support / terms / privacy) */
.bx-doc { background: var(--bx-cream); padding: 0 0 110px; }
.bx-doc-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 56px; position: relative; z-index: 2; }
@media (max-width: 991px) { .bx-doc-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 40px; } }
.bx-toc { position: sticky; top: 110px; background: #fff; border-radius: 20px; padding: 22px 16px; box-shadow: 0 20px 50px rgba(120, 80, 20, .1), inset 0 0 0 1px var(--bx-line); max-height: calc(100vh - 140px); overflow: auto; }
.bx-toc h2 { font: 700 12px/1 var(--bx-display) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--bx-muted); margin: 0 8px 12px !important; }
.bx-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bx-toc a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 14px; line-height: 1.35; color: var(--bx-muted); }
.bx-toc a:hover { background: var(--bx-cream); color: var(--bx-text); }
.bx-toc a.is-active { background: #fde8eb; color: var(--bx-red); font-weight: 600; }
@media (max-width: 991px) { .bx-toc { position: static; max-height: none; } .bx-toc ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .bx-toc { display: none; } }
.bx-prose { background: #fff; border-radius: 26px; padding: 52px 58px; box-shadow: 0 20px 50px rgba(120, 80, 20, .1), inset 0 0 0 1px var(--bx-line); min-height: 400px; }
@media (max-width: 767px) { .bx-prose { padding: 30px 22px; border-radius: 20px; } }
.bx-prose .container { max-width: none; width: auto; padding: 0; margin: 0; }
.bx-prose section { padding: 0 !important; }
.bx-prose h5 { font: 800 24px/1.3 var(--bx-display) !important; color: var(--bx-text); letter-spacing: -.015em; margin: 44px 0 14px !important; scroll-margin-top: 110px; }
.bx-prose h5:first-child { margin-top: 0 !important; }
.bx-prose h6 { font: 700 18px/1.35 var(--bx-display) !important; color: var(--bx-text); margin: 26px 0 10px !important; }
.bx-prose p { font-size: 16px; line-height: 1.75; color: #444a5e; margin: 0 0 14px; white-space: normal !important; }
.bx-prose ul, .bx-prose ol { margin: 0 0 18px; padding-left: 22px; }
.bx-prose ul { list-style: disc; }
.bx-prose ol { list-style: decimal; }
.bx-prose ul li { display: list-item; list-style: disc; }
.bx-prose ol li { display: list-item; list-style: decimal; }
.bx-prose li { font-size: 16px; line-height: 1.7; color: #444a5e; margin-bottom: 8px; padding-left: 4px; }
.bx-prose li::marker { color: var(--bx-red); }
.bx-prose strong { color: var(--bx-text); font-weight: 600; }
.bx-prose a { color: var(--bx-red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* support quick-help cards */
.bx-help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 56px; position: relative; z-index: 2; margin-bottom: 40px; }
@media (max-width: 767px) { .bx-help-cards { grid-template-columns: 1fr; padding-top: 40px; } }
.bx-help-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 24px 50px rgba(17, 19, 42, .12), inset 0 0 0 1px var(--bx-line); transition: transform .3s; }
.bx-help-card:hover { transform: translateY(-4px); }
.bx-help-card .bx-tile-ic { margin-bottom: 10px; }
.bx-help-card b { font: 700 18px/1.3 var(--bx-display); color: var(--bx-text); }
.bx-help-card span { font-size: 14.5px; color: var(--bx-muted); line-height: 1.5; }
.bx-help-card em { font-style: normal; margin-top: 8px; color: var(--bx-red); font: 700 14px/1 var(--bx-display); }
.bx-tile-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; }
.bx-tile-ic svg { width: 26px; height: 26px; }
.ic-red { background: #fde8eb; color: var(--bx-red-hi); }
.ic-gold { background: #fff3d6; color: #c47f00; }
.ic-green { background: #dff6ea; color: #129858; }
.ic-blue { background: #e4ebff; color: #3656d6; }
.ic-violet { background: #efe6ff; color: #7442d8; }
.ic-ink { background: #e7e8f0; color: var(--bx-ink-3); }
.bx-doc.has-cards .bx-doc-grid { padding-top: 0; }
