/* src/cases.css */
/*
 * The case studies (03-11-2026): an overview and two stories on a dark
 * stage. Only the case pages load this sheet, after the landing's own, so
 * the landing's critical path does not carry it. Same rules as landing.css:
 * tokens only (the stage's own --landing-case-* tokens live in the design
 * system's tokens-landing.css), breakpoints 720 and 980 px only.
 */

/* The page body carries data-theme="dark", so the tokens are the dark ones
   whatever the visitor chose; html is painted to match. Phone first. */
html.l-casepage {
  background: var(--zee-950);
  color-scheme: dark;
}

.l-cs {
  position: relative;
  overflow: clip;
  background: var(--bg);
  color: var(--text);
}

.l-cs__glow {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 960px;
  background: var(--landing-case-glow);
  pointer-events: none;
}

.l-cs-wrap {
  position: relative;
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-20);
  padding-left: var(--space-20);
}

/* --- The head of a page: crumbs, eyebrow, title, lede and the figures. */
.l-cs-hero {
  padding-top: var(--space-48);
  padding-bottom: var(--space-48);
}

.l-cs-crumb {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-24);
  color: var(--text-3);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
}

.l-cs-crumb a {
  color: var(--text-2);
  text-decoration: none;
}

.l-cs-crumb a:hover {
  color: var(--text);
  text-decoration: underline;
}

.l-cs-crumb [aria-current] {
  color: var(--text);
}

.l-cs-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8) var(--space-12);
  margin-bottom: var(--space-16);
  color: var(--text-2);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-600);
}

.l-cs-title {
  max-width: 18ch;
  color: var(--text);
  font-size: var(--fs-36);
  line-height: var(--lh-36);
  letter-spacing: var(--ls-36);
  font-weight: var(--weight-700);
  text-wrap: balance;
}

.l-cs-title__2 {
  background: var(--landing-case-ink);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.l-cs-lede {
  max-width: 62ch;
  margin-top: var(--space-20);
  color: var(--text-2);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
}

.l-cs-kpis {
  display: grid;
  gap: var(--space-12);
  margin: var(--space-32) 0 0;
  padding: 0;
  list-style: none;
}

.l-cs-kpi {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-16) var(--space-20);
  border-radius: var(--radius-16);
  background: var(--landing-case-card);
  box-shadow: var(--shadow-1);
}

.l-cs-kpi__value {
  color: var(--text);
  font-size: var(--fs-28);
  line-height: var(--lh-28);
  letter-spacing: var(--ls-28);
  font-weight: var(--weight-700);
  font-variant-numeric: tabular-nums;
}

.l-cs-kpi:first-child .l-cs-kpi__value {
  color: var(--accent);
}

.l-cs-kpi:last-child .l-cs-kpi__value {
  color: var(--ok);
}

.l-cs-kpi__label {
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-cs-note {
  max-width: 88ch;
  margin-top: var(--space-24);
  padding-left: var(--space-12);
  border-left: var(--border-1) solid var(--warn);
  color: var(--text-3);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
}

/* --- The chapter rail: sticky under the header, the reader's place in the story. */
.l-cs-rail {
  position: sticky;
  top: var(--control-48);
  z-index: var(--z-20);
  border-top: var(--border-1) solid var(--line);
  border-bottom: var(--border-1) solid var(--line);
  background: var(--landing-case-glass);
  backdrop-filter: blur(12px);
}

.l-cs-rail ol {
  display: flex;
  gap: var(--space-4);
  margin: 0 auto;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.l-cs-rail ol::-webkit-scrollbar {
  display: none;
}

.l-cs-rail a {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  height: var(--control-48);
  padding: 0 var(--space-8);
  color: var(--text-3);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-500);
  white-space: nowrap;
  text-decoration: none;
}

.l-cs-rail__n {
  display: grid;
  place-items: center;
  width: var(--control-24);
  height: var(--control-24);
  border-radius: var(--radius-round);
  background: var(--surface-2);
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
  font-variant-numeric: tabular-nums;
}

.l-cs-rail__t {
  display: none;
}

.l-cs-rail a:hover,
.l-cs-rail a.is-current {
  color: var(--text);
}

.l-cs-rail a.is-current .l-cs-rail__n {
  background: var(--iris-600);
  color: var(--mist-50);
}

.l-cs-rail a.is-current .l-cs-rail__t,
.l-cs-rail li:first-child a:not(.is-seen) .l-cs-rail__t {
  display: inline;
}

.l-cs-rail a.is-seen:not(.is-current) .l-cs-rail__n {
  background: var(--accent-soft);
  color: var(--accent);
}

.l-cs-rail__bar {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
}

.l-cs-rail__bar i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--landing-case-line);
}

/* --- A chapter: number, title and text, then its drawing. */
.l-cs-ch {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
  scroll-margin-top: 96px;
}

.l-cs-ch + .l-cs-ch {
  border-top: var(--border-1) solid var(--line);
}

.l-cs-ch__head {
  max-width: 760px;
  margin-bottom: var(--space-32);
}

.l-cs-ch__n {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  color: var(--accent);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-600);
}

.l-cs-ch__n span {
  padding: var(--space-2) var(--space-8);
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  font-variant-numeric: tabular-nums;
}

.l-cs-ch__title {
  color: var(--text);
  font-size: var(--fs-28);
  line-height: var(--lh-28);
  letter-spacing: var(--ls-28);
  font-weight: var(--weight-700);
  text-wrap: balance;
}

