/* ============================================================
   AutoPyl.IT — dark product site
   ============================================================ */
:root {
  color-scheme: dark;

  /* base ink / surfaces */
  --bg: #070a12;
  --bg-2: #0a0f1c;
  --surface: #0e1524;
  --surface-2: #121b2d;
  --surface-3: #16213a;
  --line: rgba(148, 178, 214, 0.14);
  --line-strong: rgba(148, 178, 214, 0.26);

  /* text */
  --text: #eaf1fb;
  --text-soft: #aebdd4;
  --text-mut: #7e8ca8;

  /* accents */
  --teal: #2dd4bf;
  --teal-deep: #14b8a6;
  --cyan: #38bdf8;
  --indigo: #7c8cff;
  --violet: #a78bfa;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #fb7185;

  --grad: linear-gradient(120deg, #2dd4bf 0%, #38bdf8 48%, #7c8cff 100%);
  --grad-soft: linear-gradient(120deg, rgba(45,212,191,0.18), rgba(124,140,255,0.18));

  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 10px;
  --container: min(1200px, calc(100vw - 44px));
  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-float: 0 40px 120px -30px rgba(3, 8, 20, 0.9);

  --hero-title: clamp(2.6rem, 5.6vw, 4.5rem);
  --section-title: clamp(2rem, 3.6vw, 3rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip; /* clip, not hidden — hidden creates a scroll container that breaks position:sticky */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { line-height: 1.68; }

/* page background: layered glows + grid */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(56, 189, 248, 0.16), transparent 60%),
    radial-gradient(820px 620px at 6% 4%, rgba(45, 212, 191, 0.14), transparent 58%),
    radial-gradient(1000px 800px at 50% 120%, rgba(124, 140, 255, 0.12), transparent 60%),
    var(--bg);
}
.bg-decor::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 178, 214, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 214, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(1200px 700px at 50% -5%, #000 25%, transparent 78%);
}

/* Equinix page: datacenter corridor photo background */
.eqx-page .bg-decor {
  background:
    linear-gradient(180deg,
      rgba(7,10,18,.90) 0%,
      rgba(7,10,18,.80) 34%,
      rgba(7,10,18,.86) 68%,
      rgba(7,10,18,.95) 100%),
    url("/assets/equinix-bg.jpg?v=20260625q") center top / cover no-repeat fixed,
    var(--bg);
}
.eqx-page .bg-decor::after { opacity: .45; }
@media (max-width: 768px) {
  .eqx-page .bg-decor { background-attachment: scroll, scroll, scroll; }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 80;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: #04121a;
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============================ header ============================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 12px clamp(20px, 4vw, 56px);
  border: none;
  border-radius: 0;
  background: rgba(10, 15, 28, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  transition: background 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.site-header.is-scrolled {
  background: rgba(8, 12, 22, 0.9);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.8);
}

/* top announcement banner */
.promo-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 24px;
  background: var(--teal); color: #04121a;
  font-weight: 700; font-size: clamp(.92rem, 2.2vw, 1.15rem); letter-spacing: .01em;
  text-align: center; line-height: 1.2; white-space: nowrap; overflow: hidden;
}
.promo-banner strong { font-weight: 800; }
.promo-banner .arrow { transition: transform .15s ease; }
.promo-banner:hover .arrow { transform: translateX(3px); }
.has-promo .site-header { top: 56px; }
/* narrow screens: let the announcement bar wrap (2 lines) instead of clipping */
@media (max-width: 768px) {
  .promo-banner { white-space: normal; height: auto; min-height: 56px; line-height: 1.16; padding: 8px 16px; font-size: clamp(.78rem, 3.3vw, .98rem); gap: 6px; }
}
.netbox-logo { height: clamp(28px, 3.6vw, 42px); width: auto; display: block; margin: 0 auto 16px; opacity: .92; }

.brand { display: inline-flex; align-items: center; gap: 0.35rem; min-width: 0; text-decoration: none; color: var(--text); }
.brand-mark {
  display: block;
  height: 52px; width: auto;
  flex: 0 0 auto;
}
.brand-wordmark {
  font-family: "Lato", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 900;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.035em;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
  transform: translateY(-3px);
}
.brand-period { color: #f4b400; }
.brand-dotless-i { position: relative; display: inline-block; color: var(--text); }
.brand-dotless-i::before {
  content: "";
  position: absolute;
  width: 0.18em; height: 0.18em;
  border-radius: 999px;
  background: #0f7c86;
  left: 50%; top: 0.12em;
  transform: translateX(calc(-50% + 0.015em));
}

.site-nav {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.92rem; color: var(--text-soft);
}
.site-nav > a {
  padding: 8px 12px; border-radius: 999px;
  color: var(--text-soft);
  transition: color 150ms ease, background 150ms ease;
}
.site-nav > a:hover, .site-nav > a:focus { color: var(--text); background: rgba(148, 178, 214, 0.08); }
.nav-cta {
  margin-left: 6px;
  padding: 9px 16px !important;
  border-radius: 999px;
  color: #04121a !important;
  background: #f4b400;
  font-weight: 700;
  box-shadow: 0 10px 24px -10px rgba(244, 180, 0, 0.7);
}
.site-nav > a.nav-cta:hover, .site-nav > a.nav-cta:focus { background: #f4b400; color: #04121a; filter: brightness(1.08); }
.site-footer .nav-cta { color: #04121a !important; }
.site-footer .nav-cta:hover { color: #04121a !important; filter: brightness(1.08); }
.nav-chat {
  margin-left: 6px; padding: 8px 15px; border-radius: 999px;
  color: var(--teal); font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--teal) 55%, transparent);
  transition: background 150ms ease, color 150ms ease;
}
.site-nav > a.nav-chat:hover, .site-nav > a.nav-chat:focus { background: color-mix(in srgb, var(--teal) 16%, transparent); color: var(--text); border-color: var(--teal); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(148, 178, 214, 0.06);
  cursor: pointer;
}
.nav-toggle-line { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--text); border-radius: 2px; }

/* ============================ buttons ============================ */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  color: #04121a;
  background: var(--teal);
  box-shadow: 0 16px 34px -14px rgba(45, 212, 191, 0.5);
}
.button-primary:hover { box-shadow: 0 20px 44px -14px rgba(56, 189, 248, 0.8); }
.button-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(148, 178, 214, 0.05);
}
.button-secondary:hover { background: rgba(148, 178, 214, 0.12); border-color: var(--text-mut); }
.button-ghost { color: var(--text-soft); }
.button-ghost:hover { color: var(--text); }
.button .arrow { transition: transform 150ms ease; }
.button:hover .arrow { transform: translateX(3px); }

