/* === tokens/colors.css === */
/* ============================================================
   CLOUDLY LABS — COLOR SYSTEM
   Dark-first. The brand lives at night: deep ink skies,
   bolt-blue strokes, sky-blue highlights, storm-cyan electricity.
   Sampled directly from the logo:
     ink ground  #0F131E · bolt blue #2F4EE4 · sky blue #58AFF2
   ============================================================ */
:root {
  /* ---- Ink scale (backgrounds, darkest → lightest) ---- */
  --ink-0: #070A12;            /* void — page edges, hero skies */
  --ink-1: #0B0F19;            /* canvas — default page background */
  --ink-2: #0F131E;            /* brand ground — exact logo background */
  --ink-3: #141A2A;            /* raised surface — cards */
  --ink-4: #1A2236;            /* high surface — popovers, hover fills */
  --ink-5: #232D47;            /* highest — pressed fills, strong borders */

  /* ---- Bolt blue (primary, from logo cloud stroke) ---- */
  --bolt-300: #7B8FF5;
  --bolt-400: #4D67EE;
  --bolt-500: #2F4EE4;         /* THE brand blue */
  --bolt-600: #2438C2;
  --bolt-700: #1C2B96;
  --bolt-ghost: rgba(47, 78, 228, 0.14);   /* tinted fills */
  --bolt-line: rgba(77, 103, 238, 0.38);   /* tinted borders */

  /* ---- Sky blue (secondary, from logo flask highlight) ---- */
  --sky-300: #8FCBF7;
  --sky-400: #6FBBF4;
  --sky-500: #58AFF2;          /* logo light blue */
  --sky-600: #3E92D6;
  --sky-ghost: rgba(88, 175, 242, 0.12);

  /* ---- Volt (electricity — lightning, charges, live states) ---- */
  --volt-300: #B5F1FF;
  --volt-400: #7DE4FF;
  --volt-500: #4FD4F7;
  --volt-ghost: rgba(125, 228, 255, 0.10);

  /* ---- Text on ink ---- */
  --text-hi: #F2F5FF;          /* headlines, key figures */
  --text-body: #B8C2DE;        /* paragraphs, default UI text */
  --text-mute: #71809F;        /* captions, metadata, placeholders */
  --text-ghost: #475068;       /* disabled, decorative numerals */
  --text-on-bolt: #FFFFFF;     /* text on bolt-500 fills */

  /* ---- Lines & borders ---- */
  --line-1: rgba(122, 144, 200, 0.10);  /* hairline dividers */
  --line-2: rgba(122, 144, 200, 0.18);  /* card borders */
  --line-3: rgba(122, 144, 200, 0.30);  /* strong/hover borders */

  /* ---- Semantic ---- */
  --ok-500: #3DDC97;
  --ok-ghost: rgba(61, 220, 151, 0.12);
  --warn-500: #FFB547;
  --warn-ghost: rgba(255, 181, 71, 0.12);
  --danger-500: #FF5D6E;
  --danger-ghost: rgba(255, 93, 110, 0.12);

  /* ---- Gradients ---- */
  --grad-bolt: linear-gradient(135deg, #2F4EE4 0%, #58AFF2 100%); /* @kind color */
  --grad-storm: linear-gradient(135deg, #1C2B96 0%, #2F4EE4 45%, #4FD4F7 100%); /* @kind color */
  --grad-text: linear-gradient(100deg, #F2F5FF 20%, #8FCBF7 60%, #4D67EE 100%); /* @kind color */
  --grad-sky-fade: radial-gradient(ellipse at 50% -20%, rgba(47,78,228,0.35) 0%, rgba(47,78,228,0) 60%); /* @kind color */

  /* ---- Semantic aliases ---- */
  --surface-page: var(--ink-1);
  --surface-card: var(--ink-3);
  --surface-raised: var(--ink-4);
  --surface-brand: var(--ink-2);
  --accent: var(--bolt-500);
  --accent-hover: var(--bolt-400);
  --accent-active: var(--bolt-600);
  --focus-ring: 0 0 0 2px var(--ink-1), 0 0 0 4px var(--bolt-400);
}

/* === tokens/typography.css === */
/* ============================================================
   CLOUDLY LABS — TYPOGRAPHY
   Space Grotesk: display voice — geometric, techy, slightly alien.
   Manrope: body/UI voice — clean, high x-height, friendly.
   JetBrains Mono: the "lab" voice — specimen labels, code, data.
   ============================================================ */
:root {
  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', monospace;

  /* ---- Display scale (Space Grotesk, tight) ---- */
  --text-hero: 700 clamp(56px, 7vw, 104px)/0.98 var(--font-display);   /* ls -0.035em */
  --text-d1: 700 64px/1.02 var(--font-display);                         /* ls -0.03em */
  --text-d2: 700 44px/1.06 var(--font-display);                         /* ls -0.02em */
  --text-d3: 600 30px/1.15 var(--font-display);                         /* ls -0.015em */
  --text-title: 600 21px/1.3 var(--font-display);                       /* ls -0.01em */

  /* ---- Body scale (Manrope) ---- */
  --text-lead: 500 19px/1.6 var(--font-body);
  --text-base: 500 15.5px/1.65 var(--font-body);
  --text-sm: 500 13.5px/1.55 var(--font-body);
  --text-ui: 600 14px/1.2 var(--font-body);          /* buttons, tabs, nav */

  /* ---- Lab voice (JetBrains Mono) ---- */
  --text-label: 600 11px/1.4 var(--font-mono);       /* uppercase, ls 0.14em */
  --text-data: 500 13px/1.6 var(--font-mono);        /* numbers, code, logs */

  /* letter-spacing tokens (apply alongside the shorthand fonts) */
  --ls-hero: -0.035em;
  --ls-display: -0.025em;
  --ls-title: -0.01em;
  --ls-label: 0.14em;       /* always with text-transform: uppercase */
}

/* === tokens/spacing.css === */
/* ============================================================
   CLOUDLY LABS — SPACING & RADII
   4px base grid. Generous outer space, dense data inside.
   ============================================================ */
:root {
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 144px;     /* section rhythm on marketing pages */

  /* ---- Radii: sharp-ish tech, round only where touchable ---- */
  --r-1: 6px;         /* inputs, tags, small controls */
  --r-2: 10px;        /* buttons */
  --r-3: 16px;        /* cards */
  --r-4: 24px;        /* feature panels, modals */
  --r-pill: 999px;    /* pills, status dots, avatars */

  /* ---- Layout ---- */
  --container: 1200px;
  --container-wide: 1400px;
  --gutter: 24px;
}

/* === tokens/effects.css === */
/* ============================================================
   CLOUDLY LABS — EFFECTS
   Light is the brand: things glow rather than drop shadows.
   Dark UI = shadows barely visible → use borders + glow + depth fades.
   ============================================================ */
:root {
  /* ---- Elevation (subtle, paired with borders) ---- */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 8px 24px -8px rgba(0, 0, 0, 0.55);
  --shadow-3: 0 24px 64px -16px rgba(0, 0, 0, 0.65);

  /* ---- Glow (the signature) ---- */
  --glow-bolt: 0 0 24px rgba(47, 78, 228, 0.45), 0 0 64px rgba(47, 78, 228, 0.20);
  --glow-bolt-strong: 0 0 12px rgba(77, 103, 238, 0.7), 0 0 48px rgba(47, 78, 228, 0.45), 0 0 120px rgba(47, 78, 228, 0.25);
  --glow-sky: 0 0 20px rgba(88, 175, 242, 0.40), 0 0 56px rgba(88, 175, 242, 0.18);
  --glow-volt: 0 0 16px rgba(125, 228, 255, 0.55), 0 0 48px rgba(79, 212, 247, 0.25);
  --glow-text: 0 0 32px rgba(143, 203, 247, 0.45);

  /* ---- Card recipe ---- */
  --card-border: 1px solid var(--line-2); /* @kind other */
  --card-bg: linear-gradient(180deg, rgba(122,144,200,0.06) 0%, rgba(122,144,200,0.015) 100%), var(--ink-3);

  /* ---- Glass (nav bars, overlays over animated skies) ---- */
  --glass-bg: rgba(11, 15, 25, 0.72);
  --glass-blur: blur(16px) saturate(1.4); /* @kind other */
  --glass-border: 1px solid rgba(122, 144, 200, 0.14); /* @kind other */

  /* ---- Grid texture (blueprint motif) ---- */
  --grid-line: rgba(122, 144, 200, 0.07);
  --bg-grid: linear-gradient(var(--grid-line) 1px, transparent 1px),
             linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); /* @kind color */
  --bg-grid-size: 48px 48px; /* @kind other */
}

/* === tokens/motion.css === */
/* ============================================================
   CLOUDLY LABS — MOTION
   Electric, fast in / soft out. Charge → strike → settle.
   ============================================================ */
:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */

  --dur-1: 120ms; /* @kind other */
  --dur-2: 240ms; /* @kind other */
  --dur-3: 480ms; /* @kind other */
  --dur-4: 900ms; /* @kind other */

  --hover-lift: translateY(-2px); /* @kind other */
  --press-scale: scale(0.97); /* @kind other */
}

/* ---- Shared keyframes ---- */
@keyframes cl-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes cl-pulse-glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@keyframes cl-flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.4; }
  94% { opacity: 1; }
  96% { opacity: 0.6; }
  97% { opacity: 1; }
}
@keyframes cl-shimmer {
  from { background-position: -200% 0; }
  to { background-position: 200% 0; }
}
@keyframes cl-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cl-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* === styles.css === */

