/*
Theme Name: KryptoFX
Theme URI:
Author: KryptoFX Guild
Author URI:
Description: An emerald crypto exchange-review terminal theme in deep graphite green. A minimal N8 drawer header, an H6 bento hero, a streaming quote board, glass post cards, a full-width centered S4 article sheet and a Chivo Mono / 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: kryptofx
Tags: dark, finance, emerald-green, one-column, custom-logo
*/

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

/* === TOKENS === */
:root{
	--kfx-bg:#080a0c;
	--kfx-bg-2:#0c0f12;
	--kfx-panel:#101418;
	--kfx-panel-2:#161b20;
	--kfx-line:rgba(52,211,153,.18);
	--kfx-line-soft:rgba(232,240,236,.10);
	--kfx-acc:#34d399;
	--kfx-acc-hi:#6ee7b7;
	--kfx-acc2:#00b86a;
	--kfx-text:#e8f0ec;
	--kfx-muted:#8fa39a;
	--kfx-up:#34d399;
	--kfx-down:#fb7185;
	--kfx-acc-grad:linear-gradient(120deg,#34d399,#00b86a);
	--kfx-sigline:linear-gradient(90deg,rgba(52,211,153,0),rgba(52,211,153,.55) 32%,rgba(0,184,106,.45) 68%,rgba(0,184,106,0));
	--kfx-font-display:'Chivo Mono','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC',sans-serif;
	--kfx-font-body:'Inter','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC',sans-serif;
	--kfx-header-h:66px;
	--kfx-radius:14px;
	--kfx-radius-sm:9px;
	--kfx-glow:rgba(52,211,153,.22);
	--kfx-shadow:0 18px 44px rgba(0,0,0,.55);
}

/* === RESET & BASE === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body.kfx-body{font-family:var(--kfx-font-body);background:var(--kfx-bg);color:var(--kfx-text);line-height:1.65;min-height:100vh;overflow-x:hidden;-webkit-font-smoothing:antialiased}
body.kfx-body::before{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;
	background-image:radial-gradient(circle at 82% -10%,rgba(52,211,153,.09),transparent 55%),radial-gradient(circle at 6% 112%,rgba(0,184,106,.06),transparent 55%)}
img{max-width:100%;height:auto;display:block}
a{color:var(--kfx-acc-hi);text-decoration:none;transition:color .2s}
a:hover{color:var(--kfx-text)}
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 === */
.kfx-container{width:100%;max-width:1180px;margin:0 auto;padding:0 30px;position:relative;z-index:1}
.kfx-main{position:relative;z-index:1;padding:0 0 82px}

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

/* === KEYFRAMES === */
@keyframes kfx-pulse{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes kfx-beam{0%{transform:translateY(-110%)}100%{transform:translateY(230%)}}
@keyframes kfx-rowflash{0%{background:rgba(52,211,153,.16)}100%{background:transparent}}
@keyframes kfx-scan{0%{background-position:0 0}100%{background-position:0 28px}}

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

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

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

/* === N8 MINIMAL DRAWER HEADER === */
.kfx-header{position:sticky;top:0;z-index:1000;background:rgba(8,10,12,.86);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--kfx-line)}
.kfx-header__inner{display:flex;align-items:center;justify-content:space-between;gap:18px;height:var(--kfx-header-h)}
.kfx-header__actions{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.kfx-menu__list{display:flex;align-items:center;gap:6px}
.kfx-menu__list li a,.kfx-menu__item a{display:block;color:var(--kfx-text);font-size:14.5px;font-weight:500;opacity:.84;transition:opacity .2s,color .2s;padding:9px 14px;border-radius:var(--kfx-radius-sm);white-space:nowrap}
.kfx-menu__list li a:hover,.kfx-menu__item a:hover{opacity:1;color:var(--kfx-acc-hi);background:rgba(52,211,153,.08)}
.kfx-searchlink{color:var(--kfx-text);opacity:.72;transition:opacity .2s,color .2s,border-color .2s;display:flex;padding:8px;border-radius:var(--kfx-radius-sm);border:1px solid var(--kfx-line-soft)}
.kfx-searchlink:hover{opacity:1;color:var(--kfx-acc-hi);border-color:var(--kfx-acc)}
.kfx-searchlink .kfx-ico{width:18px;height:18px}

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

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

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

/* Overlay drawer (right) */
.kfx-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,var(--kfx-panel),var(--kfx-bg-2));border-left:1px solid var(--kfx-line);transform:translateX(100%);transition:transform .32s ease;overflow-y:auto;box-shadow:0 0 60px rgba(0,0,0,.55)}
.kfx-drawer--open{transform:translateX(0)}
.kfx-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px;border-bottom:1px solid var(--kfx-line-soft)}
.kfx-drawer__label{font-family:var(--kfx-font-display);font-size:13px;letter-spacing:1.6px;text-transform:uppercase;color:var(--kfx-acc-hi);font-weight:600}
.kfx-drawer__close{display:flex;padding:7px;border-radius:var(--kfx-radius-sm);color:var(--kfx-muted);border:1px solid var(--kfx-line-soft);transition:color .2s,border-color .2s}
.kfx-drawer__close:hover{color:var(--kfx-acc-hi);border-color:var(--kfx-acc)}
.kfx-drawer__close .kfx-ico{width:20px;height:20px}
.kfx-drawer__nav{padding:18px 22px}
.kfx-menu__list--drawer{flex-direction:column;align-items:stretch;gap:4px}
.kfx-menu__list--drawer li a{padding:12px 14px;border-left:2px solid transparent;border-radius:var(--kfx-radius-sm)}
.kfx-menu__list--drawer li a:hover{color:var(--kfx-acc-hi);background:rgba(52,211,153,.08);border-left-color:var(--kfx-acc)}
/* fallback menu column rules – scoped to the drawer only */
.kfx-drawer .kfx-menu__list--fallback{flex-direction:column;align-items:stretch;gap:4px}
.kfx-drawer .kfx-menu__list--fallback .kfx-menu__item a{padding:12px 14px;border-left:2px solid transparent}
.kfx-drawer .kfx-menu__list--fallback .kfx-menu__item a:hover{border-left-color:var(--kfx-acc)}
.kfx-drawer__cta{display:flex;flex-direction:column;gap:11px;padding:8px 22px 22px;margin-top:auto}
.kfx-drawer__foot{padding:0 22px 24px;border-top:1px solid var(--kfx-line-soft);padding-top:18px}

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

