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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #fff;
  color: #1d1d1f;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: 72px;
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  padding: 0 2.5rem;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.nav-logo img {
  height: 40px;
  display: block;
}

.nav-center {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  justify-self: center;
}

.nav-center a {
  color: rgba(0, 0, 0, .65);
  font-size: .8rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-center a:hover {
  color: #000;
}

.nav-cta {
  justify-self: end;
  background: #7c3aed;
  color: #fff;
  padding: .45rem 1.15rem;
  border-radius: 980px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.page {
  padding-top: 72px;
}

.case-hero {
  padding: 7.5rem 2rem 5rem;
  background: #f5f5f7;
}

.case-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.case-eye,
.case-label {
  color: #7c3aed;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.case-hero h1 {
  max-width: 850px;
  margin-top: 1rem;
  font-size: clamp(2.55rem, 6vw, 5.4rem);
  font-weight: 640;
  letter-spacing: -.045em;
  line-height: .98;
}

.case-lead {
  max-width: 720px;
  margin-top: 1.55rem;
  color: #52525b;
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.75;
}

.case-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.35rem;
  border-top: 1px solid rgba(0, 0, 0, .12);
  border-left: 1px solid rgba(0, 0, 0, .1);
}

.case-proof-card {
  min-width: 0;
  padding: 1.05rem 1rem;
  background: rgba(255, 255, 255, .48);
  border-right: 1px solid rgba(0, 0, 0, .1);
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.case-proof-card span {
  display: block;
  margin-bottom: .45rem;
  color: #7c3aed;
  font-size: .64rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.case-proof-card p {
  color: #1d1d1f;
  font-size: .86rem;
  font-weight: 440;
  line-height: 1.45;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.2rem;
}

.case-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: #1d1d1f;
  color: #fff;
  font-size: .88rem;
  font-weight: 540;
  text-decoration: none;
}

.case-button.secondary {
  background: transparent;
  color: #1d1d1f;
  border: 1px solid rgba(0, 0, 0, .16);
}

.case-video-section {
  padding: 5.5rem 2rem 6rem;
  background: #0f0f12;
  color: #fff;
}

.case-video-head {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.case-video-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.6rem);
  font-weight: 630;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.case-video-head p {
  color: rgba(255, 255, 255, .58);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}

.case-video-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 12px;
  background: #000;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .38);
}

.case-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.insight-panel {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, .18), rgba(255, 255, 255, .04) 42%, rgba(20, 184, 166, .10)),
    rgba(255, 255, 255, .05);
  overflow: hidden;
}

.insight-demo-screen {
  padding: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035)),
    rgba(255, 255, 255, .045);
}

.insight-demo-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.insight-demo-top span,
.insight-demo-metric span {
  display: block;
  color: rgba(255, 255, 255, .50);
  font-size: .64rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.insight-demo-top strong {
  display: block;
  margin-top: .4rem;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -.02em;
}

.insight-demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  justify-content: flex-end;
}

.insight-demo-tabs i {
  display: inline-flex;
  align-items: center;
  font-style: normal;
  border-radius: 999px;
}

.insight-demo-tabs i {
  min-height: 24px;
  padding: 0 .6rem;
  color: rgba(255, 255, 255, .60);
  font-size: .68rem;
  font-weight: 520;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
}

.insight-demo-tabs i:first-child {
  color: #fff;
  background: rgba(196, 181, 253, .14);
  border-color: rgba(196, 181, 253, .32);
}

.insight-demo-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  margin-top: .9rem;
}

.insight-demo-metric {
  min-width: 0;
  padding: .9rem;
  background: rgba(15, 15, 18, .36);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
}

.insight-demo-metric strong {
  display: block;
  margin-top: .55rem;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 620;
  letter-spacing: -.04em;
  line-height: 1;
}

.insight-demo-metric p {
  margin-top: .45rem;
  color: rgba(255, 255, 255, .58);
  font-size: .76rem;
  line-height: 1.4;
}

