/*
 * BitFlex clean homepage stylesheet.
 *
 * IMPORTANT:
 * This file intentionally uses the "bfx-" namespace for the homepage.
 * Shared header/footer selectors are kept separate so the homepage cannot
 * accidentally restyle your existing includes/header.php or footer.php.
 */

:root {
    --bfx-blue: #155eef;
    --bfx-blue-dark: #1049c4;
    --bfx-cyan: #38bdf8;
    --bfx-navy: #071a33;
    --bfx-ink: #17243a;
    --bfx-muted: #66758a;
    --bfx-soft: #f5f8fc;
    --bfx-line: #e5ebf3;
    --bfx-green: #18a66a;
    --bfx-red: #dc5961;
    --bfx-white: #fff;
    --bfx-shadow: 0 24px 70px rgba(7,31,67,.10);
    --bfx-shadow-lg: 0 35px 90px rgba(8,34,76,.16);
    --bfx-display: "Manrope", Inter, Arial, sans-serif;
    --bfx-body: "DM Sans", Inter, Arial, sans-serif;
}

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

.bfx-home {
    width: 100%;
    overflow: hidden;
    color: var(--bfx-ink);
    background: #fff;
    font-family: var(--bfx-body);
    line-height: 1.6;
}

.bfx-home a {
    color: inherit;
    text-decoration: none;
}

.bfx-home img,
.bfx-home svg {
    max-width: 100%;
}

.bfx-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.bfx-section {
    padding: 118px 0;
}

.bfx-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 0;
    background:
        radial-gradient(circle at 79% 19%, rgba(56,189,248,.14), transparent 27%),
        radial-gradient(circle at 62% 76%, rgba(21,94,239,.07), transparent 29%),
        linear-gradient(180deg,#fff 0%,#f8fbff 100%);
}

.bfx-hero::before {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    right: -310px;
    top: -350px;
    border: 1px solid rgba(21,94,239,.08);
    border-radius: 50%;
}

.bfx-hero-grid {
    min-height: 650px;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 55px;
    padding-bottom: 60px;
}

.bfx-hero-copy {
    position: relative;
    z-index: 2;
}

.bfx-eyebrow,
.bfx-section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--bfx-blue);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.bfx-eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bfx-cyan);
    box-shadow: 0 0 0 5px #e0f2fe;
}

.bfx-hero h1 {
    max-width: 720px;
    margin: 23px 0 23px;
    color: var(--bfx-navy);
    font: 850 clamp(50px,5.7vw,77px)/.98 var(--bfx-display);
    letter-spacing: -.067em;
}

.bfx-hero h1 em,
.bfx-section h2 em {
    display: block;
    color: var(--bfx-blue);
    font-style: normal;
}

.bfx-lead {
    max-width: 600px;
    margin: 0;
    color: var(--bfx-muted);
    font-size: 16px;
    line-height: 1.85;
}

.bfx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 31px;
}

.bfx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 49px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 850;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.bfx-btn:hover {
    transform: translateY(-2px);
}

.bfx-btn-primary {
    color: #fff;
    background: var(--bfx-blue);
    box-shadow: 0 12px 28px rgba(21,94,239,.22);
}

.bfx-btn-primary:hover {
    background: var(--bfx-blue-dark);
}

.bfx-btn-outline {
    color: var(--bfx-navy);
    border-color: #dbe4ee;
    background: #fff;
}

.bfx-btn-outline:hover {
    box-shadow: 0 12px 28px rgba(15,35,65,.08);
}

.bfx-btn-white {
    color: var(--bfx-navy);
    background: #fff;
}

.bfx-btn-dark-outline {
    color: #fff;
    border-color: rgba(255,255,255,.20);
    background: rgba(255,255,255,.06);
}

.bfx-assurance {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 34px;
}

.bfx-assurance-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    flex: 0 0 31px;
    border-radius: 50%;
    color: var(--bfx-green);
    background: #e8f8f0;
    font-size: 11px;
    font-weight: 900;
}

.bfx-assurance strong,
.bfx-assurance span {
    display: block;
}

.bfx-assurance strong {
    color: var(--bfx-navy);
    font-size: 11px;
}

.bfx-assurance span {
    margin-top: 2px;
    color: #8b97a7;
    font-size: 9px;
}

.bfx-hero-visual {
    position: relative;
    min-height: 530px;
    display: grid;
    place-items: center;
}

.bfx-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.bfx-orb-one {
    width: 470px;
    height: 470px;
    background: rgba(56,189,248,.09);
}

.bfx-orb-two {
    width: 300px;
    height: 300px;
    border: 1px solid rgba(21,94,239,.12);
    transform: rotate(-20deg);
}

.bfx-portfolio {
    position: relative;
    z-index: 2;
    width: min(570px, 94%);
    padding: 26px;
    border: 1px solid rgba(217,228,241,.95);
    border-radius: 26px;
    background: rgba(255,255,255,.95);
    box-shadow: var(--bfx-shadow-lg);
    transform: rotate(-1deg);
}

.bfx-portfolio-head,
.bfx-portfolio-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.bfx-portfolio-head span,
.bfx-portfolio-stats span {
    display: block;
    color: #98a4b3;
    font-size: 9px;
    font-weight: 750;
}

.bfx-portfolio-head strong {
    display: block;
    margin-top: 4px;
    color: var(--bfx-navy);
    font: 850 27px var(--bfx-display);
    letter-spacing: -.045em;
}

.bfx-live {
    align-self: flex-start;
    padding: 7px 10px;
    border: 1px solid #dcebe4;
    border-radius: 100px;
    color: #138158;
    background: #f2fbf7;
    font-size: 9px;
    font-weight: 850;
}

.bfx-live i {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 5px;
    border-radius: 50%;
    background: var(--bfx-green);
}

.bfx-chart {
    position: relative;
    height: 235px;
    margin-top: 22px;
}

.bfx-chart svg {
    position: absolute;
    inset: 5px 0 25px;
    width: 100%;
    height: calc(100% - 30px);
}

.bfx-grid-lines {
    position: absolute;
    inset: 7px 0 29px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bfx-grid-lines i {
    display: block;
    border-top: 1px dashed #e9eef4;
}

.bfx-line {
    fill: none;
    stroke: var(--bfx-blue);
    stroke-width: 4;
    stroke-linecap: round;
}

.bfx-dot {
    fill: var(--bfx-blue);
    stroke: #fff;
    stroke-width: 4;
}

.bfx-axis {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    color: #a0acba;
    font-size: 8px;
    font-weight: 700;
}

.bfx-portfolio-stats {
    padding-top: 17px;
    border-top: 1px solid #edf1f6;
}

.bfx-portfolio-stats strong {
    display: block;
    margin-top: 4px;
    color: var(--bfx-navy);
    font-size: 13px;
}

.bfx-positive {
    color: var(--bfx-green) !important;
}

.bfx-negative {
    color: var(--bfx-red) !important;
}

.bfx-float {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #dfe7f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(16,48,92,.13);
}

.bfx-float-market {
    top: 45px;
    right: -4px;
}

.bfx-float-security {
    bottom: 45px;
    left: -4px;
}

.bfx-float small,
.bfx-float strong {
    display: block;
}

.bfx-float small {
    color: #94a0b0;
    font-size: 8px;
}

.bfx-float strong {
    margin-top: 2px;
    color: var(--bfx-navy);
    font-size: 10px;
}

.bfx-float b {
    margin-left: 7px;
    color: var(--bfx-green);
    font-size: 8px;
}

.bfx-coin-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 900;
}

.bfx-btc { color: #df8b16; background: #fff1df; }
.bfx-eth { color: #6274c9; background: #eef0ff; }
.bfx-sol { color: #7c4cc6; background: #f2eaff; }
.bfx-bnb { color: #ad7c00; background: #fff7d7; }

.bfx-check {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--bfx-green);
    background: #e8f8f0;
    font-weight: 900;
}

.bfx-market-strip {
    padding: 24px 0;
    border-block: 1px solid #e8eef5;
    background: #fbfcfe;
}

.bfx-market-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.bfx-market-heading div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bfx-market-heading i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bfx-green);
}

.bfx-market-heading strong {
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bfx-market-heading > span {
    color: #96a2b1;
    font-size: 9px;
}

.bfx-market-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
}

.bfx-market-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 12px;
    padding: 14px;
    border: 1px solid #e5ebf2;
    border-radius: 15px;
    background: #fff;
}

.bfx-market-asset {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bfx-market-asset strong,
.bfx-market-asset small {
    display: block;
}

.bfx-market-asset strong {
    font-size: 10px;
}

.bfx-market-asset small {
    margin-top: 1px;
    color: #98a3b1;
    font-size: 8px;
}

.bfx-price {
    text-align: right;
    color: var(--bfx-navy);
    font-size: 11px;
}

.bfx-change {
    grid-column: 2;
    text-align: right;
    color: #8b97a6;
    font-size: 8px;
    font-weight: 800;
}

.bfx-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.bfx-section-label {
    margin-bottom: 16px;
}

.bfx-section h2 {
    margin: 0;
    color: var(--bfx-navy);
    font: 850 clamp(38px,4.4vw,60px)/1 var(--bfx-display);
    letter-spacing: -.06em;
}

.bfx-copy {
    padding-top: 8px;
}

.bfx-copy p {
    margin: 0 0 17px;
    color: var(--bfx-muted);
    font-size: 15px;
    line-height: 1.85;
}

.bfx-text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #cbd6e3;
    color: var(--bfx-navy);
    font-size: 11px;
    font-weight: 850;
    transition: color .2s ease, gap .2s ease;
}

.bfx-text-link:hover {
    gap: 17px;
    color: var(--bfx-blue);
}

.bfx-features {
    background: var(--bfx-soft);
    border-block: 1px solid #eaf0f6;
}

.bfx-section-head {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 60px;
    align-items: end;
    margin-bottom: 47px;
}

.bfx-section-head p {
    margin: 0;
    color: var(--bfx-muted);
    font-size: 13px;
    line-height: 1.8;
}

.bfx-feature-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 14px;
}

.bfx-feature {
    position: relative;
    min-height: 275px;
    padding: 29px;
    overflow: hidden;
    border: 1px solid #e1e8f0;
    border-radius: 23px;
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
}

.bfx-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--bfx-shadow);
}

.bfx-feature-large {
    grid-row: span 2;
    min-height: 565px;
}

.bfx-feature-blue {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(145deg,#2563eb,#1649b8);
}

.bfx-feature-dark {
    color: #fff;
    border-color: transparent;
    background: #0c1a2e;
}

.bfx-feature-number {
    color: #9aa6b5;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .1em;
}

.bfx-feature-blue .bfx-feature-number,
.bfx-feature-dark .bfx-feature-number {
    color: rgba(255,255,255,.45);
}

.bfx-feature-symbol {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-top: 54px;
    border-radius: 14px;
    color: var(--bfx-blue);
    background: #edf4ff;
    font-size: 19px;
    font-weight: 800;
}

.bfx-feature-blue .bfx-feature-symbol {
    color: var(--bfx-blue);
    background: #fff;
}

.bfx-feature-dark .bfx-feature-symbol {
    color: #fff;
    background: rgba(255,255,255,.10);
}

.bfx-feature h3 {
    margin: 20px 0 9px;
    color: inherit;
    font: 800 22px/1.15 var(--bfx-display);
    letter-spacing: -.035em;
}

.bfx-feature p {
    max-width: 380px;
    margin: 0;
    color: #718095;
    font-size: 12px;
    line-height: 1.75;
}

.bfx-feature-blue p,
.bfx-feature-dark p {
    color: rgba(255,255,255,.69);
}

.bfx-feature a {
    position: absolute;
    left: 29px;
    bottom: 28px;
    color: var(--bfx-blue);
    font-size: 10px;
    font-weight: 850;
}

.bfx-feature-blue a,
.bfx-feature-dark a {
    color: #fff;
}

.bfx-plans {
    background: #f9fbfe;
}

.bfx-plan-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
}

.bfx-plan-card {
    position: relative;
    padding: 27px;
    border: 1px solid #e1e8f0;
    border-radius: 22px;
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
}

.bfx-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bfx-shadow);
}

.bfx-plan-featured {
    border-color: #9abcf3;
    box-shadow: 0 17px 50px rgba(21,94,239,.09);
}

.bfx-popular {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 11px;
    border-radius: 0 0 0 10px;
    color: var(--bfx-blue);
    background: #edf4ff;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.bfx-plan-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bfx-plan-top > span {
    color: #a0acba;
    font-size: 9px;
    font-weight: 850;
}

.bfx-plan-top small {
    color: #168658;
    background: #f1faf6;
    padding: 5px 8px;
    border-radius: 99px;
    font-size: 8px;
    font-weight: 800;
}

.bfx-plan-top small i {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 4px;
    border-radius: 50%;
    background: var(--bfx-green);
}

.bfx-plan-card h3 {
    margin: 28px 0 8px;
    color: var(--bfx-navy);
    font: 850 25px var(--bfx-display);
    letter-spacing: -.045em;
}

.bfx-plan-card > p {
    min-height: 65px;
    margin: 0;
    color: var(--bfx-muted);
    font-size: 11px;
    line-height: 1.7;
}

.bfx-plan-money {
    padding: 18px 0;
    margin-top: 20px;
    border-block: 1px solid #edf1f5;
}

.bfx-plan-money span,
.bfx-plan-money strong {
    display: block;
}

.bfx-plan-money span {
    color: #96a2b1;
    font-size: 9px;
}

.bfx-plan-money strong {
    margin-top: 4px;
    color: var(--bfx-navy);
    font: 800 18px var(--bfx-display);
}

.bfx-plan-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-top: 15px;
}

.bfx-plan-meta span,
.bfx-plan-meta strong {
    display: block;
}

.bfx-plan-meta span {
    color: #96a2b1;
    font-size: 8px;
}

.bfx-plan-meta strong {
    margin-top: 4px;
    color: #344258;
    font-size: 10px;
}

.bfx-plan-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    color: var(--bfx-blue);
    font-size: 10px;
    font-weight: 850;
}

.bfx-plan-link span {
    font-size: 16px;
}

.bfx-empty {
    padding: 50px 25px;
    border: 1px dashed #cbd6e3;
    border-radius: 22px;
    background: #fff;
    text-align: center;
}

.bfx-empty strong {
    color: var(--bfx-navy);
    font: 800 19px var(--bfx-display);
}

.bfx-empty p {
    margin: 8px 0 20px;
    color: var(--bfx-muted);
    font-size: 12px;
}

/* =========================================================
   BITFLEX — PROFESSIONAL STORY / IMAGE SECTION
   ========================================================= */

.bfx-story {
    position: relative;
    padding: 110px 0;
    background: #ffffff;
    overflow: hidden;
}

.bfx-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 90px;
    align-items: center;
}


/* ---------------------------------------------------------
   IMAGE PANEL
   --------------------------------------------------------- */

.bfx-story-art {
    position: relative;
    min-height: 650px;
    border-radius: 28px;
    overflow: hidden;
    isolation: isolate;
    background: #0b1728;
    box-shadow:
        0 30px 80px rgba(15, 35, 65, .14),
        0 8px 24px rgba(15, 35, 65, .08);
}

.bfx-story-art > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;

    transform: scale(1.01);
    transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}

.bfx-story-art:hover > img {
    transform: scale(1.045);
}


/* Professional dark image treatment */

.bfx-story-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(5, 18, 36, .12) 0%,
            rgba(5, 18, 36, .18) 35%,
            rgba(5, 18, 36, .82) 100%
        );
}


/* Subtle premium light */

.bfx-story-art::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(56, 189, 248, .16),
            transparent 35%
        );
}


/* ---------------------------------------------------------
   IMAGE CONTENT
   --------------------------------------------------------- */

.bfx-story-image-content {
    position: absolute;
    left: 44px;
    right: 44px;
    bottom: 48px;
    z-index: 3;
    color: #ffffff;
}

.bfx-story-image-content > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;

    color: rgba(255,255,255,.72);
}

.bfx-story-image-content > span::before {
    content: "";
    width: 26px;
    height: 1px;
    background: rgba(255,255,255,.65);
}

.bfx-story-image-content strong {
    display: block;

    max-width: 480px;

    font-family: "Manrope", "Inter", sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.04;
    font-weight: 750;
    letter-spacing: -.045em;
}

.bfx-story-image-line {
    width: 58px;
    height: 2px;

    margin: 25px 0 17px;

    background: #38bdf8;
}

.bfx-story-image-content p {
    max-width: 360px;
    margin: 0;

    font-size: 14px;
    line-height: 1.7;

    color: rgba(255,255,255,.72);
}


/* ---------------------------------------------------------
   FLOATING IMAGE BADGE
   --------------------------------------------------------- */

.bfx-story-image-badge {
    position: absolute;
    top: 28px;
    right: 28px;

    z-index: 4;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 13px 16px;

    border: 1px solid rgba(255,255,255,.17);
    border-radius: 14px;

    background: rgba(8, 25, 46, .55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow: 0 15px 35px rgba(0,0,0,.16);
}

.bfx-story-badge-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;

    border-radius: 50%;
    background: #35d49a;

    box-shadow: 0 0 0 5px rgba(53,212,154,.12);
}

.bfx-story-image-badge div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bfx-story-image-badge strong {
    color: #ffffff;
    font-size: 12px;
    font-weight: 750;
}

.bfx-story-image-badge small {
    color: rgba(255,255,255,.62);
    font-size: 10px;
}


/* ---------------------------------------------------------
   TEXT SIDE
   --------------------------------------------------------- */

.bfx-story-copy {
    max-width: 570px;
}

.bfx-story-copy h2 {
    margin: 18px 0 25px;

    font-family: "Manrope", "Inter", sans-serif;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.02;
    letter-spacing: -.05em;
    font-weight: 760;

    color: #10213a;
}

.bfx-story-copy h2 em {
    color: #155eef;
    font-style: normal;
}

.bfx-story-intro {
    max-width: 520px;

    margin: 0 0 34px;

    color: #66758a;
    font-size: 16px;
    line-height: 1.85;
}


/* ---------------------------------------------------------
   STORY ITEMS
   --------------------------------------------------------- */

.bfx-story-list {
    margin: 0 0 35px;
    border-top: 1px solid #e6ebf2;
}

.bfx-story-item {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr);
    gap: 18px;

    padding: 21px 0;

    border-bottom: 1px solid #e6ebf2;
}

.bfx-story-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid #dce5ef;
    border-radius: 10px;

    background: #f7f9fc;

    color: #155eef;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}

.bfx-story-item > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bfx-story-item strong {
    color: #17243a;
    font-size: 14px;
    font-weight: 750;
}

.bfx-story-item span {
    color: #748298;
    font-size: 13px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1050px) {

    .bfx-story-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .bfx-story-art {
        min-height: 570px;
    }

    .bfx-story-image-content {
        left: 34px;
        right: 34px;
        bottom: 36px;
    }

}


@media (max-width: 820px) {

    .bfx-story {
        padding: 80px 0;
    }

    .bfx-story-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .bfx-story-art {
        min-height: 560px;
    }

    .bfx-story-copy {
        max-width: 720px;
    }

}


@media (max-width: 560px) {

    .bfx-story {
        padding: 65px 0;
    }

    .bfx-story-art {
        min-height: 470px;
        border-radius: 20px;
    }

    .bfx-story-image-content {
        left: 24px;
        right: 24px;
        bottom: 28px;
    }

    .bfx-story-image-content strong {
        font-size: 34px;
    }

    .bfx-story-image-badge {
        top: 18px;
        right: 18px;

        padding: 10px 12px;
    }

    .bfx-story-image-badge small {
        display: none;
    }

    .bfx-story-copy h2 {
        font-size: 38px;
    }

    .bfx-story-item {
        grid-template-columns: 42px minmax(0,1fr);
        gap: 14px;
    }

}

.bfx-testimonials {
    background: var(--bfx-soft);
    border-block: 1px solid #eaf0f6;
}

.bfx-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
}

.bfx-testimonial {
    padding: 28px;
    border: 1px solid #e0e7ef;
    border-radius: 22px;
    background: #fff;
}

.bfx-testimonial-featured {
    color: #fff;
    border-color: transparent;
    background: var(--bfx-navy);
}

.bfx-stars {
    color: #efb84c;
    letter-spacing: 2px;
    font-size: 10px;
}

.bfx-testimonial blockquote {
    min-height: 150px;
    margin: 22px 0;
    font: 600 16px/1.55 var(--bfx-display);
    letter-spacing: -.025em;
}

.bfx-person {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-top: 17px;
    border-top: 1px solid #e9eef4;
}

.bfx-testimonial-featured .bfx-person {
    border-color: rgba(255,255,255,.13);
}

.bfx-person > b {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--bfx-blue);
    font-size: 8px;
}

.bfx-person strong,
.bfx-person span {
    display: block;
}

.bfx-person strong {
    font-size: 10px;
}

.bfx-person span {
    margin-top: 2px;
    color: #8995a6;
    font-size: 8px;
}

.bfx-testimonial-featured .bfx-person span {
    color: rgba(255,255,255,.5);
}

.bfx-faq {
    background: #fff;
}

.bfx-faq-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 100px;
    align-items: start;
}

.bfx-faq-grid > div:first-child p {
    max-width: 400px;
    color: var(--bfx-muted);
    font-size: 14px;
    line-height: 1.8;
    margin: 23px 0;
}

.bfx-accordion {
    border-top: 1px solid #e2e8f0;
}

.bfx-accordion details {
    border-bottom: 1px solid #e2e8f0;
}

.bfx-accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 21px 0;
    cursor: pointer;
    list-style: none;
    color: var(--bfx-navy);
    font: 700 14px var(--bfx-display);
}

.bfx-accordion summary::-webkit-details-marker {
    display: none;
}

.bfx-accordion summary span {
    color: var(--bfx-blue);
    font-size: 20px;
    transition: transform .2s ease;
}

.bfx-accordion details[open] summary span {
    transform: rotate(45deg);
}

.bfx-accordion p {
    max-width: 720px;
    margin: 0;
    padding: 0 40px 21px 0;
    color: var(--bfx-muted);
    font-size: 12px;
    line-height: 1.8;
}

.bfx-cta {
    padding: 10px 0 85px;
    background: #fff;
}

