/* ==========================================================================
   Raga Tech Source site styles
   Tokens → base → layout → components → sections → motion
   ========================================================================== */

/* Rubik and Karla (SIL Open Font License), self-hosted Latin subset */
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/karla-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/rubik-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --blue-50: #eef4ff;
  --blue-100: #dbe7ff;
  --blue-300: #8bb2ff;
  --blue-400: #5688ff;
  --blue-500: #2f5cf5;
  --blue-600: #1f45d6;
  --blue-700: #1a37ac;

  /* Dark surfaces */
  --ink-950: #07090f;
  --ink-900: #0b0e17;
  --ink-850: #10141f;
  --ink-800: #161b29;
  --line-dark: rgba(255, 255, 255, 0.08);
  --line-dark-strong: rgba(255, 255, 255, 0.16);

  /* Light surfaces */
  --paper: #ffffff;
  --mist: #f5f6f9;
  --cloud: #eceef2;
  --line: #e3e6ed;
  --line-strong: #c9cfda;

  /* Text */
  --text: #121521;
  --text-2: #4a5263;
  --text-3: #646c7c;
  --text-inv: #f3f5f9;
  --text-inv-2: #b6bdcc;
  --text-inv-3: #8f98aa;

  /* Roles */
  --brand: var(--blue-500);
  --brand-hover: var(--blue-600);
  --brand-text: var(--blue-600);
  --brand-soft: var(--blue-50);
  --brand-on-dark: var(--blue-300);
  --focus: var(--blue-400);
  --success: #1f9d55;
  --warning: #b26f0a;
  --danger: #dc3b3b;

  /* Type */
  --font-display: "Rubik", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Karla", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.6rem, 1.4rem + 4.2vw, 4.75rem);
  --fs-display-page: clamp(2.3rem, 1.35rem + 3.5vw, 4.25rem);
  --fs-h2: clamp(1.9rem, 1.25rem + 2.3vw, 3.1rem);
  --fs-h3: 1.25rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1240px;
  --section-y: clamp(80px, 10vw, 136px);
  --header-h: 72px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(18, 21, 33, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(18, 21, 33, 0.18);
  --shadow-lg: 0 30px 60px -24px rgba(18, 21, 33, 0.28);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-wipe: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, ol, ul, dl, dd, blockquote, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

address { font-style: normal; }

button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

main:focus { outline: none; }

::selection { background: var(--blue-100); color: var(--text); }

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

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--text);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: none; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Layout & typography
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  --surface: var(--paper);
  position: relative;
  padding-block: var(--section-y);
  background: var(--surface);
}
.section--mist { --surface: var(--mist); }
.section--ink {
  --surface: var(--ink-900);
  color: var(--text-inv);
  overflow: hidden;
  isolation: isolate;
}
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.section--tight-top { padding-top: 0; display: flow-root; }

.section__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(47, 92, 245, 0.22), transparent 70%),
    radial-gradient(600px 300px at 0% 100%, rgba(139, 178, 255, 0.07), transparent 70%);
  pointer-events: none;
}

.display, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: inherit;
}

.display {
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.display--page {
  font-size: var(--fs-display-page);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.012em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-2);
}
.lead--muted { color: var(--text-2); }
.hero .lead, .section--ink .lead, .cta .lead { color: var(--text-inv-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-text);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--inverse { color: var(--brand-on-dark); }

.text-gradient {
  background: linear-gradient(100deg, #b9d0ff 0%, var(--blue-300) 35%, #5d86ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .lead { margin-top: 20px; }

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.prose p { color: var(--text-2); }
.prose p + p { margin-top: 1.1em; }
.prose a {
  color: var(--brand-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-thickness: 2px; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  --h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: var(--h);
  padding: 0 1.35em;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    translate 0.35s var(--ease-out);
}
.btn .icon { transition: transform 0.3s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn:hover .icon--down { transform: translateY(3px); }

.btn--sm { --h: 40px; padding: 0 1.15em; }
.btn--lg { --h: 54px; padding: 0 1.6em; font-size: 1rem; }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 28px -12px rgba(47, 92, 245, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--primary:hover { background: var(--brand-hover); }

.btn--dark { background: var(--text); color: #fff; }
.btn--dark:hover { background: var(--brand); }

.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }

.btn--ghost-inverse {
  border-color: var(--line-dark-strong);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}
.btn--ghost-inverse:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--brand-text);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.35s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow .icon { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(3px); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  color: var(--text);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.icon-btn:hover:not(:disabled) { background: var(--text); border-color: var(--text); color: #fff; }
.icon-btn:disabled { opacity: 0.35; cursor: default; }

.checklist { display: grid; gap: 12px; }
.checklist li {
  display: flex;
  gap: 12px;
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.checklist .icon { margin-top: 0.15em; color: var(--brand); }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--text-inv);
  transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 14, 23, 0.82);
  border-bottom-color: var(--line-dark);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
/* A backdrop-filter would make the header the containing block of the fixed menu panel. */
body.nav-open .site-header {
  background: var(--ink-950);
  border-bottom-color: var(--line-dark);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.site-header__logo { flex-shrink: 0; margin-right: auto; }
.site-header__logo img { height: 40px; width: auto; }

.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  position: relative;
  display: block;
  padding: 8px 14px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-inv-2);
  transition: color 0.2s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1.5px;
  background: var(--brand-on-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--brand); }

.site-header__cta[aria-current="page"] { box-shadow: 0 0 0 3px rgba(139, 178, 255, 0.35); }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
}
.nav-toggle__bars,
.nav-toggle__bars::before {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}
.nav-toggle__bars { top: 18px; }
.nav-toggle__bars::before { content: ""; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(-90deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  overflow-y: auto;
  background: var(--ink-950);
  padding-block: 24px 40px;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.mobile-nav.is-open { opacity: 1; }
.mobile-nav__list li {
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: calc(var(--i) * 45ms + 60ms);
}
.mobile-nav.is-open .mobile-nav__list li { opacity: 1; transform: none; }
.mobile-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-inv);
}
.mobile-nav__list a[aria-current="page"] { color: var(--brand-on-dark); }
.mobile-nav__meta {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  font-size: var(--fs-sm);
  color: var(--text-inv-2);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-900);
  color: var(--text-inv);
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 112px));
  padding-bottom: clamp(48px, 6vw, 80px);
}

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 72% 30%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 75% at 72% 30%, #000 20%, transparent 72%);
  opacity: 0.7;
}
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 520px at 78% 30%, rgba(47, 92, 245, 0.34), transparent 65%),
    radial-gradient(520px 380px at 8% 100%, rgba(139, 178, 255, 0.1), transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.hero__copy .display { margin-bottom: 28px; }
.hero__copy .lead { max-width: 36rem; margin-bottom: 40px; }

.hero--page { padding-bottom: clamp(72px, 9vw, 128px); }
.hero__inner--page { grid-template-columns: minmax(0, 1fr); }
.hero__inner--page .hero__copy { max-width: 56rem; }
.hero__inner--page .lead { max-width: 44rem; }
.hero__inner--page .lead:last-child { margin-bottom: 0; }
.hero--404 { min-height: 80vh; display: flex; align-items: center; }

.breadcrumb { margin-bottom: 32px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-xs); color: var(--text-inv-3); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--text-inv-2); }