.insight-traversal {
  margin-top: .9rem;
  padding: .95rem;
  background: rgba(10, 10, 14, .38);
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 8px;
}

.insight-traversal-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.insight-traversal-head span {
  color: rgba(255, 255, 255, .48);
  font-size: .64rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.insight-traversal-head strong {
  max-width: 520px;
  color: rgba(255, 255, 255, .84);
  font-size: .84rem;
  font-weight: 420;
  line-height: 1.5;
  text-align: right;
}

.traversal-canvas {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(280px, .88fr);
  gap: .9rem;
  margin-top: .95rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(196, 181, 253, .11), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  padding: 1rem;
}

.app-graph {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 8px;
  background:
    radial-gradient(circle at 52% 42%, rgba(45, 212, 191, .11), transparent 28%),
    radial-gradient(circle at 18% 50%, rgba(196, 181, 253, .10), transparent 30%),
    rgba(7, 7, 10, .34);
}

.app-graph-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.graph-line {
  fill: none;
  stroke: rgba(196, 181, 253, .34);
  stroke-linecap: round;
  stroke-width: 2;
}

#graph-arrow path {
  fill: rgba(196, 181, 253, .58);
}

.graph-line.strong {
  stroke: rgba(196, 181, 253, .78);
  stroke-width: 4;
  filter: drop-shadow(0 0 10px rgba(196, 181, 253, .18));
}

.graph-line.muted {
  stroke: rgba(45, 212, 191, .32);
}

.graph-line.weak {
  stroke: rgba(255, 255, 255, .16);
  stroke-dasharray: 5 7;
}

.app-graph-node {
  position: absolute;
  z-index: 1;
  width: min(9.4rem, 24%);
  min-width: 7.6rem;
  padding: .72rem .78rem;
  background: rgba(9, 9, 12, .82);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
  transform: translate(-50%, -50%);
}