.bfx-cta-card {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 62px 65px;
    border-radius: 30px;
    color: #fff;
    background: linear-gradient(120deg,#071a33 0%,#0d315f 55%,#155eef 100%);
}

.bfx-cta-grid {
    position: absolute;
    inset: 0;
    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: 52px 52px;
    mask-image: linear-gradient(to right,#000,transparent 82%);
}

.bfx-cta-copy {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.bfx-cta .bfx-section-label {
    color: #9ce7ff;
}

.bfx-cta h2 {
    margin: 14px 0 17px;
    color: #fff;
    font: 850 clamp(38px,4.3vw,58px)/1 var(--bfx-display);
    letter-spacing: -.06em;
}

.bfx-cta h2 em {
    color: #86d5ff;
}

.bfx-cta p {
    max-width: 580px;
    margin: 0;
    color: #c7d8ec;
    font-size: 13px;
    line-height: 1.8;
}

.bfx-cta .bfx-actions {
    margin-top: 26px;
}

.bfx-cta-mark {
    position: absolute;
    z-index: 1;
    right: 70px;
    bottom: 27px;
    color: rgba(255,255,255,.08);
    font: 900 190px/1 var(--bfx-display);
    letter-spacing: -.12em;
}

.bfx-cta-mark span {
    color: rgba(125,211,252,.25);
    font-size: 55px;
    vertical-align: top;
}

.bfx-disclaimer {
    padding: 0 0 45px;
    color: #8a96a6;
    font-size: 9px;
    line-height: 1.7;
    text-align: center;
}

.bfx-disclaimer strong {
    color: #647387;
}

.bfx-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease;
}

.bfx-reveal.bfx-visible {
    opacity: 1;
    transform: none;
}

.bfx-home a:focus-visible,
.bfx-home summary:focus-visible {
    outline: 3px solid rgba(37,99,235,.25);
    outline-offset: 4px;
}

@media (max-width: 1080px) {
    .bfx-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .bfx-hero h1 {
        font-size: 55px;
    }

    .bfx-feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bfx-feature-large {
        grid-column: span 2;
        grid-row: auto;
        min-height: 370px;
    }

    .bfx-plan-grid,
    .bfx-testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bfx-plan-card:last-child,
    .bfx-testimonial:last-child {
        grid-column: span 2;
    }

    .bfx-story-grid {
        gap: 50px;
    }
}

@media (max-width: 800px) {
    .bfx-container {
        width: min(100% - 32px, 700px);
    }

    .bfx-section {
        padding: 82px 0;
    }

    .bfx-hero {
        padding-top: 45px;
    }

    .bfx-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bfx-hero-copy {
        max-width: 700px;
    }

    .bfx-hero-visual {
        max-width: 680px;
        width: 100%;
        margin: 0 auto;
    }

    .bfx-section-head {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .bfx-two-column,
    .bfx-story-grid,
    .bfx-faq-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .bfx-feature-grid {
        grid-template-columns: 1fr;
    }

    .bfx-feature-large {
        grid-column: auto;
        min-height: 380px;
    }

    .bfx-plan-grid,
    .bfx-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .bfx-plan-card:last-child,
    .bfx-testimonial:last-child {
        grid-column: auto;
    }

    .bfx-story-art {
        min-height: 460px;
    }

    .bfx-cta-card {
        padding: 52px 35px;
    }
}

@media (max-width: 560px) {
    .bfx-container {
        width: calc(100% - 24px);
    }

    .bfx-section {
        padding: 65px 0;
    }

    .bfx-hero {
        padding-top: 35px;
    }

    .bfx-hero h1 {
        font-size: 43px;
    }

    .bfx-lead {
        font-size: 14px;
    }

    .bfx-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .bfx-btn {
        width: 100%;
    }

    .bfx-hero-visual {
        min-height: 390px;
    }

    .bfx-portfolio {
        padding: 18px;
        border-radius: 20px;
    }

    .bfx-portfolio-head strong {
        font-size: 21px;
    }

    .bfx-chart {
        height: 180px;
    }

    .bfx-float {
        padding: 9px 10px;
    }

    .bfx-float-market {
        top: 5px;
        right: 0;
    }

    .bfx-float-security {
        left: 0;
        bottom: 5px;
    }

    .bfx-market-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .bfx-market-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .bfx-market-card {
        padding: 12px 10px;
    }

    .bfx-market-heading > span {
        font-size: 8px;
    }

    .bfx-section h2 {
        font-size: 38px;
    }

    .bfx-feature {
        min-height: 310px;
        padding: 24px;
    }

    .bfx-feature-large {
        min-height: 390px;
    }

    .bfx-feature a {
        left: 24px;
        bottom: 24px;
    }

    .bfx-story-art {
        min-height: 390px;
        padding: 25px;
        border-radius: 22px;
    }

    .bfx-testimonial blockquote {
        min-height: auto;
    }

    .bfx-cta-card {
        min-height: 0;
        padding: 38px 22px;
        border-radius: 23px;
    }

    .bfx-cta h2 {
        font-size: 36px;
    }

    .bfx-cta-mark {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bfx-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================================
   BITFLEX GLOBAL SITE SHELL — NAMESPACED
   ========================================================= */
:root{--bf-navy:#0b1f3a;--bf-blue:#155eef;--bf-cyan:#38bdf8;--bf-ink:#172033;--bf-line:#e5eaf2}
.bf-site-body{margin:0;background:#fff;color:var(--bf-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.bf-site-body *, .bf-site-body *::before, .bf-site-body *::after{box-sizing:border-box}
.bf-site-body a{text-decoration:none}.bf-site-body button{font:inherit}
.bf-skip-link{position:fixed;z-index:9999;left:16px;top:-60px;padding:11px 16px;border-radius:10px;background:var(--bf-navy);color:#fff;font-size:14px;font-weight:700;transition:top .2s ease}.bf-skip-link:focus{top:16px}
.bf-header{position:sticky;top:0;z-index:900;width:100%;background:rgba(255,255,255,.94);border-bottom:1px solid rgba(226,232,240,.8);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);transition:box-shadow .25s ease,background .25s ease}.bf-header.bf-scrolled{background:rgba(255,255,255,.98);box-shadow:0 8px 30px rgba(15,34,65,.06)}
.bf-header-inner{width:min(1240px,calc(100% - 48px));min-height:76px;margin:0 auto;display:flex;align-items:center;gap:34px}
.bf-logo{display:inline-flex;align-items:center;gap:10px;flex:0 0 auto;color:var(--bf-navy)}.bf-logo-mark{width:40px;height:40px;display:grid;place-items:center;color:var(--bf-blue)}.bf-logo-mark svg{display:block;width:40px;height:40px}.bf-logo-word{font-family:Manrope,Inter,sans-serif;font-size:22px;line-height:1;letter-spacing:-.055em;font-weight:800}.bf-logo-word span{color:var(--bf-blue)}
.bf-nav{display:flex;align-items:center;justify-content:center;gap:4px;margin-left:auto}.bf-nav>a{position:relative;padding:10px 13px;color:#536176;font-size:13.5px;font-weight:650;white-space:nowrap;transition:color .2s ease}.bf-nav>a::after{content:"";position:absolute;left:13px;right:13px;bottom:3px;height:2px;border-radius:99px;background:var(--bf-blue);transform:scaleX(0);transition:transform .2s ease}.bf-nav>a:hover,.bf-nav>a.is-active{color:var(--bf-navy)}.bf-nav>a.is-active::after{transform:scaleX(1)}
.bf-header-actions{display:flex;align-items:center;gap:15px;margin-left:10px}.bf-nav-login{color:var(--bf-navy);font-size:13.5px;font-weight:700;white-space:nowrap}.bf-nav-login:hover{color:var(--bf-blue)}.bf-nav-cta{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 17px;border-radius:12px;background:var(--bf-navy);color:#fff;box-shadow:0 8px 20px rgba(11,31,58,.14);font-size:13px;font-weight:750;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.bf-nav-cta span{font-size:16px}.bf-nav-cta:hover{background:#12335d;color:#fff;transform:translateY(-1px);box-shadow:0 11px 24px rgba(11,31,58,.18)}
.bf-menu-toggle{display:none;width:44px;height:44px;padding:0;margin-left:auto;border:1px solid var(--bf-line);border-radius:12px;background:#fff;cursor:pointer}.bf-menu-toggle span{display:block;width:19px;height:2px;margin:4px auto;border-radius:99px;background:var(--bf-navy);transition:transform .2s ease,opacity .2s ease}.bf-menu-toggle.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg)}.bf-menu-toggle.is-open span:nth-child(2){opacity:0}.bf-menu-toggle.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.bf-mobile-actions{display:none}
.bf-footer{position:relative;overflow:hidden;background:#07182e;color:#fff}.bf-footer-glow{position:absolute;width:480px;height:280px;right:-180px;top:-150px;border-radius:50%;background:rgba(56,189,248,.12);filter:blur(20px);pointer-events:none}.bf-footer-inner{position:relative;z-index:1;width:min(1240px,calc(100% - 48px));margin:0 auto}.bf-footer-top{display:grid;grid-template-columns:1.8fr 1fr 1fr 1fr;gap:55px;padding:72px 0 62px}.bf-footer-brand p{max-width:390px;margin:20px 0 22px;color:#aebbd0;font-size:14px;line-height:1.8}.bf-logo-footer{color:#fff}.bf-logo-footer .bf-logo-word{color:#fff}.bf-logo-footer .bf-logo-word span,.bf-logo-footer .bf-logo-mark{color:#7dd3fc}.bf-footer-badges{display:flex;flex-wrap:wrap;gap:8px}.bf-footer-badges span{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(148,163,184,.18);border-radius:999px;color:#b9c6d8;font-size:11px;font-weight:650}.bf-footer-badges i{width:6px;height:6px;border-radius:50%;background:#38bdf8}.bf-footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:13px}.bf-footer-column h2{margin:3px 0 10px;color:#fff;font-size:12px;line-height:1;letter-spacing:.1em;text-transform:uppercase}.bf-footer-column a{color:#9eacc1;font-size:13.5px;transition:color .18s ease,transform .18s ease}.bf-footer-column a:hover{color:#fff;transform:translateX(2px)}.bf-footer-bottom{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:30px;border-top:1px solid rgba(148,163,184,.14);color:#7f8da4;font-size:11.5px}.bf-footer-risk{text-align:right;max-width:610px;line-height:1.6}
@media(max-width:1100px){.bf-header-inner{gap:20px}.bf-nav>a{padding-left:9px;padding-right:9px;font-size:13px}.bf-nav>a::after{left:9px;right:9px}.bf-footer-top{gap:35px}}
@media(max-width:920px){.bf-header-inner{width:min(100% - 32px,760px);min-height:70px}.bf-menu-toggle{display:block}.bf-header-actions{display:none}.bf-nav{position:absolute;left:16px;right:16px;top:calc(100% + 8px);display:flex;flex-direction:column;align-items:stretch;gap:2px;padding:10px;border:1px solid var(--bf-line);border-radius:18px;background:#fff;box-shadow:0 20px 50px rgba(15,34,65,.13);opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease}.bf-nav.is-open{opacity:1;visibility:visible;transform:translateY(0)}.bf-nav>a{padding:13px 14px;border-radius:10px;font-size:14px}.bf-nav>a::after{display:none}.bf-nav>a:hover,.bf-nav>a.is-active{background:#f5f8fc}.bf-mobile-actions{display:flex;gap:9px;padding:10px 4px 4px;border-top:1px solid var(--bf-line);margin-top:6px}.bf-mobile-actions .bf-nav-login,.bf-mobile-actions .bf-nav-cta{flex:1;text-align:center}.bf-mobile-actions .bf-nav-login{min-height:42px;display:flex;align-items:center;justify-content:center;border:1px solid var(--bf-line);border-radius:11px}.bf-mobile-actions .bf-nav-cta{display:flex}.bf-footer-top{grid-template-columns:1.5fr 1fr 1fr;gap:40px 28px}.bf-footer-brand{grid-column:1/-1}}
@media(max-width:620px){.bf-header-inner,.bf-footer-inner{width:calc(100% - 28px)}.bf-logo-word{font-size:20px}.bf-logo-mark,.bf-logo-mark svg{width:36px;height:36px}.bf-footer-top{grid-template-columns:1fr 1fr;padding:52px 0 42px;gap:36px 22px}.bf-footer-brand{grid-column:1/-1}.bf-footer-bottom{align-items:flex-start;flex-direction:column;justify-content:center;gap:8px;padding:20px 0}.bf-footer-risk{text-align:left}}
@media(prefers-reduced-motion:reduce){.bf-header,.bf-nav,.bf-menu-toggle span,.bf-nav-cta,.bf-footer-column a{transition:none}}body.bf-menu-open{overflow:hidden}



/* ============================================================
   BITFLEX PUBLIC INNER PAGES
   ABOUT + HOW IT WORKS
   ------------------------------------------------------------
   IMPORTANT:
   These styles are intentionally namespaced.
   They do NOT modify the global bf-* header/footer.
============================================================ */

.bfx-page {
    --page-navy: #071a33;
    --page-navy-2: #0b2445;
    --page-blue: #155eef;
    --page-blue-dark: #1049c4;
    --page-cyan: #38bdf8;
    --page-ink: #17243a;
    --page-muted: #66758a;
    --page-soft: #f5f8fc;
    --page-line: #e3e9f1;
    --page-white: #ffffff;
    --page-green: #159669;
    --page-shadow: 0 22px 55px rgba(7, 26, 51, .08);
    --page-shadow-lg: 0 35px 80px rgba(7, 26, 51, .13);

    color: var(--page-ink);
    background: #fff;
    overflow: hidden;
}

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

.bfx-page-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* ============================================================
   TYPOGRAPHY / COMMON
============================================================ */

.bfx-page h1,
.bfx-page h2,
.bfx-page h3,
.bfx-page p {
    margin-top: 0;
}

.bfx-page h1,
.bfx-page h2,
.bfx-page h3 {
    letter-spacing: -.035em;
}

.bfx-page h1 em,
.bfx-page h2 em {
    font-style: normal;
    color: var(--page-blue);
}

.bfx-page-section {
    padding: 120px 0;
}

.bfx-page-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--page-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.bfx-page-section-label::before {
    content: "";
    width: 25px;
    height: 1px;
    background: currentColor;
}


/* ============================================================
   BUTTONS
============================================================ */

.bfx-page-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 23px;
    border: 1px solid transparent;
    border-radius: 7px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -.01em;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        border-color .25s ease,
        color .25s ease;
}

.bfx-page-btn span {
    font-size: 17px;
    line-height: 1;
}

.bfx-page-btn:hover {
    transform: translateY(-2px);
}

.bfx-page-btn-primary {
    color: #fff;
    background: var(--page-blue);
    box-shadow: 0 12px 28px rgba(21, 94, 239, .22);
}

.bfx-page-btn-primary:hover {
    color: #fff;
    background: var(--page-blue-dark);
    box-shadow: 0 16px 34px rgba(21, 94, 239, .28);
}

.bfx-page-btn-secondary {
    color: var(--page-ink);
    background: #fff;
    border-color: #d7e0eb;
}

.bfx-page-btn-secondary:hover {
    color: var(--page-blue);
    border-color: #b9c8da;
    box-shadow: 0 10px 25px rgba(7, 26, 51, .07);
}

.bfx-page-btn-white {
    color: var(--page-navy);
    background: #fff;
}

.bfx-page-btn-white:hover {
    color: var(--page-blue);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
}

.bfx-page-btn-ghost {
    color: #fff;
    border-color: rgba(255,255,255,.27);
    background: rgba(255,255,255,.06);
}

.bfx-page-btn-ghost:hover {
    color: #fff;
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.12);
}


/* ============================================================
   PAGE HERO
============================================================ */

.bfx-page-hero {
    position: relative;
    padding: 92px 0 105px;
    background:
        radial-gradient(circle at 82% 22%, rgba(56,189,248,.10), transparent 27%),
        radial-gradient(circle at 60% 100%, rgba(21,94,239,.08), transparent 35%),
        #f8fafc;
    border-bottom: 1px solid var(--page-line);
}

.bfx-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(7,26,51,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7,26,51,.025) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent);
}

.bfx-page-hero-grid,
.bfx-how-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, .9fr);
    gap: 90px;
    align-items: center;
}

.bfx-page-hero-copy {
    max-width: 650px;
}

.bfx-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 27px;
    color: var(--page-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.bfx-page-kicker span {
    width: 28px;
    height: 2px;
    background: var(--page-blue);
}

.bfx-page-hero h1 {
    max-width: 720px;
    margin-bottom: 27px;
    color: var(--page-navy);
    font-family: "Manrope", "Inter", sans-serif;
    font-size: clamp(48px, 5.3vw, 76px);
    line-height: .99;
    font-weight: 800;
}

.bfx-page-hero h1 em {
    display: block;
}

.bfx-page-hero-lead {
    max-width: 610px;
    margin-bottom: 35px;
    color: var(--page-muted);
    font-size: 17px;
    line-height: 1.8;
}

.bfx-page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* ============================================================
   ABOUT HERO IMAGE
============================================================ */

.bfx-about-hero-visual {
    position: relative;
    min-height: 540px;
}

.bfx-about-image-frame {
    position: absolute;
    inset: 0 0 0 35px;
    overflow: hidden;
    background: #dce4ed;
    border: 1px solid rgba(7,26,51,.08);
    box-shadow: var(--page-shadow-lg);
}

.bfx-about-image-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.bfx-about-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(7,26,51,.02) 20%,
            rgba(7,26,51,.62) 100%
        );
}

.bfx-about-image-caption {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 32px;
    color: #fff;
}

.bfx-about-image-caption span {
    display: block;
    margin-bottom: 9px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
    opacity: .75;
}

.bfx-about-image-caption strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 25px;
    letter-spacing: -.025em;
}

.bfx-about-floating-card {
    position: absolute;
    left: 0;
    bottom: 42px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 235px;
    padding: 17px 20px;
    background: rgba(255,255,255,.97);
    border: 1px solid #dfe6ef;
    box-shadow: 0 20px 45px rgba(7,26,51,.14);
}

.bfx-about-floating-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--page-blue);
    font-size: 18px;
}

.bfx-about-floating-card small {
    display: block;
    margin-bottom: 3px;
    color: var(--page-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bfx-about-floating-card strong {
    color: var(--page-navy);
    font-size: 14px;
}


/* ============================================================
   ABOUT INTRO
============================================================ */

.bfx-about-intro {
    background: #fff;
}

.bfx-about-intro-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 90px;
}

.bfx-about-section-label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--page-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.bfx-about-section-label span {
    color: var(--page-blue);
}

.bfx-about-intro-content {
    max-width: 800px;
}

.bfx-about-intro-content h2 {
    max-width: 760px;
    margin-bottom: 38px;
    color: var(--page-navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(36px, 4vw, 57px);
    line-height: 1.06;
    font-weight: 800;
}

.bfx-about-intro-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.bfx-about-intro-text p {
    margin-bottom: 0;
    color: var(--page-muted);
    font-size: 15px;
    line-height: 1.9;
}


/* ============================================================
   ABOUT VALUES
============================================================ */

.bfx-about-values {
    background: var(--page-soft);
    border-top: 1px solid var(--page-line);
    border-bottom: 1px solid var(--page-line);
}

.bfx-about-section-heading {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 70px;
    align-items: end;
    margin-bottom: 55px;
}

.bfx-about-section-heading h2 {
    max-width: 620px;
    margin: 0;
    color: var(--page-navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.05;
}

.bfx-about-section-heading > p {
    margin: 0;
    color: var(--page-muted);
    font-size: 14px;
    line-height: 1.8;
}

.bfx-about-values-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1px;
    background: #dbe3ed;
    border: 1px solid #dbe3ed;
}

.bfx-about-value {
    min-height: 285px;
    padding: 35px;
    background: #fff;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.bfx-about-value:hover {
    position: relative;
    z-index: 2;
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(7,26,51,.10);
}

.bfx-about-value-large {
    grid-row: span 2;
    min-height: 570px;
    padding: 42px;
}

.bfx-about-value-dark {
    grid-column: span 2;
    min-height: 285px;
    color: #fff;
    background: var(--page-navy);
}

.bfx-about-value-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 70px;
}

.bfx-about-value-large .bfx-about-value-top {
    margin-bottom: 160px;
}

.bfx-about-value-top > span {
    color: var(--page-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.bfx-about-value-top > i {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    color: var(--page-blue);
    border: 1px solid #d8e2ed;
    font-style: normal;
    font-size: 17px;
}

.bfx-about-value-dark .bfx-about-value-top > i {
    color: #fff;
    border-color: rgba(255,255,255,.2);
}

.bfx-about-value h3 {
    margin-bottom: 13px;
    color: var(--page-navy);
    font-family: "Manrope", sans-serif;
    font-size: 25px;
    font-weight: 800;
}

.bfx-about-value-dark h3 {
    color: #fff;
}

.bfx-about-value p {
    max-width: 500px;
    margin-bottom: 0;
    color: var(--page-muted);
    font-size: 14px;
    line-height: 1.8;
}

.bfx-about-value-dark p {
    color: rgba(255,255,255,.66);
}

.bfx-about-value-line {
    width: 55px;
    height: 1px;
    margin: 27px 0 15px;
    background: var(--page-blue);
}

.bfx-about-value-note {
    color: var(--page-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
}

.bfx-about-value-dark .bfx-about-value-note {
    color: rgba(255,255,255,.55);
}


/* ============================================================
   ABOUT STORY
============================================================ */

.bfx-about-story {
    background: #fff;
}

.bfx-about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
    gap: 100px;
    align-items: center;
}

.bfx-about-story-image {
    position: relative;
    height: 610px;
    overflow: hidden;
    background: #dfe6ef;
}

.bfx-about-story-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.bfx-about-story-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 45%,
        rgba(7,26,51,.62)
    );
}

.bfx-about-story-image-number {
    position: absolute;
    right: 25px;
    bottom: 25px;
    z-index: 2;
    width: 110px;
    height: 110px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background: rgba(7,26,51,.9);
    border: 1px solid rgba(255,255,255,.18);
}

.bfx-about-story-image-number span {
    font-size: 17px;
    font-weight: 800;
}

.bfx-about-story-image-number strong {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    opacity: .55;
}

.bfx-about-story-image-number b {
    font-size: 12px;
    font-weight: 700;
}

.bfx-about-story-content {
    max-width: 600px;
}

.bfx-about-story-content h2 {
    margin-bottom: 30px;
    color: var(--page-navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4vw, 57px);
    line-height: 1.04;
}

.bfx-about-story-content p {
    color: var(--page-muted);
    font-size: 15px;
    line-height: 1.9;
}

.bfx-about-story-signature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 35px;
    padding-top: 27px;
    border-top: 1px solid var(--page-line);
}

.bfx-about-story-signature > span {
    width: 38px;
    height: 1px;
    background: var(--page-blue);
}

.bfx-about-story-signature strong {
    display: block;
    margin-bottom: 3px;
    color: var(--page-navy);
    font-size: 14px;
}

.bfx-about-story-signature small {
    color: var(--page-muted);
    font-size: 11px;
}


/* ============================================================
   ABOUT PLATFORM
============================================================ */

.bfx-about-platform {
    background: var(--page-soft);
    border-top: 1px solid var(--page-line);
}

.bfx-about-platform-heading {
    max-width: 750px;
    margin-bottom: 50px;
}

.bfx-about-platform-heading h2 {
    margin: 0;
    color: var(--page-navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.05;
}

.bfx-about-platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bfx-about-platform-card {
    position: relative;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    padding: 32px;
    color: var(--page-ink);
    background: #fff;
    border: 1px solid #dce4ee;
    text-decoration: none;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.bfx-about-platform-card:hover {
    color: var(--page-ink);
    transform: translateY(-5px);
    border-color: #c8d4e2;
    box-shadow: var(--page-shadow);
}

.bfx-about-platform-card-dark {
    color: #fff;
    background: var(--page-navy);
    border-color: var(--page-navy);
}

.bfx-about-platform-card-dark:hover {
    color: #fff;
}

.bfx-about-platform-number {
    color: var(--page-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.bfx-about-platform-icon {
    width: 46px;
    height: 46px;
    margin-top: 55px;
    display: grid;
    place-items: center;
    color: var(--page-blue);
    border: 1px solid #dce4ee;
    font-size: 19px;
}

.bfx-about-platform-card-dark .bfx-about-platform-icon {
    color: #fff;
    border-color: rgba(255,255,255,.2);
}

.bfx-about-platform-card h3 {
    margin: 25px 0 12px;
    font-family: "Manrope", sans-serif;
    font-size: 22px;
    font-weight: 800;
}

.bfx-about-platform-card p {
    margin-bottom: 25px;
    color: var(--page-muted);
    font-size: 13px;
    line-height: 1.8;
}

.bfx-about-platform-card-dark p {
    color: rgba(255,255,255,.62);
}

.bfx-about-platform-link {
    margin-top: auto;
    color: var(--page-blue);
    font-size: 12px;
    font-weight: 800;
}

.bfx-about-platform-card-dark .bfx-about-platform-link {
    color: #7dc9ff;
}

.bfx-about-platform-link b {
    margin-left: 6px;
}


/* ============================================================
   HOW IT WORKS HERO PANEL
============================================================ */

.bfx-how-hero-panel {
    position: relative;
    min-height: 500px;
    padding: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(56,189,248,.17), transparent 30%),
        linear-gradient(145deg, #0b2548, #06172d);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 35px 75px rgba(7,26,51,.18);
}

.bfx-how-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.bfx-how-panel-top span {
    color: rgba(255,255,255,.5);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

.bfx-how-panel-top i {
    width: 7px;
    height: 7px;
    background: #43d99a;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(67,217,154,.08);
}

.bfx-how-progress {
    position: relative;
    padding: 45px 10px;
}

.bfx-how-progress-line {
    position: absolute;
    top: 58px;
    bottom: 58px;
    left: 29px;
    width: 1px;
    background: linear-gradient(
        to bottom,
        var(--page-blue),
        rgba(255,255,255,.12)
    );
}

.bfx-how-progress-step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 34px;
}

.bfx-how-progress-step:last-child {
    margin-bottom: 0;
}

.bfx-how-progress-step > span {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.48);
    background: #102e52;
    border: 1px solid rgba(255,255,255,.12);
    font-size: 10px;
    font-weight: 800;
}

.bfx-how-progress-step.is-active > span {
    color: #fff;
    background: var(--page-blue);
    border-color: var(--page-blue);
    box-shadow: 0 0 0 7px rgba(21,94,239,.13);
}

.bfx-how-progress-step strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 14px;
}

.bfx-how-progress-step small {
    color: rgba(255,255,255,.48);
    font-size: 11px;
}

.bfx-how-panel-bottom {
    position: absolute;
    right: 32px;
    bottom: 25px;
    left: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.bfx-how-panel-bottom span {
    color: rgba(255,255,255,.48);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
}

.bfx-how-panel-bottom b {
    color: #7dc9ff;
    font-size: 18px;
}


/* ============================================================
   HOW IT WORKS PROCESS
============================================================ */

.bfx-how-process {
    background: #fff;
}

.bfx-how-section-heading {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: end;
    margin-bottom: 60px;
}

.bfx-how-section-heading h2 {
    max-width: 720px;
    margin: 0;
    color: var(--page-navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.05;
}

.bfx-how-section-heading h2 em {
    display: block;
}

.bfx-how-section-heading > p {
    margin: 0;
    color: var(--page-muted);
    font-size: 14px;
    line-height: 1.8;
}

.bfx-how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #dce4ed;
    border-bottom: 1px solid #dce4ed;
}

.bfx-how-step {
    min-height: 365px;
    padding: 30px 27px;
    border-right: 1px solid #dce4ed;
    transition: background .25s ease;
}

.bfx-how-step:last-child {
    border-right: 0;
}

.bfx-how-step:hover {
    background: #f8fafc;
}

.bfx-how-step-number {
    color: var(--page-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.bfx-how-step-content {
    margin-top: 75px;
}

.bfx-how-step-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 23px;
    color: var(--page-blue);
    border: 1px solid #d7e1ed;
    font-size: 18px;
}

.bfx-how-step h3 {
    margin-bottom: 13px;
    color: var(--page-navy);
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    line-height: 1.2;
}

.bfx-how-step p {
    min-height: 80px;
    margin-bottom: 22px;
    color: var(--page-muted);
    font-size: 13px;
    line-height: 1.75;
}

.bfx-how-step-content > span {
    color: var(--page-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}


/* ============================================================
   HOW VISUAL SECTION
============================================================ */

.bfx-how-visual {
    background: var(--page-soft);
    border-top: 1px solid var(--page-line);
}

.bfx-how-visual-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 100px;
    align-items: center;
}

.bfx-how-visual-image {
    position: relative;
    height: 590px;
    overflow: hidden;
    background: #dce5ef;
}

.bfx-how-visual-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.bfx-how-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 35%,
        rgba(7,26,51,.78)
    );
}

.bfx-how-visual-caption {
    position: absolute;
    right: 35px;
    bottom: 34px;
    left: 35px;
    color: #fff;
}

.bfx-how-visual-caption small {
    display: block;
    margin-bottom: 12px;
    color: rgba(255,255,255,.6);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

.bfx-how-visual-caption strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.bfx-how-visual-copy {
    max-width: 560px;
}

.bfx-how-visual-copy h2 {
    margin-bottom: 25px;
    color: var(--page-navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(37px, 4vw, 53px);
    line-height: 1.05;
}

.bfx-how-visual-copy > p {
    margin-bottom: 38px;
    color: var(--page-muted);
    font-size: 14px;
    line-height: 1.9;
}

.bfx-how-benefits {
    border-top: 1px solid #dce4ed;
}

.bfx-how-benefit {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 17px;
    padding: 20px 0;
    border-bottom: 1px solid #dce4ed;
}

.bfx-how-benefit > span {
    color: var(--page-blue);
    font-size: 10px;
    font-weight: 800;
}

.bfx-how-benefit strong {
    display: block;
    margin-bottom: 5px;
    color: var(--page-navy);
    font-size: 13px;
}

.bfx-how-benefit p {
    margin: 0;
    color: var(--page-muted);
    font-size: 12px;
    line-height: 1.65;
}


/* ============================================================
   HOW PRINCIPLES
============================================================ */

.bfx-how-principles {
    background: #fff;
}

.bfx-how-principles-header {
    max-width: 760px;
    margin-bottom: 55px;
}

.bfx-how-principles-header h2 {
    margin: 0;
    color: var(--page-navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.05;
}

.bfx-how-principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid #dce4ed;
    border-bottom: 1px solid #dce4ed;
}

.bfx-how-principles-grid article {
    min-height: 290px;
    padding: 30px 28px;
    border-right: 1px solid #dce4ed;
}

.bfx-how-principles-grid article:last-child {
    border-right: 0;
}

.bfx-how-principles-grid article > span {
    display: block;
    margin-bottom: 65px;
    color: var(--page-blue);
    font-size: 10px;
    font-weight: 800;
}

.bfx-how-principles-grid h3 {
    margin-bottom: 12px;
    color: var(--page-navy);
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    line-height: 1.25;
}

.bfx-how-principles-grid p {
    margin: 0;
    color: var(--page-muted);
    font-size: 12px;
    line-height: 1.75;
}


/* ============================================================
   CTA
============================================================ */

.bfx-page-cta {
    padding: 30px 0 90px;
    background: #fff;
}

.bfx-page-cta-card {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    padding: 65px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 30%, rgba(56,189,248,.17), transparent 30%),
        linear-gradient(135deg, #071a33, #0b2a51);
    box-shadow: 0 30px 70px rgba(7,26,51,.15);
}

.bfx-page-cta-pattern {
    position: absolute;
    inset: 0;
    opacity: .35;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 45px 45px;
    mask-image: linear-gradient(90deg, black, transparent 80%);
}

.bfx-page-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.bfx-page-cta .bfx-page-section-label {
    color: #7dc9ff;
}

.bfx-page-cta h2 {
    margin-bottom: 20px;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(37px, 4vw, 56px);
    line-height: 1.04;
}

.bfx-page-cta h2 em {
    color: #7dc9ff;
}

.bfx-page-cta p {
    max-width: 590px;
    margin-bottom: 30px;
    color: rgba(255,255,255,.62);
    font-size: 14px;
    line-height: 1.8;
}

.bfx-page-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bfx-page-cta-mark {
    position: absolute;
    right: 55px;
    bottom: 20px;
    color: rgba(255,255,255,.05);
    font-family: "Manrope", sans-serif;
    font-size: 210px;
    font-weight: 800;
    line-height: .8;
    letter-spacing: -.12em;
}

.bfx-page-cta-mark span {
    color: rgba(125,201,255,.08);
}


/* ============================================================
   DISCLAIMER
============================================================ */

.bfx-page-disclaimer {
    padding: 22px 0;
    color: #718096;
    background: #f8fafc;
    border-top: 1px solid var(--page-line);
    font-size: 11px;
    line-height: 1.7;
}

.bfx-page-disclaimer strong {
    color: #4b5b70;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1050px) {

    .bfx-page-hero-grid,
    .bfx-how-hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .bfx-about-hero-visual {
        max-width: 700px;
        width: 100%;
        min-height: 500px;
        margin-left: auto;
    }

    .bfx-about-section-heading,
    .bfx-how-section-heading {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .bfx-about-story-grid,
    .bfx-how-visual-grid {
        gap: 60px;
    }

    .bfx-about-values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bfx-about-value-large {
        grid-row: span 2;
    }

    .bfx-about-value-dark {
        grid-column: span 1;
    }

    .bfx-how-steps {
        grid-template-columns: 1fr 1fr;
    }

    .bfx-how-step:nth-child(2) {
        border-right: 0;
    }

    .bfx-how-step:nth-child(-n+2) {
        border-bottom: 1px solid #dce4ed;
    }

    .bfx-how-principles-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bfx-how-principles-grid article:nth-child(2) {
        border-right: 0;
    }

    .bfx-how-principles-grid article:nth-child(-n+2) {
        border-bottom: 1px solid #dce4ed;
    }
}


@media (max-width: 780px) {

    .bfx-page-container {
        width: min(100% - 32px, 1180px);
    }

    .bfx-page-section {
        padding: 80px 0;
    }

    .bfx-page-hero {
        padding: 70px 0 75px;
    }

    .bfx-page-hero h1 {
        font-size: clamp(42px, 11vw, 60px);
    }

    .bfx-page-hero-lead {
        font-size: 15px;
        line-height: 1.75;
    }

    .bfx-about-hero-visual {
        min-height: 430px;
    }

    .bfx-about-image-frame {
        inset: 0;
    }

    .bfx-about-floating-card {
        left: 18px;
        bottom: 20px;
    }

    .bfx-about-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bfx-about-intro-text {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bfx-about-values-grid {
        grid-template-columns: 1fr;
    }

    .bfx-about-value-large {
        grid-row: auto;
        min-height: 390px;
    }

    .bfx-about-value-large .bfx-about-value-top {
        margin-bottom: 110px;
    }

    .bfx-about-value-dark {
        grid-column: auto;
    }

    .bfx-about-story-grid,
    .bfx-how-visual-grid {
        grid-template-columns: 1fr;
    }

    .bfx-about-story-image,
    .bfx-how-visual-image {
        height: 450px;
    }

    .bfx-about-platform-grid {
        grid-template-columns: 1fr;
    }

    .bfx-about-platform-card {
        min-height: 330px;
    }

    .bfx-how-hero-panel {
        min-height: 470px;
    }

    .bfx-how-steps {
        grid-template-columns: 1fr;
    }

    .bfx-how-step {
        border-right: 0;
        border-bottom: 1px solid #dce4ed;
    }

    .bfx-how-step:last-child {
        border-bottom: 0;
    }

    .bfx-how-principles-grid {
        grid-template-columns: 1fr;
    }

    .bfx-how-principles-grid article,
    .bfx-how-principles-grid article:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid #dce4ed;
    }

    .bfx-how-principles-grid article:last-child {
        border-bottom: 0;
    }

    .bfx-page-cta {
        padding-bottom: 65px;
    }

    .bfx-page-cta-card {
        min-height: auto;
        padding: 48px 30px;
    }

    .bfx-page-cta-mark {
        right: 15px;
        bottom: 5px;
        font-size: 130px;
    }
}


@media (max-width: 520px) {

    .bfx-page-hero-actions,
    .bfx-page-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bfx-page-btn {
        width: 100%;
    }

    .bfx-about-hero-visual {
        min-height: 360px;
    }

    .bfx-about-image-caption {
        left: 20px;
        right: 20px;
        bottom: 22px;
    }

    .bfx-about-image-caption strong {
        font-size: 20px;
    }

    .bfx-about-floating-card {
        min-width: 205px;
        padding: 13px 15px;
    }

    .bfx-about-floating-icon {
        width: 33px;
        height: 33px;
    }

    .bfx-about-value,
    .bfx-about-value-large {
        min-height: auto;
        padding: 28px;
    }

    .bfx-about-value-large .bfx-about-value-top {
        margin-bottom: 80px;
    }

    .bfx-about-story-image,
    .bfx-how-visual-image {
        height: 360px;
    }

    .bfx-how-hero-panel {
        padding: 24px;
    }

    .bfx-how-progress {
        padding-left: 0;
        padding-right: 0;
    }

    .bfx-how-panel-bottom {
        right: 24px;
        left: 24px;
    }

    .bfx-page-cta-card {
        padding: 38px 24px;
    }
}


/* ============================================================
   BITFLEX INVESTMENT PLANS PAGE
============================================================ */

.bfx-plans-page {
    --plans-navy: #071a33;
    --plans-blue: #155eef;
    --plans-blue-dark: #1049c4;
    --plans-cyan: #38bdf8;
    --plans-ink: #17243a;
    --plans-muted: #66758a;
    --plans-soft: #f5f8fc;
    --plans-line: #dfe6ef;
    --plans-green: #159669;
}


/* HERO */

.bfx-plans-hero {
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(56,189,248,.10),
            transparent 30%
        ),
        #f8fafc;
}

.bfx-plans-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(400px, .72fr);
    gap: 90px;
    align-items: center;
}


/* HERO PANEL */

.bfx-plans-hero-panel {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    padding: 32px;
    color: #fff;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(56,189,248,.18),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #0b284d,
            #06172d
        );
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 35px 75px rgba(7,26,51,.17);
}

.bfx-plans-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.bfx-plans-panel-header span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,.38);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

.bfx-plans-panel-header strong {
    display: block;
    color: #fff;
    font-size: 14px;
}

.bfx-plans-panel-header i {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.6);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
}

.bfx-plans-panel-header i b {
    width: 6px;
    height: 6px;
    display: block;
    background: #45d99a;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(69,217,154,.08);
}

.bfx-plans-panel-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 55px 0;
}

.bfx-plans-panel-label {
    margin-bottom: 15px;
    color: rgba(255,255,255,.42);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

.bfx-plans-panel-main > strong {
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 96px;
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.07em;
}

.bfx-plans-panel-main p {
    margin: 15px 0 0;
    color: rgba(255,255,255,.55);
    font-size: 12px;
}

.bfx-plans-panel-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.48);
    font-size: 10px;
    font-weight: 700;
}

.bfx-plans-panel-footer span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bfx-plans-panel-footer i {
    width: 6px;
    height: 6px;
    background: #45d99a;
    border-radius: 50%;
}


/* CATALOGUE */

.bfx-plans-catalogue {
    background: #fff;
}

.bfx-plans-heading {
    display: grid;
    grid-template-columns: 1fr 410px;
    gap: 80px;
    align-items: end;
    margin-bottom: 55px;
}

.bfx-plans-heading h2 {
    max-width: 700px;
    margin: 0;
    color: var(--plans-navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4vw, 57px);
    line-height: 1.04;
}

.bfx-plans-heading > p {
    margin: 0;
    color: var(--plans-muted);
    font-size: 14px;
    line-height: 1.85;
}


/* PLAN CARDS */

.bfx-plans-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bfx-investment-card {
    position: relative;
    min-height: 505px;
    display: flex;
    flex-direction: column;
    padding: 32px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce4ee;
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

.bfx-investment-card:hover {
    transform: translateY(-6px);
    border-color: #c4d2e1;
    box-shadow: 0 25px 60px rgba(7,26,51,.10);
}

.bfx-investment-card.is-featured {
    color: #fff;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(56,189,248,.18),
            transparent 28%
        ),
        var(--plans-navy);
    border-color: var(--plans-navy);
}

.bfx-investment-featured {
    position: absolute;
    top: 0;
    right: 0;
    padding: 9px 16px;
    color: #fff;
    background: var(--plans-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.bfx-investment-index {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5ebf2;
}

.bfx-investment-card.is-featured .bfx-investment-index {
    border-color: rgba(255,255,255,.11);
}

.bfx-investment-index > span {
    color: var(--plans-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.bfx-investment-index i {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--plans-green);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.bfx-investment-card.is-featured .bfx-investment-index i {
    color: #62e3a8;
}

.bfx-investment-index i b {
    width: 6px;
    height: 6px;
    display: block;
    background: currentColor;
    border-radius: 50%;
}


/* HEADER */

.bfx-investment-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 29px;
}

.bfx-investment-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--plans-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bfx-investment-card.is-featured .bfx-investment-eyebrow {
    color: rgba(255,255,255,.42);
}

.bfx-investment-header h3 {
    margin: 0;
    color: var(--plans-navy);
    font-family: "Manrope", sans-serif;
    font-size: 28px;
    line-height: 1.08;
    font-weight: 800;
}

.bfx-investment-card.is-featured .bfx-investment-header h3 {
    color: #fff;
}

.bfx-investment-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: var(--plans-blue);
    border: 1px solid #dce4ee;
    font-size: 18px;
}

.bfx-investment-card.is-featured .bfx-investment-mark {
    color: #7dc9ff;
    border-color: rgba(255,255,255,.15);
}


/* DESCRIPTION */

.bfx-investment-description {
    min-height: 64px;
    margin: 20px 0 30px;
    color: var(--plans-muted);
    font-size: 13px;
    line-height: 1.75;
}

.bfx-investment-card.is-featured .bfx-investment-description {
    color: rgba(255,255,255,.58);
}


/* PRIMARY MONEY */

.bfx-investment-primary {
    padding: 21px 0;
    border-top: 1px solid #e5ebf2;
    border-bottom: 1px solid #e5ebf2;
}

.bfx-investment-card.is-featured .bfx-investment-primary {
    border-color: rgba(255,255,255,.11);
}

.bfx-investment-primary span {
    display: block;
    margin-bottom: 8px;
    color: var(--plans-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.bfx-investment-card.is-featured .bfx-investment-primary span {
    color: rgba(255,255,255,.42);
}

.bfx-investment-primary strong {
    color: var(--plans-navy);
    font-family: "Manrope", sans-serif;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.035em;
}

.bfx-investment-card.is-featured .bfx-investment-primary strong {
    color: #fff;
}


/* DETAILS */

.bfx-investment-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 21px 0;
    border-bottom: 1px solid #e5ebf2;
}

.bfx-investment-card.is-featured .bfx-investment-details {
    border-color: rgba(255,255,255,.11);
}

.bfx-investment-details > div {
    padding-right: 15px;
    border-right: 1px solid #e5ebf2;
}

.bfx-investment-details > div:not(:first-child) {
    padding-left: 15px;
}

.bfx-investment-details > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.bfx-investment-card.is-featured .bfx-investment-details > div {
    border-color: rgba(255,255,255,.11);
}

.bfx-investment-details span {
    display: block;
    margin-bottom: 7px;
    color: var(--plans-muted);
    font-size: 9px;
    font-weight: 700;
}

.bfx-investment-card.is-featured .bfx-investment-details span {
    color: rgba(255,255,255,.4);
}

.bfx-investment-details strong {
    display: block;
    color: var(--plans-navy);
    font-size: 12px;
    font-weight: 800;
}

.bfx-investment-card.is-featured .bfx-investment-details strong {
    color: #fff;
}

.bfx-investment-details .bfx-plan-available {
    color: var(--plans-green);
}

.bfx-investment-card.is-featured .bfx-plan-available {
    color: #62e3a8;
}


/* CARD FOOTER */

.bfx-investment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: auto;
    padding-top: 24px;
}

.bfx-investment-footer > span {
    color: var(--plans-muted);
    font-size: 10px;
}

.bfx-investment-card.is-featured .bfx-investment-footer > span {
    color: rgba(255,255,255,.42);
}

.bfx-investment-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--plans-blue);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.bfx-investment-card.is-featured .bfx-investment-footer a {
    color: #7dc9ff;
}

.bfx-investment-footer a b {
    font-size: 15px;
}


/* EMPTY STATE */

.bfx-plans-empty {
    max-width: 700px;
    margin: 0 auto;
    padding: 70px 40px;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #dfe6ef;
}

.bfx-plans-empty-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    color: var(--plans-blue);
    border: 1px solid #d8e2ed;
    font-size: 20px;
}

.bfx-plans-empty > span {
    color: var(--plans-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bfx-plans-empty h3 {
    margin: 13px 0;
    color: var(--plans-navy);
    font-family: "Manrope", sans-serif;
    font-size: 25px;
}

.bfx-plans-empty p {
    max-width: 500px;
    margin: 0 auto 28px;
    color: var(--plans-muted);
    font-size: 13px;
    line-height: 1.8;
}


/* GUIDE */

.bfx-plan-guide {
    background: var(--plans-soft);
    border-top: 1px solid var(--plans-line);
    border-bottom: 1px solid var(--plans-line);
}

.bfx-plan-guide-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 100px;
    align-items: start;
}

.bfx-plan-guide-grid > div:first-child h2 {
    margin: 0 0 20px;
    color: var(--plans-navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1.04;
}

.bfx-plan-guide-grid > div:first-child > p {
    max-width: 450px;
    margin: 0;
    color: var(--plans-muted);
    font-size: 14px;
    line-height: 1.85;
}

.bfx-plan-guide-list {
    border-top: 1px solid #dbe3ed;
}

.bfx-plan-guide-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;
    padding: 23px 0;
    border-bottom: 1px solid #dbe3ed;
}

.bfx-plan-guide-item > span {
    color: var(--plans-blue);
    font-size: 10px;
    font-weight: 800;
}

.bfx-plan-guide-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--plans-navy);
    font-size: 13px;
}

