:root {
  --night: #071017;
  --night-2: #0d1820;
  --paper: #f2f0e9;
  --white: #fbfaf5;
  --blue: #2764ff;
  --blue-dark: #1748cf;
  --blue-surface: #2d4458;
  --lime: #b9f45a;
  --ink: #10171c;
  --muted: #566169;
  --line-dark: rgba(16, 23, 28, 0.2);
  --line-light: rgba(251, 250, 245, 0.2);
  --pad: clamp(22px, 4vw, 64px);
  --content: 1480px;
  --display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --body: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --mono: Consolas, "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.section[id],
.service-section[id] {
  scroll-margin-top: 80px;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--blue-dark);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 12px 15px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 12px var(--pad);
  background: color-mix(in srgb, var(--night) 96%, transparent);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 180ms ease;
}

.site-header.is-light {
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  color: var(--ink);
  border-color: var(--line-dark);
  backdrop-filter: blur(12px);
}

.wordmark {
  position: relative;
  z-index: 102;
  display: flex;
  align-items: center;
  gap: 13px;
  line-height: 1;
}

.wordmark strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.045em;
}

.legal-document .service-section > p {
  max-width: 82ch;
  margin-top: 20px;
  line-height: 1.75;
}

.legal-document .service-section > h2 {
  max-width: 28ch;
  margin-bottom: 28px;
}

.wordmark span {
  max-width: 90px;
  color: currentColor;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.1;
  text-transform: uppercase;
  opacity: 0.58;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: clamp(19px, 2.25vw, 38px);
  font-size: 13px;
  font-weight: 650;
}

.site-menu > a:not(.header-cta),
.site-menu > .menu-group > .menu-group-toggle {
  position: relative;
  padding: 16px 0;
}

.site-menu > a:not(.header-cta)::after,
.site-menu > .menu-group > .menu-group-toggle::after {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  content: "";
  transition: transform 170ms ease;
}

.site-menu > a:not(.header-cta):hover::after,
.site-menu > a:not(.header-cta)[aria-current="page"]::after,
.site-menu > a:not(.header-cta)[aria-current="location"]::after,
.site-menu > .menu-group > .menu-group-toggle:hover::after,
.site-menu > .menu-group > .menu-group-toggle[aria-current="page"]::after,
.site-menu > .menu-group > .menu-group-toggle[aria-current="location"]::after,
.site-menu > .menu-group > .menu-group-toggle[aria-expanded="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-group {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-group-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.menu-group-toggle i {
  display: inline-grid;
  width: 14px;
  height: 14px;
  place-items: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 450;
  line-height: 1;
  transition: transform 170ms ease;
}

.menu-group.is-open > .menu-group-toggle i,
.menu-group-toggle[aria-expanded="true"] i {
  transform: rotate(45deg);
}

.menu-dropdown {
  position: absolute;
  z-index: 105;
  top: calc(100% + 12px);
  left: 50%;
  display: grid;
  visibility: hidden;
  width: min(560px, calc(100vw - (2 * var(--pad))));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  padding: 10px;
  transform: translate(-50%, -7px);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
}

.menu-group.is-open > .menu-dropdown {
  visibility: visible;
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.menu-dropdown a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 10px 13px;
  color: var(--ink);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.menu-dropdown a:hover {
  background: var(--night);
  color: var(--white);
}

.menu-dropdown a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -3px;
}

.menu-dropdown a[aria-current="page"],
.menu-dropdown a[aria-current="location"] {
  background: color-mix(in srgb, var(--blue) 10%, var(--paper));
  color: var(--blue-dark);
  border-color: color-mix(in srgb, var(--blue) 32%, transparent);
}

.menu-dropdown-cases {
  right: 0;
  left: auto;
  width: min(360px, calc(100vw - (2 * var(--pad))));
  grid-template-columns: 1fr;
  transform: translateY(-7px);
}

.menu-group.is-open > .menu-dropdown-cases {
  transform: translateY(0);
}

.menu-all-link {
  grid-column: 1 / -1;
  background: var(--night);
  color: var(--white) !important;
}

.menu-all-link:hover {
  background: var(--blue) !important;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .menu-dropdown {
    position: fixed;
    top: 76px;
    right: var(--pad);
    left: auto;
    transform: translateY(-7px);
  }

  .menu-group.is-open > .menu-dropdown {
    transform: translateY(0);
  }
}

.header-cta {
  min-height: 44px;
  padding: 12px 17px;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  transition: background-color 160ms ease, border-color 160ms ease;
}

.header-cta:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.menu-toggle {
  position: relative;
  z-index: 103;
  display: none;
  min-width: 78px;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle i,
.menu-toggle i::before {
  display: block;
  width: 23px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 170ms ease;
}

.menu-toggle i::before {
  transform: translateY(-6px);
}

.menu-toggle[aria-expanded="true"] i {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i::before {
  transform: rotate(-90deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: max(760px, 100svh);
  grid-template-columns: minmax(410px, 0.9fr) minmax(580px, 1.1fr);
  gap: clamp(50px, 6vw, 100px);
  align-items: center;
  overflow: hidden;
  padding: 138px var(--pad) 84px;
  background: var(--night);
  color: var(--white);
}

.hero::before {
  position: absolute;
  top: -220px;
  right: -140px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(39, 100, 255, 0.2) 0, rgba(39, 100, 255, 0.055) 43%, transparent 70%);
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  content: "";
}

.hero-copy,
.hero-system {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blue-dark);
}

.hero h1 {
  max-width: 750px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 5.8vw, 96px);
  font-weight: 640;
  letter-spacing: -0.065em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero-lead {
  max-width: 610px;
  margin: 34px 0 0;
  color: #bbc3c8;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 14px 20px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button span {
  font-size: 20px;
  font-weight: 400;
}

.button-primary {
  background: var(--blue);
  color: #fff;
}

.button-primary:hover {
  transform: translateY(-2px);
  background: #3470ff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 12px;
  color: #d1d6d9;
  border-bottom: 1px solid #667078;
  font-size: 13px;
  font-weight: 650;
  transition: color 150ms ease, border-color 150ms ease;
}

.text-link:hover {
  color: var(--white);
  border-color: var(--white);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 690px;
  margin: clamp(60px, 8vh, 104px) 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts div {
  min-width: 0;
}

.hero-facts dt {
  margin-bottom: 7px;
  color: #6f7b83;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  color: #d8dddf;
  font-size: 12px;
  line-height: 1.35;
}

.hero-system {
  width: 100%;
  max-width: 760px;
  justify-self: end;
  overflow: hidden;
  background: #0a141b;
  border: 1px solid rgba(255, 255, 255, 0.19);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.38);
}

.system-topbar,
.system-footer {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 17px;
  background: #101c24;
  color: #77828a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.system-topbar > div {
  display: flex;
  gap: 5px;
}

.system-topbar > div i {
  display: block;
  width: 6px;
  height: 6px;
  background: #3a454c;
  border-radius: 50%;
}

.system-topbar b {
  color: var(--lime);
  font-weight: 500;
}

.system-topbar b i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(185, 244, 90, 0.8);
}

.flow-board {
  position: relative;
  height: 570px;
  overflow: hidden;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.flow-board::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 48% 42%, rgba(39, 100, 255, 0.12), transparent 40%);
  content: "";
  pointer-events: none;
}

.flow-lines {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.flow-lines path {
  fill: none;
  stroke: #35434c;
  stroke-width: 1.35;
}

.flow-lines .flow-active {
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-dasharray: 5 11;
  animation: dash 3.5s linear infinite;
}

.flow-lines .flow-delay {
  animation-delay: -1.7s;
}

@keyframes dash {
  to {
    stroke-dashoffset: -64;
  }
}

.flow-label {
  position: absolute;
  z-index: 3;
  color: #55616a;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.label-source { top: 48px; left: 5%; }
.label-process { top: 150px; left: 39%; }
.label-control { top: 45px; left: 72%; }
.label-target { top: 315px; left: 72%; }

.flow-node {
  position: absolute;
  z-index: 4;
  width: 190px;
  min-height: 108px;
  padding: 14px 15px;
  background: rgba(13, 25, 33, 0.95);
  color: #dce1e3;
  border: 1px solid #36444d;
}

.flow-node span {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #52606a;
  font-family: var(--mono);
  font-size: 8px;
}

.flow-node strong,
.flow-node small {
  display: block;
}

.flow-node strong {
  margin-top: 19px;
  font-size: 14px;
  font-weight: 670;
}

.flow-node small {
  margin-top: 5px;
  color: #77848c;
  font-size: 10px;
  line-height: 1.3;
}

.flow-node em {
  display: inline-block;
  margin-top: 10px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
}

.flow-node.is-active {
  background: #102544;
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(39, 100, 255, 0.2), 0 18px 36px rgba(0, 0, 0, 0.25);
}

.node-source { top: 76px; left: 4%; width: 165px; }
.node-ai { top: 178px; left: 35%; }
.node-review { top: 74px; left: 70%; width: 175px; }
.node-target { top: 345px; left: 70%; width: 175px; }

.flow-log {
  position: absolute;
  z-index: 4;
  bottom: 42px;
  left: 33%;
  width: 330px;
  padding: 11px 13px;
  background: rgba(7, 16, 23, 0.82);
  border-left: 2px solid var(--lime);
  font-family: var(--mono);
}

.flow-log span {
  display: block;
  color: #5f6a72;
  font-size: 8px;
}

.flow-log p {
  margin: 5px 0 0;
  color: #aeb6bb;
  font-size: 9px;
  line-height: 1.4;
}

.system-footer {
  min-height: 43px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 0;
  font-size: 8px;
}

.system-footer b {
  color: #8d989f;
  white-space: nowrap;
}

.section {
  padding: clamp(100px, 10vw, 170px) var(--pad);
}

.section-index {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-index.light {
  color: #7a858c;
}

.position {
  background: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}

.position-copy {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(360px, 0.7fr);
  gap: clamp(70px, 10vw, 170px);
  align-items: center;
  margin-top: clamp(60px, 8vw, 120px);
}

.position-copy h2,
.section-intro h2,
.demo-heading h2,
.approach-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(50px, 6.1vw, 104px);
  font-weight: 610;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.position-copy > div {
  max-width: 580px;
  padding-left: 24px;
  border-left: 2px solid var(--blue);
}

.position-copy p {
  margin: 0 0 1.35em;
  color: #374047;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.58;
}

.position-copy p:last-child {
  margin-bottom: 0;
}

.services {
  background: var(--paper);
}

.section-intro,
.demo-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.3fr) 1fr;
  gap: 50px;
  align-items: start;
}

.section-intro > div:last-child,
.demo-heading > div:last-child {
  max-width: 1120px;
}

.section-intro h2,
.demo-heading h2 {
  max-width: 1080px;
}

.service-rows {
  margin-top: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--ink);
}

.service-rows article {
  display: grid;
  grid-template-columns: 62px minmax(280px, 0.9fr) minmax(300px, 0.7fr) 54px;
  gap: 26px;
  align-items: center;
  min-height: 142px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: color 160ms ease, background-color 160ms ease;
}

.service-rows article:hover,
.service-rows article:focus-within {
  color: var(--blue);
  background: rgba(39, 100, 255, 0.035);
}

.service-rows article > * {
  min-width: 0;
}

.service-rows article > span {
  align-self: start;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
}

.service-rows h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 51px);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.service-rows p {
  max-width: 560px;
  margin: 0;
  color: #4a545b;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.53;
}

.service-rows article:hover p,
.service-rows article:focus-within p {
  color: #244e9a;
}

.service-rows .service-title-link {
  color: inherit;
  text-decoration: none;
}

.service-rows .service-arrow-link {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  justify-self: end;
  border: 1px solid currentColor;
  font-size: 18px;
  transition: background-color 150ms ease, color 150ms ease;
}

.service-rows article:hover .service-arrow-link,
.service-rows article:focus-within .service-arrow-link {
  background: var(--blue);
  color: #fff;
}

.demo {
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

.demo::before {
  position: absolute;
  width: 100%;
  height: 1px;
  background: var(--line-light);
}

.demo-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(65px, 8vw, 110px);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.demo-tabs button {
  min-height: 64px;
  padding: 14px 18px;
  background: transparent;
  color: #89949b;
  border: 0;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.demo-tabs button:hover {
  color: var(--white);
}

.demo-tabs button[aria-selected="true"] {
  background: var(--blue);
  color: #fff;
}

.demo-shell {
  overflow: hidden;
  background: #101a21;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 0;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.25);
}

.demo-shellbar {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: #17232b;
  color: #7d8990;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.demo-shellbar > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.demo-shellbar b,
.demo-shellbar strong {
  font-weight: 500;
}

.demo-shellbar i {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(185, 244, 90, 0.7);
}

.demo-panel {
  display: grid;
  min-height: 650px;
  grid-template-columns: 0.95fr 1.05fr;
}

.demo-panel[hidden] {
  display: none;
}

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

.demo-document,
.context-screen,
.ticket-screen,
.ops-map {
  padding: clamp(28px, 4vw, 62px);
  background: #121e26;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.document-head,
.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #707d85;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
}

.document-head b {
  padding: 6px 8px;
  background: #202c33;
  color: #9ca7ad;
  font-weight: 500;
}

.paper-preview {
  max-width: 470px;
  min-height: 420px;
  margin: 36px auto 24px;
  padding: clamp(30px, 4vw, 55px);
  background: #e8e5dc;
  color: #151c20;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.paper-preview small {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
}

.paper-preview h3 {
  margin: 25px 0 5px;
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 47px);
  font-weight: 620;
  letter-spacing: -0.04em;
}

.paper-preview > p {
  margin: 0;
  color: #576168;
  font-size: 12px;
}

.paper-lines {
  display: grid;
  gap: 13px;
  margin: 58px 0 46px;
}

.paper-lines i {
  display: block;
  height: 1px;
  background: #a4a7a4;
}

.paper-lines i:nth-child(2) { width: 76%; }
.paper-lines i:nth-child(3) { width: 92%; }
.paper-lines i:nth-child(4) { width: 54%; }

.paper-preview dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.paper-preview dt {
  font-size: 9px;
  color: #697278;
}

.paper-preview dd {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 650;
}

.document-note {
  display: flex;
  max-width: 470px;
  align-items: center;
  gap: 9px;
  margin: 0 auto;
  color: #707d84;
  font-size: 10px;
}

.document-note i {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
}

.demo-result {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 62px);
  background: #0e181f;
}

.result-head b {
  color: var(--lime);
  font-weight: 500;
}

.confidence {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 55px 0 40px;
}

.confidence strong {
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(60px, 6vw, 92px);
  font-weight: 550;
  letter-spacing: -0.07em;
  line-height: 0.85;
}

.confidence span {
  color: #7b878e;
  font-size: 12px;
  line-height: 1.35;
}

.result-fields {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.result-fields > div {
  display: grid;
  min-height: 64px;
  grid-template-columns: 0.8fr 1.2fr 28px;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.result-fields dt {
  color: #66737b;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.result-fields dd {
  margin: 0;
  color: #dfe3e5;
  font-size: 13px;
}

.result-fields i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--lime);
  border: 1px solid rgba(185, 244, 90, 0.45);
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
}

.result-fields .needs-review dd,
.result-fields .needs-review i {
  color: #ffc35a;
}

.result-fields .needs-review i {
  border-color: rgba(255, 195, 90, 0.5);
}

.result-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 38px;
}

.result-action > span {
  color: #66737b;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.result-action .demo-detail-link,
.next-step .demo-detail-link,
.route-screen .demo-detail-link,
.ops-log + button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  padding: 12px 16px;
  background: var(--blue);
  color: #fff;
  border: 0;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.result-action .demo-detail-link b {
  margin-left: 22px;
  font-size: 17px;
  font-weight: 400;
}

.demo-detail-link:hover {
  background: var(--blue-dark);
}

.context-screen,
.ticket-screen,
.ops-map,
.next-step,
.route-screen,
.ops-log {
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 5vw, 74px);
}

.context-title > span,
.next-step > span,
.ticket-screen > span,
.route-screen > span,
.ops-map > span,
.ops-log > span {
  color: #718089;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.context-title h3,
.next-step h3,
.ticket-screen h3 {
  max-width: 640px;
  margin: 45px 0 16px;
  font-family: var(--display);
  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 590;
  letter-spacing: -0.055em;
  line-height: 1;
}

.context-title p,
.next-step p,
.ticket-screen > p,
.ops-map > p {
  max-width: 620px;
  margin: 0;
  color: #89959c;
  font-size: 14px;
  line-height: 1.55;
}

.context-timeline {
  display: grid;
  gap: 0;
  margin-top: auto;
  border-top: 1px solid var(--line-light);
}

.context-timeline > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
}

.context-timeline b {
  color: #66747c;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
}

.context-timeline p {
  margin: 0;
  color: #d1d7da;
  font-size: 13px;
}

.next-step,
.route-screen,
.ops-log {
  background: #0e181f;
}

.next-step .demo-detail-link,
.route-screen .demo-detail-link {
  width: fit-content;
  margin-top: auto;
}

.ticket-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
}

.ticket-tags i {
  padding: 8px 10px;
  background: #1b2932;
  color: #a5b0b6;
  border: 1px solid #35434c;
  font-size: 10px;
  font-style: normal;
}

.route-screen ol {
  display: grid;
  gap: 0;
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
}

.route-screen li {
  position: relative;
  min-height: 68px;
  padding: 20px 0 20px 36px;
  color: #68757d;
  border-bottom: 1px solid var(--line-light);
  font-size: 13px;
}

.route-screen li::before {
  position: absolute;
  top: 23px;
  left: 0;
  width: 10px;
  height: 10px;
  background: #34414a;
  border-radius: 50%;
  content: "";
}

.route-screen li.done {
  color: #c4cccf;
}

.route-screen li.done::before {
  background: var(--lime);
}

.route-screen li.active {
  color: #fff;
}

.route-screen li.active::before {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(39, 100, 255, 0.16);
}

.ops-flow {
  display: grid;
  grid-template-columns: 1fr 30px 1fr 30px 1fr;
  gap: 8px;
  align-items: center;
  margin: auto 0 60px;
}

.ops-flow b {
  padding: 24px 18px;
  background: #17252e;
  border: 1px solid #38464f;
  font-size: 18px;
  font-weight: 620;
}

.ops-flow small {
  display: block;
  margin-top: 8px;
  color: #78858d;
  font-size: 9px;
  font-weight: 400;
}

.ops-flow > i {
  color: #64727a;
  font-style: normal;
  text-align: center;
}

.ops-log > div {
  display: grid;
  min-height: 70px;
  grid-template-columns: 12px 1fr auto;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
}

.ops-log > div:first-of-type {
  margin-top: 55px;
  border-top: 1px solid var(--line-light);
}

.ops-log i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.ops-log i.ok { background: var(--lime); }
.ops-log i.warn { background: #ffc35a; }

.ops-log p {
  margin: 0;
  color: #c5cccf;
  font-size: 12px;
}

.ops-log .log-state {
  color: #68757d;
  font-family: var(--mono);
  font-size: 9px;
}

.demo-disclaimer {
  margin: 18px 0 0;
  color: #637078;
  font-size: 12px;
  line-height: 1.6;
}

.architecture {
  background: var(--paper);
}

.architecture-map {
  display: grid;
  grid-template-columns: 0.8fr 60px 1.3fr 60px 0.85fr 60px 0.8fr;
  gap: 12px;
  align-items: stretch;
  margin-top: clamp(75px, 9vw, 130px);
  padding: 34px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.architecture-column {
  min-height: 330px;
  padding: 28px;
  background: #e8e6de;
  border: 1px solid var(--line-dark);
}

.architecture-column > span {
  display: block;
  margin-bottom: 48px;
  color: #6d767c;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
}

.architecture-column > b,
.architecture-column > strong {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 14px;
  font-weight: 620;
}

.architecture-column.core {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.architecture-column.core > span,
.architecture-column.core > small {
  color: var(--white);
}

.architecture-column.core > strong {
  border-color: rgba(255, 255, 255, 0.25);
  font-size: 24px;
}

.architecture-column.core > small {
  display: block;
  margin-top: 25px;
  font-size: 10px;
}

.architecture-column.control {
  background: var(--night);
  color: var(--white);
}

.architecture-column.control > div {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: flex-end;
}

.architecture-column.control i {
  width: 10px;
  height: 10px;
  margin-bottom: auto;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(185, 244, 90, 0.7);
}

.architecture-column.control b {
  font-size: 23px;
  font-weight: 600;
}

.architecture-column.control small {
  margin-top: 8px;
  color: #818d94;
  font-size: 10px;
  line-height: 1.4;
}

.architecture-arrow {
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  font-size: 27px;
}

.architecture-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 44px;
}

.architecture-notes p {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  margin: 0;
  color: #4b555b;
  font-size: 13px;
  line-height: 1.55;
}

.architecture-notes span {
  color: var(--blue-dark);
  font-family: var(--mono);
  font-size: 9px;
}

.approach {
  background: var(--blue-surface);
  color: #fff;
}

.approach-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.3fr) 1fr;
  gap: 36px 50px;
}

