/* Integration layer for the article_alias runtime. Keep generated landing files stable. */
:root {
  --landing-bg: #ffffff;
  --landing-panel: #ffffff;
  --landing-panel-soft: #f8fafc;
  --landing-text: #0f172a;
  --landing-body: #334155;
  --landing-muted: #64748b;
  --landing-line: #dbe3ef;
  --landing-brand: #4f46e5;
  --landing-shadow: 0 2px 10px rgba(15, 23, 42, .05);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --landing-bg: #050507;
    --landing-panel: #0b1020;
    --landing-panel-soft: #111827;
    --landing-text: #f8fafc;
    --landing-body: #dbe4f0;
    --landing-muted: #a8b3c7;
    --landing-line: #2a3448;
    --landing-brand: #8ea0ff;
    --landing-shadow: 0 12px 36px rgba(0, 0, 0, .28);
  }
}

:root[data-theme="dark"] {
  --landing-bg: #050507;
  --landing-panel: #0b1020;
  --landing-panel-soft: #111827;
  --landing-text: #f8fafc;
  --landing-body: #dbe4f0;
  --landing-muted: #a8b3c7;
  --landing-line: #2a3448;
  --landing-brand: #8ea0ff;
  --landing-shadow: 0 12px 36px rgba(0, 0, 0, .28);
}

body {
  background-color: var(--landing-bg);
  color: var(--landing-body);
}

.product-screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-screen {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 22px;
  background: var(--landing-panel);
  box-shadow: 0 24px 62px rgba(15, 23, 42, .12);
}

.product-screen--wide {
  grid-column: 1 / -1;
}

.product-screen img {
  width: 100%;
  height: auto;
  display: block;
  background: #f7f8fb;
}

.screen-lightbox-trigger {
  cursor: zoom-in;
  transition: filter .18s ease;
}

.screen-lightbox-trigger:hover {
  filter: brightness(.97);
}

.screen-lightbox-trigger:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--landing-brand);
  outline-offset: -3px;
}

body.has-screen-lightbox {
  overflow: hidden;
}

.screen-lightbox[hidden] {
  display: none !important;
}

.screen-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: auto;
  background: rgba(2, 6, 23, .84);
  padding: clamp(14px, 3vw, 36px);
  backdrop-filter: blur(12px);
}

.screen-lightbox__dialog {
  position: relative;
  width: fit-content;
  max-width: min(96vw, 1800px);
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  display: grid;
  place-items: center;
}

.screen-lightbox__image {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  display: block;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .45);
  object-fit: contain;
}

.screen-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(15, 23, 42, .82);
  color: #ffffff;
  padding: 0;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.screen-lightbox__close:hover,
.screen-lightbox__close:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: #0f172a;
  outline: none;
}

.product-screen figcaption {
  display: grid;
  gap: 4px;
  padding: 16px 18px 18px;
}

.product-screen figcaption strong {
  color: var(--landing-text);
  font-size: 16px;
}

.product-screen figcaption span {
  color: var(--landing-muted);
  font-size: 14px;
  font-weight: 650;
}

.two-col > .product-screen-wrap {
  align-self: start;
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.two-col > .product-screen-wrap:hover {
  border-color: transparent;
  box-shadow: none;
}

.product-screen--workspace {
  border-radius: 20px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.scenario-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--landing-line);
  border-radius: 20px;
  background: var(--landing-panel);
  padding: 20px;
  box-shadow: var(--landing-shadow);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.scenario-card:hover,
.scenario-card:focus-visible {
  border-color: var(--landing-brand);
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(79, 70, 229, .14);
}

.scenario-card > span {
  color: var(--landing-brand);
  font-size: 13px;
  font-weight: 900;
}

.scenario-card strong {
  color: var(--landing-text);
  font-size: 20px;
  line-height: 1.15;
}

.scenario-card p {
  margin-top: auto;
  color: var(--landing-muted);
  font-size: 14px;
  font-weight: 650;
}

@media (max-width: 900px) {
  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .product-screen-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .product-screen--wide {
    grid-column: auto;
  }

  .scenario-card {
    min-height: 0;
  }
}

#contacts-bottom {
  scroll-margin-top: 96px;
}

/* Landing-only presentation of a real search graph; app graph settings stay independent. */
.preview-card--real-graph {
  overflow: hidden;
  padding: 0 !important;
  border-color: rgba(148, 163, 184, .24) !important;
  background: #111315 !important;
  color: #f8fafc !important;
}

.real-graph-loading {
  min-height: 510px;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 45%, rgba(83, 101, 255, .2), transparent 34%),
    #111315;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
}

.real-graph-shell {
  min-height: 510px;
  display: grid;
  grid-template-rows: auto auto auto minmax(320px, 1fr) auto;
  background: #111315;
}

.real-graph-top {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 850;
}

.real-graph-top span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ff5f57;
}