/* ============================ hero ============================ */
.hero {
  position: relative;
  z-index: 0;
  width: var(--container);
  margin: 0 auto;
  padding: 148px 0 34px;
  text-align: left;
}
.hero-logo-wrap { margin: 0 0 26px; }
.carousel { position: relative; min-height: clamp(440px, 44vw, 540px); }
.slide {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .6s ease;
}
.slide.on { position: relative; opacity: 1; visibility: visible; }
.hero-text { min-width: 0; }
.hero-text h1 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.9rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
.hero-text .hero-actions { margin-top: clamp(40px, 7vh, 84px); justify-content: flex-start; }
.hero-visual.placeholder { min-height: clamp(340px, 36vw, 460px); border: 1px dashed var(--line); border-radius: 16px; display: grid; place-items: center; }
.hero-visual.placeholder span { color: var(--text-mut); font-size: .9rem; letter-spacing: .04em; }
.carousel-nav { display: flex; gap: 10px; margin-top: 4px; justify-content: center; }
.cn { position: relative; overflow: hidden; width: 46px; height: 4px; padding: 0; border: none; border-radius: 999px; background: rgba(148, 178, 214, .25); cursor: pointer; transition: background .2s ease, width .2s ease; }
.cn:hover { background: rgba(148, 178, 214, .45); }
.cn.on { background: rgba(148, 178, 214, .28); width: 72px; }
.cn.on::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: inherit; background: var(--cn, var(--teal)); animation: cn-fill var(--cn-dur, 20s) linear forwards; }
.carousel-nav.is-paused .cn.on::after { animation-play-state: paused; }
@keyframes cn-fill { from { width: 0; } to { width: 100%; } }
:root[data-theme="light"] .cn { background: rgba(15, 30, 60, .18); }
:root[data-theme="light"] .cn.on { background: #0f7c86; }
.intro-lead { color: var(--text); font-size: 1.22rem; font-weight: 500; max-width: 70ch; margin: 0 auto 18px; }

/* intro band (after the fly-through) */
.intro-band {
  width: var(--container);
  margin: 0 auto;
  padding: 12px 0 0;
  text-align: center;
}
.intro-inner { max-width: 880px; margin: 0 auto; }
.intro-band h2 {
  margin: 0;
  font-size: var(--section-title);
  line-height: 1.1; letter-spacing: -0.02em; font-weight: 800;
}
.intro-band h2 .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro-band p {
  margin: 18px auto 0;
  max-width: 68ch;
  color: var(--text-soft);
  font-size: 1.12rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 22px;
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(148, 178, 214, 0.05);
  color: var(--text-soft);
  font-size: 0.82rem; font-weight: 600;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18);
}
.eyebrow b { color: var(--text); font-weight: 700; }

