/* ============================================================
   SITE IN 5 — Design System & Styles
   Brand: electric blue (#0091FF) on deep near-black navy.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* brand */
  --blue:        #0091FF;
  --blue-bright: #2BA8FF;
  --cyan:        #5FD0FF;
  --blue-deep:   #0066FF;
  --navy-ink:    #272F3A;

  /* surfaces */
  --bg:        #05080F;
  --bg-2:      #080C16;
  --surface:   #0B1220;
  --surface-2: #0F1828;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);

  /* text */
  --text:  #EAF1FB;
  --muted: #94A3B8;
  --faint: #5C6781;

  /* effects */
  --grad:      linear-gradient(120deg, #5FD0FF 0%, #0091FF 46%, #0066FF 100%);
  --grad-soft: linear-gradient(120deg, rgba(95,208,255,.16), rgba(0,102,255,.16));
  --glow:      0 0 50px rgba(0,145,255,.5);
  --glow-sm:   0 0 26px rgba(0,145,255,.4);

  /* layout */
  --maxw: 1240px;
  --pad:  clamp(20px, 5vw, 56px);

  /* type */
  --f-display: 'Saira', system-ui, -apple-system, sans-serif;
  --f-cond:    'Saira Condensed', 'Saira', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* motion */
  --ease:    cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --nav-h: 76px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; height: 100vh; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--blue); color: #fff; }

/* keyboard focus (custom cursor hides the default pointer, so make focus obvious) */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .nav__link:focus-visible, .menu__link:focus-visible { outline-offset: 5px; }

/* cursor hidden on fine pointers (custom cursor takes over) */
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1b2740; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #26365a; }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(90px, 13vh, 168px); position: relative; }

.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.section__lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); margin-top: 24px; max-width: 60ch; }
.section__lead a { color: var(--cyan); border-bottom: 1px solid rgba(95,208,255,.4); }

/* kicker label */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: .8rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 22px;
}
.kicker i { font-style: normal; color: var(--faint); }
.kicker--center { justify-content: center; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.five-accent {
  font-family: var(--f-cond); font-style: italic; font-weight: 900;
  /* SOLID fill (matches the logo's solid-blue 5). background-clip:text was
     leaving the tall glyph's top transparent on fonts where it overflows the
     box — a solid color always renders the whole glyph, any font, any box. */
  color: #2BA8FF; -webkit-text-fill-color: #2BA8FF;
  display: inline-block; line-height: 1.1; transform: skewX(-2deg);
  text-shadow: 0 0 42px rgba(0,145,255,.65), 0 0 14px rgba(43,168,255,.55);
}

/* ---------- BUTTONS ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 100px;
  font-family: var(--f-display); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  color: #fff; background: var(--grad); background-size: 160% 160%;
  box-shadow: var(--glow-sm), inset 0 1px 0 rgba(255,255,255,.25);
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: box-shadow .4s var(--ease), background-position .6s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { box-shadow: var(--glow), inset 0 1px 0 rgba(255,255,255,.35); background-position: 100% 0; }
.btn:hover::before { transform: translateX(120%); }
.btn__icon { transition: transform .4s var(--ease); font-size: 1.05em; }
.btn:hover .btn__icon { transform: translateX(5px); }
.btn__play { font-size: .75em; }
.btn--lg { padding: 18px 34px; font-size: 1.08rem; }
.btn--sm { padding: 11px 20px; font-size: .9rem; }

.btn--ghost {
  background: rgba(255,255,255,.03); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn--ghost::before { background: linear-gradient(100deg, transparent 30%, rgba(95,208,255,.18) 50%, transparent 70%); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--blue), 0 0 30px rgba(0,145,255,.25); color: #fff; }

/* ---------- CUSTOM CURSOR ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 9999; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor__dot {
  position: fixed; top: 0; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: #eafaff; transform: translate(-50%, -50%);
  /* dark outline + cyan glow keeps it visible on bright AND dark areas */
  box-shadow: 0 0 0 1.5px rgba(2,8,20,.6), 0 0 10px rgba(0,145,255,.85);
}
.cursor__ring {
  position: fixed; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--cyan); transform: translate(-50%, -50%);
  display: grid; place-items: center;
  /* adaptive halo: dark ring shows on light/plasma, cyan shows on dark */
  box-shadow: 0 0 0 1.5px rgba(2,8,20,.55), 0 0 18px rgba(2,8,20,.35);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.cursor__label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .25s; white-space: nowrap;
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; border-color: rgba(95,208,255,.9); background: rgba(0,145,255,.08); }
.cursor.is-view  .cursor__ring { width: 92px; height: 92px; background: rgba(0,145,255,.92); border-color: transparent; }
.cursor.is-view  .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-view  .cursor__dot { opacity: 0; }
.cursor.is-down  .cursor__ring { transform: translate(-50%,-50%) scale(.8); }
.cursor.is-hide-target { opacity: 0; }

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1200; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0%; background: var(--grad); box-shadow: 0 0 16px rgba(0,145,255,.8); }

