.sales-page {
  --sales-dark: #141936;
  --sales-border: #ccc9bc;
  --sales-light: #f8f6ef;
  --sales-accent: #1746d1;
}
.sales-page h1, .sales-page h2, .sales-page h3, .sales-page p { margin: 0; }
.sales-page main { padding-bottom: clamp(25px, 5vw, 64px); }
.sales-page h1, .sales-page h2, .sales-page h3 { text-wrap: balance; }
.sales-page h1, .sales-page h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.055em; }
.sales-page h2 { font-size: clamp(2.1rem, 4.2vw, 4.6rem); line-height: 1; }
.sales-page h3 { font: 600 clamp(1.5rem, 2.5vw, 2.4rem)/1.06 var(--serif); letter-spacing: -.036em; }
.sales-page p { line-height: 1.53; }
.sales-page .sales-kicker {
  color: var(--sales-accent);
  font: 700 .67rem/1.4 var(--sans);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.sales-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: center;
  padding-block: clamp(36px, 6vw, 96px) clamp(28px, 4vw, 64px);
}
.sales-page .sales-terms { margin-top: 12px; color: var(--muted); font: 400 .73rem/1.45 var(--sans); }
.sales-hero-copy .sales-kicker, .visual-caption > span { display: flex; align-items: center; gap: 8px; }
.sales-hero-copy .sales-kicker span {
  width: 8px; height: 8px;
  flex: none; background: var(--sales-accent);
}
.sales-page h1 { margin: 13px 0 22px; font-size: clamp(3.15rem, 6.65vw, 7rem); line-height: .92; }
.sales-page h1 em { display: block; color: var(--sales-accent); font-style: normal; }
.sales-page .sales-lead { max-width: 44ch; color: var(--muted); font-size: clamp(1.04rem, 1.52vw, 1.32rem); }
.sales-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.sales-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  min-height: 47px;
  padding: 10px 14px;
  border: 1px solid currentColor;
  color: var(--ink);
  font: 700 .77rem/1.35 var(--sans);
  text-decoration: none;
  transition: color .2s, border-color .2s, background-color .2s, transform .2s;
}
.sales-button span { font-size: 1rem; line-height: 1; }
.sales-button-primary { background: var(--signal); border-color: var(--ink); }
.sales-button-quiet { border-color: var(--sales-border); }
.sales-button:hover { color: white; background: var(--sales-accent); border-color: var(--sales-accent); transform: translateY(-2px); }