.bfx-plan-guide-item p {
    max-width: 600px;
    margin: 0;
    color: var(--plans-muted);
    font-size: 12px;
    line-height: 1.7;
}


/* STORY */

.bfx-plans-story {
    background: #fff;
}

.bfx-plans-story-grid {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 100px;
    align-items: center;
}

.bfx-plans-story-image {
    position: relative;
    height: 570px;
    overflow: hidden;
    background: #dce5ef;
}

.bfx-plans-story-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.bfx-plans-story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 35%,
        rgba(7,26,51,.78)
    );
}

.bfx-plans-story-caption {
    position: absolute;
    right: 35px;
    bottom: 35px;
    left: 35px;
    color: #fff;
}

.bfx-plans-story-caption small {
    display: block;
    margin-bottom: 12px;
    color: rgba(255,255,255,.58);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

.bfx-plans-story-caption strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 34px;
    line-height: 1.05;
}

.bfx-plans-story-copy {
    max-width: 570px;
}

.bfx-plans-story-copy h2 {
    margin-bottom: 25px;
    color: var(--plans-navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1.04;
}

.bfx-plans-story-copy p {
    color: var(--plans-muted);
    font-size: 14px;
    line-height: 1.9;
}

.bfx-plans-story-copy .bfx-page-btn {
    margin-top: 12px;
}


/* MINI FAQ */

.bfx-plan-faq {
    padding: 100px 0;
    background: var(--plans-soft);
    border-top: 1px solid var(--plans-line);
}

.bfx-plan-faq-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
}