/* === site.css === */
/* ============================================================
   CLOUDLY LABS SITE LAYER
   Built on top of the brand tokens (styles.css). Dark-first,
   glow over shadow, charge / strike / settle motion.
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--ink-1);
  color: var(--text-body);
  font: var(--text-base);
}

::selection {
  background: rgba(47, 78, 228, 0.5);
  color: #fff;
}

img {
  max-width: 100%;
}

a {
  color: var(--sky-400);
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-1);
}

.skipLink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--bolt-500);
  color: var(--text-on-bolt);
  font: var(--text-ui);
  text-decoration: none;
  border-radius: 0 0 var(--r-1) 0;
}

.skipLink:focus {
  left: 0;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---- Lab labels (the signature mono voice) ---- */
.labLabel {
  font: var(--text-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--sky-400);
  display: inline-block;
}

.labLabelMute {
  color: var(--text-mute);
}

.labLabelVolt {
  color: var(--volt-400);
}

.labLabelGhost {
  color: var(--text-ghost);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 700 16px/1 var(--font-display);
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: var(--r-2);
  cursor: pointer;
  transition: all var(--dur-1) var(--ease-out);
}

.btnCharge {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 16px 32px;
  border: 1px solid rgba(181, 241, 255, 0.35);
  background: var(--grad-storm);
  box-shadow: var(--glow-bolt);
}

