/* ============================================================
   qwry.ai — light-mode homepage
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #FAFAFE;
  --bg-tint: #F4F2FA;
  --bg-warm: #FBF9F6;
  --surface: #FFFFFF;
  --surface-2: #FAFAFE;

  /* Ink (sampled to the qwry wordmark) */
  --ink:        #0A0B1E;
  --ink-2:      #1E2240;
  --ink-soft:   #4A4D6B;
  --ink-mute:   #8B8FAA;
  --ink-faint:  #B8BACB;

  /* Lines */
  --line:        rgba(10, 11, 30, 0.07);
  --line-strong: rgba(10, 11, 30, 0.13);
  --line-bold:   rgba(10, 11, 30, 0.22);

  /* Brand accents (sourced from the gradient palette) */
  --violet:  #6E3CFA;
  --violet-2:#8B5CF6;
  --indigo:  #4520B3;
  --blue:    #2563EB;
  --cyan:    #22D3EE;
  --teal:    #14B8A6;
  --magenta: #EC4899;
  --pink:    #F472B6;
  --orange:  #F97316;
  --amber:   #FBBF24;
  --lime:    #84CC16;

  /* Tinted surface variants for cards */
  --tint-violet:  rgba(110, 60, 250, 0.06);
  --tint-cyan:    rgba(34, 211, 238, 0.07);
  --tint-magenta: rgba(236, 72, 153, 0.06);
  --tint-orange:  rgba(249, 115, 22, 0.06);

  /* Gradients */
  --grad-brand: linear-gradient(120deg, #6E3CFA 0%, #2563EB 35%, #22D3EE 70%);
  --grad-warm:  linear-gradient(120deg, #EC4899 0%, #F97316 100%);
  --grad-iris:  linear-gradient(100deg, #2563EB 0%, #6E3CFA 30%, #EC4899 60%, #F97316 95%);

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(10, 11, 30, 0.04), 0 1px 1px rgba(10, 11, 30, 0.03);
  --shadow-2: 0 2px 4px rgba(10, 11, 30, 0.04), 0 4px 8px rgba(10, 11, 30, 0.04);
  --shadow-3: 0 8px 16px rgba(10, 11, 30, 0.06), 0 16px 40px rgba(10, 11, 30, 0.05);
  --shadow-lift: 0 20px 48px -20px rgba(10, 11, 30, 0.18), 0 8px 24px -8px rgba(110, 60, 250, 0.12);
  --shadow-island: 0 8px 32px -8px rgba(10, 11, 30, 0.35), 0 2px 8px rgba(10, 11, 30, 0.18);

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 28px;
  --r-pill: 1000px;

  /* Type */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* ============================================================
   Reset + base
============================================================ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  overflow-x: hidden;
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow { max-width: 1080px; }

/* ============================================================
   Page atmosphere (soft, pastel, light)
============================================================ */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-atmosphere::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(110, 60, 250, 0.18), transparent 70%);
  filter: blur(40px);
}
.bg-atmosphere::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -15%;
  width: 60%;
  height: 80%;
  background:
    radial-gradient(closest-side, rgba(249, 115, 22, 0.14), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(236, 72, 153, 0.15), transparent 70%);
  filter: blur(40px);
}
.bg-atmosphere .glow-c {
  position: absolute;
  bottom: -10%;
  left: 30%;
  width: 50%;
  height: 50%;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.12), transparent 70%);
  filter: blur(40px);
}

/* Grid texture on top of atmosphere */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(10, 11, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 11, 30, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
  opacity: 0.5;
}

main, header, footer { position: relative; z-index: 2; }

/* ============================================================
   Dynamic Island Nav
============================================================ */
.island-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 100;
  pointer-events: none;
}
.island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 8px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 16px 48px -12px rgba(7, 6, 22, 0.18),
    0 4px 16px -4px rgba(110, 60, 250, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: padding 0.35s cubic-bezier(.2, .8, .2, 1),
              background 0.35s ease,
              box-shadow 0.35s ease,
              transform 0.35s cubic-bezier(.2, .8, .2, 1);
  transform: translateY(0);
}
.island.is-condensed {
  padding: 4px 8px 4px 8px;
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-2px) scale(0.98);
  box-shadow:
    0 16px 36px -8px rgba(7, 6, 22, 0.22),
    0 2px 8px -2px rgba(110, 60, 250, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.island__brand {
  display: inline-flex;
  align-items: center;
  padding: 0 16px 0 8px;
  text-decoration: none;
}
.island__logo {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}
.island.is-condensed .island__logo { height: 24px; }
/* Brand wordmark fallback (used inside mobile menu only) */
.brand__text {
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.brand__dot { color: var(--violet); }

.island__divider {
  width: 1px;
  height: 16px;
  background: rgba(7, 6, 22, 0.12);
  margin: 0 4px;
}
.island__links {
  display: flex;
  gap: 2px;
}
.island__links a {
  font-size: 12px;
  font-weight: 450;
  color: var(--ink-2);
  padding: 8px 12px;
  border-radius: var(--r-pill);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.island__links a:hover {
  color: var(--ink);
  background: rgba(7, 6, 22, 0.05);
}

/* Dropdown */
.island__dd {
  position: relative;
}
.island__dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 450;
  font-family: inherit;
  color: var(--ink-2);
  padding: 8px 12px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.island__dd-trigger:hover,
.island__dd[data-open="true"] .island__dd-trigger {
  color: var(--ink);
  background: rgba(7, 6, 22, 0.05);
}
.island__caret {
  transition: transform 0.25s ease;
}
.island__dd[data-open="true"] .island__caret {
  transform: rotate(180deg);
}
.island__dd-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 320px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(7, 6, 22, 0.08);
  border-radius: 16px;
  box-shadow:
    0 24px 60px -16px rgba(7, 6, 22, 0.18),
    0 8px 24px -8px rgba(110, 60, 250, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(.2, .8, .2, 1);
  z-index: 60;
}
.island__dd[data-open="true"] .island__dd-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Transparent bridge fills the gap between trigger and menu so mouseleave doesn't fire mid-travel */
.island__dd-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.island__dd-menu a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  font-size: 12px;
  color: var(--ink-2);
  background: transparent !important;
  transition: background 0.15s ease;
  text-decoration: none;
}
.island__dd-menu a:hover {
  background: rgba(110, 60, 250, 0.08) !important;
  color: var(--ink);
}
.dd-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 8px;
  box-shadow: 0 0 0 4px rgba(7, 6, 22, 0.04);
}
.dd-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.dd-text strong {
  font-weight: 500;
  font-size: 12px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.dd-text small {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 400;
}
/* Sub-item: visually nested under its parent sector */
.island__dd-menu a.dd-sub {
  padding-left: 28px !important;
  position: relative;
  opacity: .85;
}
.island__dd-menu a.dd-sub::before {
  content: '';
  position: absolute;
  left: 18px;
  top: -20px;
  bottom: calc(50% + 4px);
  width: 10px;
  border-left: 1px solid rgba(10,11,30,.2);
  border-bottom: 1px solid rgba(10,11,30,.2);
  border-bottom-left-radius: 4px;
}
.island__dd-menu a.dd-sub:hover { opacity: 1; }
.island__dd-menu a.dd-sub .dd-dot {
  width: 6px;
  height: 6px;
  margin-top: 9px;
}

.island__dd-all {
  margin-top: 4px;
  padding: 8px 12px !important;
  border-top: 1px solid rgba(7, 6, 22, 0.08);
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-family: var(--font-mono);
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--violet) !important;
  border-radius: 0 !important;
}
.island__dd-all .arrow { transition: transform 0.2s; }
.island__dd-all:hover .arrow { transform: translateX(4px); }
.island__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.island__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-iris);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}
.island__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(110, 60, 250, 0.45);
}
.island__cta:hover::before { opacity: 1; }
.island__cta .arrow { transition: transform 0.22s ease; }
.island__cta:hover .arrow { transform: translateX(2px); }

