/* =====================================================================
   MM FORGE AFRICA - FORGE DESIGN SYSTEM
   Premium black and gold technology platform. Loaded LAST on every page,
   so it re-skins the existing markup without touching any logic.
   Sections: 1 tokens, 2 base, 3 background, 4 buttons, 5 cards and glass,
   6 forms, 7 header and nav, 8 homepage, 9 tools directory, 10 courses,
   11 dashboards, 12 footer, 13 legacy re-skin, 14 responsive
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
html:root{
 --fg-bk:#040404;--fg-bk2:#0a0908;--fg-panel:rgba(19,17,12,.78);--fg-panel2:rgba(11,10,8,.88);
 --fg-gold:#f0b83f;--fg-gold-hi:#ffdb7d;--fg-gold-lo:#b98420;--fg-champ:#f4e3b5;--fg-ivory:#f7f0dd;--fg-bronze:#8a5f1c;
 --fg-mute:#b9b09c;--fg-line:rgba(240,184,63,.42);--fg-line-soft:rgba(240,184,63,.2);--fg-hair:rgba(255,255,255,.07);
 --fg-glow:0 0 0 1px rgba(240,184,63,.35),0 0 26px -4px rgba(240,184,63,.35);
 --fg-glow-lg:0 0 0 1px rgba(240,184,63,.45),0 0 60px -10px rgba(240,184,63,.45);
 --fg-grad:linear-gradient(180deg,#ffdc7e 0%,#f0b83f 52%,#c98f1f 100%);
 --fg-grad-text:linear-gradient(180deg,#fff0c0 0%,#f5c653 46%,#c98a1c 100%);
 --fg-ease:cubic-bezier(.22,1,.36,1);
 --fg-font:'Montserrat','Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
 --fg-r:18px;--fg-r2:26px;--fg-head:76px;
 /* legacy variable names used by the existing pages, re-pointed at the new palette */
 --bg:#070706;--card:#11100c;--card2:#17150f;--gold:#f0b83f;--gold2:#ffdb7d;--gold3:#b98420;--cream:#f7f0dd;--mute:#b9b09c;
 --line:rgba(240,184,63,.38);--hair:rgba(255,255,255,.07);--hair2:rgba(240,184,63,.3);--disp:var(--fg-font);--ui:var(--fg-font);
 --goldgrad:var(--fg-grad);--r:18px;--r2:26px;
 --blk:#050505;--lg-smoke:rgba(14,12,8,.72);
}