.btnCharge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(181, 241, 255, 0.55) 50%, transparent 70%);
  background-size: 250% 100%;
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease-out);
}

.btnCharge:hover {
  box-shadow: var(--glow-bolt-strong);
  transform: var(--hover-lift);
}

.btnCharge:hover::before {
  opacity: 1;
  animation: cl-shimmer 1.1s var(--ease-in-out) infinite;
}

.btnCharge:active {
  transform: var(--press-scale);
}

.btnCharge > * {
  position: relative;
}

.btnGhost {
  color: var(--text-hi);
  padding: 15px 28px;
  border: 1px solid var(--line-2);
  background: transparent;
}

.btnGhost:hover {
  border-color: var(--line-3);
  background: var(--ink-4);
  transform: var(--hover-lift);
}

.btnGhost:active {
  transform: var(--press-scale);
}

.btnNav {
  font-size: 14px;
  padding: 10px 18px;
  color: var(--text-hi);
  background: var(--bolt-ghost);
  border: 1px solid var(--bolt-line);
}

.btnNav:hover {
  background: rgba(47, 78, 228, 0.24);
  box-shadow: var(--glow-bolt);
}

/* ---- Navigation ---- */
.siteNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: var(--glass-border);
}

.navInner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 64px;
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.navBrand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navBrand img {
  width: 34px;
  display: block;
}

.wordmark {
  font: 700 17px/1 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--text-hi);
}

.wordmark span {
  color: var(--sky-500);
}