/* ============================================================
   Buttons
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn .arrow { transition: transform 0.22s ease; }
.btn:hover .arrow { transform: translateX(2px); }
.btn--primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 8px 20px -8px rgba(10, 11, 30, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad-iris);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px rgba(110, 60, 250, 0.5);
}
.btn--primary:hover::before { opacity: 1; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--line-bold);
  transform: translateY(-1px);
}
.btn--lg {
  padding: 16px 24px;
  font-size: 16px;
}

/* ============================================================
   Typography helpers
============================================================ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 16px;
  font-weight: 500;
}
.eyebrow.eb-cyan    { color: var(--cyan); }
.eyebrow.eb-magenta { color: var(--magenta); }
.eyebrow.eb-orange  { color: var(--orange); }
.eyebrow.eb-indigo  { color: var(--indigo); }

.section-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 24px;
  font-weight: 500;
}
.section-num .n {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 4px 8px;
  border-radius: var(--r-xs);
  background: var(--surface);
  border: 1px solid var(--line);
  letter-spacing: 0.08em;
}

h1.section-title, h2.section-title {
  font-size: clamp(32px, 4.6vw, 60px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0 0 16px;
  max-width: 22ch;
  text-wrap: balance;
}
.section-sub {
  font-size: clamp(16px, 1.25vw, 20px);
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 56px;
  line-height: 1.55;
  text-wrap: pretty;
}
.grad-text {
  background: var(--grad-iris);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ============================================================
   Hero
============================================================ */
.hero {
  position: relative;
  padding: 128px 0 60px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  box-shadow: var(--shadow-1);
}
.hero__eyebrow .pill {
  padding: 4px 8px;
  border-radius: var(--r-pill);
  background: var(--grad-iris);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.9); }
}

.hero__title {
  font-size: clamp(48px, 6.8vw, 96px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
  max-width: 18ch;
  text-wrap: balance;
  color: var(--ink);
}
.hero__title .accent {
  background: var(--grad-iris);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0 0 36px;
  line-height: 1.5;
  text-wrap: pretty;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 44px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-1);
}
.hero__badge .ic {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero__badge:nth-child(1) .ic { background: var(--violet); }
.hero__badge:nth-child(2) .ic { background: var(--cyan); }
.hero__badge:nth-child(3) .ic { background: var(--magenta); }
.hero__badge:nth-child(4) .ic { background: var(--orange); }

/* Hero visual: relationship discovery */
.discovery {
  margin-top: 56px;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lift);
  padding: 28px;
  overflow: hidden;
}
.discovery::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(110, 60, 250, 0.3), rgba(34, 211, 238, 0) 30%, rgba(236, 72, 153, 0.2) 70%, rgba(249, 115, 22, 0.3));
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}
.discovery__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.discovery__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}
.discovery__title .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.18);
  animation: pulse 1.6s ease-in-out infinite;
}
.discovery__title .lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--violet);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.discovery__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
}

.discovery__stage {
  position: relative;
  height: 380px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.discovery__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.disco-node {
  position: absolute;
  width: 176px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-2);
  z-index: 2;
}
.disco-node__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.disco-node__type {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.disco-node__type .src-ic {
  width: 16px; height: 16px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 8px;
  font-weight: 700;
}
.disco-node--mysql .src-ic    { background: #00758F; }
.disco-node--mongo .src-ic    { background: #00684A; }
.disco-node--excel .src-ic    { background: #107C41; }
.disco-node--postgres .src-ic { background: #336791; }
.disco-node__count {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--ink-mute);
}
.disco-node__cols {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.disco-node__cols span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bg);
}
.disco-node__cols span.is-key {
  background: linear-gradient(90deg, rgba(110, 60, 250, 0.08), rgba(110, 60, 250, 0.02));
  color: var(--violet);
  font-weight: 500;
}
.disco-node__cols span .ty {
  color: var(--ink-faint);
  font-size: 8px;
}

/* Position nodes */
.disco-node--1 { top: 28px;  left: 36px; }
.disco-node--2 { top: 28px;  right: 36px; }
.disco-node--3 { bottom: 28px; left: 50%; transform: translateX(-50%); }

.disco-conf {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  box-shadow: var(--shadow-1);
  z-index: 3;
  opacity: 0;
  animation: conf-in 0.6s ease forwards;
}
.disco-conf .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.disco-conf .pct { font-weight: 600; }
.disco-conf--a { top: 96px; left: 50%; transform: translate(-50%, -50%); animation-delay: 1.4s; }
.disco-conf--a .dot { background: var(--violet); }
.disco-conf--a .pct { color: var(--violet); }
.disco-conf--b { top: 60%; left: 28%; animation-delay: 1.8s; }
.disco-conf--b .dot { background: var(--cyan); }
.disco-conf--b .pct { color: var(--cyan); }
.disco-conf--c { top: 60%; right: 28%; animation-delay: 2.2s; }
.disco-conf--c .dot { background: var(--magenta); }
.disco-conf--c .pct { color: var(--magenta); }

@keyframes conf-in {
  to { opacity: 1; }
}

.disco-conn {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  animation: draw 1.8s cubic-bezier(.4, 0, .2, 1) forwards;
}
.disco-conn--1 { stroke: var(--violet); animation-delay: 0.4s; }
.disco-conn--2 { stroke: var(--cyan); animation-delay: 0.7s; }
.disco-conn--3 { stroke: var(--magenta); animation-delay: 1.0s; }
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
.disco-pulse {
  fill: #ffffff;
  stroke-width: 2;
  r: 4;
}
.disco-pulse--1 { stroke: var(--violet); }
.disco-pulse--2 { stroke: var(--cyan); }
.disco-pulse--3 { stroke: var(--magenta); }

/* Discovery stat row */
.discovery__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
}
.discovery__stat {
  padding: 16px 16px;
  position: relative;
}
.discovery__stat + .discovery__stat::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 1px;
  background: var(--line);
}
.discovery__stat .num {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.discovery__stat .num.accent { background: var(--grad-iris); -webkit-background-clip: text; background-clip: text; color: transparent; }
.discovery__stat .lbl {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* ============================================================
   Source ecosystem strip
============================================================ */
.sources {
  padding: 80px 0;
  position: relative;
}
.sources__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 36px;
}
.sources__lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sources__head h3 {
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink-2);
  max-width: 28ch;
  text-wrap: balance;
}

.sources__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.sources__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 16px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
}
.sources__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  min-width: 112px;
}
.sources__cat .badge {
  padding: 4px 8px;
  border-radius: var(--r-xs);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.sources__cat .badge--live { background: rgba(132, 204, 22, 0.14); color: #4D7C0F; }
.sources__cat .badge--soon { background: rgba(110, 60, 250, 0.12); color: var(--violet); }
.sources__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.src-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.src-pill:hover { transform: translateY(-1px); border-color: var(--line-bold); background: var(--surface); }
.src-pill .sw {
  width: 8px; height: 8px;
  border-radius: 2px;
}
.src-pill.is-soon { color: var(--ink-soft); border-style: dashed; }

.sources__caption {
  text-align: center;
  font-size: 12px;
  color: var(--ink-mute);
  max-width: 70ch;
  margin: 0 auto;
}

.sources__missing {
  margin-top: 32px;
  padding: 16px 24px;
  background: linear-gradient(120deg, rgba(110, 60, 250, 0.06), rgba(34, 211, 238, 0.04));
  border: 1px solid rgba(110, 60, 250, 0.18);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  gap: 16px;
}
.sources__missing-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
}
.sources__missing-text strong {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.sources__missing-text span {
  color: var(--ink-soft);
}

/* ============================================================
   Section base
============================================================ */
section.s {
  padding: 112px 0;
  position: relative;
}
section.s.alt {
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.5) 30%, rgba(255, 255, 255, 0.5) 70%, transparent 100%);
}
.s-head {
  max-width: 720px;
  margin-bottom: 60px;
}
.s-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   5 → 1 Merge Infographic
============================================================ */
.merge {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px minmax(260px, 1fr);
  gap: 0;
  align-items: stretch;
  margin-bottom: 56px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}
