/* === KEY AI — stylesheet (tokens, layout, nav, motion, responsive) === */

:root {
  --bg:         #FFFFFF;
  --bg-white:   #FFFFFF;
  --bg-dark:    #0A0A0A;
  --bg-dark-2:  #141414;
  --bg-gray:    #FFFFFF;
  --bg-gray-2:  #F4F4F2;

  --text:       #0A0A0A;
  --text-2:     #525252;
  --text-3:     #A3A3A3;
  --text-inv:   #FFFFFF;
  --text-inv-2: rgba(255,255,255,0.6);

  --border:     #E0E0DE;
  --border-2:   #CACAC8;
  --border-dark:#2A2A2A;

  --grad-hero: #FFFFFF;
  --grad-dark-card: linear-gradient(145deg, #0a0a0a 0%, #141414 45%, #121212 100%);

  /* Members / Community menu tiles only — monochrome */
  --menu-tile-gold:        #FFFFFF;
  --menu-tile-gold-bright: #FFFFFF;
  --menu-tile-gold-deep:   #E5E5E3;
  --menu-tile-blue:        #141414;
  --menu-tile-blue-mid:    #1a1a1a;
  --menu-tile-blue-deep:   #0A0A0A;

  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-pill:100px;

  --max:        1160px;
  --gap:        14px;

  /* Long-form product pages — monochrome (B&W only) */
  --accent:     #0A0A0A;
  --accent-dim: rgba(10, 10, 10, 0.08);
  --green:      #0A0A0A;
  --red:        #525252;

  /* Key AI brand gold — derived from the logo mark (#E4B508).
     Used sparingly across pages as a single accent so the site reads
     monochrome with a deliberate pop of the brand color. */
  --brand:      #E4B508;
  --brand-rgb:  228, 181, 8;
  --brand-deep: #8a6b00;
  --brand-dim:  rgba(228, 181, 8, 0.12);
  --brand-soft: rgba(228, 181, 8, 0.28);
  --bg-card:    var(--bg-white);
  --bg-raised:  var(--bg-gray);
  --r-lg:       var(--radius-lg);
  --menu-sheet-ease: cubic-bezier(.22, 1, .36, 1);
  --menu-sheet-dur: 0.52s;

  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-spring:   cubic-bezier(.22, 1, .36, 1);

  /* Align menu dropdown with pill nav (gap + pill height + safe area) */
  --nav-pill-gap-top: 20px;
  --nav-pill-height: 52px;
  --nav-pill-stack: calc(env(safe-area-inset-top, 0px) + var(--nav-pill-gap-top) + var(--nav-pill-height));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-pill-stack) + 12px);
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--grad-hero);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }

/* --- PILL NAV --- */
.site-nav {
  position: fixed;
  top: var(--nav-pill-gap-top);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  width: min(1120px, calc(100vw - 32px));
}

.nav-pill {
  background: linear-gradient(145deg, #0c0c0c 0%, #121212 50%, #0a0a0a 100%);
  border-radius: var(--radius-pill);
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 8px 0 16px;
  gap: 0;
  box-shadow:
    0 4px 24px rgba(0,0,0,0.22),
    0 0 0 1px rgba(255,255,255,0.06);
  transition: box-shadow 0.45s var(--ease-spring), transform 0.45s var(--ease-spring);
}
.site-nav.scrolled .nav-pill {
  box-shadow:
    0 8px 32px rgba(0,0,0,0.28),
    0 0 0 1px rgba(255,255,255,0.08);
}

.nav-hamburger {
  width: 36px; height: 36px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; flex-shrink: 0;
  border-radius: var(--radius-pill);
  transition: background .15s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.08); }
.nav-hamburger span {
  display: block; width: 18px; height: 1.5px;
  background: #fff; border-radius: 2px;
  transition: all .3s cubic-bezier(.22,1,.36,1);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.nav-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  transition: opacity 0.2s;
}
.nav-logo-link:hover { opacity: 0.85; }
.nav-logo svg,
.nav-logo img,
.logo-img {
  height: 30px;
  width: auto;
  max-width: min(160px, 36vw);
  object-fit: contain;
}
.nav-cta {
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f5 100%);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, transform 0.2s var(--ease-spring), box-shadow 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,0.85) inset, 0 2px 8px rgba(0,0,0,0.08);
}
.nav-cta:hover {
  background: linear-gradient(180deg, #fafafa 0%, #e8e8ec 100%);
  transform: scale(0.98);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 0 0 1px rgba(var(--brand-rgb), 0.55),
    0 0 0 4px rgba(var(--brand-rgb), 0.16),
    0 4px 16px rgba(0,0,0,0.1);
}
.nav-cta:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* ── MENU — compact panel (neutral chrome; gold/blue = members + community tiles only) ── */
.menu-overlay {
  position: fixed;
  inset: 0;
  min-height: 100dvh;
  z-index: 1100;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: var(--nav-pill-stack) 16px 28px;
  box-sizing: border-box;
}
.menu-overlay.open {
  pointer-events: all;
  /* Solid dark underlay so body/hero never shows above or around the scrim (fixes white band) */
  background: linear-gradient(180deg, #0a0a0a 0%, #101010 45%, #0a0a0a 100%);
}

.menu-overlay__dim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--nav-pill-stack);
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--menu-sheet-dur) var(--menu-sheet-ease);
  cursor: pointer;
}
.menu-overlay.open .menu-overlay__dim {
  opacity: 1;
  pointer-events: auto;
}

.menu-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(680px, calc(100vw - 32px));
  flex: 0 1 auto;
  max-height: min(calc(100dvh - var(--nav-pill-stack) - 36px), 680px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: linear-gradient(180deg, #101010 0%, #0a0a0a 50%, #0c0c0c 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.2) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  transform: translate3d(0, -14px, 0);
  opacity: 0;
  transition:
    transform var(--menu-sheet-dur) var(--menu-sheet-ease),
    opacity var(--menu-sheet-dur) var(--menu-sheet-ease);
  will-change: transform, opacity;
  padding-bottom: env(safe-area-inset-bottom, 0);
  overflow: hidden;
}
.menu-overlay.open .menu-sheet {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.menu-sheet .menu-body > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.42s var(--ease-out-expo),
    transform 0.48s var(--menu-sheet-ease);
}
.menu-overlay.open .menu-sheet .menu-body > *:nth-child(1) { transition-delay: 0.05s; }
.menu-overlay.open .menu-sheet .menu-body > *:nth-child(2) { transition-delay: 0.09s; }
.menu-overlay.open .menu-sheet .menu-body > *:nth-child(3) { transition-delay: 0.13s; }
.menu-overlay.open .menu-sheet .menu-body > *:nth-child(4) { transition-delay: 0.17s; }
.menu-overlay.open .menu-sheet .menu-body > *:nth-child(5) { transition-delay: 0.21s; }
.menu-overlay.open .menu-sheet .menu-body > *:nth-child(6) { transition-delay: 0.25s; }
.menu-overlay.open .menu-sheet .menu-body > * {
  opacity: 1;
  transform: translateY(0);
}

.menu-body {
  padding: 0;
  overflow-y: auto;
  min-height: 0;
  align-content: start;
}

/* Bento grid: platform | community infra | knowledge (3 cols) + tiles + company */
.menu-body.menu-body--bento {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 1.15fr)
    minmax(132px, 188px) minmax(132px, 188px);
  grid-template-rows: auto auto;
  gap: 12px;
  max-width: 100%;
  margin: 0 auto;
  align-items: stretch;
  padding: 16px 22px 22px;
  overflow-y: auto;
  min-height: 0;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.menu-panel {
  border-radius: var(--radius-lg);
  padding: 20px 18px 18px;
  text-align: left;
}
.menu-panel-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
}

.menu-panel--bento-nav {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  padding: 16px 14px 14px;
}
.menu-panel--platform {
  grid-column: 1;
  grid-row: 1;
}
.menu-panel--infra {
  grid-column: 2;
  grid-row: 1;
}
.menu-panel--knowledge {
  grid-column: 3;
  grid-row: 1;
}
.menu-panel--bento-nav .menu-group-title {
  color: rgba(255, 255, 255, 0.38);
}
.menu-panel--bento-nav .menu-link {
  color: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.menu-panel--bento-nav .menu-link:hover {
  color: #fff;
}
.menu-panel--bento-nav .menu-link-arr {
  color: rgba(255, 255, 255, 0.35);
}
.menu-panel--bento-nav .menu-link:hover .menu-link-arr {
  color: rgba(255, 255, 255, 0.75);
}
.menu-panel--bento-nav .menu-panel-head {
  margin-bottom: 8px;
}
.menu-panel--bento-nav .menu-group:only-child .menu-link:first-of-type {
  padding-top: 4px;
}
.menu-panel--bento-nav .menu-group .menu-link {
  font-size: clamp(15px, 1.15vw, 17px);
  padding: 8px 0;
}
.menu-panel--bento-nav .menu-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
}

