* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

a {
  color: inherit;
}

.band {
  background: var(--navy);
  color: var(--white);
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--accent);
  font-size: 14px;
  color: #fff;
}

.primary-nav a:hover,.primary-nav a.active {
  color: var(--white);
}

.hero-copy,.workflow-preview {
  position: relative;
  z-index: 1;
}

.matter-title small,.workflow-list small {
  color: var(--muted-dark);
  font-size: 11px;
}

.workflow-list li>span {
  flex: 0 0 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7e9ec;
  color: #4d5867;
  font-size: 10px;
  font-weight: 700;
}

.workflow-list .complete>span {
  background: #e3ebff;
  color: #4055bd;
}

.workflow-list .output>span {
  background: var(--accent);
  color: #fff;
}

.workflow-list .output small {
  color: #aeb9ca;
}

.section-intro>p:last-child,.intelligence-grid>div>p {
  max-width: 720px;
  color: var(--muted-dark);
  font-size: 16px;
  line-height: 1.7;
  margin: 22px 0 0;
}

.band .section-intro>p:last-child {
  color: var(--muted);
}

.metric span {
  font-size: clamp(32px,3vw,43px);
  font-weight: 600;
  letter-spacing: -.05em;
}

.metric i {
  color: var(--accent);
  font-style: normal;
}

.band .card-label {
  color: #98a4b5;
}

.process-flow span,.process-flow strong {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 67px;
  padding: 12px;
  border-radius: 7px;
  background: rgba(255,255,255,.06);
  font-size: 11px;
  line-height: 1.45;
}

.process-flow span:not(:nth-child(4)):after {
  content: "→";
  position: absolute;
  right: -8px;
  color: #7d8fff;
}

.workflow-cards strong {
  max-width: 430px;
  font-size: 16px;
  line-height: 1.5;
}

.workflow-cards p {
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.7;
}

.intelligence .eyebrow {
  color: #4659bf;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.chips span {
  padding: 10px 13px;
  border: 1px solid #ccd1e5;
  border-radius: 99px;
  background: rgba(255,255,255,.65);
  font-size: 12px;
}