.l-cs-ch__text {
  margin-top: var(--space-12);
  color: var(--text-2);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
}

/* --- Shared bits: icon tiles, the mark, chat messages. */
.l-cs-layer__icon,
.l-cs-node__icon,
.l-cs-role__icon,
.l-cs-point__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: var(--control-40);
  height: var(--control-40);
  border-radius: var(--radius-10);
  background: var(--surface-3);
  color: var(--text-2);
}

.l-cs-layer__icon .l-icon,
.l-cs-node__icon .l-icon,
.l-cs-role__icon .l-icon,
.l-cs-point__icon .l-icon {
  width: var(--icon-20);
  height: var(--icon-20);
}

.l-cs-tool {
  width: 22px;
  height: 22px;
}

.l-cs-mark {
  width: 40px;
  height: 40px;
}

.l-cs-layer__text {
  display: grid;
  min-width: 0;
}

.l-cs-layer__text b {
  color: var(--text);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  font-weight: var(--weight-600);
}

.l-cs-layer__text span {
  color: var(--text-2);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
}

.l-cs-msg {
  max-width: 88%;
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-16);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-cs-msg--user {
  justify-self: end;
  border-bottom-right-radius: var(--radius-6);
  background: var(--accent-soft);
  color: var(--text);
}

.l-cs-msg__who {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--accent);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
}

.l-cs-msg--ai,
.l-cs-msg--miko {
  justify-self: start;
  border-bottom-left-radius: var(--radius-6);
  background: var(--surface-3);
  color: var(--text);
}

.l-cs-msg--miko {
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
}

.l-cs-msg__mark {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: var(--space-2);
}

.l-cs-cite {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-cs-cite .l-icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

/* --- Chapter 1, today. */
.l-cs-today {
  display: grid;
  gap: var(--space-32);
}

.l-cs-stack {
  display: grid;
  gap: var(--space-16);
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-cs-layer,
.l-cs-systems,
.l-cs-island {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-12);
  min-height: 72px;
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-16);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.l-cs-stack > li + li::before {
  position: absolute;
  top: -17px;
  left: 35px;
  height: 16px;
  border-left: 2px dashed var(--line-strong);
  content: '';
}

.l-cs-stack__ground {
  position: relative;
}

.l-cs-layer--ai {
  border: var(--border-1) dashed var(--line-strong);
  box-shadow: none;
  transform: translateX(14px) rotate(-1.2deg);
}

.l-cs-layer--pipes .l-cs-layer__icon {
  background: var(--landing-case-warn);
  color: var(--warn);
}

.l-cs-systems {
  flex-wrap: wrap;
  background: var(--surface-2);
}

.l-cs-systems__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-cs-systems__chips li {
  padding: var(--space-2) var(--space-8);
  border-radius: var(--radius-pill);
  background: var(--surface-3);
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-500);
}

.l-cs-journey {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-cs-journey__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-cs-journey__step:not(:last-child)::after {
  position: absolute;
  top: 32px;
  bottom: 0;
  left: 15px;
  border-left: 2px solid var(--line);
  content: '';
}

.l-cs-journey__dot {
  display: grid;
  flex: none;
  place-items: center;
  width: var(--control-32);
  height: var(--control-32);
  border-radius: var(--radius-round);
  background: var(--surface-3);
  color: var(--text);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
}

.l-cs-journey__step.is-wait {
  color: var(--warn);
  font-weight: var(--weight-600);
}

.l-cs-journey__step.is-wait .l-cs-journey__dot {
  background: var(--landing-case-warn);
  color: var(--warn);
}

.l-cs-pains {
  margin-top: var(--space-24);
  padding: var(--space-16) var(--space-20);
  border-radius: var(--radius-16);
  background: var(--landing-case-card);
  box-shadow: var(--shadow-1);
}

.l-cs-pains__head {
  margin-bottom: var(--space-12);
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
}

.l-cs-pains ul {
  display: grid;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-cs-pains li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-cs-pains .l-icon {
  flex: none;
  margin-top: var(--space-2);
  color: var(--warn);
}

.l-cs-islands {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-12);
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-cs-island {
  min-height: 64px;
  border: var(--border-1) dashed var(--line-strong);
  box-shadow: none;
}

.l-cs-island:nth-child(odd) {
  transform: rotate(-1deg);
}

.l-cs-island:nth-child(3n) {
  transform: translateY(6px) rotate(1.2deg);
}

.l-cs-island .l-cs-layer__icon {
  width: var(--control-32);
  height: var(--control-32);
}

.l-cs-island .l-cs-layer__text b {
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-cs-island .l-cs-layer__text span {
  display: none;
}

.l-cs-loose {
  display: grid;
  gap: var(--space-12);
  margin: 0;
  padding: 0 0 var(--space-16);
  overflow: hidden;
  border: var(--border-1) dashed var(--line-strong);
  border-radius: var(--radius-16);
  background: var(--surface);
}

.l-cs-loose__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding: var(--space-12) var(--space-16);
  border-bottom: var(--border-1) solid var(--line);
  color: var(--text-2);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-600);
}

.l-cs-loose .l-cs-msg {
  margin: 0 var(--space-16);
}

.l-cs-loose__foot {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin: var(--space-4) var(--space-16) 0;
  color: var(--text-3);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
}

/* --- Chapter 2, the change: one drawing, two states (is-miko on the root). */
.l-cs-morph {
  padding: var(--space-16);
  border-radius: var(--radius-24);
  background: var(--landing-case-panel);
  box-shadow: var(--shadow-1);
}

.l-cs-morph__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
}