.menu-tile {
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  text-align: left;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
  box-sizing: border-box;
}
.menu-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.menu-tile:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}
.menu-tile--members:focus-visible {
  outline-color: var(--menu-tile-blue-deep);
}
.menu-tile--members {
  grid-column: 4;
  grid-row: 1;
  background: linear-gradient(145deg, #FFFFFF 0%, #F4F4F2 42%, #E5E5E3 100%);
  color: var(--menu-tile-blue-deep);
  border: 1px solid var(--border-2);
}
.menu-tile--community {
  grid-column: 5;
  grid-row: 1;
  background: linear-gradient(155deg, #1a1a1a 0%, var(--menu-tile-blue) 55%, var(--menu-tile-blue-deep) 100%);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.menu-tile--community .menu-tile-kicker {
  color: var(--menu-tile-gold);
  opacity: 1;
}
.menu-tile--community .menu-tile-title {
  color: rgba(255, 255, 255, 0.95);
}
.menu-tile--community .menu-tile-arr {
  color: var(--menu-tile-gold-bright);
}
.menu-tile-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
}
.menu-tile--community .menu-tile-kicker {
  opacity: 0.9;
}
.menu-tile-title {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-top: auto;
  padding-right: 28px;
}
.menu-tile-arr {
  position: absolute;
  bottom: 18px;
  right: 18px;
  font-size: 15px;
  font-weight: 700;
  opacity: 0.85;
}

.menu-panel--company {
  grid-column: 1 / -1;
  grid-row: 2;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

/* Desktop bento: must follow base .menu-panel / .menu-tile rules or grid placement is overridden */
@media (min-width: 1025px) {
  .menu-sheet {
    max-width: min(1180px, calc(100vw - 64px));
    max-height: min(calc(100dvh - var(--nav-pill-stack) - 40px), 800px);
  }
  .menu-body.menu-body--bento {
    padding: 18px 28px 26px;
    gap: 14px;
    grid-template-columns:
      minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr)
      minmax(200px, 280px);
    grid-template-rows: auto auto auto;
  }
  .menu-panel--platform,
  .menu-panel--infra,
  .menu-panel--knowledge {
    grid-row: 1 / 3;
  }
  .menu-tile--members {
    grid-column: 4;
    grid-row: 1;
    min-height: 132px;
  }
  .menu-tile--community {
    grid-column: 4;
    grid-row: 2;
    min-height: 132px;
  }
  .menu-panel--company {
    grid-row: 3;
  }
}

.menu-panel--company .menu-panel-head {
  margin-bottom: 14px;
}
.menu-company-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.menu-company-links a {
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s, transform 0.2s var(--ease-spring), color 0.2s, border-color 0.2s;
}
.menu-company-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.menu-group {
  margin-bottom: 18px;
}
.menu-group:last-child {
  margin-bottom: 0;
}
.menu-group-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 2px;
  margin-top: 6px;
}
.menu-group:first-of-type .menu-group-title {
  margin-top: 0;
}
.menu-group .menu-link {
  font-size: 19px;
  padding: 11px 0;
}

.menu-body.menu-body--sheet {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 40px;
}
.menu-sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.menu-sheet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s, transform 0.25s var(--ease-spring);
}
.menu-sheet-btn:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}
.menu-sheet-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
}
.menu-mirror-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
}
.menu-mirror-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.menu-mirror-tile {
  display: block;
  padding: 14px 14px 12px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.2s, background 0.2s, transform 0.25s var(--ease-spring);
}
.menu-mirror-tile:hover {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}
.menu-mirror-t {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.02em;
}
.menu-mirror-d {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  line-height: 1.4;
  margin-top: 4px;
}
.menu-body--sheet .menu-bento {
  margin-top: 8px;
}

.menu-col { display: flex; flex-direction: column; gap: 0; }
.menu-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 8px;
}
.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  transition: color 0.2s, transform 0.35s var(--ease-spring);
  cursor: pointer;
}
.menu-link > span:first-child {
  min-width: 0;
  flex: 1;
}
.menu-link:hover {
  color: #fff;
  transform: translateX(4px);
}
.menu-link-arr { font-size: 14px; flex-shrink: 0; opacity: 0; transition: opacity .15s, transform .15s; }
.menu-link:hover .menu-link-arr { opacity: 1; transform: translate(3px,-3px); }

.menu-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
  display: block;
  margin-top: 2px;
  letter-spacing: 0;
}
.menu-soon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.85);
  background: #fff;
  border-radius: 999px;
  line-height: 1.4;
}
.menu-panel--bento-nav .menu-soon {
  background: rgba(255, 255, 255, 0.92);
  color: #0A0A0A;
}
/* In-page "Coming soon" badge (for product page heroes) */
.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}
.soon-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--text);
  animation: soonPulse 1.8s ease-in-out infinite;
}
@keyframes soonPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ── MENU BENTO CARDS (right column) ── */
.menu-bento { display: flex; flex-direction: column; gap: 10px; }
.menu-bento-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}
.menu-bento-card:hover { transform: scale(0.985) translateY(-2px); }
.menu-bento-card.dark {
  background: linear-gradient(160deg, #1a1a1a 0%, #141414 100%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
}
.menu-bento-card.dark:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}
.menu-bento-card.light {
  background: linear-gradient(165deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.12);
}
.menu-bento-card.light:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.menu-bento-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
}
.menu-bento-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.menu-bento-card-arr {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  transition: all .2s;
}
.menu-bento-card:hover .menu-bento-card-arr { color: #fff; transform: translate(3px,-3px); }

/* ════════════════════════════════════════════════
   LAYOUT
════════════════════════════════════════════════ */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 96px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Abstract network mesh — canvas draws nodes/edges; sits behind copy.
   Used on the homepage hero and on `page-hero` / `product-hero` inner pages.
   The canvas is always absolutely positioned inside its host section and
   content is lifted with z-index. */
.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

/* Host containers for the network mesh on inner pages. Establish a stacking
   context, clip the mesh to the section bounds, and lift inline content
   above the canvas. The homepage .hero already has its own rules. */
.page-hero,
.product-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero > .wrap,
.page-hero > .page-hero-inner,
.product-hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.38;
}
.hero::before {
  width: min(72vw, 620px);
  height: min(72vw, 620px);
  top: -12%;
  right: -18%;
  background: radial-gradient(circle, rgba(0,0,0,0.07) 0%, rgba(0,0,0,0.02) 45%, transparent 70%);
  animation: heroOrbA 18s var(--ease-spring) infinite alternate;
}
.hero::after {
  width: min(60vw, 480px);
  height: min(60vw, 480px);
  bottom: 5%;
  left: -15%;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, rgba(0,0,0,0.03) 50%, transparent 68%);
  animation: heroOrbB 22s var(--ease-spring) infinite alternate;
}
.hero > .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fafaf9 100%);
  border: 1px solid transparent;
  background-clip: padding-box;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-2);
  margin-bottom: 28px;
  box-shadow:
    0 0 0 1px var(--border),
    0 4px 16px rgba(0,0,0,0.05),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: box-shadow 0.35s var(--ease-spring), transform 0.35s var(--ease-spring);
}
.hero-badge:hover {
  box-shadow:
    0 0 0 1px var(--border-2),
    0 8px 24px rgba(0,0,0,0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transform: translateY(-1px);
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(var(--brand-rgb), 0.55);
  animation: pulse 2s ease-in-out infinite;
}

.hero-h {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -4px;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-h em { font-style: normal; color: var(--text-2); }

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Decorative shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.07;
}

/* ════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; border-radius: var(--radius-pill);
  transition: all .2s; cursor: pointer; white-space: nowrap;
}
.btn-dark {
  background: var(--bg-dark);
  color: var(--text-inv);
  font-size: 15px; padding: 13px 26px;
}
.btn-dark:hover { background: #222; transform: scale(0.98); }
.btn-light {
  background: var(--bg-white);
  color: var(--text);
  font-size: 15px; padding: 13px 26px;
  border: 1px solid var(--border);
}
.btn-light:hover { background: var(--bg-gray); border-color: var(--border-2); }
.btn-ghost-inv {
  background: rgba(255,255,255,0.1);
  color: var(--text-inv);
  font-size: 15px; padding: 13px 26px;
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost-inv:hover { background: rgba(255,255,255,0.18); }
.btn-sm { font-size: 13px; padding: 9px 18px; }
.btn-arr { font-size: 14px; transition: transform .2s; }
.btn:hover .btn-arr { transform: translate(2px,-2px); }

/* ════════════════════════════════════════════════
   TICKER
════════════════════════════════════════════════ */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 20px 0;
  background: var(--bg-white);
}
.ticker-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker-item {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
.ticker-item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Problem — old networking vs Key AI (legacy site parity) */
.problem-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  max-width: 900px;
  margin: 0 auto;
}
.problem-col {
  border-radius: 16px;
  padding: 24px 22px;
  border: 1px solid var(--border);
}
.problem-col--bad {
  background: rgba(10, 10, 10, 0.02);
  border-color: var(--border);
}
.problem-col--good {
  background: rgba(10, 10, 10, 0.04);
  border-color: var(--border-2);
}
.problem-col-head {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.problem-col--bad .problem-col-head { color: var(--text-2); }
.problem-col--good .problem-col-head { color: var(--text); }
.problem-row {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.problem-row:last-child { border-bottom: none; }
@media (max-width: 768px) {
  .problem-split { grid-template-columns: 1fr; }
}

/* Compare columns (community product & long-form pages) */
.compare-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-col {
  border-radius: 16px;
  padding: 28px;
}
.compare-col.bad {
  background: rgba(10, 10, 10, 0.02);
  border: 1px solid var(--border);
}
.compare-col.good {
  background: rgba(10, 10, 10, 0.04);
  border: 1px solid var(--border-2);
}
.compare-head {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.compare-head.bad { color: var(--text-2); }
.compare-head.good { color: var(--text); }
@media (max-width: 768px) {
  .compare-split { grid-template-columns: 1fr; }
}

/* Employer / trust wordmark row */
.trust-logos {
  text-align: center;
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}
.trust-logos-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}
/* Scrolling marquee for the trust strip. Duplicate the brand list inside
   .trust-scroll-track so a continuous loop is achieved by translating the
   track by -50% (the second list slides into the first list's start). */
.trust-scroll {
  --trust-scroll-duration: 38s;
  --trust-scroll-gap: 56px;
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
          mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.trust-scroll-track {
  display: flex;
  width: max-content;
  animation: trust-scroll var(--trust-scroll-duration) linear infinite;
  will-change: transform;
}
.trust-scroll-list {
  display: flex;
  align-items: center;
  gap: var(--trust-scroll-gap);
  list-style: none;
  margin: 0;
  padding: 0 var(--trust-scroll-gap) 0 0; /* right padding becomes the boundary gap between copies */
  flex: 0 0 auto;
}
.trust-logo-word {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: -0.02em;
  white-space: nowrap;
  opacity: 0.78;
  transition: opacity 160ms ease, color 160ms ease;
}
.trust-logo-word--serif {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.trust-scroll:hover .trust-scroll-track { animation-play-state: paused; }
.trust-scroll:hover .trust-logo-word { opacity: 1; }
@keyframes trust-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 768px) {
  .trust-scroll { --trust-scroll-duration: 26s; --trust-scroll-gap: 36px; }
  .trust-logo-word { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-scroll-track { animation: none; transform: none; }
  .trust-scroll {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
  }
}

.hero-p-sub {
  font-size: 15px;
  color: var(--text-3);
  line-height: 1.65;
  max-width: 560px;
  margin-top: -8px;
}

/* Long-form product pages — section labels, lists, mock chrome */
.product-page-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 14px;
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.feat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feat-list li {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  padding-left: 22px;
  position: relative;
}
.feat-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
  font-size: 12px;
}
.mock-screen {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.07);
}
.mock-screen-bar {
  background: var(--bg-gray);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.mock-screen-title {
  font-size: 11px;
  color: var(--text-3);
  margin-left: 8px;
  flex: 1;
}
.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mock-dot.red { background: #c4c4c4; }
.mock-dot.yel { background: #a3a3a3; }
.mock-dot.grn { background: #737373; }
.mock-screen-inner { padding: 16px; }
.process-flow { max-width: 720px; }
.process-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.process-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.process-step-head {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.process-step-body {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}
.product-page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .product-page-hero-grid {
    grid-template-columns: 1fr;
  }
}
.connector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.connector-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.connector-card:hover {
  border-color: rgba(10, 10, 10, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}
.connector-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--bg-gray);
  border: 1px solid var(--border-2);
  margin-bottom: 10px;
}
.connector-name { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.connector-desc { font-size: 12px; color: var(--text-2); line-height: 1.5; }
.connector-status {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.connector-status.live { color: var(--green); }
.connector-status.soon { color: var(--text-3); }
.gradient-text {
  background: linear-gradient(135deg, var(--text) 0%, var(--text-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.stat-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat-strip-item {
  background: var(--bg-white);
  padding: 32px 22px;
  text-align: center;
}
.stat-strip-num {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.stat-strip-label {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 8px;
  line-height: 1.35;
}
@media (max-width: 768px) {
  .stat-strip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .stat-strip-grid { grid-template-columns: 1fr; }
}
.newsletter-preview {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 420px;
}
.newsletter-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-gray);
}
.newsletter-body { padding: 16px 18px; }
.newsletter-section { margin-bottom: 16px; }
.newsletter-section-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 8px;
}
.newsletter-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 6px;
}
.newsletter-item-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 6px;
  flex-shrink: 0;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ════════════════════════════════════════════════
   FILMSTRIP — multi-step product screenshot grid
   Used on events / handshake / opportunities to show a 3-4 step flow.
   Without this rule the 1024×728 screenshots render at full natural size.
════════════════════════════════════════════════ */
.hs-filmstrip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.hs-filmstrip--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hs-filmstrip--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hs-filmstrip-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hs-filmstrip-shot {
  position: relative;
  background: var(--bg-gray-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1024 / 728;
}
.hs-filmstrip-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hs-filmstrip-cap {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.5;
  letter-spacing: -0.01em;
}
@media (max-width: 900px) {
  .hs-filmstrip,
  .hs-filmstrip--4,
  .hs-filmstrip--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 560px) {
  .hs-filmstrip,
  .hs-filmstrip--4,
  .hs-filmstrip--3 {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════
   PRODUCT PAGE PARITY (v2 narrative blocks, v2.1 shell)
════════════════════════════════════════════════ */
.product-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-pill-stack) + 40px) 0 88px;
  position: relative;
  overflow: hidden;
}
.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}
.hero-glow-orb.gold {
  background: rgba(10, 10, 10, 0.14);
  width: 560px;
  height: 380px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-glow-orb.blue {
  background: rgba(10, 10, 10, 0.06);
  width: 380px;
  height: 280px;
  top: 15%;
  right: -120px;
}
.hero-glow-orb.green {
  background: rgba(10, 10, 10, 0.08);
  width: 320px;
  height: 240px;
  bottom: -60px;
  left: -80px;
}
.product-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-dim);
  border: 1px solid var(--brand-soft);
  border-radius: 24px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.product-hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(var(--brand-rgb), 0.55);
  animation: pulse 2s ease-in-out infinite;
  flex: 0 0 auto;
}
.gradient-text--brand {
  /* Hero-headline accent — Key AI logo gold with a subtle metallic shimmer.
     The brand gold (#E4B508) sits at the ends; a richer mid-tone keeps the
     phrase legible on light backgrounds and feels premium on dark ones. */
  background: linear-gradient(135deg, #E4B508 0%, #B98F05 50%, #E4B508 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  /* Fallback for older browsers that ignore background-clip on text. */
  -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .gradient-text--brand { color: var(--brand); }
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-2);
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.poll-question {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text);
}
.poll-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.poll-option {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
}
.poll-option.winner {
  border-color: rgba(10, 10, 10, 0.45);
}
.poll-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--accent-dim);
  border-radius: 9px;
}
.poll-option-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}
.poll-option-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.poll-option-pct {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.poll-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-3);
}
.library-entry {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.library-entry:last-child {
  border-bottom: none;
}
.library-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-gray);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.library-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--text);
}
.library-meta {
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.library-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 5px;
  padding: 2px 7px;
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.icon-tile {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.icon-tile:hover {
  border-color: rgba(10, 10, 10, 0.35);
  transform: translateY(-2px);
}
.icon-tile-ico {
  font-size: 24px;
  margin-bottom: 10px;
}
.icon-tile-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.icon-tile-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}
.trust-note {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 16px;
}
.mock-screen--float {
  animation: floatY 5s ease-in-out infinite;
}
.parity-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.parity-card-h {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text);
}
.parity-muted-band {
  background: rgba(10, 10, 10, 0.04);
}