.navLinks {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.navLinks a {
  font: 600 13.5px/1 var(--font-body);
  color: var(--text-body);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 8px;
  transition: all var(--dur-1) var(--ease-out);
}

.navLinks a:hover {
  color: var(--text-hi);
  background: var(--ink-4);
}

.langSwitch {
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--text-mute);
  text-decoration: none;
  padding: 9px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  transition: all var(--dur-1) var(--ease-out);
}

.langSwitch:hover {
  color: var(--text-hi);
  border-color: var(--line-3);
}

.navToggle {
  display: none;
  margin-left: auto;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  color: var(--text-hi);
  cursor: pointer;
}

.navMenu {
  display: none;
}

@media (max-width: 880px) {
  .navLinks {
    display: none;
  }

  .navToggle {
    display: inline-flex;
  }

  .navToggle[hidden] {
    display: none;
  }

  .navMenu.isOpen {
    display: block;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    padding: 8px var(--gutter) 16px;
  }

  .navMenu a {
    display: block;
    font: 600 15px/1 var(--font-body);
    color: var(--text-body);
    text-decoration: none;
    padding: 14px 8px;
    border-bottom: 1px solid var(--line-1);
  }

  .navMenu a:last-child {
    border-bottom: 0;
  }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-0);
  padding-top: 64px;
}

.skyGlow {
  position: absolute;
  inset: 0;
  background: var(--grad-sky-fade);
  pointer-events: none;
}

.blueprintGrid {
  position: absolute;
  inset: 0;
  background: var(--bg-grid);
  background-size: var(--bg-grid-size);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
  pointer-events: none;
}

.heroInner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px var(--gutter) 0;
  text-align: center;
}

.heroMark {
  animation: cl-rise 0.7s var(--ease-out) both;
}

.heroMark img {
  width: 92px;
  filter: drop-shadow(0 0 32px rgba(47, 78, 228, 0.65));
  animation: cl-float 5s var(--ease-in-out) infinite;
}

.heroEyebrow {
  margin: 18px 0 0;
  animation: cl-rise 0.7s var(--ease-out) 80ms both;
}

.heroEyebrow .labLabel {
  letter-spacing: 0.22em;
}

.heroTitle {
  margin: 22px 0 0;
  font: 700 clamp(52px, 7vw, 96px)/0.98 var(--font-display);
  letter-spacing: var(--ls-hero);
  text-wrap: balance;
  animation: cl-rise 0.8s var(--ease-out) 160ms both;
}

/* One gradient phrase per page, max. No animated children inside:
   Chromium drops background-clip text when child layers composite. */
.gradText {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.heroLead {
  font: var(--text-lead);
  color: var(--text-body);
  max-width: 560px;
  margin: 26px auto 0;
  animation: cl-rise 0.8s var(--ease-out) 600ms both;
}

.heroCtas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 38px;
  animation: cl-rise 0.8s var(--ease-out) 750ms both;
}

.heroHint {
  margin-top: 46px;
  animation: cl-rise 1s var(--ease-out) 1400ms both;
}

.heroHint .labLabelGhost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.heroHint .icon {
  width: 12px;
  height: 12px;
  color: var(--bolt-400);
}

/* ---- Capability marquee ---- */
.marquee {
  position: relative;
  z-index: 1;
  margin-top: 84px;
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
  overflow: hidden;
  background: rgba(11, 15, 25, 0.5);
}

