/*
Theme Name: BrokerQuest
Theme URI:
Author: BrokerQuest Lab
Author URI:
Description: A broker-matching quiz review desk theme in trust blue on white. An N7 mega-dropdown navigation, an H2 split hero with a 30-second matching quiz and trust badges, solid post cards, a sticky right TOC rail and an IBM Plex Sans / Source Sans 3 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: brokerquest
Tags: light, finance, blue, one-column, custom-logo
*/

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

/* === TOKENS === */
:root{
	--brq-bg:#ffffff;
	--brq-bg-2:#f5f7fa;
	--brq-panel:#f5f7fa;
	--brq-panel-2:#e9eef6;
	--brq-line:rgba(0,80,219,.18);
	--brq-line-soft:rgba(2,6,23,.09);
	--brq-blue:#0050db;
	--brq-blue-hi:#2f6fe0;
	--brq-slate:#475569;
	--brq-text:#020617;
	--brq-muted:#475569;
	--brq-up:#0e9f6e;
	--brq-down:#dc2626;
	--brq-blue-grad:linear-gradient(120deg,#0050db,#2f6fe0);
	--brq-sigline:linear-gradient(90deg,rgba(0,80,219,0),rgba(0,80,219,.5) 32%,rgba(71,85,105,.35) 68%,rgba(71,85,105,0));
	--brq-font-display:'IBM Plex Sans','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC',sans-serif;
	--brq-font-body:'Source Sans 3','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC',sans-serif;
	--brq-header-h:66px;
	--brq-radius:14px;
	--brq-radius-sm:9px;
	--brq-glow:rgba(0,80,219,.22);
	--brq-shadow:0 16px 40px rgba(2,6,23,.10);
}

/* === RESET & BASE === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body.brq-body{font-family:var(--brq-font-body);background:var(--brq-bg);color:var(--brq-text);line-height:1.65;min-height:100vh;overflow-x:hidden;-webkit-font-smoothing:antialiased}
body.brq-body::before{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;
	background-image:linear-gradient(rgba(0,80,219,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(0,80,219,.035) 1px,transparent 1px);
	background-size:44px 44px}
img{max-width:100%;height:auto;display:block}
a{color:var(--brq-blue);text-decoration:none;transition:color .2s}
a:hover{color:var(--brq-blue-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 === */
.brq-container{width:100%;max-width:1180px;margin:0 auto;padding:0 30px;position:relative;z-index:1}
.brq-main{position:relative;z-index:1;padding:0 0 82px}


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


/* === KEYFRAMES === */
@keyframes brq-pulse{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes brq-beam{0%{transform:translateY(-110%)}100%{transform:translateY(230%)}}
@keyframes brq-rowflash{0%{background:rgba(0,80,219,.10)}100%{background:transparent}}


/* === UTILITY === */
.brq-blue-text{color:var(--brq-blue)}
.brq-status__dot{width:7px;height:7px;border-radius:50%;background:var(--brq-up);box-shadow:0 0 10px rgba(14,159,110,.55);animation:brq-pulse 2s ease-in-out infinite;flex-shrink:0;display:inline-block}


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


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


/* === N7 MEGA-DROPDOWN HEADER === */
.brq-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.9);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--brq-line)}
.brq-header__inner{display:flex;align-items:center;justify-content:space-between;gap:18px;height:var(--brq-header-h)}
.brq-header__actions{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.brq-desknav{min-width:0}
.brq-menu__list{display:flex;align-items:center;gap:4px}
.brq-menu__list > li{position:relative}
.brq-menu__list li a,.brq-menu__item a{display:block;color:var(--brq-text);font-size:14.5px;font-weight:600;opacity:.86;transition:opacity .2s,color .2s,background .2s;padding:9px 14px;border-radius:var(--brq-radius-sm);white-space:nowrap}
.brq-menu__list li a:hover,.brq-menu__item a:hover{opacity:1;color:var(--brq-blue);background:rgba(0,80,219,.07)}
.brq-menu__list > li.menu-item-has-children > a::after{content:'▾';margin-left:6px;font-size:11px;opacity:.6}
/* Mega panel */
.brq-desknav .sub-menu{position:absolute;top:calc(100% + 10px);left:0;min-width:420px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:14px;background:#fff;border:1px solid var(--brq-line);border-radius:var(--brq-radius);box-shadow:var(--brq-shadow);opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .22s ease,transform .22s ease,visibility .22s;z-index:1200}
.brq-desknav .sub-menu::before{content:'';position:absolute;top:-11px;left:0;right:0;height:11px}
.brq-desknav li:hover > .sub-menu,.brq-desknav li:focus-within > .sub-menu,.brq-desknav li.brq-menu__item--open > .sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.brq-desknav .sub-menu li a{padding:10px 13px;border-radius:var(--brq-radius-sm);font-size:13.5px;border-left:2px solid transparent}
.brq-desknav .sub-menu li a:hover{border-left-color:var(--brq-blue);background:rgba(0,80,219,.06)}
.brq-searchlink{color:var(--brq-text);opacity:.72;transition:opacity .2s,color .2s,border-color .2s;display:flex;padding:8px;border-radius:var(--brq-radius-sm);border:1px solid var(--brq-line-soft)}
.brq-searchlink:hover{opacity:1;color:var(--brq-blue);border-color:var(--brq-blue)}
.brq-searchlink .brq-ico{width:18px;height:18px}

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

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

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

/* Overlay drawer (right) */
.brq-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(--brq-bg-2));border-left:1px solid var(--brq-line);transform:translateX(100%);transition:transform .32s ease;overflow-y:auto;box-shadow:0 0 60px rgba(2,6,23,.22)}
.brq-drawer--open{transform:translateX(0)}
.brq-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px;border-bottom:1px solid var(--brq-line-soft)}
.brq-drawer__label{font-family:var(--brq-font-display);font-size:13px;letter-spacing:1.6px;text-transform:uppercase;color:var(--brq-blue);font-weight:700}
.brq-drawer__close{display:flex;padding:7px;border-radius:var(--brq-radius-sm);color:var(--brq-muted);border:1px solid var(--brq-line-soft);transition:color .2s,border-color .2s}
.brq-drawer__close:hover{color:var(--brq-blue);border-color:var(--brq-blue)}
.brq-drawer__close .brq-ico{width:20px;height:20px}
.brq-drawer__nav{padding:18px 22px}
.brq-menu__list--drawer{flex-direction:column;align-items:stretch;gap:4px}
.brq-menu__list--drawer li a{padding:12px 14px;border-left:2px solid transparent;border-radius:var(--brq-radius-sm)}
.brq-menu__list--drawer li a:hover{color:var(--brq-blue);background:rgba(0,80,219,.07);border-left-color:var(--brq-blue)}
.brq-drawer__cta{display:flex;flex-direction:column;gap:11px;padding:8px 22px 22px;margin-top:auto}
.brq-drawer__foot{padding:0 22px 24px;border-top:1px solid var(--brq-line-soft);padding-top:18px}

