/*
Theme Name: BrightGauge
Theme URI:
Author: BrightGauge Desk
Author URI:
Description: A chart blue multi-coin fee data terminal for Chinese exchange fee comparisons. An N5 top bar plus secondary menu strip, an H4 terminal hero with an SVG fee chart, tabbed spot/contract/withdrawal tables with a taker-fee bar race, C2 solid post cards, a brand-lead F3 footer, a fullwidth S3 article column and an IBM Plex Sans / Inter type system.
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: brightgauge
Tags: light, finance, charts, one-column, custom-logo
*/

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* === TOKENS === */
:root{
	--bgh-bg:#ffffff;
	--bgh-bg-2:#f5f7fa;
	--bgh-panel:#f5f7fa;
	--bgh-panel-2:#eaeff6;
	--bgh-line:rgba(17,85,204,.26);
	--bgh-line-soft:#e3e8f0;
	--bgh-acc:#1155cc;
	--bgh-acc-hi:#0d3f96;
	--bgh-green:#408141;
	--bgh-text:#01050f;
	--bgh-muted:#5b6472;
	--bgh-up:#408141;
	--bgh-down:#1155cc;
	--bgh-acc-grad:linear-gradient(120deg,#1155cc,#3f7de0);
	--bgh-font-display:'IBM Plex Sans','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC',sans-serif;
	--bgh-font-body:'Inter','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC',sans-serif;
	--bgh-header-h:62px;
	--bgh-radius:12px;
	--bgh-radius-sm:8px;
	--bgh-glow:rgba(17,85,204,.18);
	--bgh-shadow:0 16px 38px rgba(1,5,15,.08);
}

/* === RESET & BASE === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body.bgh-body{font-family:var(--bgh-font-body);background:var(--bgh-bg);color:var(--bgh-text);line-height:1.68;min-height:100vh;overflow-x:hidden;-webkit-font-smoothing:antialiased}
body.bgh-body--lock{overflow:hidden}
body.bgh-body::before{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;
	background-image:radial-gradient(circle at 88% -8%,rgba(17,85,204,.06),transparent 50%),radial-gradient(circle at 4% 108%,rgba(64,129,65,.05),transparent 52%)}
img{max-width:100%;height:auto;display:block}
a{color:var(--bgh-acc);text-decoration:none;transition:color .2s}
a:hover{color:var(--bgh-acc-hi)}
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 === */
.bgh-container{width:100%;max-width:1160px;margin:0 auto;padding:0 28px;position:relative;z-index:1}
.bgh-main{position:relative;z-index:1;padding:0 0 84px}


/* === SKIP LINK === */
.bgh-jump{position:absolute;top:-100%;left:16px;z-index:9999;padding:8px 16px;background:var(--bgh-acc);color:#fff;border-radius:var(--bgh-radius-sm);font-size:14px;font-weight:700}
.bgh-jump:focus{top:8px}


/* === KEYFRAMES === */
@keyframes bgh-pulse{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes bgh-wave{0%{transform:translateX(-8%)}100%{transform:translateX(8%)}}
@keyframes bgh-rowflash{0%{background:rgba(17,85,204,.10)}100%{background:transparent}}
@keyframes bgh-draw{0%{stroke-dashoffset:900}100%{stroke-dashoffset:0}}
@keyframes bgh-grow{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}


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


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


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


/* === N5 TOP BAR + SECONDARY STRIP === */
.bgh-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--bgh-line-soft)}
.bgh-header__inner{display:flex;align-items:center;justify-content:space-between;gap:16px;height:var(--bgh-header-h)}
.bgh-header__actions{display:flex;align-items:center;gap:11px;flex:0 0 auto}
.bgh-subnav{border-top:1px solid var(--bgh-line-soft);background:var(--bgh-bg-2)}
.bgh-subnav__inner{display:flex;align-items:center;gap:14px;min-height:44px}
.bgh-subnav .bgh-menu__list{flex:1;min-width:0}
.bgh-subnav__hint{margin-left:auto;display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--bgh-muted);white-space:nowrap;flex:0 0 auto}
.bgh-menu__list{display:flex;align-items:center;gap:2px}
.bgh-menu__list li a,.bgh-menu__item a{display:block;color:var(--bgh-text);font-size:14px;font-weight:500;opacity:.8;transition:opacity .2s,color .2s;padding:8px 11px;border-radius:var(--bgh-radius-sm);white-space:nowrap}
.bgh-menu__list li a:hover,.bgh-menu__item a:hover{opacity:1;color:var(--bgh-acc);background:rgba(17,85,204,.08)}
.bgh-searchlink{color:var(--bgh-text);opacity:.72;transition:opacity .2s,color .2s,border-color .2s;display:flex;padding:8px;border-radius:var(--bgh-radius-sm);border:1px solid var(--bgh-line-soft)}
.bgh-searchlink:hover{opacity:1;color:var(--bgh-acc);border-color:var(--bgh-acc)}
.bgh-searchlink .bgh-ico{width:17px;height:17px}