.sales-visual {
  min-width: 0;
  margin: 0;
  border: 1px solid #252f58;
  border-radius: 12px;
  overflow: hidden;
  color: #f2f5ff;
  background: var(--sales-dark);
  box-shadow: 0 18px 31px -14px #151b43a6;
}
.visual-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px clamp(12px, 2vw, 22px);
  border-bottom: 1px solid #8797d334;
  font: 400 .67rem/1.3 var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.visual-caption > span { color: #bac8f3; }
.visual-caption > span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); flex: none; }
.rack-illustration { display: block; width: 100%; height: auto; background: #13192f; }
.visual-route { fill: none; stroke: #8294d5; stroke-width: 1.4; opacity: .38; transition: opacity .3s, stroke .3s; }
.visual-route .route-motion { stroke: #e4ff75; stroke-width: 2.8; stroke-dasharray: 7 101; stroke-linecap: round; opacity: 0; }
.visual-tag { transition: opacity .3s; opacity: .62; }
.visual-tag rect { fill: #1f2d56; stroke: #8196d7; }
.visual-tag text { fill: #e7ecff; font: 700 10px var(--sans); letter-spacing: 1px; }
[data-mode="ki"] :is(.route-ki, .tag-ki),
[data-mode="apps"] :is(.route-apps, .tag-apps),
[data-mode="data"] :is(.route-data, .tag-data) { opacity: 1; }
[data-mode="ki"] .route-ki, [data-mode="apps"] .route-apps, [data-mode="data"] .route-data { stroke: #a9c252; }
[data-mode="ki"] .tag-ki rect, [data-mode="apps"] .tag-apps rect, [data-mode="data"] .tag-data rect { stroke: var(--signal); }
[data-mode="ki"] .route-ki .route-motion,
[data-mode="apps"] .route-apps .route-motion,
[data-mode="data"] .route-data .route-motion {
  animation: sales-signal 1.7s linear 2 both;
}
@keyframes sales-signal {
  0% { stroke-dashoffset: 7; opacity: 0; }
  12%, 76% { opacity: 1; }
  100% { stroke-dashoffset: -100; opacity: 0; }
}
.sales-visual figcaption { padding: 13px clamp(12px, 2vw, 22px) 16px; border-top: 1px solid #8797d334; }
.visual-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.visual-modes button {
  min-height: 36px;
  padding: 5px 3px;
  border: 1px solid #59688d;
  border-radius: 4px;
  background: transparent;
  color: #e4eaff;
  font: 700 clamp(.64rem, .9vw, .76rem)/1.2 var(--sans);
  transition: color .2s, border-color .2s, background .2s;
}
.visual-modes button:hover { border-color: var(--signal); }
.visual-modes button[aria-pressed="true"] { color: var(--ink); background: var(--signal); border-color: var(--signal); }
.visual-modes button:focus-visible, .sales-contact a:focus-visible { outline-color: var(--signal); }
.signal-guide {
  display: grid;
  margin-top: 13px;
}
.signal-panel {
  min-width: 0;
  min-height: 146px;
  padding: 13px 14px;
  border: 1px solid #8797d34d;
  border-radius: 6px;
  background: #151d3a;
}
.sales-visual .signal-panel h2 {
  color: #f2f5ff;
  font: 700 .92rem/1.3 var(--sans);
  letter-spacing: 0;
  text-wrap: wrap;
}
.signal-panel dl { margin: 8px 0 0; font: 400 .76rem/1.42 var(--sans); }
.signal-panel dl > div { display: grid; grid-template-columns: 7.5ch 1fr; gap: 8px; }
.signal-panel dl > div + div { margin-top: 7px; padding-top: 7px; border-top: 1px solid #8797d333; }
.signal-panel dt { color: #e3ff78; font-weight: 700; }
.signal-panel dd { margin: 0; color: #cbd7f6; }
@media (max-width: 420px) {
  .signal-panel { min-height: 0; }
  .signal-panel dl > div { grid-template-columns: 1fr; gap: 2px; }
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 14px 0;
  list-style: none;
  border-block: 1px solid var(--sales-border);
  font: 700 clamp(.71rem, 1.05vw, .88rem)/1.4 var(--sans);
}
.value-strip li { display: flex; justify-content: center; align-items: center; gap: 8px; padding-inline: 10px; }
.value-strip li + li { border-left: 1px solid var(--sales-border); }
.value-strip li span { color: var(--sales-accent); font-size: .67rem; }

.sales-section { padding-block: clamp(44px, 7vw, 102px); }
.sales-section + .sales-section { border-top: 1px solid var(--sales-border); }
.sales-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 10px min(6vw, 86px);
  align-items: end;
  margin-bottom: clamp(20px, 3vw, 40px);
}
.sales-section-head .sales-kicker { grid-column: 1 / -1; }
.sales-section-head p:last-child { color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.23rem); max-width: 47ch; }
.sales-paths { display: grid; gap: 12px; }
.sales-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sales-paths article {
  min-width: 0;
  padding: clamp(15px, 2.5vw, 34px);
  border: 1px solid var(--sales-border);
  border-radius: 8px;
  background: var(--sales-light);
  transition: border-color .25s, box-shadow .25s;
}
.sales-paths article:hover { border-color: #8b9ed6; box-shadow: 0 9px 25px -22px #10287c; }
.sales-paths h3 { margin: 14px 0 9px; }
.sales-paths article > p:last-child { color: var(--muted); }
.sales-paths article { border-top: 3px solid var(--sales-accent); }
.sales-paths article:nth-child(2) { border-top-color: #779526; }
.sales-paths article:nth-child(3) { border-top-color: #394368; }
.sales-details { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sales-border); }
.sales-details li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: baseline;
  gap: 7px 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--sales-border);
}
.sales-details strong { font: 600 1.22rem/1.25 var(--serif); }
.sales-details span { color: var(--muted); line-height: 1.48; }

.sales-demo, .sales-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
}
.sales-demo {
  padding: 19px 0 27px;
  border-top: 1px solid var(--sales-border);
}
.sales-demo h2 { margin: 6px 0 8px; font-size: clamp(1.65rem, 3vw, 2.7rem); }
.sales-demo p:last-child { color: var(--muted); }
.sales-demo .sales-actions { flex: 0 0 auto; margin-top: 0; }
.sales-contact {
  padding: clamp(22px, 4.4vw, 68px);
  border-radius: 10px;
  background: linear-gradient(125deg, #151a35, #23336b);
  color: #f5f5ff;
}
.sales-contact h2 { max-width: 18ch; margin: 9px 0 13px; }
.sales-contact p:last-child { max-width: 56ch; color: #d2ddf9; }
.sales-contact .sales-kicker { color: var(--signal); }
.sales-contact .sales-button { flex: none; }

@media (prefers-reduced-motion: no-preference) {
  .sales-hero-copy { animation: sales-enter .72s cubic-bezier(.22,.61,.36,1) both; }
  .sales-visual { animation: sales-enter .78s .1s cubic-bezier(.22,.61,.36,1) both; }
  .sales-page .is-entering { animation: sales-enter .62s cubic-bezier(.22,.61,.36,1) both; }
}
@keyframes sales-enter { from { opacity: .72; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .sales-page *, .sales-page *::before, .sales-page *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 950px) {
  .sales-demo { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 740px) {
  .sales-hero, .sales-section-head { grid-template-columns: 1fr; }
  .sales-page h1 { font-size: clamp(2.8rem, 9.8vw, 5rem); }
  .sales-page h1 em { max-width: 13ch; }
  .sales-paths { grid-template-columns: 1fr; }
  .sales-contact { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 465px) {
  .value-strip { grid-template-columns: 1fr; padding: 0; }
  .value-strip li { justify-content: flex-start; padding: 9px 0; }
  .value-strip li + li { border-left: 0; border-top: 1px solid var(--sales-border); }
  .sales-details li { grid-template-columns: 1fr; }
  .visual-caption { letter-spacing: .025em; }
}

