/* Bella Trade homepage (resources/views/front/home.blade.php). Ink & Mint, the same palette and type as the app. */

@font-face { font-family: "TikTok Sans"; src: url("../fonts/TikTokSans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "TikTok Sans"; src: url("../fonts/TikTokSans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "TikTok Sans"; src: url("../fonts/TikTokSans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "TikTok Sans"; src: url("../fonts/TikTokSans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
    --ink: #181C32;
    --ink-2: #222742;
    --ink-3: #2E3454;
    --mint: #7FF984;
    --mint-dim: rgba(127, 249, 132, .14);
    --ground: #F4F5F5;
    --card: #FFFFFF;
    --border: #E4E7EB;
    --muted: #5E6278;
    --muted-ink: #C9CCD6;
    --body: #3F4254;
    --credit: #0F7A36;
    --ok: #17C653;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow: 0 24px 60px -24px rgba(24, 28, 50, .35);
    --wrap: 1160px;
    --sans: "TikTok Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body.bt {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    background: var(--card);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.bt h1, .bt h2, .bt h3 { color: var(--ink); font-weight: 700; letter-spacing: -.02em; margin: 0; }
.bt p { margin: 0; }
.bt a { color: inherit; }
.bt img, .bt svg { display: block; max-width: 100%; }

/* Grid and flex children may shrink below their content (inputs, long amounts), so nothing pushes the page sideways */
.bt-hero-grid > *, .bt-rates-grid > *, .bt-uses > *, .bt-security > *, .bt-download > *, .bt-bento > *, .bt-steps > * { min-width: 0; }

.bt-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .bt-wrap { padding: 0 32px; } }

.bt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bt-skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--mint); color: var(--ink); padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.bt-skip:focus { top: 12px; }
.bt :focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px; }

.bt-mint { color: var(--mint); }

/* Buttons */
.bt-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
    font: 700 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.bt-btn:hover { transform: translateY(-1px); }
.bt-btn-mint { background: var(--mint); color: var(--ink) !important; }
.bt-btn-ink { background: var(--ink); color: #fff !important; }
.bt-btn-ink:hover { background: var(--ink-2); }
.bt-btn-ghost { background: transparent; color: #fff !important; }
.bt-btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.bt-btn-outline-light { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.bt-btn-outline-light:hover { box-shadow: inset 0 0 0 1.5px var(--mint); }
.bt-btn-block { width: 100%; }

/* Navigation: a floating liquid glass bar. It blurs and tints whatever scrolls under it, with a light rim and a soft
   highlight across the top. Tinted dark so the white text stays readable over the ink hero and the white sections. */
.bt-nav {
    --nav-h: 60px;
    --nav-gap: 12px;
    position: sticky; top: 0; z-index: 50;
    height: calc(var(--nav-h) + var(--nav-gap) * 2);
    /* The bar floats over the top of the page instead of pushing it down (heroes add this space back) */
    margin-bottom: calc((var(--nav-h) + var(--nav-gap) * 2) * -1);
    padding-top: var(--nav-gap);
    pointer-events: none;
}
.bt-nav-inner {
    position: relative; display: flex; align-items: center; gap: 16px;
    width: calc(100% - 24px); max-width: calc(var(--wrap) - 16px); height: var(--nav-h);
    margin: 0 auto; padding: 0 8px 0 16px; border-radius: 22px; pointer-events: auto;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .05) 45%, rgba(255, 255, 255, .02) 100%),
        rgba(24, 28, 50, .68);
    -webkit-backdrop-filter: blur(22px) saturate(190%) brightness(1.05);
    backdrop-filter: blur(2px) saturate(100%) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .32),
        inset 0 -1px 0 rgba(255, 255, 255, .06),
        inset 0 0 18px rgba(255, 255, 255, .05),
        0 12px 32px -14px rgba(8, 10, 24, .55);
    transition: box-shadow .25s ease, background-color .25s ease;
}
/* Specular sheen: light catching the top of the glass */
.bt-nav-inner::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background:
        radial-gradient(120% 140% at 15% -40%, rgba(255, 255, 255, .22), transparent 45%),
        radial-gradient(80% 120% at 100% 0%, rgba(127, 249, 132, .10), transparent 55%);
    mix-blend-mode: screen;
}
.bt-nav-inner > * { position: relative; }
.bt-nav.is-scrolled .bt-nav-inner {
    background-color: rgba(24, 28, 50, .76);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .32),
        inset 0 -1px 0 rgba(255, 255, 255, .06),
        inset 0 0 18px rgba(255, 255, 255, .05),
        0 18px 40px -16px rgba(8, 10, 24, .6);
}
@media (min-width: 768px) {
    .bt-nav { --nav-gap: 14px; }
    .bt-nav-inner { width: calc(100% - 48px); padding: 0 10px 0 20px; }
}
.bt-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff !important; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.bt-brand img { border-radius: 9px; }
.bt-links { display: none; margin-left: 20px; gap: 2px; }
.bt-links a { color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 12px; transition: background .15s ease, color .15s ease; }
.bt-links a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.bt-links-signin { display: none; }
.bt-nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.bt-nav-actions .bt-btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.bt-nav-actions .bt-btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.bt-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .08); color: #fff; font-size: 22px; cursor: pointer; }
.bt-hide-sm { display: none !important; }