.bfx-plan-faq-header h2 {
    margin: 0;
    color: var(--plans-navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1;
}

.bfx-plan-faq-grid {
    border-top: 1px solid #dbe3ed;
}

.bfx-plan-faq-grid details {
    border-bottom: 1px solid #dbe3ed;
}

.bfx-plan-faq-grid summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 25px 0;
    color: var(--plans-navy);
    cursor: pointer;
    list-style: none;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.bfx-plan-faq-grid summary::-webkit-details-marker {
    display: none;
}

.bfx-plan-faq-grid summary span {
    color: var(--plans-blue);
    font-size: 21px;
    font-weight: 400;
}

.bfx-plan-faq-grid details p {
    max-width: 750px;
    margin: -5px 0 25px;
    color: var(--plans-muted);
    font-size: 13px;
    line-height: 1.8;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

    .bfx-plans-hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .bfx-plans-hero-panel {
        max-width: 650px;
        width: 100%;
    }

    .bfx-plans-heading {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .bfx-plan-guide-grid,
    .bfx-plans-story-grid {
        gap: 60px;
    }
}


@media (max-width: 780px) {

    .bfx-plans-list {
        grid-template-columns: 1fr;
    }

    .bfx-investment-card {
        min-height: 480px;
    }

    .bfx-plan-guide-grid,
    .bfx-plans-story-grid {
        grid-template-columns: 1fr;
    }

    .bfx-plans-story-image {
        height: 440px;
    }

    .bfx-plan-faq-header {
        align-items: flex-start;
        flex-direction: column;
    }
}


@media (max-width: 520px) {

    .bfx-plans-hero-panel {
        min-height: 340px;
        padding: 24px;
    }

    .bfx-plans-panel-main {
        padding: 45px 0;
    }

    .bfx-plans-panel-main > strong {
        font-size: 72px;
    }

    .bfx-investment-card {
        padding: 25px;
    }

    .bfx-investment-header h3 {
        font-size: 23px;
    }

    .bfx-investment-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .bfx-investment-details > div,
    .bfx-investment-details > div:not(:first-child) {
        padding: 0 0 15px;
        border-right: 0;
        border-bottom: 1px solid #e5ebf2;
    }

    .bfx-investment-card.is-featured .bfx-investment-details > div,
    .bfx-investment-card.is-featured .bfx-investment-details > div:not(:first-child) {
        border-color: rgba(255,255,255,.11);
    }

    .bfx-investment-details > div:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .bfx-investment-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .bfx-plans-story-image {
        height: 350px;
    }

    .bfx-plans-story-caption {
        right: 22px;
        bottom: 22px;
        left: 22px;
    }

    .bfx-plans-story-caption strong {
        font-size: 27px;
    }
}

/* =========================================================
   BITFLEX — MARKETS PAGE
   ========================================================= */

.bfx-markets-page {
    --markets-navy: #071a33;
    --markets-navy-2: #0c2547;
    --markets-blue: #155eef;
    --markets-blue-dark: #1049c4;
    --markets-cyan: #38bdf8;
    --markets-ink: #17243a;
    --markets-muted: #66758a;
    --markets-soft: #f5f8fc;
    --markets-soft-2: #eef3f9;
    --markets-line: #dfe6ef;
    --markets-green: #159669;
    --markets-red: #d94a5c;

    color: var(--markets-ink);
    background: #fff;
}

.bfx-markets-page *,
.bfx-markets-page *::before,
.bfx-markets-page *::after {
    box-sizing: border-box;
}

.bfx-markets-page .bfx-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.bfx-markets-page .bfx-section {
    padding: 110px 0;
}

.bfx-markets-page img {
    display: block;
    max-width: 100%;
}

.bfx-markets-page h1,
.bfx-markets-page h2,
.bfx-markets-page h3,
.bfx-markets-page p {
    margin-top: 0;
}

.bfx-markets-page h1,
.bfx-markets-page h2,
.bfx-markets-page h3 {
    color: var(--markets-navy);
}

.bfx-markets-page h1 span,
.bfx-markets-page h2 span {
    color: var(--markets-blue);
}

.bfx-markets-page .bfx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: var(--markets-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1;
    text-transform: uppercase;
}

.bfx-markets-page .bfx-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--markets-blue);
    box-shadow: 0 0 0 5px rgba(21, 94, 239, .08);
}

.bfx-eyebrow-light {
    color: #8fcaff !important;
}


/* =========================================================
   HERO
   ========================================================= */

.bfx-markets-hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0 90px;
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(56, 189, 248, .09),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7faff 100%
        );
}

.bfx-markets-hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -300px;
    bottom: -330px;
    border: 1px solid rgba(21, 94, 239, .08);
    border-radius: 50%;
}

.bfx-markets-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .82fr);
    gap: 85px;
    align-items: center;
}

.bfx-markets-hero-copy {
    max-width: 650px;
}

.bfx-markets-hero-copy h1 {
    margin-bottom: 25px;
    font-family: "Manrope", "Inter", sans-serif;
    font-size: clamp(46px, 5vw, 70px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1;
}

.bfx-markets-hero-copy > p {
    max-width: 610px;
    margin-bottom: 32px;
    color: var(--markets-muted);
    font-size: 16px;
    line-height: 1.85;
}

.bfx-markets-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bfx-market-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease,
        border-color .2s ease;
}

.bfx-market-btn:hover {
    transform: translateY(-2px);
}

.bfx-market-btn span {
    font-size: 17px;
}

.bfx-market-btn-primary {
    color: #fff;
    background: var(--markets-blue);
    box-shadow: 0 13px 30px rgba(21, 94, 239, .18);
}

.bfx-market-btn-primary:hover {
    background: var(--markets-blue-dark);
}

.bfx-market-btn-secondary {
    color: var(--markets-navy);
    background: #fff;
    border-color: var(--markets-line);
}

.bfx-market-btn-secondary:hover {
    border-color: #c1cddd;
    box-shadow: 0 10px 25px rgba(14, 37, 68, .07);
}

.bfx-market-live-status {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    color: #65758b;
    font-size: 11px;
    font-weight: 700;
}

.bfx-market-live-status small {
    color: #9aa6b6;
    font-size: 10px;
    font-weight: 600;
}

.bfx-live-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--markets-green);
    box-shadow: 0 0 0 5px rgba(21, 150, 105, .09);
}


/* =========================================================
   HERO MARKET PANEL
   ========================================================= */

.bfx-markets-hero-panel {
    position: relative;
    overflow: hidden;
    padding: 27px 28px 24px;
    border: 1px solid #d9e2ec;
    background: #fff;
    box-shadow: 0 28px 65px rgba(12, 37, 68, .1);
}

.bfx-market-panel-top,
.bfx-market-panel-main,
.bfx-market-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bfx-market-panel-top {
    padding-bottom: 23px;
    border-bottom: 1px solid var(--markets-line);
}

.bfx-panel-label {
    display: block;
    margin-bottom: 5px;
    color: #8b98a9;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.bfx-market-panel-top strong {
    color: var(--markets-navy);
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 800;
}

.bfx-market-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 9px;
    color: var(--markets-green);
    background: rgba(21, 150, 105, .07);
    font-size: 10px;
    font-weight: 800;
}

.bfx-market-status i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.bfx-market-panel-main {
    padding: 31px 0 25px;
}

.bfx-market-feature-asset {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bfx-market-asset-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    font-family: "Manrope", sans-serif;
    font-size: 22px;
    font-weight: 800;
}

.bfx-symbol-btc {
    color: #b96b08;
    background: #fff4e5;
}

.bfx-market-feature-asset span {
    display: block;
    margin-bottom: 5px;
    color: #8592a4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.bfx-market-feature-asset strong {
    display: block;
    color: var(--markets-navy);
    font-family: "Manrope", sans-serif;
    font-size: 25px;
    font-weight: 800;
}

.bfx-market-feature-change {
    text-align: right;
}

.bfx-market-feature-change span {
    display: block;
    margin-bottom: 5px;
    color: #8b98a9;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.bfx-market-feature-change strong {
    font-size: 14px;
}

.bfx-market-change.is-positive,
.bfx-market-feature-change strong.is-positive {
    color: var(--markets-green);
}

.bfx-market-change.is-negative,
.bfx-market-feature-change strong.is-negative {
    color: var(--markets-red);
}

.bfx-market-change.is-neutral {
    color: #8290a2;
}

.bfx-market-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 95px;
    padding: 17px 0 10px;
    border-top: 1px solid #edf1f5;
    border-bottom: 1px solid #edf1f5;
}

.bfx-market-mini-chart span {
    flex: 1;
    min-width: 5px;
    background: linear-gradient(
        180deg,
        rgba(21, 94, 239, .7),
        rgba(56, 189, 248, .15)
    );
}

.bfx-market-mini-chart span:nth-child(1) {
    height: 34%;
}

.bfx-market-mini-chart span:nth-child(2) {
    height: 48%;
}

.bfx-market-mini-chart span:nth-child(3) {
    height: 40%;
}

.bfx-market-mini-chart span:nth-child(4) {
    height: 61%;
}

.bfx-market-mini-chart span:nth-child(5) {
    height: 52%;
}

.bfx-market-mini-chart span:nth-child(6) {
    height: 69%;
}

.bfx-market-mini-chart span:nth-child(7) {
    height: 59%;
}

.bfx-market-mini-chart span:nth-child(8) {
    height: 78%;
}

.bfx-market-mini-chart span:nth-child(9) {
    height: 67%;
}

.bfx-market-mini-chart span:nth-child(10) {
    height: 86%;
}

.bfx-market-mini-chart span:nth-child(11) {
    height: 75%;
}

.bfx-market-mini-chart span:nth-child(12) {
    height: 92%;
}

.bfx-market-panel-footer {
    padding-top: 18px;
    color: #7e8da1;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .03em;
}


/* =========================================================
   TICKER
   ========================================================= */

.bfx-market-ticker-section {
    border-top: 1px solid var(--markets-line);
    border-bottom: 1px solid var(--markets-line);
    background: #fff;
}

.bfx-market-ticker {
    display: grid;
    grid-template-columns: 145px 1fr;
    min-height: 76px;
    align-items: stretch;
}

.bfx-ticker-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    border-right: 1px solid var(--markets-line);
    color: var(--markets-navy);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bfx-ticker-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--markets-green);
    box-shadow: 0 0 0 4px rgba(21, 150, 105, .08);
}

.bfx-ticker-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.bfx-ticker-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-right: 1px solid var(--markets-line);
}

.bfx-ticker-item:last-child {
    border-right: 0;
}

.bfx-ticker-symbol {
    color: #7b899b;
    font-size: 9px;
    font-weight: 800;
}

.bfx-ticker-item strong {
    color: var(--markets-navy);
    font-size: 12px;
}

.bfx-ticker-item small {
    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   MARKET TABLE
   ========================================================= */

.bfx-markets-table-section {
    background: #fff;
}

.bfx-market-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: end;
    gap: 70px;
    margin-bottom: 55px;
}

.bfx-market-section-heading h2 {
    margin-bottom: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(36px, 4vw, 51px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.04;
}

.bfx-market-section-heading > p {
    margin-bottom: 3px;
    color: var(--markets-muted);
    font-size: 14px;
    line-height: 1.8;
}

.bfx-market-table-wrap {
    border-top: 1px solid var(--markets-line);
    border-bottom: 1px solid var(--markets-line);
}

.bfx-market-table-header,
.bfx-market-row {
    display: grid;
    grid-template-columns:
        minmax(210px, 1.8fr)
        minmax(110px, 1fr)
        minmax(90px, .8fr)
        minmax(120px, 1fr)
        minmax(120px, 1fr)
        30px;
    gap: 20px;
    align-items: center;
}

.bfx-market-table-header {
    min-height: 50px;
    border-bottom: 1px solid var(--markets-line);
    color: #8794a5;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.bfx-market-row {
    min-height: 96px;
    border-bottom: 1px solid var(--markets-line);
    transition: background-color .2s ease;
}

.bfx-market-row:last-child {
    border-bottom: 0;
}

.bfx-market-row:hover {
    background: #fafcff;
}

.bfx-market-row > strong,
.bfx-market-row > span {
    font-size: 12px;
}

.bfx-market-asset-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bfx-asset-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.bfx-asset-btc {
    color: #b96b08;
    background: #fff4e5;
}

.bfx-asset-eth {
    color: #5266a0;
    background: #edf0f9;
}

.bfx-asset-sol {
    color: #167c7b;
    background: #e9f8f7;
}

.bfx-asset-bnb {
    color: #a16e00;
    background: #fff8df;
}

.bfx-market-asset-cell strong {
    display: block;
    margin-bottom: 4px;
    color: var(--markets-navy);
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.bfx-market-asset-cell span {
    display: block;
    color: #8996a7;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
}

.bfx-market-row > strong {
    color: var(--markets-navy);
    font-weight: 800;
}

.bfx-market-row > span {
    color: #64758a;
}

.bfx-market-row-arrow {
    color: var(--markets-blue) !important;
    font-size: 16px !important;
    text-align: right;
}

.bfx-market-source-note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 17px;
    color: #98a4b3;
    font-size: 10px;
}

.bfx-market-source-note span:first-child {
    color: #6d7c8f;
    font-weight: 800;
}

.bfx-market-source-note strong {
    color: #68778b;
}


/* =========================================================
   METRICS
   ========================================================= */

.bfx-market-metrics-section {
    background: var(--markets-soft);
}

.bfx-market-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #d9e2ec;
    border-bottom: 1px solid #d9e2ec;
}

.bfx-market-metric {
    min-height: 310px;
    padding: 28px 27px 24px;
    border-right: 1px solid #d9e2ec;
    background: transparent;
    transition: background-color .2s ease;
}

.bfx-market-metric:last-child {
    border-right: 0;
}

.bfx-market-metric:hover {
    background: #fff;
}

.bfx-metric-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 55px;
}

.bfx-metric-top span {
    color: #9aa7b7;
    font-size: 10px;
    font-weight: 800;
}

.bfx-metric-top i {
    color: var(--markets-blue);
    font-size: 19px;
    font-style: normal;
}

.bfx-market-metric h3 {
    margin-bottom: 12px;
    font-family: "Manrope", sans-serif;
    font-size: 19px;
    font-weight: 800;
}

.bfx-market-metric p {
    min-height: 76px;
    margin-bottom: 23px;
    color: var(--markets-muted);
    font-size: 12px;
    line-height: 1.75;
}

.bfx-metric-line {
    height: 1px;
    margin-bottom: 12px;
    background: #d9e2ec;
}

.bfx-metric-note {
    color: #8492a5;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* =========================================================
   EDITORIAL
   ========================================================= */

.bfx-market-editorial {
    background: #fff;
}

.bfx-market-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
    gap: 90px;
    align-items: center;
}

.bfx-market-editorial-image {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    background: #dce4ed;
}

.bfx-market-editorial-image img {
    width: 100%;
    height: 570px;
    object-fit: cover;
}

.bfx-market-editorial-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(3, 20, 39, 0) 40%,
            rgba(3, 20, 39, .75) 100%
        );
}

.bfx-market-editorial-caption {
    position: absolute;
    right: 30px;
    bottom: 29px;
    left: 30px;
    color: #fff;
}

.bfx-market-editorial-caption span {
    display: block;
    margin-bottom: 7px;
    color: #9fd5ff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}

.bfx-market-editorial-caption strong {
    display: block;
    max-width: 360px;
    font-family: "Manrope", sans-serif;
    font-size: 25px;
    line-height: 1.15;
}

.bfx-market-editorial-copy h2 {
    margin-bottom: 24px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(36px, 4vw, 51px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.05;
}

.bfx-market-editorial-copy > p {
    color: var(--markets-muted);
    font-size: 14px;
    line-height: 1.85;
}

.bfx-market-editorial-points {
    margin-top: 30px;
    border-top: 1px solid var(--markets-line);
}

.bfx-market-editorial-points > div {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid var(--markets-line);
}

.bfx-market-editorial-points > div > span {
    color: var(--markets-blue);
    font-size: 10px;
    font-weight: 800;
}

.bfx-market-editorial-points strong {
    display: block;
    margin-bottom: 4px;
    color: var(--markets-navy);
    font-size: 13px;
    font-weight: 800;
}

.bfx-market-editorial-points p {
    margin: 0;
    color: #7c8a9c;
    font-size: 11px;
}


/* =========================================================
   CTA
   ========================================================= */

.bfx-market-cta {
    background: var(--markets-navy);
}

.bfx-market-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

.bfx-market-cta h2 {
    max-width: 700px;
    margin-bottom: 18px;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(36px, 4vw, 51px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.04;
}

.bfx-market-cta h2 span {
    color: #69c8ff;
}

.bfx-market-cta p {
    max-width: 600px;
    margin-bottom: 0;
    color: #9fb0c5;
    font-size: 14px;
    line-height: 1.8;
}

.bfx-market-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    flex: 0 0 auto;
}

.bfx-market-btn-light {
    color: var(--markets-navy);
    background: #fff;
}

.bfx-market-btn-light:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}

.bfx-market-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #a9d8ff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.bfx-market-cta-link span {
    font-size: 16px;
}


/* =========================================================
   RISK
   ========================================================= */

.bfx-market-risk {
    padding-top: 55px !important;
    padding-bottom: 55px !important;
    background: #fff;
}

.bfx-market-risk-box {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 19px;
    align-items: center;
    padding: 24px;
    border: 1px solid #e0e6ee;
    background: #f9fbfd;
}

.bfx-market-risk-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #9a6a00;
    background: #fff4d8;
    font-weight: 900;
}

.bfx-market-risk-box strong {
    display: block;
    margin-bottom: 6px;
    color: var(--markets-navy);
    font-size: 12px;
    font-weight: 800;
}

.bfx-market-risk-box p {
    max-width: 850px;
    margin-bottom: 0;
    color: #758498;
    font-size: 10px;
    line-height: 1.7;
}

.bfx-market-risk-box a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--markets-blue);
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.bfx-market-risk-box a span {
    font-size: 15px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .bfx-markets-hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .bfx-markets-hero-copy {
        max-width: 760px;
    }

    .bfx-markets-hero-panel {
        max-width: 650px;
    }

    .bfx-market-section-heading,
    .bfx-market-editorial-grid {
        gap: 50px;
    }

    .bfx-market-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bfx-market-metric:nth-child(2) {
        border-right: 0;
    }

    .bfx-market-metric:nth-child(-n + 2) {
        border-bottom: 1px solid #d9e2ec;
    }

    .bfx-market-editorial-grid {
        grid-template-columns: 1fr;
    }

    .bfx-market-editorial-image {
        max-width: 700px;
    }

    .bfx-market-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .bfx-market-cta-actions {
        flex-direction: row;
        align-items: center;
    }

}

@media (max-width: 850px) {

    .bfx-markets-page .bfx-section {
        padding: 80px 0;
    }

    .bfx-market-table-wrap {
        overflow-x: auto;
    }

    .bfx-market-table-header,
    .bfx-market-row {
        min-width: 820px;
    }

    .bfx-market-section-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bfx-market-section-heading > p {
        max-width: 600px;
    }

    .bfx-market-ticker {
        grid-template-columns: 1fr;
    }

    .bfx-ticker-heading {
        min-height: 48px;
        border-right: 0;
        border-bottom: 1px solid var(--markets-line);
    }

    .bfx-ticker-items {
        min-height: 64px;
    }

}

@media (max-width: 620px) {

    .bfx-markets-page .bfx-container {
        width: min(100% - 30px, 1180px);
    }

    .bfx-markets-hero {
        padding: 72px 0 65px;
    }

    .bfx-markets-hero-copy h1 {
        font-size: 42px;
    }

    .bfx-markets-hero-copy > p {
        font-size: 14px;
    }

    .bfx-markets-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .bfx-market-btn {
        width: 100%;
    }

    .bfx-markets-hero-panel {
        padding: 21px;
    }

    .bfx-market-panel-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .bfx-market-feature-change {
        text-align: left;
    }

    .bfx-ticker-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .bfx-ticker-item {
        min-height: 55px;
        border-bottom: 1px solid var(--markets-line);
    }

    .bfx-ticker-item:nth-child(2) {
        border-right: 0;
    }

    .bfx-market-metrics-grid {
        grid-template-columns: 1fr;
    }

    .bfx-market-metric,
    .bfx-market-metric:nth-child(2) {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid #d9e2ec;
    }

    .bfx-market-metric:last-child {
        border-bottom: 0;
    }

    .bfx-market-editorial-image,
    .bfx-market-editorial-image img {
        min-height: 430px;
        height: 430px;
    }

    .bfx-market-cta-inner {
        gap: 35px;
    }

    .bfx-market-cta-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .bfx-market-risk-box {
        grid-template-columns: 38px 1fr;
    }

    .bfx-market-risk-box a {
        grid-column: 2;
    }

}

/* =========================================================
   BITFLEX FAQ PAGE
   Namespace: .bfx-faq-page
========================================================= */

.bfx-faq-page {
    --faq-navy: #071a33;
    --faq-navy-2: #0c2748;
    --faq-blue: #1266d6;
    --faq-cyan: #18a9dc;
    --faq-ink: #102238;
    --faq-muted: #66768b;
    --faq-soft: #f5f8fb;
    --faq-soft-2: #eef3f8;
    --faq-line: #dce4ec;
    --faq-white: #ffffff;
    --faq-green: #138a61;
    background: #fff;
    color: var(--faq-ink);
}


/* =========================================================
   CONTAINER
========================================================= */

.bfx-faq-page .bfx-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}


/* =========================================================
   HERO
========================================================= */

.bfx-faq-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 82px;
    background:
        linear-gradient(
            120deg,
            #f8fbfe 0%,
            #ffffff 58%,
            #f1f7fc 100%
        );
    border-bottom: 1px solid var(--faq-line);
}

.bfx-faq-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -250px;
    top: -280px;
    border-radius: 50%;
    background: rgba(18, 102, 214, .07);
    pointer-events: none;
}

.bfx-faq-hero::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    left: -260px;
    bottom: -260px;
    border-radius: 50%;
    border: 1px solid rgba(18, 102, 214, .09);
    pointer-events: none;
}

.bfx-faq-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(360px, .7fr);
    gap: 90px;
    align-items: center;
}

.bfx-faq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--faq-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1;
    text-transform: uppercase;
}

.bfx-faq-eyebrow > span {
    width: 28px;
    height: 1px;
    background: var(--faq-blue);
}

.bfx-faq-hero-copy h1 {
    max-width: 780px;
    margin: 24px 0 22px;
    color: var(--faq-navy);
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: .98;
}

.bfx-faq-hero-copy h1 strong {
    display: block;
    color: var(--faq-blue);
    font-weight: 700;
}

.bfx-faq-hero-copy > p {
    max-width: 680px;
    margin: 0;
    color: var(--faq-muted);
    font-size: 17px;
    line-height: 1.8;
}

.bfx-faq-hero-meta {
    display: flex;
    gap: 0;
    margin-top: 42px;
}

.bfx-faq-hero-meta > div {
    min-width: 145px;
    padding: 0 24px;
    border-left: 1px solid var(--faq-line);
}