.merge::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 10% 50%, rgba(110, 60, 250, 0.045), transparent 60%),
    radial-gradient(60% 80% at 90% 50%, rgba(236, 72, 153, 0.045), transparent 60%);
  pointer-events: none;
}
.merge > * { position: relative; }

.merge__col-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.merge__col-label--end { justify-content: flex-end; }
.merge__chip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--r-xs);
  background: rgba(7, 6, 22, 0.05);
  color: var(--ink-mute);
}
.merge__chip--brand {
  background: linear-gradient(120deg, rgba(110, 60, 250, 0.14), rgba(34, 211, 238, 0.12));
  color: var(--violet);
  border: 1px solid rgba(110, 60, 250, 0.22);
}

/* Tool stack on the left */
.merge__stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tool-card {
  position: relative;
  padding: 16px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.tool-card::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  transform: translate(50%, -50%);
  box-shadow: 0 0 0 4px var(--surface), 0 0 12px var(--c);
  opacity: 0.85;
}
.tool-card:hover {
  border-color: color-mix(in srgb, var(--c) 60%, var(--line) 40%);
  transform: translateX(2px);
}
.tool-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tool-card__dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  animation: tool-pulse 5s ease-in-out infinite;
}
.tool-card[data-pulse="1"] .tool-card__dot { animation-delay: 0s; }
.tool-card[data-pulse="2"] .tool-card__dot { animation-delay: 0.4s; }
.tool-card[data-pulse="3"] .tool-card__dot { animation-delay: 0.8s; }
.tool-card[data-pulse="4"] .tool-card__dot { animation-delay: 1.2s; }
.tool-card[data-pulse="5"] .tool-card__dot { animation-delay: 1.6s; }
@keyframes tool-pulse {
  0%, 90%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 0 var(--c); transform: scale(1); }
  5%            { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent); transform: scale(1.08); }
  20%           { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 0 color-mix(in srgb, var(--c) 0%, transparent); transform: scale(1); }
}
.tool-card__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex: 1;
}
.tool-card__role {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  border-radius: var(--r-xs);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  color: color-mix(in srgb, var(--c) 80%, var(--ink) 20%);
  border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
}
.tool-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
}
.tool-card__cost { color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.tool-card__owner { letter-spacing: 0.02em; white-space: nowrap; }

/* Bridge */
.merge__bridge {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 100%;
}
.merge__bridge-svg {
  width: 100%;
  height: 100%;
  max-height: 580px;
  position: absolute;
  inset: 0;
}

/* Hub on the right */
.merge__after {
  display: flex;
  flex-direction: column;
}
.hub {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: linear-gradient(160deg, rgba(110, 60, 250, 0.08), rgba(34, 211, 238, 0.04) 50%, rgba(236, 72, 153, 0.06));
  border: 1px solid rgba(110, 60, 250, 0.22);
  border-radius: var(--r-lg);
  box-shadow:
    0 16px 40px -12px rgba(110, 60, 250, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
}
.hub__halo {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(40% 40% at 20% 30%, rgba(110, 60, 250, 0.45), transparent 60%),
    radial-gradient(40% 40% at 80% 70%, rgba(236, 72, 153, 0.35), transparent 60%);
  filter: blur(40px);
  opacity: 0.7;
  animation: hub-drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes hub-drift {
  0%   { transform: translate(0, 0) rotate(0); }
  100% { transform: translate(2%, -3%) rotate(8deg); }
}
.hub > * { position: relative; }

.hub__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.hub__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  padding: 4px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 16px -4px rgba(110, 60, 250, 0.4);
}
.hub__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hub__title strong {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hub__title span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.hub__modules {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hub__modules li {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr 16px;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-sm);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateX(8px);
  animation: hub-mod-in 0.5s cubic-bezier(.2, .8, .2, 1) forwards;
}
.hub__modules li:nth-child(1) { animation-delay: 0.4s; }
.hub__modules li:nth-child(2) { animation-delay: 0.8s; }
.hub__modules li:nth-child(3) { animation-delay: 1.2s; }
.hub__modules li:nth-child(4) { animation-delay: 1.6s; }
.hub__modules li:nth-child(5) { animation-delay: 2.0s; }
@keyframes hub-mod-in {
  to { opacity: 1; transform: translateX(0); }
}
.hub__mod-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--violet);
}
.hub__mod-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.hub__mod-tick {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--grad-iris);
  color: #ffffff;
  font-size: 8px;
  font-weight: 700;
}

.hub__foot {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 12px 16px;
  background: rgba(7, 6, 22, 0.85);
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
}
.hub__foot-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hub__foot strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hub__foot-sep { display: none; }

/* Stats strip */
.merge-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.merge-stat {
  padding: 24px 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.merge-stat:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-1);
}
.merge-stat__big {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.merge-stat__num {
  background: var(--grad-iris);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.merge-stat__currency, .merge-stat__per {
  font-size: 16px;
  color: var(--ink-mute);
  font-weight: 500;
}
.merge-stat__arrow {
  display: inline-flex;
  align-items: center;
  color: var(--violet);
  margin: 0 2px;
  position: relative;
  top: -4px;
}
.merge-stat__through {
  color: var(--ink-mute);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: line-through;
  text-decoration-color: var(--magenta);
}
.merge-stat__after {
  background: var(--grad-iris);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 24px;
}
.merge-stat__lbl {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.45;
  text-wrap: pretty;
}

/* Compact mode for the cards-4 below the infographic */
.cards-4--compact .card {
  padding: 24px 24px 20px;
}
.cards-4--compact .card p {
  font-size: 12px;
}

/* Responsive */
@media (max-width: 880px) {
  .merge { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
  .merge__bridge { display: none; }
  .merge__col-label--end { justify-content: flex-start; }
  .tool-card::after { display: none; }
  .merge-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .merge-stats { grid-template-columns: 1fr; }
  .merge { padding: 24px; }
  .merge-stat__big { font-size: 24px; }
  .merge-stat__after { font-size: 24px; }
}

/* ============================================================
   Card grids
============================================================ */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cards-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--line-strong);
}
.card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--violet);
}
.card__icon.violet  { background: var(--tint-violet);  color: var(--violet);  border-color: rgba(110, 60, 250, 0.18); }
.card__icon.cyan    { background: var(--tint-cyan);    color: var(--cyan);    border-color: rgba(34, 211, 238, 0.22); }
.card__icon.magenta { background: var(--tint-magenta); color: var(--magenta); border-color: rgba(236, 72, 153, 0.20); }
.card__icon.orange  { background: var(--tint-orange);  color: var(--orange);  border-color: rgba(249, 115, 22, 0.22); }
.card__icon.indigo  { background: rgba(37, 99, 235, 0.07); color: var(--blue); border-color: rgba(37, 99, 235, 0.22); }

.card__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 8px;
  font-weight: 500;
}
.card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0 0 8px;
  line-height: 1.25;
}
.card p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}
.card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.card__pills span {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: var(--r-pill);
  background: var(--bg-tint);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.card__connector-nudge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--violet);
  text-decoration: none;
  opacity: .8;
  transition: opacity .15s;
}
.card__connector-nudge:hover { opacity: 1; }
.card__status {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--violet);
  letter-spacing: 0.04em;
}