.product-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.product-label img { height: 28px; width: auto; }
.product-label span {
  margin-left: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--line-dark-strong);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-inv-3);
}

/* Ecosystem stack (home hero visual). Layers echo the stacked outlines of the logo. */
.stack {
  --dx: 24px;
  --dy: 36px;
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  padding: calc(var(--dy) * 4) calc(var(--dx) * 4) 0 0;
}
.stack__layer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - var(--dx) * 4);
  height: calc(100% - var(--dy) * 4);
  border: 1px solid rgba(139, 178, 255, calc(0.4 - var(--n) * 0.07));
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(26, 32, 50, calc(0.95 - var(--n) * 0.12)), rgba(12, 15, 24, 0.9));
  translate:
    calc(var(--n) * var(--dx) * var(--spread, 1))
    calc(var(--n) * (var(--dy) * var(--spread, 1) + var(--lift, 0) * 22px) * -1);
  z-index: calc(10 - var(--n));
}
.stack__layer--ghost { background: none; border-color: rgba(139, 178, 255, 0.14); }
.stack__tag {
  position: absolute;
  top: 13px;
  left: 22px;
  font-size: var(--fs-xs);
  color: var(--text-inv-3);
  white-space: nowrap;
}
.stack__tag b { color: var(--text-inv); font-weight: 700; margin-right: 6px; }
.stack__layer--front {
  position: relative;
  width: auto;
  height: auto;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 26px);
  background: linear-gradient(165deg, #1b2235 0%, #0f131e 70%);
  border-color: rgba(139, 178, 255, 0.38);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.stack__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack__head img { height: 30px; width: auto; }
.stack__pill {
  padding: 5px 10px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-inv-2);
  white-space: nowrap;
}
.stack__flow { display: grid; gap: 0; margin-block: auto; padding-block: 8px; }
.stack__flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 7px;
}
.stack__flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: calc(50% + 8px);
  height: calc(100% - 16px);
  width: 1px;
  background: linear-gradient(var(--brand-on-dark), rgba(139, 178, 255, 0.15));
}
.stack__flow b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; color: #fff; line-height: 1.3; }
.stack__flow small { display: block; font-size: var(--fs-xs); color: var(--text-inv-3); }
.stack__dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-on-dark);
  box-shadow: 0 0 0 4px rgba(139, 178, 255, 0.14), 0 0 16px rgba(139, 178, 255, 0.6);
}
.stack__dot--open { background: transparent; border: 1.5px solid var(--brand-on-dark); box-shadow: none; }
.stack__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--text-inv-3);
}
.stack__foot b { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: #fff; letter-spacing: -0.02em; }

/* Trust strip */
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 48px;
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.trust__label { font-size: var(--fs-xs); color: var(--text-inv-3); }
.trust__list { display: flex; flex-wrap: wrap; gap: 12px clamp(28px, 4vw, 56px); }
.trust__list li {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-inv-2);
}

/* --------------------------------------------------------------------------
   Content components
   -------------------------------------------------------------------------- */

/* Pillars: editorial numbered columns */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 32px;
}
.pillars--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pillar {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.pillar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.pillar:hover::before { transform: scaleX(1); }
.pillar__num {
  display: block;
  margin-bottom: clamp(32px, 4vw, 56px);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--brand-text);
  font-variant-numeric: tabular-nums;
}
.pillar .h3 { margin-bottom: 12px; }
.pillar p { font-size: var(--fs-sm); color: var(--text-2); }

/* Flywheel */
.flywheel__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 120px);
}
.flywheel__sticky {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  align-self: start;
}
.wheel {
  --size: 300px;
  position: relative;
  width: var(--size);
  height: var(--size);
  margin-top: 56px;
}
.wheel__svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.wheel__track { fill: none; stroke: var(--line-strong); stroke-width: 1.25; }
.wheel__progress {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.wheel__node {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-3);
  transform: rotate(var(--a)) translateX(calc(var(--size) * 0.375)) rotate(calc(var(--a) * -1));
  transition: background-color 0.4s var(--ease-out), color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.wheel__node.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 8px rgba(47, 92, 245, 0.12);
}
.wheel__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.wheel__center b { font-family: var(--font-display); font-size: 2.25rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.wheel__center span { font-size: var(--fs-xs); color: var(--text-3); margin-top: 6px; }

.flywheel__sticky .lead { margin-top: 20px; max-width: 30rem; }
.flywheel__steps { display: grid; }
.flywheel__step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 46vh;
  padding-block: 40px;
  border-top: 1px solid var(--line);
  transition: opacity 0.5s var(--ease-out);
}
.flywheel__step:last-child { border-bottom: 1px solid var(--line); }
.flywheel__step .h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -0.02em; }
.flywheel__step p { color: var(--text-2); max-width: 32rem; }
.flywheel__step .link-arrow { align-self: flex-start; margin-top: 4px; }
.flywheel__num {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-text);
}
.flywheel.is-enhanced .flywheel__step:not(.is-active) { opacity: 0.4; }