/* ---------- 2. BASE ---------- */
html{scroll-padding-top:calc(var(--fg-head) + 14px);-webkit-text-size-adjust:100%}
html body{font-family:var(--fg-font)!important;background:var(--fg-bk)!important;color:var(--fg-ivory);line-height:1.6;-webkit-font-smoothing:antialiased;animation:none}
html body h1,html body h2,html body h3,html body h4{font-family:var(--fg-font)!important;font-weight:700;letter-spacing:-.02em;color:var(--fg-ivory);line-height:1.12}
html body h1 em,html body h2 em,html body h3 em,.fg-gold{font-style:normal!important;background:var(--fg-grad-text);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
html body p,html body li{color:var(--fg-mute)}
html body b,html body strong{color:var(--fg-ivory)}
html body a{color:var(--fg-gold);text-underline-offset:3px}
html body a:hover{color:var(--fg-gold-hi)}
::selection{background:rgba(240,184,63,.4);color:#000}
*{scrollbar-width:thin;scrollbar-color:rgba(240,184,63,.45) #0b0a08}
:focus-visible{outline:2px solid var(--fg-gold-hi)!important;outline-offset:3px!important;border-radius:8px}
.fg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.fg-skip{position:fixed;left:12px;top:-60px;z-index:9999;background:var(--fg-grad);color:#150f02!important;padding:10px 16px;border-radius:999px;font-weight:700;transition:top .2s}
.fg-skip:focus{top:12px}
html body section{padding:56px 0}
html body .wrap{max-width:1240px;padding-left:24px;padding-right:24px}

/* ---------- 3. BACKGROUND: black, gold light, fine grid, no other hues ---------- */
html body .lg-bg{background:radial-gradient(120% 60% at 50% -14%,#120e07 0%,#050504 55%,#020202 100%)!important}
html body .lg-bg i:nth-child(1){background:radial-gradient(circle,rgba(240,184,63,.1) 0%,rgba(150,100,20,.045) 40%,transparent 68%)!important}
html body .lg-bg i:nth-child(2){background:radial-gradient(circle,rgba(214,150,40,.07) 0%,rgba(110,70,15,.03) 40%,transparent 68%)!important}
html body .lg-bg i:nth-child(3){background:radial-gradient(circle,rgba(240,184,63,.05) 0%,rgba(120,80,20,.025) 40%,transparent 68%)!important}
body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;
 background:
  linear-gradient(rgba(240,184,63,.045) 1px,transparent 1px) 0 0/64px 64px,
  linear-gradient(90deg,rgba(240,184,63,.045) 1px,transparent 1px) 0 0/64px 64px;
 -webkit-mask-image:radial-gradient(80% 60% at 50% 0%,#000 0%,transparent 78%);mask-image:radial-gradient(80% 60% at 50% 0%,#000 0%,transparent 78%)}
.lg-sp{background:linear-gradient(90deg,transparent,#f0b83f 30%,#ffdb7d)!important}

/* ---------- 4. BUTTONS ---------- */
html body .btn,html body a.btn,html body button.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font:700 .95rem var(--fg-font)!important;letter-spacing:.005em;color:#1a1204!important;background:var(--fg-grad)!important;border:1px solid rgba(255,225,140,.7)!important;border-radius:999px!important;padding:13px 26px!important;text-decoration:none;cursor:pointer;box-shadow:0 0 0 1px rgba(0,0,0,.4),0 10px 30px -10px rgba(240,184,63,.65),inset 0 1px 0 rgba(255,255,255,.5);transition:transform .25s var(--fg-ease),box-shadow .25s,filter .25s;text-shadow:none}
html body .btn:hover{transform:translateY(-2px);filter:brightness(1.06);box-shadow:0 0 0 1px rgba(0,0,0,.4),0 16px 40px -10px rgba(240,184,63,.85),inset 0 1px 0 rgba(255,255,255,.55);color:#1a1204!important}
html body .btn:active{transform:translateY(0)}
html body .btn.ghost,html body a.btn.ghost,html body button.btn.ghost{background:rgba(10,9,6,.7)!important;color:var(--fg-gold-hi)!important;border:1px solid var(--fg-line)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)}
html body .btn.ghost:hover{background:rgba(240,184,63,.12)!important;border-color:var(--fg-gold)!important;box-shadow:var(--fg-glow);color:var(--fg-gold-hi)!important}
html body .btn .ic{stroke:#1a1204}html body .btn.ghost .ic{stroke:var(--fg-gold)}
html body .btn.sm{padding:9px 18px!important;font-size:.84rem!important}
html body .btn.full{width:100%}
.fg-btn-sub{display:block;font-weight:500;font-size:.72rem;opacity:.78;letter-spacing:.01em;margin-top:2px}
.fg-btn-2l{flex-direction:column;gap:0!important;line-height:1.15;padding:13px 30px!important}

/* ---------- 5. CARDS AND GLASS ---------- */
html body .lg,html body .card,html body .plan,html body .mini,html body .opt,html body .box,html body .panel,html body .bundle,html body .stc,html body .hm-ml a,html body .tstage,html body .adv,html body .rev,html body .rk-c,html body .ac,html body .lv,html body .res,html body .q,html body .hm-feat{
 background:linear-gradient(155deg,rgba(32,27,17,.82) 0%,rgba(14,12,8,.9) 55%,rgba(8,7,5,.92) 100%)!important;
 border:1px solid var(--fg-line-soft)!important;border-radius:var(--fg-r)!important;
 box-shadow:inset 0 1px 0 rgba(255,236,170,.08),0 18px 50px -24px rgba(0,0,0,.9)!important;
 -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
 transition:transform .35s var(--fg-ease),border-color .3s,box-shadow .35s}
html body .card:hover,html body .plan:hover,html body .mini:hover,html body .opt:hover,html body .stc:hover,html body .hm-ml a:hover,html body .rk-c:hover{border-color:var(--fg-line)!important;box-shadow:inset 0 1px 0 rgba(255,236,170,.12),var(--fg-glow),0 22px 50px -22px rgba(240,184,63,.35)!important;transform:translateY(-4px)}
html body .lg::before,html body .lg::after{opacity:.6}
html body .card h3,html body .plan .pn,html body .stc b,html body .hm-ml a b{color:var(--fg-ivory)}
html body .pp,html body .price{color:var(--fg-gold-hi)!important;font-weight:800}
html body .pill,html body .chips span,html body .isk{background:rgba(240,184,63,.08)!important;border:1px solid var(--fg-line-soft)!important;color:var(--fg-champ)!important;border-radius:999px!important}
html body .ic{stroke:var(--fg-gold)}
html body hr{border:0;border-top:1px solid var(--fg-line-soft)}
html body table{border-collapse:collapse}
html body th{color:var(--fg-champ)}html body td,html body th{border-color:var(--fg-line-soft)!important}
html body details{background:rgba(15,13,9,.7)!important;border:1px solid var(--fg-line-soft)!important;border-radius:14px!important}
html body details summary{color:var(--fg-ivory)}

/* fg-card: the one reusable dashboard card */
.fg-card{position:relative;display:flex;gap:14px;align-items:center;padding:18px;border-radius:var(--fg-r);text-decoration:none;color:var(--fg-ivory)!important;background:linear-gradient(155deg,rgba(34,28,17,.85),rgba(12,10,7,.92));border:1px solid var(--fg-line-soft);box-shadow:inset 0 1px 0 rgba(255,236,170,.09),0 18px 40px -24px #000;transition:transform .35s var(--fg-ease),border-color .3s,box-shadow .35s;overflow:hidden}
.fg-card::before{content:'';position:absolute;inset:0;background:radial-gradient(260px 120px at 12% 0%,rgba(240,184,63,.16),transparent 70%);opacity:0;transition:opacity .35s;pointer-events:none}
.fg-card:hover{transform:translateY(-4px);border-color:var(--fg-line);box-shadow:inset 0 1px 0 rgba(255,236,170,.14),var(--fg-glow),0 26px 50px -22px rgba(240,184,63,.4)}
.fg-card:hover::before{opacity:1}
.fg-ico{flex:none;width:46px;height:46px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(160deg,rgba(240,184,63,.2),rgba(240,184,63,.04));border:1px solid var(--fg-line-soft);color:var(--fg-gold-hi)}
.fg-ico svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.fg-card b{display:block;font-size:.98rem;font-weight:700;line-height:1.25;color:var(--fg-ivory)}
.fg-card small{display:block;font-size:.78rem;color:var(--fg-mute);margin-top:3px;line-height:1.35}
.fg-go{margin-left:auto;flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--fg-line);color:var(--fg-gold-hi);transition:background .3s,transform .3s var(--fg-ease)}
.fg-go svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fg-card:hover .fg-go{background:var(--fg-grad);color:#1a1204;transform:translateX(3px)}
.fg-eyebrow{display:inline-flex;align-items:center;gap:10px;padding:7px 16px;border-radius:999px;font:600 .78rem var(--fg-font);color:var(--fg-champ);background:rgba(240,184,63,.08);border:1px solid var(--fg-line);letter-spacing:.02em}
.fg-eyebrow svg{width:15px;height:15px;fill:none;stroke:var(--fg-gold);stroke-width:1.8}

/* ---------- 6. FORMS ---------- */
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),html body select,html body textarea{background:rgba(5,5,4,.85)!important;color:var(--fg-ivory)!important;border:1px solid rgba(240,184,63,.28)!important;border-radius:14px!important;font-family:var(--fg-font)!important;transition:border-color .2s,box-shadow .2s}
html body input:focus,html body select:focus,html body textarea:focus{border-color:var(--fg-gold)!important;box-shadow:0 0 0 3px rgba(240,184,63,.18)!important;outline:none!important}
html body ::placeholder{color:rgba(185,176,156,.55)}
html body label{color:var(--fg-champ);font-weight:600}
html body input[type=checkbox],html body input[type=radio]{accent-color:var(--fg-gold)}
html body input[type=range]{accent-color:var(--fg-gold)}
html body .tabs,html body .subnav,html body .ex-tabs{background:rgba(6,6,5,.7)!important;border:1px solid var(--fg-line-soft)!important;border-radius:999px!important;padding:4px}
html body .tabs button,html body .subnav button,html body .ex-tabs button{background:transparent!important;color:var(--fg-mute)!important;border:0!important;border-radius:999px!important;font-family:var(--fg-font)!important;font-weight:600}
html body .tabs button.on,html body .subnav button.on,html body .ex-tabs button.on,html body .ex-tabs button[aria-selected=true]{background:var(--fg-grad)!important;color:#1a1204!important;box-shadow:0 8px 24px -10px rgba(240,184,63,.7)}

/* ---------- 7. GLOBAL HEADER AND NAVIGATION ---------- */
.fg-head{position:sticky;top:0;z-index:900;height:var(--fg-head);background:linear-gradient(180deg,rgba(4,4,3,.94),rgba(6,5,4,.82));-webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%);border-bottom:1px solid var(--fg-line-soft);box-shadow:0 1px 0 rgba(240,184,63,.1),0 18px 40px -30px rgba(240,184,63,.5)}
.fg-head::after{content:'';position:absolute;left:8%;right:8%;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,219,125,.8),transparent);opacity:.55}
.fg-bar{height:100%;max-width:1360px;margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:20px}
.fg-brand{display:flex;align-items:center;gap:11px;text-decoration:none;flex:none}
.fg-brand img{height:44px;width:auto;display:block;filter:drop-shadow(0 0 12px rgba(240,184,63,.35))}
.fg-brand span{display:block;font:800 1.06rem/1 var(--fg-font);letter-spacing:.07em;color:var(--fg-ivory)}
.fg-brand small{display:block;font:500 .6rem/1 var(--fg-font);letter-spacing:.42em;color:var(--fg-gold);margin-top:5px}
.fgnav{flex:1;display:flex;justify-content:center;min-width:0}
.fg-list{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:2px}
.fg-list>li{position:relative;margin:0}
.fg-list>li>a,.fg-dd{display:inline-flex;align-items:center;gap:6px;padding:11px 15px;border-radius:999px;background:none;border:0;font:600 .86rem var(--fg-font);color:var(--fg-ivory)!important;text-decoration:none;cursor:pointer;white-space:nowrap;transition:color .2s,background .2s}
.fg-list>li>a:hover,.fg-dd:hover,.fg-item.open>.fg-dd,.fg-item:hover>.fg-dd{color:var(--fg-gold-hi)!important;background:rgba(240,184,63,.08)}
.fg-list>li.fg-on>a,.fg-list>li.fg-on>.fg-dd{color:var(--fg-gold-hi)!important;background:rgba(240,184,63,.1);box-shadow:inset 0 0 0 1px rgba(240,184,63,.3)}
.fg-list>li.fg-on::after{content:'';position:absolute;left:22%;right:22%;bottom:2px;height:2px;border-radius:2px;background:var(--fg-grad);box-shadow:0 0 12px rgba(240,184,63,.9)}
.fg-chev{width:11px;height:11px;transition:transform .25s}
.fg-item:hover .fg-chev,.fg-item.open .fg-chev{transform:rotate(180deg)}
.fg-menu{position:absolute;left:50%;top:100%;min-width:264px;margin:12px 0 0;padding:10px;list-style:none;border-radius:18px;background:linear-gradient(160deg,rgba(28,23,14,.97),rgba(9,8,6,.98));border:1px solid var(--fg-line);box-shadow:var(--fg-glow-lg),0 30px 60px -20px #000;opacity:0;visibility:hidden;transform:translate(-50%,8px);transition:opacity .22s,transform .25s var(--fg-ease),visibility .22s}
.fg-menu.wide{min-width:560px;display:grid;grid-template-columns:1fr 1fr;gap:2px}
.fg-item::before{content:'';position:absolute;left:-10px;right:-10px;top:100%;height:14px}
.fg-item:hover>.fg-menu,.fg-item.open>.fg-menu,.fg-item:focus-within>.fg-menu{opacity:1;visibility:visible;transform:translate(-50%,0)}
.fg-item.shut>.fg-menu{opacity:0!important;visibility:hidden!important}
.fg-menu li{margin:0}
.fg-menu a{display:block;padding:10px 14px;border-radius:12px;color:var(--fg-ivory)!important;text-decoration:none;font:600 .84rem var(--fg-font);transition:background .2s,color .2s}
.fg-menu a small{display:block;font-weight:500;font-size:.72rem;color:var(--fg-mute);margin-top:2px}
.fg-menu a:hover,.fg-menu a.on{background:rgba(240,184,63,.12);color:var(--fg-gold-hi)!important}
.fg-menu .fg-sep{height:1px;margin:6px 8px;background:var(--fg-line-soft);grid-column:1/-1}
.fg-actions{display:flex;align-items:center;gap:10px;flex:none}
.fg-search{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(10,9,6,.8);border:1px solid var(--fg-line-soft);color:var(--fg-ivory);cursor:pointer;transition:border-color .2s,box-shadow .2s}
.fg-search:hover{border-color:var(--fg-gold);box-shadow:var(--fg-glow)}
.fg-search svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.fg-login,.fg-cta{display:inline-flex;align-items:center;gap:8px;padding:11px 22px;border-radius:999px;font:700 .86rem var(--fg-font);text-decoration:none;white-space:nowrap;transition:transform .25s var(--fg-ease),box-shadow .25s}
html body .fg-login{color:var(--fg-gold-hi)!important;border:1px solid var(--fg-line);background:rgba(10,9,6,.75)}
html body .fg-login:hover{box-shadow:var(--fg-glow);transform:translateY(-1px)}
html body .fg-cta{color:#1a1204!important;background:var(--fg-grad);border:1px solid rgba(255,225,140,.7);box-shadow:0 10px 28px -10px rgba(240,184,63,.7),inset 0 1px 0 rgba(255,255,255,.45)}
html body .fg-cta:hover{transform:translateY(-2px);box-shadow:0 16px 36px -10px rgba(240,184,63,.9),inset 0 1px 0 rgba(255,255,255,.5)}
.fg-cta svg,.fg-btn-arrow{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.fg-burger{display:none;width:44px;height:44px;border-radius:50%;background:rgba(10,9,6,.8);border:1px solid var(--fg-line-soft);color:var(--fg-ivory);cursor:pointer;place-items:center;margin-left:auto}
.fg-burger svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
/* search overlay */
.fg-sov{position:fixed;inset:0;z-index:1200;background:rgba(2,2,2,.82);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:none;align-items:flex-start;justify-content:center;padding:12vh 18px 18px}
.fg-sov.on{display:flex}
.fg-sbox{width:min(680px,100%);border-radius:22px;padding:18px;background:linear-gradient(160deg,rgba(30,25,15,.98),rgba(9,8,6,.99));border:1px solid var(--fg-line);box-shadow:var(--fg-glow-lg)}
.fg-sbox input{width:100%;padding:15px 18px!important;font-size:1.02rem!important}
.fg-sres{list-style:none;margin:12px 0 0;padding:0;max-height:52vh;overflow:auto}
.fg-sres a{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;color:var(--fg-ivory)!important;text-decoration:none;font-weight:600;font-size:.9rem}
.fg-sres a small{color:var(--fg-mute);font-weight:500}
.fg-sres a:hover,.fg-sres a:focus{background:rgba(240,184,63,.12)}
.fg-sempty{padding:14px;color:var(--fg-mute);font-size:.9rem}
@media(max-width:1480px){.fg-list>li>a,.fg-dd{padding:10px 9px;font-size:.8rem}.fg-bar{gap:12px}.fg-login{padding:10px 16px}.fg-cta{padding:10px 16px}}
@media(max-width:1080px){
 .fg-head{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(4,4,3,.97)}
 .fg-burger{display:grid}
 .fg-actions .fg-login{display:none}
 .fgnav{position:fixed;left:0;right:0;top:var(--fg-head);bottom:0;z-index:890;display:block;padding:14px 18px 40px;overflow:auto;background:rgba(4,4,3,.98);transform:translateX(100%);transition:transform .35s var(--fg-ease);visibility:hidden}
 .fg-head.fg-open .fgnav{transform:none;visibility:visible}
 .fg-list{flex-direction:column;align-items:stretch;gap:4px}
 .fg-list>li>a,.fg-dd{width:100%;justify-content:space-between;padding:15px 16px;font-size:1rem;border-radius:14px}
 .fg-list>li.fg-on::after{display:none}
 .fg-chev{margin-left:auto}
 .fg-menu,.fg-menu.wide{position:static;transform:none!important;visibility:visible;opacity:1;display:none;min-width:0;margin:2px 0 8px;box-shadow:none;border-radius:14px;grid-template-columns:1fr}
 .fg-item.open>.fg-menu{display:block}
 .fg-item:hover>.fg-menu{display:none}.fg-item.open:hover>.fg-menu{display:block}
 .fg-item::before{display:none}
 .fg-item.shut>.fg-menu{display:none!important}
 .fg-mlogin{display:block!important}
}
.fg-mlogin,.fg-msearch{display:none}
@media(max-width:520px){.fg-search{display:none}.fg-msearch{display:block!important}.fg-brand span{font-size:.92rem}.fg-brand img{height:38px}.fg-actions .fg-cta{padding:9px 14px;font-size:.78rem}.fg-bar{padding:0 14px;gap:8px}.fg-actions{gap:6px}.fg-search{width:40px;height:40px}.fg-burger{width:40px;height:40px}}
@media(max-width:380px){.fg-brand span small{display:none}.fg-actions .fg-cta svg{display:none}}

/* ---------- 8. HOMEPAGE ---------- */
.fg-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:36px;align-items:center;padding:34px 0 20px;max-width:1360px;margin:0 auto;text-align:left}
.fg-hero::before{content:'';position:absolute;left:-12%;right:-12%;top:-8%;bottom:-6%;background:radial-gradient(55% 60% at 70% 45%,rgba(240,184,63,.18),transparent 70%),radial-gradient(40% 50% at 10% 20%,rgba(240,184,63,.1),transparent 70%);pointer-events:none;z-index:-1}
.fg-hero h1{font-size:clamp(2.6rem,6.2vw,5.1rem)!important;font-weight:800;letter-spacing:-.035em;line-height:1.02;margin:22px 0 22px;text-align:left!important}
.fg-hero h1 span{display:block;background:linear-gradient(180deg,#ffffff 0%,#d8d2c4 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.fg-hero h1 em{display:block}
.fg-hero p.fg-lead{font-size:clamp(1rem,1.5vw,1.14rem);line-height:1.65;color:#d6cdb8;max-width:560px;margin:0 0 28px;text-align:left}
.fg-cta-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.fg-hero-note{margin:18px 0 0;font-size:.84rem;color:var(--fg-mute);text-align:left}
.fg-hero-note b{color:var(--fg-champ)}
/* dashboard mockup (decorative preview, built in CSS, no photographs) */
.fg-dash{position:relative;perspective:1600px;min-width:0}
.fg-dash-frame{position:relative;transform:rotateY(-9deg) rotateX(4deg) rotateZ(1.2deg);transform-style:preserve-3d;border-radius:26px;padding:16px;background:linear-gradient(150deg,rgba(40,33,19,.95),rgba(9,8,6,.97));border:1px solid rgba(255,219,125,.55);box-shadow:0 0 0 1px rgba(0,0,0,.6),0 0 80px -10px rgba(240,184,63,.5),0 50px 90px -30px #000;animation:fgfloat 9s ease-in-out infinite alternate}
@keyframes fgfloat{to{transform:rotateY(-6deg) rotateX(2.5deg) rotateZ(.6deg) translateY(-8px)}}
.fg-dash-frame::before{content:'';position:absolute;inset:-1px;border-radius:26px;background:linear-gradient(120deg,transparent 30%,rgba(255,225,140,.5) 50%,transparent 70%);background-size:260% 100%;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;padding:1px;animation:fgsheen 6s linear infinite;pointer-events:none}
@keyframes fgsheen{from{background-position:160% 0}to{background-position:-60% 0}}
.fgd{display:grid;grid-template-columns:128px 1fr;gap:14px;min-height:330px}
.fgd-side{border-radius:16px;padding:12px 10px;background:rgba(0,0,0,.45);border:1px solid var(--fg-hair);display:flex;flex-direction:column;gap:3px}
.fgd-logo{display:flex;align-items:center;gap:6px;padding:2px 4px 10px;font:800 .6rem/1 var(--fg-font);letter-spacing:.06em;color:var(--fg-ivory)}
.fgd-logo img{height:22px;width:auto}.fgd-logo small{display:block;font-size:.42rem;letter-spacing:.3em;color:var(--fg-gold);margin-top:3px;font-weight:500}
.fgd-side i{font-style:normal;display:flex;align-items:center;gap:7px;padding:8px 9px;border-radius:9px;font:600 .62rem var(--fg-font);color:var(--fg-mute)}
.fgd-side i::before{content:'';width:9px;height:9px;border-radius:3px;border:1.5px solid currentColor;opacity:.8}
.fgd-side i.on{background:linear-gradient(90deg,rgba(240,184,63,.28),rgba(240,184,63,.06));color:var(--fg-gold-hi);box-shadow:inset 0 0 0 1px rgba(240,184,63,.4)}
.fgd-main{display:flex;flex-direction:column;gap:11px;min-width:0}
.fgd-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.fgd-search{flex:1;height:26px;border-radius:9px;background:rgba(0,0,0,.45);border:1px solid var(--fg-hair);font:500 .6rem/26px var(--fg-font);padding-left:11px;color:var(--fg-mute)}
.fgd-av{width:26px;height:26px;border-radius:50%;background:var(--fg-grad);display:grid;place-items:center;font:800 .55rem var(--fg-font);color:#1a1204}
.fgd-h{font:700 .85rem var(--fg-font);color:var(--fg-gold-hi);margin:0}
.fgd-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.fgd-tile{border-radius:12px;padding:10px 7px 8px;text-align:center;background:linear-gradient(160deg,rgba(38,31,18,.9),rgba(12,10,7,.95));border:1px solid var(--fg-line-soft)}
.fgd-tile:first-child{border-color:rgba(255,219,125,.65);box-shadow:0 0 20px -6px rgba(240,184,63,.7)}
.fgd-tile svg{width:20px;height:20px;fill:none;stroke:var(--fg-gold-hi);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.fgd-tile b{display:block;font:700 .56rem/1.2 var(--fg-font);margin:5px 0 2px;color:var(--fg-ivory)}
.fgd-tile span{display:block;font:500 .48rem/1.25 var(--fg-font);color:var(--fg-mute)}
.fgd-tile u{display:block;text-decoration:none;margin-top:6px;padding:3px 0;border-radius:99px;font:700 .46rem var(--fg-font);color:var(--fg-gold-hi);border:1px solid var(--fg-line)}
.fgd-row{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:8px;flex:1}
.fgd-box{border-radius:12px;padding:10px;background:rgba(0,0,0,.4);border:1px solid var(--fg-line-soft);display:flex;flex-direction:column;min-height:0}
.fgd-box>b{font:700 .56rem var(--fg-font);color:var(--fg-ivory);margin-bottom:4px}
.fgd-chart{flex:1;min-height:60px;width:100%}
.fgd-ring{position:relative;width:62px;height:62px;margin:4px auto 0;border-radius:50%;background:conic-gradient(var(--fg-gold) 0 92%,rgba(255,255,255,.08) 92% 100%);display:grid;place-items:center}
.fgd-ring::before{content:'';position:absolute;inset:7px;border-radius:50%;background:#0b0a07}
.fgd-ring b{position:relative;font:800 .8rem var(--fg-font);color:var(--fg-ivory)}
.fgd-num{font:800 1.4rem var(--fg-font);color:var(--fg-ivory);margin:2px 0}
.fgd-cap{position:absolute;right:20px;bottom:-30px;font:500 .68rem var(--fg-font);color:var(--fg-mute);letter-spacing:.03em}
.fg-sparks i{position:absolute;width:3px;height:3px;border-radius:50%;background:var(--fg-gold-hi);box-shadow:0 0 10px 2px rgba(240,184,63,.9);animation:fgtw 4s ease-in-out infinite}
@keyframes fgtw{0%,100%{opacity:.15;transform:translateY(0)}50%{opacity:1;transform:translateY(-10px)}}
.fg-cube{position:absolute;pointer-events:none;opacity:.55;width:140px;height:140px;border:1px solid rgba(240,184,63,.3);transform:rotate(18deg) skew(-10deg);background:linear-gradient(135deg,rgba(240,184,63,.12),transparent 60%);box-shadow:inset 0 0 30px rgba(240,184,63,.1);animation:fgfloat2 10s ease-in-out infinite alternate}
@keyframes fgfloat2{to{transform:rotate(26deg) skew(-10deg) translateY(-14px)}}
/* section heading used everywhere */
.fg-sec-head{text-align:center;margin:0 auto 28px;max-width:760px}
.fg-kicker{display:inline-flex;align-items:center;gap:14px;font:700 .76rem var(--fg-font);letter-spacing:.2em;text-transform:uppercase;color:var(--fg-gold)}
.fg-kicker::before,.fg-kicker::after{content:'';width:34px;height:1px;background:var(--fg-gold);opacity:.7}
.fg-sec-head h2{font-size:clamp(1.8rem,3.4vw,2.7rem);margin:10px 0 8px;font-weight:700}
.fg-sec-head p{margin:0;font-size:1.02rem;color:#cfc6b0}
.fg-svc{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;max-width:1360px;margin:0 auto}
.fg-svc a{position:relative;display:flex;flex-direction:column;gap:8px;min-height:176px;padding:18px 16px 54px;border-radius:var(--fg-r);text-decoration:none;color:var(--fg-ivory)!important;background:linear-gradient(160deg,rgba(36,30,18,.85),rgba(10,9,6,.94));border:1px solid var(--fg-line-soft);box-shadow:inset 0 1px 0 rgba(255,236,170,.09),0 18px 40px -24px #000;transition:transform .35s var(--fg-ease),border-color .3s,box-shadow .35s}
.fg-svc a:hover{transform:translateY(-6px);border-color:var(--fg-line);box-shadow:var(--fg-glow),0 28px 50px -22px rgba(240,184,63,.4)}
.fg-svc .fg-ico{width:42px;height:42px;background:none;border:0;color:var(--fg-gold)}
.fg-svc .fg-ico svg{width:34px;height:34px}
.fg-svc b{font-size:.92rem;line-height:1.25}
.fg-svc small{font-size:.76rem;color:var(--fg-mute);line-height:1.35}
.fg-svc .fg-go{position:absolute;right:12px;bottom:12px;width:30px;height:30px}
.fg-band{max-width:1360px;margin:26px auto 0;display:flex;align-items:center;gap:26px;padding:18px 28px;border-radius:24px;background:linear-gradient(120deg,rgba(30,25,15,.92),rgba(8,7,5,.96));border:1px solid var(--fg-line);box-shadow:var(--fg-glow),inset 0 1px 0 rgba(255,236,170,.1)}
.fg-band>div{display:flex;align-items:center;gap:14px;flex:1;min-width:0}
.fg-band>div+div{border-left:1px solid var(--fg-line);padding-left:26px}
.fg-band>div>svg{flex:none;width:44px;height:44px;fill:none;stroke:var(--fg-gold);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.fg-band b{display:block;font-size:.98rem;color:var(--fg-ivory)}
.fg-band span{display:block;font-size:.82rem;color:var(--fg-mute);line-height:1.4}
.fg-band .fg-cta{flex:none}
/* the existing home blocks that stay below the hero */
#home .wrap{max-width:1360px!important}
#home>.wrap{display:block!important;text-align:left!important}
.hm-slab{background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
#home .isme,#home .hm-more,#home .adv,#home .hm-rev,#home .rank{max-width:1240px;margin-left:auto!important;margin-right:auto!important}
#home .isme h2,#home .hm-more h2,#home .hm-rev h2{font-size:clamp(1.5rem,2.6vw,2.1rem)!important;text-align:center;opacity:1!important;margin:56px 0 22px;color:var(--fg-ivory)}
#home .isg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#home .isg .card{display:flex;flex-direction:column;gap:6px;padding:24px;text-decoration:none;min-height:0}
#home .isg .card b{font-size:1.15rem}
#home .isg .card em{margin-top:auto;font-style:normal;font-weight:700;color:var(--fg-gold);padding-top:10px;background:none;-webkit-text-fill-color:currentColor}
#home .isg .card em::after{content:' \2192'}
#home .hm-ml{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}
#home .hm-ml a{display:flex;flex-direction:column;gap:6px;padding:18px;text-decoration:none}
#home .hm-ml a.hm-feat{grid-column:1/-1;border-color:var(--fg-line)!important;box-shadow:var(--fg-glow)!important}
#home .hm-ml a em{font-style:normal;background:var(--fg-grad);color:#1a1204;-webkit-text-fill-color:#1a1204;padding:2px 9px;border-radius:99px;font-size:.62rem;font-weight:800;margin-left:6px;vertical-align:middle}
#home .hm-ml a span{color:var(--fg-mute);font-size:.84rem}
#home .adv{padding:20px;text-align:center}
#home .adv video{width:100%;max-width:880px;border-radius:16px;border:1px solid var(--fg-line);box-shadow:var(--fg-glow)}
#home .rank .rk-row{display:flex;gap:16px;overflow:auto;padding:6px 4px 20px;scroll-snap-type:x proximity}
#home .rank .rk-c{flex:0 0 280px;scroll-snap-align:start;padding:20px;cursor:pointer}
#home .rk-nav button{width:42px;height:42px;border-radius:50%;background:rgba(10,9,6,.85);border:1px solid var(--fg-line);color:var(--fg-gold-hi);cursor:pointer}

/* ---------- 9. TOOLS DIRECTORY + SHARED PAGE HERO + SIDEBAR LAYOUT ---------- */
.fg-page{max-width:1360px;margin:0 auto;padding:30px 24px 10px;position:relative}
.fg-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start}
.fg-side{position:sticky;top:calc(var(--fg-head) + 20px);border-radius:var(--fg-r2);padding:14px;background:linear-gradient(160deg,rgba(28,23,14,.9),rgba(8,7,5,.95));border:1px solid var(--fg-line-soft);box-shadow:inset 0 1px 0 rgba(255,236,170,.08)}
.fg-side h4{margin:6px 10px 10px;font:700 1rem var(--fg-font)!important;color:var(--fg-ivory)}
.fg-side a,.fg-side button{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;margin:2px 0;border-radius:13px;background:none;border:1px solid transparent;color:var(--fg-mute)!important;font:600 .88rem var(--fg-font);text-decoration:none;text-align:left;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.fg-side a svg,.fg-side button svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.fg-side a:hover,.fg-side button:hover{color:var(--fg-ivory)!important;background:rgba(240,184,63,.07)}
.fg-side a.on,.fg-side button.on,.fg-side a[aria-current=page]{color:var(--fg-gold-hi)!important;background:linear-gradient(90deg,rgba(240,184,63,.2),rgba(240,184,63,.04));border-color:rgba(240,184,63,.4);box-shadow:0 0 22px -8px rgba(240,184,63,.6)}
.fg-ph{position:relative;padding:8px 0 26px;overflow:visible}
.fg-ph h1,.fg-ph h2.fg-h1{font-size:clamp(2.1rem,4.6vw,3.7rem)!important;font-weight:800;letter-spacing:-.03em;margin:16px 0 12px;text-align:left}
.fg-ph h1 span{background:linear-gradient(180deg,#fff,#d8d2c4);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.fg-ph p{font-size:1.05rem;max-width:560px;color:#d3cab4;margin:0}
.fg-ph .fg-cube{right:3%;top:-6px;width:130px;height:130px}
.fg-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.fg-tools .fg-card[hidden]{display:none}
.fg-tools .fg-card .fg-price{display:inline-block;margin-top:6px;font:700 .72rem var(--fg-font);color:var(--fg-gold-hi);background:rgba(240,184,63,.1);border:1px solid var(--fg-line-soft);border-radius:99px;padding:2px 10px}
.fg-tool-note{margin:22px 0 0;font-size:.86rem;color:var(--fg-mute)}

/* ---------- 10. COURSES ---------- */
#pricing>.wrap{max-width:1360px!important}
.fg-chiprow{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.fg-chip{padding:9px 18px;border-radius:99px;background:rgba(10,9,6,.8);border:1px solid var(--fg-line-soft);color:var(--fg-mute);font:600 .82rem var(--fg-font);cursor:pointer;transition:all .2s}
.fg-chip:hover{color:var(--fg-ivory);border-color:var(--fg-line)}
.fg-chip.on{background:var(--fg-grad);color:#1a1204;border-color:transparent;box-shadow:0 8px 22px -10px rgba(240,184,63,.8)}
.fg-csearch{position:relative;max-width:360px;margin-left:auto}
.fg-csearch input{width:100%;padding:12px 16px 12px 42px!important}
.fg-csearch svg{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:17px;height:17px;fill:none;stroke:var(--fg-gold);stroke-width:2;stroke-linecap:round}
.fg-ctop{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:6px}
html body #pricing .plans{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;max-width:none!important;margin:0 0 10px!important}
html body #pricing .plans.plans4{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:none!important}
html body #pricing .plan,html body #systems .plan{position:relative;display:flex;flex-direction:column;padding:24px 22px 70px!important;transform:none;margin:0!important;text-align:left}
html body #pricing .plan.hot,html body #systems .plan.hot{border-color:var(--fg-line)!important;box-shadow:var(--fg-glow),inset 0 1px 0 rgba(255,236,170,.1)!important}
html body #pricing .plan .pn,html body #systems .plan .pn{font-size:1.12rem;font-weight:700;margin:0 0 4px}
html body #pricing .plan .pp{font-size:1.9rem;margin:4px 0 2px;background:var(--fg-grad-text);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent!important}
html body #pricing .plan .pt{font-size:.78rem;color:var(--fg-gold)!important;font-weight:600;margin:0 0 12px;letter-spacing:.01em}
html body .plan .cl{list-style:none;margin:0 0 12px;padding:10px 12px;border-radius:12px;background:rgba(0,0,0,.35);border:1px solid var(--fg-hair)}
html body .plan .cl li{font-size:.82rem;color:var(--fg-champ);padding:2px 0}
html body .plan .pl{list-style:none;margin:0;padding:0}
html body .plan .pl li{display:flex;gap:9px;align-items:flex-start;font-size:.83rem;color:var(--fg-mute);padding:3px 0}
html body .plan .pl .ic{flex:none;width:16px;height:16px;margin-top:2px}
html body .plan[data-buy]::after{content:'View course \2192';position:absolute;left:22px;right:22px;bottom:20px;text-align:center;padding:12px;border-radius:99px;font:700 .86rem var(--fg-font);color:#1a1204;background:var(--fg-grad);box-shadow:0 10px 26px -12px rgba(240,184,63,.8)}
html body .plan[data-buy]:hover::after{filter:brightness(1.08)}
.fg-plan-hide{display:none!important}
html body #pricing .shead,html body #systems .shead{text-align:left!important;margin:26px 0 16px!important}
html body #pricing .shead .rsub,html body #systems .shead .rsub{font-size:1.15rem!important;color:var(--fg-gold)!important;letter-spacing:.01em;text-align:left}
html body #pricing .shead h3.tbi{font-size:clamp(1.3rem,2.4vw,1.8rem)!important;text-align:left}
html body .paynote{display:flex;align-items:center;gap:10px;justify-content:center;font-size:.86rem;color:var(--fg-mute)}
.fg-empty{padding:30px;text-align:center;color:var(--fg-mute);border:1px dashed var(--fg-line-soft);border-radius:var(--fg-r)}

/* ---------- 11. DASHBOARD LAYOUT (account) ---------- */
.fg-dashgrid{display:grid;grid-template-columns:230px minmax(0,1fr);gap:26px;align-items:start;max-width:1360px;margin:0 auto}
.fg-welcome{border-radius:var(--fg-r2);padding:26px 28px;background:linear-gradient(140deg,rgba(38,31,18,.92),rgba(9,8,6,.96));border:1px solid var(--fg-line);box-shadow:var(--fg-glow),inset 0 1px 0 rgba(255,236,170,.1);margin-bottom:20px}
.fg-welcome h1{font-size:clamp(1.8rem,3.4vw,2.6rem)!important;margin:0 0 6px!important}
.fg-welcome p{margin:0;color:#d3cab4}
.fg-quick{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:22px}
.fg-quick a{justify-content:space-between;padding:16px 20px;border-radius:14px;font:700 .92rem var(--fg-font);text-decoration:none;display:flex;align-items:center;gap:10px;color:#1a1204!important;background:var(--fg-grad);border:1px solid rgba(255,225,140,.7);box-shadow:0 12px 30px -14px rgba(240,184,63,.8),inset 0 1px 0 rgba(255,255,255,.45);transition:transform .25s var(--fg-ease)}
.fg-quick a:hover{transform:translateY(-3px)}
.fg-quick svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#vHome .home{max-width:none!important}
#vHome .home>h1#hello{font-size:clamp(1.6rem,3vw,2.3rem)!important}
#vHome h2{font-size:1.4rem!important}
#vAuth .box,#vSent .box,#vForgot .box,#vReset .box{max-width:480px;margin:6vh auto;padding:30px!important;border-radius:var(--fg-r2)!important;border:1px solid var(--fg-line)!important;box-shadow:var(--fg-glow-lg)!important}
body.fg-account main>.wrap{max-width:1360px}

/* ---------- 12. FOOTER ---------- */
.fg-foot{margin-top:70px;border-top:1px solid var(--fg-line-soft);background:linear-gradient(180deg,rgba(10,9,6,.6),#030303);position:relative}
.fg-foot::before{content:'';position:absolute;left:10%;right:10%;top:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,219,125,.7),transparent)}
.fg-foot-in{max-width:1360px;margin:0 auto;padding:44px 24px 30px;display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:34px}
.fg-foot h5,.fg-foot .fg-fh{margin:0 0 14px;font:700 .78rem var(--fg-font);letter-spacing:.16em;text-transform:uppercase;color:var(--fg-gold)}
.fg-foot ul{list-style:none;margin:0;padding:0}.fg-foot li{margin:0 0 9px}
.fg-foot a{color:var(--fg-mute)!important;text-decoration:none;font-size:.9rem}.fg-foot a:hover{color:var(--fg-gold-hi)!important}
.fg-foot p{font-size:.88rem;margin:10px 0 0;max-width:340px}
.fg-foot-legal{max-width:1360px;margin:0 auto;padding:18px 24px 30px;border-top:1px solid var(--fg-hair);font-size:.8rem;color:var(--fg-mute)}
.fg-foot-legal a{color:var(--fg-mute)!important;text-decoration:underline}
footer:not(.fg-foot){background:none!important;border:0!important;color:var(--fg-mute)}

/* ---------- 13. LEGACY RE-SKIN: page-specific leftovers ---------- */
html body header:not(.fg-head),html body .hd{background:transparent!important;border-bottom:0!important}
html body .hero,html body .hero.lgh{background:linear-gradient(150deg,rgba(32,26,15,.9),rgba(6,5,4,.95))!important;border:1px solid var(--fg-line)!important;border-radius:var(--fg-r2)!important;box-shadow:var(--fg-glow),inset 0 1px 0 rgba(255,236,170,.1)!important}
html body .kick,html body .kicker{color:var(--fg-champ)!important;background:rgba(240,184,63,.08)!important;border:1px solid var(--fg-line)!important;border-radius:99px!important}
html body dialog,html body .sheet:not([class*=" b"]),html body .gbox,html body .pvc,html body #pvm .pvc{background:linear-gradient(160deg,rgba(28,23,14,.98),rgba(8,7,5,.99))!important;border:1px solid var(--fg-line)!important;box-shadow:var(--fg-glow-lg)!important;color:var(--fg-ivory)}
.fg-top-gap{height:6px}
html body .shead h2,html body section>.wrap>h2{font-size:clamp(1.8rem,3.2vw,2.6rem)!important;text-align:center}
html body #faq summary,html body .faq summary{font-weight:600;color:var(--fg-ivory)}
html body .st-h{color:var(--fg-champ)}
html body .stl{list-style:none;display:grid;grid-template-columns:repeat(2,1fr);gap:16px;padding:0}
html body .stc{display:block;padding:22px;text-decoration:none}
html body .stn{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--fg-grad);color:#1a1204;font-weight:800;margin-bottom:8px}
html body .ab-list{list-style:none;padding:0;display:grid;gap:12px}
html body .ab-list li{padding:16px 20px;border-radius:var(--fg-r);background:linear-gradient(155deg,rgba(32,27,17,.8),rgba(10,9,6,.9));border:1px solid var(--fg-line-soft)}
html body .ab-list li b{display:block;font-size:1.05rem;color:var(--fg-gold-hi)}
/* guide pages (cv-builder.html and the course guides) */
.w{max-width:900px;margin:0 auto;padding:0 20px}
.w main h1{font-size:clamp(1.9rem,4vw,2.9rem)!important}
.w .lead{color:#d3cab4}
.w header,.w nav{background:none!important}
.w table{width:100%}
.w td,.w th{padding:10px 12px;border:1px solid var(--fg-line-soft)}

/* ---------- 14. RESPONSIVE ---------- */
@media(max-width:1200px){.fg-svc{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1040px){
 .fg-layout,.fg-dashgrid{grid-template-columns:1fr}
 .fg-side{position:static;display:flex;flex-wrap:wrap;gap:6px;padding:10px}
 .fg-side h4{width:100%;margin:2px 6px}
 .fg-side a,.fg-side button{width:auto;padding:9px 14px;font-size:.82rem;border-radius:99px;background:rgba(10,9,6,.8);border-color:var(--fg-line-soft)}
 .fg-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body #pricing .plans{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .fg-band{flex-wrap:wrap}.fg-band>div{flex:1 1 40%}.fg-band>div+div{border-left:0;padding-left:0}
 .fg-foot-in{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
 html body .wrap{padding-left:16px;padding-right:16px}
 .fg-hero{padding-top:10px;gap:44px}
 .fg-hero h1{font-size:clamp(2.3rem,11vw,3.2rem)!important}
 .fg-cta-row .btn{width:100%}
 .fg-dash-frame{transform:none;animation:none;padding:10px}
 .fgd{grid-template-columns:1fr}.fgd-side{display:none}
 .fgd-tiles{grid-template-columns:repeat(2,1fr)}
 .fgd-row{grid-template-columns:1fr 1fr}.fgd-row .fgd-box:first-child{grid-column:1/-1}
 .fgd-cap{position:static;display:block;margin-top:10px;text-align:center}
 .fg-svc{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .fg-svc a{min-height:140px;padding:14px 12px}
 .fg-band{padding:18px;gap:16px}.fg-band>div{flex:1 1 100%}.fg-band .fg-cta{width:100%;justify-content:center}
 #home .isg{grid-template-columns:1fr}
 .fg-tools{grid-template-columns:1fr}
 html body #pricing .plans,html body #pricing .plans.plans4{grid-template-columns:1fr!important}
 html body .stl{grid-template-columns:1fr}
 .fg-csearch{max-width:none;width:100%;margin-left:0}
 .fg-foot-in{grid-template-columns:1fr;gap:24px}
 .fg-page{padding:20px 16px 6px}
 .fg-ph .fg-cube{display:none}
}
@media(prefers-reduced-motion:reduce){.fg-dash-frame,.fg-dash-frame::before,.fg-cube,.fg-sparks i{animation:none!important}*{scroll-behavior:auto!important}}
@media print{.fg-head,.fg-foot,body::before,.lg-bg{display:none!important}}

/* safety nets and home leftovers */
html body{overflow-x:clip}
#home .rank{min-width:0;max-width:100%;overflow:hidden}
#home .adv video{display:block;margin:0 auto}
html body #home .hm-more h2,html body #home .isme h2,html body #home .hm-rev h2,html body #home .rank h3{letter-spacing:-.02em!important;text-transform:none!important;transform:none!important;word-spacing:normal!important;font-weight:700!important}
#home .rk-h{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:56px 0 14px}
#home .rk-h h3{margin:0}
html body #home .rank{width:auto!important;max-width:1240px!important;margin:44px auto 10px!important;align-self:auto}
html body #home .rank .rk-h{flex-direction:row;text-align:left;align-items:flex-end}
html body #home{overflow-x:clip}
html body #home .hm-ml a.hm-feat em{background:var(--fg-grad)!important;color:#1a1204!important;-webkit-text-fill-color:#1a1204!important;border:0!important}
/* plan cards: neutralise the older glass pseudo-elements, then draw the call-to-action */
html body .plan::before,html body .plan.lg::before{display:none!important}
html body .plan[data-buy]::after,html body .plan.lg[data-buy]::after{content:'View course \2192'!important;position:absolute!important;inset:auto 22px 20px 22px!important;height:auto!important;text-align:center;padding:12px!important;border-radius:99px!important;border:1px solid rgba(255,225,140,.7)!important;font:700 .86rem var(--fg-font);color:#1a1204;background:var(--fg-grad)!important;box-shadow:0 10px 26px -12px rgba(240,184,63,.8);pointer-events:none}
html body #pricing .plans,html body #systems .plans{padding:0!important}
html body .plan.lg{border-radius:var(--fg-r)!important}
html body .plan.lg .pp{color:transparent!important}
html body .plan.lg,html body .card.lg,html body .stc.lg,html body .hm-ml a.lg,html body .mini.lg,html body .opt.lg{box-shadow:inset 0 1px 0 rgba(255,236,170,.08),0 18px 50px -24px rgba(0,0,0,.9)!important;border:1px solid var(--fg-line-soft)!important}
html body .plan.lg:hover,html body .card.lg:hover,html body .stc.lg:hover,html body .hm-ml a.lg:hover{box-shadow:inset 0 1px 0 rgba(255,236,170,.12),var(--fg-glow),0 22px 50px -22px rgba(240,184,63,.35)!important;border-color:var(--fg-line)!important}
html body .plan .pn{text-transform:none!important;letter-spacing:-.01em!important}

/* ---------- assessments: gold only (older multi-colour accents removed) ---------- */
html body .grid .ac,html body .grid .ac:nth-child(n){--ac:240,184,63!important}
html body .grid .ac{background:linear-gradient(155deg,rgba(34,28,17,.88),rgba(10,9,6,.94))!important;border:1px solid var(--fg-line-soft)!important;box-shadow:inset 0 1px 0 rgba(255,236,170,.09),0 18px 50px -24px #000!important}
html body .grid .ac:hover{border-color:var(--fg-line)!important;box-shadow:inset 0 1px 0 rgba(255,236,170,.14),var(--fg-glow),0 24px 50px -22px rgba(240,184,63,.4)!important}
html body .grid .ac .ico{background:linear-gradient(160deg,rgba(240,184,63,.2),rgba(240,184,63,.04))!important;border:1px solid var(--fg-line)!important;box-shadow:none!important}
html body .grid .ac .ico svg{stroke:var(--fg-gold-hi)!important}
html body .grid .ac p{color:var(--fg-mute)}
html body .grid .ac .btn2{background:var(--fg-grad)!important;background-image:var(--fg-grad)!important;background-clip:border-box!important;color:#1a1204!important;border:1px solid rgba(255,225,140,.7)!important;box-shadow:0 10px 26px -12px rgba(240,184,63,.8)!important}
html body .btn2{background:var(--fg-grad);color:#1a1204;font-family:var(--fg-font)}
html body .btn2.ghost{background:rgba(10,9,6,.7)!important;color:var(--fg-gold-hi)!important;border:1px solid var(--fg-line)!important}
html body .how li{background:linear-gradient(155deg,rgba(32,27,17,.8),rgba(10,9,6,.9));border-color:var(--fg-line-soft)}
html body .how li:before,html body .how li:nth-child(n):before{color:var(--fg-gold-hi)!important;font-family:var(--fg-font)}
html body .trust{border-color:var(--fg-line-soft)!important;background:rgba(15,13,9,.7)!important}
html body .grid:before{background:radial-gradient(320px 240px at 12% 40%,rgba(240,184,63,.16),transparent 70%),radial-gradient(320px 240px at 64% 40%,rgba(240,184,63,.1),transparent 70%)!important}
/* WhatsApp and sound chips: gold, not green */
html body .lg-wa{background:linear-gradient(160deg,rgba(40,32,16,.95),rgba(8,7,5,.98))!important;border:1px solid var(--fg-line)!important;color:var(--fg-gold-hi)!important;box-shadow:var(--fg-glow)!important}
html body .lg-wa svg{fill:currentColor}
html body .mmf-snd{background:rgba(10,9,6,.9)!important;border:1px solid var(--fg-line-soft)!important;color:var(--fg-champ)!important}
html{overflow-x:clip}html body main,html body .wrap{max-width:100%}

/* ---------- round 2: real desktop nav bar, side-by-side hero, solid header, advert pop-up ---------- */
.fg-head{background:#050504;-webkit-backdrop-filter:none;backdrop-filter:none}
@media(min-width:1081px){
 .fg-burger{display:none}
 .fg-actions{margin-left:0}
}
@media(min-width:1081px) and (max-width:1360px){
 .fg-bar{gap:10px;padding:0 16px}
 .fg-brand img{height:38px}.fg-brand span{font-size:.92rem}.fg-brand small{font-size:.52rem}
 .fg-list>li>a,.fg-dd{padding:9px 8px;font-size:.78rem;gap:4px}
 .fg-actions .fg-login{display:none}
 .fg-cta{padding:10px 16px;font-size:.8rem}
}
@media(max-width:1080px){.fg-actions{margin-left:auto}.fg-burger{margin-left:0}}
html body .fg-hero h1{margin:0 0 22px!important;padding:0!important;max-width:none!important;text-align:left!important;font-size:clamp(2.3rem,5.2vw,5.1rem)!important}
html body .fg-hero h1 span,html body .fg-hero h1 em{margin:0;padding:0;text-align:left}
.fg-copy{min-width:0}
.fg-copy>*{margin-left:0}
@media(max-width:1200px) and (min-width:881px){
 .fg-hero{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:22px}
 .fg-hero p.fg-lead{font-size:1rem}
 .fgd{grid-template-columns:96px 1fr;gap:10px}
 .fg-dash-frame{padding:10px}
 .fg-cta-row .btn{padding:12px 20px!important}
}
@media(max-width:880px){
 .fg-hero{grid-template-columns:1fr;gap:48px}
 .fg-dash{max-width:640px;margin:0 auto}
}
.fg-vov{position:fixed;inset:0;z-index:1300;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(2,2,2,.88);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.fg-vov.on{display:flex}
.fg-vbox{position:relative;width:min(960px,100%);border-radius:22px;padding:10px;background:linear-gradient(160deg,rgba(34,28,17,.98),rgba(8,7,5,.99));border:1px solid var(--fg-line);box-shadow:var(--fg-glow-lg)}
.fg-vbox video{display:block;width:100%;max-height:80vh;border-radius:14px;background:#000}
.fg-vstatus{margin:8px 0 2px;text-align:center;color:var(--fg-gold-hi)}
.fg-vx{position:absolute;right:12px;top:-52px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(10,9,6,.95);border:1px solid var(--fg-line);color:var(--fg-gold-hi);cursor:pointer}
.fg-vx svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
@media(max-width:1200px) and (min-width:881px){html body .fg-hero h1{font-size:clamp(2rem,4.3vw,3.4rem)!important}}

/* ---------- round 3: a real horizontal top bar on every device (no side drawer) ---------- */
.fg-strip{display:none}
@media(max-width:1080px){
 html:root{--fg-head:116px}
 .fg-head{height:auto;position:sticky;top:0}
 .fg-bar{height:62px}
 .fgnav,.fg-burger{display:none!important}
 .fg-actions{margin-left:auto}
 .fg-actions .fg-login{display:none}
 .fg-strip{display:flex;gap:8px;overflow-x:auto;padding:8px 14px 11px;border-top:1px solid var(--fg-hair);scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .fg-strip::-webkit-scrollbar{display:none}
 .fg-strip a,.fg-strip button{flex:none;padding:9px 16px;border-radius:999px;font:600 .84rem var(--fg-font);color:var(--fg-ivory)!important;text-decoration:none;white-space:nowrap;background:rgba(14,12,8,.9);border:1px solid var(--fg-line-soft);cursor:pointer}
 .fg-strip a.fg-on{color:var(--fg-gold-hi)!important;background:rgba(240,184,63,.16);border-color:var(--fg-line);box-shadow:0 0 18px -6px rgba(240,184,63,.7)}
 .fg-strip-search{display:none}
}
@media(max-width:520px){.fg-strip-search{display:inline-block!important}.fg-search{display:none}.fg-bar{height:58px}}
html body .fg-head::after{display:block}

/* ---------- round 4: centred nav, brighter glowing logo ---------- */
@media(min-width:1081px){
 .fg-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
 .fg-brand{justify-self:start}
 .fgnav{flex:none;justify-content:center}
 .fg-actions{justify-self:end}
}
@media(max-width:1080px){
 .fg-strip{justify-content:flex-start}
 .fg-strip>:first-child{margin-left:auto}
 .fg-strip>:last-child{margin-right:auto}
}
html body .fg-brand img,html body .fgd-logo img{filter:brightness(1.32) saturate(1.5) contrast(1.05) drop-shadow(0 0 6px rgba(255,214,110,.95)) drop-shadow(0 0 16px rgba(240,184,63,.75)) drop-shadow(0 0 30px rgba(240,184,63,.45));animation:fgglow 3.2s ease-in-out infinite alternate}
@keyframes fgglow{to{filter:brightness(1.5) saturate(1.55) contrast(1.05) drop-shadow(0 0 8px rgba(255,224,130,1)) drop-shadow(0 0 22px rgba(240,184,63,.9)) drop-shadow(0 0 40px rgba(240,184,63,.55))}}
html body .fg-brand span{text-shadow:0 0 14px rgba(240,184,63,.35)}
@media(prefers-reduced-motion:reduce){html body .fg-brand img{animation:none}}

/* ---------- round 5: slim professional header, website feel (not an app dashboard) ---------- */
html:root{--fg-head:54px}
html body .fg-head{height:54px;background:rgba(5,5,4,.92);-webkit-backdrop-filter:blur(14px) saturate(130%);backdrop-filter:blur(14px) saturate(130%);box-shadow:none;border-bottom:1px solid rgba(240,184,63,.16)}
html body .fg-head::after{opacity:.35}
html body .fg-bar{height:54px;padding:0 24px;max-width:1320px}
html body .fg-brand{gap:9px}
html body .fg-brand img,html body .fgd-logo img{height:31px;filter:brightness(1.22) saturate(1.35) drop-shadow(0 0 5px rgba(240,184,63,.5));animation:none}
html body .fg-brand span{font-size:.92rem;text-shadow:none}
html body .fg-brand small{font-size:.5rem;margin-top:4px}
html body .fg-list{gap:2px}
html body .fg-list>li>a,html body .fg-dd{padding:8px 12px;border-radius:6px;font-size:.84rem;font-weight:600;background:none!important;box-shadow:none!important;color:rgba(246,239,222,.88)!important}
html body .fg-list>li>a:hover,html body .fg-dd:hover,html body .fg-item.open>.fg-dd,html body .fg-item:hover>.fg-dd{color:var(--fg-gold-hi)!important;background:none!important}
html body .fg-list>li.fg-on>a,html body .fg-list>li.fg-on>.fg-dd{color:var(--fg-gold-hi)!important;background:none!important;box-shadow:none!important}
html body .fg-list>li.fg-on::after{left:12px;right:12px;bottom:0;height:2px;box-shadow:none;background:var(--fg-gold)}
.fg-free{font:700 .6rem/1 var(--fg-font);letter-spacing:.06em;text-transform:uppercase;color:#1a1204;background:var(--fg-gold);padding:3px 5px;border-radius:4px;margin-left:2px}
html body .fg-search{width:34px;height:34px;border:0;background:none;box-shadow:none}
html body .fg-search svg{width:17px;height:17px}
html body .fg-actions{gap:6px}
html body .fg-login{padding:8px 12px;border:0!important;background:none!important;font-size:.84rem;box-shadow:none!important}
html body .fg-cta{padding:7px 15px;font-size:.8rem;border-radius:8px;box-shadow:0 4px 14px -8px rgba(240,184,63,.7)}
html body .fg-cta:hover{transform:none;box-shadow:0 6px 16px -8px rgba(240,184,63,.8)}
html body .fg-menu{margin-top:8px;border-radius:12px;box-shadow:0 24px 50px -20px #000}
.fg-strip{display:none!important}
@media(min-width:1081px) and (max-width:1360px){
 html body .fg-bar{padding:0 16px}
 html body .fg-list>li>a,html body .fg-dd{padding:8px 8px;font-size:.78rem}
 html body .fg-brand span{font-size:.84rem}
}
@media(max-width:1080px){
 html:root{--fg-head:52px}
 html body .fg-head{height:52px}
 html body .fg-bar{height:52px;padding:0 14px;display:flex;gap:8px}
 html body .fg-actions{margin-left:auto}
 html body .fg-burger{display:grid!important;width:38px;height:38px;border:0;background:none;margin:0}
 html body .fgnav{display:block!important;position:fixed;left:0;right:0;top:52px;bottom:auto;max-height:calc(100vh - 52px);max-height:calc(100dvh - 52px);padding:8px 14px 18px;overflow:auto;background:#060605;border-bottom:1px solid rgba(240,184,63,.25);transform:translateY(-8px);opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s}
 html body .fg-head.fg-open .fgnav{transform:none;opacity:1;visibility:visible}
 html body .fg-list{flex-direction:column;align-items:stretch;gap:0}
 html body .fg-list>li{border-bottom:1px solid rgba(240,184,63,.1)}
 html body .fg-list>li>a,html body .fg-dd{width:100%;justify-content:space-between;padding:13px 4px;font-size:.98rem;border-radius:0}
 html body .fg-list>li.fg-on::after{display:none}
 html body .fg-menu a{padding:10px 12px}
 html body .fg-actions .fg-login{display:none}
 html body .fg-msearch{display:block}
}
@media(max-width:520px){
 html body .fg-search{display:none}
 html body .fg-cta{padding:6px 11px;font-size:.76rem}
 html body .fg-cta svg{display:none}
 html body .fg-brand img{height:28px}
}

/* ---------- round 5b: proportions ---------- */
html body .fg-hero{padding:22px 0 8px}
html body .fg-hero h1{font-size:clamp(1.9rem,3.7vw,3.4rem)!important;line-height:1.06;margin:0 0 16px!important;letter-spacing:-.03em}
html body .fg-hero p.fg-lead{font-size:clamp(.95rem,1.2vw,1.05rem);line-height:1.6;margin:0 0 20px}
html body .fg-cta-row{gap:10px}
html body .fg-cta-row .btn{padding:11px 22px!important;min-height:0!important;font-size:.92rem!important;border-radius:12px!important}
html body .fg-cta-row .btn small{font-size:.7rem}
@media(max-width:1200px) and (min-width:881px){html body .fg-hero h1{font-size:clamp(1.8rem,3.4vw,2.6rem)!important}}
@media(max-width:880px){html body .fg-hero h1{font-size:clamp(1.8rem,8vw,2.5rem)!important}html body .fg-hero{gap:32px}}
html body .lg-wa{width:46px!important;height:46px!important;right:14px!important;bottom:14px!important}
html body .lg-wa svg{width:22px!important;height:22px!important}
html body .mmf-snd{padding:7px 12px!important;font-size:.74rem!important;left:12px!important;bottom:14px!important;opacity:.85}
@media(max-width:600px){html body .mmf-snd{padding:6px 10px!important;bottom:14px!important}}
html body #home .fg-hero h1{font-size:clamp(1.9rem,3.7vw,3.4rem)!important;line-height:1.06!important;max-width:none!important;margin:0 0 16px!important}
@media(max-width:1200px) and (min-width:881px){html body #home .fg-hero h1{font-size:clamp(1.8rem,3.4vw,2.6rem)!important}}
@media(max-width:880px){html body #home .fg-hero h1{font-size:clamp(1.8rem,8vw,2.5rem)!important}}

html body .fg-foot h2.fg-fh{margin:0 0 14px;font:700 .78rem var(--fg-font)!important;letter-spacing:.16em;text-transform:uppercase;color:var(--fg-gold);-webkit-text-fill-color:var(--fg-gold);background:none}

/* reserve the header's height until the script has added it, so the page does not jump (layout shift) */
html body:not(:has(.fg-head))::before{content:"";display:block;height:var(--fg-head)}

/* stop late-loading account/course content from pushing the footer around */
html body main#fgMain,html body main:has(#app){min-height:62vh}

/* assessment question screen: solid backdrop so the cards behind it do not show through the questions */
html body #ov,html body .ov{background:rgba(4,4,3,.97)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}

/* personality check: section tiles in the site's gold, not rainbow colours */
html body .secs li,html body .secs li:nth-child(n){background:rgba(255,255,255,.03)!important;border:1px solid rgba(240,184,63,.22)!important;box-shadow:none!important;color:#f6efde}
html body .secs li b,html body .secs li:nth-child(n) b{color:var(--fg-gold-hi,#f7d57a)!important;border-color:rgba(240,184,63,.5)!important;background:rgba(240,184,63,.08)!important;box-shadow:none!important}
html body .secs li::before,html body .secs li::after{display:none!important}
html body .secs li b{background-image:none!important;filter:none!important;text-shadow:none!important}
html body .secs li b::before,html body .secs li b::after{display:none!important;content:none!important}

/* ===== FINAL: floating, rounded liquid-glass navigation (all public pages) ===== */
html:root{--fg-head:84px}
html body .fg-head{position:fixed;top:12px;left:50%;right:auto;transform:translateX(-50%);width:min(1240px,calc(100% - 24px));height:58px;border-radius:999px;border:1px solid transparent;
 background:linear-gradient(180deg,rgba(34,30,22,.78),rgba(10,9,7,.8)) padding-box,linear-gradient(120deg,rgba(255,219,125,.85),rgba(255,255,255,.35) 25%,rgba(120,200,255,.5) 50%,rgba(255,150,220,.45) 72%,rgba(255,219,125,.85)) border-box;
 background-color:rgba(10,9,7,.55);-webkit-backdrop-filter:blur(22px) saturate(170%);backdrop-filter:blur(22px) saturate(170%);
 box-shadow:0 14px 40px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.28),inset 0 -1px 0 rgba(255,255,255,.06);z-index:900}
html body .fg-head::after{left:14%;right:14%;bottom:-1px;opacity:.5}
html body .fg-head::before{content:'';position:absolute;inset:1px 1px auto 1px;height:46%;border-radius:999px 999px 60% 60%/999px 999px 40% 40%;background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,0));pointer-events:none}
html body .fg-bar{height:58px;padding:0 18px 0 20px;max-width:none;position:relative}
html body{padding-top:0}
html body main,html body .fg-main{scroll-margin-top:84px}
@media(min-width:1081px){html body .fg-brand img{height:34px}}
@media(max-width:1080px){
 html body .fg-head{width:calc(100% - 20px);top:8px;height:54px;border-radius:28px;-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);background-color:rgba(10,9,7,.7)}
 html body .fg-bar{height:54px;padding:0 10px 0 14px}
 html body .fgnav{position:fixed;left:10px;right:10px;top:70px;bottom:auto;max-height:calc(100dvh - 84px);border-radius:24px;border:1px solid rgba(255,219,125,.3);background:rgba(10,9,7,.88);-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);box-shadow:0 24px 60px rgba(0,0,0,.6);transform:translateY(-12px) scale(.98);opacity:0;visibility:hidden;transition:transform .3s,opacity .3s}
 html body .fg-head.fg-open .fgnav{transform:none;opacity:1;visibility:visible}
}
/* keep page content clear of the floating bar */
html body>.fg-head+*,html body>.fg-head~main{scroll-margin-top:84px}
html body{padding-top:76px}

@media(min-width:1081px) and (max-width:1500px){html body .fg-brand span{display:none}html body .fg-list>li>a,html body .fg-dd{padding:9px 8px;font-size:.78rem}html body .fg-bar{gap:8px}html body .fg-free{display:none}html body .fg-login{padding:8px 12px}html body .fg-cta{padding:8px 14px}}
html body .fg-brand{min-width:0}html body .fg-list{flex-wrap:nowrap;white-space:nowrap}

/* ===== FINAL: calmer type scale and spacing (laptop 100% zoom + mobile) ===== */
html body h1{font-size:clamp(1.7rem,3.2vw,2.5rem)!important;line-height:1.12!important}
html body section h2,html body .fg-sec h2,html body main h2{font-size:clamp(1.3rem,2.3vw,1.85rem)!important;line-height:1.18!important}
html body section>h3,html body .rm-card h3{font-size:clamp(1rem,1.6vw,1.2rem)}
html body section{padding-top:min(var(--sp,40px),40px);padding-bottom:min(var(--sp,40px),40px)}
html body section[style*="padding"]{}
@media(min-width:900px){html body section:not(.fg-hero):not([class*=hero]){padding-top:36px;padding-bottom:36px}}
@media(max-width:700px){html body section:not([class*=hero]){padding-top:26px;padding-bottom:26px}}
html body .fg-btn,html body .btn,html body .rm-btn{padding:10px 18px;font-size:.9rem;min-height:40px}
/* smaller WhatsApp button */
html body .lg-wa{width:40px!important;height:40px!important;right:max(12px,env(safe-area-inset-right,0px));bottom:max(12px,env(safe-area-inset-bottom,0px))}
html body .lg-wa svg{width:20px!important;height:20px!important}
@media(hover:hover){html body .lg-wa:hover,html body .lg-wa:focus-visible{width:170px!important;padding:0 12px!important}}
@media(max-width:560px){html body .lg-wa{width:38px!important;height:38px!important}html body .lg-wa svg{width:19px!important;height:19px!important}}

/* ===== 1 Dec 2026 tidy-up ===== */
/* a little smaller on computers: the same as browser zoom 90% */
@media(min-width:760px){html{zoom:.9}}
/* Tools & Services cards: never cramped, never clipped, all the same height */
html body .fg-tools{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))!important;gap:14px!important}
html body .fg-tools .fg-card{min-height:112px;padding:16px 18px;gap:14px;align-items:center;min-width:0}
html body .fg-tools .fg-card>span:nth-child(2){flex:1 1 auto;min-width:0}
html body .fg-tools .fg-card .fg-ico{flex:none}
html body .fg-tools .fg-card .fg-go{flex:none;margin-left:auto}
html body .fg-tools .fg-card b{overflow-wrap:anywhere}
/* Courses page: centred headings and pill */
html body #pricing .shead{margin-left:auto!important;margin-right:auto!important;text-align:center!important;max-width:720px}
html body #pricing .shead h3,html body #pricing .shead p{text-align:center!important;margin-left:auto!important;margin-right:auto!important}
html body #pricing .shead .rsub{margin-bottom:18px}
html body #pricing .pill-row{text-align:center;margin:0 0 10px}

/* ===== course cards take the colour of their program ===== */
[data-buy="excel"],[data-buy="excel1"],[data-buy="excel2"],[data-buy="excel3"]{--pc:#21a366;--pg:33,163,102}
[data-buy="word"]{--pc:#2b7cd3;--pg:43,124,211}
[data-buy="outlook"]{--pc:#1fa2e8;--pg:31,162,232}
[data-buy="ppt"]{--pc:#e0452a;--pg:224,69,42}
[data-buy="office"]{--pc:#f25022;--pg:242,80,34}
[data-buy="bookkeeping"]{--pc:#19b8a6;--pg:25,184,166}
[data-buy="ajournal"]{--pc:#9b7cf0;--pg:155,124,240}
[data-buy="pastel"]{--pc:#3fcf5a;--pg:63,207,90}
[data-buy="qbooks"]{--pc:#2ca01c;--pg:44,160,28}
[data-buy="xero"]{--pc:#13b5ea;--pg:19,181,234}
@keyframes pcGlow{0%,100%{box-shadow:0 0 0 1px rgba(var(--pg),.35),0 0 18px rgba(var(--pg),.22),0 18px 40px rgba(0,0,0,.45)}50%{box-shadow:0 0 0 1px rgba(var(--pg),.6),0 0 32px rgba(var(--pg),.4),0 18px 40px rgba(0,0,0,.45)}}
html body .plan[data-buy],html body .plan.hot[data-buy],html body .rk-c[data-buy]{border:2px solid var(--pc)!important;animation:pcGlow 4.5s ease-in-out infinite}
html body .plan[data-buy]:hover,html body .plan.hot[data-buy]:hover,html body .rk-c[data-buy]:hover,html body .rk-c[data-buy]:focus-visible{border-color:var(--pc)!important;animation:none;box-shadow:0 0 0 1px var(--pc),0 0 44px rgba(var(--pg),.55),0 22px 50px rgba(0,0,0,.5)!important}
html body .rk-c[data-buy] .rk-l li:before{background:var(--pc)}
html body .rk-c[data-buy] .rk-n .fl{stroke:var(--pc)}
html body .rk-c[data-buy] .rk-n .tr{stroke:rgba(var(--pg),.28)}
html body .rk-c[data-buy] .rk-n i{-webkit-text-stroke-color:var(--pc);text-shadow:0 0 12px rgba(var(--pg),.8),0 0 26px rgba(var(--pg),.5)}
html body .plan[data-buy] .pb{background:var(--pc);color:#fff}
html body #pricing .plan[data-buy],html body #pricing .plan.hot[data-buy],html body #systems .plan[data-buy],html body #systems .plan.hot[data-buy],html body .plan.lg[data-buy],html body .rk-c[data-buy]{border:2px solid var(--pc)!important;animation:none!important;box-shadow:0 0 0 1px rgba(var(--pg),.3),0 0 28px rgba(var(--pg),.26),0 18px 50px -24px rgba(0,0,0,.9)!important}
html body #pricing .plan[data-buy]:hover,html body #pricing .plan.hot[data-buy]:hover,html body #systems .plan[data-buy]:hover,html body #systems .plan.hot[data-buy]:hover,html body .plan.lg[data-buy]:hover,html body .rk-c[data-buy]:hover{border-color:var(--pc)!important;box-shadow:0 0 0 1px var(--pc),0 0 46px rgba(var(--pg),.55),0 22px 50px rgba(0,0,0,.5)!important}
html body .rk-row{padding-left:4px!important;padding-right:4px!important;scroll-padding-left:4px!important}

/* ===== phone-first tightening (2 Dec) ===== */
@media(max-width:760px){
 html body .fg-dash,html body .fgd-cap{display:none!important}
 html body .fg-svc a,html body .fg-tools .fg-card{padding-right:16px}
 html body .fg-svc a .fg-go{position:static;margin:8px 0 0 auto}
 html body .hm-who .card,html body .card{padding:14px 16px}
 html body .hm-who .card span:not(.isk){font-size:.9rem}
 html body .fg-foot{margin-top:40px}
 html body .fg-foot-in{grid-template-columns:1fr 1fr;gap:22px 16px;padding:30px 18px 20px;text-align:left}
 html body .fg-foot-in>div:first-child{grid-column:1/-1}
 html body .fg-foot li{margin:0 0 7px}
 html body .fg-foot a{font-size:.86rem}
}

/* smaller home boxes */
html body .fg-svc{gap:12px}
html body .fg-svc a{min-height:122px;padding:14px 13px 44px;gap:5px}
html body .fg-svc .fg-ico{width:30px;height:30px}
html body .fg-svc .fg-ico svg{width:26px;height:26px}
html body .fg-svc b{font-size:.88rem}
html body .fg-svc small{font-size:.72rem}
html body .fg-svc .fg-go{right:10px;bottom:10px;width:26px;height:26px}
@media(max-width:760px){html body .fg-svc a{min-height:108px;padding:12px 12px 40px}}

/* example CVs: keep the site's text colours out of the CV paper */
html body .cvin li,html body .cvin b,html body .cvin strong,html body .cvin em,html body .cvin p,html body .cvin small,html body .cvin h1,html body .cvin h2,html body .cvin h3,html body .cvin h4,html body .cvin h5{color:inherit}

/* Workplace Toolkit: tabs and the card below share one width and one centre line */
html body #schoolleaver .sl-steps{max-width:1000px;width:100%;margin-left:auto;margin-right:auto;box-sizing:border-box}
@media(min-width:700px){html body #schoolleaver .sl-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}html body #schoolleaver .sl-steps>button{width:auto;justify-content:flex-start}}
html body #schoolleaver .sl-card,html body #schoolleaver .sl-body>*{margin-left:auto;margin-right:auto}
html body #schoolleaver .sl-steps{max-width:1000px!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
@media(min-width:1000px){html body .fg-svc{grid-template-columns:repeat(5,minmax(0,1fr))!important}}

/* ===== Navigation: smoked-glass pill with a fine gold edge ===== */
html body .fg-head{width:min(1280px,calc(100% - 28px));height:56px;top:14px;border:1px solid transparent;
 background:linear-gradient(180deg,rgba(38,32,22,.82),rgba(12,10,7,.88)) padding-box,linear-gradient(180deg,rgba(240,184,63,.85),rgba(240,184,63,.28) 55%,rgba(240,184,63,.6)) border-box;
 background-color:rgba(10,9,7,.6);-webkit-backdrop-filter:blur(20px) saturate(150%);backdrop-filter:blur(20px) saturate(150%);
 box-shadow:0 12px 34px rgba(0,0,0,.55),0 0 28px -8px rgba(240,184,63,.35),inset 0 1px 0 rgba(255,236,190,.22)}
html body .fg-head::after{display:none}
html body .fg-head::before{height:50%;background:linear-gradient(180deg,rgba(255,236,190,.1),rgba(255,236,190,0))}
html body .fg-bar{height:56px;padding:0 14px 0 22px;gap:18px}
html body .fg-brand img{height:32px;width:auto;opacity:1!important;filter:brightness(1.35) saturate(1.2) drop-shadow(0 0 8px rgba(240,184,63,.5))}
html body .fgnav{justify-content:flex-end}
html body .fg-list{gap:4px}
html body .fg-list>li>a,html body .fg-dd{font-size:.86rem;font-weight:500;color:#efe6d0;letter-spacing:.01em;padding:8px 11px}
html body .fg-list>li.fg-on>a,html body .fg-list>li.fg-on>.fg-dd{color:#f6c85a!important}
html body .fg-list>li.fg-on::after{left:11px;right:11px;bottom:3px;height:2px;box-shadow:0 0 8px rgba(240,184,63,.8)}
html body .fg-login{color:#f6c85a;font-weight:700;background:none;border:0;padding:8px 12px}
html body .fg-cta{border-radius:10px;background:linear-gradient(180deg,#f7cf6a,#d99a22);color:#1b1305!important;font-weight:700;padding:9px 16px;box-shadow:0 6px 16px -6px rgba(240,184,63,.7),inset 0 1px 0 rgba(255,255,255,.5)}
html body .fg-cta:hover{transform:translateY(-1px);box-shadow:0 10px 22px -6px rgba(240,184,63,.85),inset 0 1px 0 rgba(255,255,255,.55)}
@media(max-width:1080px){html body .fg-head{width:calc(100% - 20px);top:8px;height:54px}html body .fg-bar{height:54px;padding:0 10px 0 14px}}

/* phone: the full navigation pill, scrollable, floating under the logo bar */
@media(max-width:760px){
 html body .fg-strip{display:flex!important;position:absolute;left:0;right:0;top:calc(100% + 8px);gap:6px;padding:6px;margin:0;overflow-x:auto;border:1px solid rgba(255,219,125,.28);border-radius:999px;background:rgba(10,9,7,.72);-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);box-shadow:0 10px 30px -14px #000;scrollbar-width:none;justify-content:flex-start}
 html body .fg-strip::-webkit-scrollbar{display:none}
 html body .fg-strip a{flex:none;padding:7px 13px;border-radius:999px;font:600 .8rem var(--fg-font);color:rgba(246,239,222,.9)!important;background:none;border:0;box-shadow:none;white-space:nowrap}
 html body .fg-strip a.fg-on{color:#1a1405!important;background:linear-gradient(180deg,#ffd978,#e9b23a)}
 html body .fg-strip>:first-child,html body .fg-strip>:last-child{margin:0}
 html body{padding-top:112px!important}
 html body main,html body>.fg-head+*{scroll-margin-top:130px}
}
