/* =====================================================================================================
   VooSquare homepage, Nov 2026: the hub. Real white, ink type set tight and large, the VooSquare green only for
   the main action and the numbers that go up, each Voo tool in its own colour, real photography of people at work.
   Loaded after site.css; everything is scoped to .hx (the page) and .hx-* classes.
   ===================================================================================================== */
:root { --hx-ink: #0B1210; --hx-ink2: #2A3330; --hx-mut: #5E6965; --hx-line: #E5E9E7; --hx-line2: #D3DAD6; --hx-mist: #F5F7F6; --hx-g: #00A86B; --hx-gd: #00774B; }
body:has(.hx) { background: #fff; }
.hx { color: var(--hx-ink); }
.hx h1, .hx h2, .hx h3 { color: var(--hx-ink); text-wrap: balance; }
.hx .wrap, .hx-nav .wrap, .hx-foot .wrap { width: min(1200px, 100% - 32px); margin-inline: auto; padding-inline: 0; }

/* ---------- nav ---------- */
.hx-nav { background: rgba(255,255,255,.9) !important; backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); border-bottom: 1px solid transparent !important; box-shadow: none !important; }
.hx-nav.hx-solid { border-bottom-color: var(--hx-line) !important; }
.hx-nav .links a { color: var(--hx-ink2); font-weight: 600; }
.hx-nav .links a:hover, .hx-nav .links a.on { color: var(--hx-ink); background: var(--hx-mist); }
.hx-nav .login { color: var(--hx-ink); }
.hx-btn-k { background: var(--hx-ink); color: #fff; border: 0; }
.hx-btn-k:hover { background: #1E2926; }

/* ---------- buttons ---------- */
.hx .btn { border-radius: 999px; font-weight: 700; }
.hx-big { padding: 15px 24px; font-size: 16px; }
.hx-btn-p { background: var(--hx-g); color: #fff; border: 0; box-shadow: 0 12px 26px -16px rgba(0,120,76,.9); }
.hx-btn-p:hover { background: #00965F; }
.hx-btn-o { background: #fff; color: var(--hx-ink); border: 1.5px solid var(--hx-line2); }
.hx-btn-o:hover { border-color: var(--hx-ink); }
.hx-btn-w { background: #fff; color: var(--hx-ink); border: 0; }
.hx-btn-ow { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.hx-btn-ow:hover { border-color: #fff; }
.hx-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- hero ---------- */
.hx-hero { padding: clamp(36px, 6vw, 84px) 0 clamp(40px, 6vw, 72px); }
.hx-hero-in { display: grid; gap: clamp(32px, 4vw, 56px); align-items: center; }
.hx-hero h1 { font-size: clamp(44px, 7vw, 92px); font-weight: 800; letter-spacing: -.055em; line-height: .96; }
.hx-lead { margin-top: 20px; font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.6; color: var(--hx-ink2); max-width: 52ch; }
.hx-hero .hx-ctas { margin-top: 28px; }
.hx-note { margin-top: 12px; font-size: 13.5px; color: var(--hx-mut); font-weight: 500; }
.hx-hero .stores { margin-top: 14px; }
.hx-hero-fig { position: relative; margin: 0 0 30px; }
.hx-hero-img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 24px; background: var(--hx-mist); }
.hx-dash { position: absolute; right: clamp(-10px, -1.5vw, -24px); bottom: -30px; width: min(68%, 380px); background: #fff; border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(11,18,16,.35), 0 0 0 1px rgba(11,18,16,.06); overflow: hidden; }
.hx-dash-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--hx-line); font-size: 12px; font-weight: 700; color: var(--hx-ink2); }
.hx-dash-top em { margin-left: auto; font-style: normal; font-size: 10.5px; color: var(--hx-mut); background: var(--hx-mist); padding: 2px 7px; border-radius: 6px; }
.hx-dots { display: inline-flex; gap: 4px; }
.hx-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--hx-line2); }
.hx-dash-body { padding: 12px; display: grid; gap: 10px; }
.hx-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hx-kpis div { display: grid; gap: 1px; padding: 8px 9px; border-radius: 10px; background: var(--hx-mist); }
.hx-kpis small { font-size: 10px; color: var(--hx-mut); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-kpis b { font-size: 16px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hx-kpis span { font-size: 10.5px; font-weight: 700; }
.hx-kpis .up { color: var(--hx-gd); } .hx-kpis .dn { color: var(--hx-gd); }
.hx-spark { width: 100%; height: 56px; display: block; }
.hx-apps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.hx-apps span { display: grid; justify-items: center; gap: 3px; }
.hx-apps small { font-size: 9px; font-weight: 700; color: var(--hx-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (min-width: 980px) { .hx-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }

/* ---------- one account strip ---------- */
.hx-strip { border-block: 1px solid var(--hx-line); padding: 18px 0; margin-top: 10px; }
.hx-strip-in { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.hx-strip p { font-size: 13.5px; font-weight: 700; color: var(--hx-mut); }
.hx-logos { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hx-logo { display: inline-flex; align-items: center; gap: 8px; }
.hx-logo b { font-size: 15px; letter-spacing: -.02em; }

/* ---------- sections ---------- */
.hx-sec { padding: clamp(72px, 9vw, 128px) 0 0; }
.hx-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.hx-head.hx-c { margin-inline: auto; text-align: center; justify-items: center; }
.hx-head h2, .hx-split-copy h2 { font-size: clamp(34px, 4.8vw, 58px); font-weight: 800; letter-spacing: -.05em; line-height: 1.02; }
.hx-head p, .hx-split-copy > p { color: var(--hx-ink2); font-size: 17.5px; line-height: 1.6; max-width: 60ch; }

/* tools */
.hx-tools { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.hx-tool { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--hx-line); border-radius: 20px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.hx-tool::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--c); opacity: 0; transition: opacity .2s; }
.hx-tool:hover { border-color: var(--hx-line2); box-shadow: 0 26px 50px -36px rgba(11,18,16,.45); transform: translateY(-2px); }
.hx-tool:hover::before { opacity: 1; }
.hx-tool-h { display: flex; align-items: center; justify-content: space-between; }
.hx-tool h3 { font-size: 20px; font-weight: 800; letter-spacing: -.03em; margin-top: 6px; }
.hx-tool p { color: var(--hx-ink2); font-size: 14.5px; line-height: 1.55; flex: 1; }
.hx-tool-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--hx-line); }
.hx-tool-f small { font-size: 12px; color: var(--hx-mut); font-weight: 600; text-align: right; }
.hx-go { font-size: 14px; font-weight: 700; color: var(--hx-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--hx-line2); }
.hx-go:hover { text-decoration-color: var(--hx-ink); }
.hx-soon { font-size: 13px; font-weight: 700; color: var(--hx-mut); }

/* split sections (academy, community) */
.hx-band { background: var(--hx-mist); margin-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); }
.hx-split { display: grid; gap: 36px; align-items: center; }
.hx-photo { margin: 0; }
.hx-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; display: block; background: var(--hx-mist); }
.hx-split-copy > p { margin-top: 16px; }
.hx-split-copy .hx-ctas { margin-top: 26px; }
.hx-facts { display: flex; gap: 8px 36px; flex-wrap: wrap; margin: 26px 0 0; }
.hx-facts div { display: grid; }
.hx-facts dd { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hx-facts dt { font-size: 13px; color: var(--hx-mut); font-weight: 600; }
@media (min-width: 980px) { .hx-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } .hx-split-r .hx-photo { order: 2; } }
.hx-rooms { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--hx-line); }
.hx-rooms li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--hx-line); }
.hx-hash { width: 30px; height: 30px; border-radius: 9px; background: var(--hx-mist); display: grid; place-items: center; font-weight: 800; color: var(--hx-gd); }
.hx-rooms b { font-size: 15px; display: block; }
.hx-rooms small { font-size: 12.5px; color: var(--hx-mut); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-rooms em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--hx-gd); }
.hx-rooms em.p { color: #8A5300; }
.hx-rooms .hx-more { display: block; font-size: 13.5px; color: var(--hx-mut); font-weight: 600; }

/* calculators */
.hx-calcs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.hx-calc { display: grid; gap: 4px; text-align: left; padding: 18px; border-radius: 16px; border: 1px solid var(--hx-line); background: #fff; position: relative; transition: border-color .2s; }
.hx-calc:hover { border-color: var(--hx-ink); }
.hx-calc b { font-size: 16px; letter-spacing: -.02em; padding-right: 54px; }
.hx-calc span { font-size: 13.5px; color: var(--hx-ink2); line-height: 1.5; }
.hx-calc em { position: absolute; right: 14px; top: 16px; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--hx-gd); }

/* blog */
.hx-posts { display: grid; gap: 18px; }
@media (min-width: 900px) { .hx-posts { grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(3, auto); } .hx-post.big { grid-row: span 3; } }
.hx-post { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: center; color: inherit; }
.hx-post.big { grid-template-columns: 1fr; align-items: start; }
.hx-post-img { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--hx-mist); }
.hx-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.hx-post:hover .hx-post-img img { transform: scale(1.03); }
.hx-post-b { display: grid; gap: 6px; }
.hx-post-b small { font-size: 12.5px; font-weight: 700; color: var(--hx-gd); }
.hx-post-b b { font-size: 18px; font-weight: 800; letter-spacing: -.03em; line-height: 1.25; }
.hx-post.big .hx-post-b b { font-size: clamp(24px, 2.6vw, 32px); }
.hx-post-b span { color: var(--hx-ink2); font-size: 15.5px; line-height: 1.55; }
.hx-post-b i { font-style: normal; font-size: 12.5px; color: var(--hx-mut); font-weight: 600; }

/* pricing: site.js draws the plans; this restyles them */
.hx .plans { display: grid; gap: 16px; max-width: 920px; margin: 0 auto; }
@media (min-width: 820px) { .hx .plans { grid-template-columns: 1fr 1fr; } .hx .plans.one { grid-template-columns: minmax(0, 460px); justify-content: center; } }
.hx .plan { background: #fff !important; color: var(--hx-ink) !important; border: 1px solid var(--hx-line) !important; border-radius: 22px !important; padding: 28px !important; box-shadow: none !important; }
.hx .plan.prem { border: 2px solid var(--hx-ink) !important; }
.hx .plan .glow { display: none !important; }
.hx .plan .pn { color: var(--hx-ink) !important; }
.hx .plan .pp b { color: var(--hx-ink) !important; letter-spacing: -.05em; }
.hx .plan .pp span, .hx .plan .pt { color: var(--hx-mut) !important; }
.hx .plan li { color: var(--hx-ink2) !important; }
.hx .plan .ck { background: #E2F6EC !important; color: var(--hx-gd) !important; }
.hx .plan .btn-l, .hx .plan .btn-k { background: var(--hx-ink) !important; color: #fff !important; box-shadow: none !important; }
.hx .plan .pill-l { background: var(--hx-ink) !important; color: #fff !important; }
.hx .plan-note { text-align: center; margin-top: 16px; }

/* questions */
.hx-faq { display: grid; gap: 10px; }
@media (min-width: 980px) { .hx-faq { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; align-items: start; } }
.hx .faq { max-width: none; margin: 0; border-top: 1px solid var(--hx-line2); }
.hx .faq details { border: 0 !important; border-bottom: 1px solid var(--hx-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; margin: 0 !important; padding: 0 !important; }
.hx .faq summary { padding: 20px 0 !important; font-size: 17.5px; font-weight: 700; letter-spacing: -.02em; }
.hx .faq details p, .hx .faq details ul { padding: 0 0 20px !important; color: var(--hx-ink2); line-height: 1.65; }

/* last call */
.hx-last { margin-top: clamp(72px, 9vw, 128px); }
.hx-last-in { background: var(--hx-ink); border-radius: 28px; padding: clamp(40px, 7vw, 84px); display: grid; gap: 26px; justify-items: start; }
.hx-last h2 { color: #fff; font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -.05em; line-height: 1.02; max-width: 18ch; }

/* footer */
.hx-foot { background: #fff !important; color: var(--hx-ink2) !important; border-top: 1px solid var(--hx-line); margin-top: clamp(56px, 8vw, 96px); }
.hx-foot h4 { color: var(--hx-ink) !important; }
.hx-foot a, .hx-foot button { color: var(--hx-ink2) !important; }
.hx-foot .brand span, .hx-foot .brand b { color: var(--hx-ink) !important; }
.hx-foot .about, .hx-foot .fb, .hx-foot .law { color: var(--hx-mut) !important; }
.hx-foot .fb { border-color: var(--hx-line) !important; }

@media (prefers-reduced-motion: reduce) { .hx-tool, .hx-post-img img { transition: none; } }

.hx-hero-img { height: auto !important; max-height: 640px; }
/* the admin's top card and announcement bar, in the hub's colours */
.site:has(.hx) .topcard-w { margin: 0 0 6px; }
.site:has(.hx) .topcard-w .tc, .site:has(.hx) #topcard > * { background: var(--hx-mist) !important; color: var(--hx-ink) !important; border: 1px solid var(--hx-line) !important; box-shadow: none !important; }
.site:has(.hx) #topcard * { color: inherit; }
.site:has(.hx) #topcard .btn, .site:has(.hx) #topcard a.btn { background: var(--hx-ink) !important; color: #fff !important; box-shadow: none !important; }
.site:has(.hx) #topcard [class*="sq"], .site:has(.hx) #topcard .fsq { display: none !important; }
.site:has(.hx) .ann { background: var(--hx-ink) !important; }
.site:has(.hx) .topcard { background: var(--hx-mist) !important; color: var(--hx-ink) !important; border: 1px solid var(--hx-line) !important; box-shadow: none !important; }
.site:has(.hx) .topcard .gridbg, .site:has(.hx) .topcard .tc-sq { display: none !important; }
.site:has(.hx) .topcard h2 { color: var(--hx-ink) !important; background: none !important; -webkit-text-fill-color: currentColor !important; letter-spacing: -.04em; }
.site:has(.hx) .topcard p, .site:has(.hx) .topcard .tc-eye { color: var(--hx-ink2) !important; }
.site:has(.hx) .topcard .tc-eye i { background: var(--hx-g) !important; animation: none !important; box-shadow: none !important; }

/* ===================== v2: product first ===================== */
.hx-hero { padding: clamp(40px, 7vw, 96px) 0 0; overflow: hidden; }
.hx-hero-copy { max-width: 860px; margin: 0 auto; text-align: center; display: grid; justify-items: center; }
.hx-hero h1 { font-size: clamp(42px, 6.4vw, 84px); letter-spacing: -.05em; line-height: .98; font-weight: 750; }
.hx-lead { margin: 22px auto 0; text-align: center; }
.hx-hero .hx-ctas { justify-content: center; }
.hx-shot { margin: clamp(40px, 6vw, 72px) auto 0; width: min(1120px, 100%); position: relative; }
.hx-shot::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -2px; height: 32%; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 88%); pointer-events: none; }
.hx-shot figcaption { position: relative; z-index: 2; text-align: center; font-size: 12.5px; color: var(--hx-mut); margin-top: -34px; font-weight: 600; }
.hx-win { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(11,18,16,.08), 0 50px 100px -40px rgba(11,18,16,.35), 0 20px 40px -30px rgba(11,18,16,.25); }
.hx-win-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 14px; background: #F3F5F4; border-bottom: 1px solid var(--hx-line); }
.hx-win-t { font-size: 12px; font-weight: 600; color: var(--hx-mut); }
.hx-win img { display: block; width: 100%; height: auto; }
.hx-strip { margin-top: 0; }

/* tool showcase */
.hx-show { display: grid; gap: 18px; }
.hx-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.hx-tabs::-webkit-scrollbar { display: none; }
.hx-tab { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; border: 1px solid var(--hx-line); background: #fff; text-align: left; transition: border-color .15s, background .15s, box-shadow .15s; }
.hx-tab b { display: block; font-size: 14.5px; letter-spacing: -.015em; }
.hx-tab small { display: block; font-size: 12px; color: var(--hx-mut); font-weight: 600; }
.hx-tab:hover { border-color: var(--hx-line2); }
.hx-tab[aria-selected="true"] { border-color: var(--hx-ink); box-shadow: inset 0 -3px 0 var(--c); }
.hx-panel { border: 1px solid var(--hx-line); border-radius: 22px; padding: clamp(18px, 3vw, 32px); background: linear-gradient(180deg, var(--hx-mist), #fff 40%); min-width: 0; }
.hx-panel-h { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.hx-panel-h > div { display: flex; align-items: center; gap: 12px; }
.hx-panel-h b { display: block; font-size: 22px; letter-spacing: -.035em; }
.hx-panel-h small { display: block; font-size: 13px; color: var(--hx-mut); font-weight: 600; }
.hx-panel-d { margin: 12px 0 22px; color: var(--hx-ink2); font-size: 16.5px; line-height: 1.6; max-width: 68ch; }
.hx-cap { margin-top: 10px; font-size: 12.5px; color: var(--hx-mut); font-weight: 600; }
.hx-noshot { display: grid; place-items: center; gap: 14px; text-align: center; min-height: 260px; border: 1px dashed var(--hx-line2); border-radius: 14px; background: #fff; padding: 24px; }
.hx-noshot p { color: var(--hx-mut); font-weight: 600; max-width: 40ch; }
@media (min-width: 1000px) {
  .hx-show { grid-template-columns: 250px minmax(0, 1fr); align-items: start; }
  .hx-tabs { flex-direction: column; overflow: visible; position: sticky; top: 90px; }
  .hx-tab { width: 100%; }
  .hx-tab[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--c); }
}

/* store buttons: real badges when the team uploads them (Admin → Site content → App stores); clean black buttons until then */
.hx .stores { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.hx .stores a, .hx .stores span, .hx .stores button { background: var(--hx-ink) !important; color: #fff !important; border: 0 !important; border-radius: 10px !important; }
.hx .stores * { color: #fff !important; }

/* the team looking at the screen from the corner, and one entrance: the screen rises into place */
.hx-shot { padding-right: clamp(0px, 9vw, 120px); }
.hx-peek { position: absolute; right: 0; bottom: 6%; z-index: 1; width: clamp(150px, 22vw, 290px); aspect-ratio: 704 / 900; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(11,18,16,.45), 0 0 0 6px #fff; }
.hx-win { position: relative; z-index: 0; }
.hx-shot::after { z-index: 2; }
.hx-shot figcaption { z-index: 3; }
@media (max-width: 760px) { .hx-shot { padding-right: 0; } .hx-peek { width: 112px; right: -6px; bottom: 30%; border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(11,18,16,.5), 0 0 0 4px #fff; } }
@media (prefers-reduced-motion: no-preference) {
  .hx-shot .hx-win { animation: hxRise 1.1s cubic-bezier(.2,.8,.2,1) .15s both; transform-origin: 50% 0; }
  .hx-peek { animation: hxPeek 1s cubic-bezier(.2,.8,.2,1) .7s both; }
  .hx-hero-copy > * { animation: hxUp .7s cubic-bezier(.2,.8,.2,1) both; }
  .hx-hero-copy > :nth-child(2) { animation-delay: .08s; } .hx-hero-copy > :nth-child(3) { animation-delay: .16s; } .hx-hero-copy > :nth-child(4) { animation-delay: .24s; }
}
@keyframes hxRise { from { opacity: 0; transform: perspective(1400px) rotateX(14deg) translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes hxPeek { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes hxUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hx-peek { height: auto !important; }

/* ===================== v3: alive ===================== */
/* hero */
.hx-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); overflow: visible; position: relative; isolation: isolate; }
.hx-hero::before { content: ""; position: absolute; inset: -10% 0 auto; height: 120%; z-index: -1; background: radial-gradient(40% 50% at 78% 30%, rgba(0,168,107,.12), transparent 70%), radial-gradient(30% 40% at 10% 0%, rgba(51,85,240,.08), transparent 70%); animation: hxGlow 16s ease-in-out infinite alternate; }
@keyframes hxGlow { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-3%, 2%, 0) scale(1.05); } }
.hx-hero-in { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.hx-hero-copy { max-width: none; margin: 0; text-align: left; justify-items: start; }
.hx-lead { margin: 20px 0 0; text-align: left; }
.hx-hero .hx-ctas { justify-content: flex-start; }
.hx-hero h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1; }
.hx-hero h1 span { display: block; background: linear-gradient(90deg, #00A86B, #3355F0 45%, #5B3FE8 70%, #00A86B); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hxSlide 8s linear infinite; }
@keyframes hxSlide { to { background-position: -220% 0; } }
.hx-pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--hx-line); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--hx-ink2); margin-bottom: 22px; }
.hx-pill b { background: var(--hx-ink); color: #fff; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; }
.hx-pill:hover { border-color: var(--hx-ink); }
@media (min-width: 1020px) { .hx-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }

.hx-hub { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(11,18,16,.08), 0 50px 90px -40px rgba(11,18,16,.4); overflow: hidden; transform: perspective(1600px) rotateY(-5deg) rotateX(3deg); transform-origin: 20% 50%; animation: hxIn 1.1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes hxIn { from { opacity: 0; transform: perspective(1600px) rotateY(-14deg) rotateX(8deg) translateY(30px); } }
@media (max-width: 1019px) { .hx-hub { transform: none; } }
.hx-hub-bar { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; background: #F3F5F4; border-bottom: 1px solid var(--hx-line); font-size: 12.5px; }
.hx-hub-bar em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--hx-mut); background: #fff; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--hx-line); }
.hx-hub-body { display: grid; grid-template-columns: 74px minmax(0, 1fr); min-height: 400px; }
.hx-hub-side { display: grid; align-content: start; gap: 6px; padding: 12px 8px; border-right: 1px solid var(--hx-line); background: #FAFBFA; }
.hx-hub-side span { display: grid; justify-items: center; gap: 3px; padding: 7px 2px; border-radius: 10px; transition: background .3s; }
.hx-hub-side span.on { background: #fff; box-shadow: 0 0 0 1px var(--hx-line), 0 6px 14px -10px rgba(11,18,16,.4); }
.hx-hub-side small { font-size: 9.5px; font-weight: 700; color: var(--hx-ink2); }
.hx-hub-main { padding: 14px 16px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.hx-hub-hello small { font-size: 11.5px; color: var(--hx-mut); font-weight: 600; }
.hx-hub-hello b { display: block; font-size: 16px; letter-spacing: -.02em; }
.hx-hub-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hx-hub-kpis div { padding: 10px; border-radius: 12px; background: var(--hx-mist); }
.hx-hub-kpis small { display: block; font-size: 10.5px; color: var(--hx-mut); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-hub-kpis b { display: block; font-size: clamp(16px, 1.6vw, 21px); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.hx-hub-kpis b.bump { animation: hxBump .6s ease; }
@keyframes hxBump { 30% { color: var(--hx-g); transform: translateY(-2px); } }
.hx-hub-spark { width: 100%; height: 54px; }
.hx-line { fill: none; stroke: var(--hx-g); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: hxDraw 2.4s cubic-bezier(.2,.8,.2,1) .4s forwards; }
@keyframes hxDraw { to { stroke-dashoffset: 0; } }
.hx-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hx-feed li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--hx-line); background: #fff; animation: hxFeed .55s cubic-bezier(.2,.8,.2,1); }
.hx-feed li:first-child { border-color: color-mix(in srgb, var(--c) 35%, var(--hx-line)); box-shadow: 0 8px 20px -16px var(--c); }
.hx-feed b { display: block; font-size: 13px; letter-spacing: -.01em; }
.hx-feed small { display: block; font-size: 11.5px; color: var(--hx-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-feed em { font-style: normal; font-size: 11px; color: var(--hx-mut); font-weight: 600; }
@keyframes hxFeed { from { opacity: 0; transform: translateY(-12px) scale(.98); } }

/* moving words */
.hx-marq { overflow: hidden; border-block: 1px solid var(--hx-line); padding: 20px 0; background: #fff; }
.hx-marq-t { display: flex; width: max-content; gap: 48px; animation: hxMarq 34s linear infinite; }
.hx-marq-t span { display: inline-flex; align-items: center; gap: 14px; }
.hx-marq-t b { font-size: clamp(26px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.045em; color: var(--hx-ink); }
.hx-marq-t span:nth-child(even) b { color: transparent; -webkit-text-stroke: 1.2px var(--hx-ink); }
@keyframes hxMarq { to { transform: translateX(-50%); } }

/* the flow */
.hx-flow-in { display: grid; gap: 28px; }
.hx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hx-step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: 18px; border: 1px solid var(--hx-line); background: #fff; cursor: pointer; transition: border-color .3s, box-shadow .3s, opacity .3s; opacity: .62; }
.hx-step.on { opacity: 1; border-color: var(--c); box-shadow: 0 20px 40px -30px var(--c); }
.hx-step small { font-size: 12px; font-weight: 700; color: var(--hx-mut); }
.hx-step h3 { font-size: 19px; font-weight: 800; letter-spacing: -.03em; margin-top: 2px; }
.hx-step p { color: var(--hx-ink2); font-size: 14.5px; line-height: 1.55; margin-top: 4px; }
.hx-fstage { position: relative; }
.hx-stage-in { position: sticky; top: 100px; border-radius: 22px; padding: 20px; background: linear-gradient(160deg, color-mix(in srgb, var(--c, #00A86B) 10%, #fff), #fff 60%); border: 1px solid var(--hx-line); min-height: 360px; box-shadow: 0 40px 80px -60px rgba(11,18,16,.45); transition: background .5s; }
.hx-stage-h { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hx-stage-h b { font-size: 16px; }
.hx-stage-h em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--hx-mut); background: #fff; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--hx-line); }
@media (min-width: 1000px) { .hx-flow-in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; } .hx-steps { gap: 14px; padding-bottom: 30vh; } .hx-step { padding: 22px; } .hx-fstage { align-self: stretch; } }
@media (max-width: 999px) { .hx-fstage { order: -1; } .hx-stage-in { top: 72px; z-index: 5; min-height: 300px; } }
.fx { display: grid; gap: 12px; }
.fx > *, .fx-ad, .fx-cr, .fx-ev, .fx-b, .fx-tag, .fx-seq span { animation: fxIn .6s cubic-bezier(.2,.8,.2,1) var(--d, 0s) both; }
@keyframes fxIn { from { opacity: 0; transform: translateY(14px); } }
.fx-search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--hx-line); font-size: 14px; font-weight: 600; }
.fx-search span { flex: 1; }
.fx-search i { font-style: normal; background: var(--c); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; }
.fx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fx-ad { padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--hx-line); display: grid; gap: 4px; }
.fx-thumb { aspect-ratio: 16 / 9; border-radius: 10px; background-size: cover; background-position: center; }
.fx-t0 { background-image: url(/img/academy/broll-2.webp); } .fx-t1 { background-image: url(/img/academy/broll-5.webp); } .fx-t2 { background-image: url(/img/academy/broll-8.webp); } .fx-t3 { background-image: url(/img/academy/broll-1.webp); }
.fx-ad b { font-size: 13px; } .fx-ad small { font-size: 11.5px; color: var(--hx-mut); }
.fx-prompt { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--hx-line); font-weight: 700; font-size: 15px; }
.fx-row { display: grid; grid-template-columns: .7fr 1fr .85fr; gap: 10px; align-items: end; }
.fx-cr { display: grid; gap: 6px; }
.fx-cr span { border-radius: 12px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.fx-cr span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-100%); animation: fxShine 2.4s ease-in-out var(--d) infinite; }
@keyframes fxShine { 60%, 100% { transform: translateX(100%); } }
.fx-r0 span { aspect-ratio: 9 / 16; background-image: url(/img/academy/broll-6.webp); } .fx-r1 span { aspect-ratio: 1; background-image: url(/img/academy/broll-4.webp); } .fx-r2 span { aspect-ratio: 4 / 5; background-image: url(/img/academy/broll-5.webp); }
.fx-cr small { font-size: 11.5px; font-weight: 700; color: var(--hx-mut); text-align: center; }
.fx-ok, .fx-tag { font-size: 13px; font-weight: 700; color: var(--hx-gd); background: #E6F6EE; padding: 8px 12px; border-radius: 10px; justify-self: start; }
.fx-ev { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--hx-line); }
.fx-ev b { font-size: 14px; } .fx-ev small { grid-column: 1; font-size: 12px; color: var(--hx-mut); }
.fx-ev em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: 12px; font-weight: 700; color: var(--hx-gd); background: #E6F6EE; padding: 4px 10px; border-radius: 999px; }
.fx-ev em.no { color: #A33B2B; background: #FBECE8; }
.fx-cpa { display: flex; align-items: baseline; gap: 10px; padding: 14px; border-radius: 14px; background: var(--hx-ink); color: #fff; animation-delay: 1.4s; }
.fx-cpa small { flex: 1; color: #B8C2BE; font-size: 13px; } .fx-cpa b { font-size: 26px; letter-spacing: -.04em; } .fx-cpa s { color: #7E8A85; font-size: 14px; }
.fx-chat { gap: 8px; }
.fx-b { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.fx-b.in { background: #fff; border: 1px solid var(--hx-line); justify-self: start; border-bottom-left-radius: 4px; }
.fx-b.out { background: var(--c); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.fx-bc { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--hx-line); display: grid; gap: 4px; }
.fx-bc small { font-size: 12px; color: var(--hx-mut); font-weight: 600; } .fx-bc b { font-size: 22px; letter-spacing: -.035em; }
.fx-bar { display: block; height: 6px; border-radius: 6px; background: var(--hx-mist); overflow: hidden; margin-top: 6px; }
.fx-bar i { display: block; height: 100%; width: 0; background: var(--c); border-radius: 6px; animation: fxBar 2.2s cubic-bezier(.2,.8,.2,1) .3s forwards; }
@keyframes fxBar { to { width: 100%; } }
.fx-seq { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fx-seq span { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 12px; background: #fff; border: 1px solid var(--hx-line); font-size: 12.5px; font-weight: 700; }
.fx-seq i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); }
.fx-pay { gap: 12px; }
.fx-card { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--hx-line); display: grid; gap: 6px; position: relative; }
.fx-card small { font-size: 12px; color: var(--hx-mut); font-weight: 600; } .fx-card b { font-size: 28px; letter-spacing: -.04em; }
.fx-st { justify-self: start; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--hx-mist); color: var(--hx-mut); animation: fxSwap 3s ease forwards; }
.fx-st.ok { position: absolute; left: 16px; bottom: 16px; background: #E6F6EE; color: var(--hx-gd); opacity: 0; animation: fxShow 3s ease forwards; }
@keyframes fxSwap { 0%, 55% { opacity: 1; } 65%, 100% { opacity: 0; } }
@keyframes fxShow { 0%, 60% { opacity: 0; transform: scale(.9); } 75%, 100% { opacity: 1; transform: none; } }
.fx-wal { padding: 14px 16px; border-radius: 14px; background: var(--hx-ink); color: #fff; display: flex; justify-content: space-between; align-items: center; }
.fx-wal small { color: #B8C2BE; font-size: 13px; } .fx-wal b { font-size: 18px; }

/* tool tabs turning by themselves */
.hx-tabs.auto .hx-tab[aria-selected="true"] { position: relative; overflow: hidden; }
.hx-tabs.auto .hx-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--c); transform-origin: left; animation: hxTab 5.2s linear forwards; }
@keyframes hxTab { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hx-panel { animation: hxPanel .5s cubic-bezier(.2,.8,.2,1); }
@keyframes hxPanel { from { opacity: .3; } }

/* academy, dark */
.hx-dark { background: #0B1210; color: #fff; margin-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); position: relative; overflow: hidden; }
.hx-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 85% 20%, rgba(0,168,107,.22), transparent 70%); animation: hxGlow 14s ease-in-out infinite alternate; pointer-events: none; }
.hx-dark .wrap { position: relative; }
.hx-dark h2 { color: #fff; }
.hx-dark .hx-split-copy > p { color: #B8C2BE; }
.hx-dark .hx-facts dd { color: #fff; } .hx-dark .hx-facts dt { color: #8E9A95; }
.hx-lesson { display: grid; gap: 12px; }
.hx-lesson-scr { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.hx-lesson-scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; animation: hxKen 20s ease-in-out infinite alternate; }
@keyframes hxKen { to { transform: scale(1.08) translate(-2%, -1%); } }
.hx-lesson-t { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; padding-bottom: 50px; }
.hx-lesson-t.in { animation: fxIn .6s cubic-bezier(.2,.8,.2,1); }
.hx-lesson-t small { font-size: 12.5px; color: rgba(255,255,255,.75); font-weight: 600; }
.hx-lesson-t b { font-size: clamp(24px, 3.4vw, 42px); letter-spacing: -.04em; }
.hx-lesson-cap { position: absolute; left: 0; right: 0; bottom: 52px; text-align: center; padding: 0 16px; }
.hx-lesson-cap span { background: rgba(0,0,0,.66); padding: 4px 10px; border-radius: 6px; font-size: 13.5px; font-weight: 600; }
.hx-lesson-ctl { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 12px 9px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85) 55%); display: grid; gap: 7px; }
.hx-lesson-tl { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.22); overflow: hidden; }
.hx-lesson-tl i { display: block; height: 100%; width: 0; background: #12C784; transition: width 1s linear; }
.hx-lesson-ctl > span { display: flex; align-items: center; gap: 12px; font-family: var(--f-m); font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,.9); }
.hx-pp { width: 22px; height: 22px; border-radius: 50%; background: #fff; position: relative; }
.hx-pp::before, .hx-pp::after { content: ""; position: absolute; top: 7px; width: 2.5px; height: 8px; background: #0B1210; border-radius: 1px; }
.hx-pp::before { left: 8px; } .hx-pp::after { right: 8px; }
.hx-sp { flex: 1; }
.hx-lesson-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.hx-quiz, .hx-cert { border-radius: 14px; padding: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 6px; }
.hx-quiz small, .hx-cert small { font-size: 11.5px; color: #8E9A95; font-weight: 700; }
.hx-quiz b { font-size: 14px; }
.hx-opt { font-size: 12.5px; padding: 7px 10px; border-radius: 9px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.hx-opt.ok.pick { animation: hxPick 2.4s ease; }
@keyframes hxPick { 20%, 80% { background: rgba(18,199,132,.22); border-color: #12C784; } }
.hx-cert { background: #fff; color: var(--hx-ink); align-content: center; transform: rotate(-2deg); animation: hxFloat 6s ease-in-out infinite alternate; }
.hx-cert b { font-size: 15px; letter-spacing: -.02em; } .hx-cert span { font-size: 11.5px; color: var(--hx-gd); font-weight: 700; }
@keyframes hxFloat { to { transform: rotate(1deg) translateY(-6px); } }

/* community chat */
.hx-chat { border-radius: 20px; border: 1px solid var(--hx-line); background: #fff; box-shadow: 0 40px 80px -60px rgba(11,18,16,.5); overflow: hidden; display: grid; }
.hx-chat-h { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--hx-line); }
.hx-chat-h b { font-size: 14.5px; } .hx-chat-h em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--hx-mut); background: var(--hx-mist); padding: 2px 8px; border-radius: 6px; }
.hx-chat ul { list-style: none; margin: 0; padding: 14px 16px; display: grid; gap: 14px; min-height: 300px; align-content: end; }
.hx-chat li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; animation: hxFeed .5s cubic-bezier(.2,.8,.2,1); }
.hx-chat li b { display: block; font-size: 13.5px; }
.hx-chat li > span:last-child > span { display: block; font-size: 14px; color: var(--hx-ink2); line-height: 1.5; }
.hx-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 14px; }
.hx-av-f { background: linear-gradient(135deg, #5B3FE8, #3355F0); } .hx-av-m { background: linear-gradient(135deg, #00A86B, #0B6B48); }
.hx-chat-in { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 12px 14px; border-radius: 14px; background: var(--hx-mist); color: var(--hx-mut); font-size: 14px; }
.hx-chat-in i { width: 30px; height: 30px; border-radius: 50%; background: var(--hx-g); }

@media (prefers-reduced-motion: reduce) {
  .hx-hero::before, .hx-dark::before, .hx-hero h1 span, .hx-marq-t, .hx-lesson-scr img, .hx-cert, .fx-cr span::after { animation: none !important; }
  .hx-hub, .fx > *, .fx-ad, .fx-cr, .fx-ev, .fx-b, .fx-tag, .fx-seq span, .hx-feed li, .hx-chat li { animation: none !important; }
  .hx-line { stroke-dashoffset: 0; animation: none; }
}
@media (max-width: 600px) { .hx-hub-body { grid-template-columns: minmax(0, 1fr); min-height: 0; } .hx-hub-side { display: none; } .hx-hub-kpis b { font-size: 15px; } .hx-flow .hx-stage-in { min-height: 260px; } }
