/* LMSht hero: Voxel Arc, with live learning and agent signals.
   Used by index.html (with styles.css / base.css / dark.css) and by the standalone hero-voxel.html.
   Every rule is scoped to .vx so it cannot touch the rest of the page. */

:root{
  --vx-sky:#F8FAFC;
  --vx-text:#0F172A;--vx-lead:#3F3D56;--vx-fine:#5B5876;
  --vx-glass:rgba(255,255,255,.78);--vx-glass-line:rgba(84,18,196,.16);--vx-glass-text:#0F172A;--vx-glass-dim:#475569;
  --vx-em-a:#5412C4;--vx-em-b:#1B52EE;--vx-em-c:#C026D3;
  --vx-chip-bg:rgba(255,255,255,.7);
}
html[data-theme="dark"]{
  --vx-sky:#09090B;
  --vx-text:#FFFFFF;--vx-lead:rgba(236,234,255,.82);--vx-fine:rgba(220,216,255,.62);
  --vx-glass:rgba(14,12,32,.58);--vx-glass-line:rgba(255,255,255,.12);--vx-glass-text:#FFFFFF;--vx-glass-dim:rgba(226,224,255,.7);
  --vx-em-a:#F4F0FF;--vx-em-b:#C4B5FD;--vx-em-c:#F0ABFC;
  --vx-chip-bg:rgba(255,255,255,.07);
}

/* the section slides under the sticky 76px nav; padding is set here so the site's section{padding} does not apply */
.vx{position:relative;isolation:isolate;overflow:hidden;margin-top:-77px;padding:77px 0 0;
  min-height:max(100svh,720px);display:flex;flex-direction:column;
  background:var(--vx-sky);color:var(--vx-text);text-align:center}
.vx-stage{position:absolute;inset:0;z-index:-2;overflow:hidden;pointer-events:none}
.vx-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity .9s ease}
.vx-canvas.on{opacity:1}
.vx-grain{position:absolute;inset:0;background-repeat:repeat;background-size:128px 128px;mix-blend-mode:overlay;opacity:.04}
.vx-fade{position:absolute;left:0;right:0;bottom:0;height:120px;z-index:-1;pointer-events:none;background:linear-gradient(180deg,transparent,var(--subtle))}
.vx.no-gl .vx-stage{background:radial-gradient(ellipse 90% 40% at 50% 62%,rgba(124,58,237,.4),transparent 70%)}
html[data-theme="light"] .vx.no-gl .vx-stage{background:radial-gradient(ellipse 90% 40% at 50% 62%,rgba(84,18,196,.18),transparent 70%)}