.hero h1 {
  margin: 0 auto;
  max-width: none;
  font-size: clamp(1.7rem, 4.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy {
  max-width: none;
  margin: 24px auto 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  white-space: nowrap; /* keep the rotating role on one line */
}
@media (max-width: 1000px) {
  .hero-copy { white-space: normal; max-width: 60ch; }
  .role-swap { width: auto !important; }
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  margin-top: 34px;
}
/* typewriter role swap in the hero subline */
.role-swap {
  display: inline-block;
  text-align: left;
  white-space: nowrap;
  vertical-align: baseline;
}
.role-word {
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.role-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  background: var(--teal);
  vertical-align: -0.18em;
  animation: caretBlink 1s steps(1, end) infinite;
}
@keyframes caretBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

.hero-tagline {
  margin: 26px 0 0;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero-tagline .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-meta {
  margin-top: 10px;
  color: var(--text-mut);
  font-size: 0.92rem;
}

/* wireframe elephant hero */
.hero-elephant {
  position: relative;
  margin: 30px auto 0;
  max-width: 1120px;
  height: clamp(340px, 52vw, 600px);
}
.hero-elephant .glowbg {
  position: absolute;
  inset: 0;
  background: radial-gradient(460px 340px at 50% 48%, rgba(45, 212, 191, 0.18), transparent 70%);
  pointer-events: none;
}
.hero-elephant canvas {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: pan-y;
  filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.5)) drop-shadow(0 0 30px rgba(56, 189, 248, 0.28));
}
.hero-elephant canvas:active { cursor: grabbing; }

/* scroll fly-through stage */
.fly { position: relative; height: 220vh; }
.fly-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.fly .hero-elephant {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  margin: 0;
}
.fly .glowbg {
  background: radial-gradient(620px 460px at 50% 50%, rgba(45, 212, 191, 0.16), transparent 70%);
}
.fly .hero-hint {
  position: absolute;
  left: 0; right: 0; bottom: 30px;
  text-align: center;
  z-index: 4;
}
/* hover region overlay */
.ele-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.ele-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0;
  transition: opacity 160ms ease;
}
.ele-overlay.is-on .ele-svg { opacity: 1; }
.ele-svg line { stroke-width: 1.4; stroke-dasharray: 3 4; opacity: 0.85; }
.ele-svg .ele-pt { filter: drop-shadow(0 0 5px currentColor); }
.ele-label {
  position: absolute;
  left: 0; top: 0;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 13px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--rc, #2dd4bf) 55%, transparent);
  background: rgba(8, 12, 22, 0.92);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.8), 0 0 22px -6px var(--rc, #2dd4bf);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 160ms ease;
}
.ele-overlay.is-on .ele-label { opacity: 1; }
.ele-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 8px currentColor; }
.ele-txt { display: grid; gap: 1px; line-height: 1.2; }
.ele-txt b { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.ele-txt i { font-style: normal; font-size: 0.74rem; color: var(--text-mut); }

.hero-hint {
  margin: 6px auto 0;
  color: var(--text-mut);
  font-size: 0.82rem;
  display: inline-flex; align-items: center; gap: 7px;
}
.hero-hint::before {
  content: "";
  width: 16px; height: 16px;
  border: 1px solid var(--text-mut);
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center/7px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center/1px 7px no-repeat;
  opacity: 0.7;
}

/* framed hero screenshot (legacy / fallback) */
.hero-shot { margin: 56px auto 0; max-width: 1120px; }

.browser-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(160deg, rgba(124, 140, 255, 0.5), rgba(45, 212, 191, 0.32) 40%, rgba(148, 178, 214, 0.08) 75%);
  box-shadow: var(--shadow-float);
}
.browser-frame::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 50%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
  pointer-events: none;
}
.browser-inner {
  border-radius: calc(var(--radius-lg) - 1px);
  overflow: hidden;
  background: var(--surface);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #0b1322;
  border-bottom: 1px solid var(--line);
}
.browser-bar .dots { display: flex; gap: 7px; }
.browser-bar .dots i { width: 11px; height: 11px; border-radius: 999px; background: #2a3650; }
.browser-bar .dots i:nth-child(1) { background: #fb6f6f; }
.browser-bar .dots i:nth-child(2) { background: #f6c451; }
.browser-bar .dots i:nth-child(3) { background: #54d18a; }
.browser-url {
  flex: 1;
  margin-left: 10px;
  max-width: 360px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(148, 178, 214, 0.08);
  color: var(--text-mut);
  font-size: 0.78rem;
  text-align: center;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.browser-inner img {
  width: 100%;
  display: block;
  background: #0b1322;
}
.hero-shot .browser-inner img { aspect-ratio: 16 / 10.1; object-fit: cover; object-position: top; }

/* glow under hero shot */
.hero-shot { position: relative; }
.hero-shot::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -40px; transform: translateX(-50%);
  width: 70%; height: 120px;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.35), transparent);
  filter: blur(34px);
  z-index: -1;
}

/* ============================ proof / logos bar ============================ */
.proof-bar {
  width: var(--container);
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.proof-bar div {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.proof-bar strong {
  display: block;
  font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proof-bar span { display: block; margin-top: 6px; color: var(--text-mut); font-size: 0.9rem; }

/* ============================ sections ============================ */
.section {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding: 104px 0 0;
  scroll-margin-top: 88px; /* offset for fixed header on anchor jumps */
}
/* region-lit elephant beside each section heading */
.section-head.has-wm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 46px);
  text-align: left;
  max-width: 980px;
}
.section-head.has-wm .sh-text { max-width: 600px; }
.sec-wm {
  flex: none;
  width: clamp(190px, 21vw, 300px);
  opacity: 0.95;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.2));
}
@media (max-width: 760px) {
  .section-head.has-wm { flex-direction: column; text-align: center; gap: 12px; }
  .sec-wm { width: clamp(150px, 42vw, 220px); }
}
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.section-head h2 {
  margin: 0;
  font-size: var(--section-title);
  line-height: 1.1; letter-spacing: -0.02em; font-weight: 800;
}
.section-head p {
  margin: 18px auto 0;
  max-width: 62ch;
  color: var(--text-soft);
  font-size: 1.08rem;
}

/* feature row: text + screenshot, alternating */
.feature-row {
  display: block;
  padding: 18px 0;
  max-width: 72ch;
  margin: 0 auto;
  text-align: center;
}
.feature-row.reverse { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

.feature-copy h3 {
  margin: 14px 0 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15; letter-spacing: -0.02em; font-weight: 800;
}
.feature-copy > p {
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}
.feature-list { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.feature-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-soft);
}
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.36em;
  width: 18px; height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 4px, rgba(45,212,191,0.22) 4px 9px);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.5);
}
.feature-list li::after {
  content: "";
  position: absolute; left: 5px; top: calc(0.36em + 5px);
  width: 8px; height: 8px; border-radius: 999px; background: var(--teal);
}
.feature-cta { margin-top: 28px; display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 700; }
.feature-cta:hover { color: var(--cyan); }

.feature-visual { position: relative; }
.feature-visual .browser-frame {
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.feature-visual:hover .browser-frame {
  transform: translateY(-5px);
  box-shadow: 0 50px 130px -30px rgba(3, 8, 20, 0.95);
}
.feature-visual .browser-inner img { aspect-ratio: 16 / 10.3; object-fit: cover; object-position: top left; }
.feature-visual::after {
  content: "";
  position: absolute; inset: 20% 10% -12% 10%;
  background: radial-gradient(closest-side, rgba(124, 140, 255, 0.28), transparent);
  filter: blur(40px); z-index: -1;
}

/* tag chips on feature */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(148, 178, 214, 0.05);
  color: var(--text-soft); font-size: 0.82rem; font-weight: 600;
}

/* ============================ model grid ============================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card-grid.eqx-engine-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.mini-card {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: transform 180ms ease, border-color 180ms ease;
}
.mini-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.mini-card .ic {
  display: grid; place-items: center;
  width: 42px; height: 42px; margin-bottom: 18px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  color: var(--teal); font-size: 1.15rem;
}
.mini-card h4 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.mini-card p { margin: 10px 0 0; color: var(--text-mut); font-size: 0.94rem; }

/* ============================ screenshot gallery strip ============================ */
.shot-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.shot-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease;
}
.shot-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.shot-card img {
  width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; object-position: top left;
  border-bottom: 1px solid var(--line); background: #0b1322;
}
.shot-card .meta { padding: 18px 20px 22px; }
.shot-card .meta span { color: var(--teal); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.shot-card .meta h4 { margin: 8px 0 0; font-size: 1.08rem; font-weight: 700; }
.shot-card .meta p { margin: 8px 0 0; color: var(--text-mut); font-size: 0.92rem; }

/* ============================ roadmap ============================ */
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.roadmap-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.roadmap-card .badge {
  display: inline-block; margin-bottom: 16px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.roadmap-card.now .badge { color: #04121a; background: var(--teal); }
.roadmap-card.next .badge { color: var(--cyan); background: rgba(56, 189, 248, 0.14); border: 1px solid rgba(56,189,248,0.3); }
.roadmap-card.later .badge { color: var(--violet); background: rgba(167, 139, 250, 0.14); border: 1px solid rgba(167,139,250,0.3); }
.roadmap-card h4 { margin: 0 0 8px; font-size: 1.05rem; }
.roadmap-card p { margin: 0; color: var(--text-soft); font-size: 0.96rem; }

/* ============================ CTA band ============================ */
.cta-band {
  position: relative;
  width: var(--container);
  margin: 120px auto 96px;
  padding: 70px 56px;
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(700px 360px at 50% -20%, rgba(56, 189, 248, 0.25), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}
.cta-band h2 {
  margin: 0 auto; max-width: 22ch;
  font-size: var(--section-title); letter-spacing: -0.02em; font-weight: 800;
}
.cta-band p { margin: 18px auto 0; max-width: 56ch; color: var(--text-soft); font-size: 1.08rem; }
.cta-band .hero-actions { margin-top: 32px; }

/* ============================ footer ============================ */
.site-footer {
  width: var(--container);
  margin: clamp(44px, 7vh, 88px) auto 0;
  padding: 40px 0 56px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-mut);
}
.site-footer .f-brand { display: grid; gap: 6px; max-width: 320px; }
.site-footer .f-brand strong { color: var(--text); font-size: 1.05rem; }
.site-footer .f-brand .credit { font-size: 0.78rem; color: var(--text-mut); opacity: 0.85; }
.site-footer .f-brand .credit a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 2px; }
.site-footer .f-brand .credit a:hover { color: var(--text); }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.site-footer nav a:hover { color: var(--text); }

/* ============================ reveal animation ============================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ============================ 404 ============================ */
.error-page {
  min-height: 100vh; display: grid; align-content: center; gap: 22px;
  width: var(--container); margin: 0 auto; text-align: center;
}
.error-page h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 0; letter-spacing: -0.02em; }
.error-page p { color: var(--text-soft); margin: 0; }
.error-page .hero-actions { justify-content: center; }

/* ============================ responsive ============================ */
@media (max-width: 940px) {
  .site-nav {
    position: fixed; left: 12px; right: 12px; top: 90px;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: rgba(8, 12, 22, 0.97);
    backdrop-filter: blur(16px);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 12px 14px; }
  .nav-cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: block; }

  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .feature-copy { order: 1; }
  .feature-row.reverse .feature-visual { order: 2; }

  .proof-bar { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .shot-strip { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --container: min(100vw - 28px, 1200px); }
  .hero { padding-top: 132px; }
  .brand { gap: 0.3rem; }
  .brand-wordmark { font-size: 1.4rem; letter-spacing: -0.03em; }
  .brand-mark { height: 42px; }
  .proof-bar { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 26px; }
  .hero-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   LIGHT THEME — JS sets data-theme from stored pref or OS setting
   ============================================================ */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #f4f7fb;
  --surface-3: #eaf0f8;
  --line: rgba(15, 30, 60, 0.10);
  --line-strong: rgba(15, 30, 60, 0.20);
  --text: #101a2c;
  --text-soft: #43526b;
  --text-mut: #6a7990;
  --shadow-card: 0 18px 44px -22px rgba(20, 40, 80, 0.20);
  --shadow-float: 0 36px 90px -30px rgba(20, 40, 80, 0.22);
}
/* surfaces that hardcode dark colors (not token-driven) */
:root[data-theme="light"] .site-header { background: rgba(255, 255, 255, 0.72); }
:root[data-theme="light"] .site-header.is-scrolled { background: rgba(255, 255, 255, 0.86); }
:root[data-theme="light"] .browser-bar { background: var(--surface-2); }
:root[data-theme="light"] .browser-inner img,
:root[data-theme="light"] .shot-card img { background: var(--surface-2); }
@media (max-width: 940px) {
  :root[data-theme="light"] .site-nav { background: rgba(255, 255, 255, 0.97); }
}
/* keep the cyan wireframe hero on a dark stage so it stays visible on white */
:root[data-theme="light"] .fly,
:root[data-theme="light"] .fly-pin { background: #070a12; }
:root[data-theme="light"] .fly .hero-hint { color: rgba(234, 241, 251, 0.62); }

/* theme toggle button */
.theme-toggle {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  margin-left: 4px; padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 1.05rem; line-height: 1;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.theme-toggle:hover, .theme-toggle:focus { color: var(--text); border-color: var(--line-strong); background: var(--surface-2); }

/* ============================================================
   WIREFRAME ELEPHANT HERO — traced from the logo, hover by team
   ============================================================ */
.wire-hero { width: var(--container); margin: 8px auto 0; padding: 6px 0 14px; text-align: center; }
.wire-stage { position: relative; width: 100%; max-width: 820px; height: 420px; margin: 0 auto; }
.wire-ele { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 260px; height: auto; }
.hero-visual .reg { cursor: pointer; }
.hero-visual .wf { fill: var(--tc, #0f7c86); fill-opacity: 0; pointer-events: all; stroke: #0f7c86; stroke-width: 2; stroke-linejoin: round; transition: fill-opacity .4s ease, stroke .4s ease, filter .4s ease, stroke-width .4s ease; }
.hero-visual .reg.on .wf { fill-opacity: 0; stroke: var(--tc); stroke-width: 3.2; filter: drop-shadow(0 0 8px var(--tc)); }
/* per-team color (facet + person share --tc) */
.hero-visual [data-r="networking"], .hero-visual [data-team="networking"] { --tc:#38bdf8; }
.hero-visual [data-r="systems"],    .hero-visual [data-team="systems"]    { --tc:#a78bfa; }
.hero-visual [data-r="security"],   .hero-visual [data-team="security"]   { --tc:#fb7185; }
.hero-visual [data-r="developers"], .hero-visual [data-team="developers"] { --tc:#2dd4bf; }
.hero-visual [data-r="compliance"], .hero-visual [data-team="compliance"] { --tc:#7c8cff; }
.hero-visual [data-r="trading"],    .hero-visual [data-team="trading"]    { --tc:#34d399; }
.hero-visual [data-r="business"],   .hero-visual [data-team="business"]   { --tc:#d946ef; }
.hero-visual [data-r="autopyl"],    .hero-visual [data-team="autopyl"]    { --tc:#f4b400; }
.wire-lead { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .16s ease; }
.wire-lead.show { opacity: 1; }
.wire-lead line { stroke: #2dd4bf; stroke-width: 1.4; stroke-dasharray: 4 4; }
.wire-lead circle { fill: #2dd4bf; }
.wire-panel { position: absolute; width: 200px; border-radius: 14px; padding: 12px; text-align: left;
  background: rgba(210,230,255,.04); backdrop-filter: blur(3px) saturate(120%); -webkit-backdrop-filter: blur(3px) saturate(120%);
  border: 1px solid rgba(189,243,255,.16); box-shadow: 0 14px 36px -16px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease; pointer-events: none; }
.wire-panel.show { opacity: 1; transform: none; }
.wire-art { width: 100%; height: 124px; display: block; }
.wire-cap b { display: block; font-weight: 700; color: var(--text); font-size: 14px; margin: 8px 0 2px; white-space: nowrap; }
.wire-cap span { display: block; color: var(--text-soft); font-size: 12px; line-height: 1.45; }
.wire-cap .pl { color: #f4b400; }
.wire-hint { margin: 4px auto 0; font-size: .92rem; color: var(--text-mut); }
:root[data-theme="light"] .wire-lead line { stroke: #0f7c86; }
:root[data-theme="light"] .wire-lead circle { fill: #0f7c86; }
:root[data-theme="light"] .wire-panel { background: rgba(15,30,60,.05); border-color: rgba(15,30,60,.14); box-shadow: 0 14px 36px -18px rgba(20,40,80,.3); }
@media (max-width: 620px) { .wire-stage { height: 380px; } .wire-ele { width: 210px; } .wire-panel { width: 168px; } }

/* ---------- hero: two-column (IEX-style), elephant as the right visual ---------- */
.hero-logo { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0 0 20px; }
.hero-logo .brand-mark { height: 58px; }
.hero-logo .brand-wordmark { font-size: clamp(1.55rem, 3vw, 2.05rem); transform: none; }
.hero-visual { position: relative; min-width: 0; width: 100%; display: grid; grid-template-columns: minmax(0, 640px) minmax(280px, 400px); justify-content: center; align-items: center; gap: clamp(32px, 4vw, 72px); text-align: left; }
.lens-side { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); align-items: stretch; min-width: 0; }
.lens-side .carousel-nav { justify-content: flex-start; margin-top: 0; }
@media (max-width: 900px) {
  .hero-visual { grid-template-columns: 1fr; }
  .lens-side { align-items: center; }
  .lens-side .carousel-nav { justify-content: center; }
}
.hero-visual .wire-stage { max-width: 100%; height: clamp(360px, 38vw, 480px); margin: 0; }
.hero-visual .wire-ele { width: clamp(210px, 22vw, 290px); }
.hero-visual .wire-hint { margin-top: 4px; font-size: .9rem; color: var(--text-mut); text-align: center; }
@media (max-width: 900px) {
  .hero { text-align: center; padding-top: 116px; }
  .slide { grid-template-columns: 1fr; gap: 14px; }
  .carousel { min-height: 0; }
  .hero-text .hero-actions { justify-content: center; }
  .hero-logo-wrap { display: flex; justify-content: center; }
  .carousel-nav { justify-content: center; }
}

/* ---------- hero cycling people animation ---------- */
.hero-text h1 { min-height: 0; }
.hero-visual .wire-ele { width: 100%; height: auto; max-width: none; overflow: visible; }
.cyc { opacity: 0; transition: opacity .55s ease; }
.cyc.on { opacity: 1; }
.cyc .arm { stroke: var(--tc); stroke-width: 3.6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.cyc.on .arm { animation: armpoint .9s ease forwards; }
@keyframes armpoint { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.cyc .dot { fill: var(--tc); }
.cyc .person line { stroke: var(--tc); stroke-width: 3.1; stroke-linecap: round; fill: none; }
.cyc .person circle { fill: var(--tc); }
.cyc text.tm { fill: var(--text); font-weight: 700; font-family: Inter, sans-serif; font-size: 26px; }
.cyc text.dt { fill: var(--text-mut); font-family: Inter, sans-serif; font-size: 20px; }
@media (max-width: 900px) { .cyc text.tm { font-size: 30px; } .cyc text.dt { font-size: 23px; } }

.slide-copy { margin: 22px 0 0; max-width: 46ch; color: var(--text-soft); font-size: 1.08rem; line-height: 1.62; }
@keyframes dotpulse { 0%,100% { r: 4.5; } 50% { r: 6.5; } }
.cyc.on .dot { animation: dotpulse 1.8s ease-in-out infinite; }
@media (max-width: 900px) { .slide-copy { margin-left: auto; margin-right: auto; } }

/* ===================== status board ===================== */
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 30px); width: var(--container); margin: 6px auto 0; }
.status-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); }
.status-col-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.status-col-head h3 { margin: 0; font-size: 1.12rem; }
.status-badge { font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.status-badge.live { color: #04121a; background: var(--teal); }
.status-badge.soon { color: var(--amber); background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .4); }
.status-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.status-list li { position: relative; padding-left: 22px; }
.status-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 999px; background: var(--teal); }
#pipeline .status-list li::before { background: var(--amber); }
.status-list h4 { margin: 0 0 5px; font-size: 1.02rem; display: flex; align-items: center; gap: 9px; }
.status-list p { margin: 0; color: var(--text-soft); font-size: .96rem; line-height: 1.55; }
.tag-active { font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); border: 1px solid var(--teal); border-radius: 999px; padding: 2px 7px; }
.partner-band { text-align: center; }
.partner-inner { max-width: 760px; margin: 0 auto; }
.partner-inner .hero-actions { justify-content: center; margin-top: 26px; }
@media (max-width: 760px) { .status-grid { grid-template-columns: 1fr; } }

/* ===================== elephant caption ===================== */
.ele-cap { margin: 2px auto 0; max-width: 380px; min-height: 96px; text-align: center; opacity: 0; }
.ele-cap.show { animation: capfade .55s ease forwards; }
@keyframes capfade { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.ele-cap-team { display: inline-block; font-weight: 800; font-size: 1.06rem; letter-spacing: -0.01em; color: var(--tc, var(--teal)); }
.ele-cap-desc { margin: 7px 0 0; color: var(--text-soft); font-size: .98rem; line-height: 1.55; }

/* ===================== lens stage (slide 1) ===================== */
.lens-stage { display: flex; align-items: flex-start; gap: clamp(14px, 1.8vw, 24px); }
.lens-stage .wire-ele { position: static; transform: none; flex: 0 0 auto; width: clamp(170px, 21vw, 270px); height: auto; max-width: none; overflow: visible; }
.lens-card {
  flex: 1 1 auto; min-width: 0; align-self: flex-start;
  background: rgba(148, 178, 214, 0.07);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 18px 18px 20px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-card);
}
:root[data-theme="light"] .lens-card { background: rgba(255, 255, 255, 0.55); border-color: rgba(15, 30, 60, 0.12); }
.lens-people { display: block; width: 108px; height: auto; margin: 0 0 13px; }
.lens-people path, .lens-people circle { fill: var(--tc, var(--teal)); transition: fill .3s ease; }
.lens-team { display: block; font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--tc, var(--teal)); margin-bottom: 7px; transition: color .3s ease; }
.lens-desc { margin: 0; color: var(--text-soft); font-size: .9rem; line-height: 1.5; }
@media (max-width: 900px) {
  .lens-stage { flex-direction: column; align-items: center; }
  .lens-stage .wire-ele { width: clamp(200px, 56vw, 300px); }
  .lens-card { width: 100%; max-width: 380px; text-align: left; }
  .lens-people { margin-left: 0; }
}

/* ===================== hero lenses (parts carousel) ===================== */
.hero-main { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(30px, 4vw, 52px); }
.hero-main .hero-text, .hero-main .hero-visual { min-width: 0; }
.hero-visual .wire-ele { position: static; transform: none; width: 100%; height: auto; max-width: none; overflow: visible; }
.hero-actions { margin-top: 26px; justify-content: flex-start; }
.lens-card {
  --c: var(--tc, var(--teal));
  flex: 0 0 auto; align-self: center; width: 100%; max-width: 460px; min-height: 96px; text-align: left;
  margin: 0; border-radius: 14px; padding: 16px 18px;
  background: color-mix(in srgb, var(--c) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 42%, transparent);
  box-shadow: 0 0 22px -2px color-mix(in srgb, var(--c) 60%, transparent), 0 0 54px -14px var(--c);
  -webkit-backdrop-filter: blur(8px) saturate(140%); backdrop-filter: blur(8px) saturate(140%);
  transition: background .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.lens-team { display: block; font-weight: 800; font-size: 1.06rem; letter-spacing: -0.01em; color: var(--c); margin-bottom: 6px; transition: color .45s ease; }
.lens-desc { margin: 0; color: var(--c); opacity: .92; font-size: .94rem; line-height: 1.55; transition: color .45s ease; }
/* animated wireframe scenes inside the elephant */
.scene { opacity: 0; transition: opacity .5s ease; }
.scene.on { opacity: 1; }
.scene .s { fill: none; stroke: var(--tc, var(--teal)); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.scene .f { fill: var(--tc, var(--teal)); stroke: none; }
@media (max-width: 900px) {
  .hero-main { grid-template-columns: 1fr; }
  /* headline first on mobile, then the elephant visual (better above-the-fold) */
  .hero-main .hero-visual { order: 0; }
  .lens-card { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .carousel-nav { justify-content: center; }
}

/* ===================== developers: scrolling code screen ===================== */
.scene foreignObject { overflow: hidden; }
.code-screen { width: 100%; height: 100%; overflow: hidden; background: #0b1222; }
.code-roll { padding: 2px 3px; animation: coderoll 16s linear infinite; will-change: transform; }
.code-roll .cl { font-family: ui-monospace, SFMono-Regular, "Cascadia Code", Menlo, Consolas, monospace; font-size: 6px; line-height: 1.55; white-space: pre; color: #d4d4d4; }
.code-roll .ck { color: #569cd6; }
.code-roll .cf { color: #dcdcaa; }
.code-roll .cs { color: #ce9178; }
.code-roll .cc { color: #6a9955; }
.code-roll .cn { color: #b5cea8; }
@keyframes coderoll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* ===================== developers: code video overlay ===================== */
.ele-wrap { position: relative; display: block; width: 100%; max-width: clamp(440px, 52vw, 640px); margin-inline: auto; }
.code-vid {
  position: absolute;
  left: 57.10%; top: 10.23%; width: 14.74%; height: 40.02%;
  object-fit: cover; border: 0; pointer-events: none;
  opacity: 0; transition: opacity .5s ease;
  -webkit-clip-path: polygon(32.16% 0%, 0% 48.03%, 51.2% 100%, 74.08% 83.02%, 100% 28.19%);
  clip-path: polygon(32.16% 0%, 0% 48.03%, 51.2% 100%, 74.08% 83.02%, 100% 28.19%);
}
.code-vid.on { opacity: 1; }

/* ===================== trading: ticker-tape video overlay ===================== */
.tape-vid {
  position: absolute;
  left: 63.25%; top: 2.75%; width: 33.92%; height: 43.34%;
  object-fit: cover; border: 0; pointer-events: none;
  opacity: 0; transition: opacity .5s ease;
  -webkit-clip-path: polygon(50.14% 0%, 97.5% 27.77%, 100% 60.19%, 66.41% 100%, 27.82% 60.03%, 27.82% 36.85%, 0% 13.62%, 47.15% 0.16%);
  clip-path: polygon(50.14% 0%, 97.5% 27.77%, 100% 60.19%, 66.41% 100%, 27.82% 60.03%, 27.82% 36.85%, 0% 13.62%, 47.15% 0.16%);
}
.tape-vid.on { opacity: 1; }

/* ===================== networking: topology video overlay ===================== */
.net-vid {
  position: absolute;
  left: 2.83%; top: 2.75%; width: 34.69%; height: 43.50%;
  object-fit: cover; border: 0; pointer-events: none;
  opacity: 0; transition: opacity .5s ease;
  -webkit-clip-path: polygon(50.78% 0.16%, 53.7% 0%, 100% 13.41%, 72.13% 36.88%, 71.45% 59.97%, 33.72% 100%, 0% 59.5%, 3.13% 29.2%);
  clip-path: polygon(50.78% 0.16%, 53.7% 0%, 100% 13.41%, 72.13% 36.88%, 71.45% 59.97%, 33.72% 100%, 0% 59.5%, 3.13% 29.2%);
}
.net-vid.on { opacity: 1; }

/* ===================== remaining facet videos ===================== */
.sec-vid { position:absolute; left:66.84%; top:30.96%; width:18.40%; height:31.99%; object-fit:cover; border:0; pointer-events:none; opacity:0; transition:opacity .5s ease;
  -webkit-clip-path:polygon(29.62% 0%,18.72% 39.99%,0% 63.16%,25.0% 100%,100% 50.14%); clip-path:polygon(29.62% 0%,18.72% 39.99%,0% 63.16%,25.0% 100%,100% 50.14%); }
.comp-vid { position:absolute; left:14.91%; top:30.89%; width:18.25%; height:32.06%; object-fit:cover; border:0; pointer-events:none; opacity:0; transition:opacity .5s ease;
  -webkit-clip-path:polygon(71.83% 0%,0% 49.75%,74.42% 100%,100% 63.24%,82.04% 40.54%); clip-path:polygon(71.83% 0%,0% 49.75%,74.42% 100%,100% 63.24%,82.04% 40.54%); }
.sys-vid { position:absolute; left:28.73%; top:10.32%; width:14.41%; height:39.93%; object-fit:cover; border:0; pointer-events:none; opacity:0; transition:opacity .5s ease;
  -webkit-clip-path:polygon(69.23% 0%,0% 28.60%,24.23% 82.75%,45.99% 100%,100% 47.91%); clip-path:polygon(69.23% 0%,0% 28.60%,24.23% 82.75%,45.99% 100%,100% 47.91%); }
.biz-vid { position:absolute; left:39.55%; top:5.54%; width:21.51%; height:22.77%; object-fit:cover; border:0; pointer-events:none; opacity:0; transition:opacity .5s ease;
  -webkit-clip-path:polygon(100% 18.59%,50.44% 0%,0% 18.99%,23.90% 100%,75% 99.70%); clip-path:polygon(100% 18.59%,50.44% 0%,0% 18.99%,23.90% 100%,75% 99.70%); }
.autopyl-vid { position:absolute; left:36.04%; top:29.68%; width:27.83%; height:67.48%; object-fit:cover; border:0; pointer-events:none; opacity:0; transition:opacity .5s ease;
  -webkit-clip-path:polygon(31.10% 0%,0% 34.18%,16.02% 47.85%,25.51% 69.96%,32.20% 82.16%,40.34% 87.42%,43.98% 89.35%,62.80% 96.85%,73.73% 98.88%,88.31% 100%,91.10% 91.93%,77.03% 88.23%,73.98% 62.66%,79.32% 49.30%,100% 33.84%,70.34% 0%); clip-path:polygon(31.10% 0%,0% 34.18%,16.02% 47.85%,25.51% 69.96%,32.20% 82.16%,40.34% 87.42%,43.98% 89.35%,62.80% 96.85%,73.73% 98.88%,88.31% 100%,91.10% 91.93%,77.03% 88.23%,73.98% 62.66%,79.32% 49.30%,100% 33.84%,70.34% 0%); }
.sec-vid.on,.comp-vid.on,.sys-vid.on,.biz-vid.on,.autopyl-vid.on { opacity:1; }

/* ===================== manifesto band ===================== */
.parallax-wrap { position: relative; }
.manifesto-band { position: relative; z-index: 1; margin: clamp(64px, 10vh, 130px) auto clamp(40px, 6vh, 80px); width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(22px, 3.5vw, 44px);
  padding: clamp(18px, 3vw, 44px) clamp(22px, 5vw, 64px); text-align: center; background: transparent; }
.manifesto { max-width: 1100px; margin: 0 auto; font-size: clamp(2.7rem, 5vw, 4.1rem); font-weight: 600; line-height: 1.14; letter-spacing: -0.02em; color: #eaf1fb; }
.intro-band .intro-inner em { font-style: normal; color: var(--text); font-weight: 600; }

/* keep the wireframe (full-thickness strokes) above the facet videos */
.ele-wrap .wire-ele { position: relative; z-index: 2; left: auto; top: auto; transform: none; }
.ele-wrap video { z-index: 1; }

/* trunk (the "python") reads amber even unhovered */
.hero-visual [data-r="autopyl"] .wf { stroke: #f4b400; }

/* ===================== sub-pages (story / equinix) ===================== */
.page-hero { width: var(--container); margin: 0 auto; padding: 150px 0 6px; }
.page-hero .kicker { display: block; }
.page-hero h1 { margin: 12px 0 0; font-size: clamp(2.2rem, 4.6vw, 3.7rem); line-height: 1.07; letter-spacing: -0.022em; font-weight: 800; max-width: 20ch; }
.page-hero .lead { margin: 22px 0 0; max-width: 60ch; color: var(--text-soft); font-size: 1.16rem; line-height: 1.6; }
.media-band { width: var(--container); margin: 34px auto 0; }
.media-frame { line-height: 0; background: transparent; }
.media-frame video, .media-frame img { width: 100%; height: auto; display: block; }
.page-hero em, .section em { font-style: italic; color: var(--text); }

.manifesto-link { display: inline-flex; align-items: center; gap: 9px; font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 700; color: #2dd4bf; }
.manifesto-link .arrow { transition: transform 150ms ease; }
.manifesto-link:hover .arrow { transform: translateX(4px); }

/* ===================== Equinix showcase band ===================== */
.equinix-showcase { width: 100%; margin-top: clamp(24px, 4vw, 52px); padding: clamp(46px, 7vw, 92px) clamp(16px, 2.5vw, 36px);
  background: linear-gradient(135deg, #0c6f78 0%, #14b8a6 55%, #2dd4bf 100%); }
.eqx-inner { width: 100%; margin: 0 auto; }
.eqx-copy { max-width: 880px; margin: 0 auto clamp(30px, 4vw, 50px); text-align: center; }
.eqx-visual { width: 100%; }
.eqx-copy .kicker { color: rgba(4, 18, 26, 0.62); }
.eqx-copy h2 { margin: 8px 0 0; font-size: var(--section-title); line-height: 1.08; letter-spacing: -0.02em; color: #04121a; }
.eqx-copy p { margin: 16px auto 26px; max-width: 56ch; color: #063038; font-size: 1.1rem; line-height: 1.6; }
.button-dark { color: #eafcff; background: #04121a; box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.5); }
.button-dark:hover { background: #0a1f2b; }
.eqx-visual .browser-frame { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5); }
@media (max-width: 900px) { .eqx-inner { grid-template-columns: 1fr; } }

.eqx-showcase-tag { display: block; width: max-content; max-width: 100%; margin: 0 auto clamp(26px, 3.5vw, 44px); padding: 9px 20px;
  border-radius: 999px; background: #04121a; color: #eafcff; font-weight: 800; letter-spacing: 0.10em; text-transform: uppercase; font-size: 0.82rem;
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.6); }
.eqx-showcase-tag .brand-period { color: #f4b400; }

.eqx-red { color: #ed1c24; }

.popup-frame { border-radius: 16px; overflow: hidden; box-shadow: 0 44px 90px -34px rgba(0, 0, 0, 0.6); border: 1px solid rgba(148, 178, 214, 0.16); }
.popup-frame img { width: 100%; height: auto; display: block; }

.eqx-shots { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 26px); align-items: start; max-width: 50%; margin: 0 auto; }
@media (max-width: 760px) { .eqx-shots { grid-template-columns: 1fr; max-width: 100%; } }

/* hero subhead */
.hero-sub { margin: 16px 0 0; max-width: 48ch; color: var(--text-soft); font-size: 1.08rem; line-height: 1.55; }
/* vendor "works with" wall */
.vendor-wall { width: var(--container); margin: clamp(34px, 6vh, 74px) auto; text-align: center; }
.vendor-wall .vw-box { padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 48px); margin: 0 auto;
  background: rgba(148, 178, 214, 0.06); border: 1px solid var(--line-strong); border-radius: var(--radius-lg, 18px);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-card, 0 18px 50px -24px rgba(0,0,0,.6)); }
.vendor-wall .vw-label { display: block; max-width: 26ch; margin: 0 auto 28px; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; color: var(--text); }
.vendor-wall .vw-note { margin: 22px auto 0; max-width: 62ch; color: var(--text-mut); font-size: .95rem; line-height: 1.55; }
.vendor-wall .vw-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(16px, 3vw, 48px); }
.vendor-wall .v { font-weight: 700; font-size: clamp(1.05rem, 1.7vw, 1.4rem); color: var(--text-mut); letter-spacing: .01em; transition: color .2s ease; }
.vendor-wall .v:hover { color: var(--text); }
.vendor-wall .vlogo { height: clamp(26px, 3.2vw, 42px); width: auto; max-width: 165px; object-fit: contain; display: block; filter: brightness(0) invert(1); opacity: .82; transition: filter .25s ease, opacity .25s ease; }
.vendor-wall .v:hover .vlogo { opacity: 1; }

/* ===== mobile refinements (placed last so they win source order) ===== */
.m-br { display: none; }                 /* mobile-only line break, hidden on desktop */
@media (max-width: 768px) {
  /* keep "Equinix Asset Ingestion Engine" together on its own second line */
  .promo-banner strong { display: block; white-space: nowrap; }
  /* breathing room between the fixed banner/header and the hero headline */
  .has-promo .hero { padding-top: 168px; }
  /* break the headline at the sentence: "One network." / "Every team's lens." */
  .m-br { display: inline; }
  /* size the wrapper (not just the SVG) so the elephant AND its clipped video
     overlays scale together and stay aligned */
  .ele-wrap { max-width: min(80vw, 290px); }
  /* shrink carousel pills so all 8 fit within the viewport (was 464px wide) */
  .carousel-nav { gap: 6px; flex-wrap: wrap; }
  .cn { width: 30px; }
  .cn.on { width: 48px; }
  /* soften the lens-card glow so it isn't clipped flat at the screen edges */
  .lens-card { box-shadow: 0 0 16px -4px color-mix(in srgb, var(--c) 55%, transparent), 0 0 30px -18px var(--c); }
}
