 :root {
  color-scheme: dark;
  --bg: #0f0d18;
  --bg-2: #151327;
  --surface: #1a1830;
  --surface-2: #201d39;
  --surface-3: #282446;
  --header: rgba(14, 12, 24, 0.92);
  --text: #f6f6fb;
  --muted: #b5b2c7;
  --dim: #88859a;
  --border: #312d48;
  --border-soft: #24203a;
  --accent: #887ce8;
  --accent-strong: #7469d7;
  --button-bg: #7469d7;
  --button-hover: #685dc4;
  --accent-ink: #ffffff;
  --accent-soft: rgba(136, 124, 232, 0.10);
  --accent-border: rgba(136, 124, 232, 0.29);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  --grid: rgba(136, 124, 232, 0.032);
  --danger-muted: #aba8ba;
  --purple: #b9b2e8;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fbf9fe;
  --bg-2: #f5f1fb;
  --surface: #ffffff;
  --surface-2: #f3eefb;
  --surface-3: #ece5f8;
  --header: rgba(251, 249, 254, 0.95);
  --text: #1f1a2d;
  --muted: #655f79;
  --dim: #8a84a1;
  --border: #ddd5ee;
  --border-soft: #ece7f6;
  --accent: #7A63E8;
  --accent-strong: #694DD4;
  --accent-ink: #ffffff;
  --accent-soft: rgba(122, 99, 232, 0.09);
  --accent-border: rgba(122, 99, 232, 0.28);
  --shadow: 0 24px 65px rgba(44, 28, 80, 0.08);
  --grid: transparent;
  --danger-muted: #7a748f;
  --purple: #7e6eea;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fcfcfd;
  --bg-2: #f7f7fa;
  --surface: #ffffff;
  --surface-2: #f5f4fa;
  --surface-3: #efedf7;
  --header: rgba(252, 252, 253, 0.95);
  --text: #1b1b20;
  --muted: #62626c;
  --dim: #707079;
  --border: #dddde4;
  --border-soft: #eeeeF2;
  --accent: #5d54b6;
  --accent-strong: #4f46a4;
  --button-bg: #5d54b6;
  --button-hover: #4f46a4;
  --accent-ink: #ffffff;
  --accent-soft: rgba(93, 84, 182, 0.07);
  --accent-border: rgba(93, 84, 182, 0.25);
  --shadow: 0 24px 65px rgba(26, 23, 55, 0.09);
  --grid: transparent;
  --danger-muted: #707078;
  --purple: #6a61c4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
svg { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: 0; left: -999px; background: var(--accent); color: var(--accent-ink); padding: .7rem 1rem; font-weight: 800; }
.skip-link:focus { left: 0; }
.shell, .hero-shell, .nav-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(16px);
}
.nav-shell { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.brand-logo { width: 36px; height: 36px; display: block; flex: 0 0 auto; border-radius: 10px; box-shadow: 0 13px 30px -18px rgba(116,105,215,.36); }
.site-nav { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
.site-nav a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.theme-toggle button { width: 31px; height: 29px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--dim); cursor: pointer; }
.theme-toggle button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle button[aria-pressed="true"] { color: var(--accent); background: var(--accent-soft); }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-weight: 800; font-size: 14px; letter-spacing: -0.01em; cursor: pointer; }
.button-primary { background: var(--button-bg); color: var(--accent-ink); box-shadow: 0 14px 36px rgba(116, 105, 215, .18); }
.button-primary:hover { background: var(--button-hover); }
.button-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.button-ghost:hover { border-color: var(--accent-border); background: var(--accent-soft); }
.button-small { min-height: 42px; padding-inline: 18px; }

.hero { position: relative; min-height: 760px; display: grid; align-items: center; border-bottom: 1px solid var(--border-soft); overflow: hidden; }
.hero-grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%); }
:root[data-theme="light"] .hero-grid-bg { display: none; }
.hero-shell { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(460px, .97fr); gap: 74px; align-items: center; padding-block: 92px 86px; }
.hero-copy { max-width: 650px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--accent); font: 800 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(58px, 6.2vw, 88px); line-height: .97; letter-spacing: -.045em; font-weight: 860; text-wrap: balance; }
h1 span { color: var(--purple); }
@media (orientation: landscape) {
  h1 { font-size: clamp(48px, 3.75vw, 54px); line-height: 1.01; }
}
.hero-lede { max-width: 650px; margin-bottom: 30px; color: var(--muted); font-size: clamp(17px, 1.55vw, 20px); line-height: 1.58; letter-spacing: -.015em; }
.hero-lede strong { color: var(--text); font-weight: 770; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; max-width: 650px; margin: 0; padding: 0; list-style: none; color: var(--dim); font: 500 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; }
.hero-proof li::before { content: "✓"; color: var(--accent); margin-right: 7px; font-weight: 900; }