.l-cs-switch {
  display: inline-flex;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  box-shadow: var(--shadow-1);
}

.l-cs-switch__button {
  min-height: var(--control-32);
  padding: 0 var(--space-16);
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-600);
  cursor: pointer;
  transition: background-color var(--duration-180) var(--ease-out), color var(--duration-180) var(--ease-out);
}

.l-cs-switch__button:hover {
  color: var(--text);
}

.l-cs-switch__button[aria-pressed='true'] {
  background: var(--iris-600);
  color: var(--mist-50);
}

.l-cs-morph__stage {
  margin-top: var(--space-24);
}

.l-cs-morph__caption {
  margin-top: var(--space-20);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  text-align: center;
}

.l-cs-morph__then,
.l-cs-morph.is-miko .l-cs-morph__now {
  display: none;
}

.l-cs-morph.is-miko .l-cs-morph__then {
  display: inline;
}

/* The stack: three layers fold away, the product's house unfolds in their place. */
.l-cs-scene--stack {
  display: grid;
  max-width: 760px;
  margin: 0 auto;
}

.l-cs-fold {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition: grid-template-rows var(--duration-landing-grow) var(--ease-settle), opacity var(--duration-420) var(--ease-out);
}

.l-cs-fold__in {
  min-height: 0;
  overflow: hidden;
}

.l-cs-fold--old .l-cs-fold__in {
  padding: var(--space-2) var(--space-16) var(--space-2) var(--space-2);
}

.l-cs-fold--new {
  grid-template-rows: 0fr;
  opacity: 0;
}

.l-cs-morph.is-miko .l-cs-fold--old {
  grid-template-rows: 0fr;
  opacity: 0;
}

.l-cs-morph.is-miko .l-cs-fold--new {
  grid-template-rows: 1fr;
  opacity: 1;
}

.l-cs-stack--compact .l-cs-layer {
  min-height: 60px;
}

.l-cs-wire {
  position: relative;
  display: grid;
  place-items: center;
  height: 64px;
}

.l-cs-wire::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 2px dashed var(--line-strong);
  content: '';
}

.l-cs-wire::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
  background: var(--landing-case-line-down);
  opacity: 0;
  content: '';
  transition: opacity var(--duration-420) var(--ease-out);
}

.l-cs-wire span {
  position: relative;
  z-index: var(--z-1);
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-2) var(--space-12);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
  box-shadow: var(--shadow-1);
}

.l-cs-wire .l-icon {
  width: 14px;
  height: 14px;
}

.l-cs-wire .l-cs-wire__new,
.l-cs-morph.is-miko .l-cs-wire .l-cs-wire__old {
  display: none;
}

.l-cs-morph.is-miko .l-cs-wire .l-cs-wire__new {
  display: inline-flex;
  background: var(--iris-950);
  color: var(--accent);
  box-shadow: var(--landing-case-shadow);
}

.l-cs-morph.is-miko .l-cs-wire::after {
  opacity: 1;
}

.l-cs-morph.is-miko .l-cs-wire::before {
  border-left-color: transparent;
}

.l-cs-house {
  padding: var(--space-16);
  border-radius: var(--radius-24);
  background: var(--landing-case-miko);
  box-shadow: var(--landing-case-shadow);
}

.l-cs-house__roof {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.l-cs-house__name {
  display: grid;
}

.l-cs-house__name b {
  color: var(--text);
  font-size: var(--fs-22);
  line-height: var(--lh-22);
  font-weight: var(--weight-700);
}

.l-cs-house__name span {
  color: var(--text-2);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
}

.l-cs-house__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin: var(--space-16) 0 0;
  padding: 0;
  list-style: none;
}

.l-cs-house__pillars li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-10);
  background: var(--surface-2);
  box-shadow: var(--shadow-1);
}

.l-cs-house__pillars .l-icon {
  color: var(--accent);
}

.l-cs-house__pillars b {
  color: var(--text);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-600);
}

.l-cs-house__beam {
  margin-top: var(--space-12);
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-10);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-600);
  text-align: center;
}

.l-cs-house__base {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-12);
  padding-top: var(--space-12);
  border-top: var(--border-1) dashed var(--line-strong);
  color: var(--text-2);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  text-align: center;
}

.l-cs-house__base .l-icon {
  flex: none;
  color: var(--ok);
}

/* The network: loose places join one knowledge base. Positions per node, per state. */
.l-cs-scene--net {
  position: relative;
  height: 500px;
}

.l-cs-net__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.l-cs-net__line {
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  opacity: 0;
  transition: opacity var(--duration-420) var(--ease-out);
  animation: l-cs-flow var(--duration-landing-glow) linear infinite;
}

.l-cs-morph.is-miko .l-cs-net__line {
  opacity: 0.6;
  transition-delay: 500ms;
}

.l-cs-net__core,
.l-cs-net__ai,
.l-cs-node {
  position: absolute;
  transform: translate(-50%, -50%);
  transition: top var(--duration-landing-grow) var(--ease-settle), left var(--duration-landing-grow) var(--ease-settle), transform var(--duration-landing-grow) var(--ease-settle), opacity var(--duration-420) var(--ease-out);
}

.l-cs-net__core {
  top: 50%;
  left: 50%;
  z-index: var(--z-1);
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-24);
  background: var(--landing-case-miko), var(--surface);
  box-shadow: var(--landing-case-shadow);
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
}