/* ---------- GRAIN ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 1100; pointer-events: none; opacity: .035;
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite; will-change: transform;
}
@keyframes grain {
  0%{transform:translate(0,0)}10%{transform:translate(-4%,-4%)}30%{transform:translate(3%,-2%)}
  50%{transform:translate(-2%,3%)}70%{transform:translate(4%,2%)}90%{transform:translate(-3%,1%)}100%{transform:translate(0,0)}
}

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: grid; place-items: center;
}
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; width: min(320px, 70vw); }
.preloader__bolt { width: 78px; height: auto; filter: drop-shadow(0 0 30px rgba(0,145,255,.6)); }
.preloader__bolt-fill { opacity: 0; }
.preloader__bolt-stroke { stroke-dasharray: 520; stroke-dashoffset: 520; }
.preloader__meta { display: flex; justify-content: space-between; align-items: baseline; width: 100%; font-family: var(--f-mono); }
.preloader__label { font-size: .82rem; letter-spacing: .3em; color: var(--muted); }
.preloader__pct { font-size: .9rem; color: var(--text); }
.preloader__pct i { color: var(--cyan); font-style: normal; }
.preloader__bar { width: 100%; height: 3px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0%; background: var(--grad); }

/* ---------- NAV ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 900; transition: transform .5s var(--ease); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner {
  max-width: var(--maxw); margin-inline: auto; height: var(--nav-h);
  padding-inline: var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: relative;
}
.nav__inner::after {
  content: ""; position: absolute; inset: 8px var(--pad); border-radius: 100px; z-index: -1;
  background: rgba(8,12,22,.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transition: opacity .4s var(--ease);
}
.nav.scrolled .nav__inner::after { opacity: 1; }
.nav.scrolled .nav__inner { height: 64px; }
.nav__inner { transition: height .4s var(--ease); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link { position: relative; padding: 10px 14px; font-family: var(--f-display); font-weight: 600; font-size: .96rem; color: var(--muted); transition: color .3s; }
.nav__link span { position: relative; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1.5px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__cta { display: inline-flex; }

/* brand lockup */
.brand { display: inline-flex; align-items: center; }
.brand__lockup { display: inline-flex; align-items: center; gap: .14em; font-family: var(--f-display); font-style: italic; font-weight: 900; line-height: 1; letter-spacing: -.01em; }
.brand__word { font-size: 1.5rem; color: var(--text); transform: skewX(-3deg); }
.brand__five { position: relative; font-family: var(--f-cond); font-size: 2.05rem; color: var(--blue); transform: skewX(-6deg); padding-right: .18em; text-shadow: 0 0 26px rgba(0,145,255,.45); }
.brand__bolt { position: absolute; right: -.06em; bottom: .04em; width: .92em; height: auto; color: var(--cyan); filter: drop-shadow(0 0 8px rgba(95,208,255,.7)); }
.brand--lg .brand__word { font-size: 2.2rem; } .brand--lg .brand__five { font-size: 3rem; }

