/* ===========================================================
   NEOURIXA — shared stylesheet
   Loaded by every page. Edit here once, it changes everywhere.
   =========================================================== */

:root{
  --abyss:#081120;
  --hull:#0E1B2E;
  --steel:#1C2F47;
  --edge:#2B4460;
  --brass:#F6821F;
  --brass-lo:#B85C10;
  --signal:#79D2E6;
  --bone:#E8E5DC;
  --bone-dim:#8FA0B2;

  --t-tap:160ms;
  --t-ui:380ms;
  --t-reveal:820ms;
  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-both:cubic-bezier(.65,0,.35,1);

  --shell:min(1180px,92vw);
  --nav-h:68px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--abyss);color:var(--bone);
  font-family:"IBM Plex Sans",system-ui,-apple-system,sans-serif;
  font-weight:300;line-height:1.6;overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:Archivo,system-ui,sans-serif;font-weight:800;
  line-height:1.02;letter-spacing:-.025em;margin:0;
}
p{margin:0 0 1em}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
:focus-visible{outline:2px solid var(--signal);outline-offset:4px;border-radius:2px}

.shell{width:var(--shell);margin-inline:auto}
.section{padding:clamp(64px,9vh,116px) 0;position:relative}
.section.tight{padding-block:clamp(44px,6vh,72px)}
.divider{border-top:1px solid var(--steel)}

/* ---------- NAV ---------------------------------------- */
.nav{
  position:sticky;top:0;z-index:500;height:var(--nav-h);
  display:flex;align-items:center;
  background:rgba(8,17,32,.82);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--steel);
}
.nav .shell{display:flex;align-items:center;justify-content:space-between;gap:20px}
/* Brand: the supplied logo, used as-is. The wordmark is part of the
   artwork, so no separate text is set alongside it. */
.brand{display:inline-flex;align-items:center;flex:0 0 auto}
.brand img{
  display:block;width:38px;height:38px;border-radius:50%;
  transition:transform var(--t-ui) var(--ease-out);
}
.brand:hover img{transform:scale(1.06)}
footer .brand{margin-bottom:18px}
footer .brand img{width:64px;height:64px}
.nav-links{display:flex;align-items:center;gap:26px}
.nav-links a{
  font-size:14px;color:var(--bone-dim);
  transition:color var(--t-ui) var(--ease-out);
}
.nav-links a:hover,.nav-links a[aria-current="page"]{color:var(--bone)}
.nav-cta{
  font-family:Archivo,sans-serif;font-weight:600;font-size:13.5px;
  color:var(--abyss)!important;background:var(--brass);
  padding:10px 18px;border-radius:2px;white-space:nowrap;
  transition:background var(--t-ui) var(--ease-out);
}
.nav-cta:hover{background:#FF9A42}
.nav-toggle{
  display:none;background:none;border:1px solid var(--edge);
  color:var(--bone);width:40px;height:38px;border-radius:2px;
  cursor:pointer;font-size:16px;line-height:1;
}
@media (max-width:900px){
  .nav-toggle{display:block}
  .nav-links{
    position:fixed;inset:var(--nav-h) 0 auto 0;
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--hull);border-bottom:1px solid var(--steel);
    padding:8px 0;display:none;
  }
  .nav-links.open{display:flex}
  .nav-links a{padding:14px 4vw;border-bottom:1px solid var(--steel);font-size:15px}
  .nav-links .nav-cta{
    margin:12px 4vw;text-align:center;border-bottom:none;
  }
}

/* ---------- HERO --------------------------------------- */
.hero{
  position:relative;overflow:hidden;
  padding:clamp(70px,13vh,140px) 0 clamp(60px,10vh,110px);
}
.hero.tall{min-height:calc(100svh - var(--nav-h));display:grid;align-items:center;padding-block:0}
#engine{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.hero.tall::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(120% 90% at 68% 45%,transparent 30%,var(--abyss) 78%);
}
.hero .shell{position:relative;z-index:2}
.hero h1{font-size:clamp(38px,6.6vw,88px);max-width:15ch}
.hero.tall h1{font-size:clamp(44px,8vw,100px);max-width:13ch}
.lede{font-size:clamp(16px,1.4vw,19px);color:var(--bone-dim);max-width:52ch;margin:24px 0 34px}