/* ============================================================
   Moat section: worked-example callout
============================================================ */
.moat-quote {
  margin: 56px 0 28px;
  padding: 36px 40px;
  background: linear-gradient(135deg, var(--bg-tint) 0%, rgba(255, 255, 255, 0.4) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.moat-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 0% 100%, rgba(110, 60, 250, 0.10), transparent 70%),
    radial-gradient(40% 60% at 100% 0%, rgba(34, 211, 238, 0.10), transparent 70%);
  pointer-events: none;
}
.moat-quote__text {
  position: relative;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 16px;
  max-width: 36ch;
  color: var(--ink);
  text-wrap: balance;
}
.moat-quote__sub {
  position: relative;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   Worked example: chat verification UI
============================================================ */
.verified {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}
.verified__chat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  position: relative;
}
.verified__chat::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(110, 60, 250, 0.3), rgba(34, 211, 238, 0.15), rgba(236, 72, 153, 0.2));
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}
.verified__chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.verified__chat-head .left { display: flex; align-items: center; gap: 8px; }
.verified__chat-head .live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--lime);
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 12px;
}
.verified__chat-head .live .d {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.16);
  animation: pulse 1.5s ease-in-out infinite;
}

.verified__chat-body { padding: 24px 24px 28px; }
.v-msg {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.v-msg__av {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}
.v-msg--user .v-msg__av { background: var(--ink-2); }
.v-msg--ai .v-msg__av {
  background: var(--grad-iris);
  background-size: 200% 100%;
  animation: shimmer 6s ease-in-out infinite;
}
.v-msg__av--photo {
  object-fit: cover;
  background: var(--ink-2);
}
.v-msg--ai .v-msg__av.v-msg__av--brand,
.v-msg__av--brand {
  padding: 4px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 16px -4px rgba(110, 60, 250, 0.32),
    0 0 0 1px rgba(110, 60, 250, 0.12);
  animation: none;
}
.v-msg__av--brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.v-msg__body {
  flex: 1;
  min-width: 0;
}
.v-msg__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.v-msg__name .role {
  color: var(--ink-mute);
  font-weight: 400;
  margin-left: 8px;
}
.v-msg__text {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.55;
  margin: 0;
}
.v-msg__text strong {
  font-weight: 600;
  color: var(--violet);
}

.v-detail {
  margin-top: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.v-detail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.v-detail__head .chip {
  padding: 4px 8px;
  border-radius: var(--r-pill);
  font-size: 8px;
  background: rgba(132, 204, 22, 0.16);
  color: #4D7C0F;
  font-weight: 600;
}
.v-detail__body { padding: 4px 0; }
.v-detail__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  padding: 8px 16px;
  font-size: 12px;
  border-bottom: 1px dashed var(--line);
}
.v-detail__row:last-child { border-bottom: 0; }
.v-detail__row .k {
  font-family: var(--font-mono);
  color: var(--ink-mute);
  font-size: 12px;
}
.v-detail__row .v {
  font-family: var(--font-mono);
  color: var(--ink-2);
  font-weight: 500;
  word-break: break-all;
}
.v-detail__row .v .hl { color: var(--violet); }

.v-verified-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #4D7C0F;
  background: linear-gradient(90deg, rgba(132, 204, 22, 0.08), transparent);
  border-top: 1px solid var(--line);
}
.v-verified-bar .ic { color: var(--lime); }
.v-escalate {
  display: flex;
  padding: 8px 16px 12px;
  border-top: 1px solid var(--line);
}
.v-escalate__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--violet);
  background: rgba(110,60,250,.06);
  border: 1px solid rgba(110,60,250,.2);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.v-escalate__btn:hover {
  background: rgba(110,60,250,.12);
  border-color: rgba(110,60,250,.4);
}

/* Right column blocks for verified section */
.verified__blocks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.verified__block {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  gap: 16px;
}
.verified__block .ic {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--tint-violet);
  color: var(--violet);
}
.verified__block:nth-child(2) .ic { background: var(--tint-cyan);    color: var(--cyan); }
.verified__block:nth-child(3) .ic { background: var(--tint-magenta); color: var(--magenta); }
.verified__block:nth-child(4) .ic { background: var(--tint-orange);  color: var(--orange); }
.verified__block h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}
.verified__block p {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   Workspace section
============================================================ */
.workspace-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.workspace-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  position: relative;
}
.workspace-col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.workspace-col__head h4 {
  font-size: 12px;
  font-weight: 500;
  margin: 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-2);
}
.workspace-col__chip {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.workspace-col__chip--live {
  background: rgba(132, 204, 22, 0.14);
  color: #4D7C0F;
}
.workspace-col__chip--soon {
  background: rgba(110, 60, 250, 0.12);
  color: var(--violet);
}
.ws-item { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.ws-item:last-child { border-bottom: 0; padding-bottom: 0; }
.ws-item:first-child { padding-top: 0; }
.ws-item h5 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.ws-item p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 12px;
}
.ws-item__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ws-item__badges span {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: var(--r-pill);
  background: var(--bg-tint);
  color: var(--ink-2);
}
.ws-item__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--violet);
}
.ws-item__status .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--violet);
  animation: pulse 1.6s ease-in-out infinite;
}

.workspace-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.workspace-note {
  padding: 24px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--bg-tint), rgba(255, 255, 255, 0.4));
  border: 1px solid var(--line);
}
.workspace-note h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.workspace-note p {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   Outcomes
============================================================ */
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.outcome {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.outcome::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-iris);
}
.outcome__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0;
  text-wrap: balance;
}
.outcome__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0 0;
  margin-top: 16px;
  border-top: 1px dashed var(--line);
  align-items: start;
}
.outcome__row:first-of-type {
  margin-top: 0;
  padding-top: 16px;
}
.outcome__lbl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--r-xs);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
.outcome__lbl.today {
  background: rgba(236, 72, 153, 0.10);
  color: var(--magenta);
}
.outcome__lbl.with {
  background: linear-gradient(120deg, rgba(110, 60, 250, 0.16), rgba(34, 211, 238, 0.14));
  color: var(--violet);
  border: 1px solid rgba(110, 60, 250, 0.22);
}
.outcome__lbl.with img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-left: -2px;
}
.outcome__text {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   Sovereignty: data flow diagram
============================================================ */
.sovereignty-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
/* ============================================================
   Architecture / Ecosystem map (Sovereignty section)
============================================================ */
.arch {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}
.arch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(110, 60, 250, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 60, 250, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.arch > * { position: relative; }

.arch__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 28px;
}
.arch__title .grad-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
}

.arch__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: stretch;
}
.arch__layer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 8px 16px 4px;
}
.arch__layer-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.arch__layer-title--brand {
  background: var(--grad-iris);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.arch__layer-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 8px;
}

.arch__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.arch__card {
  padding: 16px 16px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.arch__card:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 60, 250, 0.3);
  box-shadow: var(--shadow-1);
}
.arch__card--brand {
  background: linear-gradient(160deg, rgba(110, 60, 250, 0.06), rgba(34, 211, 238, 0.04));
  border-color: rgba(110, 60, 250, 0.22);
}
.arch__card--soon {
  background: repeating-linear-gradient(135deg, rgba(110, 60, 250, 0.025), rgba(110, 60, 250, 0.025) 8px, transparent 8px, transparent 12px), var(--surface-2);
  border-style: dashed;
}
.arch__card-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.arch__count {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--r-xs);
  background: rgba(110, 60, 250, 0.10);
  color: var(--violet);
  letter-spacing: 0.04em;
}
.arch__count--soon {
  background: rgba(236, 72, 153, 0.10);
  color: var(--magenta);
}
.arch__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.arch__pills .ap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
  white-space: nowrap;
}
.arch__pills .ap .d {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.arch__pills .ap.is-ghost {
  color: var(--ink-soft);
  border-style: dashed;
  background: transparent;
}
.arch__pills--dense .ap { font-size: 12px; padding: 2px 8px; }

/* Connector lines between rows */
.arch__connectors {
  position: relative;
  display: block;
  margin-left: 160px;
  height: 32px;
  pointer-events: none;
}
.arch__connectors::before { content: ""; }
.arch__connectors::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-image:
    linear-gradient(180deg, rgba(110, 60, 250, 0.4) 0%, rgba(110, 60, 250, 0.4) 50%, transparent 50%);
  background-size: 1px 8px;
  background-repeat: repeat-y;
  background-position: 12.5% 0, 37.5% 0, 62.5% 0, 87.5% 0;
}
.arch__connectors::before,
.arch__connectors::after {
  content: none;
}
.arch__connectors > span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 2px dashed rgba(110, 60, 250, 0.35);
}
.arch__connectors > span:nth-child(1) { left: 12.5%; }
.arch__connectors > span:nth-child(2) { left: 37.5%; }
.arch__connectors > span:nth-child(3) { left: 62.5%; }
.arch__connectors > span:nth-child(4) { left: 87.5%; }