.bfx-faq-hero-meta > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.bfx-faq-hero-meta strong {
    display: block;
    margin-bottom: 7px;
    color: var(--faq-navy);
    font-family: Manrope, Inter, sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.bfx-faq-hero-meta span {
    display: block;
    color: var(--faq-muted);
    font-size: 12px;
    line-height: 1.4;
}


/* =========================================================
   HERO PANEL
========================================================= */

.bfx-faq-hero-panel {
    min-height: 330px;
    padding: 27px;
    border: 1px solid #ccd8e4;
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f5f9fc 100%
        );
    box-shadow: 0 24px 70px rgba(7, 26, 51, .09);
}

.bfx-faq-panel-top,
.bfx-faq-panel-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #8090a2;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bfx-faq-panel-line {
    width: 100%;
    height: 1px;
    margin: 22px 0 58px;
    background: var(--faq-line);
}

.bfx-faq-panel-main {
    display: flex;
    align-items: center;
    gap: 24px;
}

.bfx-faq-panel-number {
    display: grid;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    place-items: center;
    border: 1px solid #bfd0e0;
    color: var(--faq-blue);
    font-family: Manrope, Inter, sans-serif;
    font-size: 38px;
    font-weight: 700;
}

.bfx-faq-panel-main small {
    display: block;
    margin-bottom: 10px;
    color: var(--faq-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bfx-faq-panel-main strong {
    display: block;
    max-width: 260px;
    color: var(--faq-navy);
    font-family: Manrope, Inter, sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
}

.bfx-faq-panel-bottom {
    margin-top: 67px;
    padding-top: 18px;
    border-top: 1px solid var(--faq-line);
}


/* =========================================================
   FAQ SECTION
========================================================= */

.bfx-faq-section {
    padding: 90px 0 110px;
    background: #fff;
}

.bfx-faq-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 24px;
}

.bfx-faq-search {
    position: relative;
    width: min(520px, 100%);
}

.bfx-faq-search svg {
    position: absolute;
    left: 18px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    fill: none;
    stroke: #8292a4;
    stroke-width: 1.8;
    pointer-events: none;
}

.bfx-faq-search input {
    width: 100%;
    height: 58px;
    padding: 0 20px 0 52px;
    border: 1px solid #ccd7e2;
    border-radius: 0;
    outline: none;
    background: #fff;
    color: var(--faq-ink);
    font-family: Inter, sans-serif;
    font-size: 14px;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.bfx-faq-search input::placeholder {
    color: #94a2b1;
}

.bfx-faq-search input:focus {
    border-color: var(--faq-blue);
    box-shadow: 0 0 0 3px rgba(18, 102, 214, .08);
}

.bfx-faq-result {
    color: var(--faq-muted);
    font-size: 13px;
}

.bfx-faq-result strong {
    color: var(--faq-navy);
    font-weight: 700;
}


/* =========================================================
   CATEGORY FILTER
========================================================= */

.bfx-faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--faq-line);
}

.bfx-faq-categories button {
    position: relative;
    padding: 16px 20px;
    border: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    background: transparent;
    color: #738296;
    cursor: pointer;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 700;
    transition:
        color .2s ease,
        border-color .2s ease;
}

.bfx-faq-categories button:hover {
    color: var(--faq-navy);
}

.bfx-faq-categories button.is-active {
    border-bottom-color: var(--faq-blue);
    color: var(--faq-blue);
}


/* =========================================================
   FAQ LAYOUT
========================================================= */

.bfx-faq-layout {
    display: grid;
    grid-template-columns: 275px minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.bfx-faq-sidebar {
    position: sticky;
    top: 110px;
}

.bfx-faq-sidebar-inner {
    padding: 28px;
    border-top: 3px solid var(--faq-navy);
    background: var(--faq-soft);
}

.bfx-faq-sidebar-label {
    display: block;
    margin-bottom: 18px;
    color: var(--faq-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bfx-faq-sidebar-inner > strong {
    display: block;
    margin-bottom: 15px;
    color: var(--faq-navy);
    font-family: Manrope, Inter, sans-serif;
    font-size: 22px;
    line-height: 1.25;
}

.bfx-faq-sidebar-inner > p {
    margin: 0;
    color: var(--faq-muted);
    font-size: 13px;
    line-height: 1.75;
}

.bfx-faq-sidebar-rule {
    height: 1px;
    margin: 27px 0;
    background: #d8e1ea;
}

.bfx-faq-sidebar-stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 0;
    border-bottom: 1px solid #dce4ec;
}

.bfx-faq-sidebar-stat:last-child {
    border-bottom: 0;
}

.bfx-faq-sidebar-stat strong {
    color: var(--faq-navy);
    font-family: Manrope, Inter, sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.bfx-faq-sidebar-stat span {
    color: var(--faq-muted);
    font-size: 11px;
}


/* =========================================================
   FAQ ITEMS
========================================================= */

.bfx-faq-list {
    min-width: 0;
}

.bfx-faq-item {
    border-top: 1px solid var(--faq-line);
}

.bfx-faq-item:last-child {
    border-bottom: 1px solid var(--faq-line);
}

.bfx-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
    padding: 25px 0;
    border: 0;
    background: transparent;
    color: var(--faq-navy);
    cursor: pointer;
    text-align: left;
}

.bfx-faq-question > span {
    display: block;
    min-width: 0;
    font-family: Manrope, Inter, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}

.bfx-faq-question small {
    display: block;
    margin-bottom: 7px;
    color: var(--faq-blue);
    font-family: Inter, sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bfx-faq-question i {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 1px solid #cbd6e1;
    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.bfx-faq-question i::before,
.bfx-faq-question i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 11px;
    height: 1px;
    background: var(--faq-navy);
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

.bfx-faq-question i::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}

.bfx-faq-question:hover i {
    border-color: var(--faq-blue);
    background: #f4f8fc;
}

.bfx-faq-item.is-open .bfx-faq-question i {
    border-color: var(--faq-blue);
    background: var(--faq-blue);
    transform: rotate(180deg);
}

.bfx-faq-item.is-open .bfx-faq-question i::before,
.bfx-faq-item.is-open .bfx-faq-question i::after {
    background: #fff;
}

.bfx-faq-item.is-open .bfx-faq-question i::after {
    transform:
        translate(-50%, -50%)
        rotate(0);
}

.bfx-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition:
        grid-template-rows .3s ease,
        opacity .25s ease;
}

.bfx-faq-answer > * {
    min-height: 0;
    overflow: hidden;
}

.bfx-faq-item.is-open .bfx-faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.bfx-faq-answer p {
    max-width: 720px;
    margin: 0 60px 20px 0;
    color: var(--faq-muted);
    font-size: 14px;
    line-height: 1.85;
}

.bfx-faq-answer p:last-child {
    margin-bottom: 28px;
}

.bfx-faq-answer strong {
    color: var(--faq-ink);
}

.bfx-faq-answer a {
    color: var(--faq-blue);
    font-weight: 700;
    text-decoration: none;
}

.bfx-faq-answer a:hover {
    text-decoration: underline;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.bfx-faq-empty {
    padding: 70px 30px;
    border: 1px solid var(--faq-line);
    background: var(--faq-soft);
    text-align: center;
}

.bfx-faq-empty[hidden] {
    display: none;
}

.bfx-faq-empty > span {
    display: block;
    margin-bottom: 12px;
    color: var(--faq-blue);
    font-family: Manrope, Inter, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

.bfx-faq-empty h2 {
    margin: 0 0 10px;
    color: var(--faq-navy);
    font-family: Manrope, Inter, sans-serif;
    font-size: 27px;
}

.bfx-faq-empty p {
    margin: 0 auto 25px;
    color: var(--faq-muted);
    font-size: 14px;
}

.bfx-faq-empty button {
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid var(--faq-navy);
    background: var(--faq-navy);
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   SUPPORT
========================================================= */

.bfx-faq-support {
    padding: 92px 0;
    background: var(--faq-navy);
    color: #fff;
}

.bfx-faq-support-grid {
    display: grid;
    grid-template-columns: 1fr .75fr;
    gap: 100px;
    align-items: end;
}

.bfx-faq-support .bfx-faq-eyebrow {
    color: #70c9ed;
}

.bfx-faq-support .bfx-faq-eyebrow > span {
    background: #70c9ed;
}

.bfx-faq-support h2 {
    max-width: 650px;
    margin: 20px 0 0;
    color: #fff;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(36px, 4.5vw, 58px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.04;
}

.bfx-faq-support-grid > div:last-child p {
    max-width: 490px;
    margin: 0 0 28px;
    color: #aebed0;
    font-size: 15px;
    line-height: 1.8;
}

.bfx-faq-support-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid rgba(255,255,255,.22);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition:
        background .2s ease,
        border-color .2s ease;
}

.bfx-faq-support-link span {
    font-size: 17px;
}

.bfx-faq-support-link:hover {
    border-color: #fff;
    background: rgba(255,255,255,.08);
}


/* =========================================================
   RISK
========================================================= */

.bfx-faq-risk {
    background: #f5f7fa;
    border-top: 1px solid #dce4ec;
}

.bfx-faq-risk-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 25px;
    align-items: center;
    padding: 25px 0;
}

.bfx-faq-risk-inner > span {
    color: var(--faq-navy);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.bfx-faq-risk-inner p {
    max-width: 750px;
    margin: 0;
    color: #728095;
    font-size: 11px;
    line-height: 1.7;
}

.bfx-faq-risk-inner a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--faq-navy);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.bfx-faq-risk-inner a span {
    font-size: 15px;
}

.bfx-faq-risk-inner a:hover {
    color: var(--faq-blue);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .bfx-faq-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .bfx-faq-hero-panel {
        max-width: 600px;
    }

    .bfx-faq-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 45px;
    }

    .bfx-faq-support-grid {
        gap: 55px;
    }

}


@media (max-width: 820px) {

    .bfx-faq-page .bfx-container {
        width: min(100% - 36px, 680px);
    }

    .bfx-faq-hero {
        padding: 65px 0;
    }

    .bfx-faq-hero-copy h1 {
        font-size: clamp(44px, 10vw, 64px);
    }

    .bfx-faq-layout {
        grid-template-columns: 1fr;
    }

    .bfx-faq-sidebar {
        position: static;
    }

    .bfx-faq-sidebar-inner {
        max-width: 600px;
    }

    .bfx-faq-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .bfx-faq-search {
        width: 100%;
    }

    .bfx-faq-support-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .bfx-faq-risk-inner {
        grid-template-columns: 1fr;
        gap: 13px;
    }

}


@media (max-width: 620px) {

    .bfx-faq-page .bfx-container {
        width: calc(100% - 28px);
    }

    .bfx-faq-hero {
        padding: 52px 0 58px;
    }

    .bfx-faq-hero-copy h1 {
        margin-top: 18px;
        font-size: 43px;
    }

    .bfx-faq-hero-copy > p {
        font-size: 15px;
        line-height: 1.7;
    }

    .bfx-faq-hero-meta {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 32px;
    }

    .bfx-faq-hero-meta > div {
        min-width: 0;
        padding: 0 10px;
    }

    .bfx-faq-hero-meta > div:first-child {
        padding-left: 0;
    }

    .bfx-faq-hero-meta strong {
        font-size: 17px;
    }

    .bfx-faq-hero-meta span {
        font-size: 10px;
    }

    .bfx-faq-hero-panel {
        min-height: 280px;
        padding: 20px;
    }

    .bfx-faq-panel-line {
        margin: 20px 0 42px;
    }

    .bfx-faq-panel-number {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
        font-size: 30px;
    }

    .bfx-faq-panel-main strong {
        font-size: 17px;
    }

    .bfx-faq-panel-bottom {
        margin-top: 50px;
        font-size: 8px;
    }

    .bfx-faq-section {
        padding: 65px 0 75px;
    }

    .bfx-faq-categories {
        overflow-x: auto;
        flex-wrap: nowrap;
        margin-right: -14px;
        padding-right: 14px;
    }

    .bfx-faq-categories button {
        flex: 0 0 auto;
        padding-inline: 14px;
        font-size: 11px;
    }

    .bfx-faq-question {
        padding: 22px 0;
        gap: 15px;
    }

    .bfx-faq-question > span {
        font-size: 16px;
    }

    .bfx-faq-question small {
        font-size: 8px;
    }

    .bfx-faq-answer p {
        margin-right: 0;
        font-size: 13px;
    }

    .bfx-faq-support {
        padding: 65px 0;
    }

    .bfx-faq-support h2 {
        font-size: 38px;
    }

    .bfx-faq-risk-inner {
        padding: 22px 0;
    }

}

/* =========================================================
   BITFLEX AUTHENTICATION
   Login / Register
   Isolated from global .bf-* site shell
   ========================================================= */

.bfx-auth-page {
    --bfx-auth-navy: #071a33;
    --bfx-auth-navy-2: #0b2444;
    --bfx-auth-blue: #1267d8;
    --bfx-auth-blue-dark: #0d55b7;
    --bfx-auth-cyan: #18a9d6;
    --bfx-auth-text: #122033;
    --bfx-auth-muted: #6d7888;
    --bfx-auth-border: #dfe5ec;
    --bfx-auth-border-light: #e9edf2;
    --bfx-auth-bg: #f6f8fb;
    --bfx-auth-white: #ffffff;
    --bfx-auth-danger: #c93636;
    --bfx-auth-success: #18845a;

    width: 100%;
    min-height: calc(100vh - 82px);
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(24, 169, 214, 0.055),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #f4f7fa 100%
        );
    color: var(--bfx-auth-text);
}


/* =========================================================
   MAIN AUTH SHELL
   ========================================================= */

.bfx-auth-page .bfx-auth-shell {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 56px 32px 80px;
}

.bfx-auth-page .bfx-auth-layout {
    width: 100%;
    max-width: 1240px;
    min-height: 690px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(460px, 0.98fr);

    background: var(--bfx-auth-white);

    border: 1px solid rgba(7, 26, 51, 0.08);
    border-radius: 26px;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(7, 26, 51, 0.08),
        0 8px 25px rgba(7, 26, 51, 0.035);
}


/* =========================================================
   LEFT INTRO PANEL
   ========================================================= */

.bfx-auth-page .bfx-auth-intro {
    position: relative;

    display: flex;
    align-items: stretch;

    min-height: 690px;

    background:
        radial-gradient(
            circle at 75% 18%,
            rgba(31, 166, 220, 0.16),
            transparent 24%
        ),
        radial-gradient(
            circle at 20% 85%,
            rgba(22, 102, 191, 0.16),
            transparent 28%
        ),
        linear-gradient(
            140deg,
            #06172d 0%,
            #08203c 48%,
            #0a294c 100%
        );

    color: #ffffff;

    overflow: hidden;
}


/*
   Fine grid texture
*/
.bfx-auth-page .bfx-auth-intro::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    pointer-events: none;
}


/*
   Decorative light
*/
.bfx-auth-page .bfx-auth-intro::after {
    content: "";
    position: absolute;

    width: 430px;
    height: 430px;

    right: -180px;
    bottom: -210px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(22, 169, 214, 0.18) 0%,
        rgba(22, 169, 214, 0.04) 38%,
        transparent 70%
    );

    pointer-events: none;
}


.bfx-auth-page .bfx-auth-intro-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 570px;

    margin: auto;

    padding: 72px 64px;
}


/* =========================================================
   AUTH EYEBROW
   ========================================================= */

.bfx-auth-page .bfx-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 28px;

    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.17em;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.66);
}


.bfx-auth-page .bfx-auth-eyebrow > span {
    display: block;

    width: 24px;
    height: 1px;

    background: #3ebde4;
}


/* =========================================================
   AUTH INTRO TYPOGRAPHY
   ========================================================= */

.bfx-auth-page .bfx-auth-intro h1 {
    margin: 0;

    max-width: 520px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(48px, 5vw, 74px);
    line-height: 0.99;
    letter-spacing: -0.055em;
    font-weight: 600;

    color: #ffffff;
}


.bfx-auth-page .bfx-auth-intro h1 strong {
    display: block;

    font-weight: 700;

    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #8bdcf1 100%
    );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


.bfx-auth-page .bfx-auth-lead {
    max-width: 490px;

    margin: 30px 0 0;

    font-family: "Inter", sans-serif;

    font-size: 15px;
    line-height: 1.8;

    color: rgba(255, 255, 255, 0.68);
}


/* =========================================================
   TRUST LIST
   ========================================================= */

.bfx-auth-page .bfx-auth-trust-list {
    display: grid;
    gap: 20px;

    margin-top: 52px;
}


.bfx-auth-page .bfx-auth-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}


.bfx-auth-page .bfx-auth-trust-icon {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.055);

    color: #71cee8;
}


.bfx-auth-page .bfx-auth-trust-icon svg {
    width: 20px;
    height: 20px;
}


.bfx-auth-page .bfx-auth-trust-item > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;

    padding-top: 2px;
}


.bfx-auth-page .bfx-auth-trust-item strong {
    font-family: "Inter", sans-serif;

    font-size: 13px;
    line-height: 1.4;

    font-weight: 700;

    color: rgba(255, 255, 255, 0.92);
}


.bfx-auth-page .bfx-auth-trust-item small {
    max-width: 340px;

    font-family: "Inter", sans-serif;

    font-size: 12px;
    line-height: 1.55;

    color: rgba(255, 255, 255, 0.49);
}


/* =========================================================
   RIGHT AUTH AREA
   ========================================================= */

.bfx-auth-page .bfx-auth-card-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 54px 56px;

    background: #ffffff;
}


.bfx-auth-page .bfx-auth-card {
    width: 100%;
    max-width: 470px;
}


/* =========================================================
   CARD HEADER
   ========================================================= */

.bfx-auth-page .bfx-auth-card-header {
    margin-bottom: 30px;
}


.bfx-auth-page .bfx-auth-card-kicker {
    display: block;

    margin-bottom: 10px;

    font-family: "Inter", sans-serif;

    font-size: 10px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: var(--bfx-auth-blue);
}


.bfx-auth-page .bfx-auth-card-header h2 {
    margin: 0;

    font-family: "Manrope", sans-serif;

    font-size: 32px;
    line-height: 1.15;

    font-weight: 700;

    letter-spacing: -0.035em;

    color: var(--bfx-auth-navy);
}


.bfx-auth-page .bfx-auth-card-header p {
    margin: 9px 0 0;

    font-family: "Inter", sans-serif;

    font-size: 13px;
    line-height: 1.65;

    color: var(--bfx-auth-muted);
}


/* =========================================================
   ALERT
   ========================================================= */

.bfx-auth-page .bfx-auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    margin-bottom: 24px;
    padding: 13px 14px;

    border-radius: 10px;

    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 1.5;
}


.bfx-auth-page .bfx-auth-alert-error {
    border: 1px solid #f0cccc;
    background: #fff7f7;
    color: #9e2929;
}


.bfx-auth-page .bfx-auth-alert-icon {
    flex: 0 0 19px;

    width: 19px;
    height: 19px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #d94a4a;
    color: #ffffff;

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   FORM
   ========================================================= */

.bfx-auth-page .bfx-auth-form {
    width: 100%;
}


.bfx-auth-page .bfx-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}


.bfx-auth-page .bfx-form-field {
    width: 100%;
    margin-bottom: 19px;
}


.bfx-auth-page .bfx-form-field > label,
.bfx-auth-page .bfx-form-label-row label {
    display: block;

    margin: 0 0 8px;

    font-family: "Inter", sans-serif;

    font-size: 12px;
    line-height: 1.4;

    font-weight: 700;

    color: #263447;
}


.bfx-auth-page .bfx-field-optional {
    margin-left: 5px;

    font-size: 10px;
    font-weight: 500;

    color: #98a2af;
}


/* =========================================================
   INPUTS
   ========================================================= */

.bfx-auth-page .bfx-form-field input[type="text"],
.bfx-auth-page .bfx-form-field input[type="email"],
.bfx-auth-page .bfx-form-field input[type="tel"],
.bfx-auth-page .bfx-form-field input[type="password"] {
    display: block;

    width: 100% !important;
    min-width: 0;

    height: 52px !important;

    padding: 0 15px !important;

    border: 1px solid #d9e0e8 !important;
    border-radius: 9px !important;

    outline: none !important;

    background: #ffffff !important;

    color: #142235 !important;

    font-family: "Inter", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;

    line-height: 52px;

    box-sizing: border-box !important;

    -webkit-appearance: none;
    appearance: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}


.bfx-auth-page .bfx-form-field input::placeholder {
    color: #a4adb9 !important;
    opacity: 1;
}


.bfx-auth-page .bfx-form-field input:hover {
    border-color: #c8d1dc !important;
}


.bfx-auth-page .bfx-form-field input:focus {
    border-color: #2580e1 !important;

    background: #ffffff !important;

    box-shadow:
        0 0 0 3px rgba(18, 103, 216, 0.09) !important;
}


.bfx-auth-page .bfx-form-field input[aria-invalid="true"],
.bfx-auth-page .bfx-form-field input.is-invalid {
    border-color: #d84a4a !important;
    background: #fffafa !important;
}


.bfx-auth-page .bfx-form-field input.is-valid {
    border-color: #2a9c70 !important;
}


/* =========================================================
   AUTOFILL
   ========================================================= */

.bfx-auth-page .bfx-form-field input:-webkit-autofill,
.bfx-auth-page .bfx-form-field input:-webkit-autofill:hover,
.bfx-auth-page .bfx-form-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #142235 !important;

    -webkit-box-shadow:
        0 0 0 1000px #ffffff inset !important;

    box-shadow:
        0 0 0 1000px #ffffff inset !important;

    transition:
        background-color 9999s ease-in-out 0s;
}


/* =========================================================
   LABEL ROW
   ========================================================= */

.bfx-auth-page .bfx-form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 8px;
}


.bfx-auth-page .bfx-form-label-row label {
    margin-bottom: 0;
}


.bfx-auth-page .bfx-auth-forgot {
    font-family: "Inter", sans-serif;

    font-size: 11px;
    font-weight: 600;

    color: #1267d8;

    text-decoration: none;

    transition: color 0.18s ease;
}


.bfx-auth-page .bfx-auth-forgot:hover {
    color: #0b4fae;
    text-decoration: underline;
}


/* =========================================================
   PASSWORD WRAPPER
   ========================================================= */

.bfx-auth-page .bfx-password-wrap {
    position: relative;

    width: 100%;
}


.bfx-auth-page .bfx-password-wrap input[type="password"],
.bfx-auth-page .bfx-password-wrap input[type="text"] {
    padding-right: 52px !important;
}


.bfx-auth-page .bfx-password-toggle {
    position: absolute;

    top: 50%;
    right: 7px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: 0;
    border-radius: 7px;

    background: transparent;

    color: #7d8997;

    cursor: pointer;

    padding: 0;

    transition:
        background-color 0.18s ease,
        color 0.18s ease;
}


.bfx-auth-page .bfx-password-toggle:hover {
    background: #f2f5f8;
    color: #1267d8;
}


.bfx-auth-page .bfx-password-toggle:focus-visible {
    outline: 2px solid rgba(18, 103, 216, 0.35);
    outline-offset: 1px;
}


.bfx-auth-page .bfx-password-eye {
    width: 19px;
    height: 19px;
}


/* =========================================================
   PASSWORD STRENGTH
   ========================================================= */