.l-cs-net__core b {
  color: var(--text);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-700);
  white-space: nowrap;
}

.l-cs-net__core > span:last-child {
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  white-space: nowrap;
}

.l-cs-morph.is-miko .l-cs-net__core {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.l-cs-net__ai {
  top: 92%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-4) var(--space-12) var(--space-4) var(--space-4);
  border: var(--border-1) dashed var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  white-space: nowrap;
}

.l-cs-net__ai .l-cs-layer__icon {
  width: var(--control-32);
  height: var(--control-32);
  border-radius: var(--radius-round);
}

.l-cs-net__ai b {
  color: var(--text-2);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-600);
}

.l-cs-morph.is-miko .l-cs-net__ai {
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
}

.l-cs-node {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-4) var(--space-12) var(--space-4) var(--space-4);
  border: var(--border-1) dashed var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  white-space: nowrap;
}

.l-cs-node__icon {
  width: var(--control-24);
  height: var(--control-24);
  border-radius: var(--radius-round);
}

.l-cs-node__icon .l-icon {
  width: var(--icon-16);
  height: var(--icon-16);
}

.l-cs-node b {
  color: var(--text);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
}

.l-cs-morph.is-miko .l-cs-node {
  border-style: solid;
  border-color: var(--line);
  box-shadow: var(--shadow-2);
}

.l-cs-morph.is-miko .l-cs-node__icon {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Today: scattered (phone). */
.l-cs-node--erp {
  top: 10%;
  left: 27%;
  transform: translate(-50%, -50%) rotate(-3deg);
}

.l-cs-node--excel {
  top: 24%;
  left: 70%;
  transform: translate(-50%, -50%) rotate(2deg);
}

.l-cs-node--mail {
  top: 40%;
  left: 32%;
  transform: translate(-50%, -50%) rotate(2deg);
}

.l-cs-node--sharepoint {
  top: 54%;
  left: 68%;
  transform: translate(-50%, -50%) rotate(-2deg);
}

.l-cs-node--notities {
  top: 68%;
  left: 28%;
  transform: translate(-50%, -50%) rotate(-1deg);
}

.l-cs-node--hoofden {
  top: 80%;
  left: 66%;
  transform: translate(-50%, -50%) rotate(3deg);
}

/* With the product: on a ring around the knowledge base (src/cases.mjs RING order;
   on a phone the side nodes sit a little further in, under their lines' ends). */
.l-cs-morph.is-miko .l-cs-node {
  transform: translate(-50%, -50%);
}

.l-cs-morph.is-miko .l-cs-node--erp {
  top: 32%;
  left: 26%;
}

.l-cs-morph.is-miko .l-cs-node--excel {
  top: 14%;
  left: 50%;
}

.l-cs-morph.is-miko .l-cs-node--mail {
  top: 32%;
  left: 74%;
}

.l-cs-morph.is-miko .l-cs-node--sharepoint {
  top: 68%;
  left: 74%;
}

.l-cs-morph.is-miko .l-cs-node--notities {
  top: 86%;
  left: 50%;
}

.l-cs-morph.is-miko .l-cs-node--hoofden {
  top: 68%;
  left: 26%;
}

/* --- Chapter 3, who does what. */
.l-cs-roles {
  display: grid;
  gap: var(--space-12);
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-cs-role {
  padding: var(--space-20);
  border-radius: var(--radius-16);
  background: var(--landing-case-card);
  box-shadow: var(--shadow-1);
}

.l-cs-role--miko {
  background: var(--landing-case-miko);
  box-shadow: var(--landing-case-shadow);
}

.l-cs-role__head {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.l-cs-role__head b {
  color: var(--text);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  font-weight: var(--weight-600);
}

.l-cs-role__icon--miko {
  background: var(--iris-950);
}

.l-cs-role__icon--miko .l-cs-mark {
  width: 24px;
  height: 24px;
}

.l-cs-role__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  margin-left: auto;
  padding: var(--space-2) var(--space-8);
  border-radius: var(--radius-pill);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
  white-space: nowrap;
}

.l-cs-role__tag .l-icon {
  width: 12px;
  height: 12px;
}

.l-cs-role__tag.is-yes {
  background: var(--landing-case-ok);
  color: var(--ok);
}

.l-cs-role__tag.is-no {
  background: var(--surface-3);
  color: var(--text-2);
}

.l-cs-role p {
  margin-top: var(--space-12);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-cs-rule {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  margin-top: var(--space-16);
  padding: var(--space-16) var(--space-20);
  border-radius: var(--radius-16);
  background: var(--accent-soft);
  color: var(--text);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-500);
}

.l-cs-rule .l-icon {
  flex: none;
  width: var(--icon-20);
  height: var(--icon-20);
  color: var(--accent);
}

/* --- Chapter 4, the implementation: a line that fills as the steps appear. */
.l-cs-steps {
  position: relative;
  display: grid;
  gap: var(--space-24);
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-cs-steps::before,
.l-cs-steps::after {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 15px;
  width: 2px;
  background: var(--line);
  content: '';
}

.l-cs-steps::after {
  background: var(--landing-case-line-down);
  transform-origin: 50% 0;
}

.l-js .l-cs-steps::after {
  transform: scaleY(0);
}

.is-play .l-cs-steps::after {
  animation: l-cs-down var(--duration-flash) var(--ease-settle) 200ms both;
}

.l-cs-step {
  position: relative;
  padding-left: var(--space-48);
}

.l-cs-step__dot {
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--z-1);
  display: grid;
  place-items: center;
  width: var(--control-32);
  height: var(--control-32);
  border-radius: var(--radius-round);
  background: var(--iris-600);
  color: var(--mist-50);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-700);
  box-shadow: var(--landing-case-shadow);
}

.l-cs-step__when {
  color: var(--accent);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
}

.l-cs-step__title {
  margin-top: var(--space-4);
  color: var(--text);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  font-weight: var(--weight-600);
}

.l-cs-step__text {
  margin-top: var(--space-4);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-cs-step__who {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.l-cs-step__who > span:not(.visually-hidden) {
  padding: var(--space-2) var(--space-8);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-500);
  box-shadow: var(--shadow-1);
}

/* --- Chapter 5, how it works: three points and the app at work. */
.l-cs-work {
  display: grid;
  gap: var(--space-32);
  align-items: center;
}

.l-cs-points {
  display: grid;
  gap: var(--space-20);
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-cs-points li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
}

.l-cs-points li > span:last-child {
  display: grid;
  gap: var(--space-2);
}

.l-cs-points b {
  color: var(--text);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  font-weight: var(--weight-600);
}

.l-cs-points li > span:last-child > span {
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-cs-point__icon {
  background: var(--accent-soft);
  color: var(--accent);
}

.l-cs-app {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-24);
  background: var(--surface);
  box-shadow: var(--landing-shadow-window);
}

.l-cs-app__bar {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-12) var(--space-16);
  border-bottom: var(--border-1) solid var(--line);
}

.l-cs-app__dots {
  display: flex;
  gap: var(--space-4);
}

.l-cs-app__dots i {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-round);
  background: var(--surface-3);
}