.marqueeTrack {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marqueeItem {
  font: 600 12px/1 var(--font-mono);
  letter-spacing: 0.18em;
  color: var(--text-mute);
  padding: 16px 0;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.marqueeItem .icon {
  width: 13px;
  height: 13px;
  color: var(--bolt-400);
  margin: 0 26px;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---- Sections ---- */
.section {
  padding: var(--sp-9) 0;
}

.sectionInk2 {
  background: var(--ink-2);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sectionHead {
  margin-bottom: var(--sp-7);
}

.sectionTitle {
  margin: 14px 0 0;
  font: 700 clamp(34px, 4.5vw, 44px)/1.06 var(--font-display);
  letter-spacing: var(--ls-display);
  color: var(--text-hi);
  max-width: 720px;
  text-wrap: balance;
}

.sectionIntro {
  margin: 16px 0 0;
  font: var(--text-lead);
  color: var(--text-body);
  max-width: 620px;
}

/* ---- Scroll reveal ---- */
[data-reveal].revealPending {
  opacity: 0;
  transform: translateY(28px);
}

[data-reveal].revealIn {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

/* ---- Holo cards ---- */
.holoCard {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: var(--r-3);
  padding: var(--sp-5);
  background: var(--card-bg);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-1);
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out);
}

.holoCard:hover {
  border-color: var(--bolt-line);
  box-shadow: var(--glow-bolt), var(--shadow-2);
  transform: var(--hover-lift);
}

.holoCard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(280px circle at var(--gx, 50%) var(--gy, 50%), rgba(88, 175, 242, 0.14), transparent 65%);
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease-out);
}

.holoCard:hover::after {
  opacity: 1;
}

.cardIcon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-1);
  background: var(--bolt-ghost);
  border: 1px solid var(--bolt-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-400);
  margin-bottom: 16px;
}

.cardLabel {
  margin-bottom: 10px;
}

.cardTitle {
  margin: 0 0 8px;
  font: 600 20px/1.25 var(--font-display);
  letter-spacing: var(--ls-title);
  color: var(--text-hi);
}

.cardBody {
  margin: 0;
  font: 500 14px/1.65 var(--font-body);
  color: var(--text-mute);
}

/* ---- Services grid ---- */
.servicesGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

/* ---- Experiments ---- */
.expGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 880px) {
  .expGrid {
    grid-template-columns: 1fr;
  }
}

.expHead {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--r-pill);
}

.badgeOk {
  color: var(--ok-500);
  background: var(--ok-ghost);
  border: 1px solid rgba(61, 220, 151, 0.25);
}

.badgeVolt {
  color: var(--volt-400);
  background: var(--volt-ghost);
  border: 1px solid rgba(125, 228, 255, 0.2);
}

.badgeDot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: currentColor;
  animation: cl-pulse-glow 2s var(--ease-in-out) infinite;
}

.expTitle {
  margin: 0 0 8px;
  font: 700 26px/1.15 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--text-hi);
}

.expChips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.statChip {
  font: 500 12px/1 var(--font-mono);
  color: var(--volt-400);
  background: var(--volt-ghost);
  border: 1px solid rgba(125, 228, 255, 0.2);
  padding: 8px 12px;
  border-radius: var(--r-1);
  white-space: nowrap;
}

.expLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font: 600 12px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky-400);
  text-decoration: none;
}

.expLink:hover {
  color: var(--volt-400);
}

.expLink .icon {
  width: 14px;
  height: 14px;
}

/* ---- Pricing ---- */
.priceGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.priceCard .cardTitle {
  margin-bottom: 14px;
}

.priceAmount {
  font: 700 34px/1 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--text-hi);
  margin: 0 0 4px;
}

.pricePrefix {
  font: 600 12px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: block;
  margin-bottom: 6px;
}

.priceMeta {
  font: 500 13px/1.5 var(--font-body);
  color: var(--text-mute);
  margin: 0 0 18px;
}

.priceList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.priceList li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font: 500 13.5px/1.55 var(--font-body);
  color: var(--text-mute);
}

.priceList .icon {
  width: 15px;
  height: 15px;
  color: var(--sky-400);
  margin-top: 2px;
}

.priceFeatured {
  margin-top: 18px;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-4);
  border: 1px solid var(--bolt-line);
  background: var(--card-bg);
  box-shadow: var(--glow-bolt);
  padding: var(--sp-6);
}

.priceFeatured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-sky-fade);
  pointer-events: none;
}

.priceFeaturedInner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.priceFeatured .priceAmount {
  font-size: 40px;
}

.priceFeatured .cardTitle {
  font-size: 24px;
}

.priceFootnote {
  margin-top: var(--sp-6);
}

/* ---- Lab / about ---- */
.labGrid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-7);
  align-items: center;
}

@media (max-width: 880px) {
  .labGrid {
    grid-template-columns: 1fr;
  }
}

.labCopy p {
  margin: 0 0 16px;
  font: 500 16px/1.7 var(--font-body);
  color: var(--text-body);
}

.labCopy p:last-child {
  margin-bottom: 0;
}