.eyebrow{
  display:flex;align-items:center;gap:11px;
  font-size:12.5px;letter-spacing:.03em;color:var(--bone-dim);margin-bottom:24px;
}
.eyebrow .dot{
  width:6px;height:6px;border-radius:50%;background:var(--signal);flex:0 0 auto;
  animation:beacon 2.6s var(--ease-both) infinite;
}
@keyframes beacon{
  0%{box-shadow:0 0 0 0 rgba(121,210,230,.45)}
  70%,100%{box-shadow:0 0 0 11px rgba(121,210,230,0)}
}

/* ---------- MASKED LINE REVEAL ------------------------- */
.line{overflow:hidden;display:block}
.line > span{
  display:block;transform:translateY(112%);
  animation:lineUp var(--t-reveal) var(--ease-out) forwards;
  animation-delay:calc(var(--d,0) * 90ms + 120ms);
}
@keyframes lineUp{to{transform:translateY(0)}}

/* ---------- BUTTONS ------------------------------------ */
.actions{display:flex;flex-wrap:wrap;gap:13px}
.mag{
  position:relative;display:inline-flex;align-items:center;
  padding:16px 30px;border-radius:2px;border:1px solid var(--brass);
  background:transparent;color:var(--bone);
  font-family:Archivo,sans-serif;font-weight:600;font-size:14.5px;
  cursor:pointer;overflow:hidden;will-change:transform;
  transition:border-color var(--t-ui) var(--ease-out),color var(--t-ui) var(--ease-out);
}
.mag .label{position:relative;z-index:2;display:block;will-change:transform}
.mag::before{
  content:"";position:absolute;inset:0;z-index:1;background:var(--brass);
  transform:translateY(101%);transition:transform var(--t-ui) var(--ease-out);
}
.mag:hover{color:var(--abyss)}
.mag:hover::before{transform:translateY(0)}
.mag.ghost{border-color:var(--edge);color:var(--bone-dim)}
.mag.ghost::before{background:var(--steel)}
.mag.ghost:hover{color:var(--bone);border-color:var(--steel)}

/* ---------- SECTION HEADS ------------------------------ */
.sec-head{margin-bottom:42px;max-width:56ch}
.sec-head h2{font-size:clamp(27px,3.6vw,44px);margin-bottom:15px}
.sec-head p{color:var(--bone-dim);font-size:16px;margin:0}
.sec-head.center{margin-inline:auto;text-align:center}