/* qwry Engine core block */
.arch__core {
  padding: 16px 20px 20px;
  background: linear-gradient(160deg, rgba(110, 60, 250, 0.08), rgba(34, 211, 238, 0.05) 50%, rgba(236, 72, 153, 0.06));
  border: 1px solid rgba(110, 60, 250, 0.25);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 24px -8px rgba(110, 60, 250, 0.25);
}
.arch__core-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.arch__core-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
  padding: 4px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 2px 8px -2px rgba(110, 60, 250, 0.4);
}
.arch__core-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.arch__core-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.arch__core-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.arch__core-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 16px;
}
.arch__core-card-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 8px;
}
.arch__core-card-bar {
  height: 4px;
  background: rgba(110, 60, 250, 0.10);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.arch__core-card-bar span {
  display: block;
  height: 100%;
  background: var(--grad-iris);
  background-size: 200% 100%;
  animation: shimmer 6s ease-in-out infinite;
  border-radius: var(--r-pill);
}

/* Growth banner */
.arch__growth {
  margin-top: 28px;
  padding: 16px 20px;
  background: linear-gradient(120deg, rgba(110, 60, 250, 0.06), rgba(34, 211, 238, 0.04) 60%, rgba(163, 230, 53, 0.06));
  border: 1px solid rgba(110, 60, 250, 0.18);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  gap: 16px;
}
.arch__growth-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.6);
  animation: arch-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes arch-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(163, 230, 53, 0); }
}
.arch__growth-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
}
.arch__growth-text strong {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.arch__growth-text span {
  color: var(--ink-soft);
}
.arch__growth-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.arch__growth-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(7, 6, 22, 0.4);
}
.arch__growth-link .arrow { transition: transform .2s; }
.arch__growth-link:hover .arrow { transform: translateX(2px); }

.arch__caption {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.arch__caption .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

/* ============================================================
   Sectors
============================================================ */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sector {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.sector:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--line-strong);
}
.sector__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--violet);
}
.sector__cta .arrow { transition: transform 0.25s ease; }
.sector:hover .sector__cta .arrow { transform: translateX(4px); }
.sector__n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.sector h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.018em;
  line-height: 1.25;
}
.sector p {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}
.sector__mark {
  position: absolute;
  top: 28px; right: 28px;
  width: 8px; height: 8px;
  border-radius: 2px;
}
.sector:nth-child(1) .sector__mark { background: var(--violet); }
.sector:nth-child(2) .sector__mark { background: var(--cyan); }
.sector:nth-child(3) .sector__mark { background: var(--magenta); }
.sector:nth-child(4) .sector__mark { background: var(--orange); }
.sector:nth-child(5) .sector__mark { background: var(--blue); }

/* ============================================================
   Comparison table
============================================================ */
.compare {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.compare__table {
  width: 100%;
  border-collapse: collapse;
}
.compare__table th,
.compare__table td {
  text-align: left;
  padding: 16px 20px;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.compare__table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--surface-2);
}
.compare__table thead th.is-us {
  color: var(--violet);
  background: var(--tint-violet);
  font-weight: 600;
}
.compare__table tbody tr:last-child td { border-bottom: 0; }
.compare__table tbody tr:hover { background: var(--surface-2); }
.compare__table tbody th {
  font-weight: 500;
  color: var(--ink);
  font-size: 12px;
  background: var(--surface-2);
}
.compare__table td.is-us {
  font-weight: 500;
  color: var(--ink);
  background: linear-gradient(135deg, var(--tint-violet), transparent);
}
.compare__table .v-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.v-mark--native  { color: var(--violet); font-weight: 600; }
.v-mark--partial { color: var(--orange); }
.v-mark--none    { color: var(--ink-faint); }

/* ============================================================
   Team
============================================================ */
.team {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.team__lead {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #ffffff;
  padding: 32px;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.team__lead::after {
  content: "";
  position: absolute;
  bottom: -40%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(closest-side, rgba(110, 60, 250, 0.4), transparent 70%);
  filter: blur(20px);
}
.team__lead h3 {
  position: relative;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 0 0 16px;
  line-height: 1.2;
  text-wrap: balance;
}
.team__lead p {
  position: relative;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  margin: 0 0 24px;
}
.team__stats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.team__stats .num {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ffffff, #C9B6FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.team__stats .lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
}
.team-card__av {
  width: 48px; height: 48px;
  border-radius: 50%;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.team-card:nth-child(2) .team-card__av { background: linear-gradient(135deg, var(--violet), var(--blue)); }
.team-card:nth-child(3) .team-card__av { background: linear-gradient(135deg, var(--cyan), var(--teal)); }
.team-card:nth-child(4) .team-card__av { background: linear-gradient(135deg, var(--magenta), var(--orange)); }
.team-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -0.015em;
}
.team-card__role {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.team-card__links {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.team-card__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
  transition: color 0.2s;
}
.team-card__links a:hover { color: var(--violet); }
.team-card__links a svg { color: var(--ink-mute); }
.team-card__links a:hover svg { color: var(--violet); }

/* ============================================================
   Closing CTA
============================================================ */
.final {
  padding: 140px 0 120px;
  text-align: center;
  position: relative;
}
.final__panel {
  position: relative;
  background: linear-gradient(160deg, var(--ink) 0%, #1A1538 100%);
  color: #ffffff;
  padding: 80px 60px;
  border-radius: 32px;
  overflow: hidden;
}
.final__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 100% 0%, rgba(249, 115, 22, 0.35), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(110, 60, 250, 0.45), transparent 60%),
    radial-gradient(30% 50% at 50% 100%, rgba(236, 72, 153, 0.35), transparent 60%);
  pointer-events: none;
}
.final__panel > * { position: relative; }
.final h2 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 20px;
  text-wrap: balance;
  color: #ffffff;
}
.final h2 .grad {
  background: linear-gradient(120deg, #C9B6FF, #FFC4DD, #FFD2A8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.final p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.final .btn--primary {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 12px 36px -8px rgba(255, 255, 255, 0.35);
}
.final .btn--primary:hover { color: var(--ink); }
.final .btn--primary::before {
  background: linear-gradient(120deg, #ffffff, #F4F2FA);
}
.final .btn--ghost {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}
.final .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}
.final__row {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px;
}
.final__cap {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

/* ============================================================
   Footer — collapsible whole-footer
============================================================ */
.foot {
  background: var(--surface);
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column-reverse; /* bar pinned visually below the expanded body */
}

/* Collapsed bar — always visible */
.foot-bar {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.foot-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  flex-wrap: wrap;
}
.foot-bar__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.foot-brand__logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.foot-bar__copy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  flex-wrap: wrap;
}
.foot-bar__sep { opacity: 0.5; }
.foot-bar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.foot-bar__social {
  display: flex;
  gap: 8px;
}
.foot-bar__social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s, border-color 0.2s, background 0.2s;
}
.foot-bar__social a:hover {
  color: var(--violet);
  border-color: rgba(110, 60, 250, 0.3);
  background: var(--surface);
  transform: translateY(-1px);
}
.foot-bar__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 16px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}
.foot-bar__toggle:hover {
  color: var(--violet);
  background: var(--surface-2);
  border-color: rgba(110, 60, 250, 0.3);
}
.foot-bar__caret {
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1);
}
.foot.is-expanded .foot-bar__caret {
  transform: rotate(180deg);
}
.foot.is-expanded .foot-bar__toggle-label { font-size: 0; }
.foot.is-expanded .foot-bar__toggle-label::before {
  content: "Less";
  font-size: 12px;
}