.final-cta p {
  max-width: 620px;
  margin: 25px auto 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media(max-width:1000px) {
  .hero {
    gap: 36px;
  }

  .primary-nav {
    gap: 18px;
  }

  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .control-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .steps li:nth-child(3) {
    border-left: 0;
  }

  .steps li:nth-child(n+3) {
    border-top: 1px solid var(--line-dark);
  }

  .intelligence-grid {
    gap: 40px;
  }
}

@media(max-width:760px) {
  html {
    scroll-padding-top: 68px;
  }

  .section {
    width: min(100% - 36px,var(--max));
    padding: 82px 0;
  }

  .site-header {
    height: 66px;
  }

  .nav-wrap {
    width: calc(100% - 36px);
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    padding: 22px 18px 28px;
    background: var(--navy);
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header.open .primary-nav {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .hero {
    padding: 124px 18px 82px;
    grid-template-columns: 1fr;
    gap: 54px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 46px;
  }

  .lead {
    font-size: 15px;
  }

  .button-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .workflow-preview {
    padding: 18px;
  }

  .section-intro {
    margin-bottom: 38px;
  }

  .section-intro h2,.intelligence-grid h2 {
    font-size: 38px;
  }

  .compare-grid,.workflow-cards,.intelligence-grid,.pilot-panel {
    grid-template-columns: 1fr;
  }

  .compare-grid article {
    padding: 25px;
  }

  .process-flow {
    grid-template-columns: 1fr 1fr;
  }

  .process-flow span:after {
    display: none;
  }

  .generic ul {
    grid-template-columns: 1fr;
  }

  .workflow-cards article {
    min-height: 355px;
    padding: 28px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li,.steps li+li {
    padding: 26px 0;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .steps li:first-child {
    border-top: 0;
  }

  .control-grid {
    grid-template-columns: 1fr;
  }

  .pilot-panel {
    gap: 38px;
    padding: 30px 22px;
  }

  .measure {
    padding: 24px;
  }

  .measure ul {
    grid-template-columns: 1fr;
  }

  .final-cta {
    padding: 90px 20px;
  }

  .site-footer>div {
    flex-direction: column;
  }
}

@media(max-width:420px) {
  .hero h1 {
    font-size: 40px;
  }

  .preview-head {
    align-items: flex-start;
    gap: 10px;
  }

  .review-badge {
    white-space: nowrap;
  }

  .metric span {
    font-size: 34px;
  }

  .short-flow {
    gap: 7px;
  }

  .short-flow span {
    padding: 10px;
    font-size: 11px;
  }

  .process-flow {
    grid-template-columns: 1fr;
  }

  .control-grid article {
    min-height: auto;
  }
}

/* Premium visual system */

:root {
  --radius: 14px;
  --shadow: 0 24px 70px rgba(1,7,18,.25);
  --navy: #090f1d;
  --navy2: #111a2d;
  --paper: #f7f8fc;
  --ink: #182135;
  --white: #f2f4ff;
  --muted: #a4aec1;
  --muted-dark: #606a7c;
  --line: rgba(180,194,232,.13);
  --line-dark: #dde1eb;
  --accent: #827cef;
  --accent-light: #bbb8ff;
  --max: 1280px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-family: Manrope,Arial,sans-serif;
}

h1,h2,h3 {
  text-wrap: balance;
}

h1,h2,h3,p {
  overflow-wrap: break-word;
}

::selection {
  background: #827cef55;
}

a:focus-visible,button:focus-visible {
  outline: 3px solid #a29aff;
  outline-offset: 5px;
}

.section {
  margin-inline: auto;
  width: min(100% - 96px,var(--max));
  padding: 120px 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 50;
  padding: 12px 20px;
  background: white;
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.eyebrow {
  margin: 0 0 22px;
  text-transform: uppercase;
  color: #625bc1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  margin-bottom: 24px;
}

.eyebrow:before {
  content: '';
  display: inline-block;
  width: 19px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 12px;
}

.band .eyebrow,.hero .eyebrow,.final-cta .eyebrow {
  color: var(--accent-light);
}

.section-intro {
  max-width: 790px;
  margin-bottom: 60px;
}

.section-intro h2,.intelligence-grid h2 {
  margin: 0;
  font-size: clamp(36px,3.7vw,52px);
  line-height: 1.12;
  letter-spacing: -.055em;
  font-weight: 600;
}

.section-intro>p:last-child,.intelligence-grid>div>p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.85;
}

.card-label {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted-dark);
}

/* Navigation and actions */

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 78px;
  background: #090f1dc9;
  border-bottom: 1px solid #ffffff08;
  backdrop-filter: blur(24px) saturate(130%);
  transition: background .25s,border-color .25s,box-shadow .25s;
}

.site-header.scrolled {
  border-color: #b4c2e826;
  background: #090f1de8;
  box-shadow: 0 8px 30px #02071520;
}

.nav-wrap {
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  width: min(100% - 96px,var(--max));
  gap: 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  gap: 11px;
  font-size: 21px;
  letter-spacing: -.05em;
  font-weight: 800;
}

.brand-symbol,.app-logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 32px;
  border: 1px solid #b9b6ff55;
  border-radius: 8px;
  background: linear-gradient(145deg,#9a93f4,#5859ab);
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 1px #ffffff40;
}

.primary-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 28px;
}

.primary-nav a {
  text-decoration: none;
  color: #b9c0d1;
  font-size: 12px;
  font-weight: 600;
  transition: color .2s;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  color: #fff;
  text-decoration: none;
  gap: 20px;
  border-color: #b1aaff55;
  border-radius: 7px;
  background: linear-gradient(180deg,#7568cf,#6257b1);
  box-shadow: inset 0 1px #ffffff26,0 4px 12px #100b3520;
  font-size: 13px;
  font-weight: 700;
  transition: transform .25s,box-shadow .25s,filter .25s;
}

.button:after {
  content: '↗';
  font-size: 17px;
  font-weight: 400;
}

.button:hover {
  background: linear-gradient(180deg,#7568cf,#6b60bd);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #827cef35;
}

.button-small {
  min-height: 37px;
  padding: 0 15px;
  font-size: 11px;
  gap: 16px;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
}

.menu-button span {
  display: block;
  width: 23px;
  height: 1px;
  margin: 6px;
  background: #fff;
  transition: transform .2s;
}

.site-header.open .menu-button span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header.open .menu-button span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Hero / illustrative application workspace */

.hero {
  max-width: none;
  display: grid;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  width: auto;
  padding: 166px max(48px,calc((100% - var(--max))/2)) 108px;
  grid-template-columns: 1fr 1.04fr;
  gap: 60px;
  background: radial-gradient(ellipse at 78% 45%,#25234b60,transparent 54%),var(--navy);
  min-height: 850px;
  isolation: isolate;
}

.hero:after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -170px;
  top: 30px;
  background: radial-gradient(circle,rgba(117,135,248,.15),transparent 68%);
  display: none;
}

.hero:before {
  content: '';
  position: absolute;
  inset: 78px 0 0;
  z-index: -1;
  background-image: linear-gradient(#a5b3df06 1px,transparent 1px),linear-gradient(90deg,#a5b3df06 1px,transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg,transparent,#000);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(43px,4.5vw,64px);
  line-height: 1.09;
  letter-spacing: -.065em;
  font-weight: 600;
}

.hero h1 span {
  display: block;
  width: fit-content;
  color: #b6b1ff;
  background: linear-gradient(100deg,#dedbff,#a39afb 75%,#849fea);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  margin: 28px 0 0;
  margin-top: 27px;
  color: #a9b3c8;
  font-size: 16px;
  line-height: 1.85;
  max-width: 540px;
}

.value-line {
  margin: 22px 0 0;
  max-width: 450px;
  margin-top: 23px;
  color: #d3d8e7;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.9;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 32px;
}

.text-button {
  font-weight: 600;
  text-decoration: none;
  font-size: 12px;
}

.text-button span {
  margin-left: 8px;
  color: var(--accent-light);
  display: inline-block;
  transition: transform .2s;
}

.text-button:hover span {
  transform: translateY(3px);
}

.workflow-preview {
  padding: 0;
  min-width: 0;
  color: var(--white);
  border: 1px solid #b3b9ee33;
  border-radius: 12px;
  background: linear-gradient(145deg,#161e30f5,#101726fc);
  box-shadow: 0 35px 100px #0006,0 0 65px #756cdf0b,inset 0 1px #ffffff0b;
  overflow: hidden;
  transition: border-color .3s,box-shadow .3s;
}

.workflow-preview:hover {
  border-color: #b3b9ee55;
  box-shadow: 0 40px 100px #0007,0 0 60px #756cdf16;
}

.app-toolbar {
  height: 47px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #090f1d45;
  gap: 10px;
}

.app-wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cdd4e6;
  font-size: 10px;
}

.app-logo {
  width: 18px;
  height: 20px;
  border-radius: 4px;
  font-size: 13px;
}

.toolbar-divider {
  color: #8993aa;
  margin: 0 4px;
}

.demo-label {
  color: #959fb4;
  font-size: 9px;
  letter-spacing: .02em;
}

.app-layout {
  display: flex;
}

.app-rail {
  width: 44px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 0 12px;
  color: #78859d;
}

.app-rail>span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  font-size: 16px;
}

.app-rail .rail-active {
  color: #c7c3ff;
  background: #827cef20;
  border: 1px solid #827cef25;
  border-radius: 5px;
}

.app-rail .rail-bottom {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 8px;
}

.app-content {
  padding: 21px 22px 14px;
  flex: 1;
  min-width: 0;
}

.app-breadcrumb {
  display: flex;
  gap: 10px;
  color: #a4aec1;
  font-size: 9px;
}

.app-breadcrumb>span {
  color: #8993aa;
}

.app-breadcrumb .matter-id {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: .07em;
}

.matter-title {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 25px 0 23px;
}

.matter-title small {
  font-size: 9px;
  color: #a6a1e4;
}

.matter-title strong {
  font-size: 23px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.035em;
}

.matter-caption {
  color: #98a3b9;
  font-size: 10px;
}

.preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line-dark);
  gap: 8px;
  padding: 12px 0;
  border-block: 1px solid var(--line);
  font-size: 10px;
  font-weight: 500;
  color: #c8d0e0;
}

.preview-head>span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #9a95ed;
  border-radius: 50%;
  box-shadow: 0 0 8px #a59bf733;
}

.review-badge {
  color: #bcb7ff;
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 4px;
  background: #827cef14;
  border: 1px solid #827cef20;
}

.status-processing {
  display: none;
}

.workflow-list {
  list-style: none;
  margin: 0;
  padding: 12px 0;
}

.workflow-list li {
  display: flex;
  position: relative;
  align-items: center;
  gap: 10px;
  min-height: 51px;
  padding: 9px 6px;
  isolation: isolate;
}

.workflow-list li:not(:last-child):after {
  content: "";
  position: absolute;
  width: 1px;
  z-index: -1;
  left: 16px;
  top: 34px;
  height: 30px;
  background: #7a78ad42;
  transform-origin: top;
}

.workflow-list li>span,.workflow-list .complete>span {
  flex: 0 0 21px;
  height: 21px;
  background: #202940;
  border: 1px solid #616a913d;
  color: #babaf0;
  font-size: 9px;
}

.workflow-list li div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.workflow-list strong {
  font-size: 10px;
  font-weight: 600;
}

.workflow-list small {
  font-size: 8px;
  color: #98a5bd;
  line-height: 1.5;
}

.workflow-list em {
  margin-left: auto;
  font-size: 8px;
  font-style: normal;
  color: #a9b1c7;
  white-space: nowrap;
}

.workflow-list .attention {
  background: transparent;
  margin: 0;
  border-radius: 0;
}

.workflow-list .attention>span {
  color: #d4b991;
  background: #c5a06d12;
  border-color: #c5a06d30;
}

.workflow-list .attention em {
  color: #d4b991;
}

.workflow-list .output {
  color: #fff;
  margin-top: 5px;
  border: 1px solid #938bef33;
  border-radius: 6px;
  background: linear-gradient(90deg,#827cef1c,#827cef05);
}

.workflow-list .output em {
  color: #c2baff;
}

.app-output {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff03;
}

.document-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 33px;
  border: 1px solid #878ba34a;
  border-radius: 4px;
  color: #a9a1f4;
  font-size: 22px;
  flex-shrink: 0;
}

.app-output>div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.app-output strong {
  font-size: 9px;
  font-weight: 500;
}

.app-output small {
  font-size: 8px;
  color: #9fa9be;
}

.app-output>span:last-child {
  margin-left: auto;
  color: #a8a0e4;
  font-size: 14px;
}

.app-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  font-size: 8px;
  color: #9aa5b9;
}

.app-foot>span:last-child {
  margin-left: auto;
}

/* Outcomes: an editorial metric strip */

.outcomes .section-intro {
  max-width: 860px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0;
  border-block: 1px solid var(--line-dark);
}

.outcome-grid article {
  padding: 35px 36px 36px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.outcome-grid article+article {
  border-left: 1px solid var(--line-dark);
  padding-left: 36px;
}

.outcome-grid article:last-child {
  padding-right: 0;
}

.metric {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 25px 0 14px;
}

.metric>span:first-child {
  font-size: clamp(65px,7vw,98px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.075em;
  color: #303255;
}

.metric small {
  font-size: .52em;
  letter-spacing: -.055em;
}

.metric .metric-context {
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--muted-dark);
}

.metric-context small {
  font-size: 10px;
  color: #667085;
}

.outcome-grid h3 {
  margin: 0 0 12px;
  font-size: 16px;
  margin-bottom: 25px;
  letter-spacing: -.02em;
}

.outcome-grid article>p:last-child {
  color: var(--muted-dark);
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 23px;
}

.time-comparison {
  display: grid;
  gap: 12px;
  min-height: 48px;
}

.time-comparison>div {
  display: grid;
  grid-template-columns: 56px 1fr 52px;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: var(--muted-dark);
}

.time-comparison strong {
  text-align: right;
  font-size: 10px;
  font-weight: 600;
  color: #505b70;
}

.bar-track {
  height: 5px;
  background: #e8eaf2;
  border-radius: 4px;
}

.bar-track i {
  display: block;
  height: 100%;
  border-radius: 4px;
  transform-origin: left;
}

.bar-before {
  width: 100%;
  background: #bdc3d4;
}

.bar-after {
  width: var(--bar-width);
  background: linear-gradient(90deg,#7872cc,#aaa4eb);
}

.effort-visual {
  display: flex;
  gap: 5px;
  align-items: center;
  height: 48px;
}

.effort-visual span {
  flex: 1;
  height: 25px;
  background: #8882d2;
  border-radius: 3px;
}

.effort-visual span:nth-child(n+6) {
  background: repeating-linear-gradient(125deg,#d9dce8 0 1px,transparent 1px 4px);
  border: 1px solid #d9dce8;
}

.disclaimer {
  margin: 18px 0 0;
  font-size: 11px;
  margin-top: 19px;
  color: #6d7586;
  line-height: 1.7;
}

/* Connected comparison */

.difference {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 90%,#25204755,transparent 60%),var(--navy);
}

.compare-grid {
  grid-template-columns: .78fr 1.22fr;
  gap: 18px;
  display: block;
  border-block: 1px solid var(--line);
}

.compare-grid article {
  padding: 32px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.compare-grid .card-label {
  color: #a9b2c4;
}

.compare-grid .generic {
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.short-flow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.short-flow span {
  border: 1px solid var(--line);
  padding: 13px 22px;
  border-radius: 6px;
  color: #b9c1d1;
  font-size: 12px;
}

.short-flow i {
  font-style: normal;
  color: #8590a7;
}

.generic ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 10px 20px;
  color: #9aa5ba;
  font-size: 11px;
  line-height: 1.6;
}

.generic li:before {
  content: "—";
  margin-right: 8px;
  color: #8590a7;
}

.jurisflow {
  border-color: rgba(117,135,248,.4)!important;
  background: transparent!important;
}

.jurisflow>.card-label {
  color: #c5c0ff;
}

.process-flow {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 0;
  list-style: none;
  margin: 30px 0 5px;
  padding: 0;
}

.process-flow li {
  position: relative;
  padding-right: 15px;
}

.process-flow li:after {
  content: '';
  position: absolute;
  top: 18px;
  left: 37px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,#8f85dd80,#8f85dd20);
  transform-origin: left;
}

.process-flow li:last-child:after {
  display: none;
}

.process-flow li>span {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  min-height: 0;
  padding: 0;
  border: 1px solid #9588e955;
  background: #1e213a;
  border-radius: 9px;
  color: #bcb4ff;
  font-size: 10px;
  margin-bottom: 19px;
}

.process-flow span:after {
  display: none;
}

.process-flow strong {
  display: block;
  max-width: 110px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  min-height: 0;
  padding: 0;
  background: none;
  border-radius: 0;
}

.process-flow small {
  display: block;
  color: #8f9bb1;
  font-size: 10px;
  margin-top: 7px;
  line-height: 1.6;
}

.process-flow li:last-child>span {
  background: #8c82dc;
  color: #fff;
  border-color: #b8aefa;
  box-shadow: 0 0 28px #8c82dc18;
}

.process-flow li:last-child strong {
  color: #c8bfff;
}

.difference-statement {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: end;
  padding-top: 57px;
}

.difference-statement h3 {
  margin: 0;
  font-size: clamp(27px,3.2vw,44px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.045em;
  max-width: 670px;
}

.difference-statement p {
  color: #9ca8bd;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

/* Workflow product previews */

.workflow-cards {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px;
}

.workflow-cards article {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-dark);
  position: relative;
  min-height: 0;
  padding: 31px;
  border-radius: 12px;
  background: linear-gradient(145deg,#fff,#fafbff);
  transition: transform .3s,border-color .3s,box-shadow .3s;
}

.number {
  position: absolute;
  right: 30px;
  top: 33px;
  color: #7f7ba8;
  font-size: 11px;
  font-weight: 500;
}

.workflow-cards h3 {
  font-size: 23px;
  letter-spacing: -.04em;
  margin: 0 35px 18px 0;
  font-weight: 600;
}

.workflow-cards article>strong {
  font-size: 14px;
  line-height: 1.65;
  font-weight: 600;
}

.workflow-cards article>p {
  font-size: 14px;
  line-height: 1.8;
  margin: 13px 0 22px;
}

.workflow-cards footer {
  border-top: 1px solid var(--line-dark);
  font-weight: 600;
  margin-top: 0;
  padding-top: 19px;
  color: #655fac;
  font-size: 11px;
  line-height: 1.6;
}

.mini-ui {
  padding: 15px;
  margin-top: auto;
  margin-bottom: 23px;
  border: 1px solid #dce0ec;
  border-radius: 8px;
  background: #f1f3f9;
  min-height: 145px;
  box-shadow: inset 0 1px #fff;
  overflow: hidden;
}

.mini-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #657086;
  font-size: 9px;
  padding-bottom: 13px;
}

.mini-tag {
  display: inline-block;
  color: #656098;
  background: #827cef0e;
  border: 1px solid #827cef28;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 8px;
  font-weight: 500;
  white-space: nowrap;
}

.mini-tag.amber {
  color: #8d692b;
  background: #cda75412;
  border-color: #cda75440;
}

.mini-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-size: 9px;
  color: #69718a;
  margin: 4px 0 16px;
}

.mini-pipeline i {
  font-style: normal;
  color: #9a96b9;
}

.mini-pipeline strong {
  font-size: 9px;
  font-weight: 500;
  color: #6453a4;
}

.mini-document {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mini-document>div {
  flex: 1;
}

.mini-document strong {
  display: block;
  font-size: 9px;
  font-weight: 500;
  color: #535d74;
}

.mini-document .document-icon {
  width: 24px;
  height: 29px;
  font-size: 17px;
  border-color: #d0d3e2;
  background: white;
  color: #8981bb;
}

.document-lines {
  display: grid;
  gap: 5px;
  margin-top: 9px;
}

.document-lines i {
  height: 3px;
  border-radius: 2px;
  background: #d8dce8;
  width: 90%;
}

.document-lines i:last-child {
  width: 63%;
}

.mini-check {
  color: #8676c2;
  font-size: 13px;
}

.clause-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0 14px;
  font-size: 9px;
}

.clause-row strong {
  font-size: 9px;
  font-weight: 600;
}

.clause-row>span {
  color: #916f45;
}

.wording-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: #827cef09;
  border-left: 2px solid #9690ca;
  font-size: 8px;
  color: #665c90;
}

.wording-row .document-lines {
  flex: 1;
  margin: 0;
}

.query-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #d9ddeb;
  border-radius: 5px;
  background: #fff;
  font-size: 9px;
  color: #70798d;
}

.query-row>span:last-child {
  margin-left: auto;
}

.research-result {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
}

.source-stack {
  color: #8a7ebb;
  font-size: 12px;
}

.research-result strong,.research-result small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  color: #616d82;
}

.research-result small {
  font-size: 8px;
  margin-top: 3px;
  color: #697189;
}

.research-result>span:last-child {
  margin-left: auto;
  color: #958cae;
}

.reasoning-stages {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin: 3px 0 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid #d5d6e7;
  font-size: 9px;
  color: #697086;
}

.reasoning-stages strong {
  font-size: 9px;
  color: #6e61a8;
  font-weight: 600;
}

/* Firm knowledge convergence */

.intelligence {
  background: #eceef7;
  border-block: 1px solid #e2e5ef;
}

.intelligence-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px 90px;
}

.intelligence-grid>div:first-child {
  max-width: 590px;
}

.intelligence-grid>div>p.eyebrow {
  margin: 0 0 24px;
  font-size: 11px;
  color: #625bc1;
}

.knowledge-system {
  grid-column: 1/-1;
  order: 3;
  padding-top: 35px;
  border-top: 1px solid #d4d9e7;
  min-width: 0;
}

.knowledge-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  letter-spacing: .13em;
  font-weight: 700;
  color: #697088;
  margin-bottom: 30px;
}

.knowledge-flow {
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr;
  gap: 100px;
  align-items: center;
  position: relative;
}

.knowledge-sources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  position: relative;
}

.knowledge-sources>div {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 12px;
  border: 1px solid #d3d8e6;
  background: #f7f8fcb3;
  border-radius: 5px;
  font-size: 10px;
  color: #59637a;
}

.knowledge-sources>div>span {
  font-size: 8px;
  color: #736995;
}

.knowledge-sources:after {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  right: -32px;
  width: 32px;
  border: 1px solid #b4afd0;
  border-left: 0;
  border-radius: 0 12px 12px 0;
}

.knowledge-sources>div:nth-child(even):after {
  content: '';
  position: absolute;
  width: 32px;
  height: 1px;
  right: -33px;
  top: 50%;
  background: #b4afd0;
}

.knowledge-engine {
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  isolation: isolate;
}

.knowledge-engine:before,.knowledge-output:before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg,#b4afd0,#8275bd);
  transform-origin: left;
}

.engine-orbit {
  position: absolute;
  width: 174px;
  height: 174px;
  border-radius: 50%;
  border: 1px solid #cbc7e0;
  box-shadow: 0 0 0 13px #cbc7e014,0 0 0 33px #cbc7e012;
  background: radial-gradient(circle,#d8d3f755,transparent 70%);
  z-index: -1;
}

.engine-mark {
  display: grid;
  place-items: center;
  width: 51px;
  height: 55px;
  font-size: 36px;
  color: #fff;
  border: 1px solid #b5a9ed;
  border-radius: 13px;
  background: linear-gradient(145deg,#a197d8,#69629e);
  box-shadow: 0 8px 20px #8275bd26;
}

.knowledge-engine>strong {
  font-size: 17px;
  letter-spacing: -.05em;
}

.knowledge-engine>small {
  font-size: 10px;
  color: #706984;
}

.knowledge-output {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 25px;
  border: 1px solid #c9c4de;
  border-radius: 9px;
  background: #f8f8fccc;
  box-shadow: 0 12px 30px #34305f05;
}

.knowledge-output>strong {
  font-size: 14px;
  font-weight: 600;
}

.knowledge-output>small {
  font-size: 11px;
  line-height: 1.8;
  color: #72738b;
}

.playbook-example {
  padding: 0 0 0 35px;
  border-left: 1px solid #d4d9e7;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.playbook-example ol {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.playbook-example li {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 15px;
  padding: 10px 0;
  border: 0;
  font-size: 12px;
  color: #5f6980;
}

.playbook-example li span {
  color: #786e9d;
  font-size: 9px;
  padding-top: 2px;
}

.playbook-example h3 {
  margin: 25px 0 0;
  margin-top: 20px;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -.035em;
}

/* Quieter supporting sections */

.steps {
  display: grid;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line-dark);
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.steps li {
  position: relative;
  padding: 32px 27px 15px 0;
}

.steps li:before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: #aca5d8;
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--paper);
}

.steps li+li {
  border-left: 1px solid var(--line-dark);
  padding-left: 24px;
}

.steps li+li:before {
  left: 24px;
}

.steps>li>span {
  font-weight: 700;
  color: #756895;
  font-size: 11px;
}

.steps h3 {
  margin: 28px 0 12px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  line-height: 1.5;
  letter-spacing: -.025em;
}

.steps p {
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.8;
}

.principle {
  margin: 50px 0 0;
  text-align: center;
  margin-top: 52px;
  padding: 26px 0;
  border-block: 1px solid var(--line-dark);
  border-radius: 0;
  background: none;
  font-size: 18px;
  letter-spacing: -.025em;
  color: #697086;
}

.principle strong {
  color: #474266;
  font-weight: 600;
}

.control {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
}

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

.control-grid article {
  min-height: 0;
  padding: 25px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
}

.control-grid article>span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--accent-light);
  border: 1px solid #b6aafb25;
  background: #827cef0d;
  font-size: 17px;
}

.control-grid h3 {
  margin: 38px 0 12px;
  margin-top: 25px;
  font-size: 14px;
  font-weight: 600;
}

.control-grid p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.8;
}

.pilot-panel {
  display: grid;
  padding: 60px;
  grid-template-columns: 1.2fr .8fr;
  gap: 90px;
  border: 1px solid #dadcec;
  border-radius: 15px;
  background: radial-gradient(ellipse at 0 0,#dfddf880,transparent 70%),#eff0f8;
}

.pilot-panel h2 {
  margin: 0;
  font-size: clamp(35px,3.6vw,49px);
  line-height: 1.13;
  letter-spacing: -.055em;
  font-weight: 500;
}

.pilot-panel>div>p:not(.eyebrow,.card-label) {
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.8;
  margin: 24px 0;
}

.pilot-panel .button {
  margin-top: 8px;
}

.pilot-panel small,.final-cta small {
  display: block;
  margin-top: 18px;
  color: #687185;
  font-size: 10px;
  line-height: 1.7;
}

.measure {
  padding: 10px 0 0 35px;
  border-left: 1px solid #d5d8e8;
  border-radius: 0;
  background: none;
}

.measure ul {
  grid-template-columns: 1fr 1fr;
  gap: 0 25px;
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  display: block;
  padding-top: 20px;
}

.measure li {
  border-bottom: 1px solid var(--line-dark);
  padding: 13px 0;
  border-color: #d5d8e8;
  font-size: 12px;
  color: #555e74;
}

.measure li:before {
  content: "✓";
  margin-right: 12px;
  color: #7a6e9c;
  font-size: 10px;
}

.final-cta {
  color: var(--white);
  text-align: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 128px 24px;
  background: radial-gradient(ellipse at 50% 115%,#46406e65,transparent 65%),var(--navy);
}

.final-cta>div {
  margin: auto;
  max-width: 830px;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(39px,4.5vw,61px);
  line-height: 1.12;
  letter-spacing: -.055em;
  font-weight: 500;
}

.final-cta p:not(.eyebrow) {
  max-width: 580px;
  margin: 27px auto 32px;
  font-size: 16px;
  line-height: 1.8;
}

.final-cta .eyebrow {
  margin: 0 auto 24px;
  font-size: 11px;
  color: var(--accent-light);
}

.button-light,.button-light:hover {
  background: linear-gradient(180deg,#f3f1ff,#dbd6f4);
  color: #24213b;
  border-color: #fff6;
}

.button-light:hover {
  filter: brightness(1.05);
}

.final-cta small {
  color: #a09bae;
}

.site-footer {
  color: var(--white);
  padding: 50px max(48px,calc((100% - var(--max))/2)) 28px;
  background: #080d18;
  border-top: 1px solid var(--line);
}

.site-footer>p {
  color: var(--muted);
  font-size: 12px;
}

.site-footer>div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  color: #949fb5;
  font-size: 10px;
  line-height: 1.7;
}

/* Content remains visible without JavaScript. Animations run only once. */

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media(prefers-reduced-motion:no-preference) {
  .motion-enabled .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1);
  }

  .motion-enabled .reveal.visible {
    opacity: 1;
    transform: none;
  }

  .motion-enabled .workflow-preview .workflow-list li {
    opacity: .3;
    transform: translateX(5px);
  }

  .motion-enabled .workflow-preview.visible .workflow-list li {
    animation: workflow-stage .65s ease forwards;
    animation-delay: calc(.35s + var(--stage,0)*.38s);
  }

  .motion-enabled .workflow-preview.visible .workflow-list li:after {
    animation: vertical-line .65s ease both;
    animation-delay: calc(.6s + var(--stage,0)*.38s);
  }

  .motion-enabled .workflow-preview .status-processing {
    display: inline;
  }

  .motion-enabled .workflow-preview .status-ready {
    display: none;
  }

  .motion-enabled .workflow-preview.is-complete .status-processing {
    display: none;
  }

  .motion-enabled .workflow-preview.is-complete .status-ready {
    display: inline;
  }

  .motion-enabled .workflow-preview .app-output {
    opacity: .35;
    transition: opacity .8s,border-color .8s;
  }

  .motion-enabled .workflow-preview.is-complete .app-output {
    opacity: 1;
    border-color: #9f91ed45;
  }

  .motion-enabled .time-comparison i {
    transform: scaleX(0);
  }

  .motion-enabled .visible .time-comparison i {
    animation: line-grow 1.2s cubic-bezier(.2,.7,.2,1) forwards;
  }

  .motion-enabled .visible .time-comparison .bar-after {
    animation-delay: .25s;
  }

  .motion-enabled .visible .process-flow li>span {
    animation: node-light .8s ease both;
    animation-delay: calc(var(--stage,0)*.14s);
  }

  .motion-enabled .visible .process-flow li:after {
    animation: line-grow .8s ease both;
    animation-delay: calc(var(--stage,0)*.14s);
  }

  .motion-enabled .visible .knowledge-engine:before,.motion-enabled .visible .knowledge-output:before {
    animation: line-grow 1.5s ease both;
  }

  .motion-enabled .visible .knowledge-output:before {
    animation-delay: .4s;
  }

  .motion-enabled .visible.workflow-cards article,.motion-enabled .visible.control-grid article {
    animation: panel-reveal .75s ease both;
    animation-delay: calc(var(--stage,0)*.1s);
  }
}

@keyframes workflow-stage {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes line-grow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes vertical-line {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes node-light {
  from {
    opacity: .4;
  }

  to {
    opacity: 1;
  }
}

@keyframes panel-reveal {
  from {
    opacity: 0;
    translate: 0 12px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media(hover:hover) and (pointer:fine) {
  .workflow-cards article:hover {
    transform: translateY(-4px);
    border-color: #bcb5db;
    box-shadow: 0 14px 38px #30255a0a;
  }

  .pointer-glow:after {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(420px circle at var(--mouse-x,70%) var(--mouse-y,30%),#aaa0ff07,transparent 75%);
    opacity: 0;
    transition: opacity .5s;
  }

  .pointer-glow.pointer-active:after {
    opacity: 1;
  }
}

/* Responsive layouts */

@media(min-width:1500px) {
  .hero {
    gap: 85px;
  }
}

@media(max-width:1100px) {
  .section {
    width: calc(100% - 64px);
    padding: 95px 0;
  }

  .nav-wrap {
    width: calc(100% - 64px);
    gap: 25px;
  }

  .primary-nav {
    gap: 22px;
  }

  .hero {
    width: auto;
    padding: 145px 32px 90px;
    gap: 32px;
  }

  .hero h1 {
    font-size: 49px;
  }

  .button-row {
    gap: 17px;
    flex-wrap: wrap;
  }

  .app-content {
    padding: 18px 14px 14px;
  }

  .workflow-list em {
    font-size: 7px;
  }

  .workflow-list small {
    font-size: 7.5px;
  }

  .compare-grid .generic {
    grid-template-columns: 100px 1fr;
  }

  .generic ul {
    grid-column: 2;
  }

  .outcome-grid article {
    padding-right: 24px;
  }

  .outcome-grid article+article {
    padding-left: 24px;
  }

  .intelligence-grid {
    gap: 45px;
  }

  .knowledge-flow {
    gap: 60px;
  }

  .knowledge-engine:before,.knowledge-output:before {
    width: 60px;
  }

  .knowledge-sources>div {
    font-size: 9px;
    padding: 13px 9px;
    gap: 7px;
  }

  .pilot-panel {
    gap: 45px;
    padding: 40px;
  }

  .control-grid {
    gap: 24px;
  }

  .process-flow strong {
    font-size: 11px;
  }

  .site-footer {
    padding-inline: 32px;
  }
}

@media(max-width:900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .lead {
    font-size: 14px;
  }

  .app-rail {
    display: none;
  }

  .app-breadcrumb .matter-id {
    display: none;
  }

  .workflow-list em {
    display: none;
  }

  .workflow-list small {
    font-size: 8px;
  }

  .app-output strong {
    font-size: 8px;
  }

  .metric>span:first-child {
    font-size: 70px;
  }

  .metric .metric-context {
    display: none;
  }

  .outcome-grid article {
    padding-right: 20px;
  }

  .outcome-grid article+article {
    padding-left: 20px;
  }

  .time-comparison>div {
    grid-template-columns: 48px 1fr 43px;
    gap: 5px;
    font-size: 9px;
  }

  .process-flow {
    grid-template-columns: repeat(4,1fr);
    row-gap: 28px;
  }

  .process-flow li:nth-child(4):after {
    display: none;
  }

  .difference-statement {
    gap: 40px;
  }

  .knowledge-flow {
    grid-template-columns: 1.2fr .8fr;
    gap: 60px;
  }

  .knowledge-output {
    grid-column: 2;
    align-items: center;
    text-align: center;
  }

  .knowledge-output:before {
    height: 60px;
    width: 1px;
    bottom: 100%;
    top: auto;
    right: 50%;
  }

  .knowledge-engine {
    grid-column: 2;
    grid-row: 1;
  }

  .knowledge-sources {
    grid-row: 1/3;
    grid-template-columns: 1fr;
  }

  .knowledge-sources>div:after {
    content: '';
    position: absolute;
    width: 32px;
    height: 1px;
    right: -33px;
    top: 50%;
    background: #b4afd0;
  }

  .knowledge-sources:after {
    top: 21px;
    bottom: 21px;
  }

  .knowledge-engine:before {
    top: 70%;
    width: 60px;
  }

  .control-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .primary-nav {
    gap: 16px;
  }

  .nav-wrap {
    gap: 20px;
  }
}

@media(max-width:760px) {
  html {
    scroll-padding-top: 84px;
  }

  .section {
    width: calc(100% - 40px);
    padding: 78px 0;
  }

  .site-header {
    height: 66px;
  }

  .nav-wrap {
    width: calc(100% - 40px);
  }

  .primary-nav {
    top: 66px;
    padding: 18px 20px 24px;
    background: #0b1222fa;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    gap: 0;
    box-shadow: 0 16px 30px #0003;
  }

  .primary-nav a {
    padding: 14px 0;
    font-size: 14px;
  }

  .hero {
    width: auto;
    padding: 120px 20px 74px;
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
  }

  .hero-copy {
    max-width: 580px;
  }

  .hero h1 {
    font-size: clamp(43px,8vw,60px);
  }

  .lead {
    font-size: 15px;
    max-width: 540px;
  }

  .value-line {
    font-size: 12px;
    max-width: 390px;
  }

  .button-row {
    gap: 24px;
    flex-direction: row;
    align-items: center;
  }

  .hero .eyebrow {
    font-size: 10px;
  }

  .workflow-preview {
    padding: 0;
    width: 100%;
    max-width: 580px;
    justify-self: center;
  }

  .app-rail {
    display: flex;
  }

  .app-content {
    padding: 19px;
  }

  .workflow-list em {
    display: block;
    font-size: 8px;
  }

  .workflow-list strong {
    font-size: 11px;
  }

  .workflow-list small {
    font-size: 9px;
  }

  .workflow-list li {
    min-height: 54px;
  }

  .app-output strong {
    font-size: 10px;
  }

  .app-output small {
    font-size: 9px;
  }

  .app-foot {
    font-size: 9px;
  }

  .app-breadcrumb {
    font-size: 10px;
  }

  .app-toolbar {
    height: 45px;
  }

  .section-intro {
    margin-bottom: 40px;
  }

  .section-intro h2,.intelligence-grid h2 {
    font-size: 37px;
  }

  .section-intro>p:last-child,.intelligence-grid>div>p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.8;
  }

  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .outcome-grid article,.outcome-grid article+article {
    padding: 30px 0;
    border-left: 0;
  }

  .outcome-grid article+article {
    border-top: 1px solid var(--line-dark);
  }

  .metric>span:first-child {
    font-size: 88px;
  }

  .metric .metric-context {
    display: block;
  }

  .time-comparison {
    max-width: 430px;
  }

  .time-comparison>div {
    grid-template-columns: 62px 1fr 56px;
    gap: 13px;
    font-size: 11px;
  }

  .time-comparison strong {
    font-size: 11px;
  }

  .effort-visual {
    max-width: 430px;
  }

  .outcome-grid h3 {
    font-size: 17px;
    margin-bottom: 22px;
  }

  .outcome-grid article>p:last-child {
    max-width: 450px;
    font-size: 14px;
    margin-top: 22px;
  }

  .compare-grid .generic {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .generic ul {
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    font-size: 12px;
  }

  .short-flow span {
    flex: 1;
    text-align: center;
    max-width: 130px;
  }

  .process-flow {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 25px;
  }

  .process-flow li {
    display: grid;
    grid-template-columns: 37px 1fr;
    gap: 2px 18px;
    padding: 0 0 25px;
  }

  .process-flow li>span {
    grid-row: 1/3;
    margin: 0;
  }

  .process-flow strong {
    max-width: none;
    font-size: 13px;
  }

  .process-flow small {
    font-size: 11px;
    margin: 0;
  }

  .process-flow li:after,.process-flow li:nth-child(4):after {
    display: block;
    top: 37px;
    bottom: 0;
    left: 18px;
    width: 1px;
    height: auto;
    right: auto;
    background: #8f85dd50;
  }

  .process-flow li:last-child {
    padding-bottom: 0;
  }

  .process-flow li:last-child:after {
    display: none;
  }

  .difference-statement {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 36px;
  }

  .difference-statement h3 {
    font-size: 33px;
  }

  .difference-statement p {
    font-size: 14px;
  }

  .workflow-cards,.intelligence-grid,.pilot-panel {
    grid-template-columns: 1fr;
  }

  .workflow-cards article {
    padding: 26px;
  }

  .workflow-cards h3 {
    font-size: 23px;
  }

  .workflow-cards article>strong {
    font-size: 15px;
  }

  .workflow-cards article>p {
    font-size: 14px;
  }

  .mini-ui {
    margin-top: 0;
  }

  .workflow-cards footer {
    font-size: 12px;
  }

  .intelligence-grid {
    gap: 38px;
  }

  .playbook-example {
    padding: 0 0 0 22px;
  }

  .knowledge-system {
    padding-top: 26px;
  }

  .knowledge-caption {
    font-size: 8px;
    line-height: 1.7;
  }

  .knowledge-caption>span:last-child {
    max-width: 125px;
    text-align: right;
  }

  .knowledge-flow {
    gap: 45px;
    grid-template-columns: 1fr 1fr;
  }

  .knowledge-sources>div {
    padding: 12px 9px;
    font-size: 10px;
    line-height: 1.6;
  }

  .knowledge-sources:after {
    right: -20px;
    width: 20px;
  }

  .knowledge-sources>div:after,.knowledge-sources>div:nth-child(even):after {
    right: -21px;
    width: 20px;
  }

  .knowledge-engine:before {
    width: 45px;
  }

  .engine-orbit {
    width: 125px;
    height: 125px;
    box-shadow: 0 0 0 9px #cbc7e014;
  }

  .knowledge-engine {
    min-height: 145px;
    gap: 6px;
  }

  .engine-mark {
    width: 38px;
    height: 41px;
    font-size: 28px;
    border-radius: 10px;
  }

  .knowledge-engine>strong {
    font-size: 16px;
  }

  .knowledge-engine>small {
    font-size: 9px;
  }

  .knowledge-output {
    padding: 17px 10px;
    gap: 9px;
  }

  .knowledge-output:before {
    height: 45px;
    width: 1px;
  }

  .knowledge-output>strong {
    font-size: 12px;
  }

  .knowledge-output>small {
    font-size: 10px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li,.steps li+li {
    display: flex;
    gap: 22px;
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .steps li:first-child {
    border-top: 0;
  }

  .steps li:before {
    display: none;
  }

  .steps>li>span {
    padding-top: 6px;
  }

  .steps h3 {
    margin: 0 0 10px;
    font-size: 17px;
  }

  .steps p {
    margin: 0;
    font-size: 14px;
  }

  .principle {
    margin-top: 25px;
    font-size: 17px;
    line-height: 1.8;
  }

  .principle strong {
    display: block;
  }

  .control-grid {
    gap: 30px 24px;
  }

  .control-grid h3 {
    font-size: 15px;
  }

  .control-grid p {
    font-size: 13px;
  }

  .pilot-panel {
    gap: 32px;
    padding: 30px 24px;
  }

  .pilot-panel h2 {
    font-size: 36px;
  }

  .measure {
    padding: 26px 0 0;
    border-left: 0;
    border-top: 1px solid #d5d8e8;
  }

  .measure ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }

  .measure li {
    font-size: 11px;
    line-height: 1.7;
  }

  .final-cta {
    padding: 86px 20px;
  }

  .final-cta h2 {
    font-size: 40px;
  }

  .site-footer {
    padding: 40px 20px 24px;
  }

  .site-footer>div {
    flex-direction: column;
    gap: 12px;
  }

  .pointer-glow:after {
    display: none;
  }

  .motion-enabled .workflow-preview.visible .workflow-list li {
    animation-delay: calc(var(--stage,0)*.12s);
  }

  .motion-enabled .visible.workflow-cards article,.motion-enabled .visible.control-grid article {
    animation: none;
  }

  .motion-enabled .visible .process-flow li:after,.motion-enabled .visible .knowledge-engine:before,.motion-enabled .visible .knowledge-output:before {
    animation: none;
  }
}

@media(max-width:420px) {
  .hero h1 {
    font-size: 42px;
  }

  .app-rail {
    display: none;
  }

  .app-content {
    padding: 16px 12px;
  }

  .app-toolbar {
    padding-inline: 12px;
  }

  .workflow-list {
    padding-block: 8px;
  }

  .workflow-list li {
    gap: 8px;
  }

  .workflow-list em {
    font-size: 7px;
  }

  .workflow-list small {
    font-size: 8px;
  }

  .workflow-list strong {
    font-size: 10px;
  }

  .app-wordmark {
    font-size: 9px;
    gap: 5px;
  }

  .demo-label {
    font-size: 8px;
  }

  .app-foot {
    font-size: 8px;
  }

  .mini-ui {
    padding: 12px;
  }

  .mini-pipeline,.reasoning-stages {
    font-size: 8px;
  }

  .mini-top {
    font-size: 8px;
  }

  .mini-tag {
    font-size: 7px;
  }

  .clause-row {
    font-size: 8px;
  }

  .wording-row {
    gap: 8px;
    font-size: 7px;
  }

  .workflow-cards article {
    padding: 22px;
  }

  .knowledge-flow {
    gap: 32px;
  }

  .knowledge-engine:before {
    width: 32px;
  }

  .knowledge-sources>div {
    font-size: 9px;
    gap: 6px;
  }

  .knowledge-output:before {
    height: 32px;
  }

  .control-grid {
    grid-template-columns: 1fr;
  }

  .control-grid article {
    padding-top: 23px;
  }

  .control-grid h3 {
    margin-top: 18px;
  }

  .measure ul {
    grid-template-columns: 1fr;
  }

  .button-row {
    gap: 20px;
  }

  .hero .button {
    font-size: 12px;
  }

  .knowledge-engine>small {
    font-size: 8px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*:before,*:after {
    animation: none!important;
    transition: none!important;
  }

  .reveal {
    opacity: 1!important;
    transform: none!important;
  }

  .pointer-glow:after {
    display: none;
  }

  .workflow-list li,.app-output {
    opacity: 1!important;
    transform: none!important;
  }

  .status-processing {
    display: none!important;
  }

  .status-ready {
    display: inline!important;
  }

  .time-comparison i {
    transform: none!important;
  }
}

@media(max-width:420px) {
  .short-flow {
    gap: 8px;
    min-width: 0;
  }

  .short-flow span {
    padding: 10px;
    min-width: 0;
  }

  .compare-grid .generic {
    min-width: 0;
  }
}
/* Keep mobile navigation overrides after shared component styles. */
@media (max-width: 760px) {
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    flex-direction: column;
  }
  .site-header.open .primary-nav { display: flex; }
  .nav-cta { display: none; }
  .menu-button { display: block; margin-left: auto; }
}