.l-cs-app__name {
  min-width: 0;
  overflow: hidden;
  color: var(--text-2);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-600);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.l-cs-app__bar .badge {
  margin-left: auto;
}

.l-cs-app__body {
  display: grid;
  gap: var(--space-12);
  align-content: start;
  padding: var(--space-16);
}

.l-cs-report {
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-16);
  background: var(--bg);
  box-shadow: var(--shadow-1);
}

.l-cs-report__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.l-cs-report__head b {
  color: var(--text);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-600);
}

.l-cs-status {
  display: inline-grid;
  flex: none;
}

.l-cs-status > span {
  display: inline-flex;
  grid-area: 1 / 1;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-2) var(--space-8);
  border-radius: var(--radius-pill);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
  white-space: nowrap;
}

.l-cs-status .l-icon {
  width: 12px;
  height: 12px;
}

.l-cs-status__from {
  background: var(--landing-case-warn);
  color: var(--warn);
  opacity: 0;
}

.l-cs-status__to {
  background: var(--landing-case-ok);
  color: var(--ok);
}

.l-js .l-cs-status__from {
  opacity: 1;
}

.l-js .l-cs-status__to,
.l-js .l-cs-report__ok {
  opacity: 0;
}

.is-play .l-cs-status__from {
  animation: l-cs-out var(--duration-260) var(--ease-out) 3400ms both;
}

.is-play .l-cs-status__to,
.is-play .l-cs-report__ok {
  animation: l-cs-in var(--duration-260) var(--ease-out) 3400ms both;
}

.l-cs-report__chart {
  display: flex;
  align-items: flex-end;
  gap: var(--space-4);
  height: 88px;
  margin-top: var(--space-12);
  padding-bottom: var(--space-2);
  border-bottom: var(--border-1) solid var(--line);
}

.l-cs-report__chart i {
  flex: 1;
  border-radius: var(--radius-6) var(--radius-6) 0 0;
  background: var(--landing-agent-chart);
}

.l-cs-report__meta {
  margin-top: var(--space-8);
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-cs-report--rule .l-cs-report__meta {
  color: var(--text);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-cs-report__ok {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
  color: var(--ok);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
}

.l-cs-report__ok .l-icon {
  width: 14px;
  height: 14px;
}

.l-cs-report__versions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.l-cs-report__versions span {
  padding: var(--space-2) var(--space-8);
  border-radius: var(--radius-pill);
  background: var(--surface-3);
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-cs-report__versions span.is-current {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: var(--weight-600);
}

.l-cs-report__versions .l-cs-report__back {
  margin-left: auto;
  background: none;
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* --- Chapter 6, savings. */
.l-cs-save {
  display: grid;
  gap: var(--space-32);
}

.l-cs-save__chart {
  display: grid;
  gap: var(--space-20);
  padding: var(--space-20);
  border-radius: var(--radius-24);
  background: var(--landing-case-panel);
  box-shadow: var(--shadow-1);
}

.l-cs-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-8) var(--space-16);
  align-items: center;
}

.l-cs-bar__label {
  display: flex;
  grid-column: 1 / -1;
  align-items: baseline;
  gap: var(--space-8);
}

.l-cs-bar__label b {
  color: var(--text);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-600);
}

.l-cs-bar__label span {
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-cs-bar__track {
  display: flex;
  height: 44px;
  overflow: hidden;
  border-radius: var(--radius-10);
  background: var(--surface-2);
}

.l-cs-bar__value {
  min-width: 92px;
  color: var(--text);
  font-size: var(--fs-22);
  line-height: var(--lh-22);
  font-weight: var(--weight-700);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.l-cs-seg {
  height: 100%;
  transform-origin: 0 50%;
}

.l-cs-seg + .l-cs-seg {
  border-left: 2px solid var(--bg);
}

.l-cs-seg--build,
.l-cs-dot--build {
  background: var(--warn-700);
}

.l-cs-seg--maintain,
.l-cs-dot--maintain {
  background: var(--warn-300);
}

.l-cs-seg--licences,
.l-cs-dot--licences {
  background: var(--zee-400);
}

.l-cs-seg--miko {
  background: var(--landing-case-line);
}

.l-js .l-cs-seg {
  transform: scaleX(0);
}

.is-play .l-cs-seg {
  animation: l-cs-grow var(--duration-landing-grow) var(--ease-settle) both;
}

.l-cs-diff {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8) var(--space-12);
  padding-top: var(--space-16);
  border-top: var(--border-1) solid var(--line);
  color: var(--text-2);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
}

.l-cs-diff__value {
  color: var(--ok);
  font-size: var(--fs-36);
  line-height: var(--lh-36);
  letter-spacing: var(--ls-36);
  font-weight: var(--weight-700);
  font-variant-numeric: tabular-nums;
}

.l-cs-legend {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-cs-legend li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-12) 0;
  border-bottom: var(--border-1) solid var(--line);
}

.l-cs-legend li > span {
  display: grid;
}

.l-cs-legend b {
  color: var(--text);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-600);
}