/* Products */
.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.product {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--mist), var(--paper));
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), translate 0.35s var(--ease-out);
}
.product::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 220px;
  height: 192px;
  background: url("../img/skilnq-willnq-mark-96.webp") center / contain no-repeat;
  opacity: 0.06;
  transition: opacity 0.4s, transform 0.6s var(--ease-out);
  pointer-events: none;
}
.product:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); translate: 0 -4px; }
.product:hover::after { opacity: 0.1; transform: rotate(-6deg) scale(1.04); }
.product__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.product__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.product__brand img { height: 26px; width: auto; }
.product__kind {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-3);
}
.product__title {
  margin: clamp(32px, 4vw, 48px) 0 24px;
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.product__text { margin: 28px 0 32px; color: var(--text-2); }
.product .checklist { margin-bottom: 36px; }
.product .btn { margin-top: auto; align-self: flex-start; }

.products__next {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.products__next-dot {
  position: relative;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--brand);
  border-radius: 50%;
}

/* Why (dark hairline grid) */
.why {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: var(--line-dark);
}
.why__item {
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.4vw, 32px);
  background: var(--ink-900);
  transition: background-color 0.35s var(--ease-out);
}
.why__item:hover { background: var(--ink-850); }
.why__num { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 500; color: var(--brand-on-dark); }
.why__item .h3 { margin: clamp(32px, 4vw, 56px) 0 12px; color: #fff; }
.why__item p { font-size: var(--fs-sm); color: var(--text-inv-2); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 32px 24px 0;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dt { font-size: var(--fs-sm); color: var(--text-3); }
.stat dd {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.5rem + 3.4vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.stats--inverse { border-top-color: var(--line-dark); }
.stats--inverse .stat { border-left-color: var(--line-dark); }
.stats--inverse dt { color: var(--text-inv-3); }
.stats--inverse dd { color: #fff; }

/* Stories carousel */
.carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.carousel-controls { display: flex; gap: 10px; }
.carousel-controls[hidden] { display: none; }

.stories {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  border-radius: var(--r-lg);
}
.js .stories { scrollbar-width: none; }
.js .stories::-webkit-scrollbar { display: none; }
.story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 300px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  scroll-snap-align: start;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.story:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.story blockquote::before {
  content: "\201C";
  display: block;
  height: 32px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--brand);
}
.story blockquote p { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.5; letter-spacing: -0.005em; }
.story__who { display: flex; align-items: center; gap: 14px; }
.story__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-text);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.story__who b { display: block; font-size: var(--fs-sm); }
.story__who small { display: block; font-size: var(--fs-xs); color: var(--text-3); line-height: 1.4; }

/* Process (connected steps) */
.process {
  --cols: 4;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: 32px;
}
.process--three { --cols: 3; }
.process::before,
.process::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
}
.process::after {
  background: var(--brand);
  transform: scaleX(var(--progress, 1));
  transform-origin: left;
}
.process__step { position: relative; padding-right: 8px; }
.process__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text);
}
.process__step .h3 { margin-bottom: 10px; }
.process__step p { font-size: var(--fs-sm); color: var(--text-2); }
.process__step a { color: var(--brand-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.process--inverse::before { background: var(--line-dark-strong); }
.process--inverse::after { background: var(--brand-on-dark); }
.process--inverse .process__num { border-color: var(--line-dark-strong); color: #fff; }
.process--inverse .h3 { color: #fff; }
.process--inverse p { color: var(--text-inv-2); }

/* Tracks */
.tracks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.track {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), translate 0.35s var(--ease-out);
}
.track:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); translate: 0 -4px; }
.track__num { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-text); }
.track .h3 { margin: 16px 0 12px; font-size: 1.375rem; }
.track > p { font-size: var(--fs-sm); color: var(--text-2); margin-bottom: 28px; }
.track__steps { margin-top: auto; }
.track__steps li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.track__steps li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border: 1.5px solid var(--brand);
  border-radius: 50%;
}
.track__steps li:last-child { font-weight: 700; }
.track__steps li:last-child::before { background: var(--brand); box-shadow: 0 0 0 4px rgba(47, 92, 245, 0.14); }

/* Tech stack */
.stack-groups {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 56px) 32px;
}
.stack-group { grid-column: span 12; }
.stack-group:nth-child(2) { grid-column: span 8; }
.stack-group:nth-child(3) { grid-column: span 4; }
.stack-group__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}
.stack-group__title span { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; color: var(--text-3); }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
  gap: 12px;
}
.tech {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, translate 0.3s var(--ease-out);
}
.tech img { width: auto; height: 40px; max-width: 60px; object-fit: contain; transition: transform 0.4s var(--ease-spring); }
.tech:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); translate: 0 -3px; }
.tech:hover img { transform: scale(1.08); }

/* Included (dark) */
.included {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px clamp(32px, 5vw, 72px);
}
.included__title {
  margin-bottom: 20px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-inv-3);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 11px 18px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-inv);
  transition: border-color 0.25s, background-color 0.25s;
}
.chips li:hover { border-color: rgba(255, 255, 255, 0.34); background: rgba(255, 255, 255, 0.04); }
.chips--accent li { border-color: rgba(139, 178, 255, 0.4); background: rgba(47, 92, 245, 0.14); color: var(--blue-100); }

/* Bridge callout */
.bridge {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 64px;
  align-items: end;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(47, 92, 245, 0.1), transparent 70%),
    var(--mist);
}
.bridge .h2 { max-width: 20ch; }
.bridge .lead { margin-top: 18px; max-width: 40rem; }

/* Audiences */
.audiences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.audience {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper);
}
.audience__kicker { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-text); }
.audience .h3 { margin: 16px 0 12px; font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); letter-spacing: -0.02em; }
.audience > p { color: var(--text-2); }
.audience .checklist { margin: 28px 0 0; }
.audience .btn { margin-top: 32px; align-self: flex-start; }
.audience--wide {
  grid-column: 1 / -1;
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--text-inv);
}
.audience--wide .audience__kicker { color: var(--brand-on-dark); }
.audience--wide > p { color: var(--text-inv-2); max-width: 52rem; }

/* About: story split & ecosystem */
.story-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}
.story-split__copy .h2 { margin-bottom: 28px; }

.eco__list { position: relative; display: grid; gap: 14px; }
.eco__list::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 40px;
  bottom: 38px;
  width: 1px;
  background: var(--line-strong);
  transform: scaleY(var(--eco-line, 1));
  transform-origin: top;
}
.eco__item {
  position: relative;
  display: grid;
  gap: 2px;
  margin-left: 64px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.eco__item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 50%;
  width: 36px;
  height: 1px;
  background: var(--line-strong);
}
.eco__item--parent {
  margin-left: 0;
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.eco__item--parent::before { display: none; }
.eco__item--parent span:last-child { color: var(--text-inv-2); }
.eco__item--parent .eco__kicker { color: var(--brand-on-dark); }
.eco__item--future { border-style: dashed; background: transparent; box-shadow: none; }
.eco__kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.eco__item b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.eco__item span:last-child { font-size: var(--fs-sm); color: var(--text-2); }

/* Timeline */
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px, 0.32fr) minmax(0, 1fr);
  gap: 12px 32px;
  padding-block: clamp(28px, 3.5vw, 40px);
  border-top: 1px solid var(--line-strong);
}
.timeline__item:last-child { border-bottom: 1px solid var(--line-strong); }
.timeline__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(var(--line, 0.08));
  transform-origin: left;
  transition: transform 1.1s var(--ease-out);
}
.timeline__item.is-in { --line: 1; }
.timeline__when {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}
.timeline__item--future .timeline__when { color: var(--brand-text); }
.timeline__item .h3 { margin-bottom: 8px; font-size: 1.375rem; }
.timeline__item p { color: var(--text-2); max-width: 38rem; }