/* Library — "Everything in Library": tighter section rhythm + denser icon grid */
section.library-features-section.section {
  padding-bottom: 56px;
}
section.library-everything-band.section {
  padding-top: 44px;
  padding-bottom: 64px;
}
.icon-grid--library-everything {
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px;
}
.library-everything-band .icon-tile {
  padding: 14px 12px;
}
.library-everything-band .icon-tile-ico {
  font-size: 22px;
  margin-bottom: 8px;
}
@media (min-width: 900px) {
  .icon-grid--library-everything {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pull-quote {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  padding: 28px 32px;
  border-left: 3px solid var(--accent);
  background: var(--bg-white);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  border: 1px solid var(--border);
  border-left-width: 3px;
}
.pull-quote cite {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-top: 12px;
  font-style: normal;
}
.newsletter-preview--hero .newsletter-header {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.1), rgba(10, 10, 10, 0.03));
  border-bottom: 1px solid rgba(10, 10, 10, 0.15);
}
.newsletter-item-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-hero {
    min-height: auto;
    padding-top: calc(var(--nav-pill-stack) + 24px);
  }
  .library-feature-flip {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
  }
}
@media (max-width: 640px) {
  .icon-grid {
    grid-template-columns: 1fr;
  }
  .icon-grid.icon-grid--library-everything {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.revenue-stream-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .revenue-stream-grid {
    grid-template-columns: 1fr;
  }
}
.parity-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .parity-three-col {
    grid-template-columns: 1fr;
  }
}