.real-graph-top span:nth-child(2) { background: #ffbd2e; }
.real-graph-top span:nth-child(3) { background: #28c840; }
.real-graph-top strong { margin-left: 3px; }

.real-graph-query {
  min-height: 58px;
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  color: #f8fafc;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 760;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.real-graph-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.real-graph-toolbar > span {
  grid-column: 1 / -1;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
}

.real-graph-toolbar > div {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.real-graph-controls {
  flex-wrap: nowrap !important;
  justify-self: end;
}

.real-graph-controls button {
  min-width: 30px;
  padding: 0 7px;
  font-size: 15px;
  line-height: 1;
}

.real-graph-toolbar button {
  min-height: 28px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  padding: 0 9px;
  font-size: 10px;
  font-weight: 800;
}

.real-graph-toolbar button:hover,
.real-graph-toolbar button:focus-visible,
.real-graph-toolbar button.is-active {
  border-color: #f8fafc;
  background: #f8fafc;
  color: #111315;
}

.real-graph-stage {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(148, 163, 184, .04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(148, 163, 184, .04) 1px, transparent 1px), #191b1d;
  background-size: 36px 36px;
}

.real-graph-canvas {
  position: absolute;
  inset: 0;
  cursor: grab;
  touch-action: none;
}

.real-graph-canvas:active,
.real-graph-canvas.is-grabbing {
  cursor: grabbing;
}

.real-graph-canvas canvas {
  cursor: inherit !important;
}

.real-graph-interaction-hint {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  max-width: calc(100% - 20px);
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 999px;
  background: rgba(15, 23, 42, .84);
  color: #e2e8f0;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.real-graph-tooltip {
  position: absolute;
  z-index: 4;
  max-width: min(250px, 72%);
  transform: translate(-50%, calc(-100% - 16px));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(15, 23, 42, .95);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .32);
  color: #f8fafc;
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 750;
  pointer-events: none;
}

.real-graph-footer {
  min-height: 64px;
  display: grid;
  gap: 3px;
  padding: 10px 13px 12px;
  border-top: 1px solid rgba(148, 163, 184, .18);
}

.real-graph-footer span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.real-graph-footer strong {
  color: #f8fafc;
  font-size: 11px;
  line-height: 1.35;
}

.real-graph-fallback {
  position: relative;
  display: block;
  min-height: 300px;
  overflow: hidden;
  background: #111315;
}

.real-graph-fallback img {
  width: 100%;
  min-height: 300px;
  display: block;
  object-fit: cover;
  object-position: 73% center;
}

.real-graph-fallback span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, .9);
  color: #fff;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 850;
}