/* Media band */
.media-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.media-band__img { overflow: hidden; border-radius: var(--r-xl); }
.media-band__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-band__copy .lead { margin: 20px 0 36px; }

/* Contact channels */
.channels {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: calc(-1 * clamp(36px, 4.5vw, 64px));
}
.channel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  transition: border-color 0.3s, translate 0.35s var(--ease-out);
}
.channel > .icon:last-child {
  position: absolute;
  top: clamp(24px, 3vw, 32px);
  right: clamp(24px, 3vw, 32px);
  color: var(--text-3);
  transition: color 0.3s, transform 0.35s var(--ease-out);
}
.channel:hover { border-color: var(--brand); translate: 0 -4px; }
.channel:hover > .icon:last-child { color: var(--brand); transform: translate(2px, -2px); }
.channel__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-text);
}
.channel__label { margin-top: 32px; font-size: var(--fs-sm); color: var(--text-3); }
.channel__value {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

/* Locations */
.locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.location {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(28px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
}
.location__type { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-text); }
.location .h3 { font-size: 1.625rem; letter-spacing: -0.02em; }
.location address { font-weight: 600; line-height: 1.55; }
.location p { font-size: var(--fs-sm); color: var(--text-2); }
.location .link-arrow { margin-top: auto; align-self: flex-start; }
.location--primary { background: var(--ink-900); border-color: var(--ink-900); color: var(--text-inv); }
.location--primary .location__type { color: var(--brand-on-dark); }
.location--primary p { color: var(--text-inv-2); }

/* CTA band */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(88px, 11vw, 152px);
  background: var(--ink-950);
  color: var(--text-inv);
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(820px 420px at 50% -10%, rgba(47, 92, 245, 0.4), transparent 70%),
    linear-gradient(var(--line-dark) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 30%, transparent 80%);
}
.cta__head { max-width: 46rem; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; }
.cta__head .h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.75rem); }
.cta__head .lead { margin-top: 20px; }
.paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 64px 28px 28px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: background-color 0.3s, border-color 0.3s, translate 0.35s var(--ease-out);
}
.path__label { font-size: var(--fs-sm); color: var(--text-inv-3); }
.path__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; color: #fff; }
.path .icon {
  position: absolute;
  top: 28px;
  right: 28px;
  color: var(--text-inv-3);
  transition: color 0.3s, transform 0.35s var(--ease-out);
}
.path:hover { background: rgba(47, 92, 245, 0.14); border-color: rgba(139, 178, 255, 0.5); translate: 0 -3px; }
.path:hover .icon { color: #fff; transform: translate(2px, -2px); }

/* Footer */
.site-footer {
  padding: clamp(64px, 8vw, 96px) 0 32px;
  background: var(--ink-950);
  border-top: 1px solid var(--line-dark);
  color: var(--text-inv-2);
  font-size: var(--fs-sm);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr);
  gap: 48px 32px;
}
.site-footer__logo img { height: 40px; width: auto; }
.site-footer__brand p { max-width: 22rem; margin-top: 20px; color: var(--text-inv-3); }
.site-footer__heading {
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-inv-3);
}
.site-footer__col ul { display: grid; gap: 12px; }
.site-footer__col a { display: inline-flex; align-items: center; gap: 10px; transition: color 0.2s; }
.site-footer__col a:hover { color: #fff; }
.site-footer__col a span:not(.sr-only) { display: block; font-size: var(--fs-xs); color: var(--text-inv-3); }
.site-footer__col a:has(span:not(.sr-only)) { display: grid; gap: 0; }
.site-footer__col .icon { width: 16px; height: 16px; color: var(--text-inv-3); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-xs);
  color: var(--text-inv-3);
}

/* --------------------------------------------------------------------------
   Illustrations & premium layer
   -------------------------------------------------------------------------- */

@property --edge {
  syntax: "<color>";
  inherits: false;
  initial-value: rgba(47, 92, 245, 0.22);
}

:root { --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; }

/* Film grain on dark surfaces */
.hero::after,
.section--ink::after,
.cta::after,
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.site-footer { position: relative; isolation: isolate; }

/* Gradient-edged light cards */
.product,
.track,
.story,
.channel,
.audience:not(.audience--wide),
.location:not(.location--primary) {
  --card-bg: var(--paper);
  border-color: transparent;
  background:
    linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
    linear-gradient(150deg, var(--edge), var(--line) 42%, var(--line)) border-box;
  transition: --edge 0.45s var(--ease-out), box-shadow 0.35s var(--ease-out), translate 0.35s var(--ease-out);
}
.product {
  background:
    linear-gradient(180deg, var(--mist), var(--paper)) padding-box,
    linear-gradient(150deg, var(--edge), var(--line) 42%, var(--line)) border-box;
}
.product:hover,
.track:hover,
.story:hover,
.channel:hover,
.audience:not(.audience--wide):hover,
.location:not(.location--primary):hover {
  --edge: rgba(47, 92, 245, 0.8);
  border-color: transparent;
}

/* Pointer spotlight on dark cards */
.why__item:hover { background-color: var(--ink-850); background-image: none; }
.path:hover { background-color: rgba(47, 92, 245, 0.14); }
[data-spotlight] {
  background-image: radial-gradient(380px circle at var(--mx, 50%) var(--my, -60%), rgba(139, 178, 255, 0.16), transparent 60%);
}
.why__item[data-spotlight]:hover {
  background-image: radial-gradient(380px circle at var(--mx, 50%) var(--my, -60%), rgba(139, 178, 255, 0.16), transparent 60%);
}