/* Members / Community deep dives (persona tabs, chat mocks, feature showcase) */
.persona-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.persona-tab {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  background: var(--bg-white);
}
.persona-tab:hover {
  border-color: rgba(10, 10, 10, 0.35);
  color: var(--text);
}
.persona-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.persona-panel {
  display: none;
}
.persona-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}
.persona-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .persona-layout {
    grid-template-columns: 1fr;
  }
}
.member-point {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.member-point strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text);
}
.member-point span {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}
.member-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.persona-quote {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(10, 10, 10, 0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 14px;
  font-style: italic;
  color: var(--text-2);
  line-height: 1.65;
}
.persona-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-style: normal;
  color: var(--text-3);
}
.chat-ui {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}
.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.chat-msg.user {
  flex-direction: row-reverse;
}
.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent-dim);
  border: 1px solid rgba(10, 10, 10, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.chat-bubble {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 4px 14px 14px 14px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
  max-width: min(340px, 100%);
  color: var(--text-2);
}
.chat-msg.user .chat-bubble {
  background: rgba(10, 10, 10, 0.09);
  border-color: rgba(10, 10, 10, 0.2);
  border-radius: 14px 4px 14px 14px;
  color: var(--text);
}
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.feature-showcase + .feature-showcase {
  margin-top: 56px;
}
.feature-showcase.flip {
  direction: rtl;
}
.feature-showcase.flip > * {
  direction: ltr;
}
@media (max-width: 900px) {
  .feature-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.compare-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.compare-stack-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
}
.compare-stack-row.bad {
  background: rgba(10, 10, 10, 0.04);
  border: 1px solid rgba(10, 10, 10, 0.1);
}
.compare-stack-row.good {
  background: rgba(10, 10, 10, 0.04);
  border: 1px solid rgba(10, 10, 10, 0.15);
}
.compare-stack-ico {
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1.2;
}
.compare-stack-title {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2px;
  color: var(--text);
}
.compare-stack-desc {
  font-size: 11.5px;
  color: var(--text-2);
  line-height: 1.45;
}
.mock-dir-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.mock-dir-search input {
  flex: 1;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text);
  font-family: inherit;
}
.mock-dir-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.mock-dir-tag {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--bg-gray);
  color: var(--text-2);
}
.mock-dir-tag--on {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.mock-dir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mock-dir-card {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px;
  transition: border-color 0.15s;
}
.mock-dir-card:hover {
  border-color: rgba(10, 10, 10, 0.35);
}
.mock-dir-card-top {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}
.mock-dir-av {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--bg-gray-2), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.mock-dir-name {
  font-size: 12px;
  font-weight: 700;
}
.mock-dir-role {
  font-size: 10.5px;
  color: var(--text-3);
}
.mock-dir-link {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}
.admin-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.admin-kpi {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 12px;
  text-align: center;
}
.admin-kpi-val {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.admin-kpi-lbl {
  font-size: 10.5px;
  color: var(--text-3);
  margin-top: 4px;
}
.admin-kpi-note {
  font-size: 10px;
  margin-top: 2px;
  color: var(--green);
  font-weight: 600;
}
.admin-bar {
  margin-bottom: 14px;
}
.admin-bar-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 12px;
}
.admin-bar-track {
  background: var(--bg-gray);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}
.admin-bar-fill {
  height: 100%;
  border-radius: 4px;
}
.admin-bar-fill--green {
  background: var(--green);
}
.admin-bar-fill--accent {
  background: var(--accent);
}
.admin-bar-fill--muted {
  background: var(--text-3);
}
.opp-match-row {
  background: rgba(10, 10, 10, 0.04);
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 10px;
  padding: 12px;
}
.opp-match-row + .opp-match-row {
  margin-top: 10px;
}
.opp-match-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.opp-match-title {
  font-size: 13px;
  font-weight: 600;
}
.opp-match-co {
  font-size: 12px;
  color: var(--text-3);
}
.opp-match-pct {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}
.opp-match-via {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 6px;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
@media (max-width: 900px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════
   SECTION WRAPPER
════════════════════════════════════════════════ */
.section {
  padding: 100px 0;
}
.section-lg {
  padding: 132px 0;
}
/* After product hero: stats strip — avoids collapsed top padding */
.section--post-hero {
  padding-top: 64px;
  padding-bottom: 88px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 12px;
  display: block;
}
.section-dark .section-label,
.bcard-dark .section-label {
  /* Override per-element inline rgba(255,255,255,0.x) colors that were used
     before the brand token was introduced. */
  color: var(--brand) !important;
}

/* Blog post tags ("Announcement", "What's New", "Blog") — gold accents.
   The per-article inline <style> blocks set these as neutral gray;
   override them globally so every blog/article picks up the brand color. */
/* Chip — must not stretch to full card width inside block links (a.bcard) */
.blog-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 10px;
  background: var(--brand-dim) !important;
  color: var(--brand-deep) !important;
}
.blog-tag.inv {
  background: rgba(var(--brand-rgb), 0.16) !important;
  color: var(--brand) !important;
}

/* Dark blog bento tiles use `.blog-title` / `.blog-excerpt` (not `.bcard-h3` / `.bcard-p`, which default to
   light). Without explicit colors, `<a class="bcard-dark">` inherits `body` text — unreadable. */
a.bcard-dark {
  color: rgba(255, 255, 255, 0.92);
}
a.bcard-dark .blog-title,
a.bcard-dark h2.blog-title,
.bcard-dark .blog-title {
  color: rgba(255, 255, 255, 0.96) !important;
}
a.bcard-dark .blog-excerpt,
a.bcard-dark p.blog-excerpt,
.bcard-dark .blog-excerpt {
  color: rgba(255, 255, 255, 0.78) !important;
}
a.bcard-dark .blog-date,
.bcard-dark .blog-date {
  color: rgba(255, 255, 255, 0.56) !important;
}
a.bcard-dark .blog-read,
.bcard-dark .blog-read {
  color: var(--brand) !important;
}

/* Blog landing (/blog): light tiles are full-card links — set base ink. */
.blog-page a.bcard-white,
.blog-page a.bcard-gray {
  color: var(--text);
}
.blog-page .blog-title {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.45px;
  line-height: 1.22;
  margin: 0 0 8px;
}
.blog-page .blog-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
}
.blog-page .blog-date {
  font-size: 13px;
  color: var(--text-3);
  margin: 0;
}
.blog-page .blog-read {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-deep);
  margin: 0;
}

/* Blog index — hero copy sits over the mesh; keep measure + legibility */
.blog-page .blog-page-hero .wrap {
  max-width: 720px;
}
.blog-page .blog-page-hero .blog-tag--hero {
  margin: 0 0 14px;
}
/* WebKit can paint gradient-clipped text invisible on light heroes — use solid gold */
.blog-page .blog-page-hero .page-hero-h .gradient-text--brand {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: currentColor;
  color: var(--brand-deep);
}
.blog-page .blog-page-hero .page-hero-h,
.blog-page .blog-page-hero .page-hero-sub {
  text-shadow:
    0 1px 0 rgb(255 255 255 / 0.92),
    0 0 20px rgb(255 255 255 / 0.55);
}

.section-h {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 540px;
}

/* Document heroes (legal, blog) — same pattern as marketing `HeroCentered` (careers) */
.doc-hero.section {
  padding: 110px 0 56px;
}
.doc-hero__inner {
  max-width: 840px;
}
.doc-hero .section-h2 {
  margin-bottom: 20px;
}
.doc-hero .section-sub {
  margin-bottom: 0;
}
.doc-hero__deck {
  white-space: pre-line;
}
.doc-hero__meta {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.55;
}
.doc-hero__meta strong {
  color: var(--text-2);
  font-weight: 700;
}
.doc-hero__byline {
  font-size: 14px;
  color: var(--text-3);
  margin: 0 0 20px;
  line-height: 1.45;
}

/* ════════════════════════════════════════════════
   LEGAL + BLOG ARTICLE LAYOUT
   Legal + blog titles: `.doc-hero` (see above). Shared `.article-prose` for
   Portable Text (was only in SectionRichProse scoped styles before).
════════════════════════════════════════════════ */

.section.article-body {
  padding-top: 0;
  padding-bottom: 96px;
}
.article-body-wrap {
  max-width: 800px;
}

.article-prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 18px;
}
.article-prose p:last-child {
  margin-bottom: 0;
}
.article-prose h2 {
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  margin: 36px 0 14px;
  scroll-margin-top: 96px;
}
.article-prose h2:first-child {
  margin-top: 0;
}
.article-prose h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 28px 0 10px;
  scroll-margin-top: 88px;
}
.article-prose h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin: 22px 0 8px;
}
.article-prose ul,
.article-prose ol {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  padding-left: 22px;
  margin: 0 0 18px;
}
.article-prose li {
  margin-bottom: 6px;
}
.article-prose .prose-list {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  padding-left: 22px;
  margin: 0 0 18px;
}
.article-prose .prose-list li {
  margin-bottom: 6px;
}
.article-prose strong {
  color: var(--text);
  font-weight: 700;
}
.article-prose a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-prose blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--border-2);
  background: var(--bg-gray);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.article-prose blockquote p {
  margin: 0;
}

.article > .article-body {
  padding: 56px 0 72px;
}
.article .doc-hero + .article-body {
  padding-top: 40px;
}
.article .doc-hero + .article-featured + .article-body {
  padding-top: 40px;
}
.article > .article-body > .article-prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(8px, 2vw, 12px);
}
.article .article-featured {
  padding: 0 0 8px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.article .article-featured-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 clamp(8px, 2vw, 12px) 40px;
}
.article .article-featured img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.article-more {
  background: var(--bg-gray);
  border-top: 1px solid var(--border);
  padding: 64px 0 96px;
}
.article-more h3 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--text);
  margin: 0 0 24px;
}
.article-more .blog-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 6px;
}
.article-more .blog-date {
  font-size: 13px;
  color: var(--text-3);
}
.article-more a.bcard {
  color: var(--text);
}

@media (max-width: 640px) {
  .doc-hero.section {
    padding: 88px 0 44px;
  }
}

/* ════════════════════════════════════════════════
   BENTO GRID
════════════════════════════════════════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

/* span helpers */
.s-3  { grid-column: span 3; }
.s-4  { grid-column: span 4; }
.s-5  { grid-column: span 5; }
.s-6  { grid-column: span 6; }
.s-7  { grid-column: span 7; }
.s-8  { grid-column: span 8; }
.s-9  { grid-column: span 9; }
.s-12 { grid-column: span 12; }

/* BENTO CARD BASE */
.bcard {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
}
.bcard::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,0,0,0.12), rgba(0,0,0,0.05), rgba(0,0,0,0.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease-spring);
  pointer-events: none;
}
.bcard:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}
.bcard:hover::before { opacity: 1; }
.bcard-dark:hover,
.bcard-dark-2:hover {
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Card flavors */
.bcard-white {
  background: var(--bg-white);
  border: 1px solid var(--border);
}
.bcard-gray {
  background: var(--bg-gray);
  border: 1px solid var(--border);
}
.bcard-dark {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-dark);
}
.bcard-dark-2 {
  background: linear-gradient(155deg, #161616 0%, #121212 55%, #141414 100%);
  border: 1px solid #222;
  /* Default light copy on dark tiles; explicit .bcard-p / .dark-text etc. still override */
  color: #fff;
}
.bcard-outline {
  background: transparent;
  border: 1px solid var(--border-2);
}

/* Card padding variants */
.bp-sm  { padding: 20px; }
.bp-md  { padding: 28px; }
.bp-lg  { padding: 36px; }
.bp-xl  { padding: 48px; }

/* Card content */
.bcard-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 4px 9px;
  margin-bottom: 14px;
}
.bcard-tag-light { background: var(--bg-gray-2); color: var(--text-2); }
.bcard-tag-dark  { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }

.bcard-h {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 10px;
}
.bcard-h-sm {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.bcard-body {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}
.bcard-body-inv {
  font-size: 14px;
  color: var(--text-inv-2);
  line-height: 1.6;
}

/* Arrow corner badge */
.bcard-arr {
  position: absolute;
  top: 22px; right: 22px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: all .2s;
}
.bcard-arr-light { background: var(--bg-gray); color: var(--text-2); }
.bcard-arr-dark  { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
.bcard:hover .bcard-arr { transform: translate(2px,-2px); }
.bcard:hover .bcard-arr-light { background: var(--bg-dark); color: #fff; }
.bcard:hover .bcard-arr-dark  { background: rgba(255,255,255,0.2); color: #fff; }

/* Stat display */
.bcard-stat {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 6px;
}
.bcard-stat-label {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}
.bcard-stat-inv { color: #fff; }
.bcard-stat-label-inv { color: var(--text-inv-2); font-size: 13px; font-weight: 500; }

/* Feature list inside card */
.bcard-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 18px;
}
.bcard-list li {
  font-size: 13.5px;
  color: var(--text-2);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}
.bcard-list li::before { content: '→'; color: var(--text-3); flex-shrink: 0; font-size: 12px; margin-top: 1px; }
.bcard-list-inv li { color: var(--text-inv-2); }
.bcard-list-inv li::before { color: rgba(255,255,255,0.25); }

/* UI MOCK inside cards */
.ui-mock {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 20px;
}
.ui-mock-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ui-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ui-dot.r { background: #c4c4c4; }
.ui-dot.y { background: #a3a3a3; }
.ui-dot.g { background: #737373; }
.ui-mock-title { font-size: 10.5px; color: var(--text-3); margin-left: 6px; }

/* Chat bubbles */
.chat-row { padding: 10px 14px; display: flex; gap: 8px; align-items: flex-start; }
.chat-row + .chat-row { border-top: 1px solid var(--border); }
.chat-avatar-sm {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--bg-dark);
  color: #fff; font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.chat-text { font-size: 12px; color: var(--text-2); line-height: 1.5; flex: 1; }
.chat-text strong { color: var(--text); }

/* Person row (connection result) */
.person-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
}
.person-av {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--bg-gray-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.person-name { font-size: 12.5px; font-weight: 600; }
.person-role { font-size: 11px; color: var(--text-3); }
.person-badge {
  margin-left: auto;
  font-size: 10px; font-weight: 700;
  background: var(--bg-gray-2);
  border-radius: 6px; padding: 2px 7px;
  color: var(--text-2);
  white-space: nowrap;
}

/* Handshake visual */
.hs-parties {
  display: flex; align-items: center; gap: 0;
  margin: 20px 0 14px;
}
.hs-person {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  flex: 1;
}
.hs-person-av {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.hs-person-name { font-size: 13px; font-weight: 600; color: #fff; }
.hs-person-co { font-size: 11px; color: rgba(255,255,255,0.4); }
.hs-arrow {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.hs-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.hs-label::before {
  content: ''; display: block;
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

/* Opp card (opportunity item) */
.opp-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.opp-item:last-child { border-bottom: none; }
.opp-ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-gray-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.opp-name { font-size: 13px; font-weight: 600; }
.opp-co { font-size: 11.5px; color: var(--text-3); }
.opp-match { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--text-2); }

/* Event card visual */
.event-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.event-item:last-child { border-bottom: none; }
.event-date {
  width: 40px; text-align: center; flex-shrink: 0;
}
.event-date-mo { font-size: 9px; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.event-date-d { font-size: 20px; font-weight: 900; color: #fff; line-height: 1; }
.event-name { font-size: 13px; font-weight: 600; color: #fff; }
.event-loc { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* ════════════════════════════════════════════════
   COMPARE BENTO
════════════════════════════════════════════════ */
.compare-row {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.compare-row:last-child { border-bottom: none; }
.compare-label { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; }
.compare-bad  { background: #E5E5E5; }
.compare-good { background: var(--bg-dark); }
.compare-text { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.compare-text strong { color: var(--text); }

/* ════════════════════════════════════════════════
   TESTIMONIAL CARDS
════════════════════════════════════════════════ */
.testi-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  display: flex; flex-direction: column; gap: 16px;
  height: 100%;
}
.testi-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
}
.testi-author {
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.testi-av {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-gray-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.testi-name { font-size: 13px; font-weight: 700; }
.testi-role { font-size: 12px; color: var(--text-3); }

/* ════════════════════════════════════════════════
   KILLER CTA BENTO
════════════════════════════════════════════════ */
.cta-bento {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bento-h {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -2.5px;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 20px;
}
.cta-bento-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  max-width: 440px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.site-footer {
  background: linear-gradient(180deg, #0a0a0a 0%, #0e0e0e 50%, #0a0a0a 100%);
  padding: 72px 0 40px;
  margin-top: 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(36px, 5vw, 72px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 28px;
}
.footer-brand {
  flex: 0 1 auto;
  max-width: 280px;
  min-width: min(100%, 200px);
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.65;
  margin-top: 14px;
}
.footer-brand-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
  margin-top: 16px;
  line-height: 1.5;
}
.footer-cols {
  flex: 1 1 0;
  min-width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px) clamp(16px, 2.5vw, 28px);
  align-items: start;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 12px;
}
.footer-link {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.52);
  padding: 5px 0;
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-link:hover {
  color: rgba(255, 255, 255, 0.95);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1.5;
  max-width: 100%;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.78);
}

/* ════════════════════════════════════════════════
   PRIVACY / COOKIE MODAL
════════════════════════════════════════════════ */
body.privacy-modal-open { overflow: hidden; }
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.privacy-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.privacy-modal__dim {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(2px);
}
.privacy-modal__dialog {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: min(520px, calc(100vw - 24px));
  background: #121212;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.5);
}
.privacy-modal__badge {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 4px 10px;
}
.privacy-modal__dialog h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 8px;
}
.privacy-modal__intro,
.privacy-modal__meta {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.6;
}
.privacy-modal__meta { margin-top: 10px; }
.privacy-modal__meta a {
  color: #fff;
  text-decoration: underline;
}
.privacy-modal__rows {
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.privacy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.privacy-row:last-child { border-bottom: none; }
.privacy-row strong { font-size: 14px; color: #fff; display: block; }
.privacy-row small { font-size: 12px; color: rgba(255,255,255,0.62); line-height: 1.45; display: block; margin-top: 2px; }
.privacy-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #d8d6cd;
}
.privacy-row--locked { opacity: 0.8; }
.privacy-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}
.privacy-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.09);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.privacy-modal__close:hover { color: #fff; background: rgba(255,255,255,0.16); }
@media (max-width: 640px) {
  .privacy-modal__dialog {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    padding: 16px;
  }
}

/* ════════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 0.85s var(--ease-out-expo),
    transform 0.85s var(--ease-out-expo),
    filter 0.85s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: none;
  filter: none;
}
.reveal-left {
  opacity: 0; transform: translateX(-24px);
  filter: blur(4px);
  transition:
    opacity 0.85s var(--ease-out-expo),
    transform 0.85s var(--ease-out-expo),
    filter 0.85s var(--ease-out-expo);
}
.reveal-left.visible { opacity: 1; transform: none; filter: none; }

.reveal-right {
  opacity: 0; transform: translateX(24px);
  filter: blur(4px);
  transition:
    opacity 0.85s var(--ease-out-expo),
    transform 0.85s var(--ease-out-expo),
    filter 0.85s var(--ease-out-expo);
}
.reveal-right.visible { opacity: 1; transform: none; filter: none; }

.stagger > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:.04s; }
.stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.10s; }
.stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.16s; }
.stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:.22s; }
.stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:.28s; }
.stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:.34s; }

/* ════════════════════════════════════════════════
   KEYFRAMES
════════════════════════════════════════════════ */
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.4; }
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroOrbA {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-6%, 4%) scale(1.08); }
}
@keyframes heroOrbB {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8%, -5%) scale(1.06); }
}
@keyframes shimmerLine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes statPop {
  from { opacity: 0.35; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .menu-sheet,
  .menu-overlay__dim,
  .menu-sheet .menu-body > * {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .menu-sheet .menu-body > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .menu-overlay:not(.open) .menu-sheet {
    transform: translate3d(0, -10px, 0) !important;
    opacity: 0 !important;
  }
  .menu-overlay.open .menu-sheet {
    transform: none !important;
    opacity: 1 !important;
  }
   .hero::before,
  .hero::after {
    animation: none !important;
    opacity: 0.35;
  }
  .hero-network {
    opacity: 0.65;
  }
  .hero-visual { animation: none !important; }
  .reveal,
  .reveal-left {
    filter: none !important;
    transition-duration: 0.01ms !important;
  }
  .btn-primary,
  .btn-secondary {
    animation: none !important;
  }
  .stat-item.visible .stat-num,
  #scroll-progress {
    animation: none !important;
  }
}


/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .s-3  { grid-column: span 6; }
  .s-4  { grid-column: span 6; }
  .s-5  { grid-column: span 12; }
  .s-7  { grid-column: span 12; }
  .s-8  { grid-column: span 12; }
  .s-9  { grid-column: span 12; }
  .menu-body.menu-body--bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    padding: 0 28px 36px;
  }
  .menu-panel--platform {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .menu-panel--infra {
    grid-column: 1;
    grid-row: 2;
  }
  .menu-panel--knowledge {
    grid-column: 2;
    grid-row: 2;
  }
  .menu-tile--members {
    grid-column: 1;
    grid-row: 3;
  }
  .menu-tile--community {
    grid-column: 2;
    grid-row: 3;
  }
  .menu-panel--company {
    grid-column: 1 / -1;
    grid-row: 4;
  }
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --gap: 10px;
    --nav-pill-gap-top: 12px;
  }
  .s-3, .s-4, .s-5, .s-6, .s-7, .s-8, .s-9 { grid-column: span 12; }
  .hero-h { letter-spacing: -2.5px; }
  .menu-body.menu-body--bento {
    grid-template-columns: 1fr;
    padding: 0 20px 32px;
    gap: 12px;
  }
  .menu-panel--platform,
  .menu-panel--infra,
  .menu-panel--knowledge,
  .menu-tile--members,
  .menu-tile--community,
  .menu-panel--company {
    grid-column: 1;
    grid-row: auto;
  }
  .menu-link { font-size: 18px; }
  .cta-bento { padding: 48px 28px; }
  .footer-top {
    flex-direction: column;
    gap: 36px;
    padding-bottom: 40px;
  }
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    width: 100%;
    min-width: 0;
  }
  .menu-sheet-actions { grid-template-columns: 1fr; }
  .menu-mirror-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════════════════
   INNER PAGE HERO
════════════════════════════════════════════════ */
.page-hero {
  padding: 140px 24px 100px;
  border-bottom: 1px solid var(--border);
}
.page-hero:not(.section-dark) {
  background:
    radial-gradient(ellipse 100% 80% at 50% -40%, rgba(0,0,0,0.04) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, var(--bg) 100%);
}
.page-hero-h {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1.0;
  margin-bottom: 18px;
}
.page-hero-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.65;
}

/* ════════════════════════════════════════════════
   404 — friendly dead-end (hero mesh + light humor)
════════════════════════════════════════════════ */
.page-404-hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: clamp(100px, 20vw, 168px) 24px clamp(88px, 14vw, 120px);
}
.page-404-hero .hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.32;
  pointer-events: none;
}
.page-404-wrap {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.page-404-code {
  margin: 0 0 4px;
  font-size: clamp(4.5rem, 18vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.92;
  color: var(--text);
  opacity: 0.12;
  user-select: none;
  animation: page404Drift 5s ease-in-out infinite;
}
.page-404-title {
  margin: -0.15em 0 16px;
  font-size: clamp(1.75rem, 4.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}
.page-404-quip {
  margin: 0 auto 14px;
  max-width: 480px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--accent);
}
.page-404-sub {
  margin: 0 auto 28px;
  max-width: 460px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-2);
}
.page-404-ctas {
  justify-content: center;
  margin-bottom: 22px;
}
.page-404-hint {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-3);
}
.page-404-hint a {
  color: var(--text-2);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-404-hint a:hover {
  color: var(--accent);
}
@keyframes page404Drift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-404-code {
    animation: none;
  }
}

/* ── MISC UTILITY ── */
.text-center { text-align: center; }
.text-inv { color: var(--text-inv); }
.text-muted { color: var(--text-2); }
.text-subtle { color: var(--text-3); }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  max-width: 100%;
  background: linear-gradient(90deg, #525252, #0a0a0a, #525252);
  background-size: 200% 100%;
  animation: shimmerLine 4s linear infinite;
  z-index: 2000;
  transition: width 0.12s linear;
}

/* ════════════════════════════════════════════════
   HOMEPAGE ADDITIONS — classes used in index.html
════════════════════════════════════════════════ */

/* Wrap = container alias */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }

/* ── Inner-page responsive layouts (replaces inline grids) ── */
.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 2rem;
}
.layout-split--loose {
  gap: clamp(1.5rem, 4vw, 2rem);
}
.layout-thirds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.layout-stack-full {
  grid-column: 1 / -1;
}
.bento-subgrid-6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--gap);
}
.grid-icons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
  text-align: center;
  align-items: start;
}
.grid-cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
@media (max-width: 1024px) {
  .bento-subgrid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .grid-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .layout-split,
  .layout-split--loose {
    grid-template-columns: 1fr;
  }
  .layout-thirds {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .bento-subgrid-6 {
    grid-template-columns: 1fr;
  }
  .grid-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .grid-icons {
    grid-template-columns: 1fr;
  }
  .grid-cards-4 {
    grid-template-columns: 1fr;
  }
}

.page-hero .wrap {
  width: 100%;
}

.fund-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
@media (max-width: 640px) {
  .fund-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 400px) {
  .fund-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* Ventures — Our Edge fund tiles:3 stat cards + full-width “What we bring” (do not use .s-* here; those target the 12-col .bento only) */
.ventures-fund-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: stretch;
}
.ventures-fund-bento > .bcard {
  min-width: 0;
}
.ventures-fund-bento__full {
  grid-column: 1 / -1;
}
.ventures-fund-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 148px;
}
@media (max-width: 768px) {
  .ventures-fund-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ventures-fund-bento > .ventures-fund-stat:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .ventures-fund-bento {
    grid-template-columns: 1fr;
  }
  .ventures-fund-bento > .ventures-fund-stat:first-child {
    grid-column: 1;
  }
}

/* Ventures — Our Edge (#ventures-our-edge): force readable contrast (body color was winning in some cases) */
#ventures-our-edge {
  color: #fff;
}
#ventures-our-edge .ventures-edge-eyebrow {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0;
}
#ventures-our-edge .ventures-edge-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: #fff !important;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0;
}
#ventures-our-edge .ventures-edge-lead {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 16px;
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}
#ventures-our-edge .fund-metric-label {
  color: rgba(255, 255, 255, 0.72) !important;
}
#ventures-our-edge .ventures-fund-bento .bcard-dark-2 {
  color: #fff !important;
}
#ventures-our-edge .fund-bring-card {
  text-align: left;
}
#ventures-our-edge .fund-bring-kicker {
  font-size: 11px;
  font-weight: 700;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  opacity: 1;
}
#ventures-our-edge .fund-bring-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: #fff !important;
}
#ventures-our-edge .fund-bring-list li {
  position: relative;
  margin: 0 0 10px 0;
  padding-left: 1.35em;
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
#ventures-our-edge .fund-bring-list li:last-child {
  margin-bottom: 0;
}
#ventures-our-edge .fund-bring-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #fff !important;
  text-shadow: none;
}