/* burger */
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; box-shadow: inset 0 0 0 1px var(--line-2); }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.nav__burger span:nth-child(1) { top: 17px; } .nav__burger span:nth-child(2) { bottom: 17px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- MOBILE MENU ---------- */
.menu {
  position: fixed; inset: 0; z-index: 850; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 100px var(--pad) 48px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); pointer-events: none;
}
.menu::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 80% 0%, rgba(0,145,255,.16), transparent 60%); pointer-events: none; }
body.menu-open .menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; }
.menu__link { display: flex; align-items: baseline; gap: 18px; padding: 10px 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 11vw, 3.4rem); letter-spacing: -.02em; color: var(--text); opacity: 0; transform: translateY(30px); }
body.menu-open .menu__link { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
body.menu-open .menu__link:nth-child(1){transition-delay:.16s}
body.menu-open .menu__link:nth-child(2){transition-delay:.22s}
body.menu-open .menu__link:nth-child(3){transition-delay:.28s}
body.menu-open .menu__link:nth-child(4){transition-delay:.34s}
body.menu-open .menu__link:nth-child(5){transition-delay:.40s}
.menu__num { font-family: var(--f-mono); font-size: .9rem; font-weight: 500; color: var(--cyan); }
.menu__link .menu__text { transition: color .3s; }
.menu__link:hover .menu__text { color: var(--blue-bright); }
.menu__foot { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.menu__contact { font-family: var(--f-mono); color: var(--muted); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: var(--nav-h); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__fade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(95deg, rgba(5,8,15,.94) 0%, rgba(5,8,15,.74) 28%, rgba(5,8,15,.2) 56%, transparent 76%),
    radial-gradient(130% 95% at 55% 6%, transparent 42%, rgba(5,8,15,.5) 100%),
    linear-gradient(to bottom, transparent 48%, var(--bg) 99%); }
/* fallback when no webgl */
html.no-webgl .hero { background:
  radial-gradient(80% 60% at 70% 20%, rgba(0,145,255,.35), transparent 60%),
  radial-gradient(70% 60% at 20% 80%, rgba(0,102,255,.25), transparent 60%), var(--bg); }
html.no-webgl .hero__canvas { display: none; }

.hero__content { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin-inline: auto; padding-inline: var(--pad); }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px; border-radius: 100px;
  background: rgba(8,12,22,.5); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(8px);
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 30px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(95,208,255,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(95,208,255,.6)} 70%{box-shadow:0 0 0 12px rgba(95,208,255,0)} 100%{box-shadow:0 0 0 0 rgba(95,208,255,0)} }

.hero__title {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.03em; line-height: .95;
  font-size: clamp(2.9rem, 9vw, 7.4rem); max-width: 15ch;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .five-accent { font-size: 1.18em; line-height: 1.1; vertical-align: -.12em; padding-inline: .04em; }
.hero__sub { margin-top: 30px; max-width: 56ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }

.hero__chips { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 14px; }
.chip {
  display: flex; align-items: baseline; gap: 9px; padding: 14px 20px; border-radius: 16px;
  background: rgba(11,18,32,.5); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line);
  will-change: transform;
}
.chip b { font-family: var(--f-cond); font-style: italic; font-weight: 900; font-size: 1.7rem; color: var(--cyan); }
.chip span { font-size: .86rem; color: var(--muted); }

.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__scroll-text { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--faint); }
.hero__scroll-line { width: 1px; height: 54px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll-line i { position: absolute; top: -40%; left: 0; width: 100%; height: 40%; background: var(--cyan); animation: scrollLine 1.8s var(--ease) infinite; }
@keyframes scrollLine { 0%{top:-40%}100%{top:100%} }

/* ---------- TRUST / MARQUEE ---------- */
.trust { padding-block: clamp(56px, 8vh, 96px); border-top: 1px solid var(--line); position: relative; }
.trust__head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: 44px; padding-inline: var(--pad); }
.rating { display: inline-flex; align-items: center; gap: 12px; }
.rating__stars { color: var(--cyan); letter-spacing: 2px; filter: drop-shadow(0 0 8px rgba(95,208,255,.5)); }
.rating__text { color: var(--muted); font-size: .95rem; } .rating__text b { color: var(--text); }
.trust__label { color: var(--faint); font-size: .9rem; max-width: 50ch; }