.labChips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.terminal {
  border-radius: var(--r-3);
  border: 1px solid var(--line-2);
  background: var(--ink-0);
  box-shadow: var(--shadow-3), var(--glow-bolt);
  overflow: hidden;
}

.terminalBar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-1);
  background: var(--ink-2);
}

.terminalBar i {
  width: 10px;
  height: 10px;
  border-radius: var(--r-pill);
  opacity: 0.7;
}

.terminalBar i:nth-child(1) {
  background: var(--danger-500);
}

.terminalBar i:nth-child(2) {
  background: var(--warn-500);
}

.terminalBar i:nth-child(3) {
  background: var(--ok-500);
}

.terminalBar span {
  font: 500 11px/1 var(--font-mono);
  color: var(--text-ghost);
  margin-left: 8px;
}

.terminalBody {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.terminalBody span {
  font: 500 13.5px/1.5 var(--font-mono);
  color: var(--text-mute);
}

.terminalBody .lineOk {
  color: var(--ok-500);
}

.terminalBody .lineVolt {
  color: var(--volt-400);
}

.terminalBody .lineCursor {
  color: var(--sky-400);
  animation: cl-pulse-glow 1.4s var(--ease-in-out) infinite;
}

/* ---- Contact storm ---- */
.contactStorm {
  position: relative;
  overflow: hidden;
  background: var(--ink-0);
  padding: var(--sp-10) 0;
}

.contactInner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.contactTitle {
  margin: 18px 0 0;
  font: 700 clamp(40px, 6vw, 60px)/1.02 var(--font-display);
  letter-spacing: var(--ls-display);
  color: var(--text-hi);
  text-shadow: var(--glow-text);
  text-wrap: balance;
}

.contactLead {
  font: var(--text-lead);
  color: var(--text-body);
  margin: 22px auto 36px;
  max-width: 520px;
}

.contactCtas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.contactAlt {
  margin-top: var(--sp-7);
}

.contactAlt p {
  margin: 10px 0 0;
  font: var(--text-sm);
  color: var(--text-mute);
}

.contactAlt a {
  color: var(--sky-400);
}

/* ---- Footer ---- */
.siteFooter {
  border-top: 1px solid var(--line-1);
  background: var(--ink-2);
}

.footerInner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 40px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footerBrand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footerBrand img {
  width: 28px;
}

.footerTag {
  font: 500 13px/1.5 var(--font-body);
  color: var(--text-mute);
}

.footerLinks {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.footerLinks a {
  font: 500 13px/1.5 var(--font-body);
  color: var(--text-mute);
  text-decoration: none;
}

.footerLinks a:hover {
  color: var(--text-hi);
}

.footerMeta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-1);
  padding-top: 20px;
}

/* ---- Legal pages ---- */
.legalMain {
  max-width: 720px;
  margin: 0 auto;
  padding: 150px var(--gutter) var(--sp-9);
}

.legalMain h1 {
  margin: 14px 0 0;
  font: 700 clamp(34px, 5vw, 44px)/1.06 var(--font-display);
  letter-spacing: var(--ls-display);
  color: var(--text-hi);
}

.legalMain h2 {
  margin: 40px 0 10px;
  font: 600 21px/1.3 var(--font-display);
  letter-spacing: var(--ls-title);
  color: var(--text-hi);
}

.legalMain p,
.legalMain li {
  font: var(--text-base);
  color: var(--text-body);
}

.legalMain ul {
  padding-left: 20px;
  margin: 10px 0;
}

.legalMeta {
  margin-top: 18px;
}

/* ---- Reduced motion: settle instantly, kill loops ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marqueeTrack {
    animation: none !important;
  }

  .heroMark img {
    animation: none !important;
  }
}

/* ---- Small screens ---- */
@media (max-width: 640px) {
  .heroInner {
    padding-top: 72px;
  }

  .marquee {
    margin-top: 56px;
  }

  .section {
    padding: var(--sp-8) 0;
  }

  .priceFeaturedInner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.expShot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-2, 10px);
  border: 1px solid var(--line-2);
  margin-bottom: var(--sp-4, 16px);
  background: var(--ink-2);
}
.holoCard:hover .expShot { border-color: var(--line-3, var(--bolt-line)); }