/* Fallback when section id missing (older markup) */
.fund-bring-card {
  color: #fff;
  text-align: left;
}
.fund-bring-card .fund-bring-kicker {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  opacity: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.fund-bring-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: #fff;
}
.fund-bring-list li {
  position: relative;
  margin: 0 0 10px 0;
  padding-left: 1.35em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.fund-bring-list li:last-child {
  margin-bottom: 0;
}
.fund-bring-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #fff;
  text-shadow: none;
}

.col-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

/* ── STAGGER as individual element ── */
.stagger {
  opacity: 0;
  transform: translateY(20px) scale(0.99);
  transition:
    opacity 0.75s var(--ease-out-expo),
    transform 0.75s var(--ease-out-expo);
}
.stagger.visible { opacity: 1; transform: none; }

/* ── SECTION HEADINGS ── */
.section-h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 48px;
  color: var(--text);
}
.section-dark .section-h2,
.bcard-dark .section-h2,
.bcard-dark-2 .section-h2 {
  color: inherit;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition:
    background 0.25s var(--ease-spring),
    transform 0.2s var(--ease-spring),
    box-shadow 0.25s;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.btn-primary:hover {
  background: #1a1a1a;
  transform: scale(0.98);
  /* Gold inner hairline + gold outer glow layered on top of the existing
     drop shadow. Resting state stays unchanged; only the hover picks up
     the Key AI brand color. */
  box-shadow:
    0 0 0 1px rgba(var(--brand-rgb), 0.6) inset,
    0 6px 20px rgba(0,0,0,0.18),
    0 0 0 4px rgba(var(--brand-rgb), 0.14);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* Gold variant of .btn-primary for placement on dark surfaces (e.g. footer).
   Uses the brand gold as the fill so it reads as the primary action against
   the near-black footer background where the default dark pill would
   disappear. */
.btn-primary--on-dark {
  background: var(--brand);
  color: var(--bg-dark);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08) inset,
    0 6px 18px rgba(var(--brand-rgb), 0.28);
}
.btn-primary--on-dark:hover {
  background: linear-gradient(135deg, #E4B508 0%, #B98F05 50%, #E4B508 100%);
  color: var(--bg-dark);
  transform: scale(0.98);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.12) inset,
    0 8px 26px rgba(var(--brand-rgb), 0.42);
}
.btn-primary--on-dark:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition:
    background 0.25s var(--ease-spring),
    transform 0.2s var(--ease-spring),
    box-shadow 0.25s;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.btn-secondary:hover {
  background: #1a1a1a;
  transform: scale(0.98);
  box-shadow:
    0 0 0 1px rgba(var(--brand-rgb), 0.6) inset,
    0 6px 20px rgba(0,0,0,0.18),
    0 0 0 4px rgba(var(--brand-rgb), 0.14);
}
.btn-secondary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-2);
  transition:
    border-color 0.25s,
    color 0.25s,
    box-shadow 0.25s,
    transform 0.2s var(--ease-spring);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: rgba(var(--brand-rgb), 0.55);
  color: var(--text);
  box-shadow:
    0 0 0 3px rgba(var(--brand-rgb), 0.12),
    0 4px 20px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}
.btn-ghost:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.btn-ghost-dark {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  font-size: 14px; font-weight: 600;
  padding: 12px 24px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.btn-ghost-dark:hover {
  background: rgba(var(--brand-rgb), 0.14);
  color: var(--brand);
  border-color: rgba(var(--brand-rgb), 0.45);
}
.btn-ghost-dark:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.btn-sm { font-size: 13px; padding: 9px 18px; }

/* ── HERO SPECIFICS ── */
.hero { display: flex; align-items: center; justify-content: center; padding-top: 120px; }

.hero-h1 {
  /* Sized so the two-line hero headline fits on one line per line at
     desktop / tablet widths. The previous clamp ran up to 100px which
     wrapped "Key AI optimizes for trust." onto two lines on the 1160px
     wrap. 80px max keeps both lines on a single line through ~1024px. */
  font-size: clamp(36px, 6.5vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -3px;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-h1-muted {
  /* Same gold-gradient treatment as .gradient-text--brand so the homepage
     headline accent matches every other page's hero H1. */
  background: linear-gradient(135deg, #E4B508 0%, #B98F05 50%, #E4B508 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-h1-muted { color: var(--brand); -webkit-text-fill-color: currentColor; }
}

.hero-p {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-2);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-actions--below {
  margin-top: 40px;
  margin-bottom: 0;
}

/* Centered heroNetwork on /services/ — no trust line; avoid empty viewport height */
.hero.hero--compact {
  min-height: 0;
  padding-top: 88px;
  padding-bottom: 52px;
}
.hero.hero--compact .hero-h1 {
  margin-bottom: 16px;
}
.hero.hero--compact .hero-actions--below {
  margin-top: 28px;
}
@media (max-width: 768px) {
  .hero.hero--compact {
    padding-top: 76px;
    padding-bottom: 44px;
  }
}

.hero-trust {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 56px;
}
.hero-trust-avatars { display: flex; }
.hero-trust-av {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
}
.hero-trust-av:first-child { margin-left: 0; }
.hero-trust-text { font-size: 12px; color: var(--text-2); font-weight: 500; }

/* Hero — AI-native prompt chips + product screenshot frame */
.hero-p--lead {
  /* Short punchy lead under the hero h1: "Other tools add noise. We
     find signals." Sized big enough to read as a second-tier headline. */
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-2);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  max-width: 820px;
  margin: 0 auto 28px;
}
.hero-prompts--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 880px;
}
.hero-prompts--grid .hero-prompt {
  justify-content: flex-start;
  width: 100%;
}
@media (max-width: 640px) {
  .hero-prompts--grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}
.hero-prompt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  line-height: 1.4;
}
.hero-prompt-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--text);
  color: var(--text-inv);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-prompt-text {
  color: var(--text);
  font-weight: 500;
}