.bfx-auth-page .bfx-password-strength {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 19px;

    margin-top: 8px;
}


.bfx-auth-page .bfx-strength-bars {
    display: flex;
    gap: 3px;

    width: 82px;
}


.bfx-auth-page .bfx-strength-bars span {
    flex: 1;

    height: 3px;

    border-radius: 99px;

    background: #e5e9ee;

    transition:
        background-color 0.18s ease,
        transform 0.18s ease;
}


.bfx-auth-page .bfx-strength-bars span.is-active {
    background: #2584dc;
}


.bfx-auth-page .bfx-strength-label {
    font-family: "Inter", sans-serif;

    font-size: 10px;
    line-height: 1.3;

    color: #8993a0;
}


/* =========================================================
   FORM ERRORS
   ========================================================= */

.bfx-auth-page .bfx-form-error {
    display: block;

    margin-top: 6px;

    font-family: "Inter", sans-serif;

    font-size: 10.5px;
    line-height: 1.45;

    color: var(--bfx-auth-danger);
}


/* =========================================================
   AUTH OPTIONS
   ========================================================= */

.bfx-auth-page .bfx-auth-options {
    margin: -2px 0 20px;
}


/* =========================================================
   CHECKBOX
   ========================================================= */

.bfx-auth-page .bfx-checkbox {
    position: relative;

    display: inline-flex;
    align-items: flex-start;
    gap: 9px;

    cursor: pointer;

    user-select: none;
}


.bfx-auth-page .bfx-checkbox input[type="checkbox"] {
    position: absolute;

    width: 1px;
    height: 1px;

    margin: -1px;
    padding: 0;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


.bfx-auth-page .bfx-checkbox-box {
    position: relative;

    flex: 0 0 17px;

    width: 17px;
    height: 17px;

    margin-top: 1px;

    border: 1px solid #c8d1dc;
    border-radius: 4px;

    background: #ffffff;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease;
}


.bfx-auth-page .bfx-checkbox-box::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 4px;

    left: 4px;
    top: 4px;

    border-left: 1.7px solid #ffffff;
    border-bottom: 1.7px solid #ffffff;

    transform:
        rotate(-45deg)
        scale(0);

    opacity: 0;

    transition:
        transform 0.16s ease,
        opacity 0.16s ease;
}


.bfx-auth-page .bfx-checkbox input[type="checkbox"]:checked
+ .bfx-checkbox-box {
    border-color: #1267d8;
    background: #1267d8;
}


.bfx-auth-page .bfx-checkbox input[type="checkbox"]:checked
+ .bfx-checkbox-box::after {
    transform:
        rotate(-45deg)
        scale(1);

    opacity: 1;
}


.bfx-auth-page .bfx-checkbox input[type="checkbox"]:focus-visible
+ .bfx-checkbox-box {
    outline: 2px solid rgba(18, 103, 216, 0.25);
    outline-offset: 2px;
}


.bfx-auth-page .bfx-checkbox-text {
    font-family: "Inter", sans-serif;

    font-size: 11px;
    line-height: 1.55;

    color: #6f7b8a;
}


.bfx-auth-page .bfx-checkbox-text a {
    color: #1267d8;

    font-weight: 600;

    text-decoration: none;
}


.bfx-auth-page .bfx-checkbox-text a:hover {
    text-decoration: underline;
}


/* =========================================================
   TERMS
   ========================================================= */

.bfx-auth-page .bfx-terms-field {
    margin-top: 1px;
    margin-bottom: 22px;
}


.bfx-auth-page .bfx-terms-checkbox {
    width: 100%;
}


/* =========================================================
   PRIMARY SUBMIT BUTTON
   ========================================================= */

.bfx-auth-page .bfx-auth-submit {
    position: relative;

    width: 100%;
    min-height: 53px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 18px 0 20px;

    border: 1px solid #1267d8;
    border-radius: 9px;

    background:
        linear-gradient(
            100deg,
            #0e5fc6 0%,
            #126fdc 100%
        );

    color: #ffffff;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(18, 103, 216, 0.17);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}


.bfx-auth-page .bfx-auth-submit:hover {
    transform: translateY(-1px);

    background:
        linear-gradient(
            100deg,
            #0b56b5 0%,
            #1166cf 100%
        );

    box-shadow:
        0 12px 25px rgba(18, 103, 216, 0.22);
}


.bfx-auth-page .bfx-auth-submit:active {
    transform: translateY(0);
}


.bfx-auth-page .bfx-auth-submit:focus-visible {
    outline: 3px solid rgba(18, 103, 216, 0.2);
    outline-offset: 3px;
}


.bfx-auth-page .bfx-auth-submit-arrow {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: rgba(255, 255, 255, 0.12);

    font-size: 17px;
    line-height: 1;

    transition: transform 0.18s ease;
}


.bfx-auth-page .bfx-auth-submit:hover
.bfx-auth-submit-arrow {
    transform: translateX(2px);
}


/* =========================================================
   DIVIDER
   ========================================================= */

.bfx-auth-page .bfx-auth-divider {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 25px 0 18px;

    text-align: center;
}


.bfx-auth-page .bfx-auth-divider::before,
.bfx-auth-page .bfx-auth-divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background: #e8edf2;
}


.bfx-auth-page .bfx-auth-divider span {
    padding: 0 13px;

    font-family: "Inter", sans-serif;

    font-size: 10px;
    font-weight: 500;

    color: #9aa4b0;

    white-space: nowrap;
}


/* =========================================================
   SECONDARY AUTH LINK
   ========================================================= */

.bfx-auth-page .bfx-auth-secondary {
    width: 100%;
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border: 1px solid #dce3ea;
    border-radius: 9px;

    background: #ffffff;

    color: #1d3046;

    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        border-color 0.18s ease,
        background-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}


.bfx-auth-page .bfx-auth-secondary:hover {
    border-color: #bfcbd8;
    background: #f8fafc;

    color: #1267d8;

    transform: translateY(-1px);
}


.bfx-auth-page .bfx-auth-secondary > span:last-child {
    font-size: 15px;

    transition: transform 0.18s ease;
}


.bfx-auth-page .bfx-auth-secondary:hover
> span:last-child {
    transform: translate(2px, -2px);
}


/* =========================================================
   SECURITY NOTE
   ========================================================= */

.bfx-auth-page .bfx-auth-security-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    margin-top: 24px;
    padding-top: 19px;

    border-top: 1px solid #edf0f3;

    font-family: "Inter", sans-serif;

    font-size: 10px;
    line-height: 1.6;

    color: #929ca8;
}


.bfx-auth-page .bfx-auth-lock {
    flex: 0 0 17px;

    width: 17px;
    height: 17px;

    color: #7f8c9b;
}


.bfx-auth-page .bfx-auth-lock svg {
    width: 17px;
    height: 17px;
}


/* =========================================================
   LOGIN-SPECIFIC
   ========================================================= */

.bfx-login-page .bfx-auth-intro-inner {
    padding-top: 78px;
    padding-bottom: 78px;
}


.bfx-login-page .bfx-auth-card {
    max-width: 440px;
}


/* =========================================================
   REGISTER-SPECIFIC
   ========================================================= */

.bfx-register-page .bfx-auth-card-wrap {
    align-items: flex-start;

    padding-top: 52px;
    padding-bottom: 52px;
}


.bfx-register-page .bfx-auth-card {
    max-width: 470px;
}


.bfx-register-page .bfx-auth-card-header {
    margin-bottom: 25px;
}


.bfx-register-page .bfx-auth-intro-inner {
    padding-top: 72px;
    padding-bottom: 72px;
}


/* =========================================================
   RESPONSIVE — LARGE TABLETS
   ========================================================= */

@media (max-width: 1100px) {

    .bfx-auth-page .bfx-auth-shell {
        padding: 40px 24px 64px;
    }

    .bfx-auth-page .bfx-auth-layout {
        grid-template-columns:
            minmax(0, 0.92fr)
            minmax(420px, 1.08fr);

        min-height: 650px;
    }

    .bfx-auth-page .bfx-auth-intro-inner {
        padding: 58px 45px;
    }

    .bfx-auth-page .bfx-auth-card-wrap {
        padding: 45px 38px;
    }

    .bfx-auth-page .bfx-auth-intro h1 {
        font-size: 55px;
    }

}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .bfx-auth-page .bfx-auth-shell {
        padding: 30px 20px 50px;
    }

    .bfx-auth-page .bfx-auth-layout {
        grid-template-columns: 1fr;

        max-width: 620px;

        min-height: 0;
    }

    .bfx-auth-page .bfx-auth-intro {
        min-height: auto;
    }

    .bfx-auth-page .bfx-auth-intro-inner {
        max-width: 620px;

        padding: 48px 44px 45px;
    }

    .bfx-auth-page .bfx-auth-intro h1 {
        font-size: 52px;
    }

    .bfx-auth-page .bfx-auth-lead {
        max-width: 540px;
    }

    .bfx-auth-page .bfx-auth-trust-list {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 18px;

        margin-top: 38px;
    }

    .bfx-auth-page .bfx-auth-trust-item {
        display: block;
    }

    .bfx-auth-page .bfx-auth-trust-item > span:last-child {
        margin-top: 10px;
    }

    .bfx-auth-page .bfx-auth-trust-icon {
        width: 38px;
        height: 38px;
    }

    .bfx-auth-page .bfx-auth-card-wrap {
        padding: 48px 44px 54px;
    }

    .bfx-auth-page .bfx-auth-card {
        max-width: 100%;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .bfx-auth-page {
        min-height: 0;
    }

    .bfx-auth-page .bfx-auth-shell {
        padding: 18px 12px 35px;
    }

    .bfx-auth-page .bfx-auth-layout {
        border-radius: 18px;

        box-shadow:
            0 18px 45px rgba(7, 26, 51, 0.08);
    }

    .bfx-auth-page .bfx-auth-intro-inner {
        padding: 38px 25px 36px;
    }

    .bfx-auth-page .bfx-auth-eyebrow {
        margin-bottom: 20px;

        font-size: 9px;
    }

    .bfx-auth-page .bfx-auth-intro h1 {
        font-size: 43px;
        line-height: 1;
    }

    .bfx-auth-page .bfx-auth-lead {
        margin-top: 20px;

        font-size: 13px;
        line-height: 1.7;
    }

    .bfx-auth-page .bfx-auth-trust-list {
        display: grid;
        grid-template-columns: 1fr;

        gap: 17px;

        margin-top: 30px;
    }

    .bfx-auth-page .bfx-auth-trust-item {
        display: flex;
    }

    .bfx-auth-page .bfx-auth-trust-item > span:last-child {
        margin-top: 0;
    }

    .bfx-auth-page .bfx-auth-card-wrap {
        padding: 34px 22px 38px;
    }

    .bfx-auth-page .bfx-auth-card-header {
        margin-bottom: 24px;
    }

    .bfx-auth-page .bfx-auth-card-header h2 {
        font-size: 27px;
    }

    .bfx-auth-page .bfx-auth-card-header p {
        font-size: 12px;
    }

    .bfx-auth-page .bfx-form-grid {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .bfx-auth-page .bfx-form-field {
        margin-bottom: 17px;
    }

    .bfx-auth-page .bfx-form-field input[type="text"],
    .bfx-auth-page .bfx-form-field input[type="email"],
    .bfx-auth-page .bfx-form-field input[type="tel"],
    .bfx-auth-page .bfx-form-field input[type="password"] {
        height: 50px !important;

        line-height: 50px;

        font-size: 13px !important;
    }

    .bfx-auth-page .bfx-auth-submit {
        min-height: 51px;
    }

    .bfx-auth-page .bfx-auth-security-note {
        font-size: 9.5px;
    }

}


/* =========================================================
   RESPONSIVE — SMALL PHONES
   ========================================================= */

@media (max-width: 390px) {

    .bfx-auth-page .bfx-auth-shell {
        padding-left: 8px;
        padding-right: 8px;
    }

    .bfx-auth-page .bfx-auth-intro-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .bfx-auth-page .bfx-auth-card-wrap {
        padding-left: 17px;
        padding-right: 17px;
    }

    .bfx-auth-page .bfx-auth-intro h1 {
        font-size: 38px;
    }

    .bfx-auth-page .bfx-auth-card-header h2 {
        font-size: 25px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .bfx-auth-page *,
    .bfx-auth-page *::before,
    .bfx-auth-page *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}

/* =========================================================
   BITFLEX AUTH RESPONSIVE FIXES
   Registration form first on tablets and mobile; robust,
   fully visible custom checkboxes on all screen sizes.
   ========================================================= */

.bfx-auth-page,
.bfx-auth-page *,
.bfx-auth-page *::before,
.bfx-auth-page *::after {
    box-sizing: border-box;
}

.bfx-auth-page .bfx-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
    overflow: visible;
}

.bfx-auth-page .bfx-checkbox input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 1px;
    z-index: 2;
    display: block;
    width: 19px;
    height: 19px;
    min-width: 19px;
    min-height: 19px;
    margin: 0;
    padding: 0;
    opacity: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    cursor: pointer;
}

.bfx-auth-page .bfx-checkbox-box {
    display: block;
    flex: 0 0 19px;
    width: 19px;
    min-width: 19px;
    height: 19px;
    min-height: 19px;
    margin: 1px 0 0;
    border: 1.5px solid #aebdce;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(7, 26, 53, 0.02);
}

.bfx-auth-page .bfx-checkbox-box::after {
    width: 8px;
    height: 5px;
    left: 4px;
    top: 4px;
    border-left-width: 2px;
    border-bottom-width: 2px;
}

.bfx-auth-page .bfx-checkbox-text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
}

.bfx-auth-page .bfx-checkbox input[type="checkbox"]:focus-visible + .bfx-checkbox-box {
    outline: 3px solid rgba(18, 103, 216, 0.25);
    outline-offset: 3px;
}

.bfx-register-page .bfx-security-phrase-confirm,
.bfx-register-page .bfx-terms-checkbox {
    align-items: flex-start;
    width: 100%;
    margin: 0;
    padding: 2px 0;
}

.bfx-register-page .bfx-security-phrase-confirm .bfx-checkbox-text,
.bfx-register-page .bfx-terms-checkbox .bfx-checkbox-text {
    font-size: 12px;
    line-height: 1.7;
    color: #59697c;
}

.bfx-register-page .bfx-terms-field {
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    margin-bottom: 24px;
}

.bfx-register-page .bfx-auth-card-wrap,
.bfx-register-page .bfx-auth-card,
.bfx-register-page .bfx-auth-form,
.bfx-register-page .bfx-form-field {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 900px) {
    .bfx-register-page .bfx-auth-layout {
        display: flex;
        flex-direction: column;
    }

    /* Let people begin registration immediately on smaller screens. */
    .bfx-register-page .bfx-auth-card-wrap {
        order: 1;
        width: 100%;
        padding-top: 36px;
        padding-bottom: 38px;
    }

    .bfx-register-page .bfx-auth-intro {
        order: 2;
        width: 100%;
    }

    .bfx-register-page .bfx-auth-intro-inner {
        width: 100%;
        padding-top: 34px;
        padding-bottom: 36px;
    }
}

@media (max-width: 640px) {
    .bfx-auth-page .bfx-auth-shell {
        padding-left: 10px;
        padding-right: 10px;
    }

    .bfx-register-page .bfx-auth-card-wrap {
        padding: 28px 18px 32px;
    }

    .bfx-register-page .bfx-auth-card-header {
        margin-bottom: 21px;
    }

    .bfx-auth-page .bfx-checkbox {
        gap: 10px;
    }

    .bfx-auth-page .bfx-checkbox-box {
        flex-basis: 19px;
        width: 19px;
        min-width: 19px;
        height: 19px;
        min-height: 19px;
    }

    .bfx-auth-page .bfx-checkbox-text {
        font-size: 12px;
        line-height: 1.7;
    }

    .bfx-register-page .bfx-security-phrase-confirm,
    .bfx-register-page .bfx-terms-checkbox {
        padding: 4px 0;
    }

    .bfx-register-page .bfx-terms-field {
        margin-top: 10px;
        margin-bottom: 22px;
    }
}

@media (max-width: 390px) {
    .bfx-register-page .bfx-auth-card-wrap {
        padding-left: 14px;
        padding-right: 14px;
    }

    .bfx-auth-page .bfx-checkbox {
        gap: 9px;
    }

    .bfx-auth-page .bfx-checkbox-text,
    .bfx-register-page .bfx-security-phrase-confirm .bfx-checkbox-text,
    .bfx-register-page .bfx-terms-checkbox .bfx-checkbox-text {
        font-size: 11.5px;
        line-height: 1.7;
    }
}


/* =========================================================
   BITFLEX REGISTRATION POLISH
   Keep the introductory panel first on mobile, improve the
   12-word security phrase card, and keep both checkboxes visible.
   Append this section after the existing authentication CSS.
   ========================================================= */

.bfx-register-page .bfx-security-phrase-box {
    width: 100%;
    min-width: 0;
    margin: 26px 0 22px;
    padding: 22px;
    border: 1px solid #dfe8f2;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9fe 100%);
    box-shadow: 0 8px 24px rgba(7, 26, 53, 0.045);
}

.bfx-register-page .bfx-security-phrase-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 10px;
}

.bfx-register-page .bfx-security-phrase-header h3 {
    margin: 5px 0 0;
    color: #10233f;
    font-family: "Manrope", "Inter", sans-serif;
    font-size: clamp(18px, 2.2vw, 21px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.025em;
}

.bfx-register-page .bfx-security-phrase-description {
    margin: 0 0 18px;
    color: #59697c;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.75;
    overflow-wrap: break-word;
}

.bfx-register-page .bfx-security-phrase-words {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
    min-width: 0;
    margin: 0 0 17px;
}

.bfx-register-page .bfx-security-word {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 43px;
    padding: 8px 10px;
    border: 1px solid #e0e8f1;
    border-radius: 9px;
    background: #fff;
}

.bfx-register-page .bfx-security-word small {
    flex: 0 0 17px;
    color: #8a98aa;
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.bfx-register-page .bfx-security-word strong {
    min-width: 0;
    color: #172b45;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.bfx-register-page .bfx-security-phrase-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 17px;
    padding: 13px 14px;
    border: 1px solid #f0dcae;
    border-radius: 10px;
    background: #fff9e9;
    color: #72531a;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 1.7;
}

.bfx-register-page .bfx-security-phrase-warning .bfx-auth-alert-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    border-radius: 50%;
    background: #f0d28b;
    color: #674711;
    font-size: 11px;
    font-weight: 800;
}

/* Use a visible custom square while retaining a large, accessible click target. */
.bfx-register-page .bfx-security-phrase-confirm,
.bfx-register-page .bfx-terms-checkbox {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 4px 0;
    overflow: visible;
}

.bfx-register-page .bfx-security-phrase-confirm input[type="checkbox"],
.bfx-register-page .bfx-terms-checkbox input[type="checkbox"] {
    position: absolute;
    top: 4px;
    left: 0;
    z-index: 2;
    display: block;
    width: 21px;
    height: 21px;
    min-width: 21px;
    min-height: 21px;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.bfx-register-page .bfx-security-phrase-confirm .bfx-checkbox-box,
.bfx-register-page .bfx-terms-checkbox .bfx-checkbox-box {
    position: relative;
    display: block;
    flex: 0 0 21px;
    width: 21px;
    min-width: 21px;
    height: 21px;
    min-height: 21px;
    margin: 2px 0 0;
    border: 1.5px solid #9aacc0;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(7, 26, 53, 0.05);
}

.bfx-register-page .bfx-security-phrase-confirm .bfx-checkbox-box::after,
.bfx-register-page .bfx-terms-checkbox .bfx-checkbox-box::after {
    width: 8px;
    height: 5px;
    left: 5px;
    top: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.bfx-register-page .bfx-security-phrase-confirm input[type="checkbox"]:checked + .bfx-checkbox-box,
.bfx-register-page .bfx-terms-checkbox input[type="checkbox"]:checked + .bfx-checkbox-box {
    border-color: #1267d8;
    background: #1267d8;
}

.bfx-register-page .bfx-security-phrase-confirm input[type="checkbox"]:focus-visible + .bfx-checkbox-box,
.bfx-register-page .bfx-terms-checkbox input[type="checkbox"]:focus-visible + .bfx-checkbox-box {
    outline: 3px solid rgba(18, 103, 216, 0.25);
    outline-offset: 3px;
}

.bfx-register-page .bfx-security-phrase-confirm .bfx-checkbox-text,
.bfx-register-page .bfx-terms-checkbox .bfx-checkbox-text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    color: #46566b;
    font-family: "Inter", sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.7;
    overflow-wrap: break-word;
    white-space: normal;
}

.bfx-register-page .bfx-terms-field {
    width: 100%;
    min-width: 0;
    margin-top: 14px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    /* Restore the original order: intro first, registration form beneath it. */
    .bfx-register-page .bfx-auth-layout {
        display: flex;
        flex-direction: column;
    }

    .bfx-register-page .bfx-auth-intro {
        order: 1;
        width: 100%;
    }

    .bfx-register-page .bfx-auth-card-wrap {
        order: 2;
        width: 100%;
    }

    .bfx-register-page .bfx-auth-intro-inner {
        width: 100%;
        padding-top: 38px;
        padding-bottom: 38px;
    }
}

@media (max-width: 640px) {
    .bfx-register-page .bfx-security-phrase-box {
        margin-top: 22px;
        padding: 17px 14px;
        border-radius: 13px;
    }

    .bfx-register-page .bfx-security-phrase-header h3 {
        font-size: 18px;
        line-height: 1.4;
    }

    .bfx-register-page .bfx-security-phrase-description {
        margin-bottom: 15px;
        font-size: 12.5px;
        line-height: 1.75;
    }

    .bfx-register-page .bfx-security-phrase-words {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .bfx-register-page .bfx-security-word {
        min-height: 41px;
        padding: 8px;
        gap: 6px;
    }

    .bfx-register-page .bfx-security-word strong {
        font-size: 11.5px;
    }

    .bfx-register-page .bfx-security-phrase-warning {
        gap: 8px;
        padding: 11px;
        font-size: 11.5px;
        line-height: 1.7;
    }

    .bfx-register-page .bfx-security-phrase-confirm .bfx-checkbox-text,
    .bfx-register-page .bfx-terms-checkbox .bfx-checkbox-text {
        font-size: 12px;
        line-height: 1.7;
    }
}

@media (max-width: 360px) {
    .bfx-register-page .bfx-security-phrase-box {
        padding: 14px 11px;
    }

    .bfx-register-page .bfx-security-word {
        gap: 5px;
        padding: 7px 6px;
    }

    .bfx-register-page .bfx-security-word small {
        flex-basis: 15px;
        font-size: 9px;
    }

    .bfx-register-page .bfx-security-word strong {
        font-size: 10.5px;
    }
}




/* =========================================================
   BITFLEX CONTACT SUPPORT
   ========================================================= */

.bfx-contact-page {
    --contact-navy: #071426;
    --contact-navy-2: #0b1c31;
    --contact-blue: #1769ff;
    --contact-cyan: #20c8e8;
    --contact-text: #102033;
    --contact-muted: #64748b;
    --contact-border: #e4e9f0;
    --contact-soft: #f6f8fb;
    --contact-white: #ffffff;
    background: #fff;
    color: var(--contact-text);
}


/* =========================================================
   HERO
   ========================================================= */

.bfx-contact-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 25%, rgba(32, 200, 232, .14), transparent 28%),
        radial-gradient(circle at 10% 90%, rgba(23, 105, 255, .13), transparent 30%),
        linear-gradient(135deg, #071426 0%, #0a1a2d 55%, #071426 100%);
    color: #fff;
}

.bfx-contact-hero-grid {
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, black, transparent);
    pointer-events: none;
}

.bfx-contact-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1050px;
    padding-top: 110px;
    padding-bottom: 100px;
    text-align: center;
}