/* Expanded body */
.foot-expanded {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.55s cubic-bezier(.2, .8, .2, 1),
              opacity 0.4s ease;
}
.foot.is-expanded .foot-expanded {
  max-height: 1600px;
  opacity: 1;
}

.foot-hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}
.foot-hero__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.foot-hero__brand {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.foot-hero__brand .foot-brand__logo { height: 44px; }
.foot-hero__tag {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
  line-height: 1.55;
  text-wrap: balance;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  padding: 48px 0 36px;
}
.foot-col {
  display: flex;
  flex-direction: column;
}
.foot-col__head {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  margin: 0 0 16px;
}
.foot-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-col__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.foot-col__list a:hover {
  color: var(--ink);
  transform: translateX(2px);
}
.foot-col__chip {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--r-xs);
  background: rgba(163, 230, 53, 0.18);
  color: #4D7C0F;
}

.foot-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}
.foot-meta__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.foot-meta__lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.foot-meta__val {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.foot-meta__val a { color: var(--violet); text-decoration: none; }
.foot-meta__val a:hover { text-decoration: underline; }
.foot-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.5);
  animation: foot-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes foot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(163, 230, 53, 0); }
}

/* ============================================================
   Insights — use cases & blogs
============================================================ */
.insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.insight {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.insight:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--line-strong);
}
.insight--featured {
  grid-column: span 2;
  flex-direction: row;
}
.insight--featured .insight__media {
  width: 44%;
  min-height: auto;
}
.insight--featured .insight__title {
  font-size: 24px;
}

.insight__media {
  position: relative;
  min-height: 180px;
  padding: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.insight__media--violet { background: linear-gradient(135deg, rgba(110, 60, 250, 0.18), rgba(110, 60, 250, 0.04) 60%, rgba(34, 211, 238, 0.10)); }
.insight__media--cyan   { background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(34, 211, 238, 0.04) 60%, rgba(163, 230, 53, 0.10)); }
.insight__media--magenta{ background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(236, 72, 153, 0.04) 60%, rgba(110, 60, 250, 0.10)); }
.insight__media--orange { background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(249, 115, 22, 0.04) 60%, rgba(236, 72, 153, 0.10)); }
.insight__media--lime   { background: linear-gradient(135deg, rgba(163, 230, 53, 0.20), rgba(163, 230, 53, 0.04) 60%, rgba(34, 211, 238, 0.10)); }

.insight__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--ink);
  z-index: 2;
}
.insight__badge--case { color: var(--violet); }
.insight__badge--tech { color: var(--cyan); }
.insight__badge--blog { color: var(--magenta); }

.insight__media-art {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 320px;
}
.insight__art-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.insight__art-pill .d {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.insight__art-flow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet) 40%, var(--magenta) 60%, transparent);
  pointer-events: none;
  z-index: 0;
}
.insight__art-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: var(--grad-iris);
  background-size: 200% 100%;
  animation: shimmer 6s ease-in-out infinite;
  border-radius: var(--r-md);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px -8px rgba(110, 60, 250, 0.5);
  z-index: 1;
}
.insight__sql {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  padding: 16px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.insight__sql .tok-kw { color: var(--violet); font-weight: 600; }
.insight__sql .tok-num { color: var(--magenta); font-weight: 600; }
.insight__sql .tok-pun { color: var(--ink-mute); }

.insight__lock {
  width: 84px; height: 84px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--magenta);
  box-shadow: 0 8px 24px -8px rgba(236, 72, 153, 0.3);
}

.insight__quote-mark {
  font-family: Georgia, serif;
  font-size: 140px;
  line-height: 0.6;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  user-select: none;
}

.insight__chip {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.insight__byo {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.insight__byo span {
  background: var(--grad-iris);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.insight__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 24px;
  gap: 8px;
}
.insight__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.insight__sector { color: var(--violet); font-weight: 600; }
.insight__sep { opacity: 0.5; }
.insight__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.insight__excerpt {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.insight__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
}
.insight__cta .arrow { transition: transform 0.25s; }
.insight:hover .insight__cta .arrow { transform: translateX(4px); }

.insights__more {
  text-align: center;
  margin-top: 36px;
}

/* ============================================================
   Mobile menu drawer
============================================================ */
.island__mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(7, 6, 22, 0.06);
  border: 1px solid rgba(7, 6, 22, 0.08);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  margin-left: 4px;
}
.island__mobile-bar {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(7, 6, 22, 0.6);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1);
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__head .brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.mobile-menu__head .brand__logo {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu__link {
  display: block;
  padding: 16px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background 0.2s;
}
.mobile-menu__link:hover {
  background: var(--surface-2);
}
.mobile-menu__group { display: flex; flex-direction: column; }
.mobile-menu__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  font-size: 16px;
  font-weight: 500;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  border-radius: var(--r-md);
  text-align: left;
}
.mobile-menu__group-head:hover { background: var(--surface-2); }
.mobile-menu__caret { transition: transform 0.25s ease; color: var(--ink-soft); }
.mobile-menu__group.is-open .mobile-menu__caret { transform: rotate(180deg); }
.mobile-menu__group-body {
  display: none;
  flex-direction: column;
  padding: 4px 16px 8px 28px;
}
.mobile-menu__group.is-open .mobile-menu__group-body { display: flex; }
.mobile-menu__group-body a {
  padding: 8px 0;
  font-size: 16px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__group-body a:last-child { border-bottom: 0; }
.mobile-menu__group-body a:hover { color: var(--ink); }
/* Sub-sector item inside mobile menu */
.mobile-menu__group-body a.mobile-sub {
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-mute);
  position: relative;
}
.mobile-menu__group-body a.mobile-sub::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--violet);
  border-radius: 2px;
  opacity: 0.4;
}
.mobile-menu__group-body a.mobile-sub:hover { color: var(--violet); }
.mobile-menu__cta { margin-top: auto; justify-content: center; }