.marquee { position: relative; 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); }
.marquee__track { display: flex; gap: 56px; width: max-content; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--faint); letter-spacing: .01em; white-space: nowrap; transition: color .3s; }
.marquee__item:hover { color: var(--text); }
.marquee__item svg { width: 22px; height: 22px; color: var(--blue); }

/* ---------- STATS ---------- */
.stats { padding-block: clamp(60px, 8vh, 100px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 30px 28px; border-radius: 22px; background: linear-gradient(180deg, rgba(15,24,40,.6), rgba(11,18,32,.3)); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 2px; background: var(--grad); }
.stat__num { font-family: var(--f-cond); font-style: italic; font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { margin-top: 12px; color: var(--muted); font-size: .95rem; }

/* ---------- SERVICES ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 34px 30px 30px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(15,24,40,.55), rgba(8,12,22,.4));
  box-shadow: inset 0 0 0 1px var(--line);
  transform-style: preserve-3d; transition: box-shadow .4s var(--ease), transform .15s var(--ease);
}
.card__glow { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(0,145,255,.28), transparent 65%); pointer-events: none; opacity: 0; transition: opacity .4s; transform: translate(-50%,-50%); z-index: 0; }
.card:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0,0,0,.7); }
.card:hover .card__glow { opacity: 1; }
.card > *:not(.card__glow) { position: relative; z-index: 1; }
.card__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--cyan); margin-bottom: 22px; }
.card__icon svg { width: 26px; height: 26px; }
.card__title { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.01em; margin-bottom: 10px; }
.card__text { color: var(--muted); font-size: .98rem; }
.card__list { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.card__list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text); }
.card__list li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(0,145,255,.5); flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- PROCESS (pinned horizontal) ---------- */
.process { position: relative; background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.process__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(26px, 5vh, 56px); overflow: hidden; position: relative; }
.process__intro { flex: none; max-width: none; padding-inline: var(--pad); }
.process__track { display: flex; align-items: stretch; gap: clamp(20px, 2vw, 38px); padding-inline: var(--pad); will-change: transform; }
.process__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 7%; height: 2px; background: var(--line); z-index: 2; }
.process__progress span { position: absolute; inset: 0; width: 0%; background: var(--grad); box-shadow: 0 0 14px rgba(0,145,255,.7); }
.process__bolt { position: absolute; top: 50%; left: 0; transform: translate(-50%,-50%); font-size: 1.4rem; filter: drop-shadow(0 0 10px rgba(95,208,255,.9)); font-style: normal; }

.day {
  position: relative; z-index: 1; flex: 0 0 clamp(320px, 34vw, 660px); padding: 40px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(15,24,40,.85), rgba(8,12,22,.85));
  box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(6px);
  display: flex; flex-direction: column;
}
.day--launch { background: linear-gradient(180deg, rgba(0,82,180,.4), rgba(8,12,22,.85)); box-shadow: inset 0 0 0 1px rgba(95,208,255,.4), 0 0 60px -20px rgba(0,145,255,.6); }
.day__tag { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .2em; color: var(--cyan); }
.day__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.02em; margin: 14px 0 16px; }
.day__text { color: var(--muted); font-size: 1rem; }
.day__list { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.day__list li { font-family: var(--f-mono); font-size: .78rem; padding: 7px 12px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); }

/* ---------- WORK ---------- */
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-card { position: relative; border-radius: 24px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); transition: box-shadow .4s var(--ease); }
.work-card--wide { grid-column: span 2; }
.work-card:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 70px -40px rgba(0,0,0,.8); }
.work-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(180deg, #0c1424, #070b14); }
.work-card--wide .work-card__media { aspect-ratio: 21/8; }
.work-card__media svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.work-card:hover .work-card__media svg { transform: scale(1.04); }
.work-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; }
.work-card__title { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; }
.work-card__tags { font-family: var(--f-mono); font-size: .78rem; color: var(--faint); letter-spacing: .06em; margin-top: 4px; }
.work-card__arrow { font-size: 1.4rem; color: var(--cyan); transition: transform .4s var(--ease); }
.work-card:hover .work-card__arrow { transform: translate(4px,-4px); }