.real-graph-a11y-links {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.real-graph-a11y-links:focus-within {
  z-index: 5;
  inset: 12px;
  width: auto;
  height: auto;
  overflow: auto;
  clip: auto;
  clip-path: none;
  white-space: normal;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.real-graph-a11y-links a {
  display: block;
  padding: 6px 8px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

@media (min-width: 981px) {
  .home-page .real-graph-shell { min-height: 560px; }
  .home-page .real-graph-stage { min-height: 380px; }
}

@media (max-width: 560px) {
  .real-graph-shell {
    min-height: 470px;
    grid-template-rows: auto auto auto minmax(280px, 1fr) auto;
  }

  .real-graph-stage { min-height: 290px; }
  .real-graph-query { -webkit-line-clamp: 2; }
  .real-graph-toolbar button { padding: 0 7px; }
}

/* Motion hero: preserve the original bouncing-dot scene and reveal only the graph canvas. */
.real-graph-motion-host {
  position: absolute;
  inset: 0;
  z-index: 6;
  min-height: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #f8faff;
}

.real-graph-motion-host.preview-card--real-graph {
  border: 0 !important;
  background: #f8faff !important;
}

.real-graph-motion-host .real-graph-loading {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: radial-gradient(circle at 50% 45%, rgba(83, 101, 255, .14), transparent 34%),
    #f8faff;
  color: #475569;
}

.real-graph-motion-host .real-graph-shell {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  overflow: hidden;
  background: #f8faff;
}

.real-graph-motion-host .real-graph-top,
.real-graph-motion-host .real-graph-query,
.real-graph-motion-host .real-graph-footer,
.real-graph-motion-host .real-graph-toolbar > span {
  display: none;
}

.real-graph-motion-host .real-graph-stage {
  position: absolute;
  inset: 0;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(83, 101, 255, .055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(83, 101, 255, .055) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(83, 101, 255, .09), transparent 38%),
    #f8faff;
  background-size: 58px 58px, 58px 58px, auto, auto;
}

.real-graph-motion-host .real-graph-interaction-hint {
  border-color: rgba(148, 163, 184, .28);
  background: rgba(255, 255, 255, .86);
  color: #334155;
}

.real-graph-motion-host .real-graph-toolbar {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 7;
  width: auto;
  max-width: calc(100% - 28px);
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
}

.real-graph-motion-host .real-graph-toolbar > div {
  justify-content: center;
  flex-wrap: nowrap;
  padding: 5px;
  border: 1px solid rgba(203, 213, 225, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
  backdrop-filter: blur(14px);
}

.real-graph-motion-host .real-graph-controls {
  gap: 2px;
}

.real-graph-motion-host .real-graph-toolbar button {
  min-height: 34px;
  border-color: transparent;
  border-radius: 999px;
  color: #475569;
  padding: 0 16px;
  font-size: 12px;
}

.real-graph-motion-host .real-graph-toolbar button:hover,
.real-graph-motion-host .real-graph-toolbar button:focus-visible,
.real-graph-motion-host .real-graph-toolbar button.is-active {
  border-color: #5365ff;
  background: #5365ff;
  color: #fff;
}

/* Standalone landing heroes use the homepage graph without its sticky SCID transition. */
.real-graph-static-host,
.real-graph-static-host.preview-card--real-graph {
  position: relative;
  min-height: clamp(620px, 66vw, 760px);
  overflow: hidden;
  border-color: rgba(207, 215, 232, .78) !important;
  background: #f8faff !important;
  color: #334155 !important;
}

.real-graph-static-host .real-graph-loading {
  min-height: clamp(620px, 66vw, 760px);
  background: radial-gradient(circle at 50% 45%, rgba(83, 101, 255, .14), transparent 34%),
    #f8faff;
  color: #475569;
}

.real-graph-static-host .real-graph-shell {
  position: relative;
  width: 100%;
  min-height: clamp(620px, 66vw, 760px);
  display: block;
  overflow: hidden;
  background: #f8faff;
}

.real-graph-static-host .real-graph-top,
.real-graph-static-host .real-graph-query,
.real-graph-static-host .real-graph-footer,
.real-graph-static-host .real-graph-toolbar > span {
  display: none;
}

.real-graph-static-host .real-graph-stage {
  position: absolute;
  inset: 0;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(83, 101, 255, .055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(83, 101, 255, .055) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(83, 101, 255, .09), transparent 38%),
    #f8faff;
  background-size: 58px 58px, 58px 58px, auto, auto;
}

.real-graph-static-host .real-graph-interaction-hint {
  border-color: rgba(148, 163, 184, .28);
  background: rgba(255, 255, 255, .86);
  color: #334155;
}

.real-graph-static-host .real-graph-toolbar {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 7;
  width: auto;
  max-width: calc(100% - 20px);
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
}

.real-graph-static-host .real-graph-toolbar > div {
  justify-content: center;
  flex-wrap: nowrap;
  padding: 5px;
  border: 1px solid rgba(203, 213, 225, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
  backdrop-filter: blur(14px);
}

.real-graph-static-host .real-graph-controls {
  gap: 2px;
}

.real-graph-static-host .real-graph-toolbar button {
  min-height: 34px;
  border-color: transparent;
  border-radius: 999px;
  color: #475569;
  padding: 0 12px;
  font-size: 12px;
}

.real-graph-static-host .real-graph-controls button {
  min-width: 34px;
  padding: 0 8px;
}

.real-graph-static-host .real-graph-toolbar button:hover,
.real-graph-static-host .real-graph-toolbar button:focus-visible,
.real-graph-static-host .real-graph-toolbar button.is-active {
  border-color: #5365ff;
  background: #5365ff;
  color: #fff;
}

/* Product heroes give the real graph enough width to keep nodes and bundle labels readable. */
@media (min-width: 1101px) {
  body:not(.home-page):not(.pricing-page) .hero > .container.hero-grid {
    width: min(1280px, calc(100% - 48px));
    grid-template-columns: minmax(0, 1fr) minmax(500px, 540px);
    gap: clamp(42px, 5vw, 72px);
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  body:not(.home-page):not(.pricing-page) .hero > .container.hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 430px);
    gap: 26px;
  }
}

.scid-main-graph-stage.has-real-graph .motion-graph {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none !important;
}

.scid-main-graph-stage .real-graph-motion-host {
  opacity: var(--motion-real-graph-opacity, 0);
  pointer-events: none;
  transform: scale(calc(.96 + var(--motion-real-graph-opacity, 0) * .04));
  transform-origin: 50% 50%;
  transition: opacity .22s ease, transform .22s ease;
}

.scid-main-graph-stage.graph-ready .real-graph-motion-host {
  pointer-events: auto;
}

:root[data-theme="dark"] .real-graph-motion-host,
:root[data-theme="dark"] .real-graph-motion-host.preview-card--real-graph,
:root[data-theme="dark"] .real-graph-motion-host .real-graph-shell {
  background: #0b1020 !important;
}

:root[data-theme="dark"] .real-graph-motion-host .real-graph-stage {
  background: linear-gradient(90deg, rgba(148, 163, 184, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(148, 163, 184, .08) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(83, 101, 255, .13), transparent 38%),
    #0b1020;
  background-size: 58px 58px, 58px 58px, auto, auto;
}

:root[data-theme="dark"] .real-graph-static-host,
:root[data-theme="dark"] .real-graph-static-host.preview-card--real-graph,
:root[data-theme="dark"] .real-graph-static-host .real-graph-shell {
  background: #0b1020 !important;
}

:root[data-theme="dark"] .real-graph-static-host .real-graph-stage {
  background: linear-gradient(90deg, rgba(148, 163, 184, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(148, 163, 184, .08) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(83, 101, 255, .13), transparent 38%),
    #0b1020;
  background-size: 58px 58px, 58px 58px, auto, auto;
}

@media (max-width: 560px) {
  .real-graph-motion-host .real-graph-toolbar,
  .real-graph-static-host .real-graph-toolbar {
    bottom: 10px;
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    flex-wrap: wrap;
    gap: 6px;
  }

  .real-graph-motion-host .real-graph-toolbar button,
  .real-graph-static-host .real-graph-toolbar button {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

  .real-graph-motion-host .real-graph-controls button,
  .real-graph-static-host .real-graph-controls button {
    min-width: 32px;
    padding: 0 8px;
  }

  .real-graph-static-host,
  .real-graph-static-host.preview-card--real-graph,
  .real-graph-static-host .real-graph-loading,
  .real-graph-static-host .real-graph-shell {
    min-height: 520px;
  }

  .real-graph-interaction-hint {
    top: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
  }
}

@media (min-width: 561px) and (max-width: 980px) {
  .real-graph-motion-host .real-graph-toolbar > div,
  .real-graph-static-host .real-graph-toolbar > div {
    gap: 4px;
    padding: 4px;
  }

  .real-graph-motion-host .real-graph-toolbar button,
  .real-graph-static-host .real-graph-toolbar button {
    min-height: 32px;
    padding: 0 7px;
    font-size: 11px;
  }

  .real-graph-motion-host .real-graph-controls,
  .real-graph-static-host .real-graph-controls {
    gap: 2px !important;
  }

  .real-graph-motion-host .real-graph-controls button,
  .real-graph-static-host .real-graph-controls button {
    min-width: 30px;
    padding: 0 6px;
  }
}

.brand > .brand-logo + span,
.brand > .brand-logo + strong {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--landing-brand) !important;
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
}

.site-header .nav-trigger {
  min-height: 38px !important;
  border-radius: 10px !important;
  color: var(--landing-body) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 24.8px !important;
  padding: 0 12px !important;
}

.site-header .nav-panel b {
  color: var(--landing-text) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 18px !important;
}

.site-header .nav-panel a span span {
  color: var(--landing-muted) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 17.55px !important;
}

.site-header .nav-actions .btn.primary,
.site-header > .container.nav > .btn.primary,
.site-header .nav .btn.primary {
  display: flex !important;
  min-height: 42px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 20.15px !important;
  padding: 0 12px !important;
}

:root[data-theme="dark"] .site-header .nav-trigger,
:root:not([data-theme="light"]) .site-header .nav-trigger {
  color: var(--landing-body) !important;
}

:root[data-theme="dark"] .site-header .nav-panel a span span,
:root:not([data-theme="light"]) .site-header .nav-panel a span span {
  color: var(--landing-muted) !important;
}

h1,
h2,
h3,
h4,
.brand strong,
.section-title,
.section-head h2,
.article-graph-head strong,
.target-graph-head strong,
.footer-cols h4,
.pricing-plan-card h3,
.pricing-table thead th span,
.pricing-table tbody th[scope="row"] {
  color: var(--landing-text);
}

.section-lead,
.lead,
.block-grid p,
.faq-grid p,
.feature-card p,
.workflow-step p,
.audience-card p,
.case-card p,
.seo-card p,
.media-card p,
.pricing-story,
.pricing-card-top p,
.pricing-plan-card li,
.pricing-value,
.footer-cols a {
  color: var(--landing-body);
}

.muted,
.footer-control,
.pricing-price em,
.pricing-table thead th small {
  color: var(--landing-muted);
}

.site-header,
.nav,
.nav-panel,
.section.white,
.final,
footer,
.preview-card,
.two-col > div,
.query-grid a,
.block-grid article,
.faq-grid article,
.feature-card,
.workflow-step,
.audience-card,
.case-card,
.seo-card,
.media-card,
.price-card,
.pricing-plan-card,
.pricing-table-wrap,
.source-card,
.content-card,
.legal-card,
.contact-card {
  background-color: var(--landing-panel);
  border-color: var(--landing-line);
  color: var(--landing-body);
}

.query-box,
.preview-list div,
.related,
.link-cloud a,
.footer-control,
.lang-switch,
.theme-toggle-track,
.target-video-link,
.pricing-table-group th,
.pricing-card-top span {
  background-color: var(--landing-panel-soft);
  border-color: var(--landing-line);
  color: var(--landing-body);
}

.btn:not(.primary) {
  background-color: var(--landing-panel);
  border-color: var(--landing-line);
  color: var(--landing-text);
}

.btn:not(.primary):hover,
.query-grid a:hover,
.link-cloud a:hover,
.target-video-link:hover {
  border-color: var(--landing-brand);
  color: var(--landing-brand);
}

.lang-switch a.active,
.theme-toggle,
.nav-trigger:hover,
.nav-group:hover .nav-trigger {
  color: var(--landing-text);
}

.site-header .nav-group:focus-within .nav-panel {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-6px) !important;
}

.site-header .nav-group:hover .nav-panel {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.site-header .nav-group:focus-within .nav-trigger {
  background: transparent !important;
  color: var(--landing-body) !important;
  outline: 0 !important;
  transform: none !important;
}

.site-header .nav-trigger:hover,
.site-header .nav-group:hover .nav-trigger {
  background: var(--landing-panel-soft) !important;
  color: var(--landing-text) !important;
}

:root[data-theme="dark"] .site-header .nav-group:focus-within .nav-trigger,
:root:not([data-theme="light"]) .site-header .nav-group:focus-within .nav-trigger {
  background: transparent !important;
  color: var(--landing-body) !important;
}

:root[data-theme="dark"] .site-header .nav-trigger:hover,
:root:not([data-theme="light"]) .site-header .nav-trigger:hover,
:root[data-theme="dark"] .site-header .nav-group:hover .nav-trigger,
:root:not([data-theme="light"]) .site-header .nav-group:hover .nav-trigger {
  background: var(--landing-panel-soft) !important;
  color: var(--landing-text) !important;
}

.target-video-card,
.target-video-frame,
.media-frame,
.video-frame {
  background-color: #0b1020;
  border-color: var(--landing-line);
}

.target-video-frame video,
.target-video-frame iframe,
.video-frame video,
.video-frame iframe {
  background-color: #0b1020;
}

.target-video-copy p,
.target-video-copy h2 {
  color: var(--landing-body);
}

.target-video-copy h2 {
  color: var(--landing-text);
}

:root[data-theme="light"] .cta-panel,
:root[data-theme="light"] .final-panel,
:root[data-theme="light"] .target-video-card {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--landing-panel) 96%, var(--landing-brand)),
    var(--landing-panel-soft)
  ) !important;
  border-color: var(--landing-line) !important;
  color: var(--landing-body) !important;
  box-shadow: var(--landing-shadow) !important;
}

:root[data-theme="light"] .cta-panel h2,
:root[data-theme="light"] .final-panel h2,
:root[data-theme="light"] .target-video-card h2 {
  color: var(--landing-text) !important;
}

:root[data-theme="light"] .cta-panel p,
:root[data-theme="light"] .final-panel p,
:root[data-theme="light"] .target-video-card p {
  color: var(--landing-body) !important;
}

:root[data-theme="light"] .pricing-plan-card.is-plus {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--landing-brand) 7%, var(--landing-panel)),
    var(--landing-panel)
  ) !important;
  border-color: color-mix(in srgb, var(--landing-brand) 36%, var(--landing-line)) !important;
  color: var(--landing-body) !important;
  box-shadow: 0 22px 58px rgba(79, 70, 229, .13) !important;
}

