/* Site test v3 (2026-11-28): light ribbons, section lights and the ghost cursor (see extras3.js). */

/* ---- light ribbons behind the hero and the final call to action ---- */
.hero,.final{position:relative;isolation:isolate}
.ribbons{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;opacity:.95;
  mask-image:linear-gradient(180deg,#000 75%,transparent);-webkit-mask-image:linear-gradient(180deg,#000 75%,transparent)}
.hero .rays{opacity:.55}
.final{overflow:hidden}
.final .ribbons{opacity:.8}

/* ---- soft light spots and a light line at the top of every section ---- */
main>.section,main>.final{position:relative;isolation:isolate}
.spot{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.spot::before{content:"";position:absolute;top:-10%;width:min(70vw,900px);aspect-ratio:1.4;border-radius:50%;
  background:radial-gradient(closest-side,rgb(var(--a)/.16),rgb(var(--a)/.05) 55%,transparent);filter:blur(10px)}
.spot-r::before{right:-18%}
.spot-l::before{left:-18%}
.spot::after{content:"";position:absolute;top:0;left:50%;width:min(80%,900px);height:1px;transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgb(var(--a)/.7),#fff,rgb(var(--a)/.7),transparent);opacity:.55;
  box-shadow:0 0 18px 1px rgb(var(--a)/.6)}
.section.alt .spot::before{background:radial-gradient(closest-side,rgb(var(--a)/.22),rgb(var(--a)/.06) 55%,transparent)}

/* ---- ghost cursor: the arrow in the account colour, six ghosts trailing behind ---- */
html.ghost-on,html.ghost-on *{cursor:none!important}
html.ghost-on input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),html.ghost-on textarea,html.ghost-on select{cursor:text!important}
.ghost-cursor{position:fixed;inset:0;z-index:2147483000;pointer-events:none;opacity:0;transition:opacity .2s}
.ghost-cursor.on{opacity:1}
.gc{position:absolute;left:0;top:0;width:26px;height:26px;margin:-3px 0 0 -4px;will-change:transform}
.gc svg{display:block;overflow:visible;transition:transform .18s var(--ease)}
.gc path{fill:var(--accent);stroke:#fff;stroke-width:1.3;stroke-linejoin:round}
.gc-head svg{filter:drop-shadow(0 0 6px rgb(var(--a)/.85)) drop-shadow(0 2px 3px rgba(0,0,0,.6))}
.gc-ghost{opacity:var(--o)}
.gc-ghost svg{filter:blur(var(--b))}
.gc-ghost path{stroke:none;fill:rgb(var(--a))}
.ghost-cursor.link .gc-head svg{transform:scale(1.22) rotate(-8deg)}
.ghost-cursor.down .gc-head svg{transform:scale(.82)}
.ghost-cursor.text .gc{opacity:0}

@media (prefers-reduced-motion:reduce){.ribbons{opacity:.6}}
@media (max-width:760px){.spot::before{width:110vw}}
@media (max-width:760px){.ribbons{opacity:.55}.hero-badge{font-size:.8rem}}
main.lit{position:relative;isolation:isolate}
main.lit>.spot::after{display:none}