/* ─────────────────────────────────────────
   KAI HERO — animated demo (fake chat input + chips)
───────────────────────────────────────── */
.kai-demo {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 1;
}
.kai-demo-card {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 14px 14px 14px 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 10px 40px -10px rgba(0, 0, 0, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.06);
}
.kai-demo-input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 14px;
  border-radius: 16px;
  background: var(--bg-white, #fff);
  border: 1px solid var(--border);
  min-height: 56px;
}
.kai-demo-avatar {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 0 3px var(--brand-dim);
}
.kai-demo-avatar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(var(--brand-rgb), 0.55);
  animation: kai-pulse 1.8s ease-out infinite;
}
@keyframes kai-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(var(--brand-rgb), 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(var(--brand-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--brand-rgb), 0); }
}
.kai-demo-typed {
  flex: 1;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  min-width: 0;
}
.kai-demo-caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: -6px;
  background: var(--text);
  vertical-align: text-bottom;
  animation: kai-caret 1s steps(1, end) infinite;
}
@keyframes kai-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.kai-demo-send {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.kai-demo-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 2px 4px 4px;
}
.kai-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
  white-space: nowrap;
  font-family: inherit;
}
.kai-chip:hover {
  border-color: var(--brand-soft);
  background: #fff;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px var(--brand-soft) inset,
    0 6px 18px -8px rgba(var(--brand-rgb), 0.45);
}
.kai-chip:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.kai-chip.is-active {
  border-color: var(--brand-soft);
  background: var(--brand-dim);
  box-shadow: 0 0 0 1px var(--brand-soft) inset;
}
.kai-chip-emoji {
  font-size: 14px;
  line-height: 1;
}
@media (max-width: 640px) {
  .kai-demo-card { padding: 10px; border-radius: 18px; }
  .kai-demo-input { padding: 10px 10px; min-height: 52px; border-radius: 14px; }
  .kai-demo-typed { font-size: 14px; }
  .kai-chip { padding: 7px 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .kai-demo-avatar-dot { animation: none; }
  .kai-demo-caret { animation: none; opacity: 1; }
}

/* Kai page — Always on: SVG icons in corner badges (readable on mobile + desktop) */
.kai-always-on .bcard-arr {
  width: clamp(36px, 7vw, 44px);
  height: clamp(36px, 7vw, 44px);
  top: clamp(14px, 2.8vw, 22px);
  right: clamp(14px, 2.8vw, 22px);
  font-size: 0;
}
.kai-always-on .bcard-arr svg {
  width: 56%;
  height: 56%;
  display: block;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .kai-always-on .bcard-arr svg {
    width: 52%;
    height: 52%;
  }
}

.hero-trust-inline {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
  margin-bottom: 32px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-trust-inline .hero-trust-logo {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.hero-trust-inline a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 1px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.hero-trust-inline a:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* Product screenshots (swap SVG → WebP/PNG when you have real captures) */
.product-shot {
  margin: 0;
  text-align: center;
}
.product-shot-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-white);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 24px 56px rgba(0, 0, 0, 0.1);
  padding: 14px;
  line-height: 0;
}
.product-shot-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-xl) - 12px);
}
@media (max-width: 768px) {
  .product-shot-frame { padding: 8px; }
}

/* Full-bleed frame — for screenshots whose own background is the card
   (e.g. dark product shots where a white padding strip would look weird) */
.product-shot-frame--bleed {
  padding: 0;
  border-color: transparent;
  background: transparent;
}
.product-shot-frame--bleed img {
  border-radius: var(--radius-xl);
}
.product-shot-caption {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 14px;
  line-height: 1.45;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.bcard-shot {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  line-height: 0;
}
.bcard-shot img {
  width: 100%;
  height: auto;
  display: block;
}
.bcard-white .bcard-shot,
.bcard-gray .bcard-shot,
.bcard-outline .bcard-shot {
  border: 1px solid var(--border);
}
.bcard-shot--crop {
  max-height: 280px;
}
.bcard-shot--crop img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
}
/* Bleed variant — show the full screenshot, no crop or border strip.
   For screenshots where the image's own background is the "frame". */
.bcard-shot--bleed {
  border-color: transparent;
}
.bcard-shot--bleed img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Mobile device variant — portrait screenshot centered with a soft shadow.
   For phone-captured product shots (e.g. profile). */
.bcard-shot--mobile {
  border: none;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 28px;
  overflow: visible;
}
.bcard-shot--mobile img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.18);
}
@media (max-width: 640px) {
  .bcard-shot--mobile img { max-width: 220px; }
}

/* Compact problem (less text, one glance) */
.problem-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 48px auto 0;
}
.problem-compact-col {
  border-radius: var(--radius-lg);
  padding: 26px 24px;
}
.problem-compact-col--bad {
  background: rgba(10, 10, 10, 0.04);
  border: 1px solid rgba(10, 10, 10, 0.12);
}
.problem-compact-col--good {
  background: rgba(10, 10, 10, 0.06);
  border: 1px solid rgba(10, 10, 10, 0.18);
}
.problem-compact-head {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.problem-compact-col--bad .problem-compact-head { color: var(--text-2); }
.problem-compact-col--good .problem-compact-head { color: var(--accent); }
.problem-compact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.45;
}
.problem-compact-list li {
  padding-left: 24px;
  position: relative;
}
.problem-compact-col--bad .problem-compact-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text-2);
  font-weight: 700;
  font-size: 12px;
}
.problem-compact-col--good .problem-compact-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
  font-size: 12px;
}
@media (max-width: 680px) {
  .problem-compact {
    grid-template-columns: 1fr;
  }
}

/* ── HERO VISUAL (product screenshot or legacy card) ── */
.hero-visual {
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  perspective: 1200px;
  animation: cardFloat 7s var(--ease-spring) infinite;
}
.hero-visual--shot {
  animation: cardFloat 8s var(--ease-spring) infinite;
}
.hero-card {
  background: linear-gradient(165deg, #ffffff 0%, #fafafa 50%, #f4f4f5 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s;
}
.hero-card:hover {
  transform: translateY(-4px) rotateX(2deg);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}
.hcard-header {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 20px;
}
.hcard-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.hcard-title { font-size: 14px; font-weight: 700; color: var(--text); }
.hcard-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }

.hcard-paths { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.hcard-path {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.hcard-path:last-child { border-bottom: none; }
.hpath-av { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
.hpath-line { flex: 1; }
.hpath-name { font-size: 13px; font-weight: 600; color: var(--text); }
.hpath-meta { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.hpath-badge {
  font-size: 10px;
  font-weight: 700;
  background: var(--bg-dark);
  color: #fff;
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
}
.hcard-foot {
  font-size: 11px; color: var(--text-3);
  border-top: 1px solid var(--border); padding-top: 12px;
}

/* ── STATS STRIP ── */
.stats-strip {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 32px;
}
.stat-item { text-align: center; }
.stat-item.visible .stat-num {
  animation: statPop 0.6s var(--ease-out-expo) both;
}
.stat-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900; letter-spacing: -2px;
  color: var(--text); line-height: 1;
}
.stat-label { font-size: 12px; color: var(--text-3); margin-top: 6px; font-weight: 500; }

/* ── BCARD ALIASES (label / h3 / p / link) ── */
.bcard-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px; display: block;
}
.bcard-h3 {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900; letter-spacing: -1px;
  line-height: 1.1; color: #fff;
  margin-bottom: 12px;
}
.bcard-p {
  font-size: 14px; color: rgba(255,255,255,0.55);
  line-height: 1.65; margin-bottom: 20px;
}
.bcard-link {
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.7);
  transition: color .15s;
}
.bcard-link:hover { color: #fff; }

/* Light bento cards (white / gray): dark type — overrides bcard-h3 / bcard-p defaults for dark cards */
.bcard-white .bcard-h3,
.bcard-gray .bcard-h3 {
  color: var(--text);
}
.bcard-white .bcard-p,
.bcard-gray .bcard-p {
  color: var(--text-2);
}
.bcard-white .bcard-h,
.bcard-gray .bcard-h {
  color: var(--text);
}

/* Light-card overrides */
.dark-label { color: var(--text-3) !important; }
.dark-text { color: var(--text) !important; }
.dark-text-2 { color: var(--text-2) !important; }
.dark-text-3 { color: var(--text-3) !important; }
.dark-link { color: var(--text-2) !important; }
.dark-link:hover { color: var(--text) !important; }

/* ── KAI CHAT BUBBLES ── */
.kai-chat {
  margin-top: 28px; display: flex; flex-direction: column; gap: 10px;
}
.kai-bubble {
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 13px; line-height: 1.55;
  max-width: 90%;
}
.kai-bubble.user {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  align-self: flex-end;
}
.kai-bubble.kai {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  align-self: flex-start;
}
.kai-label {
  display: inline-block; font-size: 10px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 4px;
}

/* ── HANDSHAKE VISUAL (white card version) ── */
.handshake-visual {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0 16px;
}
.handshake-visual .hs-person { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.handshake-visual .hs-av {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border);
}
.handshake-visual .hs-name { font-size: 12px; font-weight: 600; color: var(--text-2); }
.handshake-visual .hs-center { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.handshake-visual .hs-connector { display: flex; align-items: center; gap: 4px; }
.handshake-visual .hs-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-2); }
.handshake-visual .hs-line { flex: 1; height: 1px; background: var(--border-2); min-width: 16px; }
.handshake-visual .hs-icon { font-size: 18px; }
.handshake-visual .hs-label { font-size: 10px; color: var(--text-3); font-weight: 600; text-align: center; }
.hs-stat { font-size: 11px; color: var(--text-3); font-weight: 600; }

/* ── OPPORTUNITIES LIST (white-card version) ── */
.opp-list { display: flex; flex-direction: column; margin-top: 20px; }
.opp-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.opp-item:last-child { border-bottom: none; }
.opp-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-gray-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.opp-body { flex: 1; }
.opp-title { font-size: 13px; font-weight: 600; color: var(--text); }
.opp-meta { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.opp-match { font-size: 13px; font-weight: 800; color: var(--text-2); }

/* ── COMMUNITY STATS ── */
.comm-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 32px; }
.comm-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 16px;
}
.comm-stat-num { font-size: 28px; font-weight: 900; color: #fff; letter-spacing: -1px; }
.comm-stat-label { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 4px; line-height: 1.4; }

/* ── EVENTS LIST (light-card version) ── */
.event-list { display: flex; flex-direction: column; margin-top: 20px; }
.event-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.event-item:last-child { border-bottom: none; }
.event-date {
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-3);
  white-space: nowrap; padding-top: 2px;
  min-width: 40px;
}
.event-body { flex: 1; }
.event-title { font-size: 13px; font-weight: 700; color: var(--text); }
.event-meta { font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* ── COMPARISON TABLE ── */
.comp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.comp-table th, .comp-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.comp-table thead th { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.comp-feature { color: var(--text) !important; font-weight: 500 !important; font-size: 13px !important; letter-spacing: 0 !important; text-transform: none !important; }
.comp-key { color: var(--text) !important; font-weight: 700 !important; }
.comp-other { color: var(--text-2) !important; }
.comp-yes { color: var(--text); font-weight: 700; }
.comp-no { color: var(--text-3); }
.comp-partial { color: var(--text-2); }

/* ── KILL-SHOT QUOTES ── */
.ks-quote {
  font-size: 17px; font-weight: 700; letter-spacing: -0.3px;
  line-height: 1.45; color: #fff; margin-bottom: 12px;
}
.ks-attr { font-size: 11px; color: rgba(255,255,255,0.3); font-weight: 600; }
.dark-text .ks-quote { color: var(--text); }

/* ── TESTIMONIAL ADDITIONS ── */
.testi-stars { font-size: 13px; color: var(--text-2); letter-spacing: 2px; margin-bottom: 12px; }
.testi-quote { font-size: 14px; line-height: 1.7; color: var(--text); flex: 1; margin-bottom: 20px; }
.bcard-dark .testi-quote { color: rgba(255,255,255,0.8); }
.testi-person { display: flex; align-items: center; gap: 10px; }
.testi-av { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; }
.testi-name { font-size: 13px; font-weight: 700; }
.testi-role { font-size: 11px; color: var(--text-3); }

/* ── DARK SECTION ── */
.section-dark {
  background: var(--bg-dark);
  padding: 100px 0;
  color: rgba(255, 255, 255, 0.92);
}
.section-dark .section-label {
  color: rgba(255, 255, 255, 0.5);
}
.section-dark .section-sub {
  color: rgba(255, 255, 255, 0.65);
}

/* ── LEADER PERKS ── */
.leader-perks { display: flex; flex-direction: column; gap: 8px; }
.leader-perk { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* ── FLYWHEEL VISUAL ── */
.flywheel {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 5 / 4;
  margin: 6px auto 2px;
}
.flywheel-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.flywheel-chip {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  background: rgba(18,18,18,0.92);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  line-height: 1;
  z-index: 1;
}
.flywheel-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .flywheel { max-width: 380px; }
  .flywheel-chip { font-size: 11px; padding: 4px 9px; }
}
@media (max-width: 420px) {
  .flywheel { max-width: 320px; }
  .flywheel-chip { font-size: 10px; padding: 3px 7px; gap: 5px; }
  .flywheel-dot { width: 4px; height: 4px; }
}

/* ── ORIGIN BADGES ── */
.origin-trust { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }
.origin-badge {
  font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  padding: 7px 16px; color: rgba(255,255,255,0.55);
}

/* ── FOOTER ADDITIONS ── */
.footer-logo-link {
  display: inline-flex;
  margin-bottom: 10px;
  transition: opacity 0.2s;
}
.footer-logo-link:hover { opacity: 0.8; }
.footer-logo-img {
  height: 26px;
  width: auto;
  display: block;
}
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
/* Trust line is intentionally legible — it carries the brand voice rather
   than fading into the legal small print. */
.footer-trust {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
/* When the trust line lives inside the brand column (sat below the Get
   Started CTA), give it room to breathe and let it wrap naturally. */
.footer-brand .footer-trust {
  display: block;
  margin-top: 18px;
  max-width: 240px;
}
/* Maroon heart inside the trust line. The variation selector after the
   character forces text presentation so CSS color actually applies — emoji
   presentation would otherwise lock it to the platform's red glyph. */
.footer-heart {
  color: #8B1A1F;
  display: inline-block;
  font-style: normal;
  font-size: 1.08em;
  vertical-align: -1px;
  margin: 0 1px;
}

/* ── SCROLL LOCK WHEN MENU OPEN ── */
body.menu-open { overflow: hidden; }

/* ── STATS STRIP RESPONSIVE ── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .comm-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* nav */
  .site-nav {
    top: max(12px, env(safe-area-inset-top, 0px));
    width: min(680px, calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  }
  .nav-cta { font-size: 12px; padding: 8px 14px; }

  /* hero */
  .hero { padding-top: 100px; padding-bottom: 72px; }
  .hero-h1 { font-size: clamp(40px, 10vw, 72px); letter-spacing: -2.5px; }
  .hero-p { font-size: 15px; }
  .hero-visual { max-width: 100%; }

  /* stats */
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 20px 32px; }

  /* section */
  .section { padding: 72px 0; }
  .section-lg { padding: 96px 0; }
  .section--post-hero { padding-top: 48px; padding-bottom: 72px; }
  .section-dark { padding: 72px 0; }
  .section-h2 { font-size: clamp(26px, 6vw, 40px); letter-spacing: -1.5px; margin-bottom: 32px; }

  /* bento grid — all spans collapse to full width on mobile */
  .s-3, .s-4, .s-5, .s-6, .s-7, .s-8, .s-9, .s-12 { grid-column: span 12; }

  /* bento card padding */
  .bp-xl { padding: 32px 24px; }
  .bp-lg { padding: 28px 20px; }

  /* community stats */
  .comm-stats { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* comparison table — horizontal scroll */
  .comp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comp-table { min-width: 480px; }

  /* origin */
  .origin-trust { flex-direction: column; align-items: center; }

  /* footer */
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .footer-ctas { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* menu overlay */
  .menu-body.menu-body--bento { padding: 12px 20px 28px; }
  .menu-company-links { gap: 8px; }
  .menu-company-links a { font-size: 15px; padding: 8px 12px; }
  .menu-link { font-size: 20px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(34px, 10vw, 52px); letter-spacing: -2px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .comm-stats { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .section-h2 { letter-spacing: -1px; }
}

/* ── INNER PAGE HERO RESPONSIVE ── */
@media (max-width: 768px) {
  .page-hero { padding: 100px 24px 60px; }
  .page-hero-h { font-size: clamp(32px, 8vw, 52px); letter-spacing: -2px; }
}

/* ════════════════════════════════════════════════
   PRODUCT SPLIT — text + screenshot side-by-side
   Used by /members/, /kai/, /handshake/ etc.
════════════════════════════════════════════════ */
.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.product-split > *:first-child { min-width: 0; }
@media (max-width: 900px) {
  .product-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-split figure.product-shot {
    margin-left: auto !important;
    margin-right: auto;
    max-width: 360px;
  }
}

/* ════════════════════════════════════════════════
   PROFILE ENRICHMENT — few inputs → rich profile
   /members/ "Few inputs in. A rich profile out."
════════════════════════════════════════════════ */
.enrich-magic-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.4fr);
  gap: 36px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* — left card: "What you tell us" — */
.enrich-input-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.06);
}
.enrich-input-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.enrich-input-dots {
  display: inline-flex;
  gap: 5px;
}
.enrich-input-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-2);
}
.enrich-input-dots span:nth-child(1) { background: #ff6058; }
.enrich-input-dots span:nth-child(2) { background: #febc2e; }
.enrich-input-dots span:nth-child(3) { background: #28c941; }
.enrich-input-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.enrich-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
}
.enrich-field + .enrich-field { border-top: 1px dashed var(--border); }
.enrich-field-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.enrich-field-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.enrich-input-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.45;
}
.enrich-input-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg-white);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* — middle: "Kai enriches → in seconds" — */
.enrich-magic-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
}
.enrich-magic-arrow-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.enrich-magic-arrow-line {
  display: inline-flex;
  color: var(--text);
}
.enrich-magic-arrow-sub {
  font-size: 11px;
  color: var(--text-3);
  font-style: italic;
}

/* — right: enriched profile screenshot — */
.enrich-output {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.enrich-output-tag {
  align-self: flex-start;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg-white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.enrich-output-shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-white);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 24px 56px rgba(0, 0, 0, 0.1);
  line-height: 0;
}
.enrich-output-shot img {
  width: 100%;
  height: auto;
  display: block;
}
.enrich-output-caption {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

@media (max-width: 900px) {
  .enrich-magic-flow {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 520px;
  }
  .enrich-magic-arrow {
    transform: rotate(90deg);
  }
}

/* — sources grid below the flow — */
.enrich-sources {
  margin-top: 64px;
  text-align: center;
}
.enrich-sources-head {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}
.enrich-sources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.enrich-source-tile {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.enrich-source-tile:hover {
  border-color: rgba(10, 10, 10, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}
.enrich-source-ico {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 4px;
}
.enrich-source-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}
.enrich-source-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}
.enrich-sources-foot {
  font-size: 13px;
  color: var(--text-2);
  font-style: italic;
}

@media (max-width: 900px) {
  .enrich-sources-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .enrich-sources-grid { grid-template-columns: 1fr; }
}