:root[data-theme="light"] .pricing-plan-card.is-plus h3,
:root[data-theme="light"] .pricing-plan-card.is-plus .pricing-price strong {
  color: var(--landing-text) !important;
}

:root[data-theme="light"] .pricing-plan-card.is-plus .pricing-card-top p,
:root[data-theme="light"] .pricing-plan-card.is-plus .pricing-story,
:root[data-theme="light"] .pricing-plan-card.is-plus li,
:root[data-theme="light"] .pricing-plan-card.is-plus .pricing-price em {
  color: var(--landing-body) !important;
}

:root[data-theme="light"] .pricing-plan-card.is-plus .pricing-card-top span {
  background: color-mix(in srgb, var(--landing-brand) 10%, var(--landing-panel)) !important;
  color: var(--landing-brand) !important;
}

:root[data-theme="light"] .pricing-plan-card.is-plus ul {
  border-top-color: var(--landing-line) !important;
}

:root[data-theme="light"] .pricing-plan-card.is-plus li::before {
  color: var(--landing-brand) !important;
}

:root[data-theme="light"] .pricing-plan-card.is-plus .btn {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  color: #ffffff !important;
}

:root[data-theme="light"] .target-video-frame,
:root[data-theme="light"] .target-video-frame video,
:root[data-theme="light"] .target-video-frame iframe {
  background-color: var(--landing-panel-soft) !important;
}