.l-cs-legend li > span > span {
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-cs-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-round);
}

.l-cs-legend__value {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.l-cs-legend .l-cs-legend__total {
  grid-template-columns: minmax(0, 1fr) auto;
  border-bottom: 0;
}

.l-cs-legend__total .l-cs-legend__value {
  font-size: var(--fs-18);
  line-height: var(--lh-18);
}

.l-cs-later {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  margin-top: var(--space-16);
  padding: var(--space-16);
  border-radius: var(--radius-16);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-cs-later .l-icon {
  flex: none;
  margin-top: var(--space-2);
  color: var(--accent);
}

.l-cs-later b {
  color: var(--text);
}

.l-cs-source {
  max-width: 90ch;
  margin-top: var(--space-24);
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-cs-source a {
  color: var(--text-2);
  text-underline-offset: 0.2em;
}

.l-cs-swap {
  overflow: hidden;
  border-radius: var(--radius-24);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.l-cs-swap ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-cs-swap__head {
  display: none;
}

.l-cs-swap__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
  gap: var(--space-8) var(--space-12);
  align-items: center;
  padding: var(--space-16) var(--space-20);
}

.l-cs-swap__row + .l-cs-swap__row {
  border-top: var(--border-1) solid var(--line);
}

.l-cs-swap__what {
  display: grid;
  grid-column: 1 / -1;
}

.l-cs-swap__what b {
  color: var(--text);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  font-weight: var(--weight-600);
}

.l-cs-swap__what span {
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-cs-swap__now {
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-500);
  text-decoration: line-through;
  text-decoration-color: var(--warn);
}

.l-cs-swap__arrow {
  color: var(--text-3);
}

.l-cs-swap__miko {
  color: var(--ok);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-600);
}

/* --- The next story and the way back. */
.l-cs-next {
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
  border-top: var(--border-1) solid var(--line);
}

.l-cs-next__card {
  position: relative;
  display: grid;
  gap: var(--space-8);
  padding: var(--space-24) var(--space-64) var(--space-24) var(--space-24);
  border-radius: var(--radius-24);
  background: var(--landing-case-miko);
  box-shadow: var(--landing-case-shadow);
  color: var(--text);
  text-decoration: none;
  transition: transform var(--duration-260) var(--ease-settle), box-shadow var(--duration-260) var(--ease-settle);
}

.l-cs-next__card:hover {
  box-shadow: var(--landing-case-lift);
  transform: translateY(-2px);
}

.l-cs-next__eyebrow {
  color: var(--accent);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-600);
}

.l-cs-next__title {
  font-size: var(--fs-22);
  line-height: var(--lh-22);
  letter-spacing: var(--ls-22);
  font-weight: var(--weight-700);
}

.l-cs-next__title span {
  color: var(--text-2);
}

.l-cs-next__card > .l-icon {
  position: absolute;
  top: 50%;
  right: 24px;
  width: var(--icon-24);
  height: var(--icon-24);
  color: var(--accent);
  transform: translateY(-50%);
}

.l-cs-next__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-24);
  margin-top: var(--space-20);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-cs-next__links a {
  color: var(--text-2);
  text-underline-offset: 0.2em;
}

/* --- The overview's cards. */
.l-cs-cards {
  display: grid;
  gap: var(--space-20);
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
}

.l-cs-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-24);
  background: var(--landing-case-card);
  box-shadow: var(--shadow-1);
  color: var(--text);
  text-decoration: none;
  transition: transform var(--duration-260) var(--ease-settle), box-shadow var(--duration-260) var(--ease-settle);
}

.l-cs-card__link:hover {
  box-shadow: var(--landing-case-lift);
  transform: translateY(-3px);
}

.l-cs-card__art {
  display: grid;
  place-items: center;
  height: 180px;
  border-bottom: var(--border-1) solid var(--line);
  background: var(--landing-case-art);
}

.l-cs-card__body {
  display: grid;
  align-content: start;
  gap: var(--space-12);
  padding: var(--space-20);
}

.l-cs-card__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8);
  color: var(--text-2);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-600);
}

.l-cs-card__title {
  display: block;
  font-size: var(--fs-22);
  line-height: var(--lh-22);
  letter-spacing: var(--ls-22);
  font-weight: var(--weight-700);
}