/* Slow aurora drift behind hero headlines */
@keyframes aurora { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
.motion .hero__glow { animation: aurora 24s ease-in-out infinite alternate; }

/* Hero split layout for product pages */
.hero__inner--split .hero__copy .lead { margin-bottom: 40px; }

/* Shared editor window */
.win,
.pm-win {
  overflow: hidden;
  border: 1px solid rgba(139, 178, 255, 0.2);
  border-radius: 16px;
  background: linear-gradient(180deg, #131a2b, #0c101b);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #c9d3e6;
}
.win__bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.02);
}
.win__dots { display: flex; gap: 6px; margin-right: 12px; }
.win__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.win__tab {
  padding: 5px 10px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 0.71875rem;
  color: var(--text-inv-3);
  white-space: nowrap;
}
.win__tab.is-active { background: rgba(139, 178, 255, 0.1); color: #dbe7ff; }
.win__code {
  margin: 0;
  padding: 16px 18px 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.8;
  white-space: pre;
  overflow: hidden;
}
.win__code .ln { display: inline-block; width: 24px; color: rgba(255, 255, 255, 0.2); user-select: none; }
.win__code .k { color: #8bb2ff; }
.win__code .s { color: #9fe0c0; }
.win__code .f { color: #ffd68a; }
.win__code .t { color: #f5a3c7; }
.caret {
  display: inline-block;
  width: 7px;
  height: 15px;
  margin-left: 2px;
  vertical-align: -3px;
  background: var(--brand-on-dark);
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(47, 92, 245, 0.45); } 100% { box-shadow: 0 0 0 9px rgba(47, 92, 245, 0); } }
@keyframes flow { to { stroke-dashoffset: -0.36; } }
@keyframes pulse { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
.motion .caret { animation: blink 1.1s steps(1) infinite; }

/* SkilnQ: learning illustration */
.vis { position: relative; width: 100%; max-width: 540px; margin-left: auto; }
.vis-learn { padding: 68px 0 150px; }
.vis-learn .win { width: 90%; }
.fcard { position: absolute; border-radius: 16px; }
.fcard--track {
  right: 0;
  bottom: 0;
  width: min(292px, 66%);
  padding: 18px 20px;
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.fcard__head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fcard__kicker { color: var(--brand-text); }
.fcard__meta { color: var(--text-3); letter-spacing: 0.04em; text-transform: none; }
.fcard__title { display: block; margin: 6px 0 12px; font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.fbar { height: 6px; margin-bottom: 12px; overflow: hidden; border-radius: 9px; background: var(--cloud); }
.fbar span {
  display: block;
  width: 70%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-400), var(--brand));
  transform-origin: left;
}
.motion .fbar span { animation: grow 1.6s var(--ease-out) 0.9s both; }
.msteps li {
  position: relative;
  padding: 4px 0 4px 22px;
  font-size: 0.8125rem;
  color: var(--text-3);
}
.msteps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
}
.msteps .is-done { color: var(--text); }
.msteps .is-done::before { border-color: var(--brand); background: var(--brand); }
.msteps .is-now { color: var(--text); font-weight: 700; }
.msteps .is-now::before { border-color: var(--brand); background: var(--paper); }
.motion .msteps .is-now::before { animation: ring 1.8s ease-out infinite; }
.fcard--cert {
  top: 0;
  right: 2%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border: 1px solid rgba(139, 178, 255, 0.3);
  background: rgba(22, 27, 41, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.fcard--cert img { width: auto; height: 30px; }
.fcard--cert b { display: block; font-size: 0.875rem; line-height: 1.3; }
.fcard--cert small { display: block; font-size: 0.75rem; color: var(--text-inv-3); }
.motion .fcard--track { animation: float 7s ease-in-out 1.2s infinite; }
.motion .fcard--cert { animation: float 7s ease-in-out -2.5s infinite; }

/* WillnQ: matching illustration */
.vis-match { min-height: 515px; }
.mcard { border-radius: 18px; }
.mcard--profile {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 64%;
  padding: 20px;
  border: 1px solid rgba(139, 178, 255, 0.3);
  background: linear-gradient(165deg, #1b2235, #0f131e);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85);
}
.mwho { display: flex; align-items: center; gap: 12px; }
.mwho__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-700));
  color: #fff;
}
.mwho__avatar .icon { width: 22px; height: 22px; }
.mwho b { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: #fff; line-height: 1.3; }
.mwho small { display: flex; align-items: center; gap: 5px; font-size: 0.75rem; color: #9fe0c0; }
.mwho small .icon { width: 14px; height: 14px; }
.mchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.mchips li {
  padding: 4px 10px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-inv-2);
}
.mbadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(200, 120, 255, 0.35);
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, rgba(122, 47, 240, 0.25), rgba(226, 20, 154, 0.16));
  font-size: 0.75rem;
  font-weight: 700;
  color: #efdcff;
}
.mbadge img { width: auto; height: 16px; }
.mlink { position: absolute; left: 20%; top: 168px; z-index: 1; width: 46%; height: 110px; overflow: visible; }
.mlink path,
.pm-link path {
  fill: none;
  stroke: var(--brand-on-dark);
  stroke-width: 1.5;
  stroke-dasharray: 0.03 0.03;
  vector-effect: non-scaling-stroke;
}
.motion .mlink path,
.motion .pm-link path { animation: flow 3s linear infinite; }
.mcard--jobs {
  position: absolute;
  top: 210px;
  right: 0;
  z-index: 3;
  width: 74%;
  padding: 18px 20px 8px;
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.mcard__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.mcard__head b { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 600; }
.mcard__head span { font-size: 0.75rem; color: var(--text-3); }
.mjobs li,
.pm-job {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.mjobs li { padding: 10px 0; border-top: 1px solid var(--line); }
.mjobs__ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-text);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
}
.mjobs__txt b { display: block; font-size: 0.875rem; line-height: 1.3; }
.mjobs__txt small { display: block; font-size: 0.75rem; color: var(--text-3); }
.mtag {
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: var(--cloud);
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 700;
  color: var(--text-2);
  white-space: nowrap;
}
.mtag--good { background: #e3f6ea; color: #13703c; }
.mtag--blue { background: var(--brand-soft); color: var(--brand-text); }
.mstatus {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 16px;
  background: rgba(22, 27, 41, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.mstatus li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 11px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-inv-3);
  white-space: nowrap;
}
.mstatus li::before { content: ""; width: 7px; height: 7px; border: 1.5px solid currentColor; border-radius: 50%; }
.mstatus .is-done { color: var(--text-inv-2); }
.mstatus .is-done::before { background: var(--brand-on-dark); border-color: var(--brand-on-dark); }
.mstatus .is-now { background: rgba(47, 92, 245, 0.28); color: #fff; }
.mstatus .is-now::before { background: #fff; border-color: #fff; }
.motion .mcard--jobs { animation: float 8s ease-in-out 1.4s infinite; }

/* Locations map */
.vis-map {
  position: relative;
  overflow: hidden;
  padding: clamp(8px, 2vw, 20px);
  border: 1px solid var(--ink-800);
  border-radius: var(--r-xl);
  background: radial-gradient(420px 360px at 75% 80%, rgba(47, 92, 245, 0.3), transparent 70%), var(--ink-900);
  box-shadow: var(--shadow-lg);
}
.vis-map svg { width: 100%; height: auto; overflow: visible; }
.vis-map pattern circle { fill: rgba(139, 178, 255, 0.26); }
.map__region { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.26em; fill: rgba(255, 255, 255, 0.2); }
.map__sea { font-family: var(--font-body); font-size: 11px; font-style: italic; font-weight: 500; letter-spacing: 0.06em; fill: rgba(139, 178, 255, 0.45); }
.map__arc {
  fill: none;
  stroke: var(--brand-on-dark);
  stroke-width: 1.4;
  stroke-dasharray: 0.014 0.012;
  opacity: 0.75;
}
.map__arc--faint { opacity: 0.3; }
.map__dot { fill: var(--brand-on-dark); stroke: var(--ink-900); stroke-width: 2; }
.map__pin--hq .map__dot { fill: #fff; stroke: var(--brand); stroke-width: 3; }
.map__pulse { fill: rgba(139, 178, 255, 0.2); transform-box: fill-box; transform-origin: center; }
.map__pin--hq .map__pulse { fill: rgba(47, 92, 245, 0.35); }
.motion .map__pulse { animation: pulse 2.8s ease-out infinite; }
.motion .map__pin:nth-of-type(2) .map__pulse { animation-delay: 0.9s; }
.motion .map__pin:nth-of-type(3) .map__pulse { animation-delay: 1.8s; }
.map__city { font-family: var(--font-display); font-size: 15px; font-weight: 600; fill: #fff; }
.map__role { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; fill: var(--text-inv-3); }
.map__role--hq { fill: var(--brand-on-dark); }
.media-band__img .vis-map { border-radius: var(--r-xl); }

.locations-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}
.locations-layout__map { position: sticky; top: calc(var(--header-h) + 24px); }
.locations--stacked { grid-template-columns: minmax(0, 1fr); gap: 16px; }

/* Home: product card media */
.product__media {
  --pad: clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
  height: 210px;
  margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 32px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(420px 220px at 85% 0%, rgba(47, 92, 245, 0.38), transparent 70%),
    linear-gradient(var(--line-dark) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--ink-900);
}
.pm-win { position: absolute; top: 28px; left: 28px; right: 64px; border-radius: 12px; }
.pm-win .win__code { padding: 12px 14px; font-size: 11.5px; line-height: 1.75; }
.pm-chip {
  position: absolute;
  right: 20px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  background: var(--paper);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.7);
}
.pm-chip .icon { width: 15px; height: 15px; color: var(--brand); }
.pm-profile {
  position: absolute;
  top: 26px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border: 1px solid rgba(139, 178, 255, 0.3);
  border-radius: 14px;
  background: linear-gradient(165deg, #1b2235, #0f131e);
}
.pm-profile .mwho__avatar { width: 36px; height: 36px; }
.pm-profile .mwho__avatar .icon { width: 18px; height: 18px; }
.pm-profile b { display: block; font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; color: #fff; }
.pm-profile small { display: block; font-size: 0.75rem; color: var(--text-inv-3); }
.pm-job {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: min(330px, calc(100% - 72px));
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.7);
}
.pm-link { position: absolute; top: 88px; left: 64px; width: 110px; height: 72px; overflow: visible; }
.motion .pm-chip,
.motion .pm-job { animation: float 7s ease-in-out infinite; }

/* Home: kinetic capabilities band */
.ticker {
  overflow: hidden;
  padding-block: clamp(28px, 4vw, 52px);
  border-block: 1px solid var(--line);
  background: var(--paper);
}
.ticker__track { display: flex; align-items: center; width: max-content; }
.ticker__track > * { margin-right: clamp(24px, 3vw, 48px); flex-shrink: 0; }
.ticker span {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--text);
}
.ticker .is-outline { color: transparent; -webkit-text-stroke: 1.25px var(--text); }
.ticker i { width: 14px; height: 14px; border-radius: 50%; background: var(--brand); }
@keyframes ticker { to { transform: translateX(-50%); } }
.motion .ticker__track { animation: ticker 50s linear infinite; }

/* Footer statement */
.site-footer__statement {
  margin-bottom: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1rem + 6.4vw, 7rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #fff;
}
.site-footer__statement span {
  display: block;
  background: linear-gradient(100deg, #b9d0ff 0%, var(--blue-300) 35%, #5d86ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 960px) {
  .vis { margin-left: 0; }
  .locations-layout { grid-template-columns: minmax(0, 1fr); }
  .locations-layout__map { position: static; }
}

@media (max-width: 640px) {
  .vis-learn { padding-bottom: 170px; }
  .vis-learn .win { width: 100%; }
  .win__code { font-size: 11px; padding: 14px 12px 16px; }
  .win__tab:not(.is-active) { display: none; }
  .fcard--track { width: 78%; }
  .fcard--cert { right: 0; }

  .vis-match { min-height: 0; display: grid; gap: 12px; }
  .mcard--profile, .mcard--jobs, .mstatus { position: relative; inset: auto; width: auto; }
  .mcard--profile { margin-right: 12%; }
  .mcard--jobs { margin-left: 6%; margin-top: -28px; }
  .mlink { display: none; }
  .mstatus li { padding: 6px 9px; }

  .product__media { height: 190px; }
  .pm-win { right: 20px; left: 20px; }
  .pm-link { display: none; }
  .pm-job { right: 16px; width: calc(100% - 32px); }
  .pm-profile { left: 16px; }
}

/* iConnect */
.product-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-700));
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(47, 92, 245, 0.7);
}
.product-icon .icon { width: 16px; height: 16px; }
.product-label .product-icon {
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: inherit;
  color: #fff;
}

.products--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.products--three .product__title { font-size: clamp(1.375rem, 1rem + 0.9vw, 1.75rem); }

.pm-life {
  position: absolute;
  top: 40px;
  left: 20px;
  right: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.pm-life::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-on-dark), var(--line-dark-strong) 45%);
}
.pm-life span {
  position: relative;
  padding: 8px 12px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-pill);
  background: var(--ink-850);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-inv-3);
  white-space: nowrap;
}
.pm-life .is-done { color: var(--text-inv-2); border-color: rgba(139, 178, 255, 0.4); }
.pm-life .is-now { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 6px rgba(47, 92, 245, 0.18); }