/* ============================================================
   Reveal on scroll
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.2, .8, .2, 1),
              transform 0.9s cubic-bezier(.2, .8, .2, 1);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-6 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .outcomes { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .sovereignty-cards { grid-template-columns: repeat(2, 1fr); }
  .verified { grid-template-columns: 1fr; gap: 36px; }
  .team { grid-template-columns: 1fr 1fr; }
  .team__lead { grid-column: span 2; }
  .island__links { display: none; }
  .island__divider { display: none; }
  .island__mobile-toggle { display: inline-flex; }
  .mobile-menu { display: block; }
  .arch__row { grid-template-columns: 1fr; gap: 12px; }
  .arch__layer { padding: 0; flex-direction: row; align-items: baseline; gap: 12px; }
  .arch__layer-sub { margin-top: 0; }
  .arch__connectors { margin-left: 0; height: 24px; }
  .arch__connectors > span:nth-child(1) { left: 12.5%; }
  .arch__connectors > span:nth-child(2) { left: 37.5%; }
  .arch__connectors > span:nth-child(3) { left: 62.5%; }
  .arch__connectors > span:nth-child(4) { left: 87.5%; }
  .arch__cards, .arch__core-grid { grid-template-columns: repeat(2, 1fr); }
  .insights { grid-template-columns: repeat(2, 1fr); }
  .insight--featured { grid-column: span 2; flex-direction: column; }
  .insight--featured .insight__media { width: 100%; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .discovery__stats { grid-template-columns: repeat(2, 1fr); }
  .discovery__stat + .discovery__stat::before { display: none; }
  .merge-stats { grid-template-columns: repeat(2, 1fr); }
  .hero__cta-row { gap: 8px; }
}
@media (max-width: 900px) {
  .island__cta { display: none; }
}
@media (max-width: 800px) {
  section.s { padding: 80px 0; }
  .container { padding: 0 24px; }
  .cards-3, .cards-2, .cards-6, .outcomes, .sectors, .sovereignty-cards { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .merge-stats { grid-template-columns: 1fr; }
  .workspace-cols, .workspace-notes { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .team__lead { grid-column: span 1; }
  .discovery__stats { grid-template-columns: 1fr 1fr; }
  .discovery__stat + .discovery__stat::before { display: none; }
  .compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare__table { min-width: 720px; }
  .v-detail__row { grid-template-columns: 1fr; gap: 4px; }
  .hero__title { font-size: clamp(40px, 9vw, 56px); }
  .hero__sub { font-size: 16px; }
  .hero__cta-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero__cta-row .btn { justify-content: center; }
  .hero__cta-meta { display: none; }
  .final__panel { padding: 56px 24px; }
  .arch { padding: 24px; }
  .arch__cards, .arch__core-grid { grid-template-columns: 1fr; }
  .arch__growth { flex-direction: column; align-items: flex-start; }
  .sources__missing { flex-direction: column; align-items: flex-start; }
  .insights { grid-template-columns: 1fr; }
  .insight--featured { grid-column: span 1; }
  .verified__chat-head { font-size: 12px; }
  .v-msg { gap: 8px; }
  .quote__chrome { padding: 16px 16px; }
  .island { padding: 4px 4px 4px 4px; gap: 4px; }
  .island__brand { padding: 0 8px 0 4px; }
  .island__logo { height: 24px; }
  .moat-quote__text { font-size: clamp(24px, 5vw, 32px); }
  .code__body { font-size: 12px; }
  .code__body pre { overflow-x: auto; }

  /* Footer mobile accordion */
  .foot-bar__inner { padding: 16px 0; gap: 16px; }
  .foot-bar__brand { gap: 16px; flex-direction: column; align-items: flex-start; }
  .foot-bar__right { width: 100%; justify-content: space-between; }
  .foot-hero { padding: 40px 0 32px; }
  .foot-hero__row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .foot-hero__cta { width: 100%; justify-content: center; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; padding: 36px 0 24px; }
  .foot-meta { grid-template-columns: 1fr; gap: 16px; padding: 24px 0 32px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding-top: 96px; }
  section.s { padding: 64px 0; }
  .s-head { margin-bottom: 36px; }
  h1.section-title, h2.section-title { font-size: clamp(28px, 7vw, 36px); }
  .section-sub { font-size: 16px; }
  .insight__media { min-height: 140px; padding: 16px; }
  .insight__title { font-size: 16px; }
  .insight--featured .insight__title { font-size: 16px; }
  .arch__core-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot-meta { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .v-msg { flex-direction: column; gap: 8px; }
  .v-msg__av { width: 28px; height: 28px; }
  .v-detail__head { font-size: 8px; }
  .island { padding: 4px; }
  .island__brand { padding: 0 8px 0 4px; }
  .island__logo { height: 24px; }
  .discovery__stats { grid-template-columns: 1fr; }
  .merge { padding: 16px; }
  .tool-card { padding: 12px 16px; }
  .tool-card__meta { padding-left: 0; gap: 8px; flex-wrap: wrap; }
  .tool-card__role { font-size: 8px; padding: 2px 8px; }
  .hub { padding: 16px; }
  .hub__head { gap: 12px; }
  .hub__title strong { font-size: 20px; }
  .hub__foot { font-size: 8px; padding: 8px; }
  .hub__foot strong { font-size: 16px; }
  .merge-stat__big { font-size: 24px; }
  .merge-stat__after { font-size: 20px; }
  .moat-quote__text { font-size: clamp(20px, 5.5vw, 24px); }
  .moat-quote { padding: 24px 20px; }
  .foot-brand__logo { height: 32px; }
  .foot-hero__brand .foot-brand__logo { height: 40px; }
}
@media (max-width: 360px) {
  .container { padding: 0 16px; }
  h1.section-title, h2.section-title { font-size: clamp(24px, 8vw, 32px); }
  .insight__title { font-size: 16px; }
  .hub__modules li { grid-template-columns: 24px 1fr 16px; padding: 8px 8px; }
  .hub__mod-name { font-size: 12px; }
  .merge-stat__big { font-size: 24px; flex-wrap: wrap; }
  .island__logo { height: 20px; }
}

/* ====================================================================
   Customer Success Stories
   ==================================================================== */
.success {
  background: var(--bg-tint);
  padding: 80px 0 96px;
}
.success__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
.success__heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.18;
  max-width: 420px;
  margin-top: 8px;
}
.success__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.success__nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(110,60,250,.07);
  border: 1px solid rgba(110,60,250,.2);
  color: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  flex-shrink: 0;
}
.success__nav-btn:disabled { opacity: .28; cursor: default; }
.success__nav-btn:not(:disabled):hover {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}
.success__viewport {
  overflow: hidden;
  border-radius: 16px;
}
.success__track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.success__card {
  flex: 0 0 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--ink-faint);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 3fr 1px 2fr;
  overflow: hidden;
  box-shadow: 0 2px 24px rgba(10,11,30,.06);
}
.success__pane { padding: 44px 40px; }
.success__pane--quote {
  border-left: 4px solid var(--violet);
  display: flex;
  flex-direction: column;
}
.success__divider {
  background: var(--ink-faint);
  align-self: stretch;
}
.success__quote-mark {
  font-size: 72px;
  line-height: .75;
  color: var(--violet);
  font-family: Georgia, 'Times New Roman', serif;
  margin-bottom: 24px;
  user-select: none;
}
.success__testimonial {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 32px;
  flex: 1;
}
.success__highlight {
  background: rgba(110,60,250,.08);
  color: var(--violet);
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 600;
}
.success__company {
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 4px;
}
.success__author { font-size: .75rem; color: var(--ink-mute); }
.success__pane--case { display: flex; flex-direction: column; }
.success__case-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}
.success__read-more {
  font-size: .75rem;
  color: var(--violet);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  transition: opacity .15s;
}
.success__read-more:hover { text-decoration: underline; }
.success__case-item { margin-bottom: 24px; }
.success__case-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.success__case-icon { width: 12px; height: 12px; flex-shrink: 0; }
.success__case-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 4px;
}
.success__case-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.success__metric {
  font-size: 2rem;
  font-weight: 800;
  color: var(--violet);
  margin-top: auto;
  padding-top: 20px;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.success__metric-sub {
  font-size: .75rem;
  color: var(--ink-mute);
  margin-top: 4px;
}
.success__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}
.success__dot {
  height: 8px;
  width: 8px;
  border-radius: 4px;
  background: var(--ink-faint);
  transition: width .25s ease, background .25s ease;
  cursor: pointer;
}
.success__dot.is-active {
  width: 24px;
  background: var(--violet);
}

/* ====================================================================
   Platform Teaser (homepage)
   ==================================================================== */