/* === HERO BENTO (H6) === */
.kfx-hero{position:relative;overflow:hidden;padding:60px 0 74px;border-bottom:1px solid var(--kfx-line)}
.kfx-hero__glow{position:absolute;width:640px;height:640px;border-radius:50%;filter:blur(130px);opacity:.14;z-index:0;pointer-events:none;background:var(--kfx-acc);top:-240px;right:-160px}
.kfx-hero .kfx-container{position:relative;z-index:2}
.kfx-bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-areas:"intro intro t1 t2" "intro intro t3 t4";gap:18px;align-items:stretch}
.kfx-bento__intro{grid-area:intro;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:38px 36px;background:linear-gradient(150deg,rgba(16,20,24,.92),rgba(12,15,18,.72));border:1px solid var(--kfx-line-soft);border-radius:var(--kfx-radius);box-shadow:var(--kfx-shadow)}
.kfx-hero__badge{display:inline-flex;align-items:center;gap:9px;font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:var(--kfx-acc-hi);border:1px solid var(--kfx-line);background:rgba(16,20,24,.6);padding:6px 14px;border-radius:999px;margin-bottom:22px;font-weight:600;font-family:var(--kfx-font-display);align-self:flex-start}
.kfx-hero__title{font-family:var(--kfx-font-display);font-size:clamp(38px,4.2vw,46px);font-weight:700;line-height:1.18;letter-spacing:-.6px;margin-bottom:20px}
.kfx-hero__text{font-size:15.5px;color:var(--kfx-muted);line-height:1.78;max-width:560px;margin-bottom:30px}
.kfx-hero__actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:34px}
.kfx-herostats{display:flex;align-items:center;gap:40px;flex-wrap:wrap;padding-top:26px;border-top:1px solid var(--kfx-line-soft)}
.kfx-herostat{display:flex;flex-direction:column;gap:5px}
.kfx-herostat b{font-family:var(--kfx-font-display);font-size:31px;font-weight:700;letter-spacing:-.5px}
.kfx-herostat span{font-size:12.5px;color:var(--kfx-muted)}
.kfx-bento__tile{min-width:0;padding:24px 22px;background:rgba(16,20,24,.62);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid var(--kfx-line-soft);border-radius:var(--kfx-radius);display:flex;flex-direction:column;gap:8px;transition:transform .3s,border-color .3s}
.kfx-bento__tile:hover{transform:translateY(-4px);border-color:var(--kfx-line)}
.kfx-bento__tile--score{grid-area:t1}
.kfx-bento__tile--dex{grid-area:t2}
.kfx-bento__tile--focus{grid-area:t3}
.kfx-bento__tile--academy{grid-area:t4}
.kfx-bento__tag{display:inline-flex;align-items:center;gap:7px;font-family:var(--kfx-font-display);font-size:12px;letter-spacing:1.4px;text-transform:uppercase;color:var(--kfx-acc-hi);font-weight:600}
.kfx-bento__tag .kfx-ico{width:15px;height:15px}
.kfx-bento__val{font-family:var(--kfx-font-display);font-size:32px;font-weight:700;letter-spacing:-.8px;line-height:1.1}
.kfx-bento__cap{font-size:12.5px;color:var(--kfx-muted);line-height:1.55}
.kfx-bento__title{font-family:var(--kfx-font-display);font-size:16px;font-weight:600;color:var(--kfx-text);line-height:1.4}
.kfx-bento__text{font-size:13px;color:var(--kfx-muted);line-height:1.66}

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

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

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

