/* ==========================================================================
   Algocron landing — stainless edition
   ========================================================================== */
:root {
  --bg: #0a0b0c;
  --panel: #151719;
  --panel-2: #1c1f22;
  --line: rgba(217, 221, 226, 0.12);
  --line-2: rgba(217, 221, 226, 0.22);
  --ink: #eef1f4;
  --steel: #d9dde2;
  --steel-2: #9ba2aa;
  --steel-3: #5f666e;
  --glow: #e6f0ff;
  --up: #7ee2a8;
  --down: #ff5f57;
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --cut: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Inter Tight", system-ui, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .logo, .giant, .m-title, .m-name { font-family: "Chakra Petch", "Inter Tight", sans-serif; text-transform: uppercase; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--steel); color: var(--bg); }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor input { cursor: none; } }

/* geometry ------------------------------------------------------------ */
.cut { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.cut-lg { --cut: 30px; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.steel {
  position: relative; isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 1.5px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, #24272b 0%, #17191c 38%, #202327 62%, #131517 100%);
}
.steel::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(230, 240, 255, 0.08) 50%, transparent 65%); background-size: 250% 100%; background-position: 120% 0; transition: background-position 1.1s var(--out); }
.steel:hover::after { background-position: -20% 0; }
.steel-text { background: linear-gradient(180deg, #ffffff 0%, #c9ced4 45%, #7d848c 55%, #e3e7eb 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* grain + cursor ------------------------------------------------------- */
.grain { position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.8s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { opacity: 1; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--glow); box-shadow: 0 0 10px var(--glow); }
.cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgba(230, 240, 255, 0.55); transform-origin: center; display: grid; place-items: center; transition: width 0.3s var(--out), height 0.3s var(--out), margin 0.3s var(--out), background 0.25s; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.cursor-ring span { font: 600 10px "IBM Plex Mono", monospace; color: var(--bg); opacity: 0; letter-spacing: 0.1em; text-transform: uppercase; }
.cursor-ring.big { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: var(--steel); }
.cursor-ring.big span { opacity: 1; }

/* nav ------------------------------------------------------------------ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 16px clamp(16px, 4vw, 44px); transition: background 0.3s, transform 0.5s var(--ease); }
.nav.solid { background: rgba(10, 11, 12, 0.84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav.hide { transform: translateY(-110%); }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; letter-spacing: 0.22em; }
.mark { width: 30px; height: 30px; fill: var(--steel); }
.nav nav { display: flex; gap: 2px; margin-left: auto; }
.nav nav a, .nav-link { padding: 10px 14px; color: var(--steel-2); font: 500 13px "IBM Plex Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.2s; display: inline-block; }
.nav nav a:hover, .nav-link:hover { color: var(--ink); }
.nav-cta { padding: 12px 22px; background: var(--steel); color: var(--bg); font: 600 13px "IBM Plex Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; display: inline-block; --cut: 9px; transition: background 0.2s; }
.nav-cta:hover { background: #fff; }

/* shared --------------------------------------------------------------- */
.kicker { color: var(--steel-2); font-size: 12.5px; letter-spacing: 0.22em; margin: 0; }
h2 { font-size: clamp(42px, 6.6vw, 104px); letter-spacing: 0.005em; line-height: 0.92; margin: 14px 0 0; font-weight: 700; }
.up { color: var(--up); }
.status { font-size: 11px; letter-spacing: 0.16em; padding: 5px 10px; border: 1px solid var(--line-2); }
.status.live { color: var(--up); border-color: rgba(126, 226, 168, 0.4); }
.status.live::before { content: "■ "; animation: blink 1.2s steps(2) infinite; }
.status.soon { color: var(--steel-2); }
@keyframes blink { 50% { opacity: 0.2; } }
.mk { font-size: 11.5px; letter-spacing: 0.18em; color: var(--steel); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 26px; border: 0; background: var(--steel); color: var(--bg); font: 600 14px "IBM Plex Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; white-space: nowrap; --cut: 10px; transition: background 0.2s, gap 0.3s var(--out); }
.btn:hover { background: #fff; gap: 16px; }
.btn-ghost { color: var(--steel-2); font: 500 13px "IBM Plex Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; padding: 12px; display: inline-block; transition: color 0.2s; }
.btn-ghost:hover { color: var(--ink); }
.small-note { color: var(--steel-3); font-size: 11.5px; letter-spacing: 0.14em; margin: 16px 0 0; }
.signup { display: flex; align-items: center; gap: 6px; padding: 6px; max-width: 540px; background: var(--panel-2); --cut: 14px; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 0.3s; }
.signup:focus-within { box-shadow: inset 0 0 0 1px var(--glow), 0 0 40px -12px var(--glow); }
.signup input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink); font: 500 16px "Inter Tight", sans-serif; padding: 0 16px; }
.signup input::placeholder { color: var(--steel-3); }
.signup.shake { animation: pshake 0.35s steps(4); }
@keyframes pshake { 25%, 75% { translate: -6px 0; } 50% { translate: 6px 0; } }
[data-magnet] { will-change: transform; }

/* light bar ------------------------------------------------------------ */
.lightbar { position: absolute; left: 0; right: 0; top: 46%; height: 2px; background: linear-gradient(90deg, transparent, rgba(230, 240, 255, 0.5) 15%, var(--glow) 50%, rgba(230, 240, 255, 0.5) 85%, transparent); box-shadow: 0 0 24px 2px rgba(230, 240, 255, 0.45), 0 0 80px 8px rgba(230, 240, 255, 0.12); transform: scaleX(0); transform-origin: center; transition: transform 1.6s var(--out) 0.2s; pointer-events: none; z-index: 1; }
body.ready .lightbar { transform: scaleX(1); }
.lightbar i { position: absolute; top: -3px; height: 8px; width: 18%; background: radial-gradient(closest-side, #fff, transparent); animation: sweep 4.5s var(--ease) infinite; }
@keyframes sweep { from { left: -20%; } to { left: 110%; } }

/* hero ----------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding: 120px clamp(16px, 4vw, 44px) 40px; overflow: hidden; }
#mesh { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: relative; z-index: 2; max-width: 880px; }
.tag { display: inline-block; padding: 8px 14px 8px 16px; background: var(--panel-2); color: var(--steel); font-size: 11.5px; letter-spacing: 0.16em; --cut: 8px; box-shadow: inset 0 0 0 1px var(--line-2); }
.giant { font-size: clamp(60px, 10.5vw, 178px); line-height: 0.86; letter-spacing: -0.01em; margin: 26px 0 26px; font-weight: 700; }
.giant .line { display: block; overflow: hidden; }
.giant .word { display: inline-block; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
body.ready .giant .word { clip-path: inset(0 0 0 0); }
body.ready .giant .line:nth-child(2) .word { transition-delay: 0.15s; }
.swap { font-style: normal; display: inline-block; background: linear-gradient(180deg, #ffffff 0%, #c9ced4 45%, #7d848c 55%, #e3e7eb 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.swap.flip { animation: wipe 0.55s var(--ease); }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.lede { max-width: 560px; color: var(--steel-2); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; margin: 0 0 30px; }
.specs { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 8vh, 90px); border-top: 1px solid var(--line-2); }
.spec { padding: 20px 20px 4px 0; border-right: 1px solid var(--line); }
.spec:not(:first-child) { padding-left: 20px; }
.spec:last-child { border-right: 0; }
.spec b { display: block; font: 600 clamp(34px, 4vw, 60px)/1 "Chakra Petch", sans-serif; letter-spacing: 0.01em; }
.spec span { display: block; margin-top: 8px; font: 500 11.5px "IBM Plex Mono", monospace; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-2); }

/* markets (scrub) ------------------------------------------------------ */
.markets { position: relative; height: 700vh; }
.m-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(20px, 4vw, 64px); align-items: center; padding: 90px clamp(16px, 4vw, 44px) 40px; overflow: hidden; }
.m-titles { position: relative; height: clamp(140px, 17vw, 240px); margin: 14px 0 16px; }
.m-title { position: absolute; inset: 0; font: 700 clamp(46px, 6.4vw, 104px)/0.9 "Chakra Petch", sans-serif; clip-path: inset(0 100% 0 0); transition: clip-path 0.7s var(--ease); }
.m-title.on { clip-path: inset(0 0 0 0); }
.rule-box { padding: 18px 20px; background: var(--panel); max-width: 540px; min-height: 120px; box-shadow: inset 0 0 0 1px var(--line); }
.rule-label { font-size: 11px; color: var(--steel-3); letter-spacing: 0.18em; }
.rule-box p { margin: 10px 0 0; font-size: 18px; line-height: 1.5; color: var(--ink); }
.rule-box p::after { content: ""; display: inline-block; width: 9px; height: 1em; background: var(--glow); margin-left: 3px; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
.m-tabs { display: flex; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.m-tabs button { border: 0; background: var(--panel); color: var(--steel-2); font: 600 12px "IBM Plex Mono", monospace; letter-spacing: 0.14em; padding: 12px 16px; cursor: pointer; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: background 0.25s, color 0.25s; }
.m-tabs button.on { background: var(--steel); color: var(--bg); }
.m-card { padding: 26px; }
.m-card-top { display: flex; justify-content: space-between; align-items: center; }
.m-name { font-size: clamp(18px, 1.7vw, 24px); font-weight: 600; letter-spacing: 0.04em; margin: 14px 0 6px; }
#m-chart { width: 100%; height: clamp(240px, 38vh, 380px); display: block; }
.m-stats { display: grid; grid-template-columns: 1.4fr 1fr; border-top: 1px solid var(--line-2); margin-top: 12px; }
.m-stats div { padding: 14px 0 0; }
.m-stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.m-stats small { display: block; color: var(--steel-3); font-size: 10.5px; letter-spacing: 0.18em; margin-bottom: 6px; }
.m-stats b { font-size: 15px; font-weight: 500; }
.disclaim { text-align: center; font-size: 10.5px; letter-spacing: 0.12em; color: var(--steel-3); margin: 0; position: absolute; bottom: 14px; left: 0; right: 0; }

/* how (horizontal) ----------------------------------------------------- */
.how { position: relative; height: 400vh; }
.how-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.how-head { padding: 0 clamp(16px, 4vw, 44px); margin-bottom: 5vh; }
.how-track { display: flex; gap: 18px; padding: 0 clamp(16px, 4vw, 44px); will-change: transform; }
.panel { flex: none; width: min(80vw, 560px); min-height: 54vh; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.panel-num { font-size: 12px; color: var(--steel-3); letter-spacing: 0.18em; }
.panel h3 { font-size: clamp(38px, 4.2vw, 62px); margin: 10px 0 10px; font-weight: 700; }
.panel p { color: var(--steel-2); line-height: 1.6; margin: 0 0 22px; max-width: 440px; }
.mock { margin-top: auto; background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px var(--line); padding: 18px; min-height: 200px; position: relative; }
.bub { max-width: 92%; padding: 12px 14px; font-size: 14px; line-height: 1.5; margin-bottom: 10px; }
.bub.me { margin-left: auto; background: var(--steel); color: var(--bg); min-height: 44px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.bub.ai { background: var(--panel-2); color: var(--ink); opacity: 0; clip-path: inset(0 100% 0 0); transition: clip-path 0.6s var(--ease), opacity 0.2s; }
.bub.ai.on { opacity: 1; clip-path: inset(0 0 0 0); }
.caret { display: inline-block; width: 8px; height: 1em; background: var(--bg); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
.bt-mock svg { width: 100%; height: 150px; display: block; }
.bt-stats { display: flex; gap: 30px; margin-top: 10px; }
.bt-stats small { display: block; color: var(--steel-3); font-size: 10.5px; letter-spacing: 0.16em; }
.bt-stats b { font: 600 26px "Chakra Petch", sans-serif; }
.power-mock { display: grid; place-items: center; gap: 18px; padding: 30px; }
.switch { position: relative; width: 140px; height: 54px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.switch i { position: absolute; top: 6px; left: 6px; width: 62px; height: 42px; background: var(--steel-3); transition: left 0.5s var(--ease), background 0.3s, box-shadow 0.3s; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.switch.on i { left: 72px; background: var(--glow); box-shadow: 0 0 30px var(--glow); }
.modes { display: flex; gap: 4px; }
.modes span { padding: 7px 14px; font-size: 11.5px; letter-spacing: 0.16em; color: var(--steel-3); box-shadow: inset 0 0 0 1px var(--line); transition: all 0.3s; }
.modes span.on { color: var(--bg); background: var(--steel); }
.modes span.live.on { background: var(--glow); }
.sig-mock { display: grid; gap: 8px; align-content: start; font-size: 13px; }
.ping { padding: 12px 14px; background: var(--panel-2); color: var(--steel-2); clip-path: inset(0 100% 0 0); transition: clip-path 0.5s var(--ease); }
.ping b { color: var(--ink); font-weight: 600; }
.ping.on { clip-path: inset(0 0 0 0); }
.how-progress { position: absolute; left: clamp(16px, 4vw, 44px); right: clamp(16px, 4vw, 44px); bottom: 6vh; height: 2px; background: var(--line); }
.how-progress i { display: block; height: 100%; width: 0; background: var(--glow); box-shadow: 0 0 12px var(--glow); }

/* marquee -------------------------------------------------------------- */
.marquee { padding: 9vh 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mq-row { white-space: nowrap; }
.mq-inner { display: inline-flex; gap: 46px; will-change: transform; padding-right: 46px; font: 700 clamp(44px, 7vw, 116px)/1.1 "Chakra Petch", sans-serif; text-transform: uppercase; }
.mq-inner span { display: inline-flex; align-items: center; gap: 46px; }
.mq-inner span::after { content: ""; width: 0.28em; height: 0.28em; background: var(--steel-3); transform: rotate(45deg); }
.mq-inner .o { color: transparent; -webkit-text-stroke: 1.2px rgba(217, 221, 226, 0.45); }

/* features ------------------------------------------------------------- */
.features { padding: 16vh clamp(16px, 4vw, 44px); }
.feat-head { margin-bottom: 8vh; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; perspective: 1200px; }
.feat { padding: 30px; transform-style: preserve-3d; transition: transform 0.4s var(--out); clip-path: inset(0 0 100% 0); }
.feat.in { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); transition: transform 0.4s var(--out), clip-path 0.9s var(--ease); }
.f-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; font-size: 15px; font-weight: 600; letter-spacing: 0.06em; color: var(--bg); background: var(--steel); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transform: translateZ(30px); }
.feat h4 { font-size: 22px; letter-spacing: 0.04em; margin: 24px 0 10px; transform: translateZ(22px); }
.feat p { color: var(--steel-2); line-height: 1.6; margin: 0; transform: translateZ(14px); }

/* cta ------------------------------------------------------------------ */
.cta { position: relative; min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 30px; padding: 12vh 20px; overflow: hidden; }
#cta-mesh { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta > *:not(canvas):not(.lightbar) { position: relative; z-index: 2; }
.lightbar.wide { top: 50%; }
.cta-title { font-size: clamp(50px, 8.6vw, 146px); line-height: 0.88; margin: 0; }
.cta .signup { width: min(580px, 92vw); }
.foot { display: flex; gap: 30px; justify-content: space-between; align-items: flex-start; padding: 32px clamp(16px, 4vw, 44px) 44px; border-top: 1px solid var(--line); color: var(--steel-3); font-size: 11px; line-height: 1.7; letter-spacing: 0.04em; }
.foot-brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--steel-2); letter-spacing: 0.16em; }
.foot-brand .mark { width: 22px; height: 22px; }
.foot p { margin: 0; max-width: 760px; }

/* responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .nav nav, .nav-link { display: none; }
  .nav-cta { margin-left: auto; }
  .logo span { font-size: 16px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .spec:nth-child(2) { border-right: 0; }
  .spec:nth-child(3) { padding-left: 0; }
  .spec:nth-child(n+3) { border-top: 1px solid var(--line); }
  .m-sticky { grid-template-columns: 1fr; align-content: start; gap: 14px; padding-top: 76px; }
  .m-titles { height: 96px; margin: 6px 0 8px; }
  .m-title { font-size: 42px; }
  .rule-box { min-height: 0; padding: 12px 14px; }
  .rule-box p { font-size: 14.5px; }
  .m-tabs { display: none; }
  .m-card { padding: 18px; }
  #m-chart { height: 200px; }
  .feat-grid { grid-template-columns: 1fr; }
  .signup input { font-size: 15px; padding: 0 10px; }
  .signup .btn { padding: 14px 14px; font-size: 12px; }
  .foot { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .grain { display: none; }
}
.hero { grid-template-columns: minmax(0, 1fr); }
.hero-copy, .m-copy, .m-card { min-width: 0; }
@media (max-width: 900px) {
  .giant { font-size: clamp(44px, 14vw, 80px); }
  .hero .lightbar { top: 74px; }
  .signup .btn span { display: none; }
}

/* ==========================================================================
   Iridescent layer — colour + smoothness on top of the stainless base
   ========================================================================== */
:root {
  --c1: #5ee7ff; --c2: #7b6dff; --c3: #ff6bd6; --c4: #ffb86b;
  --iri: linear-gradient(110deg, var(--c1), var(--c2) 30%, var(--c3) 60%, var(--c4) 80%, var(--c1));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --out: cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes iri { to { background-position: 200% 0; } }
.iri, .swap, .steel-text, .spec b, .m-title.on .hl {
  background: var(--iri); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: iri 8s linear infinite;
}
.swap.flip { animation: wipe 0.9s var(--ease), iri 8s linear infinite; }
.giant .word { transition: clip-path 1.4s var(--ease); }
.m-title { transition: clip-path 1s var(--ease), opacity 0.6s var(--ease); }

/* ambient colour glows */
.hero::before, .cta::before {
  content: ""; position: absolute; inset: -20%; z-index: 0; pointer-events: none; filter: blur(90px); opacity: 0.55;
  background:
    radial-gradient(28% 34% at 74% 42%, rgba(123, 109, 255, 0.55), transparent 70%),
    radial-gradient(22% 28% at 86% 62%, rgba(255, 107, 214, 0.4), transparent 70%),
    radial-gradient(26% 30% at 62% 30%, rgba(94, 231, 255, 0.35), transparent 70%),
    radial-gradient(30% 30% at 12% 90%, rgba(255, 184, 107, 0.18), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.cta::before { background: radial-gradient(30% 30% at 30% 50%, rgba(94, 231, 255, 0.35), transparent 70%), radial-gradient(30% 30% at 70% 50%, rgba(255, 107, 214, 0.35), transparent 70%), radial-gradient(25% 25% at 50% 60%, rgba(123, 109, 255, 0.4), transparent 70%); }
@keyframes drift { to { transform: translate(-4%, 3%) scale(1.08) rotate(3deg); } }
#mesh, #cta-mesh { z-index: 1; }

/* light bar goes spectral */
.lightbar { background: linear-gradient(90deg, transparent, var(--c1) 15%, var(--c2) 38%, #fff 50%, var(--c3) 62%, var(--c4) 85%, transparent); box-shadow: 0 0 24px 2px rgba(123, 109, 255, 0.55), 0 0 90px 10px rgba(255, 107, 214, 0.18); transition: transform 2.2s var(--ease) 0.2s; }
.lightbar i { animation: sweep 6s var(--ease) infinite; }

/* panels get a spectral top edge + coloured corner glow */
.steel { background:
    linear-gradient(90deg, var(--c1), var(--c2), var(--c3), var(--c4)) top / 100% 1.5px no-repeat,
    radial-gradient(60% 50% at 100% 0%, rgba(123, 109, 255, 0.12), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, #24272b 0%, #17191c 38%, #202327 62%, #131517 100%); }
.steel::after { background: linear-gradient(115deg, transparent 35%, rgba(94, 231, 255, 0.07) 45%, rgba(255, 107, 214, 0.07) 55%, transparent 65%); background-size: 250% 100%; transition: background-position 1.6s var(--ease); }

/* primary actions are iridescent */
.btn, .nav-cta, .m-tabs button.on, .f-ico, .modes span.on, .bub.me {
  background: var(--iri); background-size: 200% 100%; animation: iri 8s linear infinite; color: #0a0b0c;
}
.btn:hover, .nav-cta:hover { background: var(--iri); background-size: 200% 100%; filter: brightness(1.12) saturate(1.1); }
.btn, .nav-cta { transition: filter 0.4s var(--ease), gap 0.5s var(--ease); }
.signup:focus-within { box-shadow: inset 0 0 0 1px var(--c2), 0 0 50px -10px var(--c2); }
.tag { box-shadow: inset 0 0 0 1px rgba(123, 109, 255, 0.45); }
.status.live { color: var(--c1); border-color: rgba(94, 231, 255, 0.45); }
.rule-box p::after { background: var(--c1); }
.how-progress { height: 3px; }
.how-progress i, .switch.on i { background: var(--iri); background-size: 200% 100%; animation: iri 6s linear infinite; box-shadow: 0 0 18px rgba(123, 109, 255, 0.7); }
.switch i { transition: left 0.8s var(--ease), background 0.4s, box-shadow 0.4s; }
.mq-inner .o { -webkit-text-stroke: 1.2px rgba(150, 140, 255, 0.55); }
.mq-inner span:not(.o) { background: var(--iri); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: iri 10s linear infinite; }
.mq-inner span::after { background: var(--c2); }
.feat { transition: transform 0.7s var(--ease); }
.feat.in { transition: transform 0.7s var(--ease), clip-path 1.2s var(--ease); }
.bub.ai, .ping { transition: clip-path 0.9s var(--ease), opacity 0.4s; }
.cursor-dot { background: var(--c1); box-shadow: 0 0 12px var(--c1); }
.cursor-ring { border-color: rgba(150, 140, 255, 0.6); }
.cursor-ring.big { background: var(--iri); background-size: 200% 100%; animation: iri 6s linear infinite; }
.nav { transition: background 0.5s var(--ease), transform 0.7s var(--ease); }
.mark { fill: url(#lg); }
/* rotating word: one line, fixed height → no layout shift */
.hero-copy { max-width: none; }
.giant .line:nth-child(2) { white-space: nowrap; height: 0.9em; }
.giant .line:nth-child(2) .swap { font-size: 0.72em; line-height: 1.25; vertical-align: top; }
.swap.flip { animation: wipe 0.55s var(--ease), iri 8s linear infinite; }
@media (max-width: 900px) { .giant .line:nth-child(2) .swap { font-size: 0.62em; } }
