/* nexaltosystems.com — one stylesheet. Dark tech, violet → blue → cyan. */
@font-face { font-family: "Sora"; src: url("../assets/fonts/Sora-Variable.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../assets/fonts/IBMPlexMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #05060F;
  --bg-2: #080A18;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #EEF0FF;
  --text-2: #A6ACCD;
  --text-3: #6E7499;
  --violet: #8B5CF6;
  --blue: #3B82F6;
  --cyan: #22D3EE;
  --grad: linear-gradient(100deg, #A78BFA 0%, #60A5FA 50%, #22D3EE 100%);
  --grad-btn: linear-gradient(100deg, #7C3AED 0%, #2563EB 55%, #0891B2 100%);
  --f-sans: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: rgba(139, 92, 246, .45); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--text); color: var(--bg); border-radius: 10px; }
.skip:focus { left: 12px; }

/* ── Type ─────────────────────────────────────────────── */
.h1 { font-size: clamp(40px, 6vw, 78px); line-height: 1.05; letter-spacing: -.035em; font-weight: 650; }
.h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; max-width: 20ch; }
.h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--text-2); max-width: 60ch; }
.label { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(5, 6, 15, .6); font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 28px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* ── Buttons ──────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-size: 16px; font-weight: 550; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s ease, background-color .2s ease, border-color .2s ease; white-space: nowrap; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn--grad { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 30px -10px rgba(99, 102, 241, .7), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(56, 189, 248, .65), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn--ghost:hover { border-color: rgba(167, 139, 250, .6); background: rgba(139, 92, 246, .08); }

/* ── Header ───────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.hdr.is-scrolled { background: rgba(5, 6, 15, .92); border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__word { font-size: 21px; font-weight: 650; letter-spacing: -.03em; }
.logo__sub { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-left: -2px; transform: translateY(2px); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 10px; font-size: 15px; color: var(--text-2); transition: color .2s ease, background-color .2s ease; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, .03); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mnav { display: grid; gap: 4px; padding: 12px 20px 24px; background: rgba(5, 6, 15, .98); border-bottom: 1px solid var(--line); }
.mnav[hidden] { display: none; }
.mnav a { padding: 14px 8px; font-size: 18px; border-bottom: 1px solid var(--line); }
.mnav .btn { margin-top: 14px; }

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; opacity: .55; }
.blob--1 { width: 900px; height: 900px; right: -260px; top: -180px; background: radial-gradient(closest-side, rgba(124, 58, 237, .55), rgba(124, 58, 237, 0) 70%); }
.blob--2 { width: 700px; height: 700px; right: 120px; top: 260px; background: radial-gradient(closest-side, rgba(14, 165, 233, .38), rgba(14, 165, 233, 0) 70%); }
.grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%); }
.hero__net { position: absolute; z-index: -1; top: 50%; right: max(-120px, calc((100vw - 1200px) / 2 - 140px)); width: min(820px, 64vw); height: min(820px, 64vw); transform: translateY(-50%); opacity: 0; transition: opacity 1.2s ease; }
.hero__net.is-on { opacity: 1; }
.hero__in { position: relative; }
.hero__lead { margin-top: 26px; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.stats { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 28px; }
.stats li { padding-top: 18px; border-top: 1px solid var(--line-2); }
.stats b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.stats li > span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--text-3); }
.scrollcue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line-2); border-radius: 14px; }
.scrollcue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Hero entrance */
.js .hero .eyebrow, .js .hero .h1, .js .hero__lead, .js .hero__cta, .js .stats { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.js .hero .h1 { animation-delay: .08s; } .js .hero__lead { animation-delay: .18s; } .js .hero__cta { animation-delay: .28s; } .js .stats { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ── Sections ─────────────────────────────────────────── */
.sec { position: relative; padding: 130px 0; }
.sec--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.sec .h2 + .lead { margin-top: 20px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }

/* Cards */
.card, .plan, .case, .why__item { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 92, 246, .16), transparent 45%); }
.spot:hover::before { opacity: 1; }
.spot::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, .8), rgba(139, 92, 246, .5) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::after { opacity: 1; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.card { padding: 30px; display: flex; flex-direction: column; gap: 12px; min-height: 250px; }
.card p { color: var(--text-2); font-size: 16px; }
.card--xl { grid-row: span 3; justify-content: flex-end; background: radial-gradient(120% 80% at 20% 0%, rgba(124, 58, 237, .22), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)); }
.card--xl .h3 { font-size: 28px; }
.ico { width: 46px; height: 46px; fill: none; stroke: url(#g-stroke); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; padding-bottom: 18px; box-sizing: content-box; }
.card--xl .ico { width: 64px; height: 64px; margin-bottom: 0; }
.xlart { width: 100%; max-width: 360px; height: auto; margin: auto 0; padding: 28px 0 32px; overflow: visible; }
.xlart * { fill: none; stroke: url(#g-stroke); stroke-width: 1.5; stroke-linecap: round; }
.xlart__win { fill: rgba(139, 92, 246, .06); }
.xlart__ln { stroke: var(--line-2); }
.xlart__dot { fill: rgba(255, 255, 255, .14); stroke: none; }
.xlart__blk { fill: rgba(255, 255, 255, .07); stroke: none; }
.xlart__btn { fill: url(#g-stroke); stroke: none; opacity: .85; }
.xlart__chart { stroke-width: 2.5; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.8s var(--ease) .4s; }
.card.is-in .xlart__chart, .no-js .xlart__chart { stroke-dashoffset: 0; }
.xlart__flow { stroke-dasharray: 4 7; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.xlart__node { fill: var(--bg); stroke-width: 1.5; }
.xlart__api { fill: var(--text-2); stroke: none; font-family: var(--f-mono); font-size: 7px; letter-spacing: .04em; }
.tags { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--f-mono); font-size: 12px; color: var(--text-2); }

/* Modern approach + delivery pipeline */
.approach { overflow: hidden; }
.approach__glow { position: absolute; right: -240px; top: 50%; width: 900px; height: 900px; margin-top: -450px; background: radial-gradient(closest-side, rgba(59, 130, 246, .2), rgba(124, 58, 237, .08) 55%, transparent 72%); pointer-events: none; }
.approach__in { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.pts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.pts li { position: relative; padding-left: 44px; }
.pts li::before { content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 8px; border: 1px solid rgba(167, 139, 250, .45); background: rgba(139, 92, 246, .12); }
.pts li::after { content: ""; position: absolute; left: 9px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-btn); box-shadow: 0 0 10px rgba(34, 211, 238, .6); }
.pts b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.pts p { margin-top: 4px; color: var(--text-2); font-size: 16px; }

@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pipe { position: relative; border: 1px solid var(--line-2); border-radius: 24px; background: linear-gradient(180deg, rgba(15, 19, 42, .96), rgba(8, 10, 24, .96)); box-shadow: 0 50px 110px -50px rgba(59, 130, 246, .55), inset 0 1px 0 rgba(255, 255, 255, .06); font-family: var(--f-mono); font-size: 13px; }
.pipe::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: conic-gradient(from var(--a), transparent 0 62%, rgba(139, 92, 246, .9) 76%, rgba(34, 211, 238, 1) 86%, transparent 96%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: orbit 7s linear infinite; animation-play-state: paused; }
.pipe.is-live::before { animation-play-state: running; }
@keyframes orbit { to { --a: 360deg; } }
.pipe__top { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .06em; color: var(--text-3); }
.pipe__dots { display: flex; gap: 6px; }
.pipe__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.pipe__live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); text-transform: uppercase; }
.pipe__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.pipe__job { padding: 22px 26px 4px; font-size: 14px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pipe__prompt { color: #A78BFA; margin-right: 10px; }
.pipe__job b { color: var(--text); font-weight: 500; }
.pipe.is-typing .pipe__job b::after { content: ""; display: inline-block; width: 8px; height: 15px; margin-left: 3px; vertical-align: -2px; background: var(--cyan); animation: blink .9s steps(1) infinite; }
.pipe__stages { list-style: none; margin: 0; padding: 14px 26px 22px; display: grid; gap: 2px; position: relative; }
.pipe__stages::before, .pipe__stages::after { content: ""; position: absolute; left: 39px; top: 38px; bottom: 46px; width: 2px; }
.pipe__stages::before { background: var(--line); }
.pipe__stages::after { background: linear-gradient(180deg, var(--violet), var(--cyan)); transform-origin: top; transform: scaleY(var(--p, 1)); transition: transform .6s var(--ease); }
.pipe__stages li { position: relative; z-index: 1; display: grid; grid-template-columns: 28px auto 1fr; align-items: center; gap: 16px; padding: 11px 0; }
.pipe__stages li::after { content: ""; position: absolute; left: 44px; right: 0; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); transform-origin: left; transform: scaleX(0); opacity: 0; }
.pipe__stages li.is-on::after { opacity: .9; animation: fillx var(--dur, 1s) linear forwards; }
@keyframes fillx { to { transform: scaleX(1); } }
.pipe__ic { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); transition: border-color .3s ease, box-shadow .3s ease, background .3s ease; }
.pipe__ic::after { content: ""; position: absolute; }
.is-on .pipe__ic { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .12), 0 0 18px rgba(34, 211, 238, .45); }
.is-on .pipe__ic::after { left: 7px; top: 7px; width: 10px; height: 10px; border: 2px solid var(--cyan); border-right-color: transparent; border-radius: 50%; animation: turn .8s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.is-done .pipe__ic { border-color: transparent; background: var(--grad-btn); }
.is-done .pipe__ic::after { left: 10px; top: 6px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pipe__stages b { font-family: var(--f-sans); font-size: 15.5px; font-weight: 550; color: var(--text-3); transition: color .3s ease; white-space: nowrap; }
.is-on b, .is-done b { color: var(--text); }
.pipe__stages small { justify-self: end; font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pipe.is-shipped li:last-child b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pipe.is-shipped li:last-child .pipe__ic { box-shadow: 0 0 0 5px rgba(34, 211, 238, .14), 0 0 26px rgba(34, 211, 238, .6); }
.pipe__foot { display: flex; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); }
.pipe__foot span { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); transition: color .3s ease, border-color .3s ease, background-color .3s ease; }
.pipe__foot span.is-on { color: var(--text); border-color: rgba(34, 211, 238, .45); background: rgba(34, 211, 238, .08); }
.pipe__stages small, .pipe__job b { transition: opacity .25s ease; }
.pipe.is-reset .pipe__stages small, .pipe.is-reset .pipe__job b { opacity: 0; }

/* Work */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.case { padding: 32px 30px 30px; overflow: hidden; }
.case__metric { font-size: clamp(48px, 5vw, 64px); font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.case__unit { margin-top: 8px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.spark { width: 100%; height: 48px; margin: 26px 0 22px; overflow: visible; }
.spark path { fill: none; stroke: url(#g-stroke); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.case.is-in .spark path, .no-js .spark path { stroke-dashoffset: 0; }
.case p:last-child { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.refband { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 24px 30px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.refband p { color: var(--text-2); max-width: 70ch; }
.refband b { color: var(--text); font-weight: 600; }

/* Process */
.proc { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.proc__head { position: sticky; top: 120px; }
.proc__head .lead { margin-top: 20px; }
.steps { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 16px; }
.steps::before { content: ""; position: absolute; left: 33px; top: 30px; bottom: 30px; width: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 33px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(180deg, var(--violet), var(--cyan)); transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform .8s var(--ease); }
.step { position: relative; display: flex; gap: 22px; padding: 22px 24px 22px 14px; border-radius: var(--r); }
.step__n { position: relative; z-index: 1; flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 13px; color: var(--text-2); transition: border-color .4s ease, color .4s ease, box-shadow .4s ease; }
.step.is-on .step__n { border-color: var(--cyan); color: var(--text); box-shadow: 0 0 0 4px rgba(34, 211, 238, .12), 0 0 18px rgba(34, 211, 238, .35); }
.step .h3 em { margin-left: 8px; font-style: normal; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); vertical-align: 2px; }
.step p { margin-top: 6px; color: var(--text-2); font-size: 16px; }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.why__item { padding: 28px; }
.why__k { display: block; font-family: var(--f-mono); font-size: 13px; color: var(--text-3); margin-bottom: 40px; }
.why__item p { margin-top: 10px; color: var(--text-2); font-size: 16px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.plan { padding: 32px 30px; }
.plan > p { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.plan--hi { background: radial-gradient(120% 90% at 50% 0%, rgba(59, 130, 246, .22), transparent 65%), linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); border-color: rgba(96, 165, 250, .35); }
.plan__tag { display: inline-block; margin-left: 8px; vertical-align: 3px; padding: 3px 9px; border-radius: 999px; background: rgba(34, 211, 238, .12); color: var(--cyan); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--grad-btn); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.7 7.7-5.4 5.4a1 1 0 0 1-1.4 0L5.3 10.5a1 1 0 1 1 1.4-1.4l1.9 1.9 4.7-4.7a1 1 0 1 1 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.7 7.7-5.4 5.4a1 1 0 0 1-1.4 0L5.3 10.5a1 1 0 1 1 1.4-1.4l1.9 1.9 4.7-4.7a1 1 0 1 1 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.note { margin-top: 28px; color: var(--text-3); font-size: 15px; }

/* Stack marquee */
.stack { padding: 26px 0; border-block: 1px solid var(--line); overflow: hidden; }
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 48px; animation: slide 45s linear infinite; animation-play-state: paused; }
.marquee.is-live .marquee__track { animation-play-state: running; }
.marquee__track span { font-size: 22px; font-weight: 500; letter-spacing: -.01em; color: var(--text-3); white-space: nowrap; }
.marquee__track span:nth-child(3n+1) { color: var(--text-2); }
@keyframes slide { to { transform: translateX(-50%); } }

/* FAQ */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.faq .lead { margin-top: 20px; }
.qa { display: grid; gap: 12px; }
.qa details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .25s ease, background-color .25s ease; }
.qa details[open] { border-color: rgba(139, 92, 246, .45); background: rgba(139, 92, 246, .06); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-size: 17.5px; font-weight: 550; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.qa details p { padding: 0 22px 20px; color: var(--text-2); font-size: 16px; }

/* Contact */
.contact { overflow: hidden; }
.contact__glow { position: absolute; left: 50%; bottom: -420px; width: 1100px; height: 800px; margin-left: -550px; background: radial-gradient(closest-side, rgba(124, 58, 237, .35), rgba(14, 165, 233, .12) 55%, transparent 75%); pointer-events: none; }
.contact__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__text .btn { margin-top: 32px; }
.company { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-style: normal; font-size: 15px; line-height: 1.75; color: var(--text-3); }
.company b { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.company a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(167, 139, 250, .6); }
.form { padding: 34px; border: 1px solid var(--line-2); border-radius: 24px; background: rgba(11, 14, 31, .92); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); display: grid; gap: 16px; }
.form .h3 { margin-bottom: 4px; }
.fld { display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.fld i { font-style: normal; color: var(--text-3); margin-left: 6px; }
.fld input, .fld textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); color: var(--text); font: inherit; font-size: 16px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; resize: vertical; }
.fld input:focus, .fld textarea:focus { border-color: rgba(96, 165, 250, .8); box-shadow: 0 0 0 4px rgba(59, 130, 246, .15); }
.fld input.is-bad, .fld textarea.is-bad { border-color: #F87171; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__fine { font-size: 13px; color: var(--text-3); }
.form__fine a, .form__err a { text-decoration: underline; text-underline-offset: 3px; }
.form__ok { padding: 14px 16px; border-radius: 12px; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .35); color: var(--text); font-size: 15px; }
.form__err { padding: 14px 16px; border-radius: 12px; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35); font-size: 15px; }
.form.is-sent .fld, .form.is-sent .btn, .form.is-sent .form__fine { display: none; }

/* Footer */
.ftr { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.ftr__in { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 32px; align-items: center; }
.ftr__line { color: var(--text-3); font-size: 15px; }
.ftr__nav { display: flex; gap: 22px; font-size: 15px; color: var(--text-2); }
.ftr__nav a:hover { color: var(--text); }
.ftr__legal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }

/* Simple pages (privacy, 404) */
.page { padding: 150px 0 100px; }
.page .h1 { font-size: clamp(36px, 5vw, 60px); max-width: none; }
.prose { max-width: 760px; margin-top: 36px; color: var(--text-2); }
.prose h2 { margin: 40px 0 12px; font-size: 22px; color: var(--text); font-weight: 600; letter-spacing: -.01em; }
.prose p, .prose li { font-size: 16.5px; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(167, 139, 250, .6); }
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 24px; position: relative; overflow: hidden; }
.nf__code { font-size: clamp(120px, 22vw, 240px); font-weight: 700; letter-spacing: -.06em; line-height: 1; }
.nf .lead { margin: 18px auto 0; }
.nf .hero__cta { justify-content: center; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hdr__cta { margin-left: auto; }
  .burger { display: block; margin-left: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--xl { grid-row: auto; grid-column: span 2; min-height: 280px; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .proc, .faq { grid-template-columns: 1fr; gap: 40px; }
  .proc__head { position: static; }
  .approach__in { grid-template-columns: 1fr; gap: 56px; }
  .pipe { max-width: 640px; }
  .hero__net { right: -200px; width: 720px; height: 720px; opacity: .0; }
  .hero__net.is-on { opacity: .55; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hdr__cta { display: none; }
  .burger { margin-left: auto; }
  .hero { padding: 108px 0 80px; align-items: flex-start; }
  .hero__net { top: 120px; right: -170px; width: 460px; height: 460px; transform: none; }
  .hero__net.is-on { opacity: .45; }
  .blob--1 { width: 560px; height: 560px; right: -260px; top: -100px; }
  .blob--2 { width: 440px; height: 440px; right: -120px; top: 300px; }
  .stats { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
  .stats li { display: grid; grid-template-columns: 96px 1fr; align-items: baseline; gap: 12px; padding-top: 14px; }
  .stats b { font-size: 24px; }
  .stats li > span { margin-top: 0; }
  .scrollcue { display: none; }
  .sec { padding: 88px 0; }
  .bento, .work, .why, .plans { grid-template-columns: 1fr; margin-top: 40px; }
  .card--xl { grid-column: auto; }
  .card { min-height: 0; padding: 26px; }
  .refband { flex-direction: column; align-items: flex-start; padding: 22px; }
  .contact__in { grid-template-columns: 1fr; gap: 44px; }
  .form { padding: 24px; }
  .ftr__in { grid-template-columns: 1fr; }
  .ftr__nav { flex-wrap: wrap; gap: 14px 20px; }
  .marquee__track span { font-size: 18px; }
  .btn { height: 50px; }
  .approach__glow { right: -420px; }
  .pipe__job { padding: 20px 18px 4px; font-size: 13px; }
  .pipe__stages { padding: 12px 18px 18px; }
  .pipe__stages::before, .pipe__stages::after { left: 31px; top: 34px; bottom: 50px; }
  .pipe__stages li { grid-template-columns: 28px 1fr; gap: 2px 14px; padding: 9px 0; }
  .pipe__ic { grid-row: span 2; }
  .pipe__stages small { justify-self: start; }
  .pipe__top { padding: 12px 16px; }
  .pipe__foot { padding: 12px 16px; }
  .pipe__foot span { padding: 4px 10px; font-size: 10.5px; }
}
/* Phones and tablets: keep scrolling smooth — no endless decorative motion */
@media (hover: none) {
  .scrollcue span { animation: none; }
  .spot::before, .spot::after { display: none; }
  .pipe::before, .xlart__flow { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .js .hero .eyebrow, .js .hero .h1, .js .hero__lead, .js .hero__cta, .js .stats { opacity: 1; transform: none; }
}