/* === FEATURES === */
.kfx-feat__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.kfx-feat__card{padding:30px 26px;background:rgba(16,20,24,.62);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid var(--kfx-line-soft);border-radius:var(--kfx-radius);position:relative;overflow:hidden;transition:transform .3s,border-color .3s,box-shadow .3s}
.kfx-feat__card::before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:var(--kfx-acc-grad);transform:scaleX(0);transform-origin:left;transition:transform .35s}
.kfx-feat__card:hover{transform:translateY(-6px);border-color:var(--kfx-line);box-shadow:0 20px 46px rgba(0,0,0,.5)}
.kfx-feat__card:hover::before{transform:scaleX(1)}
.kfx-feat__icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;background:rgba(52,211,153,.12);color:var(--kfx-acc-hi);border-radius:12px;margin-bottom:18px}
.kfx-feat__icon .kfx-ico{width:26px;height:26px}
.kfx-feat__title{font-family:var(--kfx-font-display);font-size:18px;font-weight:600;margin-bottom:10px;color:var(--kfx-text)}
.kfx-feat__desc{font-size:14px;color:var(--kfx-muted);line-height:1.72}

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

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

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

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

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

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

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

/* === CONTENT SHEET === */
.kfx-content{padding:44px 0 0;position:relative;z-index:1}
.kfx-sheet{padding:38px;background:var(--kfx-panel);border:1px solid var(--kfx-line-soft);border-radius:var(--kfx-radius);box-shadow:0 12px 30px rgba(0,0,0,.34)}

/* === SINGLE LAYOUT (S4 full-width centered) === */
.kfx-doc__layout{display:block;max-width:880px;margin:0 auto}
.kfx-doc__body{min-width:0}

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

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

/* Tags */
.kfx-doc__tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:34px;padding-top:24px;border-top:1px solid var(--kfx-line-soft)}
.kfx-chip{padding:5px 14px;border-radius:999px;font-size:12.5px;background:rgba(52,211,153,.12);color:var(--kfx-acc-hi);border:1px solid var(--kfx-line);transition:background .2s}
.kfx-chip:hover{background:rgba(52,211,153,.22);color:var(--kfx-text)}

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

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

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

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

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

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

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

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

/* =========================================================
 * RESPONSIVE – @media at very end (no base rules after)
 * ========================================================= */