/* Logo */
.bgh-logo{display:flex;align-items:center;gap:11px;text-decoration:none;min-width:0;flex:0 1 auto}
.bgh-logo__glyph{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;background:var(--bgh-acc-grad);color:#fff;font-family:var(--bgh-font-display);font-weight:700;font-size:15px;letter-spacing:.4px;border-radius:10px;box-shadow:0 6px 20px var(--bgh-glow)}
.bgh-logo__glyph img{width:26px;height:26px;object-fit:contain}
.bgh-logo__text{color:var(--bgh-text);font-family:var(--bgh-font-display);font-size:21px;font-weight:700;letter-spacing:.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.bgh-logo--foot{margin-bottom:16px}

/* Nav toggle (burger) – mobile only */
.bgh-navtoggle{display:none;flex-direction:column;gap:5px;padding:9px;flex:0 0 auto;border-radius:var(--bgh-radius-sm);border:1px solid var(--bgh-line-soft);transition:border-color .2s}
.bgh-navtoggle:hover{border-color:var(--bgh-acc)}
.bgh-navtoggle__line{display:block;width:21px;height:2px;background:var(--bgh-text);border-radius:2px;transition:transform .3s,opacity .3s}
.bgh-navtoggle--on .bgh-navtoggle__line:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.bgh-navtoggle--on .bgh-navtoggle__line:nth-child(2){opacity:0}
.bgh-navtoggle--on .bgh-navtoggle__line:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* Scrim */
.bgh-scrim{position:fixed;inset:0;z-index:1100;background:rgba(1,5,15,.44);opacity:0;pointer-events:none;transition:opacity .3s;display:block}
.bgh-scrim--on{opacity:1;pointer-events:auto}

/* Slide-in drawer (right) */
.bgh-drawer{position:fixed;top:0;right:0;bottom:0;width:min(360px,88vw);z-index:1150;display:flex;flex-direction:column;background:linear-gradient(180deg,#ffffff,var(--bgh-bg-2));border-left:1px solid var(--bgh-line);transform:translateX(100%);transition:transform .32s ease;overflow-y:auto;box-shadow:0 0 60px rgba(1,5,15,.22)}
.bgh-drawer--open{transform:translateX(0)}
.bgh-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px;border-bottom:1px solid var(--bgh-line-soft)}
.bgh-drawer__label{font-family:var(--bgh-font-display);font-size:13px;letter-spacing:1.6px;color:var(--bgh-acc);font-weight:700}
.bgh-drawer__close{display:flex;padding:7px;border-radius:var(--bgh-radius-sm);color:var(--bgh-muted);border:1px solid var(--bgh-line-soft);transition:color .2s,border-color .2s}
.bgh-drawer__close:hover{color:var(--bgh-acc);border-color:var(--bgh-acc)}
.bgh-drawer__close .bgh-ico{width:20px;height:20px}
.bgh-drawer__nav{padding:18px 22px}
.bgh-menu__list--drawer{flex-direction:column;align-items:stretch;gap:4px}
.bgh-menu__list--drawer li a{padding:13px 14px;font-size:15px;border-left:2px solid transparent;border-radius:var(--bgh-radius-sm)}
.bgh-menu__list--drawer li a:hover{color:var(--bgh-acc);background:rgba(17,85,204,.08);border-left-color:var(--bgh-acc)}
.bgh-drawer__nav .bgh-menu__list--fallback{flex-direction:column;align-items:stretch;gap:4px}
.bgh-drawer__nav .bgh-menu__list--fallback li a{padding:13px 14px;font-size:15px;border-left:2px solid transparent}
.bgh-drawer__cta{display:flex;flex-direction:column;gap:11px;padding:8px 22px 22px;margin-top:auto}
.bgh-drawer__foot{padding:18px 22px 24px;border-top:1px solid var(--bgh-line-soft)}

/* === BUTTONS === */
.bgh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 23px;border-radius:9px;font-family:var(--bgh-font-body);font-size:14.5px;font-weight:600;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}
.bgh-btn:hover{transform:translateY(-2px)}
.bgh-btn--cta,.bgh-btn--acc{background:var(--bgh-acc-grad);color:#fff;box-shadow:0 8px 24px var(--bgh-glow);font-weight:700}
.bgh-btn--cta:hover,.bgh-btn--acc:hover{box-shadow:0 12px 32px rgba(17,85,204,.3);color:#fff}
.bgh-btn--ghost{border-color:var(--bgh-line);color:var(--bgh-text);background:#ffffff}
.bgh-btn--ghost:hover{border-color:var(--bgh-acc);color:var(--bgh-acc)}
.bgh-btn--sm{padding:8px 17px;font-size:13.5px}
.bgh-btn--lg{padding:15px 32px;font-size:15px}
.bgh-btn--wide{width:100%}
.bgh-btn .bgh-ico{width:17px;height:17px}


/* === HERO FEE CHART TERMINAL (H4) === */
.bgh-hero{position:relative;overflow:hidden;padding:64px 0 72px;border-bottom:1px solid var(--bgh-line-soft)}
.bgh-hero__grid{display:grid;grid-template-columns:1.02fr .98fr;gap:48px;align-items:center}
.bgh-hero__intro{min-width:0}
.bgh-hero__badge{display:inline-flex;align-items:center;gap:9px;font-size:12px;letter-spacing:1.5px;color:var(--bgh-acc);border:1px solid var(--bgh-line);background:rgba(17,85,204,.05);padding:6px 14px;border-radius:999px;margin-bottom:22px;font-weight:700}
.bgh-hero__title{font-family:var(--bgh-font-display);font-size:clamp(40px,4.4vw,48px);font-weight:700;line-height:1.14;letter-spacing:-.6px;margin-bottom:20px}
.bgh-hero__text{font-size:15.5px;color:var(--bgh-muted);line-height:1.8;max-width:560px;margin-bottom:30px}
.bgh-hero__actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:34px}
.bgh-herostats{display:flex;align-items:center;gap:40px;flex-wrap:wrap;padding-top:26px;border-top:1px solid var(--bgh-line-soft)}
.bgh-herostat{display:flex;flex-direction:column;gap:5px}
.bgh-herostat b{font-family:var(--bgh-font-display);font-size:32px;font-weight:700;letter-spacing:-.5px}
.bgh-herostat span{font-size:12.5px;color:var(--bgh-muted)}

/* Fee chart panel */
.bgh-hero__panel{position:relative;min-width:0}
.bgh-chart{background:#ffffff;border:1px solid var(--bgh-line-soft);border-radius:var(--bgh-radius);box-shadow:var(--bgh-shadow);padding:22px 22px 18px}
.bgh-chart__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.bgh-chart__title{font-family:var(--bgh-font-display);font-size:14px;font-weight:700}
.bgh-chart__live{display:inline-flex;align-items:center;gap:7px;font-size:11.5px;font-weight:700;letter-spacing:1px;color:var(--bgh-green);white-space:nowrap;flex:0 0 auto}
.bgh-chart__legend{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:10px}
.bgh-chart__key{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--bgh-muted)}
.bgh-chart__key i{width:14px;height:3px;border-radius:2px;display:inline-block}
.bgh-chart__key--a i{background:var(--bgh-acc)}
.bgh-chart__key--b i{background:var(--bgh-green)}
.bgh-chart__key--c i{background:#d4a017}
.bgh-chart__svg{width:100%;height:auto;display:block}
.bgh-chart__grid line{stroke:#eef1f6;stroke-width:1}
.bgh-chart__area{fill:rgba(17,85,204,.08)}
.bgh-chart__line{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:900;animation:bgh-draw 1.6s ease-out forwards}
.bgh-chart__line--a{stroke:var(--bgh-acc)}
.bgh-chart__line--b{stroke:var(--bgh-green);animation-delay:.2s}
.bgh-chart__line--c{stroke:#d4a017;stroke-dasharray:6 5;animation:none}
.bgh-chart__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border-top:1px solid var(--bgh-line-soft);margin-top:14px;padding-top:14px}
.bgh-chart__stat{display:flex;flex-direction:column;gap:3px;min-width:0}
.bgh-chart__stat b{font-family:var(--bgh-font-display);font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}
.bgh-chart__stat span{font-size:11.5px;color:var(--bgh-muted)}


/* === SECTION BANDS === */
.bgh-band{padding:74px 0}
.bgh-band--alt{background:var(--bgh-bg-2);border-top:1px solid var(--bgh-line-soft);border-bottom:1px solid var(--bgh-line-soft)}
.bgh-band__head{max-width:720px;margin-bottom:42px}
.bgh-band__head--center{margin-left:auto;margin-right:auto;text-align:center}
.bgh-band__eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:var(--bgh-acc);margin-bottom:11px}
.bgh-band__title{font-family:var(--bgh-font-display);font-size:31px;font-weight:700;letter-spacing:-.4px;line-height:1.25;margin-bottom:13px}
.bgh-band__intro{font-size:15px;color:var(--bgh-muted);line-height:1.75}


/* === DATA FIGURES === */
.bgh-data{padding:62px 0}
.bgh-data__head{text-align:center;margin-bottom:40px}
.bgh-data__row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.bgh-figure{position:relative;text-align:center;padding:12px}
.bgh-figure::after{content:'';position:absolute;right:-11px;top:15%;height:70%;width:1px;background:var(--bgh-line-soft)}
.bgh-figure:last-child::after{display:none}
.bgh-figure__num{display:block;font-family:var(--bgh-font-display);font-size:33px;font-weight:700;letter-spacing:-.5px;margin-bottom:7px}
.bgh-figure__cap{font-size:12.5px;color:var(--bgh-muted)}


/* === FEATURES === */
.bgh-feat__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.bgh-feat__card{padding:28px 24px;background:#ffffff;border:1px solid var(--bgh-line-soft);border-radius:var(--bgh-radius);transition:border-color .2s,box-shadow .2s}
.bgh-feat__card:hover{border-color:var(--bgh-line);box-shadow:0 14px 34px var(--bgh-glow)}
.bgh-feat__icon{display:inline-flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:12px;background:rgba(17,85,204,.09);color:var(--bgh-acc);margin-bottom:18px}
.bgh-feat__icon .bgh-ico{width:25px;height:25px}
.bgh-feat__title{font-family:var(--bgh-font-display);font-size:17px;font-weight:700;margin-bottom:10px}
.bgh-feat__desc{font-size:13.5px;color:var(--bgh-muted);line-height:1.7}


/* === TABS + FEE BOARDS === */
.bgh-tabs{border:1px solid var(--bgh-line-soft);border-radius:var(--bgh-radius);background:#ffffff;overflow:hidden;box-shadow:var(--bgh-shadow)}
.bgh-tabs__bar{display:flex;gap:4px;padding:10px 12px;background:var(--bgh-bg-2);border-bottom:1px solid var(--bgh-line-soft);overflow-x:auto}
.bgh-tabs__btn{padding:9px 18px;border-radius:var(--bgh-radius-sm);font-size:14px;font-weight:600;color:var(--bgh-muted);border:1px solid transparent;white-space:nowrap;transition:color .2s,background .2s,border-color .2s}
.bgh-tabs__btn:hover{color:var(--bgh-text)}
.bgh-tabs__btn--on{color:var(--bgh-acc);background:rgba(17,85,204,.09);border-color:var(--bgh-line)}
.bgh-tabpane{display:none}
.bgh-tabpane--on{display:block}
.bgh-board{background:transparent}
.bgh-board__scroll{overflow-x:auto}
.bgh-quote{width:100%;border-collapse:collapse;min-width:640px}
.bgh-quote th{font-size:11.5px;letter-spacing:1px;color:var(--bgh-muted);font-weight:600;text-align:left;padding:12px 18px;border-bottom:1px solid var(--bgh-line-soft)}
.bgh-quote td{padding:13px 18px;border-bottom:1px solid var(--bgh-line-soft);font-size:14px}
.bgh-quote tbody tr:last-child td{border-bottom:none}
.bgh-quote tbody tr{transition:background .2s}
.bgh-quote tbody tr:hover{background:rgba(17,85,204,.04)}
.bgh-quote__row--flash{animation:bgh-rowflash 1.1s ease-out}
.bgh-quote__sym{display:flex;flex-direction:column;gap:2px;font-weight:600}
.bgh-quote__pair{display:block;font-size:11.5px;color:var(--bgh-muted);font-weight:400}
.bgh-quote__num{font-variant-numeric:tabular-nums;font-weight:600}
.bgh-quote__chg{font-variant-numeric:tabular-nums;font-weight:700}
.bgh-quote__act{text-align:right}
.bgh-board__foot{display:flex;justify-content:center;margin-top:28px}

/* Taker fee bar race */
.bgh-feebars{margin-top:26px;background:#ffffff;border:1px solid var(--bgh-line-soft);border-radius:var(--bgh-radius);padding:24px 26px;box-shadow:var(--bgh-shadow)}
.bgh-feebars__title{font-family:var(--bgh-font-display);font-size:14px;font-weight:700;margin-bottom:16px}
.bgh-feebars__row{display:grid;grid-template-columns:88px minmax(0,1fr) 70px;align-items:center;gap:14px;padding:7px 0}
.bgh-feebars__name{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bgh-feebars__track{display:block;height:10px;border-radius:5px;background:var(--bgh-panel-2);overflow:hidden}
.bgh-feebars__fill{display:block;height:100%;border-radius:5px;background:var(--bgh-acc-grad);transform-origin:left;animation:bgh-grow .9s ease-out}
.bgh-feebars__val{font-size:12.5px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--bgh-acc);text-align:right}


/* === FEED / POST CARDS (C2 solid) === */
.bgh-feed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.bgh-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.bgh-list__empty{padding:38px;text-align:center;color:var(--bgh-muted);background:#ffffff;border:1px solid var(--bgh-line-soft);border-radius:var(--bgh-radius)}
.bgh-list__empty p{margin-bottom:18px}
.bgh-card{display:flex;flex-direction:column;width:100%;min-width:0;background:#ffffff;border:1px solid var(--bgh-line-soft);border-radius:var(--bgh-radius);overflow:hidden;transition:transform .22s,box-shadow .22s,border-color .22s}
.bgh-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px var(--bgh-glow);border-color:var(--bgh-line)}
.bgh-card__media{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--bgh-panel-2)}
.bgh-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.bgh-card:hover .bgh-card__media img{transform:scale(1.05)}
.bgh-card__body{display:flex;flex-direction:column;gap:10px;padding:20px;flex:1}
.bgh-card__tag{align-self:flex-start;font-size:11.5px;font-weight:700;letter-spacing:.9px;color:var(--bgh-acc);background:rgba(17,85,204,.08);padding:4px 11px;border-radius:999px}
.bgh-card__title{font-family:var(--bgh-font-display);font-size:17px;font-weight:700;line-height:1.4}
.bgh-card__title a{color:var(--bgh-text)}
.bgh-card__title a:hover{color:var(--bgh-acc)}
.bgh-card__excerpt{font-size:13.5px;color:var(--bgh-muted);line-height:1.68;flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bgh-card__foot{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--bgh-muted);padding-top:12px;border-top:1px solid var(--bgh-line-soft)}
.bgh-card__who{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:50%;background:var(--bgh-acc-grad);color:#fff;font-size:11px;font-weight:700;flex-shrink:0}
.bgh-card__read{margin-left:auto;white-space:nowrap}
.bgh-feed__more{display:flex;justify-content:center;margin-top:34px}
.bgh-pager{display:flex;justify-content:center;margin-top:34px}
.bgh-pager .nav-links{display:flex;gap:7px;flex-wrap:wrap}
.bgh-pager .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:37px;padding:8px 13px;border:1px solid var(--bgh-line-soft);border-radius:var(--bgh-radius-sm);font-size:13.5px;color:var(--bgh-text);background:#ffffff;transition:border-color .2s,color .2s}
.bgh-pager .page-numbers:hover{border-color:var(--bgh-acc);color:var(--bgh-acc)}
.bgh-pager .page-numbers.current{background:var(--bgh-acc-grad);border-color:transparent;color:#fff}


/* === PLANS === */
.bgh-plans__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.bgh-plan{position:relative;display:flex;flex-direction:column;padding:32px 28px;background:#ffffff;border:1px solid var(--bgh-line-soft);border-radius:var(--bgh-radius)}
.bgh-plan--hot{border-color:var(--bgh-line);box-shadow:0 16px 44px var(--bgh-glow);background:linear-gradient(160deg,rgba(17,85,204,.07),#ffffff 62%)}
.bgh-plan__flag{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--bgh-acc-grad);color:#fff;font-size:11px;font-weight:700;letter-spacing:1.3px;padding:5px 15px;border-radius:999px;white-space:nowrap}
.bgh-plan__tier{font-family:var(--bgh-font-display);font-size:13px;font-weight:700;letter-spacing:1.8px;color:var(--bgh-acc);margin-bottom:15px}
.bgh-plan__price{font-family:var(--bgh-font-display);font-size:43px;font-weight:700;letter-spacing:-1px;line-height:1.1}
.bgh-plan__scale{font-size:12.5px;color:var(--bgh-muted);margin-bottom:22px}
.bgh-plan__list{display:flex;flex-direction:column;gap:11px;margin-bottom:28px;flex:1}
.bgh-plan__list li{display:flex;align-items:flex-start;gap:9px;font-size:13.5px;color:var(--bgh-text)}
.bgh-plan__tick{display:inline-flex;color:var(--bgh-green);flex-shrink:0;margin-top:2px}
.bgh-plan__tick .bgh-ico{width:15px;height:15px}


/* === PRODUCTS === */
.bgh-prod__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.bgh-prod__card{display:flex;flex-direction:column;padding:30px 26px;background:#ffffff;border:1px solid var(--bgh-line-soft);border-radius:var(--bgh-radius);transition:border-color .2s,box-shadow .2s}
.bgh-prod__card:hover{border-color:var(--bgh-line);box-shadow:0 16px 38px var(--bgh-glow)}
.bgh-prod__icon{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:14px;background:var(--bgh-acc-grad);color:#fff;margin-bottom:20px;box-shadow:0 8px 22px var(--bgh-glow)}
.bgh-prod__icon .bgh-ico{width:27px;height:27px}
.bgh-prod__tag{font-size:11.5px;font-weight:700;letter-spacing:1.6px;color:var(--bgh-acc);margin-bottom:8px}
.bgh-prod__name{font-family:var(--bgh-font-display);font-size:19px;font-weight:700;margin-bottom:10px}
.bgh-prod__desc{font-size:13.5px;color:var(--bgh-muted);line-height:1.7;margin-bottom:18px}
.bgh-prod__list{display:flex;flex-direction:column;gap:9px;margin-bottom:24px;flex:1}
.bgh-prod__list li{display:flex;align-items:flex-start;gap:8px;font-size:13px}
.bgh-prod__tick{display:inline-flex;color:var(--bgh-green);flex-shrink:0;margin-top:2px}
.bgh-prod__tick .bgh-ico{width:14px;height:14px}


/* === FAQ === */
.bgh-faq{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.bgh-faq__row{background:#ffffff;border:1px solid var(--bgh-line-soft);border-radius:var(--bgh-radius-sm);overflow:hidden;transition:border-color .2s}
.bgh-faq__row--open{border-color:var(--bgh-line)}
.bgh-faq__q{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;text-align:left;padding:18px 22px;font-size:15px;font-weight:600;color:var(--bgh-text)}
.bgh-faq__q:hover{color:var(--bgh-acc)}
.bgh-faq__chev{display:inline-flex;color:var(--bgh-muted);transition:transform .3s;flex-shrink:0}
.bgh-faq__chev .bgh-ico{width:18px;height:18px}
.bgh-faq__row--open .bgh-faq__chev{transform:rotate(180deg);color:var(--bgh-acc)}
.bgh-faq__a{max-height:0;overflow:hidden;transition:max-height .35s ease}
.bgh-faq__a p{padding:0 22px 20px;font-size:14px;color:var(--bgh-muted);line-height:1.78}


/* === LAUNCH CTA === */
.bgh-launch{position:relative;overflow:hidden;padding:78px 0;background:linear-gradient(150deg,rgba(17,85,204,.10),var(--bgh-bg-2) 60%);border-top:1px solid var(--bgh-line);text-align:center}
.bgh-launch__wave{position:absolute;left:-10%;right:-10%;top:0;height:46%;background:linear-gradient(180deg,rgba(64,129,65,.08),transparent);animation:bgh-wave 8s ease-in-out infinite alternate;pointer-events:none}
.bgh-launch__inner{position:relative;z-index:1}
.bgh-launch__title{font-family:var(--bgh-font-display);font-size:32px;font-weight:700;letter-spacing:-.4px;margin-bottom:15px}
.bgh-launch__sub{font-size:15px;color:var(--bgh-muted);max-width:640px;margin:0 auto 30px;line-height:1.78}
.bgh-launch__btns{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}


/* === INNER PAGE HEAD === */
.bgh-pagehead{position:relative;padding:58px 0 48px;background-size:cover;background-position:center;background-color:#0a1a33;border-bottom:1px solid var(--bgh-line-soft);color:#ffffff}
.bgh-pagehead::before{content:'';position:absolute;inset:0;background:rgba(1,5,15,.36);z-index:0}
.bgh-pagehead .bgh-container{position:relative;z-index:1}
.bgh-pagehead__kicker{font-size:12px;font-weight:700;letter-spacing:2px;color:#9dc0f5;margin-bottom:11px}
.bgh-pagehead__title{font-family:var(--bgh-font-display);font-size:32px;font-weight:700;letter-spacing:-.4px;line-height:1.25;overflow-wrap:break-word;color:#ffffff}
.bgh-pagehead__desc{font-size:14.5px;color:#d7deea;margin-top:11px;max-width:720px}
.bgh-pagehead__meta{display:flex;align-items:center;gap:12px;font-size:12.5px;color:#d7deea;margin-top:13px;flex-wrap:wrap}


/* === BREADCRUMB === */
.bgh-crumb-bar{border-bottom:1px solid var(--bgh-line-soft);background:var(--bgh-bg-2)}
.bgh-crumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:11px 0;font-size:12.5px;color:var(--bgh-muted)}
.bgh-crumb a{color:var(--bgh-muted)}
.bgh-crumb a:hover{color:var(--bgh-acc)}
.bgh-crumb__sep{opacity:.5}
.bgh-crumb__now{color:var(--bgh-text);font-weight:600;overflow-wrap:anywhere}


/* === CONTENT SHEET / PROSE === */
.bgh-content{padding:44px 0 22px}
.bgh-sheet{background:#ffffff;border:1px solid var(--bgh-line-soft);border-radius:var(--bgh-radius);padding:38px}
.bgh-prose{font-size:15.5px;line-height:1.85;color:var(--bgh-text)}
.bgh-prose h2{font-family:var(--bgh-font-display);font-size:24px;font-weight:700;margin:34px 0 15px;letter-spacing:-.2px}
.bgh-prose h3{font-family:var(--bgh-font-display);font-size:19px;font-weight:700;margin:28px 0 12px}
.bgh-prose p{margin-bottom:17px}
.bgh-prose ul,.bgh-prose ol{margin:0 0 17px 22px}
.bgh-prose ul{list-style:disc}
.bgh-prose ol{list-style:decimal}
.bgh-prose li{margin-bottom:8px}
.bgh-prose a{text-decoration:underline;text-underline-offset:3px}
.bgh-prose blockquote{border-left:3px solid var(--bgh-acc);background:rgba(17,85,204,.06);padding:15px 19px;margin:0 0 17px;border-radius:0 var(--bgh-radius-sm) var(--bgh-radius-sm) 0;color:var(--bgh-muted)}
.bgh-prose code{background:var(--bgh-panel-2);padding:2px 7px;border-radius:7px;font-size:13.5px}
.bgh-prose pre{background:var(--bgh-bg-2);border:1px solid var(--bgh-line-soft);padding:19px;border-radius:var(--bgh-radius-sm);overflow-x:auto;margin-bottom:17px}
.bgh-prose pre code{background:none;padding:0}
.bgh-prose table{width:100%;border-collapse:collapse;margin-bottom:19px;font-size:14px}
.bgh-prose th,.bgh-prose td{border:1px solid var(--bgh-line-soft);padding:10px 13px;text-align:left}
.bgh-prose th{background:var(--bgh-bg-2);font-weight:600}
.bgh-prose img{border-radius:var(--bgh-radius-sm)}
.bgh-chip{display:inline-flex;padding:6px 13px;border:1px solid var(--bgh-line-soft);border-radius:999px;font-size:12.5px;color:var(--bgh-muted);transition:border-color .2s,color .2s}
.bgh-chip:hover{border-color:var(--bgh-acc);color:var(--bgh-acc)}


/* === SINGLE LAYOUT (S3 no sidebar) === */
.bgh-doc__body{max-width:880px;margin:0 auto;min-width:0}
.bgh-doc__hero{margin:-38px -38px 28px;overflow:hidden;border-radius:var(--bgh-radius) var(--bgh-radius) 0 0}
.bgh-doc__hero img{width:100%;aspect-ratio:16/9;object-fit:cover}
.bgh-doc__tags{display:flex;gap:9px;flex-wrap:wrap;margin-top:28px;padding-top:22px;border-top:1px solid var(--bgh-line-soft)}
.bgh-doc__pager{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:28px}
.bgh-doc__prev,.bgh-doc__next{display:flex;flex-direction:column;gap:6px;padding:16px 18px;border:1px solid var(--bgh-line-soft);border-radius:var(--bgh-radius-sm);transition:border-color .2s}
.bgh-doc__prev:hover,.bgh-doc__next:hover{border-color:var(--bgh-acc)}
.bgh-doc__next{text-align:right}
.bgh-doc__plabel{font-size:11.5px;font-weight:700;letter-spacing:1.3px;color:var(--bgh-acc)}
.bgh-doc__ptitle{font-size:13.5px;font-weight:600;color:var(--bgh-text);line-height:1.5}
.bgh-doc__comments{margin-top:32px;padding-top:26px;border-top:1px solid var(--bgh-line-soft)}


/* === SEARCH FORM === */
.bgh-find{display:flex;gap:10px;margin-bottom:28px}
.bgh-find__label{position:absolute}
.bgh-find__field{flex:1;min-width:0;padding:12px 16px;border:1px solid var(--bgh-line-soft);border-radius:var(--bgh-radius-sm);font:inherit;font-size:14.5px;color:var(--bgh-text);background:var(--bgh-bg-2);transition:border-color .2s}
.bgh-find__field:focus{outline:none;border-color:var(--bgh-acc)}
.bgh-find__btn{flex:0 0 auto}


/* === 404 === */
.bgh-lost{text-align:center;padding:60px 36px}
.bgh-lost__icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:14px;background:rgba(17,85,204,.09);color:var(--bgh-acc);margin-bottom:20px}
.bgh-lost__icon .bgh-ico{width:28px;height:28px}
.bgh-lost__code{font-family:var(--bgh-font-display);font-size:13px;font-weight:700;letter-spacing:2.6px;color:var(--bgh-acc);margin-bottom:11px}
.bgh-lost__title{font-family:var(--bgh-font-display);font-size:28px;font-weight:700;margin-bottom:13px}
.bgh-lost__text{font-size:14.5px;color:var(--bgh-muted);max-width:520px;margin:0 auto 28px;line-height:1.78}


/* === FOOTER (F3 brand lead) === */
.bgh-footer{background:var(--bgh-bg-2);border-top:1px solid var(--bgh-line-soft);padding:56px 0 0}
.bgh-footer__grid{display:grid;grid-template-columns:1.5fr repeat(3,minmax(0,1fr));gap:28px;padding-bottom:38px}
.bgh-footer__brand{min-width:0}
.bgh-footer__about{font-size:13.5px;color:var(--bgh-muted);line-height:1.78;margin-bottom:17px}
.bgh-footer__row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.bgh-status{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:var(--bgh-muted)}
.bgh-footer__social{display:flex;gap:10px}
.bgh-footer__social a{display:inline-flex;padding:9px;border:1px solid var(--bgh-line-soft);border-radius:var(--bgh-radius-sm);color:var(--bgh-muted);background:#ffffff;transition:color .2s,border-color .2s}
.bgh-footer__social a:hover{color:var(--bgh-acc);border-color:var(--bgh-acc)}
.bgh-footer__social .bgh-ico{width:16px;height:16px}
.bgh-footer__col{min-width:0}
.bgh-footer__head{font-family:var(--bgh-font-display);font-size:13px;font-weight:700;letter-spacing:1.6px;color:var(--bgh-text);margin-bottom:15px}
.bgh-footer__list{display:flex;flex-direction:column;gap:10px}
.bgh-footer__list a{font-size:13.5px;color:var(--bgh-muted)}
.bgh-footer__list a:hover{color:var(--bgh-acc)}
.bgh-footer__note{font-size:12px;color:var(--bgh-muted);line-height:1.72;padding:19px 0;border-top:1px solid var(--bgh-line-soft)}
.bgh-footer__base{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:17px 0 22px;border-top:1px solid var(--bgh-line-soft);font-size:12.5px;color:var(--bgh-muted)}
.bgh-footer__top{display:inline-flex;align-items:center;gap:6px;color:var(--bgh-muted)}
.bgh-footer__top:hover{color:var(--bgh-acc)}
.bgh-footer__top .bgh-ico{width:14px;height:14px;transform:rotate(180deg)}


/* === RESPONSIVE (kept at end) === */
@media (max-width:1024px){
	.bgh-subnav{display:none}
	.bgh-navtoggle{display:flex}
	.bgh-hero__grid{grid-template-columns:1fr;gap:38px}
	.bgh-hero__panel{max-width:600px}
	.bgh-feed{grid-template-columns:repeat(2,minmax(0,1fr))}
	.bgh-list{grid-template-columns:repeat(2,minmax(0,1fr))}
	.bgh-feat__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.bgh-data__row{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
	.bgh-figure:nth-child(2)::after{display:none}
	.bgh-prod__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.bgh-plans__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
	.bgh-footer__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
	.bgh-footer__brand{grid-column:1/-1}
	.bgh-band{padding:58px 0}
}
@media (max-width:768px){
	.bgh-container{padding:0 18px}
	.bgh-logo__text{font-size:17.5px}
	.bgh-header__actions .bgh-btn{display:none}
	.bgh-hero{padding:44px 0 52px}
	.bgh-hero__title{font-size:33px}
	.bgh-herostats{gap:26px}
	.bgh-herostat b{font-size:30px}
	.bgh-band__title{font-size:26px}
	.bgh-plans__grid{grid-template-columns:1fr}
	.bgh-plan--hot{order:-1}
	.bgh-prod__grid{grid-template-columns:1fr}
	.bgh-sheet{padding:26px 20px}
	.bgh-doc__hero{margin:-26px -20px 22px}
	.bgh-doc__pager{grid-template-columns:1fr}
	.bgh-prose table{display:block;overflow-x:auto}
	.bgh-find{flex-direction:column}
	.bgh-launch__title{font-size:27px}
	.bgh-pagehead__title{font-size:26px}
	.bgh-footer__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
	.bgh-footer__brand{grid-column:1/-1}
}
@media (max-width:480px){
	.bgh-container{padding:0 14px}
	.bgh-logo__text{font-size:17px}
	.bgh-feed{grid-template-columns:1fr}
	.bgh-list{grid-template-columns:1fr}
	.bgh-feat__grid{grid-template-columns:1fr}
	.bgh-data__row{grid-template-columns:1fr;gap:20px}
	.bgh-figure::after{display:none}
	.bgh-hero__title{font-size:30px}
	.bgh-hero__actions .bgh-btn{width:100%}
	.bgh-chart{padding:18px 16px 14px}
	.bgh-chart__stats{grid-template-columns:1fr;gap:8px}
	.bgh-feebars{padding:20px 16px}
	.bgh-feebars__row{grid-template-columns:70px minmax(0,1fr) 62px;gap:10px}
	.bgh-band{padding:46px 0}
	.bgh-band__title{font-size:24px}
	.bgh-quote__aux{display:none}
	.bgh-quote{min-width:480px}
	.bgh-footer__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
	.bgh-footer__brand{grid-column:1/-1}
	.bgh-footer__list a{font-size:12.5px}
	.bgh-footer__base{flex-direction:column;align-items:flex-start}
	.bgh-lost{padding:42px 20px}
}