.hero-visual {
  width: 100%;
  max-width: 560px;
  justify-self: end;
  display: grid;
  gap: 14px;
}
.sealed-session {
  width: 100%;
  max-width: 560px;
  justify-self: stretch;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.session-bar {
  min-height: 58px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  padding-inline: 16px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-2) 58%, transparent);
}
.session-dots { display: flex; align-items: center; gap: 6px; }
.session-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.session-dots i:nth-child(2) { background: var(--accent-border); }
.session-dots i:nth-child(3) { background: var(--accent); }
.session-title {
  min-width: 0;
  overflow: hidden;
  color: var(--dim);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .035em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.session-title b { color: var(--accent); font-weight: 800; }
.session-replay {
  justify-self: end;
  width: 28px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}
.session-replay:hover { color: var(--accent); border-color: var(--accent-border); background: var(--accent-soft); }
.session-replay:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.session-replay svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.session-body { display: grid; gap: 18px; padding: 29px 22px 21px; }
.sealed-flow {
  width: 100%;
  min-height: 236px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(116px, .9fr) minmax(0, 1fr);
  grid-template-rows: 24px minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: 11px 8px;
}
.flow-side { min-width: 0; align-self: stretch; display: grid; grid-template-rows: 1fr 1fr; gap: 13px; }
.flow-input { grid-column: 1; grid-row: 2; }
.flow-output { grid-column: 3; grid-row: 2; }
.flow-row { min-width: 0; display: flex; align-items: center; gap: 6px; }
.flow-input .flow-row { justify-content: flex-end; }
.flow-output .flow-row { justify-content: flex-start; }
.flow-node {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 66px;
  padding: 10px;
  overflow-wrap: anywhere;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 11.25px;
  font-weight: 650;
  line-height: 1.45;
}
.flow-tag {
  color: var(--accent);
  font-size: 9px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: .1em;
}
.flow-arrow {
  position: relative;
  width: 16px;
  height: 1px;
  flex: 0 0 16px;
  border-top: 1px solid var(--dim);
  color: var(--dim);
}
.flow-arrow::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -1px;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.flow-box {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  min-width: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 16px 8px;
  border: 1.5px solid var(--accent-border);
  border-radius: 13px;
  background: var(--accent-soft);
  text-align: center;
}
.flow-box-title { color: var(--text); font-size: 11px; font-weight: 850; line-height: 1.2; letter-spacing: .09em; }
.flow-box-sub { color: var(--muted); font-size: 10px; line-height: 1.3; }
.flow-lock { position: relative; width: 25px; height: 34px; color: var(--accent); line-height: 0; }
.flow-lock svg { position: absolute; inset: 0; width: 25px; height: 34px; overflow: visible; }
.lock-shackle {
  z-index: 1;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  transform-origin: 7.8px center;
}
.lock-body { z-index: 2; fill: currentColor; }
.lock-body circle, .lock-body rect:nth-of-type(2) { fill: var(--surface); }
.flow-outhead {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
  color: var(--dim);
  font-size: 8.5px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: .08em;
}
.flow-id { display: block; margin-top: 3px; color: var(--dim); font-size: 9px; font-weight: 500; line-height: 1.35; }
.session-status { color: var(--muted); font-size: 11.5px; font-weight: 650; text-align: center; }
.session-status span { color: var(--accent); font-weight: 850; }
.session-caption {
  margin: 0 22px;
  padding: 16px 0 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 550;
  line-height: 1.55;
  text-align: center;
}
.sequence-in { --enter-x: -12px; animation: session-enter .65s ease both; animation-delay: var(--delay, 0ms); }
.flow-output .sequence-in { --enter-x: 12px; }
.sequence-fade { animation: session-fade .72s ease both; animation-delay: var(--delay, 0ms); }
.sequence-lock { animation: session-lock-pulse 1.3s ease both; animation-delay: calc(var(--delay, 0ms) + 1300ms); }
.sequence-lock .lock-shackle { animation: session-lock-close 1.45s both; animation-delay: var(--delay, 0ms); }
@keyframes session-enter {
  from { opacity: 0; transform: translate(var(--enter-x), var(--enter-y, 0)); }
  to { opacity: 1; transform: translate(0, 0); }
}
@keyframes session-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes session-lock-pulse {
  0% { border-color: var(--border); box-shadow: 0 0 0 0 transparent; }
  45% { border-color: var(--accent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 16%, transparent); }
  100% { border-color: var(--accent-border); box-shadow: 0 0 0 0 transparent; }
}
@keyframes session-lock-close {
  0% { transform: translateY(0) rotateY(180deg); animation-timing-function: cubic-bezier(.55, 0, .3, 1); }
  62% { transform: translateY(0) rotateY(0deg); animation-timing-function: linear; }
  74% { transform: translateY(0) rotateY(0deg); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  90% { transform: translateY(1.8px) rotateY(0deg); animation-timing-function: ease-out; }
  100% { transform: translateY(1.5px) rotateY(0deg); }
}
.product-strip { border-bottom: 1px solid var(--border-soft); background: var(--bg-2); }
.product-strip-inner { width: min(1180px, calc(100% - 48px)); min-height: 74px; margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: 26px; color: var(--dim); font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.strip-arrow { color: var(--accent); font-size: 18px; }
.strip-box { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.strip-box svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.section { padding-block: 110px; }
.section-heading { max-width: 880px; margin-bottom: 54px; }
.section-heading h2 { margin-bottom: 19px; color: var(--text); font-size: clamp(42px, 4.6vw, 64px); line-height: 1.07; letter-spacing: -.025em; text-wrap: balance; }
.section-heading > p:not(.eyebrow) { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.compact-heading { max-width: 980px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-card { min-height: 340px; padding: 28px; border: 1px solid var(--border-soft); border-radius: 16px; background: var(--surface); }
.card-kicker { margin-bottom: 13px; color: var(--accent); font: 800 13px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; }
.benefit-card h3, .use-case-card h3 { margin-bottom: 14px; font-size: 24px; line-height: 1.22; letter-spacing: -.015em; }
.benefit-card > p:last-child, .use-case-card p { margin-bottom: 0; color: var(--muted); }
.audience-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 34px 32px;
}
.audience-card .card-kicker { margin-bottom: 18px; }
.audience-card h3 { margin-bottom: 18px; font-size: 26px; }
.audience-card > p:not(.card-kicker, .audience-path) { margin-bottom: 26px; color: var(--muted); font-size: 15px; line-height: 1.72; }
.audience-path {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  color: var(--dim);
  font: 750 8.5px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .065em;
}
.audience-path span { min-width: 0; text-align: center; }
.audience-path i { flex: none; color: var(--accent); font-style: normal; }
.solution-table-wrap {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: var(--surface);
}
.solution-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.solution-table th,
.solution-table td { padding: 24px 20px; border-bottom: 1px solid var(--border-soft); text-align: left; vertical-align: middle; }
.solution-table thead th {
  color: var(--dim);
  background: var(--surface-2);
  font: 800 9px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
}
.solution-table thead th:first-child { width: 22%; }
.solution-table thead th:not(:first-child) {
  width: 26%;
  color: var(--text);
  font: 750 14px/1.35 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.01em;
}
.solution-table tbody th {
  color: var(--dim);
  font: 800 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .09em;
}
.solution-table tbody td { color: var(--muted); font-size: 13px; line-height: 1.4; }
.solution-table tbody tr:last-child th,
.solution-table tbody tr:last-child td { border-bottom: 0; }
.solution-cell-featured {
  background: var(--accent-soft) !important;
  box-shadow: inset 3px 0 0 var(--accent);
}
.solution-table thead .solution-cell-featured { color: var(--accent); }
.table-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.table-status-muted { color: var(--dim); }
.table-status-neutral-positive { color: var(--text); }
.table-status-positive { color: var(--accent); }

@media (max-width: 900px), (orientation: portrait) {
  .solution-table th,
  .solution-table td { padding: 17px 12px; overflow-wrap: anywhere; }
  .solution-table thead th:not(:first-child) { font-size: 12px; }
  .solution-table tbody td { font-size: 11.5px; }
}

@media (max-width: 520px) {
  .solution-table thead th:first-child { width: 25%; }
  .solution-table thead th:not(:first-child) { width: 25%; font-size: 10px; line-height: 1.25; }
  .solution-table th,
  .solution-table td { padding: 13px 6px; text-align: center; }
  .solution-table thead th:first-child,
  .solution-table tbody th { text-align: left; }
  .solution-table tbody th { font-size: 7.5px; line-height: 1.35; letter-spacing: .045em; }
  .solution-table tbody td { font-size: 9.5px; line-height: 1.35; }
  .table-status { justify-content: center; gap: 3px; }
}

.inside-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); gap: 72px; align-items: center; }
.inside-copy { margin-bottom: 0; }
.feature-list { display: grid; gap: 18px; margin: 34px 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
.feature-list li > span { color: var(--accent); font: 800 11px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; }
.feature-list strong { display: block; margin-bottom: 5px; font-size: 16px; }
.feature-list p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.static-box-diagram { position: relative; min-height: 570px; padding-top: 84px; }
.input-card { position: absolute; z-index: 3; top: 0; width: 43%; min-height: 72px; display: flex; align-items: center; gap: 13px; padding: 15px 17px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); }
.input-customer { left: 0; }
.input-vendor { right: 0; }
.input-card svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--accent); }
.input-vendor svg { color: var(--purple); }
.input-card div { display: grid; gap: 3px; }
.input-card small { color: var(--dim); font: 700 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.input-card strong { font-size: 13px; }
.diagram-connector { position: absolute; z-index: 1; top: 64px; width: 31%; height: 65px; border-bottom: 1px solid var(--border); }
.connector-left { left: 18%; transform: skewY(12deg); }
.connector-right { right: 18%; transform: skewY(-12deg); }
.box-core { position: relative; z-index: 2; margin: 26px auto 0; width: 82%; border: 1px solid var(--accent-border); border-radius: 19px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.box-core-top { min-height: 50px; display: flex; justify-content: space-between; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--border); color: var(--dim); font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .11em; }
.box-core-top span:last-child { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); }
.box-core-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.box-core-content { min-height: 294px; padding: 31px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.large-lock { width: 74px; height: 82px; color: var(--accent); margin-bottom: 12px; }
.large-lock svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 4.4; stroke-linecap: round; stroke-linejoin: round; }
.large-lock rect { fill: var(--accent); stroke: none; }
.large-lock circle { fill: var(--accent-ink); stroke: none; }
.large-lock path:last-child { stroke: var(--accent-ink); }
.box-core-content > strong { font-size: 22px; letter-spacing: -.012em; }
.box-core-content > p { max-width: 430px; margin: 7px 0 18px; color: var(--muted); font: 500 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.guarantee-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.guarantee-pills span { padding: 7px 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.diagram-output-line { width: 1px; height: 38px; margin: 0 auto; background: var(--accent-border); }
.diagram-output { width: 90%; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); }
.diagram-output > div { display: flex; align-items: center; gap: 11px; padding: 13px; border-radius: 10px; background: var(--surface-2); }
.diagram-output svg { width: 23px; height: 23px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.diagram-output span { display: grid; gap: 2px; }
.diagram-output strong { font-size: 12px; }
.diagram-output small { color: var(--dim); font-size: 9px; }

.section-dark-block { background: #0b0c10; color: #f4f4f7; border-block: 1px solid #29263b; }
:root[data-theme="light"] .section-dark-block { background: #111218; }
.section-dark-block .section-heading h2 { color: #f4f4f7; }
.section-dark-block .section-heading > p:not(.eyebrow) { color: #aaaab4; }
.section-dark-block .solution-table-wrap {
  border-color: #4a455f;
  background: #13141a;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .2);
}
.section-dark-block .solution-table th,
.section-dark-block .solution-table td { border-color: #373344; }
.section-dark-block .solution-table th + th,
.section-dark-block .solution-table td + td { border-left: 1px solid #302d3d; }
.section-dark-block .solution-table thead th {
  color: #b8b4c5;
  background: #1e1c2b;
}
.section-dark-block .solution-table thead th:not(:first-child) { color: #f1eff6; }
.section-dark-block .solution-table tbody tr,
.section-dark-block .solution-table tbody th { background: #15161d; }
.section-dark-block .solution-table tbody th { color: #d5d1df; }
.section-dark-block .solution-table tbody td {
  color: #ddd9e6;
  background: #13141a;
}
.section-dark-block .solution-table tbody tr:nth-child(even) th,
.section-dark-block .solution-table tbody tr:nth-child(even) td:not(.solution-cell-featured) {
  background: #181820;
}
.section-dark-block .solution-cell-featured {
  color: #f3f0ff;
  background: #2a2448 !important;
  box-shadow: inset 3px 0 0 #9888ff;
}
.section-dark-block .solution-table thead .solution-cell-featured { color: #c2b8ff; }
.section-dark-block .table-status-muted { color: #bbb7c5; }
.section-dark-block .table-status-neutral-positive { color: #f0edf6; }
.section-dark-block .table-status-positive { color: #b7a8ff; }

.use-case-marquee {
  width: 100%;
  overflow: hidden;
  padding-block: 5px;
  outline: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}
.use-case-marquee:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 14px; }
.use-case-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: use-case-flow 52s linear infinite;
}
.use-case-set { display: flex; gap: 15px; padding-right: 15px; }
.use-case-card {
  width: 280px;
  min-height: 270px;
  flex: 0 0 280px;
  padding: 25px;
  border: 1px solid var(--border-soft);
  border-radius: 15px;
  background: var(--surface);
}
.use-case-card svg { width: 29px; height: 29px; margin-bottom: 34px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.use-case-card h3 { font-size: 20px; }
.use-case-marquee:hover .use-case-track,
.use-case-marquee:focus-within .use-case-track { animation-play-state: paused; }
@keyframes use-case-flow {
  to { transform: translateX(-50%); }
}

.final-cta { padding-block: 85px; border-top: 1px solid var(--border-soft); background: var(--bg-2); color: #f7f5ff; }
.final-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.final-cta h2 { max-width: 820px; margin-bottom: 14px; color: #f8f7ff; font-size: clamp(39px, 4.2vw, 60px); line-height: 1.07; letter-spacing: -.025em; }
.final-cta p:not(.eyebrow) { max-width: 760px; margin-bottom: 0; color: #c9c5da; font-size: 17px; }
.final-cta .eyebrow { color: #aaa1e8; }
.site-footer { padding-block: 34px; border-top: 1px solid var(--border-soft); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; color: var(--dim); font-size: 12px; }
.footer-inner > div { display: grid; gap: 4px; }
.footer-inner strong, .footer-inner a { color: var(--text); text-decoration: none; }
.footer-inner > div:last-child { text-align: right; }

@media (max-width: 1080px) {
  .brand { order: 1; }
  .nav-actions { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; display: block; margin-left: 0; }
  .site-nav { order: 4; display: none; }
  .nav-cta { display: none; }
  .site-nav.is-open { position: absolute; display: grid; top: 76px; left: 24px; right: 24px; padding: 18px; gap: 4px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
  .site-nav.is-open a { padding: 11px; }
  .hero-shell { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 800px; }
  .hero-visual, .sealed-session { max-width: 720px; justify-self: start; }
  .inside-layout { grid-template-columns: 1fr; }
  .inside-copy { max-width: 850px; }
  .static-box-diagram { max-width: 720px; width: 100%; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .shell, .hero-shell, .nav-shell { width: min(100% - 30px, 1180px); }
  .nav-shell { min-height: 68px; gap: 10px; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .theme-toggle button { width: 29px; }
  .site-nav.is-open { top: 68px; left: 15px; right: 15px; }
  .hero { min-height: auto; }
  .hero-shell { padding-block: 72px 62px; gap: 38px; }
  h1 { font-size: clamp(52px, 15vw, 72px); line-height: .94; }
  .hero-lede { font-size: 17px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-visual, .sealed-session { max-width: 600px; justify-self: center; }
  .session-bar {
    min-height: 48px;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    padding-inline: 10px;
  }
  .session-body {
    gap: 8px;
    padding: 10px 8px 7px;
  }
  .sealed-flow {
    min-height: 172px;
    grid-template-columns: minmax(0, 1fr) minmax(92px, .9fr) minmax(0, 1fr);
    grid-template-rows: 18px minmax(0, 1fr);
    gap: 8px 4px;
  }
  .flow-side {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 8px;
  }
  .flow-input { grid-column: 1; grid-row: 2; }
  .flow-box {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    gap: 5px;
    padding: 9px 4px;
  }
  .flow-outhead {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    justify-self: stretch;
    font-size: 7px;
    letter-spacing: .035em;
    text-align: left;
  }
  .flow-output { grid-column: 3; grid-row: 2; }
  .flow-row {
    min-width: 0;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
    gap: 3px;
  }
  .flow-input .flow-row { justify-content: flex-end !important; }
  .flow-output .flow-row { justify-content: flex-start !important; }
  .flow-node {
    width: auto;
    min-height: 56px;
    flex: 1 1 auto;
    justify-items: start;
    padding: 6px 5px;
    text-align: left;
    font-size: 9px;
    line-height: 1.35;
  }
  .flow-tag { font-size: 7px; line-height: 1.25; letter-spacing: .045em; }
  .flow-arrow {
    width: 8px;
    height: 1px;
    flex: 0 0 8px;
    border-top: 1px solid var(--dim);
    border-left: 0;
    align-self: center;
  }
  .flow-arrow::after {
    top: -4px;
    right: -1px;
    bottom: auto;
    left: auto;
    transform: rotate(45deg);
  }
  .flow-box-title { font-size: 8.25px; letter-spacing: .045em; }
  .flow-box-sub { font-size: 8px; }
  .flow-lock { width: 21px; height: 30px; }
  .flow-lock svg { width: 21px; height: 30px; }
  .flow-id { font-size: 7.25px; line-height: 1.25; }
  .session-status { font-size: 9px; line-height: 1.35; }
  .session-caption {
    margin-inline: 10px;
    padding-block: 9px 10px;
    font-size: 8.5px;
    line-height: 1.4;
  }
  .sequence-in { --enter-x: -8px; --enter-y: 0; }
  .flow-output .sequence-in { --enter-x: 8px; --enter-y: 0; }
  .product-strip-inner {
    width: min(100% - 30px, 1180px);
    min-height: 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(105px, 1.15fr) auto minmax(0, 1fr);
    gap: 4px;
    padding-block: 11px;
    font-size: 7.5px;
    line-height: 1.35;
    letter-spacing: .035em;
    text-align: center;
  }
  .strip-arrow { transform: none; font-size: 12px; }
  .strip-label, .strip-box { width: auto; justify-content: center; }
  .strip-box { gap: 4px; }
  .strip-box svg { width: 16px; height: 16px; flex: none; }
  .section { padding-block: 78px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: clamp(38px, 11vw, 52px); }
  .section-heading > p:not(.eyebrow) { font-size: 16px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card:last-child { grid-column: auto; }
  .benefit-card { min-height: auto; }
  .use-case-card { width: min(82vw, 310px); flex-basis: min(82vw, 310px); min-height: 250px; }
  .inside-layout { gap: 45px; }
  .static-box-diagram { min-height: 670px; padding-top: 170px; }
  .input-card { width: 100%; }
  .input-customer { top: 0; }
  .input-vendor { top: 84px; }
  .diagram-connector { display: none; }
  .box-core { width: 100%; margin-top: 0; }
  .box-core-content { min-height: 280px; padding-inline: 18px; }
  .diagram-output { width: 100%; grid-template-columns: 1fr; }
  .final-cta-inner { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-inner > div:last-child { text-align: left; }
}

@media (orientation: portrait) {
  .hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(38px, 5vw, 52px);
  }
  .hero-copy {
    width: min(100%, 800px);
    margin-inline: auto;
    text-align: center;
  }
  .eyebrow,
  .hero-actions,
  .hero-proof {
    justify-content: center;
  }
  .hero-lede {
    margin-inline: auto;
  }
  .hero-visual,
  .sealed-session {
    width: min(100%, 720px);
    max-width: 720px;
    justify-self: center;
    margin-inline: auto;
  }
}

@media (max-width: 430px) {
  .brand span:last-child { font-size: 16px; }
  .hero-shell { padding-top: 58px; }
  h1 { font-size: 49px; }
  .eyebrow { font-size: 10px; line-height: 1.5; }
  .session-title { font-size: 10px; }
  .session-dots { gap: 4px; }
  .session-dots i { width: 6px; height: 6px; }
  .session-body { padding-inline: 8px; }
  .audience-path { gap: 6px; letter-spacing: .035em; }
  .sealed-flow {
    grid-template-columns: minmax(0, 1fr) minmax(84px, .88fr) minmax(0, 1fr);
    gap-inline: 3px;
  }
  .flow-node { padding-inline: 4px; font-size: 8.5px; }
  .flow-tag { font-size: 6.5px; letter-spacing: .035em; }
  .flow-arrow { width: 7px; flex-basis: 7px; }
  .flow-box-title { font-size: 7.75px; }
  .product-strip-inner { font-size: 7px; letter-spacing: .025em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sealed-session *, .sealed-session *::before, .sealed-session *::after { animation: none !important; transition: none !important; }
  .use-case-marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .use-case-track { width: 100%; animation: none; }
  .use-case-set { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-right: 0; }
  .use-case-set[aria-hidden="true"] { display: none; }
  .use-case-card { width: auto; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 1080px) {
  .use-case-set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .use-case-set { grid-template-columns: minmax(0, 1fr); }
}

/* V8 — full-stack system depth */
.system-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr);
  gap: 82px;
  align-items: center;
}
.system-copy { margin-bottom: 0; }
.system-callout {
  margin-top: 28px !important;
  padding: 18px 20px;
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--muted) !important;
  font-size: 14px !important;
}
.system-callout strong { color: var(--text); }
.stack-panel {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.stack-panel article {
  min-height: 92px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 21px;
  border-bottom: 1px solid var(--border-soft);
}
.stack-panel article:last-child { border-bottom: 0; }
.stack-panel .stack-performance {
  border-top: 1px solid var(--accent-border);
  background: linear-gradient(90deg, var(--accent-soft), transparent 72%);
}
.stack-panel .stack-performance > span,
.stack-panel .stack-performance em { color: var(--accent); }
.stack-panel article > span {
  color: var(--accent);
  font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.stack-panel article > div { display: grid; gap: 4px; }
.stack-panel strong { font-size: 15px; }
.stack-panel p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.stack-panel em {
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--dim);
  font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  font-style: normal;
  letter-spacing: .08em;
}

.performance-section {
  background: #0b0c10;
  color: #f4f4f7;
  border-block: 1px solid #29263b;
}
:root[data-theme="light"] .performance-section { background: #111218; }
.performance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
  gap: 68px;
  align-items: start;
}
.performance-copy { margin-bottom: 0; }
.performance-props {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.performance-props li {
  padding: 22px 24px;
  border: 1px solid #39354d;
  border-radius: 15px;
  background: #151323;
}
.performance-props h3 {
  margin-bottom: 0;
  color: #f4f4f7;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -.012em;
}
.performance-copy h2 { color: #f4f4f7; }
.performance-copy > p:not(.eyebrow) { color: #aaaab4; }
.research-section { background: var(--bg-2); border-bottom: 1px solid var(--border-soft); }
.research-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, .72fr);
  gap: 72px;
  align-items: end;
}
.research-heading { margin-bottom: 0; }
.research-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.research-stats div {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.research-stats strong { color: var(--accent); font-size: 44px; line-height: .9; letter-spacing: -.06em; }
.research-stats span { color: var(--muted); font-size: 11px; line-height: 1.45; }
.research-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 52px;
}
.research-map article {
  min-height: 265px;
  padding: 25px;
  border: 1px solid var(--border-soft);
  border-radius: 15px;
  background: var(--surface);
}
.research-map span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font: 800 10px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
}
.research-map h3 { margin-bottom: 13px; font-size: 21px; line-height: 1.22; letter-spacing: -.015em; }
.research-map p { margin: 0; color: var(--muted); font-size: 14px; }
.publication-strip {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 25px;
  align-items: start;
  margin-top: 16px;
  padding: 22px 25px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--surface);
}
.publication-strip span { color: var(--accent); font: 800 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .11em; }
.publication-strip p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

@media (max-width: 1080px) {
  .system-layout, .performance-layout, .research-top { grid-template-columns: 1fr; }
  .system-copy, .performance-copy, .research-heading { max-width: 850px; }
  .stack-panel { max-width: 820px; }
  .performance-props { grid-template-columns: 1fr 1fr; max-width: 850px; }
  .research-stats { max-width: 700px; }
}

@media (max-width: 760px) {
  .stack-panel article { grid-template-columns: 32px 1fr; padding: 17px 16px; }
  .stack-panel em { grid-column: 2; justify-self: start; }
  .performance-props { grid-template-columns: 1fr; }
  .performance-props li { padding: 18px 18px; }
  .research-map, .research-stats { grid-template-columns: 1fr; }
  .research-map article { min-height: auto; }
  .research-stats div { min-height: 118px; }
  .publication-strip { grid-template-columns: 1fr; gap: 9px; }
}

main section[id] { scroll-margin-top: 88px; }

.hero::before { content:""; position:absolute; inset:0; pointer-events:none; background: radial-gradient(circle at 72% 24%, rgba(136, 124, 232, 0.10), transparent 28%), radial-gradient(circle at 18% 18%, rgba(116, 105, 215, 0.055), transparent 22%); }
:root[data-theme="light"] .hero::before { background: radial-gradient(circle at 72% 24%, rgba(122, 99, 232, 0.07), transparent 24%), radial-gradient(circle at 18% 18%, rgba(148, 128, 255, 0.05), transparent 20%); }
.final-cta { background: #1b192e; }
:root[data-theme="light"] .final-cta { background: #241c40; }

/* Keep every section on the same visual axis on portrait displays,
   including wider tablet and rotated-monitor viewports. */
@media (orientation: portrait) {
  .inside-layout,
  .system-layout,
  .performance-layout,
  .research-top,
  .final-cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .inside-layout,
  .system-layout,
  .performance-layout,
  .research-top {
    gap: clamp(44px, 6vw, 64px);
  }

  .research-top {
    gap: clamp(34px, 5vw, 52px);
  }

  .section-heading,
  .inside-copy,
  .system-copy,
  .performance-copy,
  .research-heading {
    width: min(100%, 880px);
    margin-inline: auto;
    text-align: center;
  }

  .section-heading > p:not(.eyebrow),
  .system-callout {
    margin-inline: auto;
  }

  .system-callout {
    max-width: 720px;
  }

  .static-box-diagram,
  .stack-panel,
  .performance-props,
  .research-stats,
  .publication-strip {
    width: 100%;
    margin-inline: auto;
  }

  .static-box-diagram,
  .stack-panel,
  .performance-props {
    max-width: 820px;
  }

  .research-stats {
    max-width: 700px;
  }

  .publication-strip {
    max-width: 900px;
  }

  .final-cta-inner {
    justify-items: center;
    text-align: center;
  }

  .final-cta p:not(.eyebrow) {
    margin-inline: auto;
  }

  .footer-inner {
    align-items: center;
    text-align: center;
  }

  .footer-inner > div:last-child {
    text-align: center;
  }
}

@media (orientation: landscape) and (min-width: 1081px) {
  .hero-visual {
    zoom: .9;
  }

  .hero-visual,
  .sealed-session {
    max-width: 520px;
  }

  .session-bar {
    min-height: 52px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    padding-inline: 14px;
  }

  .session-body {
    gap: 14px;
    padding: 8px 18px 17px;
  }

  .sealed-flow {
    min-height: 212px;
    grid-template-columns: minmax(0, 1fr) minmax(108px, .88fr) minmax(0, 1fr);
    grid-template-rows: 20px minmax(0, 1fr);
    gap: 9px 6px;
  }

  .flow-side {
    gap: 10px;
  }

  .flow-row {
    gap: 4px;
  }

  .flow-node {
    min-height: 60px;
    padding: 8px;
  }

  .flow-arrow {
    width: 14px;
    flex-basis: 14px;
  }

  .flow-box {
    gap: 7px;
    padding: 12px 6px;
  }

  .session-caption {
    margin-inline: 18px;
    padding-block: 13px 14px;
  }
}