:root[data-theme="light"] .preview-card--export,
:root[data-theme="light"] .preview-card--digest {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--landing-panel) 94%, var(--landing-brand)),
    var(--landing-panel)
  ) !important;
  background-color: var(--landing-panel) !important;
  border-color: var(--landing-line) !important;
  color: var(--landing-body) !important;
  box-shadow: var(--landing-shadow) !important;
}

:root[data-theme="light"] .preview-card--export .query-box,
:root[data-theme="light"] .preview-card--digest .query-box,
:root[data-theme="light"] .export-mock,
:root[data-theme="light"] .digest-mock {
  background: var(--landing-panel-soft) !important;
  border-color: var(--landing-line) !important;
  color: var(--landing-body) !important;
}

:root[data-theme="light"] .preview-card--export .preview-top strong,
:root[data-theme="light"] .preview-card--digest .preview-top strong,
:root[data-theme="light"] .mock-title,
:root[data-theme="light"] .export-table b,
:root[data-theme="light"] .digest-row b {
  color: var(--landing-text) !important;
}

:root[data-theme="light"] .export-table div,
:root[data-theme="light"] .digest-row {
  background: var(--landing-panel) !important;
  border: 1px solid var(--landing-line) !important;
  color: var(--landing-body) !important;
}

:root[data-theme="light"] .export-table span,
:root[data-theme="light"] .digest-row p {
  color: var(--landing-muted) !important;
}

:root[data-theme="light"] .digest-row span {
  color: var(--landing-brand) !important;
}

:root[data-theme="light"] .export-formats span {
  background: color-mix(in srgb, var(--landing-brand) 10%, var(--landing-panel)) !important;
  color: var(--landing-brand) !important;
}

.pricing-table thead th,
.pricing-table thead th:first-child,
.pricing-table tbody th[scope="row"] {
  background-color: var(--landing-panel);
}

.pricing-table tbody tr:not(.pricing-table-group):hover th,
.pricing-table tbody tr:not(.pricing-table-group):hover td {
  background-color: color-mix(in srgb, var(--landing-brand) 8%, var(--landing-panel));
}

.pricing-truth-grid {
  margin-top: 24px;
  align-items: stretch;
}

.pricing-table-wrap {
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.pricing-truth-grid article {
  min-height: 100%;
  padding: 22px;
}

.pricing-truth-grid article span,
.pricing-enterprise-panel > div > span {
  background: color-mix(in srgb, var(--landing-brand) 12%, var(--landing-panel));
  color: var(--landing-brand);
}

.pricing-enterprise-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--landing-brand) 30%, var(--landing-line));
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--landing-brand) 9%, var(--landing-panel)),
    var(--landing-panel)
  );
  box-shadow: var(--landing-shadow);
}

.pricing-enterprise-panel > div {
  min-width: 0;
}

.pricing-enterprise-panel > div > span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.pricing-enterprise-panel h2 {
  max-width: 760px;
  margin-top: 12px;
  color: var(--landing-text);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.04;
  text-wrap: balance;
}

.pricing-enterprise-panel p {
  max-width: 790px;
  margin-top: 12px;
  color: var(--landing-body);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
  text-wrap: pretty;
}

.pricing-enterprise-panel .btn {
  min-width: 210px;
}

@media (max-width: 900px) {
  .pricing-enterprise-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .pricing-enterprise-panel .btn {
    width: fit-content;
  }
}

@media (max-width: 620px) {
  .pricing-truth-grid {
    margin-top: 18px;
  }

  .pricing-truth-grid article,
  .pricing-enterprise-panel {
    padding: 20px;
  }

  .pricing-enterprise-panel {
    gap: 20px;
    border-radius: 18px;
  }

  .pricing-enterprise-panel .btn {
    width: 100%;
    min-width: 0;
  }

  .pricing-table {
    min-width: 760px;
    table-layout: fixed;
  }

  .pricing-table thead th:first-child,
  .pricing-table tbody th[scope="row"] {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
  }
}