/* ---------- WHY / BENTO ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(180px, auto); gap: 20px; }
.bento__cell { position: relative; padding: 30px; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, rgba(15,24,40,.55), rgba(8,12,22,.4)); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.bento__cell--speed { grid-column: span 2; grid-row: span 2; }
.bento__cell--scores { grid-column: span 4; }
.bento__cell--custom { grid-column: span 2; }
.bento__cell--convert { grid-column: span 2; }
.bento__cell--support { grid-column: span 2; }
.bento__label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.bento__title { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; margin: 16px 0 8px; }
.bento__text { color: var(--muted); font-size: .95rem; margin-top: auto; }
.bento__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--cyan); }
.bento__icon svg { width: 26px; height: 26px; }
.bento__big { font-family: var(--f-cond); font-style: italic; font-weight: 900; font-size: 4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.gauge { position: relative; margin: 18px 0; }
.gauge svg { width: 100%; max-width: 240px; }
#gaugeArc { stroke-dasharray: 251; stroke-dashoffset: 251; }
.gauge__center { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); text-align: center; }
.gauge__center b { display: block; font-family: var(--f-cond); font-style: italic; font-weight: 900; font-size: 3rem; line-height: 1; color: var(--text); }
.gauge__center span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }

.rings { display: flex; gap: 30px; flex-wrap: wrap; margin: 22px 0; }
.ring { position: relative; width: 96px; text-align: center; }
.ring svg { width: 96px; height: 96px; transform: rotate(-90deg); }
.ring__bg { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 6; }
.ring__fg { fill: none; stroke: url(#ringGrad); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 188.5; stroke-dashoffset: 188.5; }
.ring__num { position: absolute; top: 30px; left: 0; right: 0; font-family: var(--f-cond); font-style: italic; font-weight: 900; font-size: 1.7rem; color: var(--text); }
.ring i { display: block; font-family: var(--f-mono); font-size: .72rem; color: var(--muted); margin-top: 6px; font-style: normal; }

/* ---------- PRICING ---------- */
.toggle { position: relative; display: inline-flex; padding: 5px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line-2); margin-top: 30px; background: rgba(8,12,22,.5); }
.toggle__opt { position: relative; z-index: 1; padding: 10px 22px; border-radius: 100px; font-family: var(--f-display); font-weight: 600; font-size: .92rem; color: var(--muted); transition: color .3s; }
.toggle__opt.is-active { color: #fff; }
.toggle__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: 96px; border-radius: 100px; background: var(--grad); box-shadow: var(--glow-sm); transition: transform .45s var(--ease), width .45s var(--ease); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan { position: relative; padding: 38px 32px; border-radius: 26px; background: linear-gradient(180deg, rgba(15,24,40,.5), rgba(8,12,22,.35)); box-shadow: inset 0 0 0 1px var(--line); }
.plan--featured { background: linear-gradient(180deg, rgba(0,72,160,.28), rgba(8,12,22,.5)); box-shadow: inset 0 0 0 1.5px rgba(95,208,255,.45), 0 30px 70px -40px rgba(0,145,255,.7); transform: translateY(-12px); }
.plan__badge { position: absolute; top: -13px; left: 32px; padding: 6px 14px; border-radius: 100px; background: var(--grad); color: #fff; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; box-shadow: var(--glow-sm); }
.plan__name { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; }
.plan__desc { color: var(--muted); font-size: .92rem; margin-top: 6px; min-height: 42px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin: 22px 0; flex-wrap: wrap; }
.plan__cur { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; color: var(--muted); }
.plan__amt { font-family: var(--f-cond); font-style: italic; font-weight: 900; font-size: 3.2rem; line-height: 1; color: var(--text); }
.plan__per { font-family: var(--f-mono); font-size: .82rem; color: var(--faint); width: 100%; }
.plan__cta { width: 100%; justify-content: center; margin-bottom: 24px; }
.plan__list { display: flex; flex-direction: column; gap: 12px; }
.plan__list li { display: flex; align-items: flex-start; gap: 12px; font-size: .94rem; color: var(--text); }
.plan__list li::before { content: ""; margin-top: 3px; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E") center/11px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E") center/11px no-repeat; }

/* ---------- TESTIMONIALS ---------- */
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { padding: 32px 30px; border-radius: 24px; background: linear-gradient(180deg, rgba(15,24,40,.5), rgba(8,12,22,.35)); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 18px; }
.quote__stars { color: var(--cyan); letter-spacing: 3px; filter: drop-shadow(0 0 6px rgba(95,208,255,.4)); }
.quote blockquote { font-size: 1.08rem; line-height: 1.6; color: var(--text); } .quote blockquote b { color: var(--cyan); }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: .9rem; color: #021022; background: linear-gradient(135deg, var(--a), var(--b)); }
.quote figcaption b { display: block; font-weight: 600; } .quote figcaption i { font-style: normal; color: var(--faint); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq__aside { position: sticky; top: 120px; }
.acc { border-bottom: 1px solid var(--line); }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.35rem); text-align: left; list-style: none; }
.acc__q::-webkit-details-marker { display: none; }
.acc__icon { position: relative; flex: none; width: 22px; height: 22px; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; background: var(--cyan); border-radius: 2px; transition: transform .4s var(--ease), opacity .4s; }
.acc__icon::before { top: 10px; left: 0; right: 0; height: 2px; }
.acc__icon::after { left: 10px; top: 0; bottom: 0; width: 2px; }
.acc[open] .acc__icon::after { transform: scaleY(0); opacity: 0; }
.acc__a { overflow: hidden; }
.acc__a p { color: var(--muted); padding: 0 4px 26px; max-width: 56ch; }