/* ---------- CARDS -------------------------------------- */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(268px,1fr));gap:20px}
.grid.two{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.tilt-wrap{perspective:1100px}
.card,.tilt{
  position:relative;background:var(--hull);border:1px solid var(--steel);
  border-radius:3px;padding:32px 28px 28px;overflow:hidden;
}
.tilt{transform-style:preserve-3d;will-change:transform;
  transition:transform 500ms var(--ease-out),border-color var(--t-ui) var(--ease-out);}
.tilt:hover{border-color:var(--edge)}
.tilt > *{transform:translateZ(34px)}
.tilt::before{
  content:"";position:absolute;top:-60%;left:-70%;width:45%;height:220%;z-index:3;
  background:linear-gradient(90deg,transparent,rgba(232,229,220,.09),transparent);
  transform:skewX(-18deg);transition:transform 900ms var(--ease-out);pointer-events:none;
}
.tilt:hover::before{transform:skewX(-18deg) translateX(340%)}
.card h3,.tilt h3{font-size:20px;margin-bottom:11px}
.card p,.tilt p{font-size:14.5px;color:var(--bone-dim);margin:0}
.rail{
  display:block;width:32px;height:2px;background:var(--brass);
  margin-bottom:20px;transition:width var(--t-ui) var(--ease-out);
}
.tilt:hover .rail{width:62px}
.card-link{
  display:inline-block;margin-top:18px;font-size:13.5px;
  color:var(--brass);border-bottom:1px solid transparent;
  transition:border-color var(--t-ui) var(--ease-out);
}
.card-link:hover{border-color:var(--brass)}

/* ---------- CHECKLIST ---------------------------------- */
.checks{list-style:none;padding:0;margin:0;display:grid;gap:2px}
.checks li{
  display:grid;grid-template-columns:22px 1fr;gap:14px;
  padding:16px 0;border-bottom:1px solid var(--steel);align-items:start;
}
.checks li::before{
  content:"";width:9px;height:9px;margin-top:8px;
  background:var(--brass);border-radius:50%;
}
.checks strong{font-family:Archivo,sans-serif;font-weight:600;font-size:15.5px;display:block;margin-bottom:4px}
.checks span{font-size:14.5px;color:var(--bone-dim)}

/* ---------- STEPS -------------------------------------- */
.steps{counter-reset:s;display:grid;gap:0}
.step{
  counter-increment:s;display:grid;grid-template-columns:74px 1fr;gap:22px;
  padding:26px 0;border-bottom:1px solid var(--steel);
}
.step::before{
  content:counter(s,decimal-leading-zero);
  font-family:Archivo,sans-serif;font-weight:800;font-size:30px;
  color:var(--brass);line-height:1;
}
.step h3{font-size:19px;margin-bottom:8px}
.step p{font-size:14.5px;color:var(--bone-dim);margin:0}
@media (max-width:600px){.step{grid-template-columns:52px 1fr;gap:14px}}

/* ---------- STATS -------------------------------------- */
.stats{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:1px;background:var(--steel);border:1px solid var(--steel);
}
.stat{background:var(--abyss);padding:32px 26px}
.stat .num{
  font-family:Archivo,sans-serif;font-weight:800;
  font-size:clamp(34px,4.2vw,56px);color:var(--brass);
  font-variant-numeric:tabular-nums;line-height:1;
}
.stat .cap{font-size:13px;color:var(--bone-dim);margin-top:11px;max-width:24ch}

/* ---------- PRICING ------------------------------------ */
/* Equal-height cards: the grid stretches them, the card is a flex column,
   the feature list absorbs the slack and the button pins to the bottom.
   That keeps the CTAs on one line however uneven the copy is. */
.tiers{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;align-items:stretch;
}
.tier{
  background:var(--hull);border:1px solid var(--steel);
  border-radius:3px;padding:34px 28px;position:relative;
  display:flex;flex-direction:column;height:100%;
  will-change:transform;
  transition:transform 420ms var(--ease-out),
             box-shadow 420ms var(--ease-out),
             border-color var(--t-ui) var(--ease-out);
}
/* Float on hover. Lifts off the page rather than just changing colour. */
.tier:hover{
  transform:translateY(-10px);
  border-color:var(--edge);
  box-shadow:0 20px 40px -14px rgba(4,9,18,.9),
             0 0 0 1px rgba(246,130,31,.14);
}
.tier.feature{border-color:var(--brass)}
.tier.feature:hover{
  border-color:#FF9A42;
  box-shadow:0 22px 46px -14px rgba(4,9,18,.95),
             0 0 26px -6px rgba(246,130,31,.34);
}
.tier .flag{
  position:absolute;top:-1px;right:22px;background:var(--brass);color:var(--abyss);
  font-family:Archivo,sans-serif;font-weight:600;font-size:11.5px;
  padding:5px 11px;border-radius:0 0 2px 2px;
}
.tier h3{font-size:19px;margin-bottom:6px}
.tier .who{font-size:13.5px;color:var(--bone-dim);margin-bottom:22px;min-height:60px}
.tier .price{
  font-family:Archivo,sans-serif;font-weight:800;font-size:40px;
  color:var(--bone);line-height:1;
}
.tier .unit{font-size:13px;color:var(--bone-dim);margin:8px 0 24px}
/* Maintenance line inside a pricing tier — visually separated from the
   one-time setup figure so nobody confuses the two. */
.maint{
  border-block:1px solid var(--steel);
  padding:14px 0;margin:0 0 22px;
  min-height:78px;
}
.maint-price{
  display:block;font-family:Archivo,sans-serif;font-weight:800;
  font-size:23px;color:var(--brass);line-height:1;
}
.maint-price span{font-size:13px;font-weight:600;color:var(--bone-dim);margin-left:2px}
.maint-note{display:block;font-size:12.5px;color:var(--bone-dim);margin-top:7px;line-height:1.45}
.tier .unit{margin-bottom:18px}

.tier ul{list-style:none;padding:0;margin:0 0 26px;flex:1 1 auto}
.tier li{
  font-size:14px;color:var(--bone-dim);padding:9px 0 9px 20px;
  border-bottom:1px solid var(--steel);position:relative;
}
.tier li::before{content:"";position:absolute;left:0;top:16px;width:7px;height:7px;background:var(--brass);border-radius:50%}
.tier .mag{width:100%;justify-content:center;margin-top:auto}

/* ---------- FAQ ---------------------------------------- */
.faq{max-width:76ch}
.faq details{border-bottom:1px solid var(--steel)}
.faq summary{
  cursor:pointer;list-style:none;padding:22px 34px 22px 0;position:relative;
  font-family:Archivo,sans-serif;font-weight:600;font-size:16.5px;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"+";position:absolute;right:4px;top:20px;
  color:var(--brass);font-size:22px;font-weight:400;
  transition:transform var(--t-ui) var(--ease-out);
}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq .answer{padding:0 0 24px;font-size:15px;color:var(--bone-dim);max-width:66ch}
.faq .answer p:last-child{margin-bottom:0}

/* ---------- PROSE -------------------------------------- */
.prose{max-width:68ch;font-size:16px;color:var(--bone-dim)}
.prose h3{color:var(--bone);font-size:21px;margin:38px 0 12px}
.prose strong{color:var(--bone);font-weight:500}

/* ---------- MARQUEE ------------------------------------ */
.marquee{
  border-block:1px solid var(--steel);padding:20px 0;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
}
.mq-track{display:flex;width:max-content;gap:50px;animation:slide 34s linear infinite}
.marquee:hover .mq-track{animation-play-state:paused}
@keyframes slide{to{transform:translateX(-50%)}}
.mq-item{
  display:flex;align-items:center;gap:50px;
  font-family:Archivo,sans-serif;font-weight:600;font-size:15px;
  color:var(--bone-dim);white-space:nowrap;
}
.mq-item::after{content:"";width:5px;height:5px;background:var(--brass);border-radius:50%}

/* ---------- CTA BAND ----------------------------------- */
.band{
  background:var(--hull);border-block:1px solid var(--steel);
  padding:clamp(56px,8vh,96px) 0;text-align:center;
}
.band h2{font-size:clamp(28px,4vw,50px);max-width:18ch;margin:0 auto 18px}
.band p{color:var(--bone-dim);max-width:52ch;margin:0 auto 32px;font-size:16px}
.band .actions{justify-content:center}

/* ---------- FORM --------------------------------------- */
.form{max-width:520px;display:grid;gap:16px}
.field label{display:block;font-size:13px;color:var(--bone-dim);margin-bottom:7px}
.field input,.field textarea,.field select{
  width:100%;padding:14px 15px;background:var(--hull);
  border:1px solid var(--steel);border-radius:2px;color:var(--bone);
  font-family:inherit;font-size:15px;
  transition:border-color var(--t-ui) var(--ease-out);
}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--brass);outline:none}
.field textarea{min-height:120px;resize:vertical}
.form-note{font-size:13px;color:var(--bone-dim)}