.plat-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink-faint);
  border: 1px solid var(--ink-faint);
  border-radius: 16px;
  overflow: hidden;
  margin: 32px 0;
}
.plat-stat { background: var(--bg-tint); padding: 28px 24px; min-width: 0; }
.plat-stat__big {
  font-size: clamp(1.5rem, 2.25vw, 2rem);
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}
.plat-stat__arrow { color: var(--violet); font-weight: 300; }
.plat-stat__through { text-decoration: line-through; color: var(--ink-faint); }
.plat-stat__pre { color: var(--ink-mute); font-size: .65em; font-weight: 400; }
.plat-stat__suf { color: var(--ink-mute); font-size: .55em; font-weight: 400; }
.plat-stat__lbl { font-size: .75rem; color: var(--ink-mute); line-height: 1.4; }
.plat-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 900px) {
  .plat-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .success__card { grid-template-columns: 1fr; }
  .success__pane--quote {
    border-left: none;
    border-top: 4px solid var(--violet);
  }
  .success__divider { height: 1px; width: auto; align-self: auto; }
  .success__pane { padding: 28px 28px; }
  .success__testimonial { margin-bottom: 20px; flex: none; }
  .success__metric { padding-top: 4px; margin-top: 20px; }
}
@media (max-width: 600px) {
  .success__pane { padding: 24px 20px; }
  .success__quote-mark { font-size: 52px; margin-bottom: 16px; }
  .success__testimonial { font-size: 1rem; }
  .success__metric { font-size: 1.5rem; }
  .success__case-header { margin-bottom: 16px; }
  .success__header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ====================================================================
   Insights Library Page — filter tabs
   ==================================================================== */
.lib-hero {
  padding: 96px 0 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--ink-faint);
}
.lib-hero .eyebrow { margin-bottom: 12px; }
.lib-hero h1.section-title { margin-bottom: 12px; }
.lib-hero .section-sub { max-width: 560px; }

.lib-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 24px 0 32px;
}
.lib-filter__tab {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid var(--ink-faint);
  background: transparent;
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lib-filter__tab:hover { border-color: var(--violet); color: var(--violet); }
.lib-filter__tab.is-active {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}
.lib-filter__count {
  font-size: .75em;
  background: rgba(110,60,250,.12);
  color: var(--violet);
  border-radius: 8px;
  padding: 1px 8px;
  font-weight: 600;
}
.lib-filter__tab.is-active .lib-filter__count {
  background: rgba(255,255,255,.22);
  color: #fff;
}

/* Library grid — 3 equal columns, no featured */
.insights--lib {
  grid-template-columns: repeat(3, 1fr);
}
.insights--lib .insight--featured {
  grid-column: span 1;
}
.insights--lib .insight--featured .insight__media { aspect-ratio: 16/9; }

/* ====================================================================
   Insights Post Article Page
   ==================================================================== */
.post-hero {
  padding: 100px 0 56px;
  background: var(--bg);
  border-bottom: 1px solid rgba(10,11,30,.07);
}
.post-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  color: var(--ink-mute);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color .15s;
}
.post-hero__back:hover { color: var(--violet); }
.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.post-hero__sector {
  font-size: .75rem;
  color: var(--ink-soft);
}
.post-hero__sep { color: var(--ink-faint); }
.post-hero__time {
  font-size: .75rem;
  color: var(--ink-mute);
}
.post-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  max-width: 760px;
  margin-bottom: 20px;
}
.post-hero__lead {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 680px;
}

.post-body {
  padding: 56px 0 80px;
  max-width: 720px;
}
.post-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-2);
  margin: 40px 0 12px;
}
.post-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.post-body strong { color: var(--ink-2); font-weight: 600; }

.post-coming {
  background: var(--bg-tint);
  border: 1px solid var(--ink-faint);
  border-left: 4px solid var(--violet);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 40px 0;
}
.post-coming__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 8px;
}
.post-coming__text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.post-coming .btn { font-size: 1rem; }

.post-related {
  padding: 48px 0 64px;
  border-top: 1px solid var(--ink-faint);
}
.post-related__heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .insights--lib { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .insights--lib { grid-template-columns: 1fr; }
  .post-coming { padding: 20px; }
}

/* ====================================================================
   Platform Pillar Tiles  (platform.html overview grid)
   ==================================================================== */
.plat-pillars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
}
/* Linking tiles (Enterprise Context Graph, Data Ontology Engine) */
.plat-tile:nth-child(1),
.plat-tile:nth-child(2) { grid-column: span 3; }
/* Display-only tiles */
.plat-tile:nth-child(3),
.plat-tile:nth-child(4),
.plat-tile:nth-child(5) { grid-column: span 2; }

.plat-tile {
  background: var(--bg-tint);
  border: 1px solid var(--ink-faint);
  border-radius: 16px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
a.plat-tile {
  text-decoration: none;
  color: inherit;
  transition: border-color .18s, box-shadow .18s, transform .15s;
  cursor: pointer;
}
a.plat-tile:hover {
  border-color: rgba(110,60,250,.35);
  box-shadow: 0 4px 24px rgba(110,60,250,.1);
  transform: translateY(-2px);
}
.plat-tile .card__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.plat-tile__title {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.3;
  margin: 0;
}
div.plat-tile .plat-tile__title { color: var(--ink-soft); }
.plat-tile__desc {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink-soft);
  flex: 1;
  margin: 0;
}
div.plat-tile .plat-tile__desc { color: var(--ink-mute); }
.plat-tile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.plat-tile__tags span {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 4px 8px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--ink-faint);
  color: var(--ink-mute);
}
.plat-tile__go {
  font-size: .75rem;
  font-weight: 600;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}
@media (max-width: 860px) {
  .plat-pillars { grid-template-columns: repeat(2, 1fr); }
  .plat-tile:nth-child(1),
  .plat-tile:nth-child(2),
  .plat-tile:nth-child(3),
  .plat-tile:nth-child(4),
  .plat-tile:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 600px) {
  .plat-pillars { grid-template-columns: 1fr; }
}

/* ====================================================================
   Platform sub-pages (platform/context-graph, platform/ontology)
   ==================================================================== */
.pillar-hero {
  padding: 96px 0 72px;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--ink-faint);
}
.pillar-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  color: var(--ink-mute);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color .15s;
}
.pillar-hero__back:hover { color: var(--violet); }
.pillar-hero__back .arrow { transform: rotate(180deg); }
.pillar-hero__eyebrow { margin-bottom: 16px; }
.pillar-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.15;
  max-width: 720px;
  margin-bottom: 20px;
}
.pillar-hero__lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 640px;
}
/* Prose section used inside pillar pages */
.pillar-section { padding: 64px 0; }
.pillar-section .s-head { margin-bottom: 32px; }
.pillar-section__body {
  max-width: 700px;
}
.pillar-section__body p {
  font-size: 1.0rem;
  line-height: 1.78;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.pillar-section__body p:last-child { margin-bottom: 0; }
.pillar-section__body strong { color: var(--ink-2); font-weight: 600; }
/* Where-it-sits cross-link block */
.pillar-where {
  background: var(--bg-tint);
  border: 1px solid var(--ink-faint);
  border-radius: 16px;
  padding: 32px 36px;
  margin-top: 32px;
}
.pillar-where__title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.pillar-where__body {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink-soft);
}
.pillar-where__body a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pillar-where__body a:hover { opacity: .8; }
/* Supporting feature cards on pillar pages */
.pillar-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 600px) {
  .pillar-hero { padding: 72px 0 52px; }
  .pillar-section { padding: 48px 0; }
  .pillar-where { padding: 24px 20px; }
}

/* ====================================================================
   Disabled nav / footer items (Insights — content in progress)
   ==================================================================== */
.island__link--disabled {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 450;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  color: var(--ink-mute);
  opacity: .45;
  cursor: default;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.mobile-menu__link--disabled {
  display: block;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-mute);
  opacity: .45;
  cursor: default;
  pointer-events: none;
  user-select: none;
}
.foot-col__head--disabled { opacity: .4; }
.foot-col__list--disabled li span {
  color: var(--ink-faint);
  cursor: default;
  font-size: .875rem;
}
.section-coming-soon {
  padding: 40px 0 16px;
  font-size: .9rem;
  color: var(--ink-mute);
  font-style: italic;
}