.app-graph-node span {
  display: block;
  color: rgba(196, 181, 253, .82);
  font-size: .6rem;
  font-weight: 650;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.app-graph-node strong {
  display: block;
  margin-top: .42rem;
  color: #fff;
  font-size: .84rem;
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.22;
}

.node-intent {
  left: 14%;
  top: 50%;
}

.node-context {
  left: 35%;
  top: 23%;
}

.node-gap {
  left: 54%;
  top: 42%;
}

.node-check {
  left: 43%;
  top: 76%;
}

.node-outside {
  left: 72%;
  top: 23%;
}

.node-done {
  left: 84%;
  top: 48%;
}

.top-flow-list {
  display: grid;
  align-content: start;
  gap: .58rem;
}

.top-flow-head {
  padding: .1rem .05rem .35rem;
}

.top-flow-head span,
.top-flow-card span {
  display: block;
  color: rgba(196, 181, 253, .88);
  font-size: .62rem;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.top-flow-head strong {
  display: block;
  margin-top: .38rem;
  color: rgba(255, 255, 255, .78);
  font-size: .84rem;
  font-weight: 420;
  line-height: 1.45;
}

.top-flow-card {
  padding: .82rem;
  background: rgba(9, 9, 12, .44);
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 8px;
}

.top-flow-card.primary {
  background: rgba(196, 181, 253, .085);
  border-color: rgba(196, 181, 253, .22);
}

.top-flow-card div {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  gap: .62rem;
  align-items: center;
}

.top-flow-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 1.65rem;
  color: #ede9fe;
  background: rgba(196, 181, 253, .14);
  border: 1px solid rgba(196, 181, 253, .24);
  border-radius: 999px;
  letter-spacing: 0;
}

.top-flow-card strong {
  color: #fff;
  font-size: .86rem;
  font-weight: 560;
  letter-spacing: -.01em;
  line-height: 1.25;
}

.top-flow-card p {
  margin-top: .55rem;
  color: rgba(255, 255, 255, .60);
  font-size: .76rem;
  font-weight: 300;
  line-height: 1.45;
}

.traversal-caption {
  margin-top: .8rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(255, 255, 255, .085);
}

.traversal-caption span {
  color: rgba(255, 255, 255, .62);
  font-size: .82rem;
  font-weight: 300;
  line-height: 1.55;
}

.insight-map {
  position: relative;
  min-height: 460px;
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  isolation: isolate;
}

.insight-map::before {
  content: "";
  position: absolute;
  inset: 2rem;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 999px;
  opacity: .75;
}

.insight-map::after {
  content: "";
  position: absolute;
  inset: 5.8rem;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 999px;
}

.insight-core,
.insight-node {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(15, 15, 18, .78);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.insight-core {
  left: 50%;
  top: 50%;
  width: min(340px, calc(100% - 4rem));
  padding: 1.6rem;
  transform: translate(-50%, -50%);
  text-align: center;
}

.insight-node {
  width: min(250px, 34%);
  padding: 1rem;
}

.insight-node.node-1 {
  top: 2rem;
  left: 2rem;
}

.insight-node.node-2 {
  top: 2rem;
  right: 2rem;
}

.insight-node.node-3 {
  bottom: 2rem;
  left: 2rem;
}

.insight-node.node-4 {
  bottom: 2rem;
  right: 2rem;
}

.insight-core span,
.insight-node span {
  display: block;
  color: rgba(255, 255, 255, .55);
  font-size: .66rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.insight-core strong {
  display: block;
  margin-top: .75rem;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 620;
  letter-spacing: -.04em;
  line-height: 1.03;
}

.insight-node strong {
  display: block;
  margin-top: .55rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 580;
  letter-spacing: -.015em;
  line-height: 1.2;
}

.insight-core p,
.insight-node p {
  margin-top: .65rem;
  color: rgba(255, 255, 255, .66);
  font-size: .84rem;
  font-weight: 300;
  line-height: 1.55;
}

.insight-line {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .30), transparent);
  transform-origin: left center;
}

.insight-line.line-1 {
  transform: rotate(222deg);
}

.insight-line.line-2 {
  transform: rotate(318deg);
}

.insight-line.line-3 {
  transform: rotate(138deg);
}

.insight-line.line-4 {
  transform: rotate(42deg);
}

.insight-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.insight-stat {
  padding: 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.insight-stat:last-child {
  border-right: 0;
}

.insight-stat span,
.insight-flow span {
  display: block;
  color: rgba(255, 255, 255, .55);
  font-size: .66rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.insight-stat strong {
  display: block;
  margin-top: .7rem;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 620;
  letter-spacing: -.04em;
  line-height: 1;
}

.insight-stat p,
.insight-flow p {
  margin-top: .6rem;
  color: rgba(255, 255, 255, .68);
  font-size: .86rem;
  font-weight: 300;
  line-height: 1.55;
}

.insight-flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insight-flow {
  padding: 1.35rem;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.insight-flow:last-child {
  border-right: 0;
}

.insight-flow h3 {
  margin-top: .75rem;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 560;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.insight-flow-score {
  margin-top: 1rem;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 620;
  letter-spacing: -.04em;
  line-height: 1;
}

.case-section {
  padding: 6.5rem 2rem;
  background: #fff;
}

.case-section.alt {
  background: #f5f5f7;
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: start;
}

.case-copy h2 {
  margin-top: .85rem;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 640;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.case-copy p {
  margin-top: 1.2rem;
  color: #52525b;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}

.case-list {
  border-top: 1px solid rgba(0, 0, 0, .12);
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.case-list-item {
  padding: 1.45rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.case-list-item:last-child {
  border-bottom: 0;
}

.case-list-item h3 {
  font-size: 1.2rem;
  font-weight: 610;
  letter-spacing: -.02em;
}

.case-list-item p {
  margin-top: .45rem;
  color: #52525b;
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.65;
}

.value-model {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
  gap: 4rem;
  align-items: start;
  border-top: 1px solid rgba(0, 0, 0, .12);
  padding-top: 2.8rem;
}

.value-card {
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 8px;
  background: #fff;
  padding: 2rem;
}

.value-context {
  margin-top: .8rem;
  color: #52525b;
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.6;
}

.value-board {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.value-board div {
  display: grid;
  gap: .35rem;
}

.value-board span,
.value-output span {
  color: #7c3aed;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.value-board p {
  color: #1d1d1f;
  font-size: .95rem;
  font-weight: 380;
  line-height: 1.55;
}

.value-output {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #f6f4ff;
  border: 1px solid rgba(124, 58, 237, .14);
  border-radius: 8px;
}

.value-output strong {
  display: block;
  margin-top: .45rem;
  color: #1d1d1f;
  font-size: 1.15rem;
  font-weight: 620;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.value-output p {
  margin-top: .55rem;
  color: #52525b;
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.55;
}

.value-note {
  margin-top: 1.3rem;
  color: #6e6e73;
  font-size: .78rem;
  font-weight: 300;
  line-height: 1.6;
}

.case-cta {
  padding: 6.5rem 2rem;
  background: #101014;
  color: #fff;
}

.case-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  max-width: 1120px;
  margin: 0 auto;
}

.case-cta h2 {
  max-width: 760px;
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  font-weight: 640;
  letter-spacing: -.045em;
  line-height: 1;
}

.case-cta p {
  max-width: 660px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, .62);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
}

.footer {
  padding: 2.5rem 2rem;
  background: #08080a;
  color: rgba(255, 255, 255, .55);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: .82rem;
}

.footer a {
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
}

@media (max-width: 880px) {
  .nav {
    grid-template-columns: 1fr auto;
    padding: 0 1.25rem;
  }

  .nav-center {
    display: none;
  }

  .case-hero,
  .case-video-section,
  .case-section,
  .case-cta {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .case-hero {
    padding-top: 5.5rem;
  }

  .case-video-head,
  .case-grid,
  .value-model,
  .case-cta-inner {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .case-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-stat-grid,
  .insight-flow-list {
    grid-template-columns: 1fr;
  }

  .insight-demo-top {
    flex-direction: column;
  }

  .insight-demo-tabs {
    justify-content: flex-start;
  }

  .insight-demo-summary {
    grid-template-columns: 1fr;
  }

  .insight-traversal-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .insight-traversal-head strong {
    text-align: left;
  }

  .traversal-canvas {
    grid-template-columns: 1fr;
    gap: .55rem;
    padding: .8rem;
  }

  .app-graph {
    min-height: 360px;
  }

  .app-graph-node {
    width: 7.75rem;
    min-width: 0;
    padding: .68rem .7rem;
  }

  .node-intent {
    left: 28%;
    top: 18%;
  }

  .node-context {
    left: 72%;
    top: 24%;
  }

  .node-gap {
    left: 38%;
    top: 47%;
  }

  .node-check {
    left: 70%;
    top: 62%;
  }

  .node-outside {
    left: 30%;
    top: 80%;
  }

  .node-done {
    left: 74%;
    top: 86%;
  }

  .top-flow-card div {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .insight-map {
    display: grid;
    grid-template-columns: 1fr;
    gap: .9rem;
    min-height: 0;
    padding: 1rem;
  }

  .insight-map::before,
  .insight-map::after,
  .insight-line {
    display: none;
  }

  .insight-core,
  .insight-node {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
    text-align: left;
  }

  .insight-stat,
  .insight-flow {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .insight-flow:last-child {
    border-bottom: 0;
  }

  .value-card {
    padding: 1.35rem;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .case-proof-strip {
    grid-template-columns: 1fr;
  }
}
