/*
Theme Name: BitforgeX
Theme URI:
Author: Bitforge Lab
Author URI:
Description: A dark forge-themed crypto trading terminal with N1 sticky header, H4 dashboard hero, solid C2 cards, Space Grotesk + Karla type system and molten orange accents.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bitforgex
Tags: dark, finance, orange, one-column, custom-logo
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Karla:wght@400;500;700&display=swap');

/* === TOKENS === */
:root{
	--bfx-bg:#0c0e12;
	--bfx-bg-2:#101318;
	--bfx-panel:#151820;
	--bfx-panel-2:#1a1e28;
	--bfx-line:rgba(252,82,0,.18);
	--bfx-line-soft:rgba(200,200,210,.10);
	--bfx-acc1:#fc5200;
	--bfx-acc1-hi:#ff7a3d;
	--bfx-acc2:#30922d;
	--bfx-text:#f0f2f5;
	--bfx-muted:#9a9daa;
	--bfx-up:#3ddc84;
	--bfx-down:#ff5c5c;
	--bfx-acc-grad:linear-gradient(120deg,#fc5200,#ff7a3d);
	--bfx-green-grad:linear-gradient(120deg,#30922d,#4cc94a);
	--bfx-sparkline:linear-gradient(90deg,rgba(252,82,0,0),rgba(252,82,0,.5) 30%,rgba(48,146,45,.5) 70%,rgba(48,146,45,0));
	--bfx-font-display:'Space Grotesk','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC',sans-serif;
	--bfx-font-body:'Karla','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC',sans-serif;
	--bfx-radius:14px;
	--bfx-radius-sm:9px;
	--bfx-glow:rgba(252,82,0,.22);
	--bfx-shadow:0 16px 40px rgba(4,5,8,.55);
	--bfx-header-h:64px;
}

/* === RESET & BASE === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body.bfx-body{font-family:var(--bfx-font-body);background:var(--bfx-bg);color:var(--bfx-text);line-height:1.65;min-height:100vh;overflow-x:hidden;-webkit-font-smoothing:antialiased}
body.bfx-body::before{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;background-image:radial-gradient(circle at 80% -5%,rgba(252,82,0,.07),transparent 50%),radial-gradient(circle at 15% 105%,rgba(48,146,45,.05),transparent 50%)}
img{max-width:100%;height:auto;display:block}
a{color:var(--bfx-acc1-hi);text-decoration:none;transition:color .2s}
a:hover{color:var(--bfx-acc1)}
ul,ol{list-style:none}
button{cursor:pointer;border:none;background:none;font:inherit;color:inherit}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* === LAYOUT === */
.bfx-container{width:100%;max-width:1180px;margin:0 auto;padding:0 30px}
.bfx-main{padding:0;position:relative;z-index:1}
.bfx-content{padding:54px 0 82px;position:relative;z-index:1}

/* === SKIP LINK === */
.bfx-jump{position:absolute;top:-100%;left:16px;z-index:9999;padding:8px 16px;background:var(--bfx-acc1);color:#0c0e12;border-radius:6px;font-size:14px;font-weight:600}
.bfx-jump:focus{top:8px}

/* === KEYFRAMES === */
@keyframes bfx-pulse{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes bfx-beam{0%{transform:translateY(-110%)}100%{transform:translateY(230%)}}
@keyframes bfx-rowflash{0%{background:rgba(252,82,0,.14)}100%{background:transparent}}
@keyframes bfx-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}

/* === UTILITY === */
.bfx-acc-text{background:var(--bfx-acc-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.bfx-up{color:var(--bfx-up)}
.bfx-down{color:var(--bfx-down)}
.bfx-status__dot{width:7px;height:7px;border-radius:50%;background:var(--bfx-up);box-shadow:0 0 10px var(--bfx-up);animation:bfx-pulse 2s ease-in-out infinite;flex-shrink:0;display:inline-block}

/* === REVEAL === */
.bfx-rise{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease}
.bfx-rise--in{opacity:1;transform:translateY(0)}

/* === ICON === */
.bfx-ico{display:inline-block;vertical-align:middle;flex-shrink:0}

/* === N1 STICKY HEADER === */
.bfx-header{position:sticky;top:0;z-index:1200;background:rgba(12,14,18,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--bfx-line-soft);transition:box-shadow .3s,border-color .3s}
.bfx-header--stuck{box-shadow:0 4px 24px rgba(0,0,0,.4);border-color:var(--bfx-line)}
.bfx-header__inner{display:flex;align-items:center;gap:16px;padding:0 30px;height:var(--bfx-header-h);max-width:1280px;margin:0 auto}
.bfx-brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0;flex-shrink:1}
.bfx-brand__glyph{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;background:var(--bfx-acc-grad);color:#0c0e12;font-family:var(--bfx-font-display);font-weight:700;font-size:15px;border-radius:10px;box-shadow:0 4px 14px var(--bfx-glow)}
.bfx-brand__glyph img{width:26px;height:26px;object-fit:contain}
.bfx-brand__text{color:var(--bfx-text);font-family:var(--bfx-font-display);font-size:20px;font-weight:700;letter-spacing:-.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bfx-brand--foot{margin-bottom:14px}

/* Desktop nav */
.bfx-nav{flex:1;min-width:0;display:flex;justify-content:center}
.bfx-nav__list{display:flex;align-items:center;gap:4px}
.bfx-nav__list li a,.bfx-nav__item a{display:block;padding:9px 14px;font-size:14.5px;font-weight:500;color:var(--bfx-text);opacity:.82;border-radius:var(--bfx-radius-sm);transition:opacity .2s,color .2s,background .2s;white-space:nowrap}
.bfx-nav__list li a:hover,.bfx-nav__item a:hover{opacity:1;color:var(--bfx-acc1-hi);background:rgba(252,82,0,.08)}
.bfx-nav__list--fallback{display:flex;align-items:center;gap:4px}

/* Header actions */
.bfx-header__actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.bfx-searchlink{color:var(--bfx-text);opacity:.7;transition:opacity .2s,color .2s;display:flex;padding:7px;border-radius:var(--bfx-radius-sm);border:1px solid var(--bfx-line-soft)}
.bfx-searchlink:hover{opacity:1;color:var(--bfx-acc1-hi);border-color:var(--bfx-acc1)}
.bfx-searchlink .bfx-ico{width:18px;height:18px}

/* Burger (hidden desktop) */
.bfx-burger{display:none;flex-direction:column;gap:5px;padding:7px;flex:0 0 auto}
.bfx-burger__line{display:block;width:22px;height:2px;background:var(--bfx-text);border-radius:2px;transition:transform .3s,opacity .3s}
.bfx-burger--on .bfx-burger__line:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.bfx-burger--on .bfx-burger__line:nth-child(2){opacity:0}
.bfx-burger--on .bfx-burger__line:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* Drawer */
.bfx-drawer{position:fixed;top:var(--bfx-header-h);left:0;right:0;bottom:0;z-index:1100;background:var(--bfx-panel);transform:translateX(-100%);transition:transform .32s ease;overflow-y:auto;display:none}
.bfx-drawer--open{transform:translateX(0)}
.bfx-drawer__inner{padding:28px 24px;display:flex;flex-direction:column;gap:24px}
.bfx-drawer__nav{width:100%;min-width:0}
.bfx-drawer__list{display:flex;flex-direction:column;gap:4px}
.bfx-drawer__list li a{display:block;padding:13px 16px;font-size:15px;font-weight:500;color:var(--bfx-text);border-radius:var(--bfx-radius-sm);border-left:2px solid transparent;transition:background .2s,border-color .2s,color .2s}
.bfx-drawer__list li a:hover{background:rgba(252,82,0,.08);border-left-color:var(--bfx-acc1);color:var(--bfx-acc1-hi)}
.bfx-drawer__cta{display:flex;flex-direction:column;gap:10px;margin-top:auto;padding-top:20px;border-top:1px solid var(--bfx-line-soft)}
.bfx-drawer .bfx-nav__list--fallback{flex-direction:column;align-items:stretch;gap:4px;width:100%}
.bfx-drawer .bfx-nav__list--fallback .bfx-nav__item a{display:block;padding:13px 16px;font-size:15px;font-weight:500;color:var(--bfx-text);border-radius:var(--bfx-radius-sm);border-left:2px solid transparent;transition:background .2s,border-color .2s,color .2s}
.bfx-drawer .bfx-nav__list--fallback .bfx-nav__item a:hover{background:rgba(252,82,0,.08);border-left-color:var(--bfx-acc1);color:var(--bfx-acc1-hi)}
.bfx-scrim{position:fixed;inset:0;z-index:1050;background:rgba(4,5,8,.6);opacity:0;pointer-events:none;transition:opacity .3s}
.bfx-scrim--on{opacity:1;pointer-events:auto}

/* === BUTTONS === */
.bfx-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 22px;border-radius:999px;font-family:var(--bfx-font-body);font-size:14.5px;font-weight:500;letter-spacing:.2px;text-decoration:none;transition:transform .18s,box-shadow .18s,background .18s,border-color .18s,color .18s;white-space:nowrap;border:1px solid transparent}
.bfx-btn:hover{transform:translateY(-2px)}
.bfx-btn--cta,.bfx-btn--acc{background:var(--bfx-acc-grad);color:#0c0e12;box-shadow:0 6px 18px var(--bfx-glow);font-weight:700}
.bfx-btn--cta:hover,.bfx-btn--acc:hover{box-shadow:0 10px 26px rgba(252,82,0,.4);color:#0c0e12}
.bfx-btn--ghost{border-color:var(--bfx-line);color:var(--bfx-text);background:rgba(21,24,32,.6)}
.bfx-btn--ghost:hover{border-color:var(--bfx-acc1);color:var(--bfx-acc1-hi)}
.bfx-btn--line{border:1px solid var(--bfx-line-soft);color:var(--bfx-text);background:transparent}
.bfx-btn--line:hover{border-color:var(--bfx-acc2);color:var(--bfx-acc2)}
.bfx-btn--sm{padding:8px 17px;font-size:13.5px}
.bfx-btn--lg{padding:15px 32px;font-size:15.5px}
.bfx-btn--wide{width:100%}
.bfx-btn .bfx-ico{width:17px;height:17px}

/* === HERO H4 TERMINAL DASHBOARD === */
.bfx-hero{position:relative;overflow:hidden;padding:72px 0 80px;border-bottom:1px solid var(--bfx-line)}
.bfx-hero__glow{position:absolute;width:700px;height:700px;border-radius:50%;filter:blur(140px);opacity:.14;z-index:0;pointer-events:none;background:var(--bfx-acc1);top:-280px;right:-160px}
.bfx-hero .bfx-container{position:relative;z-index:2}
.bfx-hero__grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.bfx-hero__text{min-width:0}
.bfx-hero__badge{display:inline-flex;align-items:center;gap:9px;font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:var(--bfx-acc1-hi);border:1px solid var(--bfx-line);background:rgba(21,24,32,.6);padding:6px 14px;border-radius:999px;margin-bottom:22px;font-weight:700}
.bfx-hero__title{font-family:var(--bfx-font-display);font-size:clamp(40px,4.8vw,48px);font-weight:700;line-height:1.12;letter-spacing:-.5px;margin-bottom:20px}
.bfx-hero__desc{font-size:15.5px;color:var(--bfx-muted);line-height:1.78;max-width:520px;margin-bottom:30px}
.bfx-hero__actions{display:flex;gap:14px;flex-wrap:wrap}

/* Terminal widget */
.bfx-hero__terminal{background:var(--bfx-panel);border:1px solid var(--bfx-line);border-radius:var(--bfx-radius);overflow:hidden;box-shadow:var(--bfx-shadow)}
.bfx-term__bar{display:flex;align-items:center;gap:12px;padding:12px 18px;background:var(--bfx-panel-2);border-bottom:1px solid var(--bfx-line-soft)}
.bfx-term__dots{display:flex;gap:6px}
.bfx-term__dots i{width:10px;height:10px;border-radius:50%}
.bfx-term__dots i:nth-child(1){background:#ff5c5c}
.bfx-term__dots i:nth-child(2){background:#fbbf24}
.bfx-term__dots i:nth-child(3){background:#3ddc84}
.bfx-term__title{font-size:12.5px;color:var(--bfx-muted);font-family:var(--bfx-font-display)}
.bfx-term__body{padding:18px}
.bfx-term__row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--bfx-line-soft);font-size:14px;transition:background .3s}
.bfx-term__row:last-of-type{border-bottom:none}
.bfx-term__row--flash{animation:bfx-rowflash .8s ease}
.bfx-term__label{width:90px;font-weight:600;color:var(--bfx-text)}
.bfx-term__val{flex:1;font-family:var(--bfx-font-display);font-weight:500}
.bfx-term__chg{font-size:13px;font-weight:700}
.bfx-term__spark{margin-top:14px;color:var(--bfx-acc1)}
.bfx-term__spark svg{width:100%;height:40px}

/* === BAND / SECTION === */
.bfx-band{padding:86px 0;position:relative}
.bfx-band--alt{background:var(--bfx-bg-2)}
.bfx-band__eyebrow{font-size:12px;letter-spacing:2.2px;text-transform:uppercase;color:var(--bfx-acc1-hi);margin-bottom:12px;font-weight:700}
.bfx-band__title{font-family:var(--bfx-font-display);font-size:clamp(28px,3.2vw,32px);font-weight:700;letter-spacing:-.3px;margin-bottom:14px}
.bfx-band__intro{font-size:15.5px;color:var(--bfx-muted);max-width:620px;line-height:1.72}
.bfx-band__head{margin-bottom:44px}
.bfx-band__head--center{text-align:center}
.bfx-band__head--center .bfx-band__intro{margin:0 auto}

/* === DATA / FIGURES === */
.bfx-data{padding:70px 0;background:linear-gradient(120deg,rgba(252,82,0,.06),rgba(48,146,45,.04));border-bottom:1px solid var(--bfx-line)}
.bfx-data__head{text-align:center;margin-bottom:40px}
.bfx-data__row{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.bfx-figure{text-align:center;padding:8px 12px;position:relative}
.bfx-figure::after{content:'';position:absolute;top:12%;right:0;height:76%;width:1px;background:var(--bfx-line-soft)}
.bfx-figure:last-child::after{display:none}
.bfx-figure__num{display:block;font-family:var(--bfx-font-display);font-size:clamp(30px,3.4vw,34px);font-weight:700;letter-spacing:-1px;margin-bottom:6px}
.bfx-figure__cap{font-size:13px;color:var(--bfx-muted);letter-spacing:.4px}

/* === MARKET BOARD === */
.bfx-board{border:1px solid var(--bfx-line);background:var(--bfx-panel);overflow:hidden;border-radius:var(--bfx-radius);box-shadow:var(--bfx-shadow)}
.bfx-board__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.bfx-quote{width:100%;border-collapse:collapse}
.bfx-quote th{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--bfx-muted);text-align:left;padding:13px 20px;border-bottom:1px solid var(--bfx-line);font-weight:700}
.bfx-quote td{padding:14px 20px;border-bottom:1px solid var(--bfx-line-soft);font-size:14.5px;vertical-align:middle}
.bfx-quote tr:last-child td{border-bottom:none}
.bfx-quote tbody tr{transition:background .2s}
.bfx-quote tbody tr:hover{background:rgba(252,82,0,.05)}
.bfx-quote__sym{display:flex;align-items:center;gap:11px;font-weight:600;color:var(--bfx-text)}
.bfx-quote__badge{width:36px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;background:rgba(252,82,0,.12);color:var(--bfx-acc1-hi);border:1px solid var(--bfx-line);border-radius:10px}
.bfx-quote__pair{display:block;font-size:12px;color:var(--bfx-muted);font-weight:400}
.bfx-quote__num{font-weight:600;color:var(--bfx-text)}
.bfx-quote__chg{font-weight:700}
.bfx-quote__act .bfx-btn{padding:7px 16px;font-size:13px}
.bfx-quote td.bfx-quote__act{text-align:right}
.bfx-board__foot{text-align:center;margin-top:30px}

/* === FEATURES === */
.bfx-feat__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.bfx-feat__card{padding:30px 26px;background:var(--bfx-panel);border:1px solid var(--bfx-line-soft);border-radius:var(--bfx-radius);position:relative;overflow:hidden;transition:transform .3s,box-shadow .3s,border-color .3s}
.bfx-feat__card:hover{transform:translateY(-6px);box-shadow:0 18px 42px rgba(4,5,8,.5);border-color:var(--bfx-line)}
.bfx-feat__icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;background:rgba(252,82,0,.10);color:var(--bfx-acc1-hi);border-radius:14px;margin-bottom:18px}
.bfx-feat__icon .bfx-ico{width:26px;height:26px}
.bfx-feat__title{font-family:var(--bfx-font-display);font-size:18px;font-weight:700;margin-bottom:10px;color:var(--bfx-text)}
.bfx-feat__desc{font-size:14px;color:var(--bfx-muted);line-height:1.72}

/* === FEED / POST CARD (C2 solid) === */
.bfx-feed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.bfx-feed__more{text-align:center;margin-top:40px}
.bfx-card{width:100%;min-width:0;background:var(--bfx-panel);border:1px solid var(--bfx-line-soft);border-radius:var(--bfx-radius);overflow:hidden;transition:transform .3s,box-shadow .3s,border-color .3s;display:flex;flex-direction:column}
.bfx-card:hover{transform:translateY(-5px);box-shadow:0 18px 44px rgba(4,5,8,.5);border-color:var(--bfx-line)}
.bfx-card__media{display:block;overflow:hidden;aspect-ratio:16/9}
.bfx-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.bfx-card:hover .bfx-card__media img{transform:scale(1.05)}
.bfx-card__body{padding:20px 22px;display:flex;flex-direction:column;flex:1}
.bfx-card__tag{display:inline-block;font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--bfx-acc1-hi);margin-bottom:10px;font-weight:700}
.bfx-card__title{font-family:var(--bfx-font-display);font-size:17px;font-weight:700;margin-bottom:10px;line-height:1.4}
.bfx-card__title a{color:var(--bfx-text)}
.bfx-card__title a:hover{color:var(--bfx-acc1-hi)}
.bfx-card__excerpt{font-size:14px;color:var(--bfx-muted);line-height:1.62;margin-bottom:16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:1}
.bfx-card__foot{display:flex;align-items:center;gap:11px;font-size:12.5px;color:var(--bfx-muted);padding-top:14px;border-top:1px solid var(--bfx-line-soft)}
.bfx-card__who{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;background:var(--bfx-acc-grad);color:#0c0e12;font-size:12px;font-weight:700;border-radius:8px}
.bfx-card__read{margin-left:auto}

/* === PLANS === */
.bfx-plans__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.bfx-plan{background:var(--bfx-panel);border:1px solid var(--bfx-line-soft);border-radius:var(--bfx-radius);padding:34px 28px;display:flex;flex-direction:column;position:relative;transition:transform .3s,box-shadow .3s,border-color .3s}
.bfx-plan:hover{transform:translateY(-5px);box-shadow:0 18px 44px rgba(4,5,8,.5);border-color:var(--bfx-line)}
.bfx-plan--hot{border-color:var(--bfx-acc1);box-shadow:0 16px 44px var(--bfx-glow)}
.bfx-plan__flag{position:absolute;top:16px;right:16px;background:var(--bfx-acc-grad);color:#0c0e12;font-size:12px;font-weight:700;letter-spacing:.4px;padding:4px 12px;border-radius:999px;white-space:nowrap}
.bfx-plan__tier{font-family:var(--bfx-font-display);font-size:16px;font-weight:500;color:var(--bfx-muted);margin-bottom:14px;letter-spacing:.3px}
.bfx-plan__price{font-family:var(--bfx-font-display);font-size:42px;font-weight:700;color:var(--bfx-text);letter-spacing:-1px;margin-bottom:4px}
.bfx-plan__scale{font-size:13px;color:var(--bfx-acc1-hi);margin-bottom:22px;font-weight:600}
.bfx-plan__list{margin-bottom:26px;flex:1}
.bfx-plan__list li{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--bfx-text);opacity:.9;margin-bottom:11px;line-height:1.5}
.bfx-plan__tick{color:var(--bfx-acc1-hi);display:flex;flex-shrink:0;margin-top:2px}
.bfx-plan__tick .bfx-ico{width:16px;height:16px}

/* === PRODUCTS === */
.bfx-prod__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.bfx-prod__card{background:var(--bfx-panel);border:1px solid var(--bfx-line-soft);border-radius:var(--bfx-radius);padding:30px 26px;transition:transform .3s,box-shadow .3s,border-color .3s}
.bfx-prod__card:hover{transform:translateY(-5px);box-shadow:0 18px 44px rgba(4,5,8,.5);border-color:var(--bfx-line)}
.bfx-prod__icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:rgba(48,146,45,.12);color:var(--bfx-acc2);border-radius:14px;margin-bottom:18px}
.bfx-prod__icon .bfx-ico{width:24px;height:24px}
.bfx-prod__tag{font-size:12px;letter-spacing:1.4px;text-transform:uppercase;color:var(--bfx-acc1-hi);margin-bottom:8px;display:block;font-weight:700}
.bfx-prod__name{font-family:var(--bfx-font-display);font-size:20px;font-weight:700;margin-bottom:10px;color:var(--bfx-text)}
.bfx-prod__desc{font-size:14px;color:var(--bfx-muted);line-height:1.72;margin-bottom:18px}
.bfx-prod__list{margin-bottom:22px}
.bfx-prod__list li{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--bfx-text);opacity:.9;margin-bottom:9px}
.bfx-prod__tick{color:var(--bfx-acc1-hi);display:flex;flex-shrink:0}
.bfx-prod__tick .bfx-ico{width:17px;height:17px}

/* === FAQ === */
.bfx-faq{max-width:780px;margin:0 auto;display:flex;flex-direction:column;gap:13px}
.bfx-faq__row{background:var(--bfx-panel);border:1px solid var(--bfx-line-soft);border-radius:var(--bfx-radius);overflow:hidden;transition:border-color .3s}
.bfx-faq__row--open{border-color:var(--bfx-line)}
.bfx-faq__q{display:flex;align-items:center;justify-content:space-between;width:100%;padding:19px 24px;font-family:var(--bfx-font-display);font-size:16px;font-weight:500;color:var(--bfx-text);text-align:left;gap:16px}
.bfx-faq__chev{display:flex;color:var(--bfx-acc1-hi);transition:transform .3s;flex-shrink:0}
.bfx-faq__row--open .bfx-faq__chev{transform:rotate(180deg)}
.bfx-faq__a{max-height:0;overflow:hidden;transition:max-height .4s ease}
.bfx-faq__a p{padding:0 24px 20px;font-size:14.5px;color:var(--bfx-muted);line-height:1.76}

/* === LAUNCH BAND === */
.bfx-launch{position:relative;overflow:hidden;padding:82px 0;text-align:center;background:linear-gradient(120deg,rgba(252,82,0,.10),rgba(48,146,45,.06));border-top:1px solid var(--bfx-line)}
.bfx-launch__beam{position:absolute;left:0;right:0;height:38%;background:linear-gradient(180deg,transparent,rgba(252,82,0,.06),transparent);animation:bfx-beam 7s linear infinite;pointer-events:none}
.bfx-launch__inner{position:relative;z-index:2}
.bfx-launch__title{font-family:var(--bfx-font-display);font-size:clamp(28px,3.4vw,32px);font-weight:700;letter-spacing:-.3px;margin-bottom:14px;color:var(--bfx-text)}
.bfx-launch__sub{font-size:15.5px;color:var(--bfx-muted);max-width:560px;margin:0 auto 34px;line-height:1.72}
.bfx-launch__btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* === PAGEHEAD (banner) === */
.bfx-pagehead{position:relative;padding:78px 0 54px;border-bottom:1px solid var(--bfx-line);overflow:hidden;background-size:cover;background-position:center;margin-top:var(--bfx-header-h)}
.bfx-pagehead::before{content:'';position:absolute;inset:0;background:linear-gradient(100deg,rgba(12,14,18,.92) 0%,rgba(12,14,18,.68) 52%,rgba(12,14,18,.38) 100%)}
.bfx-pagehead::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--bfx-sparkline);opacity:.7}
.bfx-pagehead .bfx-container{position:relative;z-index:2}
.bfx-pagehead__kicker{font-size:12px;letter-spacing:2.2px;text-transform:uppercase;color:var(--bfx-acc1-hi);margin-bottom:12px;font-weight:700}
.bfx-pagehead__title{font-family:var(--bfx-font-display);font-size:clamp(28px,3.4vw,32px);font-weight:700;letter-spacing:-.3px}
.bfx-pagehead__desc{font-size:15px;color:var(--bfx-muted);margin-top:12px;max-width:640px;line-height:1.72}
.bfx-pagehead__meta{display:flex;align-items:center;gap:16px;margin-top:16px;font-size:13px;color:var(--bfx-muted)}

/* === BREADCRUMB === */
.bfx-crumb-bar{padding:15px 0;border-bottom:1px solid var(--bfx-line-soft)}
.bfx-crumb{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:13px;color:var(--bfx-muted)}
.bfx-crumb a{color:var(--bfx-muted)}
.bfx-crumb a:hover{color:var(--bfx-acc1-hi)}
.bfx-crumb__sep{color:rgba(252,82,0,.5)}
.bfx-crumb__now{color:var(--bfx-text)}

/* === CONTENT SHEET === */
.bfx-sheet{padding:38px;background:var(--bfx-panel);border:1px solid var(--bfx-line-soft);border-radius:var(--bfx-radius)}

/* === SINGLE LAYOUT (S1 TOC RIGHT) === */
.bfx-doc__layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:34px;align-items:start}
.bfx-doc__body{min-width:0}
.bfx-rail{position:sticky;top:calc(var(--bfx-header-h) + 24px)}
.bfx-rail__toc{padding:22px;background:var(--bfx-panel);border:1px solid var(--bfx-line-soft);border-radius:var(--bfx-radius)}
.bfx-rail__head{font-size:12px;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:14px;color:var(--bfx-acc1-hi);font-weight:700}
.bfx-toc{display:block;position:relative}
.bfx-toc__list{display:flex;flex-direction:column;gap:9px}
.bfx-toc__link{font-size:13px;color:var(--bfx-muted);transition:color .2s,padding-left .2s;display:block;border-left:2px solid transparent;padding:2px 0 2px 10px}
.bfx-toc__link:hover,.bfx-toc__link.active{color:var(--bfx-acc1-hi);border-left-color:var(--bfx-acc1)}
.bfx-toc__item--h3 .bfx-toc__link{padding-left:22px;font-size:12.5px}

/* Prose */
.bfx-prose{font-size:16px;line-height:1.85;color:rgba(240,242,245,.86)}
.bfx-prose h2{font-family:var(--bfx-font-display);font-size:24px;font-weight:700;color:var(--bfx-text);margin:36px 0 16px;padding-bottom:10px;border-bottom:1px solid var(--bfx-line-soft)}
.bfx-prose h3{font-family:var(--bfx-font-display);font-size:19px;font-weight:700;color:var(--bfx-text);margin:28px 0 12px}
.bfx-prose p{margin-bottom:16px}
.bfx-prose ul,.bfx-prose ol{margin:0 0 16px 22px;list-style:disc}
.bfx-prose ol{list-style:decimal}
.bfx-prose li{margin-bottom:8px}
.bfx-prose blockquote{border-left:3px solid var(--bfx-acc1);padding:14px 20px;margin:22px 0;background:rgba(252,82,0,.06);border-radius:0 10px 10px 0;color:var(--bfx-text)}
.bfx-prose a{color:var(--bfx-acc1-hi);text-decoration:underline}
.bfx-prose img{border-radius:10px;margin:22px 0;border:1px solid var(--bfx-line-soft)}
.bfx-prose code{font-family:var(--bfx-font-display);background:var(--bfx-panel-2);padding:2px 7px;border-radius:5px;font-size:14px;color:var(--bfx-acc1-hi)}
.bfx-prose pre{background:var(--bfx-panel-2);padding:20px;border-radius:10px;overflow-x:auto;margin:22px 0;border:1px solid var(--bfx-line-soft)}
.bfx-prose pre code{background:none;padding:0}
.bfx-prose table{width:100%;border-collapse:collapse;margin:22px 0;font-size:14px}
.bfx-prose th,.bfx-prose td{border:1px solid var(--bfx-line-soft);padding:10px 12px;text-align:left}
.bfx-prose th{background:var(--bfx-panel-2)}

/* Single hero thumb */
.bfx-doc__hero{margin:-38px -38px 30px;overflow:hidden;border-radius:var(--bfx-radius) var(--bfx-radius) 0 0}
.bfx-doc__hero img{width:100%;height:auto}

/* Tags */
.bfx-doc__tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:34px;padding-top:24px;border-top:1px solid var(--bfx-line-soft)}
.bfx-chip{padding:5px 14px;border-radius:999px;font-size:12.5px;background:rgba(252,82,0,.10);color:var(--bfx-acc1-hi);border:1px solid var(--bfx-line);transition:background .2s}
.bfx-chip:hover{background:rgba(252,82,0,.2);color:var(--bfx-text)}

/* Post pager */
.bfx-doc__pager{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:32px;padding-top:24px;border-top:1px solid var(--bfx-line-soft)}
.bfx-doc__prev,.bfx-doc__next{padding:16px 18px;border-radius:var(--bfx-radius-sm);background:var(--bfx-panel-2);border:1px solid var(--bfx-line-soft);transition:border-color .2s}
.bfx-doc__prev:hover,.bfx-doc__next:hover{border-color:var(--bfx-line)}
.bfx-doc__next{text-align:right}
.bfx-doc__plabel{display:block;font-size:12px;text-transform:uppercase;letter-spacing:1px;color:var(--bfx-muted);margin-bottom:6px}
.bfx-doc__ptitle{font-size:14px;color:var(--bfx-text);font-weight:600}

/* Comments */
.bfx-doc__comments{margin-top:40px;padding-top:24px;border-top:1px solid var(--bfx-line-soft)}

/* === ARCHIVE LIST === */
.bfx-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.bfx-list__empty{text-align:center;padding:48px 0}
.bfx-list__empty p{color:var(--bfx-muted);margin-bottom:24px}

/* Pagination */
.bfx-pager{margin-top:40px;text-align:center}
.bfx-pager .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;border-radius:999px;font-size:14px;color:var(--bfx-text);margin:0 4px;border:1px solid var(--bfx-line-soft);transition:background .2s,border-color .2s,color .2s}
.bfx-pager .page-numbers:hover{border-color:var(--bfx-acc1);color:var(--bfx-acc1-hi)}
.bfx-pager .page-numbers.current{background:var(--bfx-acc-grad);color:#0c0e12;border-color:transparent;font-weight:700}

/* === SEARCH FORM === */
.bfx-find{display:flex;gap:12px;margin-bottom:30px}
.bfx-find__field{flex:1;min-width:0;padding:12px 18px;border-radius:999px;border:1px solid var(--bfx-line-soft);background:var(--bfx-panel-2);color:var(--bfx-text);font-size:14.5px;font-family:var(--bfx-font-body);outline:none;transition:border-color .2s}
.bfx-find__field:focus{border-color:var(--bfx-acc1)}
.bfx-find__field::placeholder{color:rgba(154,157,170,.7)}
.bfx-find__btn{white-space:nowrap;flex:0 0 auto}
.bfx-find__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* === 404 === */
.bfx-lost{text-align:center;padding:70px 40px}
.bfx-lost__icon{margin-bottom:20px;color:var(--bfx-acc1-hi)}
.bfx-lost__icon .bfx-ico{width:56px;height:56px}
.bfx-lost__code{font-size:13px;letter-spacing:3px;color:var(--bfx-muted);margin-bottom:10px}
.bfx-lost__title{font-family:var(--bfx-font-display);font-size:28px;font-weight:700;margin-bottom:12px;color:var(--bfx-text)}
.bfx-lost__text{font-size:15px;color:var(--bfx-muted);margin:0 auto 28px;max-width:440px;line-height:1.72}
.bfx-lost .bfx-find{max-width:440px;margin:28px auto 0}

/* === FOOTER (F4) === */
.bfx-footer{padding:66px 0 0;border-top:1px solid var(--bfx-line);background:var(--bfx-bg-2);position:relative;z-index:1}
.bfx-footer__brand{padding-bottom:38px;margin-bottom:38px;border-bottom:1px solid var(--bfx-line-soft)}
.bfx-footer__about{font-size:14px;color:var(--bfx-muted);max-width:600px;line-height:1.76;margin:16px 0 20px}
.bfx-footer__row{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.bfx-status{display:inline-flex;align-items:center;gap:9px;font-size:12.5px;color:var(--bfx-muted)}
.bfx-footer__social{display:flex;gap:10px}
.bfx-footer__social a{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;border:1px solid var(--bfx-line-soft);color:var(--bfx-muted);transition:color .2s,border-color .2s}
.bfx-footer__social a:hover{color:var(--bfx-acc1-hi);border-color:var(--bfx-acc1)}
.bfx-footer__social .bfx-ico{width:18px;height:18px}
.bfx-footer__cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin-bottom:40px}
.bfx-footer__col{min-width:0}
.bfx-footer__head{font-family:var(--bfx-font-display);font-size:15px;font-weight:700;color:var(--bfx-text);margin-bottom:18px;letter-spacing:.3px}
.bfx-footer__list li{margin-bottom:11px}
.bfx-footer__list a{font-size:13.5px;color:var(--bfx-muted);transition:color .2s,padding-left .2s}
.bfx-footer__list a:hover{color:var(--bfx-acc1-hi);padding-left:4px}
.bfx-footer__note{font-size:12px;color:rgba(154,157,170,.72);padding:20px 0;border-top:1px solid var(--bfx-line-soft);line-height:1.7}
.bfx-footer__base{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 0;border-top:1px solid var(--bfx-line-soft);font-size:12.5px;color:var(--bfx-muted)}
.bfx-footer__top{display:inline-flex;align-items:center;gap:6px;color:var(--bfx-muted);transition:color .2s}
.bfx-footer__top:hover{color:var(--bfx-acc1-hi)}
.bfx-footer__top .bfx-ico{width:15px;height:15px;transform:rotate(180deg)}

/* === BODY LOCKED === */
.bfx-body--lock{overflow:hidden}

/* =========================================================
 * RESPONSIVE – @media at very end (no base rules after)
 * ========================================================= */
@media(max-width:1024px){
	.bfx-nav{display:none}
	.bfx-header__actions .bfx-btn{display:none}
	.bfx-burger{display:flex}
	.bfx-drawer{display:block}
	.bfx-container{padding:0 24px;max-width:100%}
	.bfx-hero__grid{grid-template-columns:1fr;gap:32px}
	.bfx-hero__title{font-size:clamp(32px,6vw,42px)}
	.bfx-feat__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.bfx-prod__grid{grid-template-columns:1fr}
	.bfx-plans__grid{grid-template-columns:1fr;max-width:480px;margin:0 auto}
	.bfx-feed{grid-template-columns:repeat(2,minmax(0,1fr))}
	.bfx-data__row{grid-template-columns:repeat(2,1fr);gap:28px}
	.bfx-figure:nth-child(2)::after{display:none}
	.bfx-doc__layout{grid-template-columns:1fr}
	.bfx-rail{position:static;order:-1;margin-bottom:24px}
	.bfx-list{grid-template-columns:repeat(2,minmax(0,1fr))}
	.bfx-footer__cols{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 22px}
}
@media(max-width:768px){
	.bfx-header__inner{padding:0 18px}
	.bfx-searchlink{display:none}
	.bfx-brand__text{font-size:18px}
	.bfx-hero{padding:48px 0 56px}
	.bfx-hero__title{font-size:clamp(30px,7vw,38px)}
	.bfx-hero__desc{font-size:15px;margin-bottom:26px}
	.bfx-band{padding:60px 0}
	.bfx-band__title{font-size:clamp(24px,6.4vw,28px)}
	.bfx-pagehead{padding:52px 0 34px}
	.bfx-pagehead__title{font-size:clamp(24px,6.6vw,28px)}
	.bfx-pagehead__desc{font-size:14px}
	.bfx-feat__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.bfx-feed{grid-template-columns:repeat(2,minmax(0,1fr))}
	.bfx-list{grid-template-columns:repeat(2,minmax(0,1fr))}
	.bfx-sheet{padding:24px}
	.bfx-doc__pager{grid-template-columns:1fr}
	.bfx-doc__hero{margin:-24px -24px 24px}
	.bfx-prose{font-size:15.5px}
	.bfx-prose h2{font-size:22px;margin:28px 0 14px}
	.bfx-prose h3{font-size:18px}
	.bfx-prose table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
	.bfx-find{flex-direction:column}
	.bfx-find__btn{width:100%}
	.bfx-board__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
	.bfx-quote{min-width:560px}
	.bfx-quote th,.bfx-quote td{padding:11px 14px;font-size:13.5px}
	.bfx-quote__depth,.bfx-quote th.bfx-quote__depth{display:none}
	.bfx-crumb{gap:7px;font-size:12.5px;line-height:1.6}
	.bfx-launch{padding:60px 0}
	.bfx-launch__title{font-size:clamp(24px,6.6vw,28px)}
	.bfx-faq__q{padding:17px 18px;font-size:15px}
	.bfx-faq__a p{padding:0 18px 18px}
	.bfx-btn{padding:10px 20px;font-size:14px}
	.bfx-plan__price{font-size:40px}
	.bfx-footer{padding:44px 0 0}
	.bfx-footer__brand{padding-bottom:26px;margin-bottom:26px}
	.bfx-footer__about{max-width:none;font-size:13.5px;line-height:1.6;margin:12px 0 16px}
	.bfx-footer__cols{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px;margin-bottom:30px}
	.bfx-footer__head{font-size:14px;margin-bottom:11px}
	.bfx-footer__list li{margin-bottom:8px;line-height:1.5}
	.bfx-footer__list a{font-size:13px;overflow-wrap:break-word}
	.bfx-footer__note{font-size:12px;padding:16px 0;line-height:1.6}
	.bfx-footer__base{padding:16px 0;font-size:12px}
	.bfx-hero__title,.bfx-pagehead__title,.bfx-band__title,.bfx-card__title,.bfx-launch__title{overflow-wrap:break-word}
}
@media(max-width:480px){
	.bfx-container{padding:0 16px}
	.bfx-header__inner{padding:0 14px;height:58px}
	.bfx-brand__text{font-size:17px}
	.bfx-brand__glyph{width:34px;height:34px;font-size:14px}
	.bfx-hero{padding:36px 0 48px}
	.bfx-hero__title{font-size:clamp(30px,8vw,34px)}
	.bfx-hero__badge{font-size:12px;margin-bottom:18px}
	.bfx-hero__desc{font-size:14.5px;margin-bottom:24px}
	.bfx-hero__actions{flex-direction:column;align-items:stretch;gap:12px}
	.bfx-hero__actions .bfx-btn{width:100%}
	.bfx-band{padding:52px 0}
	.bfx-band__head{margin-bottom:32px}
	.bfx-band__title{font-size:clamp(24px,7vw,26px)}
	.bfx-band__intro{font-size:15px}
	.bfx-feat__grid{grid-template-columns:1fr}
	.bfx-data{padding:50px 0}
	.bfx-data__row{grid-template-columns:repeat(2,1fr);gap:22px}
	.bfx-figure::after{display:none}
	.bfx-figure__num{font-size:30px}
	.bfx-pagehead{padding:44px 0 28px}
	.bfx-pagehead__title{font-size:clamp(24px,7vw,26px)}
	.bfx-pagehead__meta{flex-wrap:wrap;gap:10px 16px;font-size:12.5px}
	.bfx-feat__card{padding:24px 20px}
	.bfx-prod__card{padding:26px 20px}
	.bfx-plan{padding:28px 22px}
	.bfx-plan__price{font-size:38px}
	.bfx-card__body{padding:18px 20px}
	.bfx-card__title{font-size:16px}
	.bfx-feed{grid-template-columns:minmax(0,1fr)}
	.bfx-list{grid-template-columns:minmax(0,1fr)}
	.bfx-sheet{padding:20px}
	.bfx-doc__hero{margin:-20px -20px 22px}
	.bfx-doc__pager{gap:12px}
	.bfx-doc__prev,.bfx-doc__next{padding:14px}
	.bfx-prose{font-size:15px}
	.bfx-quote{min-width:420px}
	.bfx-quote__chg,.bfx-quote thead th:nth-child(3){display:none}
	.bfx-launch{padding:52px 0}
	.bfx-launch__btns{flex-direction:column;align-items:stretch}
	.bfx-launch__sub{font-size:15px;margin-bottom:26px}
	.bfx-footer{padding:38px 0 0}
	.bfx-footer__row{flex-direction:column;align-items:flex-start;gap:14px}
	.bfx-footer__cols{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 14px;margin-bottom:26px}
	.bfx-footer__head{font-size:13px;margin-bottom:9px}
	.bfx-footer__list li{margin-bottom:7px;line-height:1.45}
	.bfx-footer__list a{font-size:12.5px;overflow-wrap:break-word}
	.bfx-footer__note{font-size:12px;padding:14px 0;line-height:1.55;text-align:center}
	.bfx-footer__base{flex-direction:column;gap:10px;text-align:center;padding:14px 0;font-size:12px}
	.bfx-footer__base span{overflow-wrap:break-word}
	.bfx-lost{padding:52px 20px}
	.bfx-lost__title{font-size:24px}
}