.bfx-contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #91a8c4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.bfx-contact-eyebrow span {
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, var(--contact-cyan), var(--contact-blue));
}

.bfx-contact-hero h1 {
    max-width: 850px;
    margin: 0 auto;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(48px, 7vw, 78px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 800;
}

.bfx-contact-hero h1 span {
    background: linear-gradient(100deg, #fff 15%, #72dcf1 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bfx-contact-hero-copy {
    max-width: 650px;
    margin: 27px auto 0;
    color: #a9bad0;
    font-size: 17px;
    line-height: 1.8;
}

.bfx-contact-hero-meta {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 42px;
}

.bfx-contact-hero-meta > div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 245px;
    padding: 15px 18px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    background: rgba(255,255,255,.045);
    text-align: left;
}

.bfx-contact-meta-icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(103,220,241,.2);
    border-radius: 11px;
    color: #72dcf1;
    background: rgba(32,200,232,.08);
}

.bfx-contact-meta-icon svg {
    width: 21px;
    height: 21px;
}

.bfx-contact-hero-meta strong,
.bfx-contact-hero-meta span:last-child {
    display: block;
}

.bfx-contact-hero-meta strong {
    font-size: 13px;
    color: #fff;
}

.bfx-contact-hero-meta div > div > span {
    margin-top: 3px;
    color: #8195ae;
    font-size: 11px;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.bfx-contact-main {
    padding: 90px 0;
    background:
        linear-gradient(#fff, #fff) padding-box,
        #f7f9fc;
}

.bfx-contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 70px;
    align-items: start;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.bfx-contact-side-label,
.bfx-contact-form-label {
    display: block;
    color: var(--contact-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.bfx-contact-side-intro h2 {
    margin: 14px 0 17px;
    font-family: Manrope, Inter, sans-serif;
    font-size: 30px;
    line-height: 1.14;
    letter-spacing: -.035em;
}

.bfx-contact-side-intro h2 span,
.bfx-contact-bottom h2 span {
    color: var(--contact-blue);
}

.bfx-contact-side-intro p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 14px;
    line-height: 1.75;
}

.bfx-support-options {
    margin-top: 32px;
    border-top: 1px solid var(--contact-border);
}

.bfx-support-option {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 0;
    border-bottom: 1px solid var(--contact-border);
    color: var(--contact-text);
    text-decoration: none;
    transition: transform .2s ease, color .2s ease;
}

.bfx-support-option:hover {
    transform: translateX(4px);
    color: var(--contact-blue);
}

.bfx-support-option-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid #e3e9f2;
    border-radius: 12px;
    background: #f8fafc;
    color: var(--contact-blue);
}

.bfx-support-option-icon svg {
    width: 21px;
    height: 21px;
}

.bfx-support-option > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.bfx-support-option strong,
.bfx-support-option small {
    display: block;
}

.bfx-support-option strong {
    font-size: 13px;
}

.bfx-support-option small {
    margin-top: 3px;
    color: var(--contact-muted);
    font-size: 11px;
}

.bfx-support-arrow {
    color: #8a9ab0;
    font-size: 17px;
}

.bfx-contact-security {
    display: flex;
    gap: 13px;
    margin-top: 28px;
    padding: 17px;
    border: 1px solid #e2eaf3;
    border-radius: 15px;
    background: #f7fafe;
}

.bfx-contact-security-icon {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    color: var(--contact-blue);
}

.bfx-contact-security-icon svg {
    width: 23px;
    height: 23px;
}

.bfx-contact-security strong {
    display: block;
    font-size: 12px;
}

.bfx-contact-security p {
    margin: 5px 0 0;
    color: var(--contact-muted);
    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   FORM CONTAINER
   ========================================================= */

.bfx-contact-form-wrap {
    padding: 38px;
    border: 1px solid var(--contact-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(10, 30, 55, .07);
}

.bfx-contact-form-header {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--contact-border);
}

.bfx-contact-form-header h2 {
    margin: 9px 0 9px;
    font-family: Manrope, Inter, sans-serif;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.bfx-contact-form-header p {
    max-width: 680px;
    margin: 0;
    color: var(--contact-muted);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   ALERT
   ========================================================= */

.bfx-contact-alert {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 24px;
    padding: 14px 16px;
    border: 1px solid #f1d6d6;
    border-left: 3px solid #d13c3c;
    border-radius: 10px;
    background: #fff8f8;
}

.bfx-contact-alert strong {
    color: #9e2424;
    font-size: 12px;
}

.bfx-contact-alert span {
    color: #a65a5a;
    font-size: 11px;
}


/* =========================================================
   FORM
   ========================================================= */

.bfx-contact-form {
    padding-top: 30px;
}

.bfx-contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bfx-contact-field {
    margin-bottom: 22px;
}

.bfx-contact-field label {
    display: block;
    margin-bottom: 8px;
    color: #1c2c40;
    font-size: 12px;
    font-weight: 700;
}

.bfx-contact-field label span {
    color: #d33838;
}

.bfx-contact-field input[type="text"],
.bfx-contact-field input[type="email"],
.bfx-contact-field select,
.bfx-contact-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #dce3eb;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #17263a;
    font-family: inherit;
    font-size: 13px;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.bfx-contact-field input[type="text"],
.bfx-contact-field input[type="email"],
.bfx-contact-field select {
    height: 50px;
    padding: 0 14px;
}

.bfx-contact-field textarea {
    min-height: 165px;
    padding: 14px;
    resize: vertical;
    line-height: 1.65;
}

.bfx-contact-field input:focus,
.bfx-contact-field select:focus,
.bfx-contact-field textarea:focus {
    border-color: #6c9dff;
    box-shadow: 0 0 0 4px rgba(23,105,255,.08);
}

.bfx-contact-field input[aria-invalid="true"],
.bfx-contact-field select[aria-invalid="true"],
.bfx-contact-field textarea[aria-invalid="true"] {
    border-color: #d75b5b;
}

.bfx-contact-field input::placeholder,
.bfx-contact-field textarea::placeholder {
    color: #9aa8b8;
}


/* =========================================================
   SELECT
   ========================================================= */

.bfx-contact-select-wrap {
    position: relative;
}

.bfx-contact-select-wrap select {
    appearance: none;
    padding-right: 45px;
    cursor: pointer;
}

.bfx-contact-select-arrow {
    position: absolute;
    top: 50%;
    right: 14px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    color: #728198;
    pointer-events: none;
}

.bfx-contact-select-arrow svg {
    width: 17px;
    height: 17px;
}


/* =========================================================
   PRIORITY
   ========================================================= */

.bfx-contact-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.bfx-contact-label-row label {
    margin-bottom: 8px;
}

.bfx-contact-label-note {
    margin-bottom: 8px;
    color: #91a0b1;
    font-size: 10px;
}

.bfx-priority-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.bfx-priority-option {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 9px;
    min-height: 62px;
    margin: 0 !important;
    padding: 11px 12px;
    border: 1px solid #dfe5ed;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.bfx-priority-option:hover {
    border-color: #a9c5f8;
    background: #f9fbff;
}

.bfx-priority-option input {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--contact-blue);
}

.bfx-priority-option span {
    display: block;
}

.bfx-priority-option strong,
.bfx-priority-option small {
    display: block;
}

.bfx-priority-option strong {
    color: #243449;
    font-size: 11px;
}

.bfx-priority-option small {
    margin-top: 2px;
    color: #8a98a9;
    font-size: 9px;
    font-weight: 500;
}


/* =========================================================
   MESSAGE COUNTER
   ========================================================= */

.bfx-contact-counter {
    margin-bottom: 8px;
    color: #91a0b1;
    font-size: 10px;
}

.bfx-contact-counter span {
    color: #53657b;
    font-weight: 700;
}


/* =========================================================
   ERRORS
   ========================================================= */

.bfx-contact-error {
    display: block;
    margin-top: 6px;
    color: #b52f2f;
    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.bfx-contact-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-top: 5px;
}

.bfx-contact-submit-row p {
    max-width: 460px;
    margin: 0;
    color: #8a98a9;
    font-size: 10px;
    line-height: 1.65;
}

.bfx-contact-submit,
.bfx-contact-new-request {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: #1769ff;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 9px 22px rgba(23,105,255,.18);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.bfx-contact-submit:hover,
.bfx-contact-new-request:hover {
    transform: translateY(-2px);
    background: #0759e8;
    box-shadow: 0 13px 28px rgba(23,105,255,.24);
}

.bfx-contact-submit span,
.bfx-contact-new-request span {
    font-size: 15px;
}


/* =========================================================
   SUCCESS
   ========================================================= */

.bfx-contact-success {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    min-height: 350px;
    padding: 20px 5px;
}

.bfx-contact-success-icon {
    display: grid;
    place-items: center;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border: 1px solid #cfe8dc;
    border-radius: 18px;
    background: #f1faf5;
    color: #198754;
}

.bfx-contact-success-icon svg {
    width: 29px;
    height: 29px;
}

.bfx-contact-success h2 {
    margin: 10px 0 10px;
    font-family: Manrope, Inter, sans-serif;
    font-size: 32px;
    letter-spacing: -.04em;
}

.bfx-contact-success p {
    max-width: 520px;
    margin: 0 0 25px;
    color: var(--contact-muted);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   BOTTOM SECTION
   ========================================================= */

.bfx-contact-bottom {
    padding: 75px 0 90px;
    background: #f7f9fc;
}

.bfx-contact-bottom-inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.bfx-contact-bottom h2 {
    max-width: 450px;
    margin: 14px 0 0;
    font-family: Manrope, Inter, sans-serif;
    font-size: 36px;
    line-height: 1.12;
    letter-spacing: -.045em;
}

.bfx-contact-detail-list {
    border-top: 1px solid #dfe5ec;
}

.bfx-contact-detail-list > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #dfe5ec;
}

.bfx-contact-detail-list span {
    color: var(--contact-blue);
    font-size: 10px;
    font-weight: 800;
}

.bfx-contact-detail-list p {
    margin: 0;
    color: #617084;
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .bfx-contact-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .bfx-contact-sidebar {
        max-width: 700px;
    }

    .bfx-contact-bottom-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


@media (max-width: 720px) {

    .bfx-contact-hero-inner {
        padding-top: 80px;
        padding-bottom: 75px;
    }

    .bfx-contact-hero h1 {
        font-size: 48px;
    }

    .bfx-contact-hero-copy {
        font-size: 15px;
    }

    .bfx-contact-hero-meta {
        flex-direction: column;
        align-items: stretch;
    }

    .bfx-contact-hero-meta > div {
        min-width: 0;
    }

    .bfx-contact-main {
        padding: 60px 0;
    }

    .bfx-contact-form-wrap {
        padding: 25px 20px;
        border-radius: 17px;
    }

    .bfx-contact-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bfx-priority-options {
        grid-template-columns: 1fr;
    }

    .bfx-contact-submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .bfx-contact-submit {
        width: 100%;
    }

    .bfx-contact-bottom {
        padding: 60px 0;
    }

    .bfx-contact-bottom h2 {
        font-size: 31px;
    }
}


@media (max-width: 430px) {

    .bfx-contact-hero h1 {
        font-size: 42px;
    }

    .bfx-contact-hero-inner {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .bfx-contact-form-wrap {
        padding: 21px 16px;
    }

    .bfx-contact-form-header h2 {
        font-size: 26px;
    }

    .bfx-contact-side-intro h2 {
        font-size: 27px;
    }

    .bfx-contact-label-note {
        display: none;
    }
}


/* =========================================================
   BITFLEX TERMS & CONDITIONS
   ========================================================= */

.bfx-terms-page {
    --terms-navy: #071426;
    --terms-blue: #1769ff;
    --terms-cyan: #20c8e8;
    --terms-text: #17263a;
    --terms-muted: #65758a;
    --terms-border: #e3e8ef;
    --terms-soft: #f6f8fb;
    background: #fff;
    color: var(--terms-text);
}


/* =========================================================
   HERO
   ========================================================= */

.bfx-terms-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 84% 20%,
            rgba(32, 200, 232, .13),
            transparent 27%
        ),
        radial-gradient(
            circle at 12% 90%,
            rgba(23, 105, 255, .12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071426 0%,
            #0a1b30 55%,
            #071426 100%
        );
    color: #fff;
}

.bfx-terms-hero-grid {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        linear-gradient(
            rgba(255,255,255,.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.08) 1px,
            transparent 1px
        );
    background-size: 72px 72px;
    mask-image: linear-gradient(
        to bottom,
        black,
        transparent
    );
    pointer-events: none;
}

.bfx-terms-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    padding-top: 105px;
    padding-bottom: 82px;
    text-align: center;
}

.bfx-terms-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #8ea4bf;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
}

.bfx-terms-eyebrow span {
    width: 27px;
    height: 1px;
    background: linear-gradient(
        90deg,
        var(--terms-cyan),
        var(--terms-blue)
    );
}

.bfx-terms-hero h1 {
    margin: 0;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(46px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -.055em;
    font-weight: 800;
}

.bfx-terms-hero h1 span {
    display: inline-block;
    background: linear-gradient(
        100deg,
        #fff 15%,
        #75dced 90%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bfx-terms-hero-inner > p {
    max-width: 670px;
    margin: 25px auto 0;
    color: #a8b9ce;
    font-size: 15px;
    line-height: 1.8;
}

.bfx-terms-meta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.bfx-terms-meta > div {
    min-width: 190px;
    padding: 0 25px;
    border-right: 1px solid rgba(255,255,255,.12);
}

.bfx-terms-meta > div:first-child {
    border-left: 1px solid rgba(255,255,255,.12);
}

.bfx-terms-meta span {
    display: block;
    margin-bottom: 6px;
    color: #7f93ad;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bfx-terms-meta strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #f2f6fb;
    font-size: 11px;
    font-weight: 700;
}

.bfx-terms-meta strong i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #29c58a;
    box-shadow: 0 0 0 4px rgba(41,197,138,.1);
}


/* =========================================================
   DOCUMENT AREA
   ========================================================= */

.bfx-terms-document {
    padding: 80px 0 110px;
    background: #fff;
}

.bfx-terms-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 760px);
    justify-content: center;
    gap: 70px;
    align-items: start;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.bfx-terms-sidebar {
    position: relative;
}

.bfx-terms-sidebar-inner {
    position: sticky;
    top: 105px;
}

.bfx-terms-sidebar-label {
    display: block;
    margin-bottom: 16px;
    color: #8b99aa;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}

.bfx-terms-sidebar nav {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--terms-border);
}

.bfx-terms-sidebar nav a {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 8px;
    padding: 9px 8px;
    border-bottom: 1px solid var(--terms-border);
    color: #728196;
    font-size: 10px;
    line-height: 1.3;
    text-decoration: none;
    transition:
        color .2s ease,
        background .2s ease;
}

.bfx-terms-sidebar nav a span {
    color: #a5b1bf;
    font-size: 9px;
    font-weight: 700;
}

.bfx-terms-sidebar nav a:hover {
    color: var(--terms-blue);
    background: #f7f9fc;
}

.bfx-terms-sidebar nav a.is-active {
    color: var(--terms-blue);
    background: #f4f8ff;
    font-weight: 700;
}

.bfx-terms-sidebar nav a.is-active span {
    color: var(--terms-blue);
}


/* =========================================================
   CONTENT
   ========================================================= */

.bfx-terms-content {
    min-width: 0;
}

.bfx-terms-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 55px;
    padding: 18px 20px;
    border: 1px solid #dce7f7;
    border-left: 3px solid var(--terms-blue);
    border-radius: 12px;
    background: #f7faff;
}

.bfx-terms-notice-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: var(--terms-blue);
    background: #eaf2ff;
}

.bfx-terms-notice-icon svg {
    width: 20px;
    height: 20px;
}

.bfx-terms-notice strong {
    display: block;
    margin-bottom: 4px;
    color: #1c3552;
    font-size: 12px;
}

.bfx-terms-notice p {
    margin: 0;
    color: #657990;
    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.bfx-terms-section {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 20px;
    padding: 0 0 55px;
    margin-bottom: 55px;
    border-bottom: 1px solid var(--terms-border);
    scroll-margin-top: 100px;
}

.bfx-terms-section-number {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid #dbe4ef;
    border-radius: 9px;
    background: #f8fafc;
    color: var(--terms-blue);
    font-size: 9px;
    font-weight: 800;
}

.bfx-terms-section h2 {
    margin: 0 0 17px;
    font-family: Manrope, Inter, sans-serif;
    color: #13243a;
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.bfx-terms-section p {
    margin: 0 0 15px;
    color: #596b80;
    font-size: 13px;
    line-height: 1.85;
}

.bfx-terms-section p:last-child {
    margin-bottom: 0;
}

.bfx-terms-section ul {
    margin: 18px 0;
    padding-left: 20px;
}

.bfx-terms-section li {
    margin: 8px 0;
    padding-left: 4px;
    color: #596b80;
    font-size: 13px;
    line-height: 1.7;
}

.bfx-terms-section li::marker {
    color: var(--terms-blue);
}


/* =========================================================
   CALLOUTS
   ========================================================= */

.bfx-terms-callout {
    margin-top: 24px;
    padding: 17px 18px;
    border: 1px solid #eadfc8;
    border-left: 3px solid #d7a93c;
    border-radius: 10px;
    background: #fffbf2;
}

.bfx-terms-callout strong {
    display: block;
    margin-bottom: 5px;
    color: #715722;
    font-size: 11px;
}

.bfx-terms-callout p {
    margin: 0;
    color: #786a4e;
    font-size: 11px;
    line-height: 1.65;
}

.bfx-terms-callout-blue {
    border-color: #d8e5f8;
    border-left-color: var(--terms-blue);
    background: #f7faff;
}

.bfx-terms-callout-blue strong {
    color: #1e4f9c;
}

.bfx-terms-callout-blue p {
    color: #637792;
}


/* =========================================================
   RISK BOX
   ========================================================= */

.bfx-terms-risk-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 25px;
    padding: 18px;
    border: 1px solid #f0dcdc;
    border-radius: 11px;
    background: #fff8f8;
}

.bfx-terms-risk-icon {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    color: #bd4444;
}

.bfx-terms-risk-icon svg {
    width: 22px;
    height: 22px;
}

.bfx-terms-risk-box strong {
    display: block;
    margin-bottom: 5px;
    color: #8f3333;
    font-size: 11px;
}

.bfx-terms-risk-box p {
    margin: 0;
    color: #806464;
    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   CONTACT BUTTON
   ========================================================= */

.bfx-terms-contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    margin-top: 10px;
    padding: 0 18px;
    border-radius: 9px;
    background: var(--terms-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(23,105,255,.17);
    transition:
        transform .2s ease,
        background .2s ease;
}

.bfx-terms-contact-button:hover {
    transform: translateY(-2px);
    background: #0759e8;
}

.bfx-terms-contact-button span {
    font-size: 14px;
}


/* =========================================================
   DOCUMENT FOOTER
   ========================================================= */

.bfx-terms-document-footer {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 5px;
}

.bfx-terms-document-footer span,
.bfx-terms-document-footer strong {
    display: block;
}

.bfx-terms-document-footer span {
    margin-bottom: 5px;
    color: #9aa7b6;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bfx-terms-document-footer strong {
    color: #46576c;
    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .bfx-terms-layout {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 45px;
    }

}

@media (max-width: 850px) {

    .bfx-terms-hero-inner {
        padding-top: 80px;
        padding-bottom: 70px;
    }

    .bfx-terms-meta > div {
        min-width: 0;
        padding: 0 15px;
    }

    .bfx-terms-layout {
        display: block;
    }

    .bfx-terms-sidebar {
        margin-bottom: 45px;
    }

    .bfx-terms-sidebar-inner {
        position: static;
    }

    .bfx-terms-sidebar nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .bfx-terms-sidebar nav a {
        border-right: 1px solid var(--terms-border);
    }

}

@media (max-width: 600px) {

    .bfx-terms-hero-inner {
        padding-top: 65px;
        padding-bottom: 60px;
    }

    .bfx-terms-hero h1 {
        font-size: 43px;
    }

    .bfx-terms-hero-inner > p {
        font-size: 14px;
    }

    .bfx-terms-meta {
        flex-direction: column;
        gap: 0;
        margin-top: 32px;
    }

    .bfx-terms-meta > div,
    .bfx-terms-meta > div:first-child {
        border: 0;
        border-top: 1px solid rgba(255,255,255,.12);
        padding: 12px 0;
    }

    .bfx-terms-meta > div:last-child {
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .bfx-terms-document {
        padding: 55px 0 75px;
    }

    .bfx-terms-sidebar nav {
        grid-template-columns: 1fr;
    }

    .bfx-terms-sidebar nav a {
        border-right: 0;
    }

    .bfx-terms-notice {
        padding: 15px;
        margin-bottom: 40px;
    }

    .bfx-terms-section {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    .bfx-terms-section-number {
        width: 32px;
        height: 32px;
    }

    .bfx-terms-section h2 {
        font-size: 23px;
    }

    .bfx-terms-section p,
    .bfx-terms-section li {
        font-size: 12px;
    }

    .bfx-terms-document-footer {
        flex-direction: column;
        gap: 18px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .bfx-terms-sidebar nav a,
    .bfx-terms-contact-button {
        transition: none;
    }

}


/* =========================================================
   BITFLEX PRIVACY POLICY
   ========================================================= */

.bfx-privacy-page {
    --privacy-navy: #071426;
    --privacy-blue: #1769ff;
    --privacy-cyan: #20c8e8;
    --privacy-text: #17263a;
    --privacy-muted: #65758a;
    --privacy-border: #e3e8ef;
    --privacy-soft: #f6f8fb;
    background: #fff;
    color: var(--privacy-text);
}


/* =========================================================
   HERO
   ========================================================= */

.bfx-privacy-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 84% 20%,
            rgba(32, 200, 232, .13),
            transparent 27%
        ),
        radial-gradient(
            circle at 12% 90%,
            rgba(23, 105, 255, .12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071426 0%,
            #0a1b30 55%,
            #071426 100%
        );
    color: #fff;
}

.bfx-privacy-hero-grid {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        linear-gradient(
            rgba(255,255,255,.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.08) 1px,
            transparent 1px
        );
    background-size: 72px 72px;
    mask-image: linear-gradient(
        to bottom,
        black,
        transparent
    );
    pointer-events: none;
}

.bfx-privacy-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    padding-top: 105px;
    padding-bottom: 82px;
    text-align: center;
}

.bfx-privacy-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #8ea4bf;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
}

.bfx-privacy-eyebrow span {
    width: 27px;
    height: 1px;
    background: linear-gradient(
        90deg,
        var(--privacy-cyan),
        var(--privacy-blue)
    );
}

.bfx-privacy-hero h1 {
    margin: 0;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(46px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -.055em;
    font-weight: 800;
}

.bfx-privacy-hero h1 span {
    display: inline-block;
    background: linear-gradient(
        100deg,
        #fff 15%,
        #75dced 90%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bfx-privacy-hero-inner > p {
    max-width: 670px;
    margin: 25px auto 0;
    color: #a8b9ce;
    font-size: 15px;
    line-height: 1.8;
}

.bfx-privacy-meta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.bfx-privacy-meta > div {
    min-width: 190px;
    padding: 0 25px;
    border-right: 1px solid rgba(255,255,255,.12);
}

.bfx-privacy-meta > div:first-child {
    border-left: 1px solid rgba(255,255,255,.12);
}

.bfx-privacy-meta span {
    display: block;
    margin-bottom: 6px;
    color: #7f93ad;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bfx-privacy-meta strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #f2f6fb;
    font-size: 11px;
    font-weight: 700;
}

.bfx-privacy-meta strong i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #29c58a;
    box-shadow: 0 0 0 4px rgba(41,197,138,.1);
}


/* =========================================================
   DOCUMENT
   ========================================================= */

.bfx-privacy-document {
    padding: 80px 0 110px;
    background: #fff;
}

.bfx-privacy-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 760px);
    justify-content: center;
    gap: 70px;
    align-items: start;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.bfx-privacy-sidebar-inner {
    position: sticky;
    top: 105px;
}

.bfx-privacy-sidebar-label {
    display: block;
    margin-bottom: 16px;
    color: #8b99aa;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}

.bfx-privacy-sidebar nav {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--privacy-border);
}

.bfx-privacy-sidebar nav a {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 8px;
    padding: 9px 8px;
    border-bottom: 1px solid var(--privacy-border);
    color: #728196;
    font-size: 10px;
    line-height: 1.3;
    text-decoration: none;
    transition:
        color .2s ease,
        background .2s ease;
}

.bfx-privacy-sidebar nav a span {
    color: #a5b1bf;
    font-size: 9px;
    font-weight: 700;
}

.bfx-privacy-sidebar nav a:hover {
    color: var(--privacy-blue);
    background: #f7f9fc;
}

.bfx-privacy-sidebar nav a.is-active {
    color: var(--privacy-blue);
    background: #f4f8ff;
    font-weight: 700;
}

.bfx-privacy-sidebar nav a.is-active span {
    color: var(--privacy-blue);
}


/* =========================================================
   CONTENT
   ========================================================= */

.bfx-privacy-content {
    min-width: 0;
}

.bfx-privacy-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 55px;
    padding: 18px 20px;
    border: 1px solid #dce7f7;
    border-left: 3px solid var(--privacy-blue);
    border-radius: 12px;
    background: #f7faff;
}

.bfx-privacy-notice-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: var(--privacy-blue);
    background: #eaf2ff;
}

.bfx-privacy-notice-icon svg {
    width: 20px;
    height: 20px;
}

.bfx-privacy-notice strong {
    display: block;
    margin-bottom: 4px;
    color: #1c3552;
    font-size: 12px;
}

.bfx-privacy-notice p {
    margin: 0;
    color: #657990;
    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.bfx-privacy-section {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 20px;
    padding: 0 0 55px;
    margin-bottom: 55px;
    border-bottom: 1px solid var(--privacy-border);
    scroll-margin-top: 100px;
}

.bfx-privacy-section-number {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid #dbe4ef;
    border-radius: 9px;
    background: #f8fafc;
    color: var(--privacy-blue);
    font-size: 9px;
    font-weight: 800;
}

.bfx-privacy-section h2 {
    margin: 0 0 17px;
    font-family: Manrope, Inter, sans-serif;
    color: #13243a;
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.bfx-privacy-section h3 {
    margin: 25px 0 10px;
    color: #25364c;
    font-size: 13px;
    font-weight: 800;
}

.bfx-privacy-section p {
    margin: 0 0 15px;
    color: #596b80;
    font-size: 13px;
    line-height: 1.85;
}

.bfx-privacy-section p:last-child {
    margin-bottom: 0;
}

.bfx-privacy-section a {
    color: var(--privacy-blue);
    font-weight: 700;
    text-decoration: none;
}

.bfx-privacy-section a:hover {
    text-decoration: underline;
}

.bfx-privacy-section ul {
    margin: 18px 0;
    padding-left: 20px;
}

.bfx-privacy-section li {
    margin: 8px 0;
    padding-left: 4px;
    color: #596b80;
    font-size: 13px;
    line-height: 1.7;
}

.bfx-privacy-section li::marker {
    color: var(--privacy-blue);
}


/* =========================================================
   CALLOUT
   ========================================================= */

.bfx-privacy-callout {
    margin-top: 24px;
    padding: 17px 18px;
    border: 1px solid #d8e5f8;
    border-left: 3px solid var(--privacy-blue);
    border-radius: 10px;
    background: #f7faff;
}

.bfx-privacy-callout strong {
    display: block;
    margin-bottom: 5px;
    color: #1e4f9c;
    font-size: 11px;
}

.bfx-privacy-callout p {
    margin: 0;
    color: #637792;
    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   SECURITY BOX
   ========================================================= */

.bfx-privacy-security-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 25px;
    padding: 18px;
    border: 1px solid #d9e9e1;
    border-radius: 11px;
    background: #f5fbf8;
}

.bfx-privacy-security-icon {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    color: #198754;
}

.bfx-privacy-security-icon svg {
    width: 23px;
    height: 23px;
}

.bfx-privacy-security-box strong {
    display: block;
    margin-bottom: 5px;
    color: #176b48;
    font-size: 11px;
}

.bfx-privacy-security-box p {
    margin: 0;
    color: #607c6d;
    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   CONTACT BUTTON
   ========================================================= */

.bfx-privacy-contact-button {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    margin-top: 10px;
    padding: 0 18px;
    border-radius: 9px;
    background: var(--privacy-blue);
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(23,105,255,.17);
    transition:
        transform .2s ease,
        background .2s ease;
}

.bfx-privacy-contact-button:hover {
    transform: translateY(-2px);
    background: #0759e8;
}

.bfx-privacy-contact-button span {
    font-size: 14px;
}


/* =========================================================
   DOCUMENT FOOTER
   ========================================================= */

.bfx-privacy-document-footer {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 5px;
}

.bfx-privacy-document-footer span,
.bfx-privacy-document-footer strong {
    display: block;
}

.bfx-privacy-document-footer span {
    margin-bottom: 5px;
    color: #9aa7b6;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bfx-privacy-document-footer strong {
    color: #46576c;
    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .bfx-privacy-layout {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 45px;
    }

}

@media (max-width: 850px) {

    .bfx-privacy-hero-inner {
        padding-top: 80px;
        padding-bottom: 70px;
    }

    .bfx-privacy-meta > div {
        min-width: 0;
        padding: 0 15px;
    }

    .bfx-privacy-layout {
        display: block;
    }

    .bfx-privacy-sidebar {
        margin-bottom: 45px;
    }

    .bfx-privacy-sidebar-inner {
        position: static;
    }

    .bfx-privacy-sidebar nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .bfx-privacy-sidebar nav a {
        border-right: 1px solid var(--privacy-border);
    }

}

@media (max-width: 600px) {

    .bfx-privacy-hero-inner {
        padding-top: 65px;
        padding-bottom: 60px;
    }

    .bfx-privacy-hero h1 {
        font-size: 43px;
    }

    .bfx-privacy-hero-inner > p {
        font-size: 14px;
    }

    .bfx-privacy-meta {
        flex-direction: column;
        gap: 0;
        margin-top: 32px;
    }

    .bfx-privacy-meta > div,
    .bfx-privacy-meta > div:first-child {
        border: 0;
        border-top: 1px solid rgba(255,255,255,.12);
        padding: 12px 0;
    }

    .bfx-privacy-meta > div:last-child {
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .bfx-privacy-document {
        padding: 55px 0 75px;
    }

    .bfx-privacy-sidebar nav {
        grid-template-columns: 1fr;
    }

    .bfx-privacy-sidebar nav a {
        border-right: 0;
    }

    .bfx-privacy-notice {
        padding: 15px;
        margin-bottom: 40px;
    }

    .bfx-privacy-section {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    .bfx-privacy-section-number {
        width: 32px;
        height: 32px;
    }

    .bfx-privacy-section h2 {
        font-size: 23px;
    }

    .bfx-privacy-section p,
    .bfx-privacy-section li {
        font-size: 12px;
    }

    .bfx-privacy-document-footer {
        flex-direction: column;
        gap: 18px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .bfx-privacy-sidebar nav a,
    .bfx-privacy-contact-button {
        transition: none;
    }

}


/* =========================================================
   BITFLEX — RISK DISCLOSURE
   Page-specific styles only.
   Does not modify the global bf-* header/footer shell.
========================================================= */

.bfx-risk-page {
    --risk-navy: #071a35;
    --risk-navy-2: #0b2548;
    --risk-blue: #1264d8;
    --risk-blue-2: #0c56bd;
    --risk-cyan: #18a9d8;
    --risk-text: #17253a;
    --risk-muted: #637287;
    --risk-border: #e4eaf1;
    --risk-soft: #f5f8fc;
    --risk-white: #ffffff;

    background: #ffffff;
    color: var(--risk-text);
}


/* ---------------------------------------------------------
   CONTAINER
--------------------------------------------------------- */

.bfx-risk-page .bfx-risk-container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}


/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.bfx-risk-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(24, 169, 216, .13),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f5f9fe 0%,
            #ffffff 58%,
            #f5f9fd 100%
        );

    border-bottom: 1px solid var(--risk-border);
}

.bfx-risk-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -190px;
    top: -230px;
    border: 1px solid rgba(18, 100, 216, .09);
    border-radius: 50%;
}

.bfx-risk-hero::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -300px;
    top: -330px;
    border: 1px solid rgba(18, 100, 216, .05);
    border-radius: 50%;
}

.bfx-risk-hero-grid {
    position: relative;
    z-index: 1;

    min-height: 520px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(360px, .85fr);

    align-items: center;
    gap: 80px;

    padding: 92px 0;
}

.bfx-risk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 22px;

    color: var(--risk-blue);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bfx-risk-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--risk-blue);
}

.bfx-risk-hero-copy h1 {
    max-width: 760px;

    margin: 0;

    color: var(--risk-navy);

    font-family: "Manrope", "Inter", sans-serif;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.055em;
}

.bfx-risk-lead {
    max-width: 720px;

    margin: 28px 0 0;

    color: #596a80;

    font-size: 18px;
    line-height: 1.8;
}

.bfx-risk-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;

    margin-top: 42px;

    border-top: 1px solid var(--risk-border);
}