.footer-legal,
.footer-controls {
  color: var(--landing-muted);
}

.hero-action-card input,
.command-wrap input {
  background-color: var(--landing-panel);
  border-color: var(--landing-line);
  color: var(--landing-text);
}

.hero-action-card input::placeholder,
.command-wrap input::placeholder {
  color: var(--landing-muted);
}

.site-header .nav-panel {
  background: var(--landing-panel) !important;
  border-color: var(--landing-line) !important;
  color: var(--landing-body) !important;
}

.site-header .nav-panel small {
  color: var(--landing-muted) !important;
}

.site-header .nav-panel a {
  color: var(--landing-text) !important;
}

.site-header .nav-panel a:hover {
  background: color-mix(in srgb, var(--landing-brand) 10%, var(--landing-panel)) !important;
  color: var(--landing-text) !important;
}

.site-header .nav-panel a:hover b {
  color: var(--landing-text) !important;
}

.site-header .nav-panel a:hover span span {
  color: var(--landing-body) !important;
}

.site-header .nav-panel a:hover::before {
  background: color-mix(in srgb, var(--landing-brand) 16%, var(--landing-panel)) !important;
  border-color: color-mix(in srgb, var(--landing-brand) 28%, var(--landing-line)) !important;
}

:root[data-theme="dark"] .site-header .nav-panel a:hover,
:root:not([data-theme="light"]) .site-header .nav-panel a:hover {
  background: rgba(142, 160, 255, .14) !important;
  color: var(--landing-text) !important;
}

:root[data-theme="dark"] .site-header .nav-panel a:hover b,
:root:not([data-theme="light"]) .site-header .nav-panel a:hover b {
  color: var(--landing-text) !important;
}

:root[data-theme="dark"] .site-header .nav-panel a:hover span span,
:root:not([data-theme="light"]) .site-header .nav-panel a:hover span span {
  color: rgba(226, 232, 240, .82) !important;
}

:root[data-theme="dark"] .site-header .nav-panel a:hover::before,
:root:not([data-theme="light"]) .site-header .nav-panel a:hover::before {
  background: rgba(142, 160, 255, .16) !important;
  border-color: rgba(142, 160, 255, .32) !important;
}

@media (max-width: 760px) {
  .nav-panel {
    max-width: calc(100vw - 28px);
  }

  .footer-controls {
    justify-content: flex-start;
  }
}

/* Homepage narrative: one continuous research story, built on the landing design system. */
.home-page .hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);
}

.home-hero-title {
  max-width: 760px;
  display: grid;
  gap: 16px;
  margin-top: 0;
  text-wrap: balance;
}

.home-hero-title > span {
  display: block;
  color: var(--landing-text);
  font-size: clamp(42px, 5.1vw, 66px);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: .96;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.home-hero-title > strong {
  display: block;
  max-width: 700px;
  color: var(--landing-body);
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 830;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.home-page .lead,
.workspace-story-copy > p,
.identity-panel p,
.organization-grid p {
  text-wrap: pretty;
}

.graph-proof-note {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--landing-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.research-thread {
  counter-reset: research-step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.research-thread li {
  counter-increment: research-step;
  min-height: 156px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--landing-line);
  border-radius: 14px;
  background: var(--landing-panel);
  padding: 18px;
}

.research-thread li::before {
  content: counter(research-step, decimal-leading-zero);
  color: var(--landing-brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.research-thread strong {
  color: var(--landing-text);
  font-size: 19px;
  line-height: 1.15;
}

.research-thread span {
  color: var(--landing-muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.42;
}

.thread-promise {
  max-width: 900px;
  margin: 34px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--landing-line);
  color: var(--landing-text);
  font-size: clamp(23px, 3vw, 36px);
  font-weight: 850;
  line-height: 1.2;
  text-wrap: balance;
}

.workspace-story {
  background: var(--landing-panel-soft);
}

.workspace-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.workspace-story-layout {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.workspace-story-layout > * {
  min-width: 0;
}

.workspace-story-layout .workspace-story-copy {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: end;
}

.workspace-story-layout .workspace-story-copy > p {
  margin: 0;
  font-size: clamp(17px, 1.55vw, 20px);
}

.workspace-story-layout .home-product-screen {
  width: 100%;
}

.workspace-story-results {
  display: grid;
  gap: 26px;
}

.workspace-outcome-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  margin-top: 0;
}

.workspace-outcome-grid li:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--landing-line);
}

.workspace-story-results .hero-actions {
  margin-top: 0;
}

.home-product-screen {
  border-radius: 18px;
}

.workspace-story-copy h2 {
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.04;
  text-wrap: balance;
}

.workspace-story-copy > p {
  margin-top: 18px;
  color: var(--landing-body);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.52;
}

.outcome-list {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.outcome-list li {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-top: 1px solid var(--landing-line);
}

.outcome-list li:last-child {
  border-bottom: 1px solid var(--landing-line);
}

.outcome-list strong {
  color: var(--landing-text);
  font-size: 15px;
}

.outcome-list span {
  color: var(--landing-muted);
  font-size: 14px;
  font-weight: 650;
}

.home-scenario-grid .scenario-card {
  min-height: 246px;
}

.home-scenario-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-scenario-grid .scenario-card p {
  margin-top: auto;
}

.capability-clusters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
}

.capability-clusters article {
  padding: 26px 0 30px;
  border-top: 1px solid var(--landing-line);
}

.capability-clusters article:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--landing-line);
}

.capability-clusters h3 {
  color: var(--landing-text);
  font-size: 25px;
  line-height: 1.15;
}

.capability-clusters p {
  max-width: 520px;
  margin-top: 10px;
  color: var(--landing-body);
  font-size: 15px;
  font-weight: 650;
}

.capability-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.capability-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--landing-line);
  border-radius: 9px;
  background: var(--landing-panel);
  color: var(--landing-text);
  padding: 0 11px;
  font-size: 13px;
  font-weight: 820;
}