/* ---------- INDUSTRY CHIPS ----------------------------- */
.chips{display:flex;flex-wrap:wrap;gap:9px}
.chips a{
  font-size:13.5px;padding:9px 16px;border:1px solid var(--steel);
  border-radius:2px;color:var(--bone-dim);
  transition:border-color var(--t-ui) var(--ease-out),color var(--t-ui) var(--ease-out);
}
.chips a:hover{border-color:var(--brass);color:var(--bone)}

/* ---------- FOOTER ------------------------------------- */
footer{border-top:1px solid var(--steel);padding:52px 0 34px;font-size:14px}
.foot-grid{
  display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:34px;margin-bottom:40px;
}
@media (max-width:820px){.foot-grid{grid-template-columns:1fr 1fr}}
.foot-grid h4{
  font-size:12.5px;letter-spacing:.05em;color:var(--bone);
  margin-bottom:16px;font-weight:600;
}
.foot-grid ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.foot-grid a{color:var(--bone-dim);transition:color var(--t-ui) var(--ease-out)}
.foot-grid a:hover{color:var(--bone)}
.foot-blurb{color:var(--bone-dim);max-width:34ch;font-size:14.5px}
.foot-base{
  border-top:1px solid var(--steel);padding-top:24px;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;
  color:var(--bone-dim);font-size:13px;
}