.bfx-risk-meta > div {
    min-width: 150px;

    padding: 19px 32px 0 0;
}

.bfx-risk-meta > div + div {
    padding-left: 32px;
    border-left: 1px solid var(--risk-border);
}

.bfx-risk-meta span {
    display: block;

    margin-bottom: 7px;

    color: #8390a2;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bfx-risk-meta strong {
    display: block;

    color: var(--risk-navy);

    font-size: 13px;
    font-weight: 700;
}


/* ---------------------------------------------------------
   HERO PANEL
--------------------------------------------------------- */

.bfx-risk-hero-panel {
    position: relative;

    padding: 44px;

    background:
        linear-gradient(
            145deg,
            #0a2141,
            #071a35
        );

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;

    box-shadow:
        0 28px 70px rgba(7, 26, 53, .18);

    color: white;
}

.bfx-risk-hero-panel::after {
    content: "";

    position: absolute;
    width: 180px;
    height: 180px;

    right: -80px;
    bottom: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(24,169,216,.30),
            transparent 68%
        );
}

.bfx-risk-panel-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin-bottom: 34px;

    color: #6ed4f0;

    background: rgba(24,169,216,.10);

    border: 1px solid rgba(110,212,240,.20);
    border-radius: 15px;
}

.bfx-risk-panel-icon svg {
    width: 32px;
    height: 32px;
}

.bfx-risk-panel-label {
    display: block;

    margin-bottom: 13px;

    color: #73d4ef;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bfx-risk-hero-panel h2 {
    position: relative;
    z-index: 1;

    margin: 0;

    font-family: "Manrope", "Inter", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.bfx-risk-hero-panel p {
    position: relative;
    z-index: 1;

    margin: 20px 0 0;

    color: rgba(255,255,255,.68);

    font-size: 14px;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   DOCUMENT AREA
--------------------------------------------------------- */

.bfx-risk-document {
    padding: 90px 0 120px;
}

.bfx-risk-layout {
    display: grid;

    grid-template-columns: 230px minmax(0, 1fr);

    gap: 85px;

    align-items: start;
}


/* ---------------------------------------------------------
   SIDEBAR
--------------------------------------------------------- */

.bfx-risk-sidebar {
    position: sticky;
    top: 105px;
}

.bfx-risk-sidebar-inner {
    padding: 7px 0 7px 20px;

    border-left: 1px solid var(--risk-border);
}

.bfx-risk-sidebar-title {
    display: block;

    margin-bottom: 18px;

    color: #8a97a8;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bfx-risk-sidebar nav {
    display: flex;
    flex-direction: column;
}

.bfx-risk-sidebar nav a {
    position: relative;

    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 8px;

    padding: 9px 0;

    color: #788699;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}

.bfx-risk-sidebar nav a span {
    color: #aeb9c7;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
}

.bfx-risk-sidebar nav a:hover {
    color: var(--risk-blue);
    transform: translateX(2px);
}

.bfx-risk-sidebar nav a.is-active {
    color: var(--risk-navy);
    font-weight: 800;
}

.bfx-risk-sidebar nav a.is-active::before {
    content: "";

    position: absolute;

    left: -21px;
    top: 8px;

    width: 2px;
    height: calc(100% - 16px);

    background: var(--risk-blue);
    border-radius: 2px;
}

.bfx-risk-sidebar nav a.is-active span {
    color: var(--risk-blue);
}


/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.bfx-risk-content {
    max-width: 820px;
}

.bfx-risk-section {
    scroll-margin-top: 110px;

    padding-bottom: 64px;
    margin-bottom: 64px;

    border-bottom: 1px solid var(--risk-border);
}

.bfx-risk-section-number {
    display: block;

    margin-bottom: 13px;

    color: var(--risk-blue);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
}

.bfx-risk-section h2 {
    margin: 0 0 20px;

    color: var(--risk-navy);

    font-family: "Manrope", "Inter", sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.bfx-risk-section p {
    margin: 0 0 18px;

    color: #5f6e81;

    font-size: 15px;
    line-height: 1.85;
}

.bfx-risk-section p:last-child {
    margin-bottom: 0;
}

.bfx-risk-section ul {
    margin: 22px 0 0;
    padding: 0;

    list-style: none;
}

.bfx-risk-section li {
    position: relative;

    margin: 0;
    padding: 0 0 13px 25px;

    color: #5f6e81;

    font-size: 14px;
    line-height: 1.75;
}

.bfx-risk-section li::before {
    content: "";

    position: absolute;

    left: 2px;
    top: .72em;

    width: 6px;
    height: 6px;

    background: var(--risk-blue);

    border-radius: 50%;
}


/* ---------------------------------------------------------
   ALERT
--------------------------------------------------------- */

.bfx-risk-alert {
    display: grid;

    grid-template-columns: 38px 1fr;

    gap: 16px;

    margin-top: 30px;
    padding: 23px;

    background: #f5f8fc;

    border: 1px solid #dce6f2;
    border-left: 3px solid var(--risk-blue);
    border-radius: 12px;
}

.bfx-risk-alert-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    color: var(--risk-blue);

    background: #e8f2ff;

    border-radius: 50%;

    font-weight: 800;
}

.bfx-risk-alert strong {
    display: block;

    margin-bottom: 5px;

    color: var(--risk-navy);

    font-size: 14px;
}

.bfx-risk-alert p {
    margin: 0;

    font-size: 13px;
}


/* ---------------------------------------------------------
   STATEMENTS
--------------------------------------------------------- */

.bfx-risk-statements {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    margin-top: 30px;

    border-top: 1px solid var(--risk-border);
    border-bottom: 1px solid var(--risk-border);
}

.bfx-risk-statements > div {
    padding: 22px 20px;
}

.bfx-risk-statements > div + div {
    border-left: 1px solid var(--risk-border);
}

.bfx-risk-statements span {
    display: block;

    margin-bottom: 7px;

    color: #8793a4;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.bfx-risk-statements strong {
    display: block;

    color: var(--risk-navy);

    font-size: 13px;
    font-weight: 700;
}


/* ---------------------------------------------------------
   RISK CARDS
--------------------------------------------------------- */

.bfx-risk-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;

    margin-top: 30px;
}

.bfx-risk-card {
    padding: 25px;

    background: #ffffff;

    border: 1px solid var(--risk-border);
    border-radius: 13px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.bfx-risk-card:hover {
    transform: translateY(-2px);

    border-color: #cbd9e9;

    box-shadow: 0 14px 35px rgba(7, 26, 53, .07);
}

.bfx-risk-card > span {
    display: block;

    margin-bottom: 18px;

    color: #9aa7b8;

    font-size: 10px;
    font-weight: 800;
}

.bfx-risk-card h3 {
    margin: 0 0 8px;

    color: var(--risk-navy);

    font-size: 15px;
    font-weight: 800;
}

.bfx-risk-card p {
    margin: 0;

    font-size: 13px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   SECURITY
--------------------------------------------------------- */

.bfx-risk-security {
    margin-top: 30px;

    padding: 30px;

    background: #f6f9fc;

    border: 1px solid var(--risk-border);
    border-radius: 16px;
}

.bfx-risk-security-heading {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 22px;
}

.bfx-risk-security-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    color: var(--risk-blue);

    background: #eaf3ff;

    border-radius: 12px;
}

.bfx-risk-security-icon svg {
    width: 25px;
    height: 25px;
}

.bfx-risk-security-heading > div > span {
    display: block;

    margin-bottom: 3px;

    color: #8a97a7;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bfx-risk-security-heading strong {
    display: block;

    color: var(--risk-navy);

    font-size: 15px;
}

.bfx-risk-security ul {
    margin-top: 0;
}


/* ---------------------------------------------------------
   CALLOUT
--------------------------------------------------------- */

.bfx-risk-callout {
    margin-top: 30px;
    padding: 25px 27px;

    background: linear-gradient(
        135deg,
        #f2f7fd,
        #f8fbfe
    );

    border: 1px solid #dce7f3;
    border-radius: 14px;
}

.bfx-risk-callout strong {
    display: block;

    margin-bottom: 8px;

    color: var(--risk-navy);

    font-size: 15px;
}

.bfx-risk-callout p {
    margin: 0;

    font-size: 13px;
}


/* ---------------------------------------------------------
   CONTACT
--------------------------------------------------------- */

.bfx-risk-contact-section {
    border-bottom: 0;
    margin-bottom: 30px;
}

.bfx-risk-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    margin-top: 10px;
    padding: 13px 19px;

    color: #ffffff;

    background: var(--risk-navy);

    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.bfx-risk-contact-button:hover {
    color: #ffffff;

    background: var(--risk-blue);

    transform: translateY(-1px);

    box-shadow: 0 9px 25px rgba(18,100,216,.18);
}

.bfx-risk-contact-button span {
    font-size: 16px;
}


/* ---------------------------------------------------------
   FINAL NOTICE
--------------------------------------------------------- */

.bfx-risk-final-notice {
    display: grid;

    grid-template-columns: 42px 1fr;

    gap: 16px;

    padding: 25px;

    background: var(--risk-navy);

    border-radius: 15px;

    color: white;
}

.bfx-risk-final-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    color: #74d5ef;

    background: rgba(116,213,239,.10);

    border: 1px solid rgba(116,213,239,.17);

    border-radius: 11px;
}

.bfx-risk-final-icon svg {
    width: 23px;
    height: 23px;
}

.bfx-risk-final-notice strong {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;
}

.bfx-risk-final-notice p {
    margin: 0;

    color: rgba(255,255,255,.68);

    font-size: 13px;
    line-height: 1.75;
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1050px) {

    .bfx-risk-hero-grid {
        grid-template-columns: 1fr;

        gap: 45px;

        padding: 75px 0;
    }

    .bfx-risk-hero-panel {
        max-width: 650px;
    }

    .bfx-risk-layout {
        grid-template-columns: 190px minmax(0, 1fr);

        gap: 55px;
    }
}


@media (max-width: 800px) {

    .bfx-risk-page .bfx-risk-container {
        width: min(100% - 34px, 720px);
    }

    .bfx-risk-hero-grid {
        min-height: auto;

        padding: 65px 0;
    }

    .bfx-risk-hero-copy h1 {
        font-size: clamp(44px, 12vw, 62px);
    }

    .bfx-risk-lead {
        font-size: 16px;
    }

    .bfx-risk-layout {
        display: block;
    }

    .bfx-risk-sidebar {
        position: static;

        margin-bottom: 55px;
    }

    .bfx-risk-sidebar-inner {
        padding: 20px;

        background: #f7f9fc;

        border: 1px solid var(--risk-border);
        border-radius: 12px;
    }

    .bfx-risk-sidebar nav {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        column-gap: 20px;
    }

    .bfx-risk-sidebar nav a.is-active::before {
        display: none;
    }

    .bfx-risk-document {
        padding-top: 65px;
    }
}


@media (max-width: 620px) {

    .bfx-risk-page .bfx-risk-container {
        width: min(100% - 28px, 560px);
    }

    .bfx-risk-hero-grid {
        padding: 55px 0;
    }

    .bfx-risk-hero-panel {
        padding: 30px;
        border-radius: 18px;
    }

    .bfx-risk-hero-panel h2 {
        font-size: 24px;
    }

    .bfx-risk-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .bfx-risk-meta > div {
        min-width: 0;
    }

    .bfx-risk-meta > div + div {
        padding-left: 0;
        border-left: 0;
    }

    .bfx-risk-meta > div:nth-child(3) {
        padding-top: 18px;
    }

    .bfx-risk-statements {
        grid-template-columns: 1fr;
    }

    .bfx-risk-statements > div {
        padding: 17px 0;
    }

    .bfx-risk-statements > div + div {
        border-left: 0;
        border-top: 1px solid var(--risk-border);
    }

    .bfx-risk-grid {
        grid-template-columns: 1fr;
    }

    .bfx-risk-sidebar nav {
        grid-template-columns: 1fr;
    }

    .bfx-risk-section {
        padding-bottom: 48px;
        margin-bottom: 48px;
    }

    .bfx-risk-section h2 {
        font-size: 26px;
    }

    .bfx-risk-security {
        padding: 23px;
    }
}


@media (max-width: 420px) {

    .bfx-risk-hero-copy h1 {
        font-size: 42px;
    }

    .bfx-risk-meta {
        grid-template-columns: 1fr;
    }

    .bfx-risk-meta > div {
        padding-right: 0;
    }

    .bfx-risk-meta > div + div {
        padding-top: 16px;
    }

    .bfx-risk-meta > div:nth-child(3) {
        padding-top: 16px;
    }

    .bfx-risk-alert,
    .bfx-risk-final-notice {
        grid-template-columns: 1fr;
    }

    .bfx-risk-document {
        padding-bottom: 75px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .bfx-risk-page *,
    .bfx-risk-page *::before,
    .bfx-risk-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}


/* =========================================================
   BITFLEX — CLIENT DASHBOARD
   Page-specific styles.
   Existing .bf-* header/footer styles remain untouched.
========================================================= */