.capability-links a:hover,
.capability-links a:focus-visible {
  border-color: var(--landing-brand);
  color: var(--landing-brand);
}

.identity-panel {
  display: grid;
  grid-template-columns: minmax(230px, .58fr) minmax(0, 1.42fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  border: 1px solid rgba(148, 163, 184, .26);
  border-radius: 22px;
  background: #111827;
  padding: clamp(28px, 5vw, 58px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, .2);
}

.identity-panel > * {
  min-width: 0;
}

.identity-mark {
  min-height: 220px;
  display: grid;
  place-content: center;
  gap: 8px;
  border: 1px solid rgba(226, 232, 240, .18);
  border-radius: 18px;
  background: #0b1020;
  text-align: center;
}

.identity-mark span {
  color: #a5b4fc;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .15em;
}

.identity-mark strong {
  color: #ffffff;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -.04em;
}

.identity-panel h2 {
  color: #ffffff;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.04;
  text-wrap: balance;
}

.identity-panel p {
  margin-top: 16px;
  color: #dbe4f0;
  font-size: 16px;
  font-weight: 620;
  line-height: 1.55;
}

.identity-panel p strong {
  color: #ffffff;
}

.identity-panel .btn:not(.primary) {
  border-color: rgba(226, 232, 240, .25);
  background: #ffffff;
  color: #111827;
}

.identity-section {
  background: var(--landing-panel-soft);
}

.identity-info {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(460px, 1.06fr);
  gap: clamp(38px, 5vw, 72px);
  align-items: start;
}

.identity-copy h2 {
  max-width: 680px;
  color: var(--landing-text);
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.04;
  text-wrap: balance;
}

.identity-copy p {
  max-width: 680px;
  margin-top: 20px;
  color: var(--landing-body);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 640;
  line-height: 1.56;
  text-wrap: pretty;
}

.identity-definitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

.identity-definitions > div {
  display: grid;
  gap: 7px;
  align-content: start;
  min-height: 150px;
  padding: 24px 24px 26px 0;
  border-top: 1px solid var(--landing-line);
}

.identity-definitions > div:nth-child(even) {
  padding-right: 0;
  padding-left: 24px;
  border-left: 1px solid var(--landing-line);
}

.identity-definitions > div:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--landing-line);
}

.identity-definitions strong {
  color: var(--landing-text);
  font-size: 20px;
  line-height: 1.2;
}

.identity-definitions span {
  color: var(--landing-muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.48;
}

.identity-note-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 28px;
  border-top: 1px solid var(--landing-line);
}

.identity-note-row p {
  max-width: 820px;
  margin: 0;
  color: var(--landing-text);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.32;
}

.identity-note-row .btn {
  flex: 0 0 auto;
}

.organization-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.organization-grid article {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--landing-line);
  border-radius: 18px;
  background: var(--landing-panel);
  padding: 24px;
}

.organization-grid h3 {
  font-size: 24px;
  line-height: 1.1;
  text-wrap: balance;
}

.organization-grid p {
  margin-top: 14px;
  color: var(--landing-body);
  font-size: 15px;
  font-weight: 650;
}

.organization-grid ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 24px;
  padding-left: 20px;
  color: var(--landing-muted);
  font-size: 14px;
  font-weight: 650;
}

.organization-grid .btn {
  width: fit-content;
  margin-top: auto;
}

.organization-card-accent {
  border-color: color-mix(in srgb, var(--landing-brand) 44%, var(--landing-line)) !important;
  box-shadow: 0 22px 52px rgba(79, 70, 229, .11);
}

@media (max-width: 980px) {
  .home-page .hero-grid,
  .workspace-story-grid,
  .identity-panel,
  .identity-info,
  .workspace-story-layout .workspace-story-copy {
    grid-template-columns: minmax(0, 1fr);
  }

  .research-thread,
  .organization-grid,
  .home-scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .identity-mark {
    min-height: 160px;
  }
}

@media (min-width: 981px) {
  body.home-page:not(.pricing-page) .hero--sticky-preview > .container.hero-grid {
    grid-template-columns: minmax(400px, .92fr) minmax(0, 1.08fr) !important;
  }

  .home-hero-title > span {
    font-size: clamp(36px, 3.2vw, 46px);
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .home-hero-title > span {
    font-size: 37px;
  }
}

@media (max-width: 700px) {
  .home-hero-title {
    gap: 13px;
  }

  .home-hero-title > span {
    font-size: clamp(28px, 8.9vw, 36px);
  }

  .home-hero-title > strong {
    font-size: 24px;
  }

  .research-thread,
  .capability-clusters,
  .organization-grid,
  .home-scenario-grid,
  .workspace-outcome-grid {
    grid-template-columns: 1fr;
  }

  .workspace-outcome-grid li:nth-last-child(2) {
    border-bottom: 0;
  }

  .research-thread li,
  .home-scenario-grid .scenario-card {
    min-height: 0;
  }

  .capability-clusters article:nth-last-child(2) {
    border-bottom: 0;
  }

  .identity-panel {
    padding: 24px;
    border-radius: 18px;
  }

  .identity-mark {
    min-height: 132px;
  }

  .organization-grid article {
    padding: 21px;
  }

  .organization-grid .btn {
    width: 100%;
  }

  .identity-note-row {
    align-items: stretch;
    flex-direction: column;
  }

  .identity-definitions {
    grid-template-columns: 1fr;
  }

  .identity-definitions > div,
  .identity-definitions > div:nth-child(even) {
    min-height: 0;
    padding: 20px 0 22px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
  }

  .identity-definitions > div:last-child {
    border-bottom: 1px solid var(--landing-line);
  }

  .identity-note-row .btn {
    width: 100%;
  }
}

/* Compact navigation keeps the complete site structure available on phones and tablets. */
.mobile-nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  flex: 0 0 44px;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--landing-line);
  border-radius: 10px;
  background: var(--landing-panel);
  color: var(--landing-text);
  padding: 0;
}