.l-cs-card__title span {
  display: block;
  background: var(--landing-case-ink);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.l-cs-card__text {
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-cs-card__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
}

.l-cs-card__kpis > span {
  display: grid;
  align-content: start;
  gap: var(--space-2);
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-10);
  background: var(--surface-2);
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-cs-card__kpis b {
  color: var(--text);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-700);
  font-variant-numeric: tabular-nums;
}

.l-cs-card__go {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-4);
  color: var(--accent);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-600);
}

.l-cs-card__link:hover .l-cs-card__go .l-icon {
  transform: translateX(3px);
}

.l-cs-card__go .l-icon {
  transition: transform var(--duration-180) var(--ease-out);
}

.l-cs--index .l-cs-note {
  margin-top: var(--space-32);
  margin-bottom: var(--space-64);
}

/* The cards' small drawings. */
.l-cs-art {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-24);
  color: var(--text-3);
}

.l-cs-art__old {
  display: grid;
  gap: var(--space-8);
}

.l-cs-art__old i {
  width: 96px;
  height: 14px;
  border-radius: var(--radius-6);
  background: var(--surface-3);
}

.l-cs-art__old i:first-child {
  border: var(--border-1) dashed var(--line-strong);
  background: none;
  transform: translateX(8px) rotate(-2deg);
}

.l-cs-art__old i:nth-child(3) {
  background: var(--landing-case-warn);
}

.l-cs-art__new {
  display: grid;
  justify-items: center;
  gap: var(--space-8);
}

.l-cs-art__new i {
  width: 96px;
  height: 14px;
  border-radius: var(--radius-6);
  background: var(--surface-3);
}

.l-cs-art__mark {
  width: 56px;
  height: 56px;
  filter: drop-shadow(var(--landing-case-pulse));
}

.l-cs-art--net {
  width: 220px;
  height: 140px;
}

.l-cs-art--net svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.l-cs-art--net line {
  stroke: var(--accent);
  stroke-width: 1.25;
  stroke-dasharray: 3 5;
  opacity: 0.6;
}

.l-cs-art__dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-round);
  background: var(--surface-3);
  box-shadow: var(--shadow-1);
  transform: translate(-50%, -50%);
}

.l-cs-art__dot--0 {
  top: 32%;
  left: 22.3%;
}

.l-cs-art__dot--1 {
  top: 14%;
  left: 50%;
}

.l-cs-art__dot--2 {
  top: 32%;
  left: 77.7%;
}

.l-cs-art__dot--3 {
  top: 68%;
  left: 77.7%;
}

.l-cs-art__dot--4 {
  top: 86%;
  left: 50%;
}

.l-cs-art__dot--5 {
  top: 68%;
  left: 22.3%;
}

.l-cs-art__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.l-cs-art__core .l-cs-art__mark {
  width: 40px;
  height: 40px;
}

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

  to {
    transform: none;
  }
}

@keyframes l-cs-down {
  from {
    transform: scaleY(0);
  }

  to {
    transform: none;
  }
}

@keyframes l-cs-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes l-cs-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes l-cs-flow {
  to {
    stroke-dashoffset: -200;
  }
}