/* ---------- CTA ---------- */
.cta { position: relative; padding-block: clamp(100px, 16vh, 200px); overflow: hidden; text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(60% 70% at 50% 30%, rgba(0,145,255,.32), transparent 65%),
  radial-gradient(40% 50% at 80% 90%, rgba(124,92,255,.2), transparent 60%); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background-image:
  linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px; -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 75%); }
.cta__inner { position: relative; z-index: 1; max-width: 820px; }
.cta__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 8vw, 6rem); line-height: .98; letter-spacing: -.03em; margin-bottom: 24px; }
.cta__title .line { display: block; overflow: hidden; }
.cta__title .five-accent { font-size: 1.15em; line-height: 1.1; }
.cta__sub { color: var(--muted); font-size: 1.15rem; max-width: 52ch; margin: 0 auto 44px; }

.cta__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 600px; margin-inline: auto; text-align: left; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 22px 18px 12px; border-radius: 14px; background: rgba(8,12,22,.6); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .3s; resize: none; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 24px -6px rgba(0,145,255,.6); }
.field label { position: absolute; left: 18px; top: 17px; color: var(--faint); font-size: .95rem; pointer-events: none; transition: transform .25s var(--ease), color .25s, font-size .25s; transform-origin: left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); color: var(--cyan); }
.field.invalid input, .field.invalid textarea { box-shadow: inset 0 0 0 1.5px #ff5470; }
.cta__submit { grid-column: 1 / -1; justify-content: center; }
.cta__formnote { grid-column: 1 / -1; text-align: center; font-family: var(--f-mono); font-size: .85rem; min-height: 22px; color: var(--cyan); }
.cta__formnote.error { color: #ff5470; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 8vh, 88px); background: var(--bg-2); }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__tag { color: var(--muted); font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 40px; padding-block: 48px; }
.footer__col h4 { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.footer__col a { display: block; color: var(--muted); padding: 6px 0; transition: color .25s, transform .25s; }
.footer__col a:hover { color: var(--text); transform: translateX(4px); }
.footer__social { display: flex; gap: 12px; margin-top: 16px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); transition: color .3s, box-shadow .3s; transform: none; padding: 0; }
.footer__social a:hover { color: var(--cyan); box-shadow: inset 0 0 0 1px var(--blue); transform: none; }
.footer__social svg { width: 20px; height: 20px; }
.footer__news { display: flex; gap: 8px; }
.footer__news input { flex: 1; padding: 13px 16px; border-radius: 12px; background: rgba(8,12,22,.6); box-shadow: inset 0 0 0 1px var(--line-2); }
.footer__news input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--blue); }
.footer__news button { width: 48px; border-radius: 12px; background: var(--grad); color: #fff; font-size: 1.2rem; box-shadow: var(--glow-sm); }
.footer__newsnote { color: var(--faint); font-size: .82rem; margin-top: 12px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 36px; border-top: 1px solid var(--line); color: var(--faint); font-size: .86rem; }
.footer__credit { color: var(--muted); }
.footer__top-btn { font-family: var(--f-mono); font-size: .82rem; padding: 10px 16px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); transition: box-shadow .3s; }
.footer__top-btn:hover { box-shadow: inset 0 0 0 1px var(--blue); }