.mobile-nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: opacity .18s ease, transform .18s ease;
}

.final-panel > * {
  min-width: 0;
}

@media (max-width: 919px) {
  body.has-mobile-nav-open {
    overflow: hidden;
  }

  .site-header .nav {
    position: relative;
  }

  .site-header .nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
  }

  .site-header .mobile-nav-toggle {
    display: grid;
  }

  .site-header.is-mobile-nav-open .mobile-nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-mobile-nav-open .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-mobile-nav-open .mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header .nav-links {
    display: none !important;
  }

  .site-header.is-mobile-nav-open .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 20;
    max-height: calc(100dvh - 98px);
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow-y: auto;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--landing-line);
    border-radius: 18px;
    background: var(--landing-panel);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .2);
    overscroll-behavior: contain;
  }

  .site-header .nav-group {
    width: 100%;
    display: block;
  }

  .site-header .nav-trigger {
    width: 100%;
    min-height: 48px !important;
    justify-content: space-between;
    padding: 0 14px !important;
  }

  .site-header .nav-group.is-mobile-open .nav-trigger {
    background: var(--landing-panel-soft) !important;
    color: var(--landing-text) !important;
  }

  .site-header .nav-group.is-mobile-open .nav-trigger::after {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .site-header .nav-panel,
  .site-header .nav-group:hover .nav-panel,
  .site-header .nav-group:focus-within .nav-panel {
    position: static;
    width: 100%;
    max-width: none;
    display: none !important;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    box-shadow: none;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: none !important;
  }

  .site-header .nav-group.is-mobile-open .nav-panel,
  .site-header .nav-group.is-mobile-open:hover .nav-panel,
  .site-header .nav-group.is-mobile-open:focus-within .nav-panel {
    display: block !important;
    padding: 8px;
    border: 1px solid var(--landing-line);
    background: var(--landing-panel-soft) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .site-header .nav-panel::before {
    display: none;
  }

  .site-header .nav-panel small {
    margin: 4px 8px 8px;
  }

  .site-header .nav-panel a {
    min-height: 48px;
    padding: 10px !important;
  }

  .final-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .site-header .nav {
    min-height: 60px;
    padding-right: 8px;
    padding-left: 10px;
  }

  .site-header .nav-actions > .btn.primary[data-mobile-label] {
    min-width: 90px;
    min-height: 44px !important;
    padding: 0 10px !important;
    font-size: 0 !important;
  }

  .site-header .nav-actions > .btn.primary[data-mobile-label]::after {
    content: attr(data-mobile-label);
    font-size: 12px;
  }

  .real-graph-motion-host .real-graph-toolbar button,
  .real-graph-static-host .real-graph-toolbar button {
    min-width: 44px;
    min-height: 44px;
  }

  .real-graph-motion-host .real-graph-controls button,
  .real-graph-static-host .real-graph-controls button {
    min-width: 44px;
  }

  .final-panel {
    padding: 22px 20px;
    border-radius: 20px;
  }

  .final h2,
  .identity-panel h2 {
    font-size: clamp(23px, 7.2vw, 28px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }
}

@media (min-width: 561px) and (max-width: 980px) {
  .real-graph-motion-host .real-graph-toolbar,
  .real-graph-static-host .real-graph-toolbar {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    flex-wrap: wrap;
    gap: 6px;
  }

  .real-graph-motion-host .real-graph-toolbar button,
  .real-graph-static-host .real-graph-toolbar button,
  .real-graph-motion-host .real-graph-controls button,
  .real-graph-static-host .real-graph-controls button {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Static copy must not look like a clickable card. Keep full frames for links,
   controls, pricing choices, graphs, and other interactive surfaces only. */
.two-col > div:not(.product-screen-wrap),
.block-grid > article,
.faq-grid > article,
.value-bridge-grid > article,
.research-thread > li,
.organization-grid > article {
  border: 0;
  border-top: 1px solid var(--landing-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

.two-col > div:not(.product-screen-wrap) {
  padding: 22px 0;
}

.block-grid > article,
.faq-grid > article {
  padding: 18px 0 22px;
}

.value-bridge-grid > article {
  padding: 16px 0 18px;
}

.research-thread > li {
  padding: 18px 0;
}

.organization-grid > article {
  padding: 24px 0;
}

.two-col > div:not(.product-screen-wrap):hover,
.block-grid > article:hover,
.faq-grid > article:hover,
.value-bridge-grid > article:hover,
.research-thread > li:hover,
.organization-grid > article:hover {
  border-top-color: var(--landing-line);
  box-shadow: none;
  transform: none;
}

.value-bridge,
.identity-panel {
  border: 0;
  box-shadow: none;
}

.organization-card-accent {
  border-top-color: var(--landing-line) !important;
  box-shadow: none !important;
}