.vx-in{position:relative;flex:1;display:flex;flex-direction:column}
.vx-copy{max-width:1120px;margin:0 auto;padding-top:clamp(52px,9vh,112px);position:relative;z-index:3}
.vx .vx-title{font-size:clamp(2.6rem,5.4vw,4.6rem);font-weight:800;letter-spacing:-.035em;line-height:1;color:var(--vx-text);margin:0 auto 22px;max-width:none;text-wrap:balance}
.vx-title .w{display:inline-block;overflow:hidden;vertical-align:top;padding:0 .02em .1em;margin-bottom:-.1em}
.vx-title .wi{display:inline-block;will-change:transform}
/* the highlighted word animates in on its inner span, so the site-wide heading rule (base.css) is switched off on the em itself */
.vx .vx-title em:not(#hl){font-style:italic;background:none;-webkit-background-clip:border-box;background-clip:border-box;color:inherit;animation:none;padding-right:0;margin-right:0}
.vx-title em .wi{padding-right:.08em;background:linear-gradient(100deg,var(--vx-em-a) 0%,var(--vx-em-b) 45%,var(--vx-em-c) 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:vx-sheen 7s ease-in-out infinite alternate}
@keyframes vx-sheen{to{background-position:100% 0}}
.vx-lead{font-size:clamp(1.05rem,1.4vw,1.22rem);color:var(--vx-lead);max-width:660px;margin:0 auto 32px;text-wrap:pretty}
.vx-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.vx-cta .btn .ms{font-size:20px;transition:transform .3s cubic-bezier(.16,1,.3,1)}
.vx-cta .btn:hover .ms{transform:translateX(3px)}
.vx-cta .btn-p{position:relative;overflow:hidden}
.vx-cta .btn-p:after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.35) 50%,transparent 65%);transform:translateX(-120%);transition:transform .8s cubic-bezier(.16,1,.3,1)}
.vx-cta .btn-p:hover:after{transform:translateX(120%)}
html[data-theme="dark"] .vx .btn-g{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
html[data-theme="light"] .vx .btn-g{background:rgba(255,255,255,.75);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}

/* AI agents that connect to LMSht over MCP: label above the icons, link below, all centred */
.vx-agents{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:24px}
.vx-agents[hidden]{display:none}
.vx-agents .lbl{font-size:.82rem;font-weight:600;color:var(--vx-fine);white-space:nowrap;text-align:center}
.vx-agents ul{list-style:none;padding:0;margin:0;display:flex;gap:8px}
.vx-agents li{position:relative}
.vx-agents .ag{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:var(--vx-lead);border:1px solid var(--vx-glass-line);background:var(--vx-chip-bg);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:color .2s,border-color .2s,transform .3s cubic-bezier(.34,1.56,.64,1)}
.vx-agents .ag svg{width:17px;height:17px;display:block}
.vx-agents .mono{font-weight:800;font-size:.9rem;line-height:1}
.vx-agents li:hover .ag,.vx-agents li:focus-within .ag{color:var(--ag,var(--brand));border-color:var(--ag,var(--brand));transform:translateY(-2px)}
.vx-agents .tip{position:absolute;left:50%;top:calc(100% + 8px);transform:translateX(-50%) translateY(-4px);padding:4px 8px;border-radius:6px;background:var(--ink);color:var(--subtle);font-size:.72rem;font-weight:700;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:5}
.vx-agents li:hover .tip,.vx-agents li:focus-within .tip{opacity:1;transform:translateX(-50%)}
/* the site's shared .more link adds a 26px top margin and 44px height; reset it here (32px still a comfortable tap target) */
.vx-agents .more{font-size:.82rem;font-weight:700;color:var(--brand-200);display:inline-flex;align-items:center;gap:2px;text-align:center;margin-top:-4px;min-height:32px}
.vx-agents .more:hover{gap:2px}
html[data-theme="light"] .vx-agents .more{color:var(--brand)}
.vx-agents .more .ms{font-size:16px;transition:transform .3s cubic-bezier(.16,1,.3,1)}
.vx-agents .more:hover .ms{transform:translateX(3px)}
.vx-spacer{flex:1;min-height:32px}

/* Signals: a ripple runs out on the sea and a card rises from it */
.vx-signals{position:absolute;inset:0;z-index:2;pointer-events:none}
.sg{position:absolute;left:0;top:0;display:flex;flex-direction:column;align-items:center;will-change:transform}
.sg-card{display:flex;align-items:center;gap:10px;padding:8px 10px 8px 8px;border-radius:14px;background:var(--vx-glass);border:1px solid var(--vx-glass-line);-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);box-shadow:0 18px 40px -18px rgba(0,0,0,.55);text-align:left;max-width:min(360px,calc(100vw - 32px));transform-origin:50% 100%}
html[data-theme="light"] .sg-card{box-shadow:0 18px 40px -20px rgba(84,18,196,.35)}
.sg-i{width:34px;height:34px;flex:none;border-radius:10px;display:grid;place-items:center;color:var(--k);background:color-mix(in oklab,var(--k) 18%,transparent);border:1px solid color-mix(in oklab,var(--k) 35%,transparent)}
.sg-i .ms{font-size:19px;font-variation-settings:"FILL" 1,"wght" 500,"GRAD" 0,"opsz" 20}
.sg-i svg{width:17px;height:17px}
.sg-i .mono{font-weight:800;font-size:.9rem;line-height:1}
.sg-txt{min-width:0}
.sg-txt b{display:block;font-size:.82rem;line-height:1.25;color:var(--vx-glass-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-txt small{display:block;font-size:.72rem;line-height:1.3;color:var(--vx-glass-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-tag{flex:none;align-self:flex-start;margin-left:4px;font-style:normal;font-size:.62rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--k);padding:2px 6px;border-radius:999px;border:1px solid color-mix(in oklab,var(--k) 40%,transparent)}
.sg-stem{width:1px;height:30px;background:linear-gradient(180deg,var(--vx-glass-line),var(--k));transform-origin:50% 100%}
.sg-dot{width:8px;height:8px;border-radius:50%;background:var(--k);box-shadow:0 0 14px 3px color-mix(in oklab,var(--k) 70%,transparent)}
.sg-ring{position:absolute;width:40px;height:16px;margin:-8px 0 0 -20px;border-radius:50%;border:1.5px solid var(--k);opacity:0;pointer-events:none}
/* signal kinds (brand-led, with semantic accents) */
.k-agent{--k:var(--ag)}.k-certificate{--k:#F5B544}.k-quiz,.k-complete{--k:#34D399}.k-ai{--k:#A78BFA}.k-enroll{--k:#7C95FF}.k-reminder{--k:#F0ABFC}.k-streak{--k:#FB923C}.k-leader{--k:#FACC15}
.k-grade{--k:#7C95FF}.k-path{--k:#A78BFA}.k-report{--k:#38BDF8}.k-badge{--k:#F0ABFC}.k-invite{--k:#34D399}.k-publish{--k:#C4B5FD}
html[data-theme="light"] .k-certificate{--k:#B45309}html[data-theme="light"] .k-quiz,html[data-theme="light"] .k-complete{--k:#047857}
html[data-theme="light"] .k-ai{--k:#5412C4}html[data-theme="light"] .k-enroll{--k:#1B52EE}html[data-theme="light"] .k-reminder{--k:#C026D3}
html[data-theme="light"] .k-streak{--k:#C2410C}html[data-theme="light"] .k-leader{--k:#A16207}
html[data-theme="light"] .k-grade{--k:#1B52EE}html[data-theme="light"] .k-path{--k:#5412C4}html[data-theme="light"] .k-report{--k:#0369A1}
html[data-theme="light"] .k-badge{--k:#C026D3}html[data-theme="light"] .k-invite{--k:#047857}html[data-theme="light"] .k-publish{--k:#6D28D9}
html[data-theme="light"] .k-agent{--k:var(--ag-l,var(--ag))}

@media (max-width:560px){
  .vx-copy{padding-top:28px}
  .vx .vx-title{font-size:clamp(2.3rem,10.5vw,3rem)}
  .vx-cta .btn{width:100%}
  .vx-agents .lbl{white-space:normal}
  .vx-agents ul{gap:6px}.vx-agents .ag{width:32px;height:32px}
  .vx-spacer{min-height:min(320px,78vw)}   /* phones: room for the sea and its signals under the copy */
}
@media (prefers-reduced-motion:reduce){
  .vx-title em .wi{animation:none}
  .vx-canvas{transition:none}
}