/* ---------- SCROLL REVEAL ------------------------------ */
.rise{
  opacity:0;transform:translateY(20px);
  transition:opacity var(--t-reveal) var(--ease-out),transform var(--t-reveal) var(--ease-out);
}
.rise.in{opacity:1;transform:none}

/* ---------- SCROLL RAIL -------------------------------- */
.rail-top{position:fixed;top:0;left:0;height:2px;width:100%;z-index:600}
.rail-top i{display:block;height:100%;width:0%;
  background:linear-gradient(90deg,var(--brass-lo),var(--brass),var(--signal));}

/* ---------- CUSTOM CURSOR ------------------------------ */
#trail{position:fixed;inset:0;width:100%;height:100%;z-index:9997;pointer-events:none}
.cur-dot,.cur-ring{position:fixed;top:0;left:0;pointer-events:none;opacity:0;will-change:transform}
.cur-dot{
  width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;
  background:var(--signal);z-index:9999;
  transition:opacity var(--t-ui) linear,width var(--t-ui) var(--ease-out),
             height var(--t-ui) var(--ease-out),margin var(--t-ui) var(--ease-out);
}
.cur-ring{
  width:34px;height:34px;margin:-17px 0 0 -17px;
  border:1px solid var(--brass);border-radius:50%;z-index:9998;
  transition:opacity var(--t-ui) linear,width var(--t-ui) var(--ease-out),
             height var(--t-ui) var(--ease-out),margin var(--t-ui) var(--ease-out),
             background var(--t-ui) var(--ease-out);
}
html.cursor-live .cur-dot,html.cursor-live .cur-ring{opacity:1}
html.cursor-live,html.cursor-live a,html.cursor-live button,html.cursor-live [data-tilt]{cursor:none}
html.cursor-live input,html.cursor-live textarea,html.cursor-live select{cursor:auto}
/* Over an interactive target the dot and ring give way to a pointing
   hand. The fingertip sits exactly on the true pointer position, so
   aiming is never harmed. */
.cur-hand{
  position:fixed;top:0;left:0;width:24px;height:26px;
  margin:-2px 0 0 -10.5px;          /* puts the fingertip on the pointer */
  z-index:10000;pointer-events:none;opacity:0;
  will-change:transform;
  transition:opacity 140ms var(--ease-out);
}
.cur-hand svg{
  width:100%;height:100%;display:block;
  transform-origin:10.5px 2px;
  transition:transform 130ms var(--ease-out);
  /* white halo first, orange glow behind it — keeps the hand legible
     over navy, over brass buttons and over the lighter card surfaces */
  filter:drop-shadow(0 0 1.5px rgba(255,255,255,.55))
         drop-shadow(0 0 5px rgba(246,130,31,.85));
}
.cur-hand .hand rect{fill:var(--brass);stroke:#FFFFFF;stroke-width:0.8}

html.cur-hot .cur-hand{opacity:1}
html.cur-hot .cur-dot{opacity:0}
html.cur-hot .cur-ring{opacity:0}
/* pressed: the hand dips, as a finger would */
html.cur-down .cur-hand svg{transform:scale(.86) translate(1px,2px)}
html.cur-down .cur-ring{width:26px;height:26px;margin:-13px 0 0 -13px;background:rgba(246,130,31,.22)}
html.cur-gone .cur-dot,html.cur-gone .cur-ring,html.cur-gone .cur-hand{opacity:0}

/* ---------- REDUCED MOTION ----------------------------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
  .line > span{transform:none}
  .rise{opacity:1;transform:none}
  html.cursor-live{cursor:auto}
}