@media (min-width: 720px) {
  .l-cs-wrap {
    padding-right: var(--space-32);
    padding-left: var(--space-32);
  }

  .l-cs-hero {
    padding-top: var(--space-64);
    padding-bottom: var(--space-64);
  }

  .l-cs-title {
    font-size: var(--fs-48);
    line-height: var(--lh-48);
    letter-spacing: var(--ls-48);
  }

  .l-cs-lede {
    font-size: var(--fs-18);
    line-height: var(--lh-18);
    letter-spacing: var(--ls-18);
  }

  .l-cs-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-16);
  }

  .l-cs-kpi {
    padding: var(--space-20) var(--space-24);
  }

  .l-cs-rail__t {
    display: inline;
  }

  .l-cs-rail a {
    padding: 0 var(--space-12);
  }

  .l-cs-ch {
    padding-top: var(--space-96);
    padding-bottom: var(--space-96);
    scroll-margin-top: 48px;
  }

  .l-cs-ch__head {
    margin-bottom: var(--space-48);
  }

  .l-cs-ch__title {
    font-size: var(--fs-36);
    line-height: var(--lh-36);
    letter-spacing: var(--ls-36);
  }

  .l-cs-ch__text {
    font-size: var(--fs-18);
    line-height: var(--lh-18);
    letter-spacing: var(--ls-18);
  }

  .l-cs-pains ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .l-cs-island .l-cs-layer__icon {
    width: var(--control-40);
    height: var(--control-40);
  }

  .l-cs-island .l-cs-layer__text b {
    font-size: var(--fs-16);
    line-height: var(--lh-16);
  }

  .l-cs-island .l-cs-layer__text span {
    display: block;
  }

  .l-cs-morph {
    padding: var(--space-24);
  }

  .l-cs-house {
    padding: var(--space-24);
  }

  .l-cs-house__pillars {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .l-cs-house__pillars li {
    flex-direction: column;
    justify-content: center;
    padding: var(--space-16) var(--space-8);
  }

  .l-cs-house__name b {
    font-size: var(--fs-28);
    line-height: var(--lh-28);
  }

  .l-cs-house__name span {
    font-size: var(--fs-14);
    line-height: var(--lh-14);
  }

  .l-cs-scene--net {
    height: 440px;
  }

  .l-cs-net__core {
    padding: var(--space-16) var(--space-24);
  }

  .l-cs-net__core b {
    font-size: var(--fs-16);
    line-height: var(--lh-16);
  }

  .l-cs-node {
    padding: var(--space-8) var(--space-16) var(--space-8) var(--space-8);
  }

  .l-cs-node__icon {
    width: var(--control-32);
    height: var(--control-32);
  }

  .l-cs-node b {
    font-size: var(--fs-14);
    line-height: var(--lh-14);
  }

  /* Today: scattered (wide), the loose chat apart on the right. */
  .l-cs-node--erp {
    top: 22%;
    left: 12%;
  }

  .l-cs-node--excel {
    top: 14%;
    left: 40%;
  }

  .l-cs-node--mail {
    top: 46%;
    left: 30%;
  }

  .l-cs-node--sharepoint {
    top: 58%;
    left: 8%;
  }

  .l-cs-node--notities {
    top: 84%;
    left: 22%;
  }

  .l-cs-node--hoofden {
    top: 78%;
    left: 50%;
  }

  .l-cs-net__ai {
    top: 40%;
    left: 80%;
    transform: translate(-50%, -50%) rotate(-2deg);
  }

  /* With the product (wide): the ring of src/cases.mjs RING exactly. */
  .l-cs-morph.is-miko .l-cs-node--erp,
  .l-cs-morph.is-miko .l-cs-node--hoofden {
    left: 22.3%;
  }

  .l-cs-morph.is-miko .l-cs-node--mail,
  .l-cs-morph.is-miko .l-cs-node--sharepoint {
    left: 77.7%;
  }

  .l-cs-roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-16);
  }

  .l-cs-swap__head {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 24px minmax(0, 1fr);
    gap: var(--space-16);
    padding: var(--space-12) var(--space-24);
    border-bottom: var(--border-1) solid var(--line);
    color: var(--text-3);
    font-size: var(--fs-12);
    line-height: var(--lh-12);
    font-weight: var(--weight-600);
  }

  .l-cs-swap__row {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 24px minmax(0, 1fr);
    gap: var(--space-16);
    padding: var(--space-20) var(--space-24);
  }

  .l-cs-swap__what {
    grid-column: auto;
  }

  .l-cs-swap__what span {
    font-size: var(--fs-13);
    line-height: var(--lh-13);
  }

  .l-cs-swap__now,
  .l-cs-swap__miko {
    font-size: var(--fs-16);
    line-height: var(--lh-16);
  }

  .l-cs-next__title {
    font-size: var(--fs-28);
    line-height: var(--lh-28);
    letter-spacing: var(--ls-28);
  }

  .l-cs-next__card {
    padding: var(--space-32) var(--space-96) var(--space-32) var(--space-32);
  }

  .l-cs-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-24);
  }

  .l-cs-card__art {
    height: 220px;
  }

  .l-cs-card__body {
    padding: var(--space-24) var(--space-24) var(--space-32);
  }

  .l-cs-card__title {
    font-size: var(--fs-28);
    line-height: var(--lh-28);
    letter-spacing: var(--ls-28);
  }
}

@media (min-width: 980px) {
  .l-cs-hero {
    padding-top: var(--space-96);
  }

  .l-cs-title {
    max-width: none;
    font-size: var(--fs-64);
    line-height: var(--lh-64);
    letter-spacing: var(--ls-64);
  }

  .l-cs-kpi__value {
    font-size: var(--fs-36);
    line-height: var(--lh-36);
    letter-spacing: var(--ls-36);
  }

  .l-cs-today {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-48);
    align-items: start;
  }

  .l-cs-pains {
    margin-top: var(--space-32);
  }

  .l-cs-roles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .l-cs-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-20);
  }

  .l-cs-steps::before,
  .l-cs-steps::after {
    top: 15px;
    right: 16px;
    bottom: auto;
    left: 16px;
    width: auto;
    height: 2px;
  }

  .l-cs-steps::after {
    background: var(--landing-case-line);
    transform-origin: 0 50%;
  }

  .l-js .l-cs-steps::after {
    transform: scaleX(0);
  }

  .is-play .l-cs-steps::after {
    animation-name: l-cs-grow;
  }

  .l-cs-step {
    padding-top: var(--space-48);
    padding-left: 0;
  }

  .l-cs-work {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--space-64);
  }

  .l-cs-app__body {
    padding: var(--space-24);
  }

  .l-cs-save {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--space-48);
    align-items: start;
  }

  .l-cs-save__chart {
    padding: var(--space-32);
  }

  .l-cs-bar__track {
    height: 56px;
  }

  .l-cs-bar__value {
    min-width: 120px;
    font-size: var(--fs-28);
    line-height: var(--lh-28);
  }

  .l-cs-diff__value {
    font-size: var(--fs-48);
    line-height: var(--lh-48);
    letter-spacing: var(--ls-48);
  }
}

@media (prefers-reduced-motion: reduce) {
  .l-js .l-cs-seg,
  .is-play .l-cs-seg,
  .l-js .l-cs-steps::after,
  .is-play .l-cs-steps::after,
  .l-js .l-cs-status__to,
  .is-play .l-cs-status__to,
  .l-js .l-cs-report__ok,
  .is-play .l-cs-report__ok {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .l-js .l-cs-status__from,
  .is-play .l-cs-status__from {
    animation: none;
    opacity: 0;
  }

  .l-cs-net__line {
    animation: none;
  }
}