@media (max-width: 899px) {
    /* The menu opens as a second pane of the same glass. It sits inside the blurred bar, where browsers can't blur
       the page again, so it's nearly opaque to keep the links clear over any content */
    .bt-links.is-open {
        display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: calc(100% + 8px); margin: 0;
        padding: 8px; border-radius: 20px;
        background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)), var(--ink);
        -webkit-backdrop-filter: blur(24px) saturate(190%);
        backdrop-filter: blur(24px) saturate(190%);
        border: 1px solid rgba(255, 255, 255, .16);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 20px 40px -18px rgba(8, 10, 24, .6);
    }
    .bt-links.is-open a { padding: 14px 14px; font-size: 16px; }
    .bt-links.is-open .bt-links-signin { display: block; color: var(--mint); }
}

@media (min-width: 900px) {
    .bt-links { display: flex; }
    .bt-menu-toggle { display: none; }
    .bt-hide-sm { display: inline-flex !important; }
}

/* No blur support, or the visitor asked for less transparency: solid ink instead of glass */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .bt-nav-inner, .bt-links.is-open { background: rgba(24, 28, 50, .96); }
}
@media (prefers-reduced-transparency: reduce) {
    .bt-nav-inner, .bt-links.is-open { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .bt-nav-inner::before { display: none; }
}

/* Hero */
.bt-hero {
    position: relative; overflow: hidden; color: var(--muted-ink);
    background:
        radial-gradient(60% 50% at 85% 20%, rgba(127, 249, 132, .16), transparent 70%),
        radial-gradient(50% 60% at 0% 100%, rgba(76, 124, 240, .14), transparent 70%),
        var(--ink);
    padding: 124px 0 64px;
}
.bt-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
    -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}
.bt-hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
.bt-hero h1 { color: #fff; font-size: clamp(38px, 9vw, 68px); line-height: 1.04; letter-spacing: -.035em; margin: 18px 0 18px; }
.bt-lead { font-size: 18px; line-height: 1.6; max-width: 34em; color: var(--muted-ink); }
.bt-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #fff; font-size: 13px; font-weight: 600; }
.bt-live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }
.bt-live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--mint); opacity: 0; animation: bt-pulse 2s ease-out infinite; }
@keyframes bt-pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.bt-hero .bt-stores { margin-top: 30px; }
.bt-hero-web { margin-top: 18px !important; font-size: 15px; }
.bt-hero-web a { color: var(--mint); font-weight: 600; text-decoration: none; }
.bt-hero-web a:hover { text-decoration: underline; }
.bt-hero-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; list-style: none; margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); max-width: 560px; }
.bt-hero-trust li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.bt-hero-trust i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--mint-dim); color: var(--mint); font-size: 16px; flex: none; }
.bt-hero-trust span { display: block; font-size: 13px; line-height: 1.45; color: var(--muted-ink); }
.bt-hero-trust b { display: block; color: #fff; font-size: 15px; line-height: 1.3; margin-bottom: 2px; }

@media (min-width: 980px) {
    .bt-hero { padding: 160px 0 96px; }
    .bt-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}

/* Store buttons */
.bt-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.bt-store {
    display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px;
    border-radius: 14px; background: #000; color: #fff !important; text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: transform .15s ease, box-shadow .15s ease;
}
.bt-store:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--mint); }
.bt-store svg { width: 24px; height: 26px; flex: none; }
.bt-store small { display: block; font-size: 11px; line-height: 1.2; opacity: .8; }
.bt-store b { display: block; font-size: 18px; line-height: 1.15; letter-spacing: -.01em; }
.bt-store.is-soon { opacity: .6; cursor: default; }
.bt-store.is-soon:hover { transform: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }

/* Phone mockup (the app's home screen) */
.bt-hero-visual { position: relative; display: flex; justify-content: center; padding: 0 0 24px; }
.bt-phone {
    position: relative; width: min(300px, 82vw); aspect-ratio: 300 / 610; border-radius: 46px; padding: 12px;
    background: linear-gradient(145deg, #3A3F5C, #0E1020); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 1.5px rgba(255, 255, 255, .14);
    transform: rotate(-2deg);
}
.bt-phone-notch { position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #05060B; z-index: 2; }
.bt-phone-screen { height: 100%; border-radius: 36px; background: var(--ground); padding: 58px 14px 14px; overflow: hidden; color: var(--body); font-size: 11px; }
.bt-app-top { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.bt-app-top small { display: block; color: var(--muted); font-size: 10px; line-height: 1.2; }
.bt-app-top b { display: block; color: var(--ink); font-size: 14px; line-height: 1.2; }
.bt-app-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--mint); font-weight: 700; font-size: 11px; }
.bt-app-card { background: var(--ink); color: var(--muted-ink); border-radius: 18px; padding: 14px; }
.bt-app-card-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 10px; }
.bt-app-card-head > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.bt-app-card-head .bt-live-dot { width: 6px; height: 6px; }
.bt-app-chips { display: inline-flex; gap: 4px; }
.bt-app-chips span { padding: 3px 8px; border-radius: 999px; background: var(--ink-3); color: #fff; font-weight: 700; font-size: 9px; }
.bt-app-chips span.on { background: var(--mint); color: var(--ink); }
.bt-app-rate { margin-top: 10px; color: #fff; font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bt-app-card small { font-size: 10px; }
.bt-app-sell { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; height: 34px; border-radius: 11px; background: var(--mint); color: var(--ink); font-weight: 700; font-size: 11.5px; }
.bt-app-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0 12px; text-align: center; font-size: 9px; color: var(--ink); font-weight: 600; }
.bt-app-actions i { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 4px; border-radius: 50%; background: #fff; border: 1px solid var(--border); font-size: 13px; }
.bt-app-section { color: var(--ink); font-weight: 700; font-size: 12px; margin-bottom: 6px; }
.bt-app-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.bt-app-row > div { flex: 1; min-width: 0; }
.bt-app-row b { display: block; color: var(--ink); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-app-row small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 9.5px; }
.bt-app-row em { font-style: normal; font-weight: 700; color: var(--credit); font-size: 10.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bt-app-row em.muted { color: var(--ink); }
.bt-app-row-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #fff; color: var(--ink); flex: none; }
.bt-app-row-icon.in { background: #E8F8EE; color: var(--credit); }
.bt-dot-ok { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

.bt-float-note {
    position: absolute; left: 50%; bottom: 0; width: min(330px, 92vw); transform: translateX(-50%);
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px;
    background: rgba(255, 255, 255, .96); box-shadow: var(--shadow); color: var(--body);
    animation: bt-float 6s ease-in-out infinite;
}
.bt-float-note img { border-radius: 9px; flex: none; }
.bt-float-note div { flex: 1; min-width: 0; line-height: 1.35; }
.bt-float-note b { display: block; color: var(--ink); font-size: 14px; }
.bt-float-note span { display: block; font-size: 12.5px; color: var(--muted); }
.bt-float-note small { align-self: flex-start; font-size: 11px; color: var(--muted); }
@keyframes bt-float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -8px); } }

@media (min-width: 980px) {
    .bt-float-note { left: auto; right: -10px; bottom: 70px; transform: none; animation-name: bt-float-wide; }
    @keyframes bt-float-wide { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}

/* Sections */
.bt-section { padding: 72px 0; }
.bt-section-alt { background: var(--ground); }
.bt-section-ink { background: var(--ink); color: var(--muted-ink); }
.bt-section-ink h2 { color: #fff; }
@media (min-width: 900px) { .bt-section { padding: 104px 0; } }

.bt-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.bt-head-left { margin: 0; text-align: left; }
.bt-head h2 { font-size: clamp(30px, 5vw, 44px); line-height: 1.12; margin: 12px 0 14px; }
.bt-head p { font-size: 17px; color: var(--muted); }
.bt-section-ink .bt-head p { color: var(--muted-ink); }
.bt-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--credit); }
.bt-section-ink .bt-eyebrow { color: var(--mint); }

/* Rates */
.bt-rates-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .bt-rates-grid { grid-template-columns: 1.15fr .85fr; gap: 28px; } }
.bt-rates { display: grid; gap: 12px; }
.bt-rate { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); transition: border-color .15s ease, transform .15s ease; }
.bt-rate:hover { border-color: var(--ink); transform: translateY(-1px); }
.bt-rate-name { flex: 1; min-width: 0; }
.bt-rate-name b, .bt-rate-value b { display: block; color: var(--ink); font-size: 17px; line-height: 1.3; }
.bt-rate-name small, .bt-rate-value small { display: block; color: var(--muted); font-size: 13px; }
.bt-rate-value { text-align: right; }
.bt-rate-value b { font-size: 20px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bt-rates-note { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; padding: 4px 4px 0; }
.bt-coin { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 19px; flex: none; }
.bt-coin-btc { background: #F7931A; }
.bt-coin-eth { background: #627EEA; }
.bt-coin-usdt { background: #26A17B; }
.bt-coin-usdc { background: #2775CA; }
.bt-coin-other { background: var(--ink); color: var(--mint); }

.bt-calc { padding: 24px; border-radius: var(--radius-lg); background: var(--ground); border: 1px solid var(--border); }
.bt-calc h3 { font-size: 20px; margin-bottom: 18px; }
.bt-field { display: block; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
.bt-field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--mint-dim); }
.bt-field > span:first-child { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.bt-field-row { display: flex; align-items: center; gap: 10px; }
.bt-field input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font: 700 26px/1.3 var(--sans); color: var(--ink); letter-spacing: -.02em; padding: 2px 0; font-variant-numeric: tabular-nums; }
.bt-field select { border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 700 14px var(--sans); padding: 8px 30px 8px 14px; cursor: pointer; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.bt-field-out output { display: block; font: 700 26px/1.3 var(--sans); color: var(--credit); letter-spacing: -.02em; padding: 2px 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bt-calc-arrow { display: grid; place-items: center; width: 36px; height: 36px; margin: -8px auto; position: relative; z-index: 1; border-radius: 50%; background: var(--ink); color: var(--mint); border: 4px solid var(--ground); }
.bt-calc-note { font-size: 12.5px; color: var(--muted); margin: 14px 2px 18px !important; line-height: 1.5; }

/* Steps */
.bt-steps { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
@media (min-width: 860px) { .bt-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.bt-step { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border); }
.bt-step-num { position: absolute; top: 22px; right: 24px; font: 500 13px var(--mono); color: var(--muted); }
.bt-step-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: var(--mint); font-size: 24px; margin-bottom: 20px; }
.bt-step h3 { font-size: 20px; margin-bottom: 8px; }
.bt-step p { color: var(--muted); }

/* Who it's for */
.bt-story { display: grid; gap: 32px; align-items: center; padding: 32px 24px; border-radius: 32px; background: var(--ink); color: var(--muted-ink); margin-bottom: 20px; }
.bt-story > * { min-width: 0; }
@media (min-width: 900px) { .bt-story { grid-template-columns: 1.2fr .8fr; gap: 48px; padding: 48px; } }
.bt-story-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: 13px; font-weight: 700; }
.bt-story h3 { color: #fff; font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: -.025em; margin: 18px 0 14px; }
.bt-story p { font-size: 16.5px; }
.bt-story-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.bt-story-points li { display: flex; gap: 10px; align-items: flex-start; color: #fff; font-size: 15px; }
.bt-story-points i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mint-dim); color: var(--mint); font-size: 14px; flex: none; margin-top: 1px; }
.bt-story-visual { display: grid; justify-items: center; max-width: 340px; width: 100%; margin: 0 auto; }
.bt-invoice { width: 100%; padding: 18px 20px; border-radius: 20px; background: var(--card); color: var(--muted); box-shadow: var(--shadow); }
.bt-invoice-head { display: flex; justify-content: space-between; align-items: center; color: var(--ink); font-weight: 700; font-size: 14px; }
.bt-invoice small { display: block; font-size: 13px; margin-top: 2px; }
.bt-invoice b { display: block; margin-top: 12px; color: var(--ink); font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bt-invoice-paid { padding: 3px 10px; border-radius: 999px; background: #E8F8EE; color: var(--credit); font-size: 12px; }
.bt-invoice-out { background: var(--mint); }
.bt-invoice-out small { color: var(--ink); opacity: .7; }
.bt-invoice-out .bt-dot-ok { width: 10px; height: 10px; background: var(--ink); }
.bt-story-arrow { display: grid; place-items: center; width: 40px; height: 40px; margin: -8px 0; position: relative; z-index: 1; border-radius: 50%; background: var(--ink-3); color: var(--mint); border: 4px solid var(--ink); }
.bt-uses { display: grid; gap: 16px; }
@media (min-width: 640px) { .bt-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bt-uses { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bt-use { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border); transition: border-color .15s ease, transform .15s ease; }
.bt-use:hover { border-color: var(--ink); transform: translateY(-2px); }
.bt-use > i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: var(--mint); font-size: 20px; margin-bottom: 18px; }
.bt-use h3 { font-size: 19px; margin-bottom: 8px; }
.bt-use p { color: var(--muted); flex: 1; }
.bt-use-example { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 18px; padding: 7px 12px; border-radius: 999px; background: var(--ground); color: var(--ink); font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bt-uses-note { margin-top: 18px !important; text-align: center; font-size: 13px; color: var(--muted); }

/* Feature tiles */
.bt-bento { display: grid; gap: 16px; }
@media (min-width: 720px) { .bt-bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) { .bt-tile-full { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .bt-bento { grid-template-columns: repeat(3, 1fr); } .bt-tile-wide { grid-column: span 2; } }
.bt-tile { padding: 28px; border-radius: var(--radius-lg); background: var(--ground); border: 1px solid var(--border); }
.bt-section-alt .bt-tile:not(.bt-tile-ink):not(.bt-tile-mint) { background: var(--card); }
.bt-section-alt .bt-tile:not(.bt-tile-ink):not(.bt-tile-mint) > i { background: var(--ground); }
.bt-tile > i { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--card); color: var(--ink); font-size: 22px; margin-bottom: 18px; border: 1px solid var(--border); }
.bt-tile h3 { font-size: 20px; margin-bottom: 8px; }
.bt-tile p { color: var(--muted); max-width: 36em; }
.bt-tile-ink { background: var(--ink); border-color: var(--ink); }
.bt-tile-ink h3 { color: #fff; }
.bt-tile-ink p { color: var(--muted-ink); }
.bt-tile-ink > i { background: var(--mint-dim); border-color: transparent; color: var(--mint); }
.bt-tile-mint { background: var(--mint); border-color: var(--mint); }
.bt-tile-mint p { color: var(--ink); opacity: .78; }
.bt-tile-full .bt-btn { margin-top: 20px; }
@media (min-width: 720px) {
    .bt-tile-full { display: flex; align-items: center; gap: 28px; }
    .bt-tile-full > i { margin: 0; flex: none; }
    .bt-tile-full > div { flex: 1; min-width: 0; }
    .bt-tile-full .bt-btn { flex: none; margin-top: 0; }
}
.bt-tile-mint > i { background: var(--ink); color: var(--mint); border-color: var(--ink); }
.bt-tile-rate { display: inline-flex; align-items: baseline; gap: 12px; margin-top: 22px; padding: 12px 18px; border-radius: 14px; background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.bt-tile-rate span { font-size: 14px; color: var(--muted-ink); }
.bt-tile-rate b { font-size: 24px; color: var(--mint); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* Security */
.bt-security { display: grid; gap: 40px; }
@media (min-width: 900px) { .bt-security { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; } }
.bt-shields { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.bt-shields li { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.bt-shields i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mint-dim); color: var(--mint); font-size: 20px; flex: none; }
.bt-shields b { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }
.bt-shields span { display: block; font-size: 14.5px; color: var(--muted-ink); }

/* Download */
.bt-download {
    position: relative; overflow: hidden; display: grid; gap: 32px; align-items: center;
    padding: 40px 24px; border-radius: 32px; color: var(--muted-ink);
    background: radial-gradient(70% 90% at 100% 0%, rgba(127, 249, 132, .22), transparent 60%), var(--ink);
}
@media (min-width: 860px) { .bt-download { grid-template-columns: 1fr auto; padding: 56px; gap: 48px; } }
.bt-download h2 { color: #fff; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; margin: 20px 0 12px; }
.bt-download p { font-size: 17px; max-width: 32em; margin-bottom: 26px !important; }
.bt-download-icon { border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.bt-download .bt-stores + .bt-btn { margin-top: 16px; }
.bt-download .bt-btn-ink { background: var(--mint); color: var(--ink) !important; }
.bt-qr { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px; border-radius: 22px; background: #fff; color: var(--muted); font-size: 13px; text-align: center; max-width: 190px; justify-self: center; }
@media (max-width: 859px) { .bt-qr { display: none; } }

/* FAQ */
.bt-faq-wrap { max-width: 820px; }
.bt-faq { display: grid; gap: 10px; }
.bt-faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--border); }
.bt-faq details[open] { border-color: var(--ink); }
.bt-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; color: var(--ink); font-weight: 700; font-size: 17px; }
.bt-faq summary::-webkit-details-marker { display: none; }
.bt-faq summary::after { content: "+"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ground); font-size: 20px; font-weight: 500; flex: none; transition: transform .2s ease; }
.bt-faq details[open] summary::after { transform: rotate(45deg); background: var(--mint); }
.bt-faq details p { padding: 0 22px 22px; color: var(--muted); }

/* Final call */
.bt-cta { padding: 0 0 72px; }
.bt-section-alt + .bt-cta { background: var(--ground); }
.bt-cta-inner { text-align: center; }
.bt-cta-inner > * { max-width: 100%; }
.bt-cta h2 { font-size: clamp(30px, 5vw, 44px); }
.bt-cta p { color: var(--muted); font-size: 17px; margin: 10px 0 26px; }
.bt-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.bt-cta .bt-btn-outline-light { color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--ink); }

/* Footer */
.bt-footer { background: var(--ink); color: var(--muted-ink); padding: 56px 0 28px; font-size: 15px; }
.bt-footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.bt-footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 860px) { .bt-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .bt-footer-grid > div:first-child { grid-column: auto; } }
.bt-footer p { margin-top: 12px; }
.bt-footer b { display: block; color: #fff; font-size: 14px; margin-bottom: 12px; }
.bt-footer nav a, .bt-footer-grid > div a:not(.bt-brand) { display: block; padding: 4px 0; color: var(--muted-ink); text-decoration: none; overflow-wrap: anywhere; }
.bt-footer a:hover { color: var(--mint); }
.bt-footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

/* Scroll reveal (home.js adds .is-in) */
.bt-js .bt-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.bt-js .bt-reveal.is-in { opacity: 1; transform: none; }
.bt-js .bt-reveal.bt-delay-1 { transition-delay: 70ms; }
.bt-js .bt-reveal.bt-delay-2 { transition-delay: 140ms; }

/* Footer link that opens the cookie notice again */
.bt-footer-link { display: block; padding: 4px 0; border: 0; background: none; color: var(--muted-ink); font: inherit; text-align: left; cursor: pointer; }
.bt-footer-link:hover { color: var(--mint); }
.bt-footer-base a { color: var(--muted-ink); text-decoration: none; }

/* Legal pages (terms, privacy) */
.bt-legal-hero { background: var(--ink); padding: 140px 0 48px; }
.bt-legal-hero h1 { color: #fff; font-size: clamp(34px, 6vw, 52px); line-height: 1.1; letter-spacing: -.03em; margin: 12px 0 10px; }
.bt-legal-hero .bt-eyebrow { color: var(--mint); }
.bt-legal-hero p { color: var(--muted-ink); }
.bt-legal { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 88px; }
.bt-legal > * { min-width: 0; }
@media (min-width: 980px) { .bt-legal { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding-top: 56px; } }
.bt-legal-toc { align-self: start; padding: 20px; border-radius: var(--radius); background: var(--ground); border: 1px solid var(--border); font-size: 14px; }
@media (min-width: 980px) { .bt-legal-toc { position: sticky; top: 92px; max-height: calc(100vh - 116px); overflow-y: auto; } }
.bt-legal-toc b { display: block; color: var(--ink); margin-bottom: 8px; }
.bt-legal-toc ol { margin: 0; padding-left: 20px; color: var(--muted); }
.bt-legal-toc li { padding: 3px 0; }
.bt-legal-toc a { color: var(--body); text-decoration: none; }
.bt-legal-toc a:hover { color: var(--ink); text-decoration: underline; }
.bt-legal-body { max-width: 760px; font-size: 16px; line-height: 1.7; }
.bt-legal-body h2 { font-size: 24px; line-height: 1.25; margin: 44px 0 12px; scroll-margin-top: 92px; }
.bt-legal-body h3 { font-size: 17px; margin: 22px 0 6px; }
.bt-legal-body p, .bt-legal-body ul, .bt-legal-body ol { margin: 0 0 14px; }
.bt-legal-body ul, .bt-legal-body ol { padding-left: 22px; }
.bt-legal-body li { margin-bottom: 8px; }
.bt-legal-body b { color: var(--ink); }
.bt-legal-body a:not(.bt-btn) { color: var(--credit); font-weight: 600; text-underline-offset: 3px; }
.bt-legal-body code { font: 500 13px var(--mono); background: var(--ground); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.bt-legal-summary { padding: 22px 24px; border-radius: var(--radius); background: var(--mint-dim); border: 1px solid rgba(15, 122, 54, .2); }
.bt-legal-summary > b { display: block; font-size: 17px; margin-bottom: 8px; }
.bt-legal-summary ul { margin-bottom: 10px; }
.bt-legal-summary p { margin: 0; font-size: 14px; color: var(--muted); }
.bt-legal-table { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--border); border-radius: 16px; }
.bt-legal-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; }
.bt-legal-table th, .bt-legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.bt-legal-table th { background: var(--ground); color: var(--ink); font-weight: 700; }
.bt-legal-table tr:last-child td { border-bottom: 0; }

/* Cookie notice */
.bt-cookie {
    position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto;
    display: grid; gap: 16px; padding: 20px; border-radius: 22px; background: var(--ink); color: var(--muted-ink);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
    animation: bt-cookie-in .35s ease-out;
}
.bt-cookie[hidden] { display: none; }
@media (min-width: 720px) { .bt-cookie { left: 24px; right: auto; bottom: 24px; margin: 0; } }
@keyframes bt-cookie-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.bt-cookie-body { display: flex; gap: 14px; }
.bt-cookie-body > i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mint-dim); color: var(--mint); font-size: 19px; flex: none; }
.bt-cookie b { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.bt-cookie p { font-size: 14px; line-height: 1.5; }
.bt-cookie p a { color: var(--mint); font-weight: 600; }
.bt-cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.bt-cookie-actions .bt-btn { min-height: 44px; flex: 1 1 140px; }

/* Anchor targets land below the floating nav */
.bt section[id] { scroll-margin-top: 96px; }

/* Footer social links (only rendered once SOCIAL_* are set) */
.bt-socials { display: inline-flex; gap: 6px; }
.bt-socials a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff !important; font-size: 16px; transition: background .15s ease, color .15s ease; }
.bt-socials a:hover { background: var(--mint); color: var(--ink) !important; }