@media(max-width:1024px){
	.kfx-container{padding:0 24px;max-width:100%}
	/* bento -> 2 columns, intro full row */
	.kfx-bento{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"intro intro" "t1 t2" "t3 t4";gap:16px}
	.kfx-bento__intro{padding:30px 26px}
	.kfx-hero__title{font-size:clamp(32px,6vw,42px)}
	/* grids step down */
	.kfx-feat__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.kfx-prod__grid{grid-template-columns:1fr}
	.kfx-plans__grid{grid-template-columns:1fr;max-width:480px;margin:0 auto}
	.kfx-feed{grid-template-columns:repeat(2,minmax(0,1fr))}
	.kfx-data__row{grid-template-columns:repeat(2,1fr);gap:28px}
	.kfx-figure:nth-child(2)::after{display:none}
	.kfx-list{grid-template-columns:repeat(2,minmax(0,1fr))}
	.kfx-footer__cols{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px}
}
@media(max-width:768px){
	.kfx-logo__text{font-size:18px}
	.kfx-header__actions .kfx-btn{display:none}
	/* hero + titles */
	.kfx-hero{padding:40px 0 54px}
	.kfx-hero__title{font-size:clamp(30px,7.4vw,34px)}
	.kfx-hero__text{font-size:15px;margin-bottom:26px}
	.kfx-herostats{gap:30px}
	.kfx-band{padding:60px 0}
	.kfx-band__title{font-size:clamp(24px,6.4vw,28px)}
	.kfx-pagehead{padding:52px 0 34px}
	.kfx-pagehead__title{font-size:clamp(24px,6.6vw,28px)}
	.kfx-pagehead__desc{font-size:14px}
	/* grids */
	.kfx-feat__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.kfx-feed{grid-template-columns:repeat(2,minmax(0,1fr))}
	.kfx-list{grid-template-columns:repeat(2,minmax(0,1fr))}
	/* content + prose typography */
	.kfx-sheet{padding:24px}
	.kfx-doc__pager{grid-template-columns:1fr}
	.kfx-doc__hero{margin:-24px -24px 24px}
	.kfx-prose{font-size:15.5px}
	.kfx-prose h2{font-size:21px;margin:28px 0 14px}
	.kfx-prose h3{font-size:17px}
	.kfx-prose table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
	/* searchform stack */
	.kfx-find{flex-direction:column}
	.kfx-find__btn{width:100%}
	/* market table: scroll + drop extra column */
	.kfx-board__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
	.kfx-quote{min-width:560px}
	.kfx-quote th,.kfx-quote td{padding:11px 14px;font-size:13.5px}
	.kfx-quote__extra,.kfx-quote th.kfx-quote__extra{display:none}
	/* breadcrumb wraps */
	.kfx-crumb{gap:7px;font-size:12.5px;line-height:1.6}
	/* launch + faq spacing */
	.kfx-launch{padding:60px 0}
	.kfx-launch__title{font-size:clamp(24px,6.6vw,28px)}
	.kfx-faq__q{padding:17px 18px;font-size:15px}
	.kfx-faq__a p{padding:0 18px 18px}
	/* buttons */
	.kfx-btn{padding:10px 20px;font-size:14px}
	/* plans */
	.kfx-plan__price{font-size:40px}
	/* footer – link columns collapse to 3, brand stays full row */
	.kfx-footer{padding:44px 0 0}
	.kfx-footer__brand{padding-bottom:24px}
	.kfx-footer__about{max-width:none;font-size:13.5px;line-height:1.6;margin:12px 0 16px}
	.kfx-footer__cols{grid-template-columns:repeat(3,1fr);gap:24px 18px;margin-bottom:30px}
	.kfx-footer__head{font-size:14px;margin-bottom:11px}
	.kfx-footer__list li{margin-bottom:8px;line-height:1.5}
	.kfx-footer__list a{font-size:13px;overflow-wrap:break-word}
	.kfx-footer__note{font-size:12px;padding:16px 0;line-height:1.6}
	.kfx-footer__base{padding:16px 0;font-size:12px}
	/* long titles wrap instead of overflowing */
	.kfx-hero__title,.kfx-pagehead__title,.kfx-band__title,.kfx-card__title,.kfx-launch__title{overflow-wrap:break-word}
}
@media(max-width:480px){
	.kfx-container{padding:0 16px}
	.kfx-logo__text{font-size:17.5px}
	.kfx-logo__glyph{width:38px;height:38px;font-size:14px}
	.kfx-searchlink{display:none}
	/* hero bento single column */
	.kfx-hero{padding:32px 0 46px}
	.kfx-bento{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "t1" "t2" "t3" "t4"}
	.kfx-bento__intro{padding:26px 20px}
	.kfx-hero__title{font-size:clamp(30px,8.4vw,34px)}
	.kfx-hero__badge{font-size:12px;margin-bottom:18px}
	.kfx-hero__text{font-size:14.5px;margin-bottom:24px}
	.kfx-hero__actions{flex-direction:column;align-items:stretch;gap:12px}
	.kfx-hero__actions .kfx-btn{width:100%}
	.kfx-herostats{gap:24px;padding-top:22px}
	.kfx-herostat b{font-size:27px}
	/* sections */
	.kfx-band{padding:52px 0}
	.kfx-band__head{margin-bottom:32px}
	.kfx-band__title{font-size:clamp(24px,7vw,26px)}
	.kfx-band__intro{font-size:15px}
	/* features + figures */
	.kfx-feat__grid{grid-template-columns:1fr}
	.kfx-data{padding:50px 0}
	.kfx-data__row{grid-template-columns:repeat(2,1fr);gap:22px}
	.kfx-figure::after{display:none}
	.kfx-figure__num{font-size:30px}
	/* pagehead */
	.kfx-pagehead{padding:44px 0 28px}
	.kfx-pagehead__title{font-size:clamp(24px,7vw,26px)}
	.kfx-pagehead__meta{flex-wrap:wrap;gap:10px 16px;font-size:12.5px}
	/* cards */
	.kfx-feat__card{padding:24px 20px}
	.kfx-prod__card{padding:26px 20px}
	.kfx-plan{padding:28px 22px}
	.kfx-plan__price{font-size:40px}
	.kfx-card__body{padding:18px 20px}
	.kfx-card__title{font-size:16px}
	/* feed + list single column */
	.kfx-feed{grid-template-columns:minmax(0,1fr)}
	.kfx-list{grid-template-columns:minmax(0,1fr)}
	/* single */
	.kfx-sheet{padding:20px}
	.kfx-doc__hero{margin:-20px -20px 22px}
	.kfx-doc__pager{gap:12px}
	.kfx-doc__prev,.kfx-doc__next{padding:14px}
	.kfx-prose{font-size:15px}
	/* market table: drop change column too */
	.kfx-quote{min-width:420px}
	.kfx-quote__chg,.kfx-quote thead th:nth-child(3){display:none}
	/* launch */
	.kfx-launch{padding:52px 0}
	.kfx-launch__btns{flex-direction:column;align-items:stretch}
	.kfx-launch__sub{font-size:15px;margin-bottom:26px}
	/* footer – keep 3 columns, tighter */
	.kfx-footer{padding:38px 0 0}
	.kfx-footer__row{flex-direction:column;align-items:flex-start;gap:14px}
	.kfx-footer__cols{grid-template-columns:repeat(3,1fr);gap:20px 14px;margin-bottom:26px}
	.kfx-footer__head{font-size:13px;margin-bottom:9px}
	.kfx-footer__list li{margin-bottom:7px;line-height:1.45}
	.kfx-footer__list a{font-size:12.5px;overflow-wrap:break-word}
	.kfx-footer__note{font-size:12px;padding:14px 0;line-height:1.55;text-align:center}
	.kfx-footer__base{flex-direction:column;gap:10px;text-align:center;padding:14px 0;font-size:12px}
	.kfx-footer__base span{overflow-wrap:break-word}
	/* 404 */
	.kfx-lost{padding:52px 20px}
	.kfx-lost__title{font-size:24px}
}