:root {
  color-scheme: light;
  --paper: #FBFDFF;
  --tint: #F5F8FC;
  --tint-line: #DFE7F2;
  --panel-tint: #F5F9FF;
  --panel-line: #D5E3F8;
  --ink: #181c26;
  --muted: #4e5665;
  --accent: #2463EB;
  --line: #e2e4e9;
  --display: "Instrument Sans", Arial, sans-serif;
  --body: Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.65 var(--body); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #2463EB; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 104px)); margin-inline: auto; }
[id] { scroll-margin-top: 24px; }
main > section[id] { scroll-margin-top: 92px; }
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: transform .22s ease;
}
.header.is-hidden { transform: translateY(-100%); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; }
.brand { display: inline-flex; justify-self: start; align-items: center; gap: 8px; color: #141d26; font: 700 29px/1 Arial, sans-serif; letter-spacing: .025em; }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(13px, 2.25vw, 31px); color: var(--muted); font-size: 13px; font-weight: 500; }
.nav a, .button { white-space: nowrap; }
.nav a:hover, .text-link:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 49px; padding-inline: 16px; border: 1px solid #d5d8e0; border-radius: 7px; font-size: 14px; font-weight: 600; line-height: 1.25; transition: background-color .16s, border-color .16s, box-shadow .18s ease, translate .18s ease; }
.button:hover { background: #EDF4FF; border-color: #A9C3EF; }
.button-small { min-height: 40px; padding-inline: 13px; }
.button-primary { color: white; background: var(--accent); border-color: var(--accent); }
.button-primary:hover { background: #194FC8; border-color: #194FC8; }
.arrow { display: inline-block; position: relative; flex: 0 0 11px; width: 11px; height: 11px; }
.arrow::before { content: ""; position: absolute; inset: 1px 1px auto auto; width: 7px; height: 7px; border-top: 1.4px solid; border-right: 1.4px solid; }
.arrow::after { content: ""; position: absolute; top: 5px; left: 0; width: 11px; border-top: 1.4px solid; transform: rotate(-45deg); }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 44px; padding-block: 81px 84px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.045em; }
h1 { max-width: 560px; font-size: clamp(51px, 5.7vw, 81px); line-height: .99; text-wrap: balance; }
h1 span { color: var(--accent); }
.hero-copy > p:not(.section-label) { max-width: 490px; margin-top: 20px; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 21px; margin-top: 24px; }
.text-link { display: inline-flex; gap: 9px; align-items: center; font-size: 14px; font-weight: 600; }
.text-link span { color: var(--accent); }
.section-label { color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 10px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.network { min-width: 0; }
.network-panel { background: #EDF4FF; padding: clamp(12px, 2.25vw, 26px); border: 1px solid #D7E5FB; border-radius: 16px; }
.graph-header { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.network-title { color: #28456F; font-size: 13px; font-weight: 700; }
.graph-reset { min-height: 32px; border: 1px solid #C8DAF5; border-radius: 6px; background: white; color: #28456F; padding: 3px 8px; font: 600 12px var(--body); cursor: pointer; }
.graph-reset:hover { border-color: #709BE6; }
.graph-controls { display: flex; gap: 6px; }
.graph-next { display: none; }
@media (prefers-reduced-motion: reduce) {
  .graph-next { display: inline-block; }
}
.graph { container-type: inline-size; position: relative; height: clamp(380px, 29vw, 415px); background: radial-gradient(#80A7E54D 1px, transparent 1px) 0 0 / 15px 15px; }
.graph canvas, .graph-nodes { position: absolute; inset: 0; width: 100%; height: 100%; }
.graph canvas { pointer-events: none; }
.graph-node { --half-width: 61px; position: absolute; left: clamp(var(--half-width), var(--node-x), calc(100% - var(--half-width))); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 5px; width: calc(2 * var(--half-width)); min-height: 49px; padding: 6px; border: 1px solid #BFD4F6; border-radius: 8px; color: var(--ink); background: #fff; box-shadow: 0 3px 8px #33457212; font-family: var(--body); text-align: left; animation: graph-node-in .38s var(--delay) both; }
button.graph-node { cursor: grab; touch-action: none; user-select: none; }
.graph-node.dragging { cursor: grabbing; z-index: 2; }
.graph-node[aria-pressed="true"], .graph-node-featured { border-color: var(--accent); background: #DBEAFF; z-index: 1; }
button.graph-node:hover { border-color: #2463EB; background: #F7FAFF; }
.graph-node:focus-visible, .graph-reset:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.graph-node .node-type { display: block; color: #475777; font-size: 10px; font-weight: 600; line-height: 1.15; }
.graph-node strong { display: block; white-space: nowrap; margin-block: 3px; font: 700 14px/1.08 var(--display); letter-spacing: -.02em; }
@keyframes graph-node-in {
  from { opacity: 0; transform: translate(-50%, -43%) scale(.87); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.section { padding-block: clamp(50px, 6vw, 80px); }
.tinted { background: var(--tint); border-block: 1px solid var(--tint-line); }
h2 { font-size: clamp(37px, 4.25vw, 59px); line-height: 1.03; text-wrap: balance; }
h3 { font-size: 24px; line-height: 1.17; }
.intro { max-width: 560px; margin-top: 15px; color: var(--muted); }
.problem-body { display: grid; grid-template-columns: .83fr 1.17fr; align-items: start; gap: 22px 44px; margin-top: 24px; }
.problem-copy { max-width: 480px; color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; align-self: center; }
.problem-copy p + p { margin-top: 14px; }
.fragmentation { padding: clamp(12px, 2vw, 24px); border: 1px solid var(--line); border-radius: 13px; background: var(--paper); text-align: center; }
.fragmentation figcaption { color: #284D87; font-weight: 700; font-size: 15px; margin-bottom: 17px; }
.diagram-row { display: grid; list-style: none; padding: 0; margin: 0; }
.diagram-sources { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; }
.diagram-effects { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; padding-inline: 6%; }
.diagram-row li { display: flex; position: relative; flex-direction: column; align-items: center; }
.diagram-row strong { margin-top: 5px; font-size: 11px; line-height: 1.2; }
.diagram-row small { color: var(--muted); font-size: 10px; line-height: 1.2; margin-top: 3px; }
.diagram-sources li { padding-bottom: 12px; }
.diagram-sources li::after, .diagram-effects li::before { content: ""; position: absolute; width: 1px; height: 8px; background: #87ABE5; }
.diagram-sources li::after { bottom: 0; }
.diagram-effects li::before { top: 0; }
.diagram-effects li { padding-top: 11px; }
.diagram-connector { border-top: 1px solid #87ABE5; margin-inline: 10%; }
.diagram-icon { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: #EDF4FF; color: #2463EB; font: 700 16px Arial, sans-serif; }
.diagram-icon::before, .diagram-icon::after { content: ""; position: absolute; }
.diagram-effects .diagram-icon { background: #fceced; color: #a64655; }
.icon-db::before { width: 15px; height: 16px; border: 1px solid; border-radius: 50% / 24%; }
.icon-db::after { width: 15px; height: 6px; border: 1px solid; border-radius: 50%; transform: translateY(-5px); }
.icon-doc::before, .icon-sheet::before { width: 13px; height: 17px; border: 1px solid; border-radius: 2px; }
.icon-doc::after, .icon-sheet::after { width: 7px; height: 5px; border-block: 1px solid; }
.icon-sheet::after { border-left: 1px solid; }
.icon-chat::before { width: 16px; height: 11px; border: 1px solid; border-radius: 3px; }
.icon-chat::after { width: 5px; height: 5px; border: solid; border-width: 0 0 1px 1px; transform: translate(-4px,6px) skewY(-40deg); background: #EDF4FF; }
.icon-person::before { width: 7px; height: 7px; border: 1px solid; border-radius: 50%; transform: translateY(-4px); }
.icon-person::after { width: 13px; height: 7px; border: solid; border-width: 1px 1px 0; border-radius: 7px 7px 0 0; transform: translateY(4px); }
.icon-copy::before, .icon-copy::after { width: 10px; height: 12px; border: 1px solid; border-radius: 2px; }
.icon-copy::before { transform: translate(-2px,-2px); }
.icon-copy::after { transform: translate(2px,2px); background: #fceced; }
.icon-clock::before { width: 16px; height: 16px; border: 1px solid; border-radius: 50%; }
.icon-clock::after { width: 5px; height: 6px; border: solid; border-width: 0 0 1px 1px; transform: translate(2px,-2px); }
.icon-incomplete::before { width: 15px; height: 15px; border: 1px dashed; border-radius: 4px; }
.icon-incomplete::after { width: 5px; border-top: 1px solid; }
.icon-import::before { width: 16px; height: 8px; border: 1px solid; border-top-color: transparent; border-radius: 2px; transform: translateY(4px); }
.icon-import::after { width: 7px; height: 7px; border: solid; border-width: 0 1px 1px 0; transform: translateY(-3px) rotate(45deg); }
.icon-play::before { border-left: 12px solid; border-block: 8px solid transparent; transform: translateX(2px); }
.graph-node .diagram-icon { width: 23px; height: 23px; }
.icon-photo::before {
  width: 14px;
  height: 11px;
  border: 1px solid;
  border-radius: 2px;
}
.icon-photo::after {
  width: 6px;
  height: 6px;
  border: solid;
  border-width: 1px 0 0 1px;
  transform: translate(1px, 2px) rotate(45deg);
}
.icon-pin::before { width: 11px; height: 11px; border: 1px solid; border-radius: 50% 50% 50% 0; transform: translateY(-2px) rotate(-45deg); }
.icon-pin::after { width: 3px; height: 3px; background: currentColor; border-radius: 50%; transform: translateY(-2px); }
.icon-car::before { width: 15px; height: 8px; border: 1px solid; border-radius: 3px; transform: translateY(2px); }
.icon-car::after { width: 10px; height: 6px; border: solid; border-width: 1px 1px 0; border-radius: 3px 3px 0 0; transform: translateY(-4px); }
.icon-event::before { width: 15px; height: 15px; border: 1px solid; border-radius: 50%; }
.icon-event::after { width: 7px; height: 5px; border: solid; border-width: 0 0 1px 1px; transform: translate(2px,-2px); }
.icon-parcel::before { width: 13px; height: 12px; border: 1px solid; border-radius: 2px; }
.icon-parcel::after { width: 4px; height: 5px; border: 1px solid; border-top: 0; transform: translateY(-3px); }
.icon-transaction::before { width: 15px; height: 11px; border: 1px solid; border-radius: 2px; }
.icon-transaction::after { width: 13px; border-top: 1px solid; transform: translateY(-2px); }
.icon-building::before { width: 12px; height: 16px; border: 1px solid; border-radius: 2px; }
.icon-building::after { width: 5px; height: 5px; border-block: 1px solid; }

.getting-started, .pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 25px 0 0; }
.getting-started { list-style: none; padding: 0; }
.getting-started li, .pricing-grid article, .rollout li { position: relative; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.getting-started li { border-color: var(--panel-line); background: linear-gradient(145deg, #EDF4FF, #FBFDFF 68%); }
.getting-started li + li::before { content: "→"; position: absolute; top: 32px; left: -15px; color: var(--accent); font-weight: 700; }
.getting-started .diagram-icon { width: 44px; height: 44px; background: #DFEBFF; }
.getting-started h3 { margin-block: 9px 5px; }
.getting-started p, .pricing-grid ul, .rollout p { color: var(--muted); font-size: 14px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li + li { margin-top: 6px; }
.check-list li { padding-left: 17px; position: relative; }
.check-list li::before { content: ""; position: absolute; top: .44em; left: 1px; width: 8px; height: 5px; border-left: 1.5px solid #2463EB; border-bottom: 1.5px solid #2463EB; transform: rotate(-45deg); }

.profile-model { display: grid; grid-template-columns: .75fr 1.65fr; align-items: center; gap: clamp(20px, 4vw, 54px); padding: clamp(18px, 4vw, 40px); border: 1px solid var(--panel-line); border-radius: 16px; margin-top: 28px; background: var(--panel-tint); }
.profile-copy p, .profile-copy ul { margin-top: 12px; color: var(--muted); }
.profile-figure { min-width: 0; container-type: inline-size; }
.profile-pyramid { list-style: none; display: grid; gap: 5px; margin: 0; padding: 0; }
.pyramid-tier {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 12px var(--side-padding);
}
.pyramid-tier::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #E4EFFE;
  clip-path: polygon(
    var(--top-inset) 0, calc(100% - var(--top-inset)) 0,
    calc(100% - var(--bottom-inset)) 100%, var(--bottom-inset) 100%
  );
}
@supports (clip-path: shape(from 0 0, line to 100% 100%, close)) {
  .pyramid-tier::before {
    --corner-x: 9px;
    --corner-y: 7px;
    clip-path: shape(
      from calc(var(--top-inset) + var(--corner-x)) 0,
      line to calc(100% - var(--top-inset) - var(--corner-x)) 0,
      curve to calc(100% - var(--top-inset) + var(--corner-x) / 2) var(--corner-y)
        with calc(100% - var(--top-inset)) 0,
      line to calc(100% - var(--bottom-inset) - var(--corner-x) / 2) calc(100% - var(--corner-y)),
      curve to calc(100% - var(--bottom-inset) - var(--corner-x)) 100%
        with calc(100% - var(--bottom-inset)) 100%,
      line to calc(var(--bottom-inset) + var(--corner-x)) 100%,
      curve to calc(var(--bottom-inset) + var(--corner-x) / 2) calc(100% - var(--corner-y))
        with var(--bottom-inset) 100%,
      line to calc(var(--top-inset) - var(--corner-x) / 2) var(--corner-y),
      curve to calc(var(--top-inset) + var(--corner-x)) 0 with var(--top-inset) 0,
      close
    );
  }
}
.pyramid-tier strong { font-size: 15px; }
.pyramid-tier p { color: #365576; font-size: 12px; line-height: 1.4; }
.tier-management {
  --top-inset: 45%;
  --bottom-inset: 30%;
  --side-padding: 32%;
  flex-direction: column;
  gap: 3px;
  min-height: 130px;
  padding-top: 27px;
  text-align: center;
}
.tier-controllers { --top-inset: 29.4%; --bottom-inset: 20%; --side-padding: 27%; }
.tier-executors { --top-inset: 19.4%; --bottom-inset: 10%; --side-padding: 17%; }
.tier-profile { --top-inset: 9.4%; --bottom-inset: 0%; --side-padding: 12%; color: white; }
.tier-profile::before { background: linear-gradient(105deg, #174BB7, #2463EB); }
.tier-profile p { color: #EDF4FF; }
.pyramid-feed { display: flex; justify-content: space-around; color: var(--accent); font-weight: 700; line-height: 22px; }
.pyramid-sources { padding: 11px 12px; border-radius: 9px; text-align: center; background: #E4EFFE; color: #28456F; }
.pyramid-sources ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 10px; list-style: none; padding: 0; margin: 5px 0 0; font-size: 11px; }
.pyramid-directions { display: flex; flex-wrap: wrap; gap: 5px 12px; justify-content: space-between; padding-top: 8px; color: #365576; font-size: 12px; }
.pyramid-directions b { color: var(--accent); }
@media (width > 900px) {
@container (max-width: 520px) {
  .tier-management { --top-inset: 39%; --bottom-inset: 20%; --side-padding: 24%; min-height: 124px; }
  .tier-controllers { --top-inset: 19.5%; --bottom-inset: 13%; --side-padding: 20%; }
  .tier-executors { --top-inset: 12.5%; --bottom-inset: 6.5%; --side-padding: 14%; }
  .tier-profile { --top-inset: 6%; --side-padding: 10%; }
  .pyramid-tier .diagram-icon { width: 27px; height: 27px; }
}
@container (max-width: 350px) {
  .pyramid-tier:not(.tier-management) .diagram-icon { display: none; }
}
}
@media (max-width: 880px) {
  .profile-model { grid-template-columns: 1fr; }
}
@container (max-width: 390px) {
  .graph-node { --half-width: 42px; gap: 3px; padding: 4px; }
  .graph-node .diagram-icon { width: 16px; height: 16px; }
  .graph-node .diagram-icon::before, .graph-node .diagram-icon::after { scale: .76; }
  .graph-node .node-type { font-size: 8px; }
  .graph-node strong { font-size: 10.5px; }
}

.rollout-intro { max-width: none; }
#how-to-start { border-top: 1px solid var(--line); }
.rollout { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 18px; list-style: none; margin: 25px 0 0; padding: 0; counter-reset: rollout; }
.rollout li { counter-increment: rollout; background: linear-gradient(150deg, #EDF4FF, #FBFDFF 85%); border-color: #D5E3F8; transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) {
  .rollout li:hover { transform: translateY(-3px); box-shadow: 0 8px 18px #1C56B517; }
}
.rollout li::before { content: counter(rollout, decimal-leading-zero); display: block; color: var(--accent); font-weight: 700; font-size: 12px; margin-bottom: 8px; }
.rollout h3 { font-size: 21px; margin-bottom: 6px; }

.advantages {
  margin-top: 32px;
  padding: clamp(18px, 3vw, 30px);
  background: #F5F9FF;
  border: 1px solid var(--panel-line);
  border-radius: 16px;
}
.advantages h3 { font-size: 25px; }
.advantages-intro { margin-top: 5px; color: var(--muted); }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 17px 0 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--tint-line);
  border-radius: 12px;
  background: var(--tint-line);
}
.advantages-grid li { padding: 19px 12px; text-align: center; background: var(--paper); }
.advantage-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 50%;
  color: var(--accent);
  background: #EDF4FF;
}
.advantages-grid h4 { margin: 0 0 4px; font: 700 16px/1.25 var(--display); }
.advantages-grid p { color: var(--muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 860px) {
  .advantages-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .advantages-grid li { grid-column: span 2; }
  .advantages-grid li:nth-child(n + 4) { grid-column: span 3; }
}
@media (max-width: 520px) {
  .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advantages-grid li, .advantages-grid li:nth-child(n + 4) { grid-column: auto; }
  .advantages-grid li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
  .advantages-grid { grid-template-columns: 1fr; }
}

.pricing-grid .plan { transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
@media (hover: hover) {
  .pricing-grid .plan:hover { transform: translateY(-6px); border-color: #BDD2F4; box-shadow: 0 12px 24px #26385c1a; }
}
.plan-purpose { margin-top: 4px; color: #315589; font-size: 13px; font-weight: 600; }
.plan-description { margin-top: 8px; color: var(--muted); font-size: 14px; min-height: 5em; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; color: var(--accent); font: 600 43px/1.2 var(--display); letter-spacing: -.04em; margin-block: 9px 12px; }
.price span { font: 500 12px/1.3 var(--body); color: var(--muted); letter-spacing: 0; }
.price small { display: block; margin-top: 2px; font-size: 11px; }
.pricing-grid ul { border-top: 1px solid var(--line); padding-top: 12px; }
.section.contact-section { padding-bottom: clamp(25px, 3vw, 40px); }
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.65fr);
  gap: clamp(20px, 4vw, 54px);
  padding: clamp(18px, 4vw, 40px);
  border: 1px solid var(--panel-line);
  border-radius: 16px;
  background: var(--panel-tint);
}
.contact-copy p:not(.section-label) { margin-top: 12px; color: var(--muted); }
.demo-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.demo-form label { display: grid; gap: 5px; font-weight: 600; font-size: 14px; }
.demo-form input, .demo-form textarea {
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #C8DAF5;
  border-radius: 7px;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.4 var(--body);
}
.demo-form input:focus-visible, .demo-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.demo-form textarea { resize: vertical; }
.demo-message, .demo-send { grid-column: 1 / -1; }
.demo-send { justify-self: end; min-width: 105px; font-family: var(--body); cursor: pointer; }
.demo-send:disabled { opacity: .55; cursor: default; }
.demo-status { color: #174CB6; font-size: 14px; line-height: 1.5; }
.demo-status[data-state="error"] { color: #A64655; }
.footer { background: var(--tint); border-top: 1px solid var(--tint-line); color: var(--muted); font-size: 13px; }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px 17px;
  min-height: 95px;
}
.footer-rights { text-align: center; }
.footer-description { text-align: right; }
.footer .brand { font-size: 24px; }
.nav-toggle { display: none; }

@media (max-width: 1120px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 26px; padding-block: 64px; }
  .header-inner { gap: 14px; }
  .header-inner .brand { font-size: 26px; }
}
@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto auto; min-height: 68px; row-gap: 0; }
  .header-inner > .button { grid-column: 2; grid-row: 1; }
  .nav-toggle:not([hidden]) {
    grid-column: 3;
    grid-row: 1;
    display: grid;
    place-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
  }
  .nav-toggle span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { visibility: hidden; }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .nav { grid-column: 1 / -1; grid-row: 2; display: grid; justify-content: stretch; gap: 2px; padding: 8px 0 14px; }
  .nav[hidden] { display: none; }
  .nav a { padding: 10px 12px; border-radius: 7px; }
  .nav a[aria-current="location"] { background: #EDF4FF; }
  .nav a::after { display: none; }
  .pyramid-tier {
    --bottom-inset: 0%;
    --side-padding: 14px;
    justify-content: flex-start;
    flex-direction: row;
    gap: 10px;
    min-height: 68px;
    padding-block: 10px;
    text-align: left;
  }
  .pyramid-tier::before { clip-path: none; border-radius: 9px; }
  .pyramid-tier .diagram-icon { width: 27px; height: 27px; }
  .rollout { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 38px); }
  .hero, .problem-body, .getting-started, .pricing-grid, .rollout { grid-template-columns: 1fr; }
  .hero { gap: 24px; padding-block: 37px 42px; }
  h1 { font-size: clamp(40px, 9vw, 65px); }
  .hero-copy > p:not(.section-label) { margin-top: 14px; font-size: 15px; }
  .hero-actions { margin-top: 19px; }
  .section { padding-block: 43px; }
  .problem-body { gap: 15px; }
  .getting-started, .pricing-grid { gap: 10px; margin-top: 17px; }
  .getting-started li, .pricing-grid article, .rollout li { padding: 15px; }
  .getting-started li + li::before { content: none; }
  .plan-description { min-height: 0; }
  .section.contact-section { padding-bottom: 21.5px; }
  .contact-panel { grid-template-columns: minmax(0, 1fr); }
  .demo-form { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: auto minmax(0, 1fr); min-height: 0; gap: 8px 16px; padding-block: 22px; }
  .footer-description { grid-column: 2; grid-row: 1; }
  .footer-rights { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 28px); }
  .network-panel { padding: 12px; }
  .diagram-row strong { font-size: 10px; }
  .diagram-row small { font-size: 9px; }
  .diagram-icon { width: 30px; height: 30px; }
  .button-small { padding-inline: 9px; font-size: 12px; gap: 7px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { padding-inline: 11px; gap: 8px; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button-primary:not(:disabled):hover { translate: 0 -2px; box-shadow: 0 4px 12px #1C56B529; }
  .button-primary:not(:disabled):active { translate: 0 0; box-shadow: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .motion-enter { animation: landing-enter .48s cubic-bezier(.2,.65,.3,1) var(--enter-delay, 0ms) both; }
  .motion-enter:focus-within { animation: none; }
  @keyframes landing-enter {
    from { opacity: .35; translate: 0 12px; }
    to { opacity: 1; translate: 0 0; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header, .button, .pricing-grid .plan, .rollout li { transition: none; }
  .graph-node { animation: none; }
  .pricing-grid .plan:hover, .rollout li:hover { transform: none; }
}

.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .18s ease;
}
.nav a[aria-current="location"] { color: var(--accent); }
.nav a[aria-current="location"]::after { transform: scaleX(1); }

.diagram-choice { color: inherit; font: inherit; cursor: pointer; }
.diagram-sources .diagram-choice {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 1px 4px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  text-align: center;
}
.diagram-sources .diagram-choice:hover,
.diagram-sources .diagram-choice[aria-pressed="true"] { background: #EDF4FF; color: #194FC8; }
.diagram-effects .diagram-icon,
.pyramid-sources { transition: background-color .2s ease, box-shadow .2s ease; }
.diagram-effects .diagram-related .diagram-icon {
  background: #FCE0E4;
  box-shadow: 0 0 0 2px #D27B87;
}
.diagram-effects .diagram-related strong { color: #8C3543; }
.diagram-detail {
  display: grid;
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid #D5E3F8;
  color: #365576;
  font-size: 12px;
  line-height: 1.45;
}
.profile-figure .diagram-detail {
  padding: 9px 10px;
  border: 1px solid #D5E3F8;
  border-radius: 7px;
  background: #F5F9FF;
}
.diagram-detail > span { grid-area: 1 / 1; }
.diagram-detail-spacer { visibility: hidden; }

.pyramid-tier .diagram-choice {
  position: absolute;
  inset: 0 var(--bottom-inset);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}
.diagram-choice:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pyramid-tier::before { transition: filter .2s ease; }
.pyramid-tier:has(.diagram-choice:hover, .diagram-choice[aria-pressed="true"])::before { filter: saturate(1.5) brightness(.93); }
.pyramid-engaged .pyramid-sources { box-shadow: inset 0 0 0 2px #9ABAF2; }
.pyramid-engaged .tier-profile::before { filter: saturate(1.4) brightness(.88); }
.pyramid-engaged .pyramid-feed { color: #174BB7; }
@media (prefers-reduced-motion: reduce) {
  .nav a::after, .diagram-effects .diagram-icon, .pyramid-sources, .pyramid-tier::before { transition: none; }
}

.network-background {
  position: relative;
  isolation: isolate;
}
#how-it-works.network-background::before,
.network-background::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(395px, 48%);
  aspect-ratio: 340 / 220;
  pointer-events: none;
  background: url("./network-motif.svg") left center / contain no-repeat;
  opacity: .4;
  -webkit-mask-image: linear-gradient(to right, #000 38%, transparent 100%);
  mask-image: linear-gradient(to right, #000 38%, transparent 100%);
}
.network-background::before { left: 0; }
.network-background::after { right: 0; transform: scaleX(-1); }
#how-it-works.network-background::before { top: 27%; }
#how-it-works.network-background::after { top: 4px; }
#how-to-start.network-background::after { top: 4px; right: 4px; }
@media (max-width: 1280px) {
  #how-it-works.network-background::before { display: none; }
  .network-background::after {
    width: min(175px, 46%);
    background-image: url("./network-motif-mobile.svg");
    opacity: .34;
  }
}

#use-cases { scroll-margin-top: 92px; }
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}
.use-case-card {
  position: relative;
  display: block;
  padding: 20px 48px 20px 20px;
  border: 1px solid var(--tint-line);
  border-radius: 12px;
  background: white;
}
.use-case-card:hover, .use-case-card:focus-visible { border-color: var(--accent); }
.use-case-card .section-label { display: inline-block; margin-bottom: 5px; }
.use-case-card h4 {
  margin: 0 0 5px;
  font: 600 clamp(18px, 2vw, 22px)/1.2 var(--display);
  letter-spacing: -.025em;
}
.use-case-card p, .case-records p, .case-steps p { color: var(--muted); font-size: 14px; }
.use-case-card .arrow { position: absolute; inset: 22px 20px auto auto; color: var(--accent); }

.case-header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 84px);
}
.case-hero h1 { max-width: 18ch; font-size: clamp(42px, 5.3vw, 70px); }
.case-back { color: var(--accent); font-weight: 600; }
.case-back:hover { text-decoration: underline; }
.case-hero .case-back { display: inline-block; margin-bottom: 25px; }
.case-profile {
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid #D7E5FB;
  border-radius: 16px;
  background: #EDF4FF;
}
.case-profile figcaption { font: 600 24px/1.2 var(--display); }
.case-records {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}
.case-records li { padding: 10px 14px; border: 1px solid var(--tint-line); border-radius: 9px; background: white; }
.case-records .section-label { display: block; margin-bottom: 0; }
.case-finding { color: #28456F; font-weight: 600; }
.case-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  counter-reset: workflow;
  list-style: none;
}
.case-steps li {
  counter-increment: workflow;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--tint-line);
  border-radius: 12px;
  background: white;
}
.case-steps li::before { display: block; margin-bottom: 8px; color: var(--accent); font-weight: 700; content: counter(workflow, decimal-leading-zero); }
.case-steps h3 { margin-bottom: 6px; font-size: 22px; line-height: 1.2; }
.case-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }

@media (max-width: 760px) {
  .case-hero, .case-steps { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .use-case-grid { grid-template-columns: 1fr; }
}

.claim-graph .claim-vehicle {
  width: fit-content;
  margin-inline: auto;
  padding: 8px 20px;
  border: 1px solid #BFD4F6;
  border-radius: 9px;
  background: white;
  text-align: center;
}
.claim-vehicle .section-label { display: block; margin: 0; }
.claim-branches { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 18px; }
.claim-branches::before {
  position: absolute;
  inset: 0 auto auto 50%;
  height: 9px;
  border-left: 1px solid #779AD1;
  content: "";
}
.claim-branches::after {
  position: absolute;
  top: 9px;
  left: calc(25% - 3px);
  right: calc(25% - 3px);
  height: 9px;
  border: 1px solid #779AD1;
  border-bottom: 0;
  content: "";
}
.claim-branch .case-records { gap: 10px; margin: 0; }
.claim-branch li { position: relative; padding: 7px 9px; text-align: center; }
.claim-branch li + li::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  height: 11px;
  border-left: 1px solid #779AD1;
  content: "";
}
.claim-branch .section-label { font-size: 11px; line-height: 1.35; }
.claim-branch li:first-child .section-label { min-height: 2.7em; }
.claim-match {
  position: relative;
  display: grid;
  justify-items: center;
  margin: 0;
  padding: 8px 0 0;
  color: #A64655;
}
.claim-match::before {
  position: absolute;
  top: 0;
  left: calc(25% - 3px);
  right: calc(25% - 3px);
  height: 19px;
  border: 1px solid currentColor;
  border-top: 0;
  content: "";
}
.claim-match span { position: relative; padding: 1px 8px; border-radius: 4px; background: #FCECED; font-size: 12px; font-weight: 700; }
.claim-graph figcaption { margin-top: 12px; color: var(--muted); font: 400 13px/1.5 var(--body); }
.case-story { padding-bottom: clamp(38px, 5vw, 64px); }
.case-story h2, .case-discovery h2 { font-size: clamp(26px, 4vw, 38px); }
.case-story p, .case-discovery p { margin-top: 12px; color: var(--muted); }
.case-outcome > .intro { max-width: none; }
.case-discovery { padding-bottom: 0; }
.case-discovery-panel { margin-top: 0; }

.water-hero { row-gap: 0; align-items: stretch; }
.water-hero-heading { grid-column: 1 / -1; }
.water-hero-copy { display: flex; flex-direction: column; justify-content: space-between; }
.water-graph { display: flex; flex-direction: column; justify-content: center; }
.water-object {
  position: relative;
  padding: 12px 18px;
  border: 1px solid #BFD4F6;
  border-radius: 9px;
  background: white;
  text-align: center;
}
.water-object p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.water-records { position: relative; padding-left: 20px; margin-block: 18px 0; }
.water-network { position: relative; }
.water-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.water-connections path {
  fill: none;
  stroke: #779AD1;
  stroke-width: 1;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.water-records li { position: relative; padding: 10px 12px; }
.water-graph figcaption { margin-top: 16px; color: var(--muted); font: 400 14px/1.5 var(--body); }

@media (max-width: 760px) {
  .water-hero { row-gap: 20px; }
  .water-hero-heading .section-label { margin-bottom: 0; }
}

.use-case-static:hover { border-color: var(--tint-line); }

.use-cases-section > .advantages { margin-top: 14px; }
#how-it-works { padding-bottom: 0; }

.case-next { display: grid; gap: 4px; max-width: 52ch; min-width: 0; }
.case-next-label { font-size: 14px; font-weight: 400; color: var(--muted); }

.case-next:hover { text-decoration: none; }
.case-next:hover > span:last-child { text-decoration: underline; }