/* ============================================================
   REVEAL ANIMATIONS (gated on .js so content shows if JS fails)
   ============================================================ */
html.js .reveal-up { opacity: 0; transform: translateY(34px); }
html.js .reveal-up.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js [data-reveal] { opacity: 0; transform: translateY(40px); }
html.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.js .reveal-mask .reveal-inner { display: inline-block; transform: translateY(108%); }
html.js .reveal-mask.is-in .reveal-inner { transform: translateY(0); transition: transform 1s var(--ease); }
html.js .reveal-mask { overflow: hidden; display: block; }

/* split text */
.char { display: inline-block; will-change: transform; }
html.js [data-split] .char { transform: translateY(105%); opacity: 0; }
html.js [data-split].is-in .char { transform: translateY(0); opacity: 1; transition: transform .8s var(--ease), opacity .8s var(--ease); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .bento__cell--scores { grid-column: span 6; }
  .bento__cell--speed { grid-column: span 3; grid-row: span 1; }
  .bento__cell--custom, .bento__cell--convert, .bento__cell--support { grid-column: span 3; }
}
@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--featured { transform: none; }
  .quotes__grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .faq__inner { grid-template-columns: 1fr; } .faq__aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  /* full-width text needs a vertical scrim for legibility over the plasma */
  .hero__fade { background:
    linear-gradient(180deg, rgba(5,8,15,.5) 0%, rgba(5,8,15,.4) 26%, rgba(5,8,15,.66) 58%, rgba(5,8,15,.92) 86%, var(--bg) 100%); }
  .hero__sub { color: #aebbcd; }
  .cards { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr; }
  .work-card--wide { grid-column: span 1; }
  .work-card--wide .work-card__media { aspect-ratio: 16/10; }
  .bento { grid-template-columns: 1fr; }
  .bento__cell, .bento__cell--speed, .bento__cell--scores, .bento__cell--custom, .bento__cell--convert, .bento__cell--support { grid-column: span 1; grid-row: auto; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cta__form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__chips { gap: 10px; }
  .chip { padding: 12px 16px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js .reveal-up, html.js [data-reveal], html.js .reveal-mask .reveal-inner, html.js [data-split] .char { opacity: 1 !important; transform: none !important; }
  .grain, .pulse-dot, .hero__scroll-line i { animation: none !important; }
  /* process pin is disabled without motion — let the tiles wrap so all are reachable */
  .process__pin { height: auto; display: block; padding-block: clamp(60px, 9vh, 110px); }
  .process__intro { margin-bottom: 40px; }
  .process__track { flex-wrap: wrap; transform: none !important; gap: 22px; }
  .process__track .day { flex: 1 1 300px; }
  .process__progress { display: none; }
}