.approach-heading .eyebrow {
  grid-column: 2;
  margin-bottom: -8px;
  color: var(--white);
}

.approach-heading h2 {
  grid-column: 2;
  max-width: 1120px;
}

.approach-steps {
  margin: clamp(78px, 9vw, 130px) 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  list-style: none;
}

.approach-steps li {
  display: grid;
  grid-template-columns: 80px minmax(320px, 1fr) minmax(220px, 0.5fr);
  gap: 30px;
  align-items: center;
  min-height: 150px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.approach-steps > li > span {
  align-self: start;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
}

.approach-steps li > div {
  display: grid;
  grid-template-columns: minmax(210px, 0.55fr) 1fr;
  gap: 35px;
  align-items: center;
}

.approach-steps h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 3.7vw, 60px);
  font-weight: 610;
  letter-spacing: -0.05em;
}

.approach-steps p {
  max-width: 560px;
  margin: 0;
  color: var(--white);
  font-size: 14px;
  line-height: 1.55;
}

.approach-steps small {
  justify-self: end;
  padding: 8px 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.answers {
  background: var(--paper);
}

.seo-copy {
  display: grid;
  max-width: 1180px;
  grid-template-columns: 1fr 1fr;
  gap: 40px clamp(50px, 7vw, 110px);
  margin: clamp(75px, 9vw, 130px) 0 0 auto;
}

.seo-copy h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.seo-copy p {
  margin: 0 0 1.45em;
  color: #394349;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.67;
}

.faq {
  max-width: 1180px;
  margin: clamp(60px, 8vw, 110px) 0 0 auto;
  border-top: 1px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line-dark);
}

.faq summary {
  position: relative;
  min-height: 82px;
  padding: 26px 60px 24px 0;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 31px);
  font-weight: 590;
  letter-spacing: -0.03em;
  line-height: 1.12;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  color: var(--blue-dark);
  content: "+";
  font-size: 32px;
  font-weight: 300;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 780px;
  margin: 8px 0 30px;
  color: #4c565d;
  font-size: 15px;
  line-height: 1.65;
}

.contact {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(500px, 1.1fr);
  gap: clamp(70px, 10vw, 170px);
  background: var(--night);
  color: var(--white);
}

.contact-copy {
  align-self: start;
}

.contact-copy .eyebrow {
  margin-top: 72px;
}

.contact-copy h2 {
  max-width: 760px;
  font-size: clamp(50px, 5.8vw, 94px);
}

.contact-copy > p:last-child {
  max-width: 540px;
  margin: 34px 0 0;
  color: #859198;
  font-size: 16px;
  line-height: 1.6;
}

.contact-form {
  padding-top: 3px;
}

.prototype-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 50px;
  padding: 13px 15px;
  color: #9aa5ab;
  border: 1px solid #36434b;
  font-size: 11px;
}

.prototype-note i {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
}

.contact-form label {
  display: block;
  margin-bottom: 34px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 10px;
  color: #7d8990;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 10px 0 14px;
  resize: vertical;
  background: transparent;
  color: var(--white);
  border: 0;
  border-bottom: 1px solid #44515a;
  border-radius: 0;
  outline: 0;
  font-family: var(--display);
  font-size: clamp(23px, 2.3vw, 37px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
  transition: border-color 150ms ease;
}

.contact-form textarea {
  min-height: 130px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
}

.contact-form .is-invalid {
  border-color: #ff826f;
}

.contact-form label > small {
  display: block;
  min-height: 18px;
  margin-top: 7px;
  color: #ff9e8e;
  font-size: 11px;
}

.contact-form .form-data-warning {
  margin: -6px 0 24px;
  padding: 13px 15px;
  color: #c3cbd0;
  background: rgba(255, 130, 111, 0.08);
  border-left: 3px solid #ff826f;
  font-size: 12px;
  line-height: 1.55;
}

.contact-form .form-provider-note {
  margin: -4px 0 24px;
  color: #c7d0d5;
  font-size: 13px;
  line-height: 1.55;
}

.contact-form .consent-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 11px 13px;
  align-items: start;
  margin: 0 0 30px;
}

.contact-form .consent-field input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--blue);
  border: 1px solid #65717a;
}

.contact-form .consent-field > span {
  margin: 0;
  color: #aab4b9;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.contact-form .consent-field a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(251, 250, 245, 0.42);
  text-underline-offset: 3px;
}

.contact-form .consent-field > small {
  grid-column: 2;
  margin: -7px 0 0;
}

.contact-form .form-privacy-note {
  margin: -17px 0 30px 31px;
  color: #8f9ba2;
  font-size: 11px;
  line-height: 1.55;
}

.contact-form .form-privacy-note a {
  color: #d8dde0;
  text-decoration: underline;
  text-decoration-color: rgba(216, 221, 224, 0.4);
  text-underline-offset: 3px;
}

.form-footer {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 24px;
  align-items: center;
}

.form-footer .button {
  width: 100%;
  border: 0;
}

.form-status {
  margin: 0;
  color: #aab4b9;
  font-size: 12px;
  line-height: 1.45;
}

.footer {
  display: grid;
  min-height: 150px;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: end;
  padding: 36px var(--pad);
  background: #040a0f;
  color: var(--white);
  border-top: 1px solid #26323a;
}

.footer p,
.footer > a:last-child {
  margin: 0;
  color: #69757d;
  font-size: 10px;
}

.footer p {
  max-width: 370px;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(360px, 0.78fr) minmax(500px, 1.22fr);
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(55px, 6.2vw, 78px);
  }

  .flow-node {
    width: 170px;
  }

  .node-source {
    width: 150px;
  }

  .node-review,
  .node-target {
    left: 68%;
    width: 155px;
  }

  .flow-log {
    width: 280px;
  }

  .architecture-map {
    grid-template-columns: 0.75fr 35px 1.2fr 35px 0.85fr 35px 0.8fr;
    gap: 8px;
  }

  .architecture-column {
    padding: 20px;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 75px;
    padding-top: 140px;
  }

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

  .hero h1 {
    font-size: clamp(64px, 9vw, 92px);
  }

  .hero-system {
    max-width: none;
    justify-self: stretch;
  }

  .position-copy {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .position-copy > div {
    max-width: 760px;
    margin-left: auto;
  }

  .service-rows article {
    grid-template-columns: 48px minmax(260px, 0.8fr) 1fr 48px;
  }

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

  .demo-document,
  .context-screen,
  .ticket-screen,
  .ops-map {
    min-height: 580px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .demo-result,
  .next-step,
  .route-screen,
  .ops-log {
    min-height: 580px;
  }

  .architecture-map {
    grid-template-columns: 1fr 25px 1fr;
  }

  .architecture-column.control,
  .architecture-column.targets,
  .architecture-map > .architecture-arrow:nth-of-type(3) {
    margin-top: 20px;
  }

  .architecture-column.control {
    grid-column: 1;
  }

  .architecture-map > .architecture-arrow:nth-of-type(3) {
    grid-column: 2;
  }

  .architecture-column.targets {
    grid-column: 3;
  }

  .architecture-notes {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .approach-steps li {
    grid-template-columns: 55px 1fr;
  }

  .approach-steps small {
    grid-column: 2;
    justify-self: start;
  }

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

  .contact-copy {
    max-width: 850px;
  }

  .contact-form {
    max-width: 850px;
    width: 100%;
    margin-left: auto;
  }
}

@media (max-width: 820px) {
  .section[id],
  .service-section[id] {
    scroll-margin-top: 68px;
  }

  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-menu {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 100px var(--pad) 34px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    transform: translateY(-8px);
    background: var(--night);
    color: var(--white);
    opacity: 0;
    pointer-events: none;
    transition: opacity 170ms ease, transform 170ms ease, visibility 170ms;
  }

  .site-menu.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-menu > a:not(.header-cta),
  .site-menu > .menu-group > .menu-group-toggle,
  .header-cta {
    width: 100%;
    min-height: 62px;
    padding: 15px 0;
    background: transparent;
    color: var(--white);
    border: 0;
    border-bottom: 1px solid #37444c;
    font-family: var(--display);
    font-size: clamp(28px, 8vw, 44px);
    font-weight: 580;
    letter-spacing: -0.045em;
    line-height: 1;
  }

  .site-menu > a::after,
  .site-menu > .menu-group > .menu-group-toggle::after {
    display: none;
  }

  .site-menu > a[aria-current="page"],
  .site-menu > a[aria-current="location"],
  .site-menu > .menu-group > .menu-group-toggle[aria-current="page"],
  .site-menu > .menu-group > .menu-group-toggle[aria-current="location"] {
    color: var(--lime);
  }

  .menu-group {
    display: block;
    width: 100%;
    flex: 0 0 auto;
  }

  .menu-group-toggle {
    justify-content: space-between;
    text-align: left;
  }

  .menu-group-toggle i {
    width: 28px;
    height: 28px;
    font-size: 25px;
    font-weight: 350;
  }

  .menu-dropdown,
  .menu-dropdown-cases {
    position: static;
    display: none;
    visibility: visible;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 10px;
    transform: none;
    background: transparent;
    color: var(--white);
    border: 0;
    border-bottom: 1px solid #37444c;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }

  .menu-group.is-open > .menu-dropdown,
  .menu-group.is-open > .menu-dropdown-cases {
    display: grid;
    transform: none;
  }

  .menu-dropdown a {
    min-height: 48px;
    padding: 12px 16px;
    color: #c6cdd2;
    border: 0;
    border-bottom: 1px solid rgba(251, 250, 245, 0.1);
    font-family: var(--body);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }

  .menu-dropdown a:hover {
    background: var(--night-2);
    color: var(--white);
  }

  .menu-dropdown a:focus-visible {
    outline-color: var(--lime);
  }

  .menu-dropdown a[aria-current="page"],
  .menu-dropdown a[aria-current="location"] {
    background: rgba(185, 244, 90, 0.08);
    color: var(--lime);
    border-color: rgba(185, 244, 90, 0.2);
  }

  .menu-all-link {
    background: transparent;
    color: var(--lime) !important;
  }

  .menu-all-link:hover {
    background: var(--night-2) !important;
  }

  .site-header.menu-active {
    color: var(--white);
    backdrop-filter: none;
  }

  .section-intro,
  .demo-heading,
  .approach-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .approach-heading .eyebrow,
  .approach-heading h2 {
    grid-column: 1;
  }

  .service-rows article {
    grid-template-columns: 36px 1fr 46px;
    gap: 18px;
  }

  .service-rows article p {
    grid-column: 2 / -1;
    padding-right: 18px;
  }

  .service-rows article > a {
    grid-column: 3;
    grid-row: 1;
  }

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

  .architecture-map {
    grid-template-columns: 1fr;
  }

  .architecture-arrow {
    min-height: 42px;
    transform: rotate(90deg);
  }

  .architecture-column.control,
  .architecture-column.targets,
  .architecture-map > .architecture-arrow:nth-of-type(3) {
    grid-column: 1;
    margin-top: 0;
  }

  .architecture-column {
    min-height: 270px;
  }

  .approach-steps li > div {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .seo-copy {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr auto;
  }

  .footer > p {
    grid-row: auto;
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  :root {
    --pad: 18px;
  }

  .wordmark span {
    display: none;
  }

  .hero {
    gap: 36px;
    padding-top: 104px;
    padding-bottom: 48px;
  }

  .hero::before {
    top: -100px;
    right: -300px;
    width: 700px;
    height: 700px;
  }

  .hero h1 {
    font-size: clamp(30px, 9.4vw, 52px);
    letter-spacing: -0.05em;
    line-height: 1.04;
  }

  .hero-lead {
    margin-top: 26px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-top: 30px;
  }

  .button {
    width: 100%;
  }

  .text-link {
    width: fit-content;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 32px;
  }

  .hero-facts div {
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-facts dt {
    margin: 2px 0 0;
  }

  .system-topbar > span {
    display: none;
  }

  .flow-board {
    display: grid;
    height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 16px;
  }

  .flow-board::after,
  .flow-lines,
  .flow-label {
    display: none;
  }

  .flow-node,
  .node-source,
  .node-ai,
  .node-review,
  .node-target,
  .flow-log {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .flow-node {
    min-height: 0;
    padding: 12px 14px 14px 44px;
  }

  .flow-node span {
    top: 16px;
    right: auto;
    left: 14px;
    font-size: 10px;
  }

  .flow-node strong {
    margin-top: 0;
    font-size: 15px;
  }

  .flow-node small {
    font-size: 12px;
  }

  .flow-node em {
    font-size: 10px;
  }

  .flow-node:not(.node-target)::after {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    color: #52616b;
    content: "↓";
    font-size: 12px;
  }

  .flow-log {
    order: 5;
  }

  .system-footer span {
    max-width: 220px;
    line-height: 1.35;
  }

  .section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .position-copy {
    gap: 45px;
    margin-top: 52px;
  }

  .position-copy h2,
  .section-intro h2,
  .demo-heading h2,
  .approach-heading h2,
  .contact-copy h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .answers-head h2 {
    font-size: clamp(39px, 10.5vw, 48px);
  }

  .position-copy > div {
    padding-left: 17px;
  }

  .position-copy p {
    font-size: 15px;
  }

  .service-rows {
    margin-top: 55px;
  }

  .service-rows article {
    grid-template-columns: 26px minmax(0, 1fr) 44px;
    padding: 24px 0;
  }

  .service-rows article:hover {
    padding-right: 0;
    padding-left: 0;
  }

  .service-rows h3 {
    font-size: 29px;
  }

  .service-rows article p {
    padding-right: 0;
    font-size: 15px;
  }

  .service-rows .service-arrow-link {
    width: 44px;
    height: 44px;
  }

  .demo-tabs {
    margin-top: 52px;
  }

  .demo-tabs button {
    min-height: 54px;
    font-size: 13px;
  }

  .demo-shellbar {
    padding: 0 13px;
  }

  .demo-document,
  .context-screen,
  .ticket-screen,
  .ops-map,
  .demo-result,
  .next-step,
  .route-screen,
  .ops-log {
    min-height: 0;
    padding: 26px 18px;
  }

  .paper-preview {
    min-height: 360px;
    margin-top: 26px;
    padding: 28px 22px;
  }

  .paper-lines {
    margin: 46px 0 38px;
  }

  .confidence {
    margin: 38px 0 28px;
  }

  .result-fields > div {
    grid-template-columns: 0.75fr 1.2fr 24px;
  }

  .result-action {
    align-items: stretch;
    flex-direction: column;
    margin-top: 35px;
  }

  .result-action .demo-detail-link {
    width: 100%;
  }

  .context-title h3,
  .next-step h3,
  .ticket-screen h3 {
    margin-top: 35px;
    font-size: clamp(30px, 9vw, 39px);
  }

  .context-timeline > div {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .context-timeline,
  .ticket-tags,
  .next-step .demo-detail-link,
  .route-screen .demo-detail-link {
    margin-top: 55px;
  }

  .ops-flow {
    grid-template-columns: 1fr;
    margin: 55px 0 35px;
  }

  .ops-flow > i {
    transform: rotate(90deg);
  }

  .architecture-map {
    margin-top: 55px;
  }

  .architecture-notes {
    gap: 24px;
  }

  .approach-steps {
    margin-top: 56px;
  }

  .approach-steps li {
    grid-template-columns: 30px 1fr;
    gap: 12px;
    padding: 26px 0;
  }

  .approach-steps h3 {
    font-size: 36px;
  }

  .approach-steps p {
    font-size: 15px;
  }

  .seo-copy {
    margin-top: 58px;
  }

  .seo-copy p {
    font-size: 15px;
  }

  .faq {
    margin-top: 48px;
  }

  .faq summary {
    min-height: 72px;
    padding-right: 45px;
    font-size: 21px;
  }

  .faq details p {
    font-size: 14px;
  }

  .contact-copy .eyebrow {
    margin-top: 52px;
  }

  .contact-form {
    margin-top: 10px;
  }

  .prototype-note {
    line-height: 1.35;
  }

  .form-footer {
    grid-template-columns: 1fr;
  }

  .footer {
    min-height: 190px;
  }
}

/* Compact desktop rhythm: cap wide layouts and keep most sections near one viewport. */
@media (min-width: 1181px) {
  :root {
    --pad: max(48px, calc((100vw - var(--content)) / 2));
  }

  .section {
    padding-top: clamp(84px, 5.5vw, 106px);
    padding-bottom: clamp(84px, 5.5vw, 106px);
  }

  .hero {
    min-height: min(760px, 100svh);
    grid-template-columns: minmax(480px, 0.95fr) minmax(520px, 1.05fr);
    gap: clamp(56px, 4.2vw, 72px);
    padding-top: 108px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(58px, 4.7vw, 72px);
  }

  .hero-lead {
    margin-top: 24px;
    font-size: clamp(16px, 1.2vw, 19px);
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-facts {
    margin-top: 36px;
    padding-top: 16px;
  }

  .flow-board {
    height: 460px;
  }

  .label-source { top: 38px; }
  .label-process { top: 120px; }
  .label-control { top: 36px; }
  .label-target { top: 245px; }

  .node-source { top: 58px; }
  .node-ai { top: 142px; }
  .node-review { top: 58px; }
  .node-target { top: 270px; }

  .flow-log {
    bottom: 26px;
    width: 300px;
  }

  .position-copy {
    gap: clamp(56px, 6vw, 100px);
    margin-top: clamp(54px, 4.5vw, 76px);
  }

  .position-copy h2,
  .section-intro h2,
  .demo-heading h2,
  .approach-heading h2,
  .contact-copy h2 {
    font-size: clamp(52px, 4.25vw, 82px);
  }

  .section-intro,
  .demo-heading,
  .approach-heading {
    grid-template-columns: minmax(120px, 0.24fr) 1fr;
    gap: 38px;
  }

  .service-rows {
    margin-top: clamp(56px, 4.5vw, 76px);
  }

  .service-rows article {
    min-height: 112px;
    padding: 16px 0;
  }

  .service-rows h3 {
    font-size: clamp(28px, 2.35vw, 42px);
  }

  .demo-tabs {
    margin-top: clamp(52px, 4.2vw, 72px);
  }

  .demo-tabs button {
    min-height: 54px;
  }

  .demo-panel {
    min-height: 560px;
  }

  .demo-document,
  .context-screen,
  .ticket-screen,
  .ops-map,
  .demo-result,
  .next-step,
  .route-screen,
  .ops-log {
    padding: clamp(32px, 2.5vw, 42px);
  }

  .paper-preview {
    min-height: 360px;
    margin-top: 28px;
    margin-bottom: 20px;
    padding: clamp(28px, 2.2vw, 38px);
  }

  .paper-lines {
    margin: 42px 0 34px;
  }

  .architecture-map {
    margin-top: clamp(56px, 4.5vw, 76px);
    padding: 24px 0;
  }

  .architecture-column {
    min-height: 280px;
    padding: 22px;
  }

  .architecture-column > span {
    margin-bottom: 36px;
  }

  .architecture-column.control > div {
    min-height: 145px;
  }

  .architecture-notes {
    margin-top: 32px;
  }

  .approach-steps {
    margin-top: clamp(56px, 4.5vw, 76px);
  }

  .approach-steps li {
    min-height: 125px;
    padding: 18px 0;
  }

  .approach-steps h3 {
    font-size: clamp(34px, 2.8vw, 48px);
  }

  .seo-copy {
    margin-top: clamp(56px, 4.5vw, 76px);
  }

  .faq {
    margin-top: clamp(52px, 4vw, 70px);
  }

  .faq summary {
    min-height: 70px;
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .contact {
    grid-template-columns: minmax(340px, 600px) minmax(460px, 700px);
    gap: clamp(72px, 5vw, 96px);
    justify-content: center;
    padding-top: clamp(48px, 3.5vw, 56px);
    padding-bottom: clamp(48px, 3.5vw, 56px);
  }

  .contact-copy .eyebrow {
    margin-top: 42px;
  }

  .contact-copy h2 {
    max-width: 640px;
    font-size: clamp(52px, 3.9vw, 72px);
  }

  .contact-copy > p:last-child {
    margin-top: 24px;
  }

  .prototype-note {
    margin-bottom: 32px;
  }

  .contact-form label {
    margin-bottom: 22px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 8px 0 10px;
    font-size: clamp(22px, 1.65vw, 30px);
  }

  .contact-form textarea {
    height: 130px;
    min-height: 130px;
  }

  .service-page .service-hero {
    min-height: min(800px, 100svh);
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
    gap: clamp(60px, 5vw, 90px);
    padding-top: 124px;
    padding-bottom: 76px;
  }

  .service-page .service-breadcrumbs {
    margin-bottom: clamp(32px, 3vw, 44px);
  }

  .service-page .service-hero h1 {
    max-width: 860px;
    font-size: clamp(58px, 4.8vw, 88px);
    line-height: 0.92;
  }

  .service-page .service-hero-copy > p:not(.service-kicker):not(.service-breadcrumbs):not(.service-proofline):not(.eyebrow) {
    margin-top: 26px;
    font-size: clamp(17px, 1.2vw, 20px);
  }

  .service-page .service-hero .hero-actions {
    margin-top: 30px;
  }

  .service-page .service-hero-side li {
    padding: 16px 0;
  }

  .service-page p.service-proofline {
    padding: 16px 0 0 22px;
  }

  .service-page .service-section {
    padding-top: clamp(72px, 5vw, 96px);
    padding-bottom: clamp(72px, 5vw, 96px);
  }

  .service-page .service-section-head {
    gap: clamp(40px, 4vw, 70px);
    margin-bottom: clamp(48px, 4vw, 64px);
  }

  .service-page .service-section-head h2 {
    font-size: clamp(44px, 3.8vw, 68px);
  }

  .service-page .service-section-head div > p:not(.eyebrow) {
    margin-top: 20px;
  }

  .service-page .service-card {
    min-height: 260px;
  }

  .service-page .service-split {
    gap: clamp(48px, 5vw, 80px);
  }

  .service-page .service-split > div > h2,
  .service-page .service-split > div > h3 {
    font-size: clamp(38px, 3.2vw, 56px);
  }

  .service-page .service-list li {
    padding: 18px 0;
  }

  .service-page .service-limit {
    margin-top: 60px;
    padding: 40px;
  }

  .service-page .input-process-result {
    margin-top: clamp(48px, 4vw, 64px);
  }

  .service-page .input-process-result article {
    min-height: 270px;
    padding: 24px clamp(20px, 2vw, 32px) 28px;
  }

  .service-page .input-process-result h3 {
    font-size: clamp(26px, 2vw, 34px);
  }

  .service-page .service-steps,
  .service-page .scenario-grid {
    margin-top: clamp(48px, 4vw, 64px);
  }

  .service-page .service-steps article,
  .service-page .scenario-grid article {
    min-height: 290px;
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .service-page .service-steps h2,
  .service-page .scenario-grid h2 {
    margin-top: 70px;
    font-size: clamp(29px, 2.3vw, 38px);
  }

  .service-page .service-grid-section {
    gap: clamp(55px, 5vw, 80px);
  }

  .service-page .service-grid-section > div:first-child > h2,
  .service-page .service-related > h2 {
    margin-top: 32px;
    margin-bottom: 22px;
    font-size: clamp(43px, 3.6vw, 64px);
  }

  .service-page .service-card-list article {
    padding: 20px 0;
  }

  .service-page .service-deliverables {
    margin-top: clamp(48px, 4vw, 64px);
  }

  .service-page .service-deliverables p {
    min-height: 180px;
  }

  .service-page .service-deliverables b {
    margin-bottom: 35px;
  }

  .service-page .related-links {
    margin-top: clamp(48px, 4vw, 64px);
  }

  .service-page .related-links a {
    min-height: 180px;
  }

  .service-page .contact .contact-copy h2 {
    font-size: clamp(46px, 3.5vw, 64px);
  }
}

/* Standard desktop windows need denser components, not only smaller gutters. */
@media (min-width: 1181px) and (max-height: 1200px) {
  .section {
    padding-top: clamp(44px, 5vh, 50px);
    padding-bottom: clamp(44px, 5vh, 50px);
  }

  .position-copy h2,
  .section-intro h2,
  .demo-heading h2,
  .approach-heading h2,
  .contact-copy h2 {
    font-size: clamp(46px, 3.1vw, 58px);
    line-height: 0.96;
  }

  .section-intro,
  .demo-heading,
  .approach-heading {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 26px 32px;
  }

  .section-intro h2,
  .demo-heading h2,
  .approach-heading h2 {
    max-width: 1260px;
  }

  .section-intro .eyebrow,
  .demo-heading .eyebrow,
  .approach-heading .eyebrow {
    margin-bottom: 12px;
  }

  .position-copy {
    gap: 64px;
    margin-top: 38px;
  }

  .position-copy p {
    font-size: 16px;
    line-height: 1.45;
  }

  .service-rows {
    margin-top: 30px;
  }

  .service-rows article {
    min-height: 74px;
    padding: 9px 0;
  }

  .service-rows article > span {
    margin-top: 4px;
  }

  .service-rows h3 {
    font-size: clamp(27px, 1.8vw, 34px);
  }

  .service-rows p {
    font-size: 15px;
    line-height: 1.5;
  }

  .service-rows .service-arrow-link {
    width: 44px;
    height: 44px;
  }

  .demo-heading h2 {
    font-size: clamp(46px, 3vw, 56px);
  }

  .demo {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .demo-tabs {
    margin-top: 20px;
  }

  .demo-tabs button {
    min-height: 44px;
    padding: 10px 16px;
  }

  .demo-shellbar {
    min-height: 34px;
  }

  .demo-panel {
    height: 380px;
    min-height: 380px;
  }

  .demo-document,
  .context-screen,
  .ticket-screen,
  .ops-map,
  .demo-result,
  .next-step,
  .route-screen,
  .ops-log {
    padding: 20px 26px;
  }

  .paper-preview {
    width: min(100%, 430px);
    height: 240px;
    min-height: 0;
    margin: 12px auto 8px;
    padding: 20px 26px;
  }

  .paper-preview h3 {
    margin: 10px 0 3px;
    font-size: 31px;
  }

  .paper-lines {
    gap: 6px;
    margin: 18px 0 14px;
  }

  .paper-preview dl {
    gap: 12px;
    padding-top: 8px;
  }

  .paper-preview dd {
    font-size: 15px;
  }

  .confidence {
    margin: 22px 0 16px;
  }

  .confidence strong {
    font-size: 56px;
  }

  .result-fields > div {
    min-height: 43px;
  }

  .result-action {
    padding-top: 10px;
  }

  .result-action .demo-detail-link,
  .next-step .demo-detail-link,
  .route-screen .demo-detail-link,
  .ops-log + button {
    min-height: 42px;
    padding: 9px 14px;
  }

  .context-title h3,
  .next-step h3,
  .ticket-screen h3 {
    margin: 24px 0 12px;
    font-size: clamp(34px, 2.7vw, 48px);
  }

  .context-timeline > div {
    padding: 12px 0;
  }

  .route-screen ol {
    margin-top: 28px;
  }

  .route-screen li {
    min-height: 48px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .route-screen li::before {
    top: 17px;
  }

  .ops-flow {
    margin-bottom: 28px;
  }

  .ops-flow b {
    padding: 18px 14px;
    font-size: 16px;
  }

  .ops-log > div {
    min-height: 50px;
  }

  .ops-log > div:first-of-type {
    margin-top: 28px;
  }

  .demo-disclaimer {
    margin-top: 12px;
  }

  .architecture-map {
    margin-top: 30px;
    padding: 14px 0;
  }

  .architecture-column {
    min-height: 220px;
    padding: 16px;
  }

  .architecture-column > span {
    margin-bottom: 18px;
  }

  .architecture-column > b,
  .architecture-column > strong {
    padding: 9px 0;
  }

  .architecture-column.control > div {
    min-height: 100px;
    padding: 14px;
  }

  .architecture-notes {
    margin-top: 20px;
  }

  .architecture-notes p {
    font-size: 12px;
    line-height: 1.4;
  }

  .approach-heading .eyebrow {
    margin-bottom: -2px;
  }

  .approach-steps {
    margin-top: 30px;
  }

  .approach-steps li {
    min-height: 92px;
    padding: 12px 0;
  }

  .approach-steps h3 {
    font-size: 34px;
  }

  .approach-steps p {
    font-size: 15px;
    line-height: 1.5;
  }

  .seo-copy {
    gap: 46px;
    margin-top: 30px;
  }

  .seo-copy p {
    margin-bottom: 1em;
    font-size: 15px;
    line-height: 1.48;
  }

  .faq {
    margin-top: 26px;
  }

  .faq summary {
    min-height: 50px;
    padding: 13px 52px 12px 0;
    font-size: 20px;
  }

  .contact {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .service-page .service-hero {
    min-height: min(720px, 100svh);
    padding-top: 104px;
    padding-bottom: 54px;
  }

  .service-page .service-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .service-page .service-section-head {
    margin-bottom: 38px;
  }

  .service-page .service-section-head h2 {
    font-size: clamp(42px, 3vw, 56px);
  }

  .service-page .service-card,
  .service-page .input-process-result article {
    min-height: 190px;
  }

  .service-page .service-steps article,
  .service-page .scenario-grid article {
    min-height: 250px;
  }

  .service-page .service-flow {
    min-height: 300px;
  }

  .service-page .service-flow-step {
    padding-top: 22px;
    padding-bottom: 24px;
  }

  .service-page .service-split {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 56px;
  }

  .service-page .related-card {
    min-height: 210px;
  }

  .service-page .service-deliverables {
    margin-top: 36px;
  }

  .service-page .service-limit {
    margin-top: 36px;
    padding: 30px 36px;
  }
}

@media (min-width: 961px) and (max-width: 1180px) {
  .contact {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: 720px;
    padding-top: 105px;
  }
}

/* Keep the homepage hero stacked through the narrow desktop scrollbar seam. */
@media (min-width: 961px) and (max-width: 982px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 75px;
    padding-top: 140px;
  }

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

  .hero h1 {
    font-size: clamp(64px, 9vw, 92px);
  }

  .hero-system {
    max-width: none;
    justify-self: stretch;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Service pages ---------------------------------------------------------- */

.service-page {
  background: var(--paper);
}

.service-hero {
  position: relative;
  display: grid;
  min-height: min(860px, 100svh);
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.78fr);
  gap: clamp(52px, 7vw, 128px);
  align-items: end;
  padding: 148px var(--pad) clamp(62px, 8vw, 112px);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(39, 100, 255, 0.11), transparent 38%),
    var(--night);
  color: var(--white);
}

.service-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 250, 245, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 250, 245, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 78%);
  pointer-events: none;
}

.service-hero::after {
  position: absolute;
  right: 0;
  bottom: -32vw;
  width: 55vw;
  height: 55vw;
  border: 1px solid rgba(185, 244, 90, 0.2);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.service-hero-copy,
.service-hero-side {
  position: relative;
  z-index: 1;
}

.service-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 clamp(35px, 5vw, 72px);
  color: rgba(251, 250, 245, 0.58);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-breadcrumbs a:hover {
  color: var(--white);
}

.service-kicker {
  margin: 0 0 22px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(56px, 6.3vw, 112px);
  font-weight: 730;
  letter-spacing: -0.067em;
  line-height: 0.89;
  text-wrap: balance;
}

.service-hero-copy > p:not(.service-kicker):not(.service-breadcrumbs):not(.service-proofline):not(.eyebrow) {
  max-width: 760px;
  margin: 34px 0 0;
  color: rgba(251, 250, 245, 0.7);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.48;
}

.service-hero .hero-actions {
  margin-top: 38px;
}

.service-hero-side {
  align-self: end;
  border-top: 1px solid var(--lime);
  border-bottom: 1px solid var(--line-light);
}

.service-hero-side > header,
.service-hero-side > .service-side-head {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(251, 250, 245, 0.55);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-light);
}

.service-hero-side ol,
.service-hero-side ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-hero-side li,
.service-proofline {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(251, 250, 245, 0.13);
}

.service-hero-side li:last-child,
.service-proofline:last-child {
  border-bottom: 0;
}

.service-hero-side li > span,
.service-proofline > span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
}

.service-hero-side li > div,
.service-proofline > div {
  min-width: 0;
}

.service-hero-side strong,
.service-proofline strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(18px, 1.4vw, 23px);
  font-weight: 680;
  line-height: 1.08;
}

.service-hero-side small,
.service-proofline small {
  display: block;
  margin-top: 7px;
  color: rgba(251, 250, 245, 0.52);
  font-size: 12px;
  line-height: 1.4;
}

.service-hero-side em,
.service-proofline em {
  padding-top: 3px;
  color: rgba(251, 250, 245, 0.5);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-section {
  padding: clamp(88px, 9vw, 146px) var(--pad);
  border-top: 1px solid var(--line-dark);
}

.service-section.is-dark {
  background: var(--night);
  color: var(--white);
  border-color: var(--line-light);
}

.service-section.is-blue {
  background: var(--blue-surface);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.service-section-head {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1.35fr);
  gap: clamp(34px, 6vw, 110px);
  align-items: start;
  margin-bottom: clamp(52px, 7vw, 104px);
}

.service-section-head > span,
.service-section-head > p:first-child {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.is-dark .service-section-head > span,
.is-dark .service-section-head > p:first-child,
.is-blue .service-section-head > span,
.is-blue .service-section-head > p:first-child {
  color: rgba(255, 255, 255, 0.52);
}

.service-section-head > div {
  max-width: 970px;
  min-width: 0;
}

.service-section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 5.3vw, 84px);
  font-weight: 690;
  letter-spacing: -0.058em;
  line-height: 0.96;
  text-wrap: balance;
}

.service-section-head div > p:not(.eyebrow) {
  max-width: 780px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

.is-dark .service-section-head div > p:not(.eyebrow),
.is-blue .service-section-head div > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.64);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid currentColor;
}

.service-card {
  min-height: 310px;
  padding: 28px clamp(20px, 2.5vw, 42px) 34px 0;
  border-bottom: 1px solid var(--line-dark);
}

.service-card:not(:nth-child(3n + 1)) {
  padding-left: clamp(20px, 2.5vw, 42px);
  border-left: 1px solid var(--line-dark);
}

.service-card > span,
.service-card > small {
  color: var(--blue-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3 {
  max-width: 420px;
  margin: 62px 0 17px;
  font-family: var(--display);
  font-size: clamp(27px, 2.45vw, 39px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.service-card p {
  max-width: 440px;
  margin: 0;
  color: #4c565d;
  font-size: 14px;
  line-height: 1.55;
}

.is-dark .service-grid,
.is-dark .service-card,
.is-blue .service-grid,
.is-blue .service-card {
  border-color: rgba(255, 255, 255, 0.2);
}

.is-dark .service-card > span,
.is-dark .service-card > small,
.is-blue .service-card > span,
.is-blue .service-card > small {
  color: var(--lime);
}

.is-dark .service-card p,
.is-blue .service-card p {
  color: rgba(255, 255, 255, 0.62);
}

.service-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 355px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.service-flow-step {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px clamp(22px, 2.6vw, 42px) 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

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

.service-flow-step > span,
.service-flow-step > small {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-flow-step h3,
.service-flow-step strong {
  display: block;
  margin: auto 0 16px;
  font-family: var(--display);
  font-size: clamp(25px, 2.2vw, 36px);
  font-weight: 670;
  letter-spacing: -0.04em;
  line-height: 1;
}

.service-flow-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.5;
}

.service-flow-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -13px;
  display: grid;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  place-items: center;
  background: var(--lime);
  color: var(--night);
  border-radius: 50%;
  font-size: 12px;
}

.service-flow-step:last-child .service-flow-arrow {
  display: none;
}

.service-note {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  max-width: 880px;
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid currentColor;
  color: inherit;
}

.service-note > span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-note p {
  margin: 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.67;
}

.service-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 8vw, 145px);
  align-items: start;
}

.service-split > * {
  min-width: 0;
}

.service-split > div > h2,
.service-split > div > h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.3vw, 68px);
  font-weight: 690;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.service-split > div:not(.service-note) > p {
  max-width: 650px;
  margin: 25px 0 0;
  color: #4c565d;
  font-size: 17px;
  line-height: 1.55;
}

.service-page .service-split > div:not(.service-note) > p + :is(h2, h3) {
  margin-top: clamp(38px, 4vw, 56px);
}

.service-page .service-split > div > :is(h2, h3) + .service-list {
  margin-top: clamp(20px, 2.5vw, 28px);
}

.service-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.service-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
}

.service-list li > span {
  padding-top: 4px;
  color: var(--blue-dark);
  font-family: var(--mono);
  font-size: 10px;
}

.service-list h3,
.service-list strong {
  display: block;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(21px, 1.8vw, 29px);
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.service-list p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.service-limit {
  margin: clamp(50px, 6vw, 90px) 0 0;
  padding: clamp(30px, 4vw, 58px);
  background: #e6e3da;
  border-left: 5px solid var(--blue);
}

.service-limit h3 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(28px, 2.9vw, 44px);
  font-weight: 680;
  letter-spacing: -0.04em;
}

.service-limit p {
  max-width: 1020px;
  margin: 0;
  color: #3e4a52;
  line-height: 1.65;
}

.service-related {
  background: #e6e3da;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.related-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 28px clamp(22px, 3vw, 44px) 30px 0;
  border-bottom: 1px solid var(--line-dark);
}

.related-card:not(:nth-child(3n + 1)) {
  padding-left: clamp(22px, 3vw, 44px);
  border-left: 1px solid var(--line-dark);
}

.related-card > span,
.related-card > small {
  color: var(--blue-dark);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-card h3 {
  margin: auto 0 16px;
  font-family: var(--display);
  font-size: clamp(27px, 2.35vw, 38px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1;
}

.related-card p {
  margin: 0 0 23px;
  color: #4c565d;
  font-size: 13px;
  line-height: 1.5;
}

.related-card a,
.related-card:is(a) {
  transition: color 160ms ease, background-color 160ms ease;
}

a.related-card:hover {
  background: var(--night);
  color: var(--white);
}

a.related-card:hover p {
  color: rgba(255, 255, 255, 0.62);
}

a.related-card:hover > span,
a.related-card:hover > small {
  color: var(--lime);
}

.service-page .contact {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.service-page .footer-mark {
  flex-shrink: 0;
}

@media (max-width: 1180px) {
  .service-hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.68fr);
    gap: 50px;
  }

  .service-hero h1 {
    font-size: clamp(54px, 7.4vw, 84px);
  }
}

@media (max-width: 960px) {
  .service-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 132px;
  }

  .service-hero-side {
    width: min(100%, 720px);
  }

  .service-section-head {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card:not(:nth-child(3n + 1)),
  .related-card:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .service-card:nth-child(even),
  .related-card:nth-child(even) {
    padding-left: clamp(20px, 4vw, 38px);
    border-left: 1px solid var(--line-dark);
  }

  .service-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-flow-step:nth-child(2) {
    border-right: 0;
  }

  .service-flow-step:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .service-flow-step:nth-child(2) .service-flow-arrow {
    display: none;
  }

  .service-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .service-hero {
    gap: 58px;
    padding-top: 112px;
  }

  .service-hero h1 {
    font-size: clamp(48px, 14.8vw, 66px);
  }

  .service-hero-copy > p:not(.service-kicker):not(.service-breadcrumbs):not(.service-proofline):not(.eyebrow) {
    font-size: 17px;
  }

  .service-hero-side li,
  .service-proofline {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .service-hero-side em,
  .service-proofline em {
    display: none;
  }

  .service-grid,
  .related-grid,
  .service-flow {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(even),
  .related-card,
  .related-card:nth-child(even) {
    min-height: 250px;
    padding: 25px 0 30px;
    border-left: 0;
  }

  .service-card h3 {
    margin-top: 48px;
  }

  .service-flow-step,
  .service-flow-step:nth-child(-n + 2) {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .service-flow-step .service-flow-arrow,
  .service-flow-step:nth-child(2) .service-flow-arrow {
    top: auto;
    right: 50%;
    bottom: -13px;
    display: grid;
    transform: translateX(50%) rotate(90deg);
  }

  .service-flow-step:last-child .service-flow-arrow {
    display: none;
  }

  .service-section-head h2 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .service-split > div > h2,
  .service-split > div > h3 {
    font-size: 40px;
  }

  .service-limit {
    padding: 28px 23px;
  }
}

/* Service-page components used by the individual solution stories. */

.service-dark,
.service-section-dark {
  background: var(--night);
  color: var(--white);
  border-color: var(--line-light);
}

.service-muted,
.service-section-muted {
  background: #e6e3da;
}

.service-dark .section-intro h2,
.service-section-dark .section-intro h2,
.service-dark .service-section-head h2,
.service-section-dark .service-section-head h2 {
  color: var(--white);
}

.service-dark .service-section-head div > p:not(.eyebrow),
.service-section-dark .service-section-head div > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.62);
}

p.service-proofline {
  display: block;
  max-width: 720px;
  margin: 35px 0 0;
  padding: 18px 0 0 22px;
  color: rgba(251, 250, 245, 0.62);
  border-top: 1px solid rgba(251, 250, 245, 0.2);
  border-left: 2px solid var(--lime);
  font-size: 13px;
  line-height: 1.55;
}

.service-visual {
  position: relative;
  z-index: 1;
  align-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 15, 23, 0.86);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.25);
}

.service-visual-note {
  margin: 0;
  padding: 18px 20px;
  color: rgba(251, 250, 245, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.service-hero-side > .system-topbar,
.service-visual > .system-topbar {
  padding: 0 16px;
}

.service-hero-side > .service-flow,
.service-visual > .service-flow {
  display: block;
  min-height: 0;
  padding: 12px 20px;
  border: 0;
}

.service-hero-side > .service-flow > li,
.service-visual > .service-flow > li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  min-height: 86px;
  align-content: center;
  padding: 16px 0;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.service-hero-side > .service-flow > li:last-child,
.service-visual > .service-flow > li:last-child {
  border-bottom: 0;
}

.service-hero-side > .service-flow > li span,
.service-visual > .service-flow > li span {
  grid-row: 1 / span 2;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
}

.service-hero-side > .service-flow > li strong,
.service-visual > .service-flow > li strong {
  font-family: var(--display);
  font-size: clamp(19px, 1.55vw, 25px);
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.service-hero-side > .service-flow > li small,
.service-visual > .service-flow > li small {
  margin: 0;
  color: rgba(251, 250, 245, 0.5);
  font-size: 11px;
}

.service-hero-side > .service-flow > .service-flow-step {
  display: grid;
  min-height: 78px;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 4px 14px;
  justify-content: initial;
  padding: 16px 20px;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.service-hero-side > .service-flow > .service-flow-step > span {
  grid-row: 1 / span 2;
}

.service-hero-side > .service-flow > .service-flow-step > strong {
  margin: 0;
  font-size: 20px;
}

.service-hero-side > .service-flow > .service-flow-step > small {
  margin: 0;
}

.service-hero-side > .service-flow > .service-flow-arrow {
  position: relative;
  z-index: 2;
  top: auto;
  right: auto;
  bottom: auto;
  display: grid;
  width: 22px;
  height: 22px;
  margin: -11px auto;
  transform: none;
  place-items: center;
}

.agent-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  padding: clamp(25px, 3vw, 45px) 20px;
}

.agent-board article {
  display: flex;
  min-width: 0;
  min-height: 250px;
  flex-direction: column;
  padding: 22px 18px;
  background: #0d1820;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.agent-board article.is-active {
  background: var(--blue);
  border-color: var(--blue);
}

.agent-board article > span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
}

.agent-board article strong {
  margin: auto 0 12px;
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: clamp(20px, 1.65vw, 27px);
  letter-spacing: -0.035em;
  line-height: 1;
}

.agent-board article small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.45;
}

.agent-board > i {
  display: grid;
  place-items: center;
  color: var(--lime);
  font-style: normal;
}

.service-aside {
  padding: clamp(28px, 4vw, 52px);
  background: #e6e3da;
  border-top: 3px solid var(--blue);
}

.service-aside h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 680;
  letter-spacing: -0.035em;
}

.service-aside h3:not(:first-child) {
  margin-top: 38px;
}

.service-aside ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-aside li {
  position: relative;
  padding: 10px 0 10px 19px;
  color: #48535a;
  border-bottom: 1px solid rgba(16, 23, 28, 0.13);
  font-size: 13px;
  line-height: 1.45;
}

.service-aside li::before {
  position: absolute;
  top: 18px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--blue);
  content: "";
}

.input-process-result {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr;
  align-items: stretch;
  margin-top: clamp(58px, 7vw, 96px);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.input-process-result article {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 30px clamp(20px, 2.4vw, 38px) 34px;
}

.input-process-result article > span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.input-process-result h3 {
  margin: auto 0 18px;
  font-family: var(--display);
  font-size: clamp(26px, 2.35vw, 38px);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1;
}

.input-process-result p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.5;
}

.input-process-result > i {
  display: grid;
  place-items: center;
  color: var(--lime);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  font-style: normal;
}

.service-caption {
  max-width: 900px;
  margin: 28px 0 0 auto;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.55;
}

.service-steps,
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(58px, 7vw, 100px);
  border-top: 1px solid var(--ink);
}

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

.service-steps article,
.scenario-grid article {
  min-height: 360px;
  padding: 28px clamp(24px, 3vw, 44px) 34px 0;
  border-bottom: 1px solid var(--line-dark);
}

.service-steps article:not(:first-child),
.scenario-grid article:nth-child(even) {
  padding-left: clamp(24px, 3vw, 44px);
  border-left: 1px solid var(--line-dark);
}

.service-steps article > span,
.scenario-grid article > span {
  color: var(--blue-dark);
  font-family: var(--mono);
  font-size: 10px;
}

.service-steps h2,
.scenario-grid h2 {
  margin: 105px 0 18px;
  font-family: var(--display);
  font-size: clamp(29px, 2.65vw, 43px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1;
}

.service-steps p,
.scenario-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.service-grid-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  gap: clamp(55px, 8vw, 135px);
  align-items: start;
}

.service-grid-section > * {
  min-width: 0;
}

.service-grid-section > div:first-child > h2,
.service-related > h2 {
  max-width: 900px;
  margin: 42px 0 28px;
  font-family: var(--display);
  font-size: clamp(43px, 5vw, 78px);
  font-weight: 690;
  letter-spacing: -0.058em;
  line-height: 0.97;
}

.service-grid-section > div:first-child > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.service-card-list {
  border-top: 1px solid var(--ink);
}

.service-card-list article {
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
}

.service-card-list h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.service-card-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.service-deliverables {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(55px, 7vw, 100px);
  border-top: 1px solid var(--ink);
}

.service-deliverables p {
  min-height: 220px;
  margin: 0;
  padding: 28px clamp(22px, 3vw, 42px) 30px 0;
  color: #465159;
  border-bottom: 1px solid var(--line-dark);
  line-height: 1.6;
}

.service-deliverables p:not(:first-child) {
  padding-left: clamp(22px, 3vw, 42px);
  border-left: 1px solid var(--line-dark);
}

.service-deliverables b {
  display: block;
  margin-bottom: 55px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.03em;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(55px, 7vw, 95px);
  border-top: 1px solid var(--ink);
}

.related-links a {
  display: grid;
  min-height: 230px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 15px;
  align-content: center;
  padding: 28px clamp(24px, 3vw, 42px) 28px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: background-color 150ms ease, color 150ms ease;
}

.related-links a:nth-child(even) {
  padding-left: clamp(24px, 3vw, 42px);
  border-left: 1px solid var(--line-dark);
}

.related-links a > span {
  grid-row: 1 / span 2;
  color: var(--blue-dark);
  font-family: var(--mono);
  font-size: 10px;
}

.related-links strong {
  font-family: var(--display);
  font-size: clamp(25px, 2.3vw, 37px);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1;
}

.related-links small {
  max-width: 480px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.related-links b {
  grid-row: 1 / span 2;
  grid-column: 3;
  align-self: center;
  color: var(--blue-dark);
}

.related-links a:hover {
  background: var(--night);
  color: var(--white);
}

.related-links a:hover small {
  color: rgba(255, 255, 255, 0.62);
}

.service-list li {
  position: relative;
  display: block;
  padding: 20px 0 20px 27px;
}

.service-list li::before {
  position: absolute;
  top: 29px;
  left: 1px;
  width: 7px;
  height: 7px;
  background: var(--blue);
  content: "";
}

p.service-note {
  display: block;
  max-width: 900px;
  padding-left: 20px;
  border-left: 2px solid var(--lime);
}

.service-note ol,
.service-note ul {
  grid-column: 2;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-note > p {
  grid-column: 2;
}

.service-page .contact-copy h2 {
  overflow-wrap: anywhere;
  font-size: clamp(46px, 4.8vw, 76px);
  hyphens: auto;
}

.service-note li {
  position: relative;
  padding: 8px 0 8px 18px;
  color: inherit;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.7;
}

.service-note li::before {
  position: absolute;
  top: 16px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--blue);
  content: "";
}

ul.service-limit {
  padding: clamp(30px, 4vw, 58px);
  list-style: none;
}

ul.service-limit li {
  position: relative;
  padding: 10px 0 10px 24px;
  color: #3e4a52;
  border-bottom: 1px solid rgba(16, 23, 28, 0.12);
  line-height: 1.5;
}

ul.service-limit li::before {
  position: absolute;
  top: 19px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--blue);
  content: "";
}

@media (max-width: 960px) {
  .agent-board {
    grid-template-columns: 1fr;
  }

  .agent-board article {
    min-height: 190px;
  }

  .agent-board > i {
    min-height: 34px;
    transform: rotate(90deg);
  }

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

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

  .service-steps article,
  .service-steps article:not(:first-child) {
    min-height: 220px;
    padding: 28px 0;
    border-left: 0;
  }

  .service-steps h2 {
    margin-top: 40px;
  }

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

  .input-process-result article {
    min-height: 210px;
  }

  .input-process-result h3 {
    margin: 44px 0 14px;
  }

  .input-process-result > i {
    min-height: 38px;
    transform: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
    font-size: 0;
  }

  .input-process-result > i::before {
    content: "↓";
    font-size: 14px;
  }
}

@media (max-width: 760px) {
  .service-deliverables {
    grid-template-columns: 1fr;
  }

  .service-deliverables p,
  .service-deliverables p:not(:first-child) {
    min-height: 0;
    padding: 27px 0;
    border-left: 0;
  }

  .service-deliverables b {
    margin-bottom: 24px;
  }
}

@media (max-width: 560px) {
  .scenario-grid,
  .related-links {
    grid-template-columns: 1fr;
  }

  .scenario-grid article,
  .scenario-grid article:nth-child(even),
  .related-links a,
  .related-links a:nth-child(even) {
    min-height: 0;
    padding: 27px 0;
    border-left: 0;
  }

  .scenario-grid h2 {
    margin-top: 55px;
  }

  .service-card-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-grid-section > div:first-child > h2,
  .service-related > h2 {
    font-size: 41px;
  }

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

  .service-note > span,
  .service-note > p,
  .service-note ol,
  .service-note ul {
    grid-column: 1;
  }

  .service-note ol,
  .service-note ul {
    width: 100%;
  }

  .service-section-head,
  .section-intro,
  .section-intro > div,
  .service-section-head > div {
    min-width: 0;
    max-width: 100%;
  }

  .service-section-head h2,
  .section-intro h2 {
    overflow-wrap: anywhere;
    text-wrap: wrap;
  }
}

/* Case pages keep long Russian labels inside the responsive grid. */
.service-hero-copy,
.service-hero-side {
  min-width: 0;
}

.case-page .service-kicker {
  overflow-wrap: anywhere;
}

.case-page .service-limit p {
  max-width: 780px;
}

@media (max-width: 960px) {
  .service-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .case-page .service-hero h1 {
    font-size: clamp(44px, 13vw, 58px);
  }
}

@media (min-width: 1181px) and (max-height: 900px) {
  .case-page .service-hero {
    min-height: min(720px, 100svh);
    gap: clamp(48px, 4vw, 72px);
    padding-top: 96px;
    padding-bottom: 38px;
  }

  .case-page .service-breadcrumbs {
    margin-bottom: 28px;
  }

  .case-page .service-kicker {
    margin-bottom: 14px;
  }

  .case-page .service-hero h1 {
    font-size: clamp(54px, 4.15vw, 66px);
    line-height: 0.94;
  }

  .case-page .service-hero-copy > p:not(.service-kicker):not(.service-breadcrumbs):not(.service-proofline):not(.eyebrow) {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.42;
  }

  .case-page p.service-proofline {
    margin-top: 20px;
    padding-top: 12px;
    font-size: 12px;
    line-height: 1.45;
  }

  .case-page .service-hero .hero-actions {
    margin-top: 20px;
  }

  .case-page .service-hero-side li {
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .case-page .service-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .case-page .service-section-head {
    margin-bottom: 30px;
  }

  .case-page .service-card {
    min-height: 220px;
    padding-top: 22px;
    padding-bottom: 24px;
  }

  .case-page .service-card h3 {
    margin-top: 34px;
    margin-bottom: 12px;
  }

  .case-page .service-limit {
    margin-top: 24px;
    padding: 22px 28px;
  }

  .case-page .service-limit h3 {
    margin-bottom: 10px;
    font-size: 32px;
  }

  .case-page .service-limit p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Stacked service layouts need a tighter rhythm than the wide two-column view. */
@media (max-width: 960px) {
  .service-page .service-section {
    padding-top: clamp(44px, 6vw, 56px);
    padding-bottom: clamp(44px, 6vw, 56px);
  }

  .service-page .service-section-head {
    gap: clamp(16px, 2.5vw, 24px);
    margin-bottom: clamp(32px, 4vw, 42px);
  }

  .service-page .service-section-head .eyebrow {
    margin-top: 0;
  }

  .service-page .section-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(16px, 2.5vw, 24px);
  }

  .service-page .scenario-grid article {
    min-height: 270px;
  }

  .service-page .scenario-grid h2 {
    margin-top: 48px;
  }

  .service-page .service-grid > .service-card:nth-child(odd):last-child,
  .service-page .related-grid > .related-card:nth-child(odd):last-child {
    grid-column: 1 / -1;
  }

  .service-page .service-card {
    min-height: 220px;
  }

  .service-page .service-card h3,
  .service-page .related-card h3 {
    margin-top: 34px;
  }

  .service-page .related-card {
    min-height: 210px;
  }

  .service-page .service-split {
    gap: clamp(32px, 4.5vw, 40px);
  }

  .service-page .service-split > .service-note {
    margin-top: 0;
  }

  .service-page .faq {
    margin-top: 26px;
  }

  .contact {
    gap: clamp(44px, 6vw, 56px);
    padding-top: clamp(44px, 6vw, 56px);
    padding-bottom: clamp(44px, 6vw, 56px);
  }

  .contact-copy .eyebrow {
    margin-top: 36px;
  }
}

/* Close the density gap between tablet and the compact wide-desktop rules. */
@media (min-width: 961px) and (max-width: 1180px) and (max-height: 1200px) {
  .service-page .service-hero {
    min-height: min(720px, 100svh);
    padding-top: 104px;
    padding-bottom: 54px;
  }

  .service-page .service-hero h1 {
    font-size: clamp(50px, 5.8vw, 66px);
    line-height: 0.93;
  }

  .service-page .service-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .service-page .service-section-head {
    margin-bottom: 38px;
  }

  .service-page .service-section-head h2 {
    font-size: clamp(42px, 3vw, 56px);
  }

  .service-page .service-card,
  .service-page .input-process-result article {
    min-height: 190px;
  }

  .service-page .service-steps article,
  .service-page .scenario-grid article {
    min-height: 250px;
  }

  .service-page .service-flow {
    min-height: 300px;
  }

  .service-page .service-flow-step {
    padding-top: 22px;
    padding-bottom: 24px;
  }

  .service-page .service-split {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 56px;
  }

  .service-page .related-card {
    min-height: 210px;
  }

  .service-page .service-deliverables {
    margin-top: 36px;
  }

  .service-page .service-limit {
    margin-top: 36px;
    padding: 30px 36px;
  }

  .service-page .faq {
    margin-top: 26px;
  }

  .contact {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .contact-copy .eyebrow {
    margin-top: 42px;
  }
}

@media (min-width: 961px) and (max-height: 1200px) {
  .service-page .service-card h3 {
    margin-top: 36px;
  }

  .service-page .service-steps h2,
  .service-page .scenario-grid h2 {
    margin-top: 42px;
  }
}

/* The agent diagram switches route before its three cards become unreadable. */
@media (min-width: 961px) and (max-width: 1490px) {
  .service-visual-agent .agent-board {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 16px;
  }

  .service-visual-agent .agent-board article {
    min-width: 0;
    min-height: 120px;
    padding: 16px;
  }

  .service-visual-agent .agent-board article strong {
    margin: 28px 0 8px;
    overflow-wrap: anywhere;
    font-size: 18px;
  }

  .service-visual-agent .agent-board > i {
    min-height: 24px;
    transform: rotate(90deg);
  }
}

/* Visual QA fixes shared by every service and case page. */
.service-page .service-list li {
  padding-left: 27px;
}

.service-page .service-list li:has(> span) {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 20px;
  padding-left: 0;
}

.service-page .service-list li:has(> span)::before {
  content: none;
}

@media (min-width: 961px) {
  .service-page .related-grid:has(> .related-card:nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-page .related-grid:has(> .related-card:nth-child(4):last-child) .related-card {
    padding-left: 0;
    border-left: 0;
  }

  .service-page .related-grid:has(> .related-card:nth-child(4):last-child) .related-card:nth-child(even) {
    padding-left: clamp(22px, 3vw, 44px);
    border-left: 1px solid var(--line-dark);
  }
}

.service-page .service-split > .service-note {
  align-self: start;
  margin-top: 0;
}

.service-page .service-caption {
  color: #4c565d;
}

.service-page .service-note > span {
  color: var(--blue-dark);
}

.service-page .service-note > p {
  color: #4c565d;
  opacity: 1;
}

.service-page p.service-note {
  border-left-color: var(--blue);
}

.service-page :is(
  .service-dark,
  .service-section-dark,
  .service-section.is-dark,
  .service-section.is-blue
) .service-caption {
  color: rgba(255, 255, 255, 0.62);
}

.service-page :is(
  .service-dark,
  .service-section-dark,
  .service-section.is-dark,
  .service-section.is-blue
) .service-note > span {
  color: var(--lime);
}

.service-page :is(
  .service-dark,
  .service-section-dark,
  .service-section.is-dark,
  .service-section.is-blue
) .service-note > p {
  color: inherit;
  opacity: 0.72;
}

.service-page :is(
  .service-dark,
  .service-section-dark,
  .service-section.is-dark,
  .service-section.is-blue
) p.service-note {
  border-left-color: var(--lime);
}

/* Lime stays visible on the site's dark interactive surfaces. */
.site-header:not(.is-light) > .wordmark:focus-visible,
.site-header:not(.is-light) > .menu-toggle:focus-visible,
.site-header:not(.is-light) .site-menu > a:focus-visible,
.site-header:not(.is-light) .menu-group-toggle:focus-visible,
.site-header.menu-active :focus-visible,
.hero :focus-visible,
.service-hero :focus-visible,
.demo :focus-visible,
.contact :focus-visible,
.footer :focus-visible,
.architecture-column.control :focus-visible,
.service-page :is(
  .service-dark,
  .service-section-dark,
  .service-section.is-dark,
  .service-section.is-blue
) :focus-visible {
  outline-color: var(--lime);
}

/* Keep narrow tablet cards readable before the one-column service layout. */
@media (min-width: 561px) and (max-width: 760px) {
  .related-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-links a,
  .related-links a:nth-child(even) {
    min-height: 0;
    padding: 27px 0;
    border-left: 0;
  }
}

/* Long Russian words must remain whole in case-page section headings. */
@media (max-width: 560px) {
  .case-page .service-section-head h2 {
    overflow-wrap: normal;
    font-size: clamp(35px, 11vw, 52px);
    hyphens: auto;
    word-break: normal;
  }
}

/* Preserve whole Russian words across phone widths. */
@media (max-width: 560px) {
  .service-page .service-hero h1 {
    overflow-wrap: normal;
    font-size: clamp(36px, 11vw, 52px);
    hyphens: auto;
    word-break: normal;
  }
}

/* Keep the smallest viewport comfortably readable. */
@media (max-width: 360px) {
  .service-page .service-hero h1 {
    font-size: clamp(34px, 10.5vw, 38px);
  }

  .service-page .service-grid-section > div:first-child > h2,
  .service-page .service-related > h2 {
    font-size: 35px;
  }
}

/* Accessibility and no-JavaScript fallbacks ---------------------------- */

main :where(p, li, dd) > a:not(.button) {
  text-decoration-line: underline;
  text-decoration-thickness: max(1px, 0.08em);
  text-underline-offset: 0.18em;
}

main :where(p, li, dd) > a:not(.button):hover {
  text-decoration-thickness: max(2px, 0.12em);
}

.contact-form :is(input, textarea):focus-visible {
  border-color: var(--lime);
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.contact-form [data-prototype-disabled]:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.agent-board article.is-active small,
.agent-board article.is-active > span,
.service-section.is-blue .service-section-head > span,
.service-section.is-blue .service-section-head > p:first-child,
.service-section.is-blue .service-section-head div > p:not(.eyebrow),
.service-section.is-blue .service-card p {
  color: var(--white);
}

.service-section.is-blue .service-note p {
  opacity: 1;
}

.related-links a:hover > span,
.related-links a:hover > b {
  color: var(--lime);
}

/* Keep secondary text legible without flattening the dark/light hierarchy. */
.hero-facts dt,
.system-topbar,
.system-footer,
.demo-shellbar,
.document-head,
.result-head,
.document-note,
.confidence span,
.result-fields dt,
.result-action > span,
.context-title > span,
.next-step > span,
.ticket-screen > span,
.route-screen > span,
.ops-map > span,
.ops-log > span,
.context-timeline b,
.route-screen li,
.ops-flow > i,
.ops-log .log-state,
.demo-disclaimer {
  color: #89969e;
}

.flow-label,
.flow-node span,
.flow-node small,
.flow-log span,
.ops-flow small,
.architecture-column.control > span,
.architecture-column.control small {
  color: #93a2ab;
}

.flow-node.is-active > span,
.approach-heading .section-index.light {
  color: var(--white);
}

.paper-preview dt,
.architecture-column:not(.core):not(.control) > span {
  color: var(--muted);
}

.footer p,
.footer > a:last-child {
  color: #84929a;
}

.service-page .service-section:not(.service-dark):not(.service-section-dark):not(.is-dark):not(.is-blue) .eyebrow {
  color: var(--blue-dark);
}

.service-page :is(
  .service-dark,
  .service-section-dark,
  .service-section.is-dark
) {
  --muted: #aeb8bf;
}

.service-page :is(
  .service-dark,
  .service-section-dark,
  .service-section.is-dark
) :is(.service-steps article > span, .scenario-grid article > span) {
  color: var(--lime);
}

.service-page :is(
  .service-dark,
  .service-section-dark,
  .service-section.is-dark
) .service-limit,
.service-page :is(
  .service-dark,
  .service-section-dark,
  .service-section.is-dark
) .service-limit strong {
  color: var(--ink);
}

.article-release-image[hidden] {
  display: none;
}

.article-release-image {
  margin: 0;
  padding: 0 var(--pad) clamp(72px, 8vw, 128px);
  background: var(--paper);
}

.article-release-image img {
  display: block;
  width: min(100%, 1600px);
  height: auto;
  max-height: 760px;
  margin: 0 auto;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* Progressive enhancement also covers a script that fails to load. */
html:not(.nav-ready) :is(.site-menu, .menu-toggle) { display: none; }
.fallback-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
  padding: 98px var(--pad) 24px;
  background: var(--night-2);
  color: var(--white);
  border-bottom: 1px solid var(--line-light);
}
.fallback-nav strong { flex-basis: 100%; color: var(--lime); }
.fallback-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.nav-ready .fallback-nav { display: none; }

/* V8 refinement: keep the same process diagrams readable at every width. */
@media (min-width: 561px) {
  .hero .node-source {
    width: 25%;
  }

  .hero .node-ai {
    width: 29%;
  }

  .hero .node-review,
  .hero .node-target {
    right: 4%;
    left: auto;
    width: 28%;
  }

  .hero .flow-log {
    left: 4%;
    width: 60%;
  }

  .hero .flow-node small {
    font-size: 11px;
  }
}

.hero .flow-log p {
  font-size: 11px;
  line-height: 1.5;
}

.hero .system-footer {
  gap: 10px;
  font-size: 9px;
}

@media (min-width: 561px) and (max-width: 1180px) {
  .home-page .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .home-page .position-copy {
    gap: 36px;
    margin-top: 36px;
  }

  .home-page :is(.position-copy, .section-intro, .demo-heading, .approach-heading, .contact-copy) h2 {
    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.04;
  }

  .home-page :is(.service-rows, .demo-tabs, .architecture-map, .approach-steps, .seo-copy, .faq) {
    margin-top: 36px;
  }

  .home-page :is(.demo-document, .context-screen, .ticket-screen, .ops-map, .demo-result, .next-step, .route-screen, .ops-log) {
    min-height: 0;
    padding: 32px;
  }

  .home-page .demo-panel {
    min-height: 0;
  }

  .home-page :is(.context-timeline, .next-step .demo-detail-link, .route-screen .demo-detail-link, .ticket-tags) {
    margin-top: 28px;
  }

  .home-page .ops-flow {
    margin-top: 28px;
    margin-bottom: 28px;
  }
}

@media (min-width: 561px) and (max-width: 982px) {
  .hero {
    gap: 40px;
    padding-top: 120px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(52px, 7.3vw, 72px);
    line-height: 1.02;
  }
}

@media (max-width: 820px) {
  .site-menu > .header-cta {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--blue);
    color: #fff;
    border: 1px solid var(--blue);
    font-family: var(--body);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
  }

  .site-menu > .header-cta:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
  }

  .home-page .architecture-column {
    min-height: 0;
    padding: 20px;
  }

  .home-page .architecture-column > span {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .home-page .architecture-column > b,
  .home-page .architecture-column > strong {
    padding: 8px 0;
  }

  .home-page .architecture-column.control > div {
    min-height: 90px;
  }

  .home-page .architecture-arrow {
    min-height: 28px;
  }
}

@media (max-width: 560px) {
  .home-page .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .home-page :is(.position-copy, .section-intro, .demo-heading, .approach-heading, .contact-copy) h2 {
    font-size: clamp(32px, 9.5vw, 46px);
    line-height: 1.06;
    letter-spacing: -0.05em;
    text-wrap: balance;
  }

  .home-page :is(.position-copy, .service-rows, .demo-tabs, .architecture-map, .approach-steps, .seo-copy, .faq) {
    margin-top: 32px;
  }

  .home-page .position-copy,
  .home-page .contact {
    gap: 32px;
  }

  .home-page .contact-copy .eyebrow {
    margin-top: 28px;
  }

  .home-page .architecture-column.core > small,
  .home-page .architecture-column.control small {
    font-size: 12px;
  }
}

/* Section headings no longer reserve space for decorative index labels. */
:is(.section-intro, .demo-heading, .service-section-head) > div:only-child {
  grid-column: 1 / -1;
}

.approach-heading {
  display: block;
}

.approach-heading .eyebrow {
  margin-bottom: 16px;
}

.home-page .position-copy,
.contact-copy > .eyebrow:first-child,
.service-page .service-section > :first-child,
.service-grid-section > div:first-child > h2:first-child {
  margin-top: 0;
}

/* V8 redesign: editorial hierarchy, calm surfaces and readable working examples. */
.home-page {
  --night: #071017;
  --night-2: #0d1820;
  --paper: #f2f0e9;
  --white: #fbfaf5;
  --blue: #2764ff;
  --blue-dark: #1748cf;
  --blue-surface: #2d4458;
  --lime: #b9f45a;
  --ink: #10171c;
  --muted: #566169;
  --pad: clamp(22px, 5vw, 84px);
  background: var(--paper);
}
.home-page .section {
  padding: clamp(80px, 8vw, 128px) max(var(--pad), calc((100vw - 1320px) / 2));
}
.home-page .eyebrow {
  margin: 0 0 24px;
  color: var(--lime);
  font: 500 15px/1.4 var(--body);
  letter-spacing: 0;
  text-transform: none;
}
.home-page .eyebrow.dark { color: var(--muted); }
.home-page::selection, .home-page ::selection { background: var(--blue); color: #fff; }
.home-page h2 {
  font: 600 clamp(40px, 4.2vw, 66px)/1.07 var(--display);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.home-page .site-header { padding-inline: max(var(--pad), calc((100vw - 1320px) / 2)); }
.home-page .wordmark strong { font-size: 25px; letter-spacing: -.06em; }
.home-page .wordmark span { font-size: 10px; font-weight: 500; line-height: 1.2; }
.home-page .header-cta,
.home-page .site-header .header-cta {
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  border: 0;
}
.home-page .button-primary {
  min-height: 56px;
  padding: 16px 24px;
  background: var(--blue);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: none;
  transition: background-color .2s, transform .2s;
}
.home-page .button-primary:hover,
.home-page .site-header .header-cta:hover { background: var(--blue-dark); color: #fff; }
.home-page .button-primary:active { transform: translateY(1px); }
.home-page .hero {
  min-height: 0;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 64px 56px;
  padding: 150px max(var(--pad), calc((100vw - 1320px) / 2)) 48px;
  background: var(--night);
  overflow: visible;
}
.home-page .hero::before { content: none; }
.home-page .hero-copy { min-width: 0; }
.home-page .hero h1 {
  max-width: 750px;
  font-size: clamp(54px, 5.1vw, 78px);
  font-weight: 600;
  letter-spacing: -.052em;
  line-height: 1.055;
  text-wrap: pretty;
}
.home-page .hero h1 em { color: var(--white); font-style: normal; }
.home-page .hero-lead {
  max-width: 540px;
  margin: 28px 0 0;
  color: #bdc7cb;
  font-size: 18px;
  line-height: 1.65;
}
.home-page .hero-actions { gap: 26px; margin-top: 32px; }
.home-page .hero .text-link { min-height: 44px; font-size: 14px; font-weight: 500; }
.home-page .hero-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid #3b464b;
}
.home-page .hero-facts dt { color: #f2f1eb; font: 500 14px/1.4 var(--body); text-transform: none; letter-spacing: 0; }
.home-page .hero-facts dd { margin-top: 8px; color: #a8b6bd; font-size: 14px; line-height: 1.5; }
.home-page .work-preview { min-width: 0; margin: 0; padding: 0; }
.home-page .work-preview figcaption { margin-bottom: 18px; color: #dce4e7; font-size: 15px; }
.home-page .work-preview-canvas {
  position: relative;
  padding: 30px 44px 148px 28px;
  background: var(--night-2);
  border: 1px solid #3b484f;
  border-radius: 16px;
}
.home-page .work-document {
  max-width: 372px;
  padding: 24px 26px;
  background: var(--paper);
  color: #253139;
  border-radius: 5px;
  box-shadow: 10px -10px 0 #bbbdb8, 0 18px 32px #07101755;
}
.home-page .work-document-source { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #cdd1cc; font-size: 12px; }
.home-page .work-document-icon { width: 32px; height: 40px; margin: 24px 0 12px; color: var(--blue-dark); }
.home-page .work-document h3 { margin: 0; font-size: 27px; font-weight: 600; letter-spacing: -.025em; }
.home-page .work-document > p { margin: 10px 0 22px; color: #647077; font-size: 14px; line-height: 1.5; }
.home-page .work-document dl { margin: 0; }
.home-page .work-document dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #d5d8d2; font-size: 13px; }
.home-page .work-document dt { color: #647077; }
.home-page .work-document dd { margin: 0; }
.home-page .work-document dd span { margin-left: 10px; color: #476b60; }
.home-page .work-document .work-document-question dd { color: #85591d; }
.home-page .work-review {
  position: absolute;
  right: 20px;
  bottom: 24px;
  left: 54px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 14px 26px #101b2440;
}
.home-page .work-review-mark { flex: 0 0 34px; font-size: 36px; font-weight: 300; }
.home-page .work-review p { margin: 0 0 4px; font-size: 12px; }
.home-page .work-review h3 { margin: 0 0 7px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.home-page .work-review div > span { display: block; font-size: 12px; line-height: 1.5; }
.home-page .work-preview-note { margin: 14px 0 0; color: #a6b6be; font-size: 12px; }
.home-page .position { padding-bottom: 0; border: 0; }
.home-page .position-copy { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 100px; margin: 0; align-items: start; }
.home-page .position-copy h2 { max-width: 570px; font-size: clamp(38px, 3.8vw, 58px); line-height: 1.1; letter-spacing: -.045em; }
.home-page .position-copy > div { max-width: none; padding: 0; border: 0; }
.home-page .position-copy p { margin: 0; padding: 24px 0; border-bottom: 1px solid #c9ceca; color: #5a666c; font-size: 16px; line-height: 1.65; }
.home-page .position-copy p:first-child { padding-top: 0; }
.home-page .position-copy p:last-child { border-bottom: 0; }
.home-page .position-copy strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.home-page .services .section-intro,
.home-page .demo-heading { display: block; }
.home-page .services .section-intro h2 { max-width: 850px; font-size: clamp(42px, 4.3vw, 66px); line-height: 1.07; letter-spacing: -.045em; }
.home-page .service-rows { display: block; margin: 56px 0 0; border: 0; }
.home-page .service-rows article { grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr); grid-template-rows: auto; gap: 18px clamp(48px, 7vw, 112px); align-items: start; min-height: 0; padding: 36px 0; border-top: 1px solid #aeb9b9; border-bottom: 0; background: transparent; }
.home-page .service-rows article h3 { grid-column: 1; grid-row: 1 / span 3; margin: 0; max-width: 440px; font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.home-page .service-rows article p { grid-column: 2; grid-row: auto; max-width: 720px; margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.home-page .service-rows article > .service-title-link { grid-column: 2; grid-row: auto; display: inline-flex; align-items: center; justify-self: start; gap: 10px; min-height: 44px; max-width: 100%; color: var(--blue-dark); font-size: 16px; font-weight: 600; line-height: 1.4; text-decoration: underline; text-underline-offset: 5px; }
.home-page .service-rows article > .service-title-link span { flex: 0 0 auto; }
.home-page .service-rows .service-arrow-link { grid-column: 2; grid-row: 1; align-self: start; width: 44px; height: 44px; min-height: 44px; border: 1px solid #acb9bd; border-radius: 50%; font-size: 23px; transition: background .2s, color .2s; }
.home-page .service-rows article:hover,
.home-page .service-rows article:focus-within { color: var(--blue-dark); background: transparent; }
.home-page .service-rows article:hover .service-arrow-link,
.home-page .service-rows article:focus-within .service-arrow-link { background: var(--ink); color: var(--white); }
.home-page .demo { background: var(--night-2); }
.home-page .demo-heading h2 { max-width: 860px; font-size: clamp(42px, 4.3vw, 66px); line-height: 1.07; letter-spacing: -.045em; }
.home-page .demo-disclaimer { max-width: 750px; margin: 24px 0 0; color: #b6c3c9; font-size: 15px; line-height: 1.6; }
.home-page .demo-tabs { display: flex; gap: 8px; margin: 40px 0 20px; border: 0; }
.home-page .demo-tabs button { min-height: 48px; padding: 12px 24px; background: transparent; color: #c2cdd1; border: 1px solid #61717b; border-radius: 5px; font-size: 15px; }
.home-page .demo-tabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.home-page .demo-tabs button:hover { background: #34464f; color: var(--white); }
.home-page .demo-tabs button[aria-selected="true"]:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.home-page .demo-shell { border: 1px solid #58666d; border-radius: 10px; background: #182329; box-shadow: none; }
.home-page .demo-shellbar { background: #26363e; color: #becbd1; font-family: var(--body); font-size: 12px; letter-spacing: 0; }
.home-page .demo-shellbar > div { display: none; }
.home-page .demo-panel { height: auto; min-height: 440px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.home-page :is(.demo-document,.demo-result,.context-screen,.next-step,.ticket-screen,.route-screen,.ops-map,.ops-log) { min-width: 0; min-height: 0; height: auto; padding: 36px; }
.home-page .demo-result { background: #142026; }
.home-page .demo :is(.document-head,.result-head,.context-title > span,.next-step > span,.ticket-screen > span,.route-screen > span,.ops-map > span,.ops-log > span) { font: 500 12px/1.5 var(--body); letter-spacing: 0; color: #b5c5cc; }
.home-page .demo .paper-preview { height: auto; min-height: 285px; margin: 24px 0; padding: 28px; transform: rotate(-2deg); box-shadow: 8px 8px 0 #3d4c52; }
.home-page .confidence { margin: 30px 0; }
.home-page .confidence strong { font-size: 48px; }
.home-page .result-fields dt { font-family: var(--body); font-size: 13px; text-transform: none; }
.home-page .result-fields dd { font-size: 16px; }
.home-page .result-action { margin-top: 26px; }
.home-page .demo-detail-link { min-height: 44px; padding: 12px 18px; border-radius: 4px; background: var(--blue); color: #fff; font: 600 14px/1.4 var(--body); }
.home-page .demo-detail-link:hover { background: var(--blue-dark); color: #fff; }
.home-page .demo :is(.next-step h3,.ticket-screen h3) { font-size: clamp(27px, 2.8vw, 40px); line-height: 1.15; }
.home-page .demo :is(.context-title p,.ticket-screen > p,.next-step p,.ops-map > p) { font-size: 16px; line-height: 1.6; }
.home-page .control-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 64px 100px; }
.home-page .control-intro h2 { margin: 0; text-wrap: initial; }
.home-page .control-intro > p:last-child { max-width: 450px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.home-page .control-workflow { min-width: 0; }
.home-page .control-automation { padding: 30px 32px 48px; background: #dfe5e3; border-radius: 10px; }
.home-page .control-caption { margin: 0 0 20px; color: #4f676f; font-size: 14px; }
.home-page .control-workflow h3 { max-width: 420px; margin: 0 0 16px; font-size: 28px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.home-page .control-workflow h3 + p { margin: 0; color: #56656c; font-size: 16px; line-height: 1.6; }
.home-page .control-sources { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; padding-top: 16px; border-top: 1px solid #aebdba; font-size: 13px; }
.home-page .control-review { position: relative; margin: -20px 0 0 36px; padding: 30px 32px; background: #344a55; color: var(--white); border-radius: 8px; }
.home-page .control-review :is(.control-caption,h3 + p) { color: #c3d1d7; }
.home-page .control-principles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; padding-top: 32px; border-top: 1px solid #bdc7c6; }
.home-page .control-principles h3 { margin: 0 0 12px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.home-page .control-principles p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.home-page .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 100px; background: var(--night); }
.home-page .contact-copy h2 { max-width: 600px; font-size: clamp(42px, 4.3vw, 66px); line-height: 1.07; letter-spacing: -.045em; }
.home-page .contact-copy > p:last-child { max-width: 450px; margin-top: 28px; color: #b7c5cb; font-size: 18px; line-height: 1.65; }
.home-page .contact-form { padding: 32px; background: var(--paper); color: var(--ink); border-radius: 12px; }
.home-page .prototype-note { margin: 0 0 18px; padding: 0 0 16px; border: 0; border-bottom: 1px solid #bdc9c8; color: #485c63; font-size: 13px; }
.home-page .prototype-note i { flex: 0 0 6px; background: #5c7b84; }
.home-page .contact-form .form-provider-note { margin-bottom: 24px; color: #52666d; font-size: 13px; }
.home-page .contact-form label { margin-bottom: 22px; }
.home-page .contact-form label > span { color: #344d57; font: 500 14px/1.5 var(--body); letter-spacing: 0; text-transform: none; }
.home-page .contact-form :where(input:not([type="checkbox"]):not([type="hidden"]),textarea) { padding: 12px; background: #f7f8f4; color: var(--ink); border: 1px solid #a7b8ba; border-radius: 5px; font-size: 18px; line-height: 1.4; letter-spacing: 0; }
.home-page .contact-form textarea { min-height: 125px; }
.home-page .contact-form :is(input,textarea):focus-visible { outline: 2px solid #456c7c; outline-offset: 3px; }
.home-page .contact-form :is(.form-data-warning,.form-privacy-note,.consent-field > span) { color: #53656c; font-size: 12px; line-height: 1.6; }
.home-page .contact-form .consent-field { grid-template-columns: 20px minmax(0,1fr); gap: 0 12px; }
.home-page .contact-form .consent-field input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.home-page .contact-form :is(.consent-field a,.form-privacy-note a) { color: var(--blue-dark); }
.home-page .contact-form .form-footer { display: block; margin-top: 24px; }
.home-page .contact-form .button-primary { width: 100%; justify-content: space-between; background: var(--blue); color: #fff; }
.home-page .contact-form .button-primary:hover { background: var(--blue-dark); }
.home-page .contact-form .form-status { margin: 14px 0 0; color: #405c69; font-size: 14px; }
.home-page .contact-form .is-invalid { border-color: #a84432; }
.home-page .contact-form label > small { color: #973c2d; }
.home-page .footer { padding-inline: max(var(--pad), calc((100vw - 1320px) / 2)); background: var(--night); border-color: #3b484f; }
.home-page .footer p,.home-page .footer > a:last-child { color: #aebdc4; font-size: 13px; }
@media (min-width: 681px) and (max-width: 1080px) {
  .home-page .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 36px; padding-top: 126px; }
  .home-page .hero-copy { display: contents; }
  .home-page .hero-copy > .eyebrow { grid-column: 1 / -1; margin: 0; }
  .home-page .hero h1 { grid-column: 1 / -1; max-width: 920px; font-size: clamp(48px, 6.6vw, 68px); }
  .home-page .hero-lead { grid-column: 1; align-self: end; margin: 0; font-size: 17px; }
  .home-page .hero-actions { grid-column: 1; flex-direction: column; align-items: start; align-self: start; margin: 0; gap: 18px; }
  .home-page .work-preview { grid-column: 2; grid-row: 3 / 5; }
  .home-page .work-preview figcaption { font-size: 13px; }
  .home-page .work-preview-canvas { padding: 22px 28px 140px 20px; }
  .home-page .work-document { padding: 18px; }
  .home-page .work-document-icon { width: 26px; height: 30px; margin: 16px 0 10px; }
  .home-page .work-document h3 { font-size: 23px; }
  .home-page .work-document > p { margin-bottom: 14px; }
  .home-page .work-document-source { font-size: 11px; padding-bottom: 12px; }
  .home-page .work-document dl > div { font-size: 12px; }
  .home-page .work-review { left: 30px; right: 12px; bottom: 20px; gap: 8px; padding: 16px; }
  .home-page .work-review-mark { flex-basis: 20px; font-size: 26px; }
  .home-page .work-review h3 { font-size: 16px; }
  .home-page .work-preview-note { font-size: 11px; }
}
@media (max-width: 1080px) {
  .home-page .position-copy,.home-page .control-section,.home-page .contact { gap: 48px; }
  .home-page .service-rows article { min-height: 0; }
  .home-page .control-section { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
  .home-page .control-workflow > div { padding: 26px; }
  .home-page .control-review { margin-left: 20px; }
  .home-page .control-workflow h3 { font-size: 25px; }
  .home-page .control-principles { gap: 28px; }
  .home-page :is(.demo-document,.demo-result,.context-screen,.next-step,.ticket-screen,.route-screen,.ops-map,.ops-log) { padding: 28px; }
  .home-page .contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .home-page .contact-form { padding: 26px; }
}
@media (max-width: 820px) {
  .home-page .service-rows article { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 18px; }
  .home-page .service-rows article h3,
  .home-page .service-rows article p,
  .home-page .service-rows article > .service-title-link { grid-column: 1; grid-row: auto; }
  .home-page .service-rows article h3 { max-width: 560px; }
}
@media (max-width: 680px) {
  .home-page { --pad: 22px; }
  .home-page .section { padding: 72px var(--pad); }
  .home-page .eyebrow { margin-bottom: 18px; font-size: 14px; }
  .home-page .hero { display: block; padding: 112px var(--pad) 36px; }
  .home-page .hero h1 { font-size: clamp(32px, 10vw, 62px); letter-spacing: -.048em; line-height: 1.08; }
  .home-page .hero-lead { margin-top: 24px; font-size: 16px; }
  .home-page .hero-actions { align-items: start; margin-top: 28px; gap: 14px; }
  .home-page .hero .button-primary { width: auto; }
  .home-page .work-preview { margin-top: 48px; }
  .home-page .work-preview-canvas { padding: 26px 30px 156px 24px; }
  .home-page .work-document { padding: 22px; }
  .home-page .work-review { left: 34px; right: 14px; gap: 8px; padding: 18px; }
  .home-page .work-review-mark { flex-basis: 28px; }
  .home-page .work-review h3 { font-size: 17px; }
  .home-page .hero-facts { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; padding-top: 26px; }
  .home-page .hero-facts dd { margin-top: 4px; }
  .home-page :is(.position-copy,.control-section,.contact) { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .home-page :is(.position-copy,.section-intro,.demo-heading,.control-intro,.contact-copy) h2 { max-width: 600px; font-size: clamp(35px, 9.4vw, 48px); line-height: 1.1; letter-spacing: -.04em; }
  .home-page .position { padding-bottom: 0; }
  .home-page .position-copy p { padding: 24px 0; }
  .home-page .services .service-rows { display: block; margin-top: 36px; }
  .home-page .service-rows article { min-height: 0; padding: 26px 0; gap: 18px; }
  .home-page .service-rows article h3 { font-size: 27px; }
  .home-page .service-rows article p { font-size: 16px; }
  .home-page .demo-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 30px; }
  .home-page .demo-tabs button { padding: 12px; }
  .home-page .demo-panel { grid-template-columns: minmax(0,1fr); }
  .home-page :is(.demo-document,.demo-result,.context-screen,.next-step,.ticket-screen,.route-screen,.ops-map,.ops-log) { padding: 24px; }
  .home-page .demo .paper-preview { min-height: 255px; padding: 22px; }
  .home-page .confidence { margin: 26px 0; }
  .home-page .control-intro > p:last-child,.home-page .contact-copy > p:last-child { font-size: 16px; }
  .home-page .control-principles { grid-template-columns: 1fr; gap: 28px; }
  .home-page .control-review { margin-left: 16px; }
  .home-page .control-workflow h3 { font-size: 27px; }
  .home-page .contact-form { padding: 24px 20px; }
  .home-page .footer { gap: 24px; padding: 28px var(--pad); }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { animation: none; transition: none; }
}

/* Homepage project stages and pre-project questions. Append after existing V8 CSS. */
.home-page .project-path,
.home-page .project-questions {
  padding-block: clamp(76px, 8.5vw, 132px);
  padding-inline: max(var(--pad), calc((100vw - 1320px) / 2));
}

.home-page .project-section-label {
  margin: 0 0 27px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.home-page .project-path {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: start;
  gap: clamp(60px, 7.5vw, 116px);
  background: var(--night);
  color: var(--white);
}

.home-page .project-path-heading {
  min-width: 0;
}

.home-page .project-path .project-section-label {
  color: var(--lime);
}

.home-page .project-path-heading h2 {
  max-width: 10.5em;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 4.5vw, 70px);
  font-weight: 520;
  line-height: 1.06;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.home-page .project-path-caption {
  max-width: 24em;
  margin: 30px 0 0;
  color: #b9c2c5;
  font-size: 18px;
  line-height: 1.55;
}

.home-page .project-stages {
  min-width: 0;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.home-page .project-stage {
  margin: 0;
  padding: 30px 0 32px;
  border-top: 1px solid #475155;
}

.home-page .project-stage:first-child {
  padding-top: 25px;
}

.home-page .project-stage:last-child {
  padding-bottom: 0;
}

.home-page .project-stage-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 15px;
}

.home-page .project-stage-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 2.35vw, 36px);
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.home-page .project-stage-heading .project-stage-result {
  flex: 0 1 12em;
  margin: 0;
  color: var(--lime);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 450;
  line-height: 1.4;
  text-align: right;
}

.home-page .project-stage > p {
  max-width: 35em;
  margin: 0;
  color: #c6cdcf;
  font-size: 17px;
  line-height: 1.6;
}

.home-page .project-questions {
  background: var(--paper);
  color: var(--ink);
}

.home-page .project-questions-heading {
  max-width: 900px;
}

.home-page .project-questions .project-section-label {
  color: #536067;
}

.home-page .project-questions-heading h2 {
  max-width: 16em;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 4.7vw, 72px);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.home-page .project-questions-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: start;
  gap: clamp(60px, 7.5vw, 116px);
  margin-top: clamp(50px, 5vw, 76px);
}

.home-page .project-context,
.home-page .project-faq {
  min-width: 0;
}

.home-page .project-context-part + .project-context-part {
  margin-top: 38px;
}

.home-page .project-context h3 {
  max-width: 20em;
  margin: 0 0 17px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 590;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.home-page .project-context p {
  max-width: 35em;
  margin: 0 0 1em;
  color: #4b555a;
  font-size: 17px;
  line-height: 1.65;
}

.home-page .project-context-part p:last-child {
  margin-bottom: 0;
}

.home-page .project-context a {
  color: #253a44;
  text-decoration: underline;
  text-decoration-color: #7c8d94;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.home-page .project-context a:hover {
  text-decoration-thickness: 2px;
}

.home-page .project-faq {
  border-top: 1px solid #727d82;
}

.home-page .project-faq details {
  border-bottom: 1px solid #c6c9c6;
}

.home-page .project-faq summary {
  position: relative;
  display: block;
  min-height: 94px;
  padding: 27px 48px 28px 0;
  color: #151d21;
  font-family: var(--display);
  font-size: clamp(23px, 1.9vw, 29px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.025em;
  list-style: none;
  cursor: pointer;
}

.home-page .project-faq summary::-webkit-details-marker {
  display: none;
}

.home-page .project-faq summary::after {
  position: absolute;
  top: 28px;
  right: 2px;
  color: #596c76;
  font-family: var(--body);
  font-size: 28px;
  font-weight: 350;
  line-height: 1;
  content: "+";
}

.home-page .project-faq details[open] summary::after {
  content: "−";
}

.home-page .project-faq summary:hover {
  color: #45616f;
}

.home-page .project-faq summary:focus-visible,
.home-page .project-context a:focus-visible {
  outline: 2px solid #526f7e;
  outline-offset: 5px;
}

.home-page .project-faq-answer {
  padding: 0 40px 30px 0;
}

.home-page .project-faq-answer p {
  max-width: 36em;
  margin: 0;
  color: #4b555a;
  font-size: 17px;
  line-height: 1.65;
}

@media (min-width: 1600px) {
  .home-page .project-path,
  .home-page .project-questions {
    padding-inline: max(var(--pad), calc((100vw - 1320px) / 2));
  }
}

@media (max-width: 1100px) {
  .home-page .project-path,
  .home-page .project-questions-layout {
    gap: 50px;
  }

  .home-page .project-stage-heading {
    display: block;
  }

  .home-page .project-stage-heading .project-stage-result {
    margin-top: 10px;
    text-align: left;
  }
}

@media (max-width: 860px) {
  .home-page .project-path,
  .home-page .project-questions-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }

  .home-page .project-path-heading {
    max-width: 620px;
  }

  .home-page .project-path-heading h2 {
    max-width: 12em;
    font-size: clamp(40px, 6.5vw, 58px);
  }

  .home-page .project-path-caption {
    margin-top: 23px;
  }

  .home-page .project-stage-heading {
    display: flex;
  }

  .home-page .project-stage-heading .project-stage-result {
    margin-top: 0;
    text-align: right;
  }

  .home-page .project-stage > p,
  .home-page .project-context p {
    max-width: 40em;
  }

  .home-page .project-questions-heading h2 {
    max-width: 14em;
    font-size: clamp(40px, 6.5vw, 58px);
  }

  .home-page .project-context-part + .project-context-part {
    margin-top: 32px;
  }
}

@media (max-width: 560px) {
  .home-page .project-path,
  .home-page .project-questions {
    padding-block: 64px;
  }

  .home-page .project-section-label {
    margin-bottom: 20px;
    font-size: 15px;
  }

  .home-page .project-path-heading h2,
  .home-page .project-questions-heading h2 {
    font-size: clamp(36px, 9.1vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  .home-page .project-path-caption {
    font-size: 17px;
  }

  .home-page .project-stage {
    padding-block: 26px;
  }

  .home-page .project-stage-heading {
    display: block;
    margin-bottom: 14px;
  }

  .home-page .project-stage-heading h3 {
    font-size: 29px;
  }

  .home-page .project-stage-heading .project-stage-result {
    margin-top: 8px;
    text-align: left;
  }

  .home-page .project-stage > p,
  .home-page .project-context p,
  .home-page .project-faq-answer p {
    font-size: 16px;
    line-height: 1.6;
  }

  .home-page .project-questions-layout {
    gap: 40px;
    margin-top: 36px;
  }

  .home-page .project-context h3 {
    font-size: 23px;
  }

  .home-page .project-faq summary {
    min-height: 88px;
    padding: 25px 36px 25px 0;
    font-size: 23px;
  }

  .home-page .project-faq summary::after {
    top: 26px;
    right: 0;
    font-size: 26px;
  }

  .home-page .project-faq-answer {
    padding: 0 16px 26px 0;
  }
}

/* Internal-page refinement. Append after the common redesign and existing CSS. */
body.service-page {
  --night: #071017; --night-2: #0d1820; --paper: #f2f0e9; --white: #fbfaf5;
  --ink: #10171c; --muted: #566169; --blue: #2764ff; --blue-dark: #1748cf;
  --blue-surface: #2d4458; --lime: #b9f45a;
  --line-dark: rgb(24 35 40 / 16%); --line-light: rgb(242 241 235 / 18%);
  background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.65;
}
body.service-page .service-hero {
  min-height: 0; grid-template-columns: minmax(0, 1.24fr) minmax(350px, .86fr);
  gap: clamp(40px, 5vw, 80px); align-items: center;
  padding: 148px var(--pad) 88px; background: var(--night);
}
body.service-page .service-hero::before, body.service-page .service-hero::after { content: none; }
body.service-page .service-hero h1 {
  max-width: 18ch; font-size: clamp(46px, 5vw, 72px); font-weight: 620;
  letter-spacing: -.047em; line-height: 1.04; text-wrap: balance;
  overflow-wrap: normal; word-break: normal; hyphens: none;
}
body.service-page .service-breadcrumbs { margin-bottom: 32px; color: #b7c2c7; font: 400 14px/1.5 var(--body); letter-spacing: 0; text-transform: none; }
body.service-page :is(.eyebrow, .service-kicker, .section-index) { font: 500 14px/1.5 var(--body); letter-spacing: .01em; text-transform: none; }
body.service-page .service-kicker { margin: 0 0 18px; color: var(--lime); }
body.service-page .service-hero-copy > p:not(.service-kicker):not(.service-breadcrumbs):not(.service-proofline):not(.eyebrow) { max-width: 59ch; margin-top: 28px; color: #c2cccf; font-size: 19px; line-height: 1.65; }
body.service-page p.service-proofline { margin-top: 24px; padding: 16px 0 0 18px; color: #b4c1c7; font-size: 14px; line-height: 1.6; }
body.service-page .service-section p.service-proofline { color: var(--muted); }
body.service-page .service-hero .hero-actions { gap: 22px; margin-top: 32px; }
body.service-page .button-primary { background: var(--blue); color: #fff; border-color: var(--blue); border-radius: 5px; }
body.service-page .button-primary:hover { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
body.service-page .site-header .header-cta { background: var(--blue); color: #fff; border-radius: 5px; }
body.service-page .site-header .header-cta:hover { background: var(--blue-dark); color: #fff; }
body.service-page .service-hero .hero-facts { margin-top: 34px; gap: 20px; }
body.service-page .hero-facts dt { color: #a7b7bf; font: 400 13px/1.5 var(--body); letter-spacing: 0; text-transform: none; }
body.service-page .hero-facts dd { font-size: 15px; line-height: 1.45; }
body.service-page .service-hero-side { align-self: center; width: 100%; padding: 0 22px; border: 1px solid var(--line-light); border-radius: 10px; background: #202c32; box-shadow: none; }
body.service-page .service-hero-side.service-visual { padding: 0; }
body.service-page :is(.service-hero-side > header, .service-side-head, .system-topbar) { min-height: 58px; gap: 14px; color: #b4c2c8; font: 400 12px/1.4 var(--body); letter-spacing: .015em; text-transform: none; }
body.service-page .system-topbar { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
body.service-page .system-topbar > div:first-child { display: none; }
body.service-page .service-visual-note { padding: 18px 22px; color: #b8c6cc; font: 400 13px/1.55 var(--body); letter-spacing: 0; text-transform: none; }
body.service-page .service-hero-side :is(strong, .service-flow > li strong) { font-size: 21px; font-weight: 580; line-height: 1.2; }
body.service-page .service-hero-side :is(small, .service-flow > li small) { color: #b8c6cc; font-size: 14px; line-height: 1.5; }
body.service-page .service-hero-side :is(li > span, .service-flow > li span) { font-size: 12px; font-variant-numeric: tabular-nums; }
body.service-page .service-hero-side em { color: #b8c6cc; font-size: 11px; text-transform: none; letter-spacing: 0; }
body.service-page .agent-board { padding: 22px; }
body.service-page .agent-board article { background: #27353c; border-color: #40525d; border-radius: 6px; }
body.service-page .agent-board article.is-active { background: #3c535f; border-color: #809ba9; }
body.service-page .agent-board article > span { color: #c3d4dc; font: 500 12px/1.5 var(--body); letter-spacing: 0; }
body.service-page .agent-board article strong { font-size: 21px; font-weight: 580; line-height: 1.2; overflow-wrap: normal; }
body.service-page .agent-board article small { color: #d2dde1; font-size: 14px; line-height: 1.5; }
body.service-page .service-section { padding-top: 72px; padding-bottom: 76px; border-color: var(--line-dark); }
body.service-page :is(.service-section-head, .section-intro) { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 40px; }
body.service-page :is(.service-section-head, .section-intro) > div { max-width: 990px; }
body.service-page :is(.service-section-head, .section-intro) h2,
body.service-page .service-split > div > h2,
body.service-page .service-grid-section > div:first-child > h2,
body.service-page .service-related > h2 {
  max-width: 27ch; margin: 0; font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 590; letter-spacing: -.038em; line-height: 1.14;
  text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: none;
}
body.service-page .service-split > div > h3 { font-size: 32px; font-weight: 590; letter-spacing: -.025em; line-height: 1.2; }
body.service-page .service-section p { font-size: 17px; line-height: 1.7; text-wrap: pretty; }
body.service-page .service-split > div:not(.service-note) > p { max-width: 65ch; margin-top: 22px; }
body.service-page .service-split { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 88px); }
body.service-page .service-grid-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); }
body.service-page .service-grid-section > div:first-child > p { max-width: 65ch; margin-top: 22px; }
body.service-page :is(.service-aside, .service-limit) { background: #e5e7e2; border: 1px solid #cfd6d2; border-radius: 6px; padding: 28px 30px; }
body.service-page .service-aside h3 { font-size: 24px; font-weight: 590; letter-spacing: -.02em; }
body.service-page :is(.service-aside li, .service-list li, .service-note li) { font-size: 16px; line-height: 1.65; }
body.service-page .service-aside li { color: #46575f; }
body.service-page :is(.service-aside li, .service-list li)::before { background: #6d8794; }
body.service-page .service-limit { margin-top: 34px; }
body.service-page .service-limit h3 { font-size: 29px; line-height: 1.2; }
body.service-page .service-note { gap: 18px; }
body.service-page .service-note > span { font: 500 13px/1.55 var(--body); letter-spacing: 0; text-transform: none; }
body.service-page .service-note :is(p, li) { opacity: 1; }
body.service-page :is(.service-muted, .service-section-muted, .service-related) { background: #e9eae4; }
body.service-page :is(.service-dark, .service-section-dark, .service-section.is-dark, .service-section.is-blue) { background: #1d282e; color: var(--white); --muted: #bdc9cf; }
body.service-page :is(.service-dark, .service-section-dark, .service-section.is-dark, .service-section.is-blue) .related-card p { color: #bdc9cf; }
body.service-page :is(.service-dark, .service-section-dark, .service-section.is-dark, .service-section.is-blue) .related-card > span { color: var(--lime); }
body.service-page :is(.service-dark, .service-section-dark, .service-section.is-dark, .service-section.is-blue) :is(.service-card-list, .service-card-list article, .service-grid, .service-card, .service-steps article, .scenario-grid article) { border-color: #47575f; }
body.service-page :is(.service-steps, .scenario-grid, .service-deliverables, .related-links, .input-process-result) { margin-top: 40px; }
body.service-page :is(.service-steps article, .scenario-grid article, .service-card, .related-card) { min-height: 0; padding-top: 26px; padding-bottom: 32px; }
body.service-page :is(.service-steps h2, .scenario-grid h2, .service-card h3, .related-card h3) { margin-top: 34px; font-size: clamp(25px, 2.15vw, 33px); font-weight: 590; letter-spacing: -.03em; line-height: 1.22; }
body.service-page :is(.service-card > span, .service-card > small, .related-card > span, .related-card > small) { font: 500 13px/1.5 var(--body); letter-spacing: 0; text-transform: none; }
body.service-page :is(.service-steps article > span, .scenario-grid article > span, .related-links a > span) { font-size: 12px; }
body.service-page .service-card-list article { grid-template-columns: minmax(135px, .7fr) minmax(0, 1fr); gap: 24px; padding: 26px 0; }
body.service-page .service-card-list h3 { font-size: 23px; font-weight: 590; line-height: 1.2; }
body.service-page .service-card-list p { font-size: 16px; }
body.service-page .service-deliverables { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
body.service-page .service-deliverables p { min-height: 0; padding-top: 26px; padding-bottom: 30px; }
body.service-page .service-deliverables b { margin-bottom: 22px; font-size: 23px; font-weight: 590; line-height: 1.25; }
body.service-page .related-links a { min-height: 174px; gap: 12px; }
body.service-page .related-links strong { font-size: clamp(24px, 2vw, 30px); font-weight: 590; line-height: 1.2; }
body.service-page .related-links small { font-size: 15px; line-height: 1.55; }
body.service-page :is(.related-links a, a.related-card):is(:hover, :focus-visible) { background: #dce3e3; color: var(--ink); }
body.service-page :is(.related-links a, a.related-card):is(:hover, :focus-visible) :is(small, p, span, b) { color: #3f5a68; }
body.service-page :is(.service-dark, .service-section-dark, .service-section.is-dark, .service-section.is-blue) a.related-card:is(:hover, :focus-visible) :is(p, span) { color: #3f5a68; }
body.service-page .input-process-result { border: 0; gap: 0; }
body.service-page .input-process-result article { min-height: 230px; padding: 28px; background: #293840; border: 1px solid #445861; border-radius: 7px; }
body.service-page .input-process-result article > span { color: #c2d2db; font: 500 13px/1.5 var(--body); letter-spacing: 0; }
body.service-page .input-process-result h3 { margin: 26px 0 18px; font-size: 30px; font-weight: 590; line-height: 1.2; }
body.service-page .input-process-result p { color: #c5d0d6; font-size: 16px; }
body.service-page .input-process-result > i { border: 0; }
body.service-page .service-flow { border-color: #47575f; }
body.service-page .service-flow-step { min-height: 230px; }
body.service-page .service-flow-step :is(h3, strong) { font-size: 28px; font-weight: 590; line-height: 1.2; }
body.service-page .service-flow-step p { color: #c2cdd2; font-size: 16px; }
body.service-page .service-flow-step > span { font: 500 12px/1.5 var(--body); letter-spacing: 0; }
/* Process flows can also sit on the light paper surface. Keep their dark-theme
   defaults above, then restore accessible ink, labels and dividers here. */
body.service-page .service-section:not(.is-dark):not(.is-blue) > .service-flow {
  border-color: var(--line-dark);
}
body.service-page .service-section:not(.is-dark):not(.is-blue) > .service-flow > .service-flow-step {
  border-color: var(--line-dark);
}
body.service-page .service-section:not(.is-dark):not(.is-blue) > .service-flow > .service-flow-step > span {
  color: var(--blue-dark);
}
body.service-page .service-section:not(.is-dark):not(.is-blue) > .service-flow > .service-flow-step :is(h3, strong) {
  color: var(--ink);
}
body.service-page .service-section:not(.is-dark):not(.is-blue) > .service-flow > .service-flow-step p {
  color: #43535b;
}
body.service-page .service-caption { max-width: 68ch; font-size: 15px; line-height: 1.65; }
body.service-page .faq { margin-top: 34px; }
body.service-page .faq summary { padding-top: 24px; padding-bottom: 24px; font-size: 22px; font-weight: 530; line-height: 1.35; }
body.service-page .faq details p { max-width: 68ch; font-size: 17px; line-height: 1.7; }
body.service-page .article-editorial { grid-template-columns: 1fr; padding: 24px; background: #e5e7e2; border: 1px solid #cfd6d2; border-radius: 6px; }
body.service-page .article-editorial > :is(span, ul, p) { grid-column: 1; }
body.service-page .article-editorial li { overflow-wrap: anywhere; }
body.service-page .article-release-image img { border-radius: 8px; }
body.service-page :is(a, button, summary) { transition-property: color, background-color, border-color; transition-duration: 180ms; }
body.service-page :focus-visible { outline: 3px solid #426778; outline-offset: 4px; }
@media (min-width: 701px) {
  body.service-page .related-grid:has(> .related-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body.service-page :is(.service-hero, .service-dark, .service-section-dark, .service-section.is-dark, .service-section.is-blue, .contact, .footer, .site-header:not(.is-light)) :focus-visible { outline-color: #c2d7e1; }
@media (max-width: 1100px) {
  body.service-page .service-hero { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-top: 128px; padding-bottom: 68px; }
  body.service-page .service-hero h1 { max-width: 18ch; font-size: clamp(42px, 6.6vw, 68px); }
  body.service-page .service-hero-side { max-width: 850px; }
  body.service-page .service-section { padding-top: 66px; padding-bottom: 72px; }
  body.service-page :is(.service-split, .service-grid-section) { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  body.service-page .service-split > div:not(.service-note) > p { max-width: 70ch; }
  body.service-page .service-card-list article { grid-template-columns: minmax(165px, .65fr) minmax(0, 1fr); }
}
@media (min-width: 701px) and (max-width: 1100px) {
  body.service-page .service-visual-agent .agent-board { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr); padding: 22px; }
  body.service-page .service-visual-agent .agent-board article { min-height: 225px; padding: 20px 16px; }
  body.service-page .service-visual-agent .agent-board article strong { margin: auto 0 12px; font-size: 21px; }
  body.service-page .service-visual-agent .agent-board > i { transform: none; min-height: 0; }
}
@media (max-width: 700px) {
  body.service-page .service-hero { gap: 34px; padding-top: 110px; padding-bottom: 48px; }
  body.service-page .service-hero h1 { max-width: 100%; font-size: clamp(34px, 10vw, 48px); line-height: 1.09; letter-spacing: -.035em; }
  body.service-page .service-breadcrumbs { margin-bottom: 26px; font-size: 13px; }
  body.service-page .service-hero-copy > p:not(.service-kicker):not(.service-breadcrumbs):not(.service-proofline):not(.eyebrow) { margin-top: 22px; font-size: 17px; }
  body.service-page .service-hero .hero-facts { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  body.service-page .service-section { padding-top: 40px; padding-bottom: 44px; }
  body.service-page :is(.service-section-head, .section-intro) { margin-bottom: 28px; }
  body.service-page :is(.service-section-head, .section-intro) h2, body.service-page .service-split > div > h2, body.service-page .service-grid-section > div:first-child > h2, body.service-page .service-related > h2 { font-size: clamp(29px, 8.2vw, 37px); line-height: 1.18; }
  body.service-page :is(.service-steps, .scenario-grid, .service-deliverables, .related-links, .input-process-result) { margin-top: 28px; }
  body.service-page .service-card-list article { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.service-page :is(.service-aside, .service-limit) { padding: 22px; }
  body.service-page .service-hero-side { padding-right: 18px; padding-left: 18px; }
  body.service-page .service-hero-side.service-visual { padding: 0; }
  body.service-page .service-hero-side > .service-flow { padding-inline: 0; }
  body.service-page .service-hero-side > .service-flow > .service-flow-step { grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; padding-inline: 12px; }
  body.service-page .service-visual-agent .agent-board { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  body.service-page .service-visual-agent .agent-board article { min-height: 140px; padding: 18px; }
  body.service-page .service-visual-agent .agent-board article strong { margin: 24px 0 10px; }
  body.service-page .service-visual-agent .agent-board > i { min-height: 28px; transform: rotate(90deg); }
  body.service-page .input-process-result article { min-height: 0; padding: 24px; }
  body.service-page .input-process-result h3 { margin-top: 24px; font-size: 27px; }
  body.service-page .service-flow-step { min-height: 195px; }
  body.service-page .related-links a { grid-template-columns: 28px minmax(0, 1fr) auto; min-height: 0; }
  body.service-page .faq summary { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  body.service-page :is(a, button, summary) { transition-duration: 0s; }
}
/* Audit 19: readable document layouts and shared interface components. */
.page-jump-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  padding: 18px var(--pad); background: var(--paper); color: var(--ink);
  border-block: 1px solid var(--line-dark);
}
.page-jump-nav > :is(strong, span, p) { margin: 0; font-size: 14px; font-weight: 600; }
.page-jump-nav :is(ol, ul) { display: contents; list-style: none; margin: 0; padding: 0; }
.page-jump-nav li { list-style: none; }
.page-jump-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--blue-dark); text-decoration: underline; text-underline-offset: 4px; }
.menu-dropdown-materials { width: min(360px, calc(100vw - 2 * var(--pad))); grid-template-columns: 1fr; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #c4cdd2; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.footer-nav a:is(:hover, :focus-visible) { color: #fff; }
.footer:has(.footer-nav) { grid-template-columns: auto minmax(0, 1fr); }
.footer:has(.footer-nav) .footer-nav { grid-column: 1 / -1; }
body :is(.home-page, .service-page) { min-width: 0; }
body.service-page :is(h1, h2, h3), body.service-page .contact h2 { hyphens: none; word-break: normal; overflow-wrap: normal; }
body.service-page :is(.article-editorial, .service-proofline) { overflow-wrap: anywhere; }

body.service-page:is(.article-page, .utility-page) .service-hero {
  padding-top: 126px; padding-bottom: 48px; align-items: start;
}
body.service-page.article-page .service-hero { grid-template-columns: minmax(0, 1fr); gap: 0; }
body.service-page.article-page .service-hero h1 { max-width: 24ch; font-size: clamp(38px, 4.5vw, 64px); line-height: 1.1; }
body.service-page.article-page .service-hero-copy { max-width: 1040px; }
body.service-page.article-page .hero-facts { max-width: 900px; }
body.service-page:is(.article-page, .utility-page) :is(.service-hero, .service-section, .page-jump-nav) {
  padding-inline: max(var(--pad), calc((100vw - 1120px) / 2));
}
body.service-page:is(.article-page, .utility-page) .service-section { padding-block: 48px 52px; }
body.service-page:is(.article-page, .utility-page) :is(.service-split, .service-grid-section) { gap: 32px; }
body.service-page.article-page :is(.service-split, .service-grid-section) { grid-template-columns: minmax(0, 1fr); }
body.service-page:is(.article-page, .utility-page) :is(.service-section-head, .section-intro) h2,
body.service-page:is(.article-page, .utility-page) .service-split > div > h2,
body.service-page:is(.article-page, .utility-page) .service-grid-section > div:first-child > h2 {
  max-width: 34ch; font-size: clamp(30px, 3vw, 43px); line-height: 1.18;
}
body.service-page:is(.article-page, .utility-page) .service-section p { max-width: 72ch; }
body.service-page:is(.article-page, .utility-page) .service-deliverables { margin-top: 24px; }
body.service-page:is(.article-page, .utility-page) .service-deliverables p { padding-block: 20px; }
body.service-page:is(.article-page, .utility-page) .service-deliverables b { margin-bottom: 12px; }
body.service-page.utility-page .service-hero h1 { font-size: clamp(38px, 4.2vw, 62px); max-width: 20ch; }
body.service-page.utility-page .service-hero-side { margin-top: 8px; }
body.service-page.contact-page .service-hero { grid-template-columns: minmax(0, 1fr); }
body.service-page.contact-page .service-hero-copy { max-width: 900px; }
body.service-page.contact-page .service-hero-side { max-width: 900px; width: 100%; }

/* The label toggles consent; opening its document is a separate action. */
body .contact-form .consent-field {
  display: grid; grid-template-columns: 24px minmax(0, 1fr);
  gap: 4px 12px; margin: 0 0 24px; align-items: start;
}
body .contact-form .consent-field > input {
  width: 24px; height: 24px; min-height: 24px; margin: 4px 0 0;
  padding: 0; cursor: pointer; accent-color: var(--blue);
}
body .contact-form .consent-field > label {
  margin: 0; padding: 2px 0; min-height: 44px;
  color: #c8d1d5; font: 400 14px/1.6 var(--body);
  letter-spacing: 0; text-transform: none; cursor: pointer;
}
body .contact-form .consent-document {
  grid-column: 2; margin: 0; color: inherit; font-size: 14px; line-height: 1.5;
}
body .contact-form .consent-document a { display: inline-flex; align-items: center; min-height: 44px; }
body .contact-form .consent-field > small {
  grid-column: 2; min-height: 0; margin: 0; color: #ffb5a7; font-size: 13px; line-height: 1.5;
}
body .contact-form .consent-field > small:empty { display: none; }
body .contact-form .form-privacy-note { margin: 0 0 24px 36px; font-size: 13px; line-height: 1.6; }
body.home-page .contact-form .consent-field { grid-template-columns: 24px minmax(0,1fr); gap: 4px 12px; }
body.home-page .contact-form .consent-field > input { width: 24px; height: 24px; margin-top: 4px; }
body.home-page .contact-form .consent-field > label { color: #44575f; }
body.home-page .contact-form .consent-field > small { color: #973c2d; }

/* Filled teaching examples are visually distinct from service promises. */
body.service-page .practice-example {
  margin-block: 28px; padding: clamp(22px, 3vw, 36px);
  background: var(--paper); color: var(--ink);
  border: 1px solid #bfc9c9; border-radius: 6px;
}
body.service-page .practice-example :is(h2,h3,h4) { color: var(--ink); }
body.service-page .practice-example :is(p, li, dd) { color: #43535b; }
body.service-page .example-label { margin: 0 0 16px; color: var(--blue-dark); font-size: 13px; line-height: 1.5; font-weight: 600; }
body.service-page .example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
body.service-page .example-panel { min-width: 0; padding: 24px; background: #f8f7f1; color: var(--ink); border: 1px solid #ccd2cf; border-radius: 4px; }
body.service-page .example-panel :is(h3,h4) { margin: 0 0 16px; font-size: 24px; font-weight: 600; line-height: 1.25; color: var(--ink); }
body.service-page .example-panel p { margin: 12px 0 0; color: #43535b; font-size: 16px; line-height: 1.6; }
body.service-page .example-panel blockquote { margin: 18px 0; padding: 0 0 0 16px; border-left: 3px solid var(--blue); font-size: 17px; line-height: 1.6; color: var(--ink); }
body.service-page .example-fields { margin: 16px 0 0; }
body.service-page .example-fields > div { display: grid; grid-template-columns: minmax(110px, .6fr) minmax(0, 1fr); gap: 8px 16px; padding: 12px 0; border-top: 1px solid #c5cecd; }
body.service-page .example-fields dt { color: #4b5e67; font-size: 14px; font-weight: 500; }
body.service-page .example-fields dd { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
body.service-page .example-panel :is(ul,ol) { margin: 16px 0 0; padding-left: 21px; }
body.service-page .example-panel li { margin-top: 10px; font-size: 16px; line-height: 1.6; }
body.service-page .practice-example :is(code, pre) { font-family: var(--mono); font-size: 14px; overflow-wrap: anywhere; white-space: pre-wrap; }
body.service-page .table-scroll { max-width: 100%; overflow-x: auto; }
body.service-page .example-table { border-collapse: collapse; width: 100%; font-size: 15px; }
body.service-page .example-table :is(th,td) { text-align: left; padding: 14px; border-bottom: 1px solid #bcc8c7; vertical-align: top; }
body.service-page .example-table caption { text-align: left; font-weight: 600; margin-bottom: 14px; }

@media (min-width: 821px) and (max-width: 1100px) {
  .site-menu { gap: 16px; font-size: 12px; }
  .site-header { gap: 20px; }
  .site-header .wordmark span { display: none; }
}
@media (max-width: 700px) {
  .page-jump-nav { gap: 0 18px; padding-block: 12px; }
  .page-jump-nav > :is(strong,span,p) { flex-basis: 100%; margin-bottom: 4px; }
  body.service-page:is(.article-page, .utility-page) .service-hero { padding-top: 108px; padding-bottom: 36px; gap: 28px; }
  body.service-page:is(.article-page, .utility-page) .service-hero h1 { font-size: clamp(31px, 9.2vw, 43px); }
  body.service-page:is(.article-page, .utility-page) .service-section { padding-block: 36px 40px; }
  body.service-page:is(.article-page, .utility-page) :is(.service-section-head, .section-intro) h2,
  body.service-page:is(.article-page, .utility-page) .service-split > div > h2,
  body.service-page:is(.article-page, .utility-page) .service-grid-section > div:first-child > h2 { font-size: clamp(27px, 8vw, 34px); }
  body.service-page .example-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.service-page .example-panel { padding: 20px; }
  body.service-page .example-fields > div { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  body.service-page .practice-example { padding: 20px; }
  .footer:has(.footer-nav) { grid-template-columns: minmax(0, 1fr); }
}

body.service-page .contact {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start;
}
body.service-page .contact-copy .eyebrow { margin-top: 0; }
body.service-page .contact-copy h2 { max-width: 18ch; font-size: clamp(34px, 3.7vw, 56px); line-height: 1.12; }
body.service-page .contact-copy > p:last-child { color: #bdc9d0; font-size: 17px; line-height: 1.65; }
body.service-page .contact-form { padding: 30px; background: var(--paper); color: var(--ink); border-radius: 10px; }
body.service-page .contact-form label { margin-bottom: 20px; }
body.service-page .contact-form label > span { color: #3b515c; font: 500 14px/1.5 var(--body); letter-spacing: 0; text-transform: none; }
body.service-page .contact-form :is(input:not([type="checkbox"]):not([type="hidden"]),textarea) {
  padding: 12px; background: #f8f8f3; color: var(--ink); border: 1px solid #a4b3b8;
  border-radius: 4px; font-size: 18px; font-weight: 400; letter-spacing: 0; line-height: 1.4;
}
body.service-page .contact-form .prototype-note { padding: 0 0 16px; margin: 0 0 18px; border: 0; border-bottom: 1px solid #bbc7c6; color: #475e66; font-size: 13px; }
body.service-page .contact-form :is(.form-provider-note,.form-data-warning,.form-privacy-note) { color: #465e68; font-size: 13px; }
body.service-page .contact-form .consent-field > label { margin: 0; color: #435862; }
body.service-page .contact-form .consent-field > input { width: 24px; height: 24px; margin-top: 4px; }
body.service-page .contact-form :is(.form-privacy-note a,.consent-field a) { color: var(--blue-dark); }
body.service-page .contact-form :is(label > small,.consent-field > small) { color: #973c2d; }
body.service-page .contact-form :is(input,textarea):focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 3px; }
body.service-page .contact-form .is-invalid { border-color: #a84432; }
body.service-page .contact-form .form-footer { display: block; margin-top: 20px; }
body.service-page .contact-form .button { width: 100%; justify-content: space-between; }
body.service-page .contact-form .form-status { margin: 14px 0 0; color: #405c69; font-size: 14px; }
body.service-page .contact-channels { margin-block: 24px; }
body.service-page .contact-channel-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin: 0 0 24px; }
body.service-page .contact-channel-list > div { padding-block: 20px; border-block: 1px solid #3c4c56; }
body.service-page .contact-channel-list dt { margin-bottom: 10px; font-size: 14px; color: #b8c5cd; }
body.service-page .contact-channel-list dd { margin: 0; font-size: 20px; line-height: 1.4; overflow-wrap: anywhere; }
body.service-page .contact-channel-list dd a { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
body.service-page .contact-channel-list [data-release-remove] { color: #b9c7ce; font-size: 16px; }
body.service-page .contact-channels :is(.service-caption,.service-visual-note) { padding: 0; margin-top: 14px; max-width: 72ch; color: #bac7cd; font-size: 14px; line-height: 1.65; }
body.service-page.article-page .service-section > h2 { max-width: 34ch; margin: 0 0 22px; font-size: clamp(30px,3vw,43px); font-weight: 600; line-height: 1.18; letter-spacing: -.025em; }
body.service-page.article-page .service-section > p { margin-top: 18px; }
body.service-page.article-page .practice-example { border-inline: 0; border-radius: 0; margin-block: 0; }
body.service-page.case-page .practice-example {
  padding: 48px max(var(--pad), calc((100vw - 1120px) / 2)) 52px;
  border-inline: 0; border-radius: 0; margin-block: 0;
}
body.service-page.case-page .practice-example > h2 {
  max-width: 36ch; margin: 18px 0 24px; font-size: clamp(30px, 3vw, 43px);
  font-weight: 600; line-height: 1.2; letter-spacing: -.025em;
}
body.service-page.case-page .practice-example > .example-fields > div {
  grid-template-columns: minmax(160px, .3fr) minmax(0, 1fr);
}
@media (max-width: 820px) {
  body.service-page .contact { grid-template-columns: minmax(0,1fr); gap: 32px; }
}
@media (max-width: 700px) {
  body.service-page .contact-form { padding: 24px 20px; }
  body.service-page .contact-channel-list { grid-template-columns: minmax(0,1fr); gap: 0; }
  body.service-page .contact-channel-list > div + div { border-top: 0; }
  body.service-page.article-page .service-section > h2 { font-size: clamp(27px,8vw,34px); }
  body.service-page.case-page .practice-example { padding: 36px var(--pad) 40px; }
  body.service-page.case-page .practice-example > h2 { font-size: clamp(27px,8vw,34px); }
  body.service-page.case-page .practice-example > .example-fields > div { grid-template-columns: minmax(0, 1fr); }
}

/* Legal documents use a reading column instead of the service sales layout. */
body.service-page.legal-page :is(.service-hero, .service-section, .page-jump-nav) {
  padding-inline: max(var(--pad), calc((100vw - 960px) / 2));
}
body.service-page.legal-page :is(.service-hero, .service-split, .service-grid-section) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
body.service-page.legal-page .service-hero h1 { max-width: 28ch; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.13; }
body.service-page.legal-page .service-section { padding-block: 36px 40px; }
body.service-page.legal-page :is(.service-section-head, .section-intro) { margin-bottom: 22px; }
body.service-page.legal-page :is(.service-section-head, .section-intro) h2,
body.service-page.legal-page .service-split > div > h2,
body.service-page.legal-page .service-grid-section > div:first-child > h2,
body.service-page.legal-page .service-related > h2 { max-width: 42ch; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.22; }
body.service-page.legal-page .service-section p { max-width: 80ch; font-size: 16px; line-height: 1.65; }
body.service-page.legal-page :is(.service-split > div, .service-grid-section > div:first-child) > p { margin-top: 16px; }
body.service-page.legal-page .service-card-list article { grid-template-columns: minmax(160px, .3fr) minmax(0, 1fr); padding-block: 18px; gap: 20px; }
body.service-page.legal-page .service-card-list h3 { font-size: 20px; }
body.service-page.legal-page .service-aside { padding: 22px 24px; }
body.service-page.legal-page .service-aside ul { margin-top: 14px; }
body.service-page.legal-page .service-aside li { padding-block: 7px; }
body.service-page.legal-page .service-deliverables { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 18px; }
body.service-page.legal-page .service-deliverables p { padding: 16px 0; border-right: 0; }
body.service-page.legal-page .service-deliverables b { margin-bottom: 8px; font-size: 20px; }
body.service-page.legal-page .service-limit { padding: 20px 24px; margin-top: 22px; }
body.service-page.legal-page .related-links { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
body.service-page.legal-page .related-links a { min-height: 0; padding-block: 20px; }
body.service-page.legal-page .related-links strong { font-size: 22px; }
@media (max-width: 700px) {
  body.service-page.legal-page .service-section { padding-block: 28px 32px; }
  body.service-page.legal-page .service-card-list article { grid-template-columns: minmax(0, 1fr); padding-block: 16px; gap: 8px; }
  body.service-page.legal-page :is(.service-aside, .service-limit) { padding: 18px; }
  body.service-page.legal-page .related-links { grid-template-columns: minmax(0, 1fr); }
}
/* Confirmed direct contacts remain available beside the prototype forms. */
.contact-copy .contact-direct { margin-top: 28px; padding-top: 20px; border-top: 1px solid #3c4c56; }
body .contact-copy .contact-direct > p { margin: 0 0 8px; font-size: 14px; color: #bcc9cf; }
.contact-direct > div { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.contact-direct a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; color: #fbfaf5; font-size: 17px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.contact-direct a:is(:hover, :focus-visible) { color: #b9f45a; }

/* Labels for the existing service menu, with the V8 palette and geometry. */
.menu-section-label { grid-column: 1 / -1; padding: 14px 13px 6px; color: var(--blue-dark); font-size: 12px; font-weight: 750; line-height: 1.4; }
@media (max-width: 820px) { .menu-section-label { padding: 18px 16px 6px; color: var(--lime); } }

/* Owner-provided analytics: exact totals, separate sources and periods. */
.owned-case { padding: 44px 0; border-top: 1px solid var(--line-dark); }
.case-proof-heading { max-width: 900px; margin-bottom: 30px; }
body.service-page .case-proof-heading h3 { margin: 12px 0 0; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
.case-proof-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.case-proof-copy > p { margin-top: 0; }
.case-proof-copy .text-link { color: var(--blue-dark); border-color: var(--blue-dark); }
.case-proof-facts { margin: 28px 0; }
.case-proof-facts > div { padding: 16px 0; border-top: 1px solid var(--line-dark); }
.case-proof-facts dt { font-size: 13px; font-weight: 750; color: var(--blue-dark); }
.case-proof-facts dd { margin: 8px 0 0; font-size: 16px; line-height: 1.65; }
.case-data { padding: clamp(20px, 3vw, 36px); background: var(--night); color: var(--white); }
body.service-page .case-data p { color: #c6cdd2; }
body.service-page .case-data .case-data-source { margin: 0; font-size: 13px; line-height: 1.6; }
.case-data-primary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin: 24px 0; }
.case-data-primary strong { font-size: clamp(68px, 7vw, 96px); line-height: 1; font-weight: 600; letter-spacing: -.06em; color: var(--lime); }
.case-data-primary span { max-width: 18ch; font-size: 16px; line-height: 1.5; }
.case-data-secondary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding: 22px 0; margin: 0; border-block: 1px solid #47575f; }
.case-data-secondary dt { font-size: 12px; line-height: 1.5; color: #c6cdd2; }
.case-data-secondary dd { margin: 8px 0 0; font-size: clamp(21px,2vw,28px); line-height: 1.2; font-weight: 600; }
.case-traffic { margin-top: 24px; }
body.service-page .case-traffic > p { margin: 0 0 18px; font-size: 14px; }
.case-traffic > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 16px; font-size: 13px; line-height: 1.45; }
.case-traffic i { grid-column: 1 / -1; display: block; height: 5px; background: #8d9aa3; }
.case-traffic .case-traffic-search { width: 50%; background: var(--lime); }
.case-traffic-direct { width: 38.9474%; }
.case-traffic-referral { width: 5.7895%; }
.case-traffic-internal { width: 5.2632%; }
body.service-page .case-data .case-data-note { margin: 22px 0 0; font-size: 12px; line-height: 1.7; }
body.service-page .case-proof .case-proof-limit { max-width: 100ch; margin-top: 26px; font-size: 13px; line-height: 1.7; color: var(--muted); }
@media (max-width: 820px) { .case-proof-layout { grid-template-columns: 1fr; } .owned-case { padding-block: 32px; } }
@media (max-width: 380px) { .case-data-secondary { grid-template-columns: 1fr; gap: 14px; } .case-data-secondary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; } .case-data-secondary dd { margin: 0; } }

/* Sites-first homepage — scoped editorial studio presentation. */
.home-page .home-web-hero { display: grid; min-height: max(820px, 100svh); grid-template-areas: "copy map" "facts facts"; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 38px clamp(32px, 6vw, 96px); align-items: center; padding: clamp(126px, 11vw, 168px) max(var(--pad), calc((100vw - var(--content)) / 2)) clamp(72px, 8vw, 116px); background: var(--night); color: var(--white); }
.home-page .home-web-hero .hero-copy { display: block; grid-area: copy; align-self: end; }
.home-page .home-web-hero h1 { max-width: 14ch; margin: 14px 0 24px; font: 600 clamp(42px, 5.5vw, 84px)/1.02 var(--display); letter-spacing: -.06em; }
.home-page .home-web-hero .hero-lead { max-width: 56ch; font-size: 17px; line-height: 1.65; color: #c6cdd2; }
.home-page .home-web-hero .hero-actions { margin-top: 28px; }
.home-page .home-web-hero .hero-facts { grid-area: facts; align-self: start; width: 100%; max-width: none; margin: 4px 0 0; }
.home-page .home-client-path { grid-area: map; align-self: center; min-width: 0; width: 100%; max-width: 500px; margin: 0 0 0 auto; }
.home-page .home-client-path > figcaption { margin: 0 0 36px; color: #a8b6bd; font: 500 12px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.home-page .home-client-path-steps { margin: 0; padding: 0; list-style: none; }
.home-page .home-client-path-steps li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 24px; min-width: 0; padding-bottom: 46px; }
.home-page .home-client-path-steps li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 35px; bottom: 8px; width: 1px; background: #43535d; }
.home-page .home-client-path-steps li:last-child { padding-bottom: 0; }
.home-page .home-client-path-marker { display: grid; place-items: center; width: 34px; height: 34px; margin-top: 5px; border: 1px solid #62727a; border-radius: 50%; color: #c6cdd2; font: 12px/1 var(--mono); }
.home-page .home-client-path-steps li:nth-child(2) .home-client-path-marker { border-color: #7b9cff; color: #a8c4ff; }
.home-page .home-client-path-steps li:last-child .home-client-path-marker { border-color: var(--lime); background: var(--lime); color: var(--night); }
.home-page .home-client-path-steps strong { display: block; max-width: 12ch; font: 500 clamp(28px, 3.2vw, 46px)/1.12 var(--display); letter-spacing: -.035em; }
.home-page .home-client-path-steps li:last-child strong { color: var(--lime); }
.home-page .home-client-path-steps p { max-width: 29ch; margin: 12px 0 0; color: #a8b6bd; font: 400 16px/1.5 var(--body); }

.home-page .home-proof, .home-page .home-services, .home-page .home-seo, .home-page .home-tech { padding: clamp(64px, 9vw, 128px) max(var(--pad), calc((100vw - var(--content)) / 2)); }
.home-page .home-proof { background: var(--paper); }
.home-page .section-intro { display: block; }
.home-page .home-section-heading { max-width: 19ch; margin: 0; font: 600 clamp(32px, 4.3vw, 58px)/1.04 var(--display); letter-spacing: -.045em; }
.home-page .home-section-lead { max-width: 58ch; margin: 18px 0 40px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.home-page .home-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.home-page .home-project-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; border: 1px solid var(--line-dark); background: var(--white); }
.home-page .home-project-card.is-parus { border-top: 6px solid var(--lime); }
.home-page .home-project-card.is-drilling { border-top: 6px solid var(--blue); }
.home-page .home-project-copy { padding: clamp(22px, 3vw, 38px); }
.home-page .home-project-meta { margin: 0; color: var(--blue-dark); font: 700 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.home-page .home-project-copy h3 { max-width: 18ch; margin: 16px 0; font: 600 clamp(26px, 3vw, 40px)/1.08 var(--display); letter-spacing: -.04em; }
.home-page .home-project-copy > p { max-width: 46ch; margin: 0; font-size: 16px; line-height: 1.6; }
.home-page .home-project-data { align-self: end; padding: clamp(22px, 3vw, 38px); background: var(--night); color: var(--white); }
.home-page .is-drilling .home-project-data { background: #12336c; }
.home-page .home-project-primary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; padding-bottom: 22px; border-bottom: 1px solid #47575f; }
.home-page .home-project-primary strong { color: var(--lime); font: 600 clamp(52px, 6vw, 78px)/.9 var(--display); letter-spacing: -.06em; }
.home-page .is-drilling .home-project-primary strong { color: #a8c4ff; }
.home-page .home-project-primary span { max-width: 16ch; font-size: 15px; line-height: 1.4; }
.home-page .home-project-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 22px 0 0; }
.home-page .home-project-stats dt { color: #c6cdd2; font-size: 12px; line-height: 1.4; }
.home-page .home-project-stats dd { margin: 7px 0 0; font-size: 21px; font-weight: 650; line-height: 1.15; }
.home-page .home-project-note { max-width: 62ch; margin: 22px 0 0; color: #c6cdd2; font-size: 13px; line-height: 1.55; }
.home-page .home-project-link, .home-page .home-service-card-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }

.home-page .home-services { border-top: 1px solid var(--line-dark); background: var(--white); }
.home-page .home-service-card-index { display: block; color: var(--blue-dark); font: 700 12px/1 var(--mono); }
.home-page .home-service-card-link { color: var(--blue-dark); }
.home-page .home-project-data .home-project-link, .home-page .home-tech .home-service-card-link, .home-page .home-seo-card:last-child .home-service-card-link { color: var(--white); }

.home-page .home-seo { background: #dfe5e4; }
.home-page .home-seo-layout { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.home-page .home-seo-route { display: grid; gap: 0; padding: 0; margin: 30px 0 0; list-style: none; counter-reset: route; }
.home-page .home-seo-route li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-dark); font-size: 16px; line-height: 1.45; }
.home-page .home-seo-route li::before { counter-increment: route; content: "0" counter(route); color: var(--blue-dark); font: 700 12px/1.8 var(--mono); }
.home-page .home-seo-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-page .home-seo-card { min-width: 0; min-height: 100%; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line-dark); background: var(--white); }
.home-page .home-seo-card:last-child { background: var(--night); color: var(--white); }
.home-page .home-seo-card:last-child .home-service-card-index { color: var(--lime); }
.home-page .home-seo-card h3 { margin: 44px 0 14px; font: 600 clamp(24px, 2.8vw, 36px)/1.08 var(--display); letter-spacing: -.035em; }
.home-page .home-seo-card p { margin: 0; font-size: 16px; line-height: 1.6; }
.home-page .home-seo-card:last-child p { color: #c6cdd2; }

.home-page .home-tech { background: var(--night-2); color: var(--white); }
.home-page .home-tech .home-section-lead { color: #b9c4c9; }
.home-page .home-tech-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.home-page .home-tech-copy { min-width: 0; }
.home-page .home-tech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-page .home-tech-card { min-width: 0; padding: 22px; border: 1px solid #46545d; background: rgba(251,250,245,.035); }
.home-page .home-tech-card h3 { margin: 32px 0 10px; font: 600 22px/1.12 var(--display); }
.home-page .home-tech-card p { margin: 0; color: #c6cdd2; font-size: 16px; line-height: 1.55; }
.home-page .home-tech-card .home-service-card-index { color: var(--lime); }
.home-page :is(.project-path, .project-stages) { max-width: 100%; }
.home-page :is(a, button, input, textarea, select):focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; }
.home-page :is(.home-web-hero, .home-project-data, .home-tech, .home-seo-card:last-child, .contact-copy, .footer) :is(a, button, input, textarea, select):focus-visible { outline-color: var(--lime); }

@media (max-width: 1100px) {
  .home-page .home-web-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); column-gap: 36px; }
  .home-page .home-seo-layout, .home-page .home-tech-layout { gap: 36px; }
}
@media (max-width: 820px) {
  .home-page .home-web-hero, .home-page .home-seo-layout, .home-page .home-tech-layout { grid-template-columns: minmax(0, 1fr); }
  .home-page .home-web-hero { min-height: 0; grid-template-areas: "copy" "map" "facts"; gap: 46px; padding-top: 118px; padding-bottom: 72px; }
  .home-page .home-web-hero h1 { max-width: 14ch; }
  .home-page .home-client-path { max-width: none; margin: 0; padding-top: 32px; border-top: 1px solid var(--line-light); }
  .home-page .home-client-path-steps li { column-gap: 20px; padding-bottom: 32px; }
  .home-page .home-client-path-steps strong { max-width: none; font-size: 32px; }
  .home-page .home-project-grid, .home-page .home-seo-card-grid { grid-template-columns: minmax(0, 1fr); }
  .home-page .home-tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .home-page .home-proof, .home-page .home-services, .home-page .home-seo, .home-page .home-tech { padding-block: 56px; }
  .home-page .home-web-hero { gap: 38px; padding-top: 104px; padding-bottom: 56px; }
  .home-page .home-web-hero .hero-facts div { grid-template-columns: minmax(0, 96px) minmax(0, 1fr); }
  .home-page .home-tech-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .home-page .home-web-hero { padding-inline: 18px; }
  .home-page .home-web-hero h1 { font-size: 39px; }
  .home-page .home-client-path-steps strong { font-size: 27px; }
  .home-page .home-client-path-steps p { font-size: 15px; }
  .home-page .home-project-stats { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-page .home-project-copy, .home-page .home-project-data, .home-page .home-seo-card, .home-page .home-tech-card { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

/* Home services: focused catalogue — 2026-09-15 */
.home-page .home-services .home-services-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .45fr); align-items: end; gap: 32px; margin-bottom: 60px; }
.home-page .home-services .home-services-heading h2 { margin: 0; font: 550 clamp(34px, 4.1vw, 58px)/1.08 var(--display); letter-spacing: -.04em; }
.home-page .home-services .home-services-heading > p { max-width: 34ch; margin: 0 0 4px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.home-page .home-services .home-services-group { display: grid; grid-template-columns: minmax(140px, .25fr) minmax(0, 1fr); gap: 32px; border-top: 1px solid var(--line-dark); }
.home-page .home-services .home-services-group + .home-services-group { margin-top: 36px; }
.home-page .home-services .home-services-label { margin: 0; padding-top: 28px; color: var(--blue-dark); font-size: 15px; font-weight: 600; line-height: 1.5; }
.home-page .home-services .home-services-list { min-width: 0; }
.home-page .home-services .home-services-item { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) 28px; gap: 24px; align-items: start; min-height: 100px; padding: 26px 0; color: var(--ink); text-decoration: none; }
.home-page .home-services .home-services-item + .home-services-item { border-top: 1px solid var(--line-dark); }
.home-page .home-services .home-services-item h3 { margin: 0; font: 550 clamp(21px, 2vw, 28px)/1.2 var(--display); letter-spacing: -.025em; }
.home-page .home-services .home-services-item p { max-width: 42ch; margin: 2px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.home-page .home-services .home-services-item > span { color: var(--blue-dark); font: 400 25px/1.2 var(--body); text-align: right; }
.home-page .home-services .home-services-item:hover h3, .home-page .home-services .home-services-item:focus-visible h3 { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.home-page .home-services .home-services-item:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 6px; }
@media (max-width: 1100px) {
  .home-page .home-services .home-services-group { grid-template-columns: 130px minmax(0, 1fr); gap: 28px; }
  .home-page .home-services .home-services-item { grid-template-columns: minmax(0, 1fr) 26px; column-gap: 20px; row-gap: 10px; }
  .home-page .home-services .home-services-item h3 { grid-column: 1; }
  .home-page .home-services .home-services-item p { grid-column: 1; margin-top: 0; max-width: 55ch; }
  .home-page .home-services .home-services-item > span { grid-column: 2; grid-row: 1; }
}
@media (max-width: 680px) {
  .home-page .home-services .home-services-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 36px; }
  .home-page .home-services .home-services-heading > p { max-width: 34ch; font-size: 15px; }
  .home-page .home-services .home-services-group { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-page .home-services .home-services-group + .home-services-group { margin-top: 24px; }
  .home-page .home-services .home-services-label { padding-top: 20px; font-size: 14px; }
  .home-page .home-services .home-services-item { padding: 22px 0; }
  .home-page .home-services .home-services-item h3 { font-size: 23px; }
  .home-page .home-services .home-services-item p { font-size: 15px; }
}


/* contact-widget:start */
.contact-widget {
  position: fixed;
  z-index: 110;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  width: max-content;
  margin: 0;
  color: #10171c;
  font-family: var(--body, "Segoe UI", Arial, sans-serif);
  line-height: 1.4;
}

.contact-widget__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid #1748cf;
  border-radius: 28px;
  background: #1748cf;
  color: #fff;
  box-shadow: 0 4px 18px #07101726;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 650;
}

.contact-widget__toggle::-webkit-details-marker { display: none; }
.contact-widget__toggle::marker { content: ""; }
.contact-widget__toggle:hover { background: #103aad; }
.contact-widget__icon { display: block; flex: 0 0 22px; }
.contact-widget__icon--close { display: none; }
.contact-widget[open] .contact-widget__icon--chat { display: none; }
.contact-widget[open] .contact-widget__icon--close { display: block; }

.contact-widget__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 316px;
  max-width: calc(100vw - 48px);
  max-height: calc(100dvh - 124px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px;
  border: 1px solid #c5cbc8;
  border-radius: 12px;
  background: #f2f0e9;
  box-shadow: 0 8px 32px #07101726;
}

.contact-widget__title {
  margin: 0 0 16px;
  color: #10171c;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
}

.contact-widget__action {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid #bec8cb;
  border-radius: 6px;
  color: #10171c;
  background: #fbfaf5;
  text-decoration: none;
}

.contact-widget__action + .contact-widget__action { margin-top: 10px; }
.contact-widget__action:hover { border-color: #1748cf; background: #e8eefb; }
.contact-widget__action > span:not(.contact-widget__arrow) { flex: 1; min-width: 0; }
.contact-widget__action strong { display: block; font-size: 15px; font-weight: 650; }
.contact-widget__action small { display: block; margin-top: 4px; color: #526169; font-size: 12px; }
.contact-widget__arrow { font-size: 19px; color: #1748cf; }
.contact-widget__request > .contact-widget__icon { color: #1748cf; }
.contact-widget__toggle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 7px #1748cf; }
.contact-widget__action:focus-visible { outline: 2px solid #1748cf; outline-offset: 3px; }

body.menu-open .contact-widget,
body:has(.analytics-panel:not([hidden])) .contact-widget {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 600px) {
  .contact-widget {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
  .contact-widget__toggle { min-height: 48px; padding: 12px 16px; font-size: 14px; }
  .contact-widget__panel { max-width: calc(100vw - 24px); max-height: calc(100dvh - 96px); padding: 16px; }
}
/* contact-widget:end */

/* Materials reuse the V8 document layout with a flat, readable list. */
.home-page .home-proof .service-proofline { margin-top: 28px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.home-page .home-proof .service-proofline a { display: inline-block; min-height: 44px; padding-block: 9px; color: var(--blue-dark); text-decoration: underline; text-underline-offset: 4px; }
.estimate-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.6; }
.estimate-table caption { padding-bottom: 18px; text-align: left; font-weight: 600; }
.estimate-table :is(th, td) { padding: 18px; border-bottom: 1px solid var(--line-dark); text-align: left; vertical-align: top; }
.estimate-table thead { background: #e9eae4; }
.estimate-table tbody th { width: 25%; font-weight: 600; }
@media (max-width: 700px) {
  .estimate-table { min-width: 660px; font-size: 15px; }
  .estimate-table :is(th, td) { padding: 14px; }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .site-menu { gap: clamp(8px, 1.2vw, 12px); white-space: nowrap; }
  .site-header { gap: 14px; }
  .site-header .header-cta { padding-inline: 12px; }
  .home-page .site-header .wordmark strong { font-size: 22px; }
}

.materials-page .service-hero { grid-template-columns: minmax(0, 1fr); }
.materials-page .service-hero-copy { max-width: 960px; }
body.service-page.materials-page .service-hero h1 { max-width: 24ch; }
.catalog-jump-nav {
  margin-block: 22px;
  padding: 10px 0;
  background: transparent;
  color: inherit;
  border-color: var(--line-light);
}
.catalog-jump-nav a { color: #c2d7e1; }

.materials-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.materials-list > li {
  padding-block: 28px 32px;
  border-top: 1px solid var(--line-dark);
}

.materials-list > li > div { max-width: 920px; }
.materials-list .eyebrow { margin: 0 0 8px; }
.materials-list h3 {
  margin: 0;
  font: 550 clamp(23px, 2.5vw, 32px)/1.25 var(--display);
  letter-spacing: -.025em;
}

.materials-list h3 a { display: inline-block; min-height: 44px; padding-block: 4px; }
.materials-list h3 a:is(:hover, :focus-visible) {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
}

body.service-page .materials-list p:not(.eyebrow) { margin: 12px 0 0; }
body.service-page .materials-list .materials-related { font-size: 15px; }
.materials-related a {
  display: inline-block;
  min-height: 44px;
  padding-block: 10px;
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 700px) {
  .materials-list > li { padding-block: 22px 26px; }
}

/* local-contact-flow:start */
.contact-widget { position:relative; inset:auto; z-index:auto; width:auto; margin:0; padding:20px var(--pad); background:var(--night); }
.contact-widget__toggle { width:max-content; max-width:100%; margin-inline:auto; }
.contact-widget__panel { position:static; inset:auto; width:min(100%,700px); max-width:none; max-height:none; margin:16px auto 0; }
body.service-page .service-visual-agent .agent-board > i { width:28px; height:28px; min-height:0; justify-self:center; align-self:center; }
@media(max-width:560px) { body.service-page .service-hero .hero-facts > div { grid-template-columns:minmax(0,110px) minmax(0,1fr); } }
.footer .wordmark { z-index:auto; }
@media(max-width:820px) { .site-header { height:72px; min-height:72px; } .site-menu { top:72px; padding-top:24px; } .site-header.menu-active { background:var(--night); } }
/* local-contact-flow:end */