/* === BUTTONS === */
.brq-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 22px;border-radius:999px;font-family:var(--brq-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}
.brq-btn:hover{transform:translateY(-2px)}
.brq-btn--cta,.brq-btn--blue{background:var(--brq-blue-grad);color:#fff;box-shadow:0 6px 20px var(--brq-glow);font-weight:700}
.brq-btn--cta:hover,.brq-btn--blue:hover{box-shadow:0 10px 28px rgba(0,80,219,.36);color:#fff}
.brq-btn--ghost{border-color:var(--brq-line);color:var(--brq-text);background:#fff}
.brq-btn--ghost:hover{border-color:var(--brq-blue);color:var(--brq-blue)}
.brq-btn--sm{padding:8px 17px;font-size:13.5px}
.brq-btn--lg{padding:15px 32px;font-size:15.5px}
.brq-btn--wide{width:100%}
.brq-btn .brq-ico{width:17px;height:17px}


/* === HERO SPLIT + QUIZ (H2) === */
.brq-hero{position:relative;overflow:hidden;padding:64px 0 56px;border-bottom:1px solid var(--brq-line);background:linear-gradient(180deg,#fff 0%,var(--brq-bg-2) 100%)}
.brq-hero__grid-bg{position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(circle at 86% 8%,rgba(0,80,219,.09),transparent 46%),radial-gradient(circle at 4% 96%,rgba(71,85,105,.07),transparent 50%)}
.brq-hero .brq-container{position:relative;z-index:2}
.brq-hero__grid{display:grid;grid-template-columns:1.04fr .96fr;gap:52px;align-items:center}
.brq-hero__intro{min-width:0}
.brq-hero__badge{display:inline-flex;align-items:center;gap:9px;font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:var(--brq-blue);border:1px solid var(--brq-line);background:#fff;padding:6px 14px;border-radius:999px;margin-bottom:22px;font-weight:700}
.brq-hero__title{font-family:var(--brq-font-display);font-size:clamp(40px,4.4vw,48px);font-weight:700;line-height:1.16;letter-spacing:-.6px;margin-bottom:20px}
.brq-hero__text{font-size:15.5px;color:var(--brq-muted);line-height:1.78;max-width:560px;margin-bottom:30px}
.brq-hero__actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:36px}
.brq-herostats{display:flex;align-items:center;gap:42px;flex-wrap:wrap;padding-top:28px;border-top:1px solid var(--brq-line-soft)}
.brq-herostat{display:flex;flex-direction:column;gap:5px}
.brq-herostat b{font-family:var(--brq-font-display);font-size:32px;font-weight:700;letter-spacing:-.5px}
.brq-herostat span{font-size:12.5px;color:var(--brq-muted)}

/* Quiz panel */
.brq-quiz{padding:28px 26px;background:#fff;border:1px solid var(--brq-line);border-radius:var(--brq-radius);box-shadow:var(--brq-shadow);position:relative}
.brq-quiz::before{content:'';position:absolute;left:0;right:0;top:0;height:4px;background:var(--brq-blue-grad);border-radius:var(--brq-radius) var(--brq-radius) 0 0}
.brq-quiz__tag{display:flex;align-items:center;gap:8px;font-size:12px;letter-spacing:1.8px;text-transform:uppercase;color:var(--brq-blue);margin-bottom:20px;font-weight:700}
.brq-quiz__tag .brq-ico{width:17px;height:17px}
.brq-quiz__steps{display:block}
.brq-quiz__step{margin-bottom:20px}
.brq-quiz__step:last-child{margin-bottom:0}
.brq-quiz__q{display:flex;align-items:center;gap:10px;font-family:var(--brq-font-display);font-size:15px;font-weight:600;margin-bottom:10px;color:var(--brq-text)}
.brq-quiz__num{flex-shrink:0;width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--brq-blue-grad);color:#fff;font-size:12px;font-weight:700}
.brq-quiz__opts{display:flex;flex-direction:column;gap:7px}
.brq-quiz__opt{display:block;width:100%;text-align:left;padding:9px 14px;font-size:13.5px;font-weight:500;color:var(--brq-text);background:var(--brq-bg-2);border:1px solid var(--brq-line-soft);border-radius:var(--brq-radius-sm);transition:border-color .2s,background .2s,color .2s;white-space:normal;line-height:1.5}
.brq-quiz__opt:hover{border-color:var(--brq-blue);color:var(--brq-blue)}
.brq-quiz__opt--on{border-color:var(--brq-blue);background:rgba(0,80,219,.08);color:var(--brq-blue);font-weight:700}
.brq-quiz__results{text-align:left}
.brq-quiz__rtag{font-size:12px;letter-spacing:1.8px;text-transform:uppercase;color:var(--brq-blue);font-weight:700;margin-bottom:10px}
.brq-quiz__rtitle{font-family:var(--brq-font-display);font-size:22px;font-weight:700;margin-bottom:10px}
.brq-quiz__rtext{font-size:14px;color:var(--brq-muted);line-height:1.72;margin-bottom:20px}
.brq-quiz__reset{display:inline-flex;align-items:center;gap:7px;margin-top:16px;font-size:13px;font-weight:600;color:var(--brq-muted);transition:color .2s}
.brq-quiz__reset:hover{color:var(--brq-blue)}
.brq-quiz__reset .brq-ico{width:15px;height:15px}

/* Trust badges */
.brq-trust{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:44px}
.brq-trust__item{display:inline-flex;align-items:center;gap:8px;padding:9px 18px;background:#fff;border:1px solid var(--brq-line);border-radius:999px;font-size:13px;font-weight:600;color:var(--brq-slate);box-shadow:0 4px 14px rgba(2,6,23,.05)}
.brq-trust__item .brq-ico{width:17px;height:17px;color:var(--brq-blue)}


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


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


/* === MARKET BOARD === */
.brq-board{border:1px solid var(--brq-line);background:#fff;overflow:hidden;border-radius:var(--brq-radius);box-shadow:var(--brq-shadow)}
.brq-board__bar{display:flex;align-items:center;gap:14px;padding:13px 20px;background:var(--brq-panel);border-bottom:1px solid var(--brq-line)}
.brq-board__dots{display:flex;gap:7px}
.brq-board__dots i{width:11px;height:11px;border-radius:50%}
.brq-board__dots i:nth-child(1){background:var(--brq-down)}
.brq-board__dots i:nth-child(2){background:#f5b942}
.brq-board__dots i:nth-child(3){background:var(--brq-up)}
.brq-board__path{font-size:12.5px;color:var(--brq-muted);font-family:var(--brq-font-body)}
.brq-board__live{margin-left:auto;display:flex;align-items:center;gap:7px;font-size:12px;color:var(--brq-blue);letter-spacing:1.2px;font-weight:700}
.brq-board__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.brq-quote{width:100%;border-collapse:collapse}
.brq-quote th{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--brq-muted);text-align:left;padding:13px 20px;border-bottom:1px solid var(--brq-line);font-weight:700}
.brq-quote td{padding:14px 20px;border-bottom:1px solid var(--brq-line-soft);font-size:14.5px;vertical-align:middle}
.brq-quote tr:last-child td{border-bottom:none}
.brq-quote tbody tr{transition:background .2s}
.brq-quote tbody tr:hover{background:rgba(0,80,219,.05)}
.brq-quote tbody tr.brq-quote__row--flash{animation:brq-rowflash .9s ease}
.brq-quote__sym{display:flex;align-items:center;gap:11px;font-weight:600;color:var(--brq-text)}
.brq-quote__badge{width:36px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;background:rgba(0,80,219,.09);color:var(--brq-blue);border:1px solid var(--brq-line);border-radius:11px}
.brq-quote__pair{display:block;font-size:12px;color:var(--brq-muted);font-weight:400}
.brq-quote__num{font-weight:600;color:var(--brq-text)}
.brq-quote__chg{font-weight:700}
.brq-up{color:var(--brq-up)}
.brq-down{color:var(--brq-down)}
.brq-quote__act .brq-btn{padding:7px 16px;font-size:13px}
.brq-quote td.brq-quote__act{text-align:right}
.brq-board__foot{text-align:center;margin-top:30px}


/* === FEATURES === */
.brq-feat__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.brq-feat__card{padding:30px 26px;background:#fff;border:1px solid var(--brq-line-soft);border-radius:var(--brq-radius);position:relative;overflow:hidden;transition:transform .3s,border-color .3s,box-shadow .3s}
.brq-feat__card::before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:var(--brq-blue-grad);transform:scaleX(0);transform-origin:left;transition:transform .35s}
.brq-feat__card:hover{transform:translateY(-6px);border-color:var(--brq-line);box-shadow:0 20px 46px rgba(2,6,23,.10)}
.brq-feat__card:hover::before{transform:scaleX(1)}
.brq-feat__icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;background:rgba(0,80,219,.09);color:var(--brq-blue);border-radius:14px;margin-bottom:18px}
.brq-feat__icon .brq-ico{width:26px;height:26px}
.brq-feat__title{font-family:var(--brq-font-display);font-size:19px;font-weight:600;margin-bottom:10px;color:var(--brq-text)}
.brq-feat__desc{font-size:14px;color:var(--brq-muted);line-height:1.72}


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

/* === PLANS === */
.brq-plans__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.brq-plan{background:#fff;border:1px solid var(--brq-line-soft);border-radius:var(--brq-radius);padding:34px 28px;display:flex;flex-direction:column;position:relative;transition:transform .3s,border-color .3s,box-shadow .3s}
.brq-plan:hover{transform:translateY(-6px);border-color:var(--brq-line);box-shadow:0 22px 50px rgba(2,6,23,.10)}
.brq-plan--hot{border-color:var(--brq-blue);box-shadow:0 20px 54px rgba(0,80,219,.16)}
.brq-plan__flag{position:absolute;top:16px;right:16px;background:var(--brq-blue-grad);color:#fff;font-size:12px;font-weight:700;letter-spacing:.4px;padding:4px 12px;border-radius:999px;white-space:nowrap;z-index:1}
.brq-plan__tier{font-family:var(--brq-font-display);font-size:16px;font-weight:600;color:var(--brq-muted);margin-bottom:14px;letter-spacing:.3px}
.brq-plan__price{font-family:var(--brq-font-display);font-size:42px;font-weight:700;color:var(--brq-text);letter-spacing:-1px;margin-bottom:4px}
.brq-plan__scale{font-size:13px;color:var(--brq-blue);margin-bottom:22px;font-weight:600}
.brq-plan__list{margin-bottom:26px;flex:1}
.brq-plan__list li{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--brq-text);opacity:.92;margin-bottom:11px;line-height:1.5}
.brq-plan__tick{color:var(--brq-blue);display:flex;flex-shrink:0;margin-top:2px}
.brq-plan__tick .brq-ico{width:16px;height:16px}


/* === PRODUCTS / TOOLS === */
.brq-prod__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.brq-prod__card{background:#fff;border:1px solid var(--brq-line-soft);border-radius:var(--brq-radius);padding:30px 26px;transition:transform .3s,border-color .3s,box-shadow .3s}
.brq-prod__card:hover{transform:translateY(-6px);border-color:var(--brq-line);box-shadow:0 22px 50px rgba(2,6,23,.10)}
.brq-prod__icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:rgba(71,85,105,.10);color:var(--brq-slate);border-radius:14px;margin-bottom:18px}
.brq-prod__icon .brq-ico{width:24px;height:24px}
.brq-prod__tag{font-size:12px;letter-spacing:1.4px;text-transform:uppercase;color:var(--brq-blue);margin-bottom:8px;display:block;font-weight:700}
.brq-prod__name{font-family:var(--brq-font-display);font-size:21px;font-weight:600;margin-bottom:10px;color:var(--brq-text)}
.brq-prod__desc{font-size:14px;color:var(--brq-muted);line-height:1.72;margin-bottom:18px}
.brq-prod__list{margin-bottom:22px}
.brq-prod__list li{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--brq-text);opacity:.92;margin-bottom:9px}
.brq-prod__tick{color:var(--brq-blue);display:flex;flex-shrink:0}
.brq-prod__tick .brq-ico{width:17px;height:17px}


/* === FAQ === */
.brq-faq{max-width:780px;margin:0 auto;display:flex;flex-direction:column;gap:13px}
.brq-faq__row{background:#fff;border:1px solid var(--brq-line-soft);border-radius:var(--brq-radius);overflow:hidden;transition:border-color .3s,box-shadow .3s}
.brq-faq__row--open{border-color:var(--brq-line);box-shadow:0 14px 34px rgba(0,80,219,.10)}
.brq-faq__q{display:flex;align-items:center;justify-content:space-between;width:100%;padding:19px 24px;font-family:var(--brq-font-display);font-size:17px;font-weight:600;color:var(--brq-text);text-align:left;gap:16px}
.brq-faq__chev{display:flex;color:var(--brq-blue);transition:transform .3s;flex-shrink:0}
.brq-faq__row--open .brq-faq__chev{transform:rotate(180deg)}
.brq-faq__a{max-height:0;overflow:hidden;transition:max-height .4s ease}
.brq-faq__a p{padding:0 24px 20px;font-size:14.5px;color:var(--brq-muted);line-height:1.76}


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


/* === PAGEHEAD (banner) === */
.brq-pagehead{position:relative;padding:78px 0 54px;border-bottom:1px solid var(--brq-line);overflow:hidden;background-size:cover;background-position:center;background-color:#0b1526}
.brq-pagehead::before{content:'';position:absolute;inset:0;background:linear-gradient(100deg,rgba(4,10,26,.92) 0%,rgba(4,10,26,.66) 52%,rgba(4,10,26,.38) 100%)}
.brq-pagehead::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--brq-sigline);opacity:.7}
.brq-pagehead .brq-container{position:relative;z-index:2}
.brq-pagehead__kicker{font-size:12px;letter-spacing:2.2px;text-transform:uppercase;color:#8fb3ff;margin-bottom:12px;font-weight:700}
.brq-pagehead__title{font-family:var(--brq-font-display);font-size:clamp(28px,3.4vw,32px);font-weight:700;letter-spacing:-.4px;color:#fff}
.brq-pagehead__desc{font-size:15px;color:rgba(255,255,255,.78);margin-top:12px;max-width:640px;line-height:1.72}
.brq-pagehead__meta{display:flex;align-items:center;gap:16px;margin-top:16px;font-size:13px;color:rgba(255,255,255,.72)}


/* === BREADCRUMB === */
.brq-crumb-bar{padding:15px 0;border-bottom:1px solid var(--brq-line-soft);position:relative;z-index:1}
.brq-crumb{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:13px;color:var(--brq-muted)}
.brq-crumb a{color:var(--brq-muted)}
.brq-crumb a:hover{color:var(--brq-blue)}
.brq-crumb__sep{color:rgba(0,80,219,.55)}
.brq-crumb__now{color:var(--brq-text)}


/* === CONTENT SHEET === */
.brq-content{padding:44px 0 0;position:relative;z-index:1}
.brq-sheet{padding:38px;background:#fff;border:1px solid var(--brq-line-soft);border-radius:var(--brq-radius);box-shadow:0 12px 30px rgba(2,6,23,.06)}


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

/* Prose */
.brq-prose{font-size:16px;line-height:1.85;color:rgba(2,6,23,.84)}
.brq-prose h2{font-family:var(--brq-font-display);font-size:25px;font-weight:600;color:var(--brq-text);margin:36px 0 16px;padding-bottom:10px;border-bottom:1px solid var(--brq-line-soft)}
.brq-prose h3{font-family:var(--brq-font-display);font-size:20px;font-weight:600;color:var(--brq-text);margin:28px 0 12px}
.brq-prose p{margin-bottom:16px}
.brq-prose ul,.brq-prose ol{margin:0 0 16px 22px;list-style:disc}
.brq-prose ol{list-style:decimal}
.brq-prose li{margin-bottom:8px}
.brq-prose blockquote{border-left:3px solid var(--brq-blue);padding:14px 20px;margin:22px 0;background:rgba(0,80,219,.06);border-radius:0 10px 10px 0;color:var(--brq-text)}
.brq-prose a{color:var(--brq-blue);text-decoration:underline}
.brq-prose img{border-radius:10px;margin:22px 0;border:1px solid var(--brq-line-soft)}
.brq-prose code{font-family:var(--brq-font-body);background:var(--brq-panel-2);padding:2px 7px;border-radius:5px;font-size:14px;color:var(--brq-slate)}
.brq-prose pre{background:var(--brq-panel-2);padding:20px;border-radius:10px;overflow-x:auto;margin:22px 0;border:1px solid var(--brq-line-soft)}
.brq-prose pre code{background:none;padding:0}
.brq-prose table{width:100%;border-collapse:collapse;margin:22px 0;font-size:14px}
.brq-prose th,.brq-prose td{border:1px solid var(--brq-line-soft);padding:10px 12px;text-align:left}
.brq-prose th{background:var(--brq-panel-2)}

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

/* Tags */
.brq-doc__tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:34px;padding-top:24px;border-top:1px solid var(--brq-line-soft)}
.brq-chip{padding:5px 14px;border-radius:999px;font-size:12.5px;background:rgba(0,80,219,.08);color:var(--brq-blue);border:1px solid var(--brq-line);transition:background .2s}
.brq-chip:hover{background:rgba(0,80,219,.16);color:var(--brq-blue-hi)}

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

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


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

/* Pagination */
.brq-pager{margin-top:40px;text-align:center}
.brq-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(--brq-text);margin:0 4px;border:1px solid var(--brq-line-soft);transition:background .2s,border-color .2s,color .2s}
.brq-pager .page-numbers:hover{border-color:var(--brq-blue);color:var(--brq-blue)}
.brq-pager .page-numbers.current{background:var(--brq-blue-grad);color:#fff;border-color:transparent;font-weight:700}


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


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


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

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

/* Fallback menu columns – drawer scope only */
.brq-drawer__nav .brq-menu__list--fallback{flex-direction:column;align-items:stretch;gap:4px}

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