.vis-life { min-height: 500px; }
.lcard--person {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 62%;
  padding: 20px;
  border: 1px solid rgba(139, 178, 255, 0.3);
  border-radius: 18px;
  background: linear-gradient(165deg, #1b2235, #0f131e);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85);
}
.lrail { margin-top: 18px; }
.lrail li { position: relative; padding: 0 0 16px 28px; }
.lrail li:last-child { padding-bottom: 0; }
.lrail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--line-dark-strong);
  border-radius: 50%;
  background: var(--ink-850);
}
.lrail li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 20px;
  bottom: 2px;
  width: 1px;
  background: var(--line-dark-strong);
}
.lrail b { display: block; font-size: 0.875rem; color: #fff; line-height: 1.35; }
.lrail small { display: block; font-size: 0.75rem; color: var(--text-inv-3); }
.lrail .is-done::before { background: var(--brand-on-dark); border-color: var(--brand-on-dark); }
.lrail .is-done::after { background: var(--brand-on-dark); }
.lrail .is-now::before { background: #fff; border-color: var(--brand); border-width: 3px; }
.motion .lrail .is-now::before { animation: ring 1.8s ease-out infinite; }
.lrail li:not(.is-done):not(.is-now) b { color: var(--text-inv-2); }
.lcard--check { z-index: 3; }
.lpill {
  position: absolute;
  top: 14px;
  right: 0;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-pill);
  background: rgba(22, 27, 41, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-inv-2);
  white-space: nowrap;
}
.lpill .icon { width: 15px; height: 15px; color: var(--brand-on-dark); }
.motion .lpill { animation: float 7s ease-in-out -2s infinite; }

.journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.journey__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.02);
}
.journey__item .h3 { color: #fff; font-size: 1.5rem; letter-spacing: -0.02em; }
.journey__item p { color: var(--text-inv-2); font-size: var(--fs-sm); margin-bottom: 8px; }
.journey__item .link-arrow, .journey__here { margin-top: auto; align-self: flex-start; }
.journey__num { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-on-dark); }
.journey__item--current {
  border-color: rgba(139, 178, 255, 0.55);
  background: linear-gradient(180deg, rgba(47, 92, 245, 0.22), rgba(47, 92, 245, 0.06));
  box-shadow: 0 30px 60px -30px rgba(47, 92, 245, 0.6);
}
.journey__here {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}
.link-arrow--inverse { color: var(--brand-on-dark); }
.audience--wide .link-arrow { margin-top: 20px; align-self: flex-start; }

@media (max-width: 1100px) {
  .products--three { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
}
@media (max-width: 960px) {
  .journey { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .vis-life { min-height: 0; display: grid; gap: 12px; }
  .lcard--person, .lcard--check, .lpill { position: relative; inset: auto; width: auto; }
  .lcard--person { margin-right: 10%; }
  .lcard--check { margin-left: 8%; margin-top: -40px; }
  .lpill { justify-self: start; order: -1; }
}

/* About: ecosystem orbit */
.vis-orbit { aspect-ratio: 1; max-width: 500px; }
.orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__ring { fill: none; stroke: rgba(139, 178, 255, 0.22); stroke-width: 1.2; }
.orbit__ring--dash { stroke: rgba(139, 178, 255, 0.3); stroke-dasharray: 4 7; transform-box: fill-box; transform-origin: center; }
.motion .orbit__ring--dash { animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit__link {
  fill: none;
  stroke: var(--brand-on-dark);
  stroke-width: 1.4;
  stroke-dasharray: 0.03 0.03;
  opacity: 0.8;
}
.orbit__link--faint { opacity: 0.35; }
.motion .orbit__link { animation: flow 3.2s linear infinite; }
.orbit__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 44%;
  padding: 22px 18px;
  border: 1px solid rgba(139, 178, 255, 0.4);
  border-radius: 26px;
  background: linear-gradient(165deg, #1d2539, #0f131e);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 10px rgba(47, 92, 245, 0.08), 0 0 60px rgba(47, 92, 245, 0.25);
  text-align: center;
  transform: translate(-50%, -50%);
}
.orbit__core img { width: auto; height: 34px; }
.orbit__core span { font-size: 0.75rem; line-height: 1.4; color: var(--text-inv-3); }
.orbit__node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(139, 178, 255, 0.3);
  border-radius: 14px;
  background: rgba(22, 27, 41, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.orbit__node b { display: block; font-family: var(--font-display); font-size: 0.9375rem; font-weight: 600; color: #fff; line-height: 1.2; }
.orbit__node small { display: block; font-size: 0.71875rem; color: var(--text-inv-3); }
.orbit__ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
}
.orbit__ico img { width: auto; height: 18px; }
.orbit__ico--blue { background: linear-gradient(135deg, var(--blue-400), var(--blue-700)); color: #fff; }
.orbit__ico--blue .icon { width: 17px; height: 17px; }
.orbit__ico--open { border: 1.5px dashed rgba(139, 178, 255, 0.5); background: none; color: var(--brand-on-dark); font-weight: 700; }
.orbit__node--next { border-style: dashed; background: rgba(22, 27, 41, 0.6); }
.orbit__chip {
  position: absolute;
  z-index: 3;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: var(--paper);
  font-size: 0.75rem;
  color: var(--text-2);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}
.orbit__chip b { color: var(--text); font-weight: 700; }
.orbit__chip--a { right: 2%; top: 6%; }
.orbit__chip--b { left: 4%; bottom: 8%; }
.motion .orbit__chip--a { animation: float 7s ease-in-out infinite; }
.motion .orbit__chip--b { animation: float 7s ease-in-out -3.5s infinite; }
.motion .orbit__node:nth-of-type(odd) { animation: float-c 8s ease-in-out infinite; }
@keyframes float-c { 50% { transform: translate(-50%, calc(-50% - 6px)); } }

@media (max-width: 640px) {
  .orbit__node { padding: 6px 10px 6px 6px; gap: 8px; }
  .orbit__node small { display: none; }
  .orbit__ico { width: 26px; height: 26px; }
  .orbit__core { width: 52%; padding: 16px 12px; }
  .orbit__core img { height: 26px; }
  .orbit__core span { font-size: 0.6875rem; }
}

/* Legal pages */
.hero--legal { padding-bottom: clamp(56px, 7vw, 96px); }
.legal-meta {
  display: inline-flex;
  margin-top: 28px;
  padding: 8px 14px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-inv-2);
}
.legal { padding-top: clamp(48px, 6vw, 80px); }
.legal__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.legal__toc { position: sticky; top: calc(var(--header-h) + 32px); }
.legal__toc-title {
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.legal__toc ol { display: grid; gap: 2px; counter-reset: toc; border-left: 1px solid var(--line); }
.legal__toc li { counter-increment: toc; }
.legal__toc a {
  display: flex;
  gap: 10px;
  margin-left: -1px;
  padding: 6px 0 6px 16px;
  border-left: 2px solid transparent;
  font-size: var(--fs-sm);
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s;
}
.legal__toc a::before { content: counter(toc, decimal-leading-zero); font-size: 0.75rem; color: var(--text-3); font-variant-numeric: tabular-nums; padding-top: 2px; }
.legal__toc a:hover { color: var(--text); border-left-color: var(--line-strong); }
.legal__toc a.is-current { color: var(--brand-text); border-left-color: var(--brand); font-weight: 600; }

.legal__body { max-width: 46rem; }
.legal__body h2 {
  margin: 56px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.legal__body p,
.legal__body li { color: var(--text-2); }
.legal__body p + p { margin-top: 1em; }
.legal__body strong { color: var(--text); font-weight: 700; }
.legal__body ul { display: grid; gap: 10px; margin: 16px 0; padding-left: 0; }
.legal__body ul li { position: relative; padding-left: 22px; }
.legal__body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.legal__body a { color: var(--brand-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__summary {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, var(--brand-soft), var(--paper)) padding-box,
    linear-gradient(150deg, rgba(47, 92, 245, 0.45), var(--line) 50%) border-box;
}
.legal__body .legal__summary-title { margin: 0 0 4px; font-size: 1.125rem; }
.legal__summary ul { margin-bottom: 0; }
.legal__summary li { color: var(--text); }
.table-wrap { margin: 20px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.legal__body table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fs-sm); }
.legal__body th,
.legal__body td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal__body th { background: var(--mist); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.legal__body td { color: var(--text-2); line-height: 1.55; }
.legal__body td:first-child { font-weight: 600; color: var(--text); }
.legal__body tr:last-child td { border-bottom: 0; }
.legal__contact {
  margin: 16px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--mist);
  line-height: 1.8;
  color: var(--text-2);
}
.legal__related { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }

.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__legal a { transition: color 0.2s; }
.site-footer__legal a:hover { color: #fff; }

@media (max-width: 960px) {
  .legal__layout { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { position: static; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); }
  .legal__toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; gap: 0 16px; }
  .legal__toc a { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .legal__toc ol { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Motion
   Content is fully visible without JS or with reduced motion; .motion is set
   only when motion is allowed, and a failsafe reveals content if GSAP fails.
   -------------------------------------------------------------------------- */

@keyframes intro {
  from { opacity: 0; transform: translateY(18px); }
}
@keyframes reveal-failsafe {
  to { opacity: 1; transform: none; }
}

.motion .intro {
  animation: intro 0.9s var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 90ms + 60ms);
}

.motion [data-reveal],
.motion [data-reveal-group] > * {
  opacity: 0;
  animation: reveal-failsafe 0.01s 3s forwards;
}
.motion.gsap-ready [data-reveal],
.motion.gsap-ready [data-reveal-group] > * { animation: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }

  .site-nav, .site-header__cta { display: none; }
  .nav-toggle { display: block; }
  .site-header__logo img { height: 34px; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 460px; width: 100%; }
  .stack { --dx: 18px; --dy: 34px; margin-left: 0; }

  .split-head,
  .story-split,
  .media-band,
  .included,
  .bridge { grid-template-columns: minmax(0, 1fr); }
  .bridge { align-items: start; }

  .flywheel__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .flywheel__sticky { position: static; }
  .wheel { display: none; }
  .flywheel__step { min-height: 0; padding-block: 32px; }
  .flywheel.is-enhanced .flywheel__step:not(.is-active) { opacity: 1; }

  .products, .audiences, .tracks { grid-template-columns: minmax(0, 1fr); }
  .tracks { max-width: 640px; }
  .pillars--three { grid-template-columns: minmax(0, 1fr); }

  .process,
  .process--three { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .process::before,
  .process::after { top: 0; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; }
  .process::after { transform: scaleY(var(--progress, 1)); transform-origin: top; }
  .process__step { padding: 0 0 36px 72px; }
  .process__step:last-child { padding-bottom: 0; }
  .process__num { position: absolute; left: 0; top: -8px; margin: 0; }

  .stack-group:nth-child(n) { grid-column: span 12; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }

  .stories { grid-auto-columns: calc((100% - 24px) / 2); }

  .channels, .locations, .paths { grid-template-columns: minmax(0, 1fr); }
  .timeline__item { grid-template-columns: minmax(0, 1fr); }
  .media-band__img { order: 2; }
}

@media (max-width: 640px) {
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pillar__num { margin-bottom: 20px; }
  .why { grid-template-columns: minmax(0, 1fr); }
  .stories { grid-auto-columns: 86%; gap: 16px; }
  .carousel-controls { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .btn--lg { --h: 52px; }
  .trust { gap: 14px; }
  .tech-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
  .trust__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; width: 100%; }
  .trust__list li { font-size: 1rem; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__col:last-child { grid-column: 1 / -1; }
  .stack { --dx: 12px; --dy: 32px; }
  .stack__layer--front { min-height: 0; }
  .stack__tag { left: 16px; top: 10px; }
  .stack__foot b { font-size: 1.0625rem; }
  .eco__item { margin-left: 44px; padding: 16px 18px; }
  .eco__item::before { left: -25px; width: 24px; }
  .eco__list::before { left: 18px; }
  .eco__item--parent { margin-left: 0; }
  .stat { padding: 24px 16px 0; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
}

@media (max-width: 380px) {
  .stack__tag { font-size: 0.75rem; }
  .stack__pill { display: none; }
}

.product__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: auto; }
.product__actions .btn { margin-top: 0; }
.audience .btn--primary { margin-top: 32px; align-self: flex-start; }
.paths:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .paths:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .paths:has(> :nth-child(4)) { grid-template-columns: minmax(0, 1fr); } }
