@font-face {
  font-family: "Tektur";
  src: url("assets/fonts/TekturVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("assets/fonts/EBGaramondVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@property --glass-outline-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: -75deg;
}

@property --glass-shine-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: -45deg;
}

:root {
  --color-canvas: #ededeb;
  --color-paper: #f8f8f6;
  --color-surface: #ffffff;
  --color-ink: #151515;
  --color-ink-strong: #080808;
  --color-muted: #73736f;
  --color-faint: #a8a8a3;
  --color-line: #dcdcd7;
  --color-line-strong: #c8c8c2;
  --color-inverse: #202020;
  --color-inverse-text: #f7f7f4;
  --color-status: #27d66b;
  --color-accent: #335cff;
  --font-heading: "Tektur", "Arial Narrow", Arial, sans-serif;
  --font-body: "EB Garamond", Georgia, "Times New Roman", serif;
  --content-width: 1440px;
  --page-gutter: clamp(48px, 4vw, 64px);
  --screen-padding: clamp(24px, 3.1vw, 48px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 18px;
  font-size-adjust: .48;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--color-ink-strong);
  color: white;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.hero {
  padding: clamp(16px, 1.6vw, 24px) var(--page-gutter) clamp(28px, 2.6vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero-device {
  position: relative;
  min-width: 0;
  width: min(100%, var(--content-width));
  aspect-ratio: 3 / 2;
  margin: 0 auto;
}

.laptop-screen {
  position: absolute;
  z-index: 1;
  top: 8.1055%;
  right: 12.0443%;
  bottom: 15.2344%;
  left: 12.0443%;
  overflow: hidden;
  border-radius: 3px;
  background: var(--color-paper);
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 78px;
  padding: 0 var(--screen-padding);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--color-line);
  font-size: 13px;
  line-height: 1.25;
}

.identity {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.identity:focus-visible {
  z-index: 30;
  top: 12px;
  left: var(--screen-padding);
  width: auto;
  height: auto;
  padding: 8px 10px;
  overflow: visible;
  clip: auto;
  background: var(--color-paper);
}

.desktop-nav {
  grid-column: 6 / -1;
  grid-row: 1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  color: var(--color-ink);
}

.glass-button-wrap {
  --glass-duration: 400ms;
  --glass-border-width: 1px;
  position: relative;
  z-index: 2;
  display: inline-flex;
  border-radius: 999px;
  background: transparent;
  transform-style: preserve-3d;
  transition: transform var(--glass-duration) var(--ease-out);
}

.glass-button {
  position: relative;
  z-index: 3;
  min-height: 36px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(
    -75deg,
    rgb(255 255 255 / .06),
    rgb(255 255 255 / .24),
    rgb(255 255 255 / .06)
  );
  box-shadow:
    inset 0 2px 2px rgb(0 0 0 / .05),
    inset 0 -2px 2px rgb(255 255 255 / .56),
    0 3px 2px -2px rgb(0 0 0 / .22),
    inset 0 0 2px 3px rgb(255 255 255 / .22),
    0 0 0 0 rgb(255 255 255 / 1);
  backdrop-filter: blur(2px) saturate(125%);
  -webkit-backdrop-filter: blur(2px) saturate(125%);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  transition: transform var(--glass-duration) var(--ease-out), box-shadow var(--glass-duration) var(--ease-out), backdrop-filter var(--glass-duration) var(--ease-out);
}

.glass-button::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: calc(var(--glass-border-width) / -2);
  padding: var(--glass-border-width);
  border-radius: inherit;
  background:
    conic-gradient(
      from var(--glass-outline-angle) at 50% 50%,
      rgb(0 0 0 / .56),
      transparent 5% 40%,
      rgb(0 0 0 / .46) 50%,
      transparent 60% 95%,
      rgb(0 0 0 / .56)
    ),
    linear-gradient(180deg, rgb(255 255 255 / .72), rgb(255 255 255 / .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .58);
  pointer-events: none;
  transition: --glass-outline-angle 500ms ease;
}

.glass-button-text {
  position: relative;
  z-index: 2;
  display: block;
  user-select: none;
  letter-spacing: -.025em;
  text-shadow: 0 3px 1px rgb(0 0 0 / .1);
  transition: text-shadow var(--glass-duration) var(--ease-out);
}

.glass-button-text::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    var(--glass-shine-angle),
    transparent 0%,
    rgb(255 255 255 / .62) 40% 50%,
    transparent 55%
  );
  background-position: 0 50%;
  background-size: 200% 200%;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: background-position 500ms var(--ease-out), --glass-shine-angle 500ms var(--ease-out);
}

.glass-button-shadow {
  --glass-shadow-cutoff: 26px;
  position: absolute;
  z-index: 0;
  top: calc(var(--glass-shadow-cutoff) / -2);
  left: calc(var(--glass-shadow-cutoff) / -2);
  width: calc(100% + var(--glass-shadow-cutoff));
  height: calc(100% + var(--glass-shadow-cutoff));
  overflow: visible;
  filter: blur(2px);
  pointer-events: none;
  transition: filter var(--glass-duration) var(--ease-out);
}

.glass-button-shadow::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 8px;
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  padding: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(0 0 0 / .26), rgb(0 0 0 / .1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: top var(--glass-duration) var(--ease-out), opacity var(--glass-duration) var(--ease-out);
}

.glass-button-wrap:hover .glass-button {
  transform: scale(.975);
  backdrop-filter: blur(.25px) saturate(110%);
  -webkit-backdrop-filter: blur(.25px) saturate(110%);
  box-shadow:
    inset 0 2px 2px rgb(0 0 0 / .05),
    inset 0 -2px 2px rgb(255 255 255 / .52),
    0 2px 1px -1px rgb(0 0 0 / .26),
    inset 0 0 1px 2px rgb(255 255 255 / .52);
}

.glass-button-wrap:hover .glass-button::after {
  --glass-outline-angle: -125deg;
}

.glass-button-wrap:hover .glass-button-text {
  text-shadow: .3px .3px .3px rgb(0 0 0 / .13);
}

.glass-button-wrap:hover .glass-button-text::after {
  background-position: 25% 50%;
}

.glass-button-wrap:hover .glass-button-shadow {
  filter: blur(1px);
}

.glass-button-wrap:hover .glass-button-shadow::after {
  top: 16px;
}

.glass-button-wrap:active {
  transform: rotateX(25deg);
}

.glass-button-wrap:active .glass-button-text::after {
  --glass-shine-angle: -15deg;
  background-position: 50% 15%;
}

.glass-button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.text-link {
  position: relative;
  white-space: nowrap;
}

.text-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease-out);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  grid-column: 1 / span 4;
  grid-row: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--color-ink);
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-status);
  box-shadow: 0 0 0 3px rgb(39 214 107 / .12);
}

.text-link {
  font-weight: 500;
}

.js-contact[aria-disabled="true"] {
  cursor: default;
}

.text-link[aria-disabled="true"] {
  color: var(--color-faint);
}

.header-actions > .text-link {
  display: none;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero-stage {
  position: relative;
  height: calc(100% - 78px);
  padding: 22px var(--screen-padding) 28px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  isolation: isolate;
}

.hero-title {
  position: absolute;
  z-index: 1;
  top: 15%;
  right: var(--screen-padding);
  left: var(--screen-padding);
  margin: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  color: var(--color-ink-strong);
  font-size: clamp(60px, 5.35vw, 84px);
  font-weight: 400;
  line-height: 1.035;
  letter-spacing: -.035em;
}

.hero-title-part--left {
  grid-column: 1 / 5;
  white-space: nowrap;
}

.hero-title-part--right {
  grid-column: 9 / 13;
  justify-self: end;
  text-align: right;
  white-space: nowrap;
}

.hero-portrait {
  position: absolute;
  z-index: 2;
  right: auto;
  bottom: 0;
  left: 50%;
  width: min(43%, 560px);
  height: 92%;
  margin: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-portrait::after {
  content: "";
  position: absolute;
  right: 14%;
  bottom: 0;
  left: 14%;
  height: 1px;
  background: var(--color-line-strong);
}

.hero-portrait picture {
  display: contents;
}

.hero-portrait img {
  position: relative;
  left: 50%;
  width: auto;
  max-width: none;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  filter: none;
}

.hero-copy {
  position: relative;
  z-index: 4;
  grid-column: 1 / 5;
  grid-row: 3;
  align-self: end;
  max-width: 390px;
}

.hero-copy p {
  margin: 0 0 20px;
  color: var(--color-ink);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.5;
  letter-spacing: -.012em;
}

.hero-copy > * {
  min-width: 0;
}

.button {
  --button-origin-x: 50%;
  --button-origin-y: 50%;
  --button-origin-size: 0px;
  --button-fill: var(--color-accent);
  --button-fill-text: #ffffff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 50px;
  width: fit-content;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: transform 180ms var(--ease-out), color 300ms var(--ease-out);
}

.button::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: var(--button-origin-x);
  top: var(--button-origin-y);
  width: var(--button-origin-size);
  height: var(--button-origin-size);
  border-radius: 50%;
  background: var(--button-fill);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 700ms cubic-bezier(.16, 1, .3, 1);
}

.button > span,
.button > small {
  position: relative;
  z-index: 1;
}

.button span[aria-hidden="true"] {
  transition: transform 220ms var(--ease-out);
}

.button:hover,
.button:focus-visible {
  color: var(--button-fill-text);
}

.button:not([aria-disabled="true"]):hover::before,
.button:not([aria-disabled="true"]):focus-visible::before,
.button.is-origin-pressed::before {
  transform: translate(-50%, -50%) scale(1);
}

.button:not([aria-disabled="true"]):active,
.button.is-origin-pressed {
  transform: scale(.985);
}

.button[aria-disabled="true"]:hover,
.button[aria-disabled="true"]:focus-visible {
  transform: none;
}

.button:hover span,
.button:focus-visible span {
  transform: translate(3px, -1px);
}

.button--dark {
  background: var(--color-ink-strong);
  color: #f7f7f4;
}

.button--dark[aria-disabled="true"] {
  border: 1px dashed var(--color-line-strong);
  background: transparent;
  color: var(--color-muted);
}

.button[aria-disabled="true"]::after {
  content: "контакт позже";
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.button-note {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.button-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}

.button:not([aria-disabled="true"]) .button-note {
  display: none;
}

.hero-copy .button[aria-disabled="true"]::after {
  display: none;
}

@media (min-width: 900px) {
  .hero-copy .button--dark[aria-disabled="true"] {
    border-color: var(--color-ink-strong);
    border-style: solid;
    background: var(--color-ink-strong);
    color: #f7f7f4;
  }

  .hero-copy .button-note {
    color: #b8b8b3;
  }
}

.scroll-cue {
  position: relative;
  z-index: 4;
  grid-column: 10 / -1;
  grid-row: 3;
  align-self: end;
  justify-self: end;
  width: min(100%, 210px);
  display: grid;
  gap: 12px;
  color: var(--color-ink);
  font-size: 11px;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.scroll-line {
  height: 1px;
  background: var(--color-line-strong);
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  margin-left: auto;
  background: var(--color-ink);
  transform-origin: right;
  transition: transform 320ms var(--ease-out);
}

.scroll-cue:hover .scroll-line::after,
.scroll-cue:focus-visible .scroll-line::after {
  transform: scaleX(1.55);
}

.laptop-chassis {
  position: absolute;
  z-index: 10;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 22px 28px rgb(0 0 0 / .14));
}

.section {
  position: relative;
  scroll-margin-top: 16px;
  padding: clamp(96px, 11vw, 176px) var(--page-gutter);
}

main > section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

html.is-slide-scrolling {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

html.is-process-traversing,
html.is-pilot-traversing {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

/* Touch reads a whole section before a separate swipe changes slides. */
html.has-touch-slides {
  scroll-snap-type: none;
  scroll-behavior: auto;
  overscroll-behavior-y: none;
}

@media (max-width: 899px), (pointer: coarse) {
  html {
    scroll-snap-type: none;
  }
}

.section-shell {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.section h2 {
  margin: 0;
  color: var(--color-ink-strong);
  font-size: clamp(40px, 4.5vw, 80px);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.048em;
}

.section h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -.03em;
}

.fit-section {
  min-height: 100svh;
  scroll-margin-top: 0;
  display: flex;
  align-items: center;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
}

.fit-layout {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}

.fit-heading h2 {
  max-width: 10ch;
  text-wrap: balance;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.fit-intro {
  max-width: 32ch;
  margin: 28px 0 0;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
}

.fit-signs {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-signs li {
  padding: 0;
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.3;
  letter-spacing: -.02em;
  text-wrap: pretty;
}

.fit-signs strong {
  font-weight: 650;
}

.fit-signs li > span {
  display: block;
}

.fit-channels-trigger {
  display: block;
  width: 100%;
  padding: clamp(16px, 2.5svh, 28px) 20px;
  border: 1px solid var(--color-line-strong);
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: help;
}

.fit-signs li.is-preview-open .fit-channels-trigger,
.fit-channels-trigger:focus-visible {
  border-color: var(--color-ink);
  background: var(--color-surface);
}

@media (prefers-reduced-motion: no-preference) {
  .fit-channels-trigger {
    transition: transform 240ms cubic-bezier(.16, 1, .3, 1), border-color 180ms ease-out, background-color 180ms ease-out;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .fit-signs li:hover .fit-channels-trigger,
  .fit-channels-trigger:focus-visible {
    transform: translateX(-10px);
  }
}

.channels-preview {
  position: fixed;
  z-index: 100;
  width: min(320px, calc(100vw - 24px), calc(100svh - 24px));
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-ink);
  box-shadow: 0 12px 44px rgb(0 0 0 / .14);
}

.channels-preview > svg { display: block; width: 100%; height: 100%; }
.channels-preview.is-following-pointer { pointer-events: none; }
.channels-description {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.channels-threads { stroke: var(--color-line-strong); stroke-width: 1; }
.channels-node { fill: var(--color-paper); stroke: var(--color-line); }
.channels-icons { stroke: var(--color-ink); stroke-width: 1.4; }
.channels-labels { fill: var(--color-ink); font: 12px var(--font-body); text-anchor: middle; }
.channels-business { fill: var(--color-ink); }
.channels-business-label { fill: var(--color-inverse-text); font: 500 13px var(--font-body); text-anchor: middle; dominant-baseline: middle; letter-spacing: .04em; }
.channels-packet { fill: var(--color-ink); transform: translate(var(--source-x), var(--source-y)); }

/* Small, illustrative work scenes share the original hover preview. */
.fit-scene {
  position: absolute;
  inset: 0;
  width: 320px;
  height: 320px;
  transform: scale(var(--scene-scale, 1));
  transform-origin: top left;
  padding: 20px;
  overflow: hidden;
  border-radius: inherit;
  font: 12px/1.4 var(--font-body);
  letter-spacing: 0;
}
.fit-scene-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--color-line);
  font-size: 14px;
  font-weight: 500;
}
.scene-heading-detail { color: var(--color-muted); font-size: 11px; font-weight: 400; }
.scene-online-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-ink); }
.fit-scene-footnote { position: absolute; bottom: 13px; left: 20px; font-size: 10px; color: var(--color-muted); }
.fit-scene [data-appear] { opacity: 0; visibility: hidden; }
.fit-scene [data-appear].is-scene-visible { opacity: 1; visibility: visible; }
.scene-message { width: 88%; min-height: 76px; padding: 10px 12px; background: var(--color-paper); border-radius: 2px 10px 10px; }
.scene-message-meta { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 10px; color: var(--color-muted); }
.scene-message-text { min-height: 34px; }
.scene-message-manager { margin-left: auto; border-radius: 10px 2px 10px 10px; background: var(--color-ink); color: var(--color-inverse-text); }
.scene-message-manager .scene-message-meta { color: var(--color-line); }
.scene-time-gap { display: flex; gap: 5px; align-items: center; justify-content: center; height: 37px; color: var(--color-muted); font-size: 11px; }
.scene-time-gap svg { width: 15px; height: 15px; }
.fit-scene .is-typing::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 1px; background: currentColor; vertical-align: -.1em; }
.scene-source-note { margin: 0 0 15px; color: var(--color-muted); font-size: 11px; }
.scene-source-note strong { display: inline-block; margin-top: 3px; color: var(--color-ink); font-weight: 500; font-size: 12px; }
.scene-table { display: grid; border-top: 1px solid var(--color-line); border-left: 1px solid var(--color-line); }
.crm-table { grid-template-columns: .85fr 1fr 1.25fr; }
.scene-table > span { display: block; height: 34px; padding: 8px 6px; border-right: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); white-space: nowrap; font-size: 11px; }
.scene-table .scene-th { height: 30px; padding-top: 7px; color: var(--color-muted); background: var(--color-paper); font-size: 10px; }
.scene-table > .is-typing { outline: 1px solid var(--color-ink); outline-offset: -1px; background: var(--color-paper); }
.scene-subline { margin-top: 12px; color: var(--color-muted); font-size: 11px; }
.scene-tabs { display: flex; gap: 18px; height: 33px; border-bottom: 1px solid var(--color-line); }
.scene-tabs > span { padding-bottom: 8px; border-bottom: 2px solid var(--color-ink); font-size: 12px; }
.scene-tabs > [data-appear] { visibility: visible; opacity: 1; color: var(--color-muted); border-color: transparent; }
.scene-tabs > .is-scene-visible { color: var(--color-ink); border-color: var(--color-ink); }
.scene-copy-window { position: relative; margin-top: 12px; }
.scene-copy-panel { position: absolute; inset: 0 0 auto; }
.copy-table { grid-template-columns: .85fr 1.4fr; }
.scene-cell-selection { position: absolute; top: 30px; left: 0; right: 0; height: 35px; border: 1px dashed var(--color-ink); background: rgb(21 21 21 / .04); }
.scene-shortcut { display: flex; align-items: center; gap: 10px; margin-top: 13px; font-weight: 500; font-size: 12px; }
.scene-shortcut > span { font-size: 11px; font-weight: 400; color: var(--color-muted); }
.questions-scene .fit-scene-heading { margin-bottom: 3px; }
.scene-chat { display: flex; align-items: center; gap: 9px; height: 36px; border-bottom: 1px solid var(--color-line); }
.scene-avatar { display: grid; place-items: center; width: 25px; height: 25px; flex-shrink: 0; background: var(--color-paper); border-radius: 50%; font-size: 10px; }
.scene-chat > span:nth-child(2) { font-size: 11px; line-height: 1.25; }
.scene-chat small { display: block; color: var(--color-muted); font-size: 9px; }
.scene-chat i { width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: var(--color-ink); }
.scene-counter { display: flex; align-items: center; gap: 17px; padding: 16px 0 22px; }
.scene-counter > span:first-child { min-width: 3ch; font-size: 64px; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.scene-counter > span:last-child { color: var(--color-muted); font-size: 12px; }
.scene-repeat-steps { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.scene-repeat-steps svg { width: 16px; height: 16px; fill: none; stroke: var(--color-muted); stroke-width: 1.2; }
.scene-repeat-track { display: flex; gap: 5px; margin-top: 12px; }
.scene-repeat-track > span { flex: 1; height: 3px; background: var(--color-line); }
.scene-repeat-track > .is-current { background: var(--color-ink); }
.scene-repeat-note { margin-top: 25px; font-size: 12px; color: var(--color-muted); }

@media (prefers-reduced-motion: no-preference) {
  .fit-scene [data-appear] { transition: opacity 180ms ease-out; }
  .fit-scene .is-typing::after { animation: scene-caret 650ms steps(1) infinite; }
}
@keyframes scene-caret { 50% { opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .channels-preview:not([hidden]) { animation: channels-appear 180ms ease-out both; }
  .channels-preview:not([hidden]) .channels-packet { animation: channels-arrival 2.4s linear var(--delay) infinite; }
}
@keyframes channels-appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes channels-arrival {
  0% { transform: translate(var(--source-x), var(--source-y)); }
  85%, 100% { transform: translate(160px, 160px); }
}

@media (prefers-reduced-motion: no-preference) {
  .has-motion .fit-section [data-reveal] {
    --reveal-delay: 0ms;
    transform: translate3d(0, 16px, 0);
    transition-duration: 1000ms;
  }

  .has-motion .fit-section [data-reveal].is-visible {
    transform: none;
  }

  .has-motion .fit-section .fit-intro {
    --reveal-delay: 100ms;
  }

  .fit-signs li:nth-child(1) { --fit-delay: 140ms; }
  .fit-signs li:nth-child(2) { --fit-delay: 210ms; }
  .fit-signs li:nth-child(3) { --fit-delay: 280ms; }
  .fit-signs li:nth-child(4) { --fit-delay: 350ms; }
  .fit-signs li:nth-child(5) { --fit-delay: 420ms; }
  .fit-signs li:nth-child(6) { --fit-delay: 490ms; }

  .has-motion .fit-signs [data-reveal] {
    --reveal-delay: var(--fit-delay);
  }
}

@media (max-width: 899px) {
  .hero-portrait img {
    left: auto;
    width: 100%;
    max-width: 100%;
    transform: none;
    object-fit: contain;
    object-position: center bottom;
  }

  main > .fit-section {
    padding-block: 48px;
  }

  .fit-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .fit-section .fit-heading h2 {
    max-width: 16ch;
    font-size: clamp(36px, 6.5vw, 54px);
    overflow-wrap: normal;
  }

  .fit-intro {
    max-width: 40ch;
    margin-top: 20px;
  }

  .fit-signs li {
    font-size: 18px;
  }

  .fit-channels-trigger {
    padding: 16px;
  }
}

.about-section {
  padding-top: 32px;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
}

.about-title {
  grid-column: 1 / span 8;
  grid-row: 1;
  max-width: 1040px;
}

.about-note {
  grid-column: 10 / -1;
  grid-row: 1;
  align-self: end;
  max-width: 390px;
  margin: 0 0 6px;
  color: var(--color-ink);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
  letter-spacing: -.015em;
}

.placeholder-ledger {
  margin-top: clamp(80px, 9vw, 136px);
  border-bottom: 1px solid var(--color-line);
}

.placeholder-row {
  min-height: 82px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--color-line);
}

.placeholder-name {
  grid-column: 1 / span 4;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .025em;
}

.placeholder-value {
  grid-column: 6 / -1;
  color: var(--color-ink);
  font-size: clamp(17px, 1.5vw, 22px);
  letter-spacing: -.02em;
}

.expertise-grid {
  margin-top: clamp(72px, 8vw, 120px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--color-line-strong);
  border-bottom: 1px solid var(--color-line-strong);
}

.expertise-item {
  min-height: 184px;
  padding: 28px 28px 28px 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px 20px;
  align-content: start;
}

.expertise-item:nth-child(even) {
  padding-right: 0;
  padding-left: 28px;
  border-left: 1px solid var(--color-line);
}

.expertise-item:nth-child(n + 3) {
  border-top: 1px solid var(--color-line);
}

.expertise-number {
  padding-top: 5px;
  color: var(--color-muted);
  font-size: 11px;
  letter-spacing: .04em;
}

.expertise-item h3 {
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.05;
}

.expertise-item p {
  grid-column: 2;
  max-width: 500px;
  margin: 0;
  color: var(--color-ink);
  font-size: 15px;
  line-height: 1.5;
}

.tasks-section {
  background: var(--color-canvas);
}

.section-heading h2 {
  grid-column: 1 / span 8;
  grid-row: 1;
}

.section-intro {
  grid-column: 10 / -1;
  grid-row: 1;
  align-self: end;
  margin: 0 0 5px;
  color: var(--color-ink);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -.015em;
}

.task-registry {
  margin-top: clamp(72px, 8vw, 120px);
  display: grid;
  gap: 16px;
}

.task-row {
  min-height: 176px;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  border: 1px solid var(--color-line-strong);
  background: var(--color-paper);
}

.task-number {
  grid-column: 1 / span 1;
  color: var(--color-ink);
  font-size: 12px;
  letter-spacing: .04em;
}

.task-row h3 {
  grid-column: 3 / span 5;
  font-size: clamp(29px, 3vw, 48px);
  line-height: 1.04;
}

.task-row p {
  grid-column: 9 / -1;
  max-width: 430px;
  margin: 2px 0 0;
  color: var(--color-ink);
  font-size: 16px;
}

.demo-section {
  padding-top: clamp(110px, 13vw, 192px);
  padding-bottom: clamp(120px, 15vw, 220px);
  background: var(--color-surface);
}

.demo-heading h2 {
  grid-column: 2 / span 8;
}

.demo-heading .section-intro {
  grid-column: 10 / -1;
}

.scenario-list {
  margin-top: clamp(72px, 8vw, 128px);
  border-bottom: 1px solid var(--color-line);
}

.scenario {
  min-height: 250px;
  padding: 36px 0 42px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--color-line);
}

.scenario > header {
  grid-column: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.scenario-index {
  color: var(--color-muted);
  font-size: 12px;
}

.scenario header h3 {
  max-width: 140px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.scenario-flow {
  grid-column: 4 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.scenario-flow > div {
  position: relative;
  min-height: 132px;
  padding: 18px 20px 18px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--color-ink);
}

.scenario-flow > div:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -19px;
  color: var(--color-faint);
  font-size: 17px;
  transform: translateY(-50%);
}

.scenario-flow span {
  color: var(--color-muted);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.scenario-flow strong {
  max-width: 280px;
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 500;
  line-height: 1.17;
  letter-spacing: -.025em;
}

.scenario--context .scenario-flow {
  grid-template-columns: .8fr 1.4fr .8fr;
}

.scenario--context .scenario-flow > div:nth-child(2) {
  min-height: 172px;
  padding: 24px;
  border: 1px solid var(--color-line-strong);
}

.scenario--timeline .scenario-flow {
  position: relative;
  gap: 46px;
}

.scenario--timeline .scenario-flow::before {
  content: "";
  position: absolute;
  top: 23px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--color-line-strong);
}

.scenario--timeline .scenario-flow > div {
  min-height: 150px;
  padding-top: 42px;
  border-top: 0;
}

.scenario--timeline .scenario-flow > div::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 19px;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--color-surface);
  border-radius: 50%;
  background: var(--color-ink);
  box-shadow: 0 0 0 1px var(--color-ink);
}

.agent-demo {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.agent-dialog {
  grid-column: 1 / span 7;
  min-height: 430px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-line-strong);
  background: var(--color-paper);
}

.agent-dialog > header {
  min-height: 48px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-line);
}

.agent-dialog > header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-ink-strong);
  color: var(--color-inverse-text);
  font-size: 11px;
  font-weight: 600;
}

.agent-dialog h3 {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.agent-status,
.demo-label,
.message span {
  color: var(--color-muted);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.agent-status::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--color-status);
}

.dialog-thread {
  padding-top: 22px;
  display: grid;
  gap: 12px;
}

.message {
  width: min(86%, 470px);
  margin: 0;
  padding: 13px 15px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--color-line);
  font-size: 14px;
  line-height: 1.42;
}

.message--client {
  justify-self: end;
  background: var(--color-surface);
}

.message--agent {
  background: var(--color-canvas);
}

.agent-route {
  grid-column: 8 / -1;
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
  border-top: 1px solid var(--color-ink);
}

.agent-route li {
  padding: 17px 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--color-line);
}

.agent-route li > span {
  padding-top: 3px;
  color: var(--color-muted);
  font-size: 11px;
}

.agent-route h3 {
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.08;
}

.agent-route p {
  max-width: 380px;
  margin: 7px 0 0;
  color: var(--color-ink);
  font-size: 13px;
  line-height: 1.4;
}

.process-section {
  background: var(--color-inverse);
  color: var(--color-inverse-text);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr);
  gap: clamp(48px, 5vw, 80px);
  align-items: center;
}

.process-heading {
  align-self: start;
}

.process-heading h2 {
  color: var(--color-inverse-text);
  font-size: clamp(58px, 6vw, 92px);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.04em;
}

.process-track {
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 34px);
  list-style: none;
}

.process-track li {
  position: relative;
  min-width: 0;
  padding: 0;
  display: block;
}

.process-track li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  left: calc(100% - 4px);
  width: calc(100% + 8px);
  height: 1px;
  background: rgb(247 247 244 / .32);
}

.process-track li:not(:last-child)::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 23px;
  left: calc(200% + 2px);
  width: 7px;
  height: 7px;
  border: 1px solid rgb(247 247 244 / .55);
  border-radius: 50%;
  background: var(--color-inverse);
  transform: translateX(-50%);
}

.process-number {
  display: block;
  color: var(--color-inverse-text);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.035em;
}

.process-track h3 {
  margin-top: 26px;
  color: var(--color-inverse-text);
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.15;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.process-track p {
  max-width: 190px;
  margin: 14px 0 0;
  color: rgb(247 247 244 / .7);
  font-size: 13px;
  line-height: 1.45;
}

.responsibility-section {
  min-height: 90svh;
  padding-top: clamp(96px, 10vw, 152px);
  padding-bottom: clamp(80px, 9vw, 136px);
  display: flex;
  align-items: stretch;
  background: var(--color-inverse);
  color: #f7f7f4;
}

.responsibility-section .section-shell {
  display: flex;
  flex-direction: column;
}

.responsibility-title {
  max-width: 1330px;
  margin-top: 0 !important;
  color: #f7f7f4 !important;
  font-size: clamp(45px, 6.2vw, 98px) !important;
  line-height: .94 !important;
}

.responsibility-foot {
  margin-top: auto;
  padding-top: clamp(90px, 12vw, 170px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  color: #aaa9a5;
}

.responsibility-foot span {
  grid-column: 1 / span 3;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.responsibility-foot p {
  grid-column: 8 / -1;
  max-width: 550px;
  margin: 0;
  font-size: 17px;
}

.faq-section {
  padding-top: clamp(144px, 18vw, 280px);
  background: var(--color-canvas);
}

.faq-heading {
  grid-column: 1 / span 4;
}

.faq-heading h2 {
  margin-top: 0;
}

.faq-list {
  grid-column: 6 / -1;
}

/* The last slide combines readable FAQ content and a compact personal footer. */

.faq-list details {
  display: flow-root;
  border-top: 1px solid var(--color-line-strong);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--color-line-strong);
}

@media (prefers-reduced-motion: no-preference) {
  .faq-enter-pending .faq-heading h2,
  .faq-enter-pending .faq-list details {
    opacity: 0;
    transform: translateY(28px);
  }

  .faq-enter-pending .faq-list details {
    transform: translateY(18px);
  }

  .faq-enter-pending.is-faq-visible .faq-heading h2,
  .faq-enter-pending.is-faq-visible .faq-list details {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 680ms cubic-bezier(.16, 1, .3, 1),
      transform 680ms cubic-bezier(.16, 1, .3, 1);
  }

  .faq-enter-pending.is-faq-visible .faq-list details {
    transition-duration: 480ms;
    transition-delay: var(--faq-enter-delay);
  }
}

.faq-list summary {
  min-height: 88px;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  cursor: pointer;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
  list-style: none;
}

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

.faq-list summary span {
  flex: 0 0 auto;
  color: var(--color-muted);
  font-size: 24px;
  font-weight: 400;
  transition: transform 220ms var(--ease-out);
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details.is-faq-animating {
  overflow: clip;
}

.faq-list details.is-faq-closing summary span {
  transform: rotate(0deg);
}

.faq-list details p {
  max-width: 650px;
  margin: -5px 0 32px;
  color: var(--color-ink);
  font-size: 16px;
}

.contact-section {
  min-height: 88svh;
  display: flex;
  align-items: stretch;
  background: var(--color-paper);
}

.contact-layout {
  display: flex;
  flex-direction: column;
}

.contact-layout h2 {
  max-width: 1170px;
  margin-top: 0;
  font-size: clamp(56px, 7.5vw, 116px);
  line-height: .91;
}

.contact-action {
  margin-top: auto;
  padding-top: clamp(80px, 10vw, 140px);
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-end;
}

.contact-action p {
  max-width: 520px;
  margin: 0;
  color: var(--color-ink);
  font-size: 17px;
}

.button--large {
  min-height: 58px;
  padding-inline: 28px;
}

.site-footer {
  padding: clamp(64px, 8vw, 120px) var(--page-gutter) 36px;
  overflow: hidden;
  background: var(--color-inverse);
  color: #f7f7f4;
}

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-top {
  align-items: flex-start;
}

.footer-top p {
  margin: 0;
  color: #b8b8b3;
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.button--light {
  background: #f7f7f4;
  color: var(--color-ink-strong);
}

.button--light[aria-disabled="true"] {
  border: 1px dashed #777773;
  background: transparent;
  color: #a9a9a4;
}

.contact-display {
  margin: clamp(96px, 12vw, 180px) 0 clamp(72px, 9vw, 128px);
  display: block;
  color: #f7f7f4;
  font-size: clamp(64px, 9.5vw, 152px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}

.contact-display[aria-disabled="true"] {
  color: #777773;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid #41413f;
  color: #8d8d88;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.has-motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(.992);
  transition: opacity 3000ms var(--ease-out), transform 3000ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.has-motion [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.has-motion .hero-device[data-reveal],
.has-motion .hero-device[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.has-motion h2[data-reveal] {
  --reveal-delay: 120ms;
}

.has-motion .section-intro[data-reveal],
.has-motion .about-note[data-reveal] {
  --reveal-delay: 200ms;
}

.has-motion .task-row:nth-child(2)[data-reveal],
.has-motion .scenario:nth-child(2)[data-reveal],
.has-motion .process-track li:nth-child(2)[data-reveal] {
  --reveal-delay: 80ms;
}

.has-motion .task-row:nth-child(3)[data-reveal],
.has-motion .scenario:nth-child(3)[data-reveal],
.has-motion .process-track li:nth-child(3)[data-reveal] {
  --reveal-delay: 160ms;
}

.has-motion .process-track li:nth-child(4)[data-reveal] {
  --reveal-delay: 240ms;
}

.has-motion .hero-device .site-header,
.has-motion .hero-device .hero-title,
.has-motion .hero-device .hero-copy,
.has-motion .hero-device .scroll-cue,
.has-motion .hero-device .hero-portrait {
  transition: opacity 3000ms var(--ease-out), transform 3000ms var(--ease-out);
}

.has-motion .hero-device:not(.is-visible) .site-header {
  opacity: 0;
  transform: translateY(10px);
}

.has-motion .hero-device:not(.is-visible) .hero-title,
.has-motion .hero-device:not(.is-visible) .hero-copy,
.has-motion .hero-device:not(.is-visible) .scroll-cue {
  opacity: 0;
  transform: translateY(16px);
}

.has-motion .hero-device:not(.is-visible) .hero-portrait {
  opacity: 0;
  transform: translateX(-50%) translateY(46px);
}

.has-motion .hero-device .site-header {
  transition-delay: 40ms;
}

.has-motion .hero-device .hero-title {
  transition-delay: 120ms;
}

.has-motion .hero-device .hero-copy,
.has-motion .hero-device .scroll-cue {
  transition-delay: 220ms;
}

.has-motion .hero-device .hero-portrait {
  transition-duration: 980ms;
  transition-delay: 280ms;
}

@media (max-width: 1199px) {
  :root {
    --page-gutter: 32px;
    --screen-padding: 32px;
  }

  .hero {
    min-height: auto;
    padding: 32px;
  }

  .hero-device {
    aspect-ratio: auto;
    filter: drop-shadow(0 18px 26px rgb(0 0 0 / .1));
  }

  .hero-portrait {
    width: min(38%, 440px);
  }

  .laptop-screen {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: clamp(640px, calc(100svh - 64px), 820px);
    display: flex;
    flex-direction: column;
    border: 8px solid #171717;
    border-radius: 18px;
  }

  .laptop-chassis {
    display: none;
  }

  .site-header,
  .hero-stage,
  .hero-title {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 20px;
  }

  .identity {
    grid-column: 1 / span 2;
  }

  .desktop-nav {
    grid-column: 5 / -1;
    gap: 12px;
  }

  .header-actions {
    grid-column: 1 / span 3;
  }

  .header-actions > .text-link {
    display: none;
  }

  .availability {
    display: inline-flex;
    font-size: 11px;
  }

  .hero-title-part--left {
    grid-column: 1 / span 4;
  }

  .hero-title-part--right {
    grid-column: 5 / -1;
  }

  .hero-stage {
    min-height: 562px;
    flex: 1;
  }

  .hero-title {
    top: 16%;
    font-size: clamp(54px, 6.1vw, 74px);
  }

  .hero-copy {
    grid-column: 1 / span 3;
  }

  .scroll-cue {
    grid-column: 7 / -1;
  }

  .section-grid,
  .placeholder-row,
  .task-row,
  .scenario,
  .responsibility-foot {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 20px;
  }

  .about-title {
    grid-column: 1 / span 6;
  }

  .about-note {
    grid-column: 7 / -1;
  }

  .placeholder-name {
    grid-column: 1 / span 3;
  }

  .placeholder-value {
    grid-column: 4 / -1;
  }

  .section-heading h2,
  .demo-heading h2 {
    grid-column: 1 / span 6;
  }

  .section-intro,
  .demo-heading .section-intro {
    grid-column: 7 / -1;
  }

  .task-row h3 {
    grid-column: 2 / span 4;
  }

  .task-row p {
    grid-column: 6 / -1;
  }

  .scenario > header {
    grid-column: 1 / span 2;
  }

  .scenario-flow {
    grid-column: 3 / -1;
  }

  .process-heading h2 {
    grid-column: 2 / span 6;
  }

  .process-track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .process-track li:nth-child(2) {
    border-right: 0;
  }

  .process-track li:nth-child(n + 3) {
    border-top: 0;
  }

  .responsibility-foot p {
    grid-column: 5 / -1;
  }

  .faq-heading {
    grid-column: 1 / span 3;
  }

  .faq-list {
    grid-column: 4 / -1;
  }
}

@media (min-width: 900px) {
  .hero {
    height: 100svh;
    min-height: 0;
    overflow: hidden;
  }

  main > .section {
    height: 100svh;
    min-height: 0;
    padding-block: clamp(38px, 6svh, 64px);
    display: flex;
    align-items: center;
    overflow: hidden;
    scroll-margin-top: 0;
  }

  main > .section .section-shell {
    max-height: 100%;
  }

  .section h2 {
    font-size: clamp(38px, 4.1vw, 66px);
  }

  .placeholder-ledger,
  .expertise-grid {
    margin-top: clamp(30px, 5svh, 52px);
  }

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

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

  .expertise-item {
    min-height: clamp(128px, 19svh, 156px);
    padding-block: 20px;
  }

  .placeholder-row {
    min-height: clamp(92px, 15svh, 124px);
    padding: 20px 24px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .placeholder-row:nth-child(even) {
    padding-right: 0;
    padding-left: 24px;
    border-left: 1px solid var(--color-line);
  }

  .task-registry {
    margin-top: clamp(30px, 5svh, 52px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .task-row {
    min-height: clamp(276px, 43svh, 350px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    border: 1px solid var(--color-line-strong);
  }

  .task-row:first-child {
    padding-left: 24px;
  }

  .task-row:last-child {
    padding-right: 24px;
    border-right: 1px solid var(--color-line-strong);
  }

  .task-row h3 {
    font-size: clamp(24px, 2.5vw, 38px);
  }

  .task-row p {
    margin-top: auto;
  }

  .demo-section {
    padding-block: clamp(36px, 5svh, 56px);
  }

  .agent-demo {
    margin-top: clamp(24px, 4svh, 40px);
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr);
  }

  .agent-dialog {
    grid-column: 1;
    min-height: clamp(360px, 55svh, 450px);
  }

  .agent-route {
    grid-column: 2;
  }

  .scenario-list {
    margin-top: clamp(24px, 4svh, 40px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scenario {
    min-height: clamp(360px, 55svh, 450px);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-right: 1px solid var(--color-line);
  }

  .scenario:first-child {
    padding-left: 0;
  }

  .scenario:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .scenario > header {
    min-height: 44px;
    flex-direction: row;
    gap: 16px;
  }

  .scenario header h3 {
    max-width: 170px;
    text-align: right;
  }

  .scenario-flow,
  .scenario--context .scenario-flow,
  .scenario--timeline .scenario-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
  }

  .scenario-flow > div,
  .scenario--context .scenario-flow > div:nth-child(2),
  .scenario--timeline .scenario-flow > div {
    min-height: 0;
    padding: 12px 0;
    border: 0;
    border-top: 1px solid var(--color-ink);
  }

  .scenario-flow > div:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 2px;
    bottom: -12px;
    transform: none;
  }

  .scenario-flow strong {
    max-width: none;
    font-size: clamp(15px, 1.35vw, 19px);
  }

  .scenario--timeline .scenario-flow::before,
  .scenario--timeline .scenario-flow > div::before {
    display: none;
  }

  .process-section {
    padding-block: clamp(42px, 6svh, 64px);
  }

  .process-heading h2 {
    font-size: clamp(58px, 6vw, 92px);
  }

  .process-track {
    margin-top: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .process-track li,
  .process-track li:nth-child(n + 3) {
    min-height: 0;
    border-top: 0;
  }

  .process-track li:nth-child(2) {
    border-right: 0;
  }

  .responsibility-section {
    min-height: 0;
  }

  .responsibility-title {
    font-size: clamp(42px, 5.5vw, 82px) !important;
  }

  .responsibility-foot {
    padding-top: clamp(44px, 8svh, 82px);
  }

  .faq-section {
    padding-block: clamp(42px, 6svh, 64px);
  }

  .faq-list summary {
    min-height: clamp(64px, 10svh, 76px);
    padding-block: 18px;
  }

  .contact-section {
    min-height: 0;
  }

  .contact-layout h2 {
    font-size: clamp(52px, 7vw, 104px);
  }

  .contact-action {
    padding-top: clamp(48px, 9svh, 96px);
  }

  .site-footer {
    height: 100svh;
    min-height: 0;
    padding-block: clamp(42px, 7svh, 72px) 32px;
    display: flex;
    align-items: center;
  }

  .site-footer .section-shell {
    width: min(100%, var(--content-width));
  }

  .contact-display {
    margin-block: clamp(68px, 14svh, 132px) clamp(52px, 10svh, 96px);
    font-size: clamp(58px, 8.4vw, 130px);
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .hero-device {
    width: min(118%, 140svh);
    max-width: none;
    aspect-ratio: 3 / 2;
    margin-inline: 0;
    justify-self: center;
    scale: .92;
    translate: 0 -88px;
  }

  .laptop-screen {
    position: absolute;
    inset: 8.1055% 12.0443% 15.2344%;
    width: auto;
    height: auto;
    min-height: 0;
    display: block;
    border: 0;
    border-radius: 3px;
  }

  .laptop-chassis {
    display: block;
  }

  .hero-stage {
    min-height: 0;
  }
}

@media (min-width: 1200px) {
  :root {
    --page-gutter: 48px;
    --screen-padding: 36px;
  }

  .hero-device {
    width: var(--content-width);
    max-width: none;
    margin-inline: 0;
    justify-self: center;
    /* About 2 cm per visible side; scale the chassis and all screen content together. */
    scale: min(.845, calc((100svh - 32px) / 850px));
    translate: 0 min(calc(50svh - 504px), 8px);
  }

  .hero-title {
    font-size: clamp(60px, 7.1333vw, 84px);
  }

  .hero-copy {
    font-size: clamp(14px, 1.4667vw, 16px);
  }

  main > .section,
  .site-footer {
    justify-content: center;
  }

  main > .section .section-shell,
  .site-footer .section-shell {
    width: min(133.3333%, var(--content-width));
    flex: 0 0 auto;
    zoom: .75;
  }

  .section h2 {
    font-size: clamp(38px, 5.4667vw, 66px);
  }

  .about-note {
    font-size: clamp(16px, 1.6667vw, 18px);
  }

  .placeholder-ledger,
  .expertise-grid,
  .task-registry {
    margin-top: clamp(30px, 6.6667svh, 52px);
  }

  .expertise-item {
    min-height: clamp(128px, 25.3333svh, 156px);
  }

  .expertise-item h3 {
    font-size: clamp(17px, 2vw, 22px);
  }

  .placeholder-row {
    min-height: clamp(92px, 20svh, 124px);
  }

  .task-row {
    min-height: clamp(276px, 57.3333svh, 350px);
  }

  .task-row h3 {
    font-size: clamp(24px, 3.3333vw, 38px);
  }

  .agent-demo,
  .scenario-list {
    margin-top: clamp(24px, 5.3333svh, 40px);
  }

  .agent-dialog,
  .scenario {
    min-height: clamp(360px, 73.3333svh, 450px);
  }

  .scenario-flow strong {
    font-size: clamp(15px, 1.8vw, 19px);
  }

  .process-heading h2 {
    font-size: clamp(58px, 8vw, 92px);
  }

  .responsibility-title {
    font-size: clamp(42px, 7.3333vw, 82px) !important;
  }

  .responsibility-foot {
    padding-top: clamp(44px, 10.6667svh, 82px);
  }

  .faq-list summary {
    min-height: clamp(64px, 13.3333svh, 76px);
  }

  .contact-layout h2 {
    font-size: clamp(52px, 9.3333vw, 104px);
  }

  .contact-action {
    padding-top: clamp(48px, 12svh, 96px);
  }

  .contact-display {
    margin-block: clamp(68px, 18.6667svh, 132px) clamp(52px, 13.3333svh, 96px);
    font-size: clamp(58px, 11.2vw, 130px);
  }
}

@media (max-width: 899px) {
  :root {
    --page-gutter: 24px;
    --screen-padding: 24px;
  }

  .hero {
    padding: 24px;
  }

  .laptop-screen {
    min-height: auto;
  }

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

  .identity {
    position: static;
    grid-column: 1 / span 4;
    width: max-content;
    height: auto;
    padding: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    clip: auto;
    white-space: normal;
    text-transform: uppercase;
    letter-spacing: -.025em;
    font-weight: 600;
  }

  .identity:focus-visible {
    position: static;
    width: max-content;
    padding: 0;
    background: transparent;
  }

  .desktop-nav,
  .header-actions > .text-link {
    display: none;
  }

  .header-actions {
    grid-column: 5 / -1;
    min-height: 44px;
    justify-content: flex-end;
    gap: 14px;
  }

  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 8px 0 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    border: 0;
    background: transparent;
    color: var(--color-ink);
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .menu-icon,
  .menu-icon::before {
    width: 17px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 220ms var(--ease-out);
  }

  .menu-icon::before {
    content: "";
    transform: translateY(-5px);
  }

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

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

  .mobile-menu {
    position: absolute;
    z-index: 18;
    top: 72px;
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 32px 20px 20px;
    background: var(--color-paper);
  }

  .mobile-menu:not([hidden]) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .mobile-menu nav {
    display: grid;
  }

  .mobile-menu nav a {
    min-height: 44px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-line);
    font-size: clamp(28px, 5.5vw, 40px);
    line-height: 1;
    letter-spacing: -.035em;
  }

  .mobile-menu > .button {
    position: static;
    width: 100%;
    min-height: 48px;
  }

  .hero-stage {
    height: auto;
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 28px;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: auto clamp(320px, 40svh, 390px) auto;
    gap: 20px;
  }

  .expertise-grid {
    margin-top: 64px;
  }

  .agent-demo {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 20px;
  }

  .agent-dialog,
  .agent-route {
    grid-column: 1 / -1;
  }

  .agent-dialog {
    min-height: 0;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .process-heading h2 {
    font-size: clamp(58px, 11vw, 84px);
  }

  .process-track {
    grid-template-columns: 1fr;
    gap: 0;
    border-left: 1px solid rgb(247 247 244 / .32);
  }

  .process-track li {
    min-height: 190px;
    padding: 0 0 44px 34px;
  }

  .process-track li:not(:last-child)::after {
    display: none;
  }

  .process-track li::before,
  .process-track li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 18px;
    left: -1px;
    width: 9px;
    height: 9px;
    border: 1px solid rgb(247 247 244 / .7);
    border-radius: 50%;
    background: var(--color-inverse);
    transform: translateX(-50%);
  }

  .process-track h3 {
    margin-top: 18px;
    font-size: 15px;
  }

  .process-track p {
    max-width: 440px;
  }

  .hero-title {
    position: relative;
    z-index: 3;
    top: auto;
    right: auto;
    left: auto;
    grid-column: 1 / -1;
    grid-row: 1;
    display: block;
    font-size: clamp(48px, 6.7vw, 58px);
    font-weight: 400;
    line-height: 1.035;
  }

  .hero-title-part {
    width: 100%;
    display: block;
    text-align: left;
    white-space: normal;
    transform: none;
  }

  .hero-title-part--right {
    margin-top: .1em;
  }

  .hero-portrait {
    position: relative;
    z-index: 2;
    right: auto;
    bottom: auto;
    left: auto;
    grid-column: 1 / -1;
    grid-row: 2;
    width: min(74%, 520px);
    height: 100%;
    min-height: 0;
    justify-self: center;
    overflow: hidden;
    transform: none;
  }

  .hero-copy {
    grid-column: 1 / -1;
    grid-row: 3;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
  }

  .hero-copy p {
    max-width: 430px;
    margin: 0;
  }

  .scroll-cue {
    display: none;
  }

  .has-motion .hero-device:not(.is-visible) .hero-portrait {
    transform: translateY(46px);
  }

}

@media (max-width: 767px) {
  :root {
    --page-gutter: 20px;
    --screen-padding: 20px;
  }

  .hero {
    min-height: auto;
    padding: 20px;
  }

  .hero-device {
    aspect-ratio: auto;
    filter: drop-shadow(0 16px 24px rgb(0 0 0 / .08));
  }

  .laptop-screen {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: calc(100svh - 40px);
    border: 6px solid #1b1b1b;
    border-radius: 17px;
  }

  .laptop-chassis {
    display: none;
  }

  .site-header {
    min-height: 70px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .identity {
    grid-column: 1 / span 2;
    min-height: 44px;
    justify-content: center;
    font-size: 12px;
  }

  .desktop-nav,
  .header-actions > .text-link {
    display: none;
  }

  .header-actions {
    grid-column: 3 / -1;
    gap: 12px;
  }

  .header-actions > .availability {
    display: inline-flex;
    font-size: 9px;
  }

  .menu-toggle {
    padding: 10px 0 10px 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: var(--color-ink);
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .menu-icon,
  .menu-icon::before {
    width: 17px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 220ms var(--ease-out);
  }

  .menu-icon::before {
    content: "";
    transform: translateY(-5px);
  }

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

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

  .mobile-menu {
    position: absolute;
    z-index: 18;
    top: 70px;
    right: 6px;
    bottom: 6px;
    left: 6px;
    padding: 36px 20px 24px;
    background: var(--color-paper);
  }

  .mobile-menu:not([hidden]) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .mobile-menu nav {
    display: grid;
  }

  .mobile-menu nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--color-line);
    font-size: clamp(28px, 9vw, 42px);
    line-height: 1;
    letter-spacing: -.045em;
  }

  .mobile-menu > .button {
    position: static;
    width: 100%;
  }

  .hero-stage {
    height: auto;
    min-height: calc(100svh - 122px);
    padding-top: 20px;
    padding-bottom: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto clamp(280px, 36svh, 340px) auto;
    gap: 12px;
  }

  .hero-title {
    position: relative;
    z-index: 3;
    top: auto;
    right: auto;
    left: auto;
    grid-column: 1 / -1;
    grid-row: 1;
    display: block;
    font-size: clamp(42px, 12vw, 54px);
    font-weight: 400;
    line-height: 1.035;
  }

  .hero-title-part {
    width: 100%;
    display: block;
    text-align: left;
    transform: none;
  }

  .hero-title-part--right {
    margin-top: .1em;
  }

  .hero-portrait {
    position: relative;
    z-index: 2;
    right: auto;
    bottom: auto;
    left: auto;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: 100%;
    min-height: 210px;
    overflow: hidden;
    transform: none;
  }

  .hero-portrait img {
    width: 100%;
    margin-left: 0;
  }


  .has-motion .hero-device:not(.is-visible) .hero-portrait {
    transform: translateY(52px);
  }

  .hero-copy {
    grid-column: 1 / -1;
    grid-row: 3;
    max-width: none;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: end;
  }

  .hero-copy p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-copy .button {
    min-height: 48px;
    padding-inline: 17px;
    font-size: 13px;
  }

  .hero-copy .button[aria-disabled="true"]::after {
    display: none;
  }

  .hero-copy .button span {
    font-size: 13px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 96px 20px;
  }

  .section-grid,
  .placeholder-row,
  .task-row,
  .scenario,
  .responsibility-foot {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .section h2 {
    font-size: clamp(40px, 12.5vw, 60px);
    overflow-wrap: anywhere;
  }

  .about-title,
  .section-heading h2,
  .demo-heading h2,
  .process-heading h2 {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 0;
  }

  .about-note,
  .section-intro,
  .demo-heading .section-intro {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 24px;
  }

  .placeholder-ledger,
  .expertise-grid,
  .task-registry,
  .scenario-list,
  .agent-demo {
    margin-top: 64px;
  }

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

  .expertise-item,
  .expertise-item:nth-child(even) {
    min-height: 0;
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--color-line);
  }

  .expertise-item:first-child {
    border-top: 0;
  }

  .placeholder-row {
    padding: 20px 0;
  }

  .placeholder-name {
    grid-column: 1 / -1;
    font-size: 11px;
  }

  .placeholder-value {
    grid-column: 1 / -1;
    font-size: 17px;
  }

  .task-row {
    min-height: 0;
    padding: 26px 22px 30px;
  }

  .task-number {
    grid-column: 1 / -1;
  }

  .task-row h3 {
    grid-column: 1 / -1;
    margin-top: 18px;
    font-size: 31px;
  }

  .task-row p {
    grid-column: 1 / -1;
    margin-top: 20px;
  }

  .demo-section {
    padding-bottom: 128px;
  }

  .agent-demo {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }

  .agent-dialog,
  .agent-route {
    grid-column: 1 / -1;
  }

  .agent-dialog {
    padding: 18px;
  }

  .message {
    width: 92%;
    font-size: 13px;
  }

  .agent-route li {
    padding-block: 20px;
  }

  .scenario {
    min-height: 0;
    padding: 28px 0 38px;
    display: block;
  }

  .scenario > header {
    margin-bottom: 34px;
    flex-direction: row;
    justify-content: space-between;
  }

  .scenario header h3 {
    max-width: 165px;
    text-align: right;
  }

  .scenario-flow,
  .scenario--context .scenario-flow,
  .scenario--timeline .scenario-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .scenario-flow > div,
  .scenario--context .scenario-flow > div:nth-child(2),
  .scenario--timeline .scenario-flow > div {
    min-height: 112px;
    padding: 16px 0;
    border: 0;
    border-top: 1px solid var(--color-ink);
  }

  .scenario-flow > div:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 2px;
    bottom: -20px;
    transform: none;
  }

  .scenario--timeline .scenario-flow::before,
  .scenario--timeline .scenario-flow > div::before {
    display: none;
  }

  .process-section {
    padding-block: 96px;
  }

  .process-track {
    margin-top: 0;
    grid-template-columns: 1fr;
    border-top: 0;
    border-left: 1px solid rgb(247 247 244 / .32);
  }

  .process-track li,
  .process-track li:not(:first-child),
  .process-track li:last-child {
    min-height: 190px;
    padding: 0 0 44px 30px;
    display: block;
    border-top: 0;
    border-right: 0;
  }

  .process-heading h2 {
    font-size: clamp(56px, 17vw, 76px);
  }

  .process-track h3 {
    margin-top: 18px;
    font-size: 15px;
  }

  .process-track p {
    max-width: 310px;
    margin-top: 12px;
  }

  .responsibility-section {
    min-height: auto;
    padding-block: 96px;
  }

  .responsibility-title {
    margin-top: 0 !important;
    font-size: clamp(40px, 11.8vw, 58px) !important;
    line-height: .97 !important;
    overflow-wrap: anywhere;
  }

  .responsibility-foot {
    padding-top: 96px;
  }

  .responsibility-foot span,
  .responsibility-foot p {
    grid-column: 1 / -1;
  }

  .responsibility-foot p {
    margin-top: 20px;
  }

  .faq-section {
    padding-top: 144px;
  }

  .faq-heading,
  .faq-list {
    grid-column: 1 / -1;
  }

  .faq-list {
    margin-top: 64px;
  }

  .faq-list summary {
    min-height: 78px;
    font-size: 18px;
  }

  .contact-section {
    min-height: 760px;
  }

  .contact-layout h2 {
    margin-top: 0;
    font-size: clamp(48px, 14vw, 68px);
  }

  .contact-action {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-action .button {
    width: 100%;
  }

  .site-footer {
    padding: 64px 20px 28px;
  }

  .footer-top {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .footer-top .button {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding-inline: 16px;
  }

  .footer-bottom a[href="#hero"] {
    min-height: 44px;
    margin-block: -13px;
    display: inline-flex;
    align-items: center;
  }

  .contact-display {
    margin-block: 100px 84px;
    font-size: clamp(44px, 14vw, 66px);
  }
}

@media (max-width: 599px) {
  .header-actions > .availability {
    display: none;
  }

  .hero-copy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-copy .button {
    width: 100%;
    min-height: 58px;
    padding: 7px 12px;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 340px) {
  .hero-copy {
    grid-template-columns: 1fr;
  }

  .hero-copy .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }

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

  [data-reveal],
  .has-motion [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .button::before {
    transition: none;
  }

  .button:not([aria-disabled="true"]):active,
  .button.is-origin-pressed {
    transform: none;
  }
}
/* Pilot: four scroll-driven milestones, one shared business process. */
main > .pilot-section { height: auto; min-height: 100svh; overflow: visible; scroll-margin-top: 0; padding-block: 56px; background: var(--color-paper); border-top: 1px solid var(--color-line); }
main > .pilot-section .pilot-shell { width: min(100%, 1320px); max-height: none; zoom: 1; }
.pilot-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.pilot-section .pilot-heading h2 { font-size: clamp(38px, 4vw, 60px); line-height: 1.04; letter-spacing: -.035em; }
.pilot-lead { margin: 0; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.5; letter-spacing: -.02em; }
.pilot-route { position: relative; margin-top: 42px; }
.pilot-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pilot-track > li { position: relative; min-width: 0; padding-top: 48px; }
.pilot-block { height: 100%; display: flex; flex-direction: column; padding: 24px 20px 16px; border: 1px solid var(--color-line-strong); border-radius: 12px; transition: border-color 220ms, background 220ms; }
.pilot-track .is-complete .pilot-block { border-color: var(--color-ink); background: #fff; }
@media (prefers-reduced-motion: no-preference) {
  main > .pilot-enter-pending { overflow: clip; }
  .pilot-enter-pending .pilot-block { opacity: 0; }
  .pilot-enter-pending .pilot-footer,
  .pilot-enter-pending .pilot-hint { opacity: 0; }
  .pilot-enter-pending.is-pilot-arriving .pilot-footer,
  .pilot-enter-pending.is-pilot-arriving .pilot-hint {
    animation: pilot-footer-enter 280ms 960ms both;
  }
  .pilot-enter-pending.is-pilot-arriving .pilot-block {
    animation: pilot-card-enter 700ms cubic-bezier(.16, 1, .3, 1) var(--pilot-enter-delay, 0ms) both;
  }
  @keyframes pilot-card-enter {
    from { opacity: 0; transform: translateY(var(--pilot-enter-distance, 100svh)); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes pilot-footer-enter {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

h1, h2, h3, h4, h5, h6,
.agent-card-title,
.agent-custom-process > span {
  font-family: var(--font-heading);
  font-stretch: 85%;
  font-size-adjust: none;
}

/* Consultation inherits the site's paper, hairlines and quiet typography. */
html.consultation-open,
html.consultation-open body {
  overflow: hidden;
  overscroll-behavior: none;
}
.consultation {
  width: min(680px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: var(--color-paper);
  color: var(--color-ink);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--color-line-strong) var(--color-paper);
}
.consultation::backdrop { background: rgb(8 8 8 / 62%); }
.consultation[open] { animation: consultation-enter 280ms cubic-bezier(.16, 1, .3, 1); }
.consultation [hidden] { display: none; }
.consultation-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 62px;
  padding: 8px 18px 8px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-line);
  font-size: 13px;
}
.consultation-close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 180ms ease;
}
.consultation-close:hover { background: var(--color-canvas); }
.consultation-body { padding: 30px 32px 32px; }
.consultation h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.consultation h2:focus { outline: none; }
#consultation-intro { max-width: 52ch; margin: 0 0 28px; font-size: 15px; line-height: 1.55; color: #62625e; }
.consultation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.consultation-wide { grid-column: 1 / -1; }
.consultation-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.consultation-field label { font-size: 14px; font-weight: 500; line-height: 1.45; }
.consultation-field label span { margin-left: 6px; color: #62625e; font-size: 12px; font-weight: 400; white-space: nowrap; }
.consultation-field input,
.consultation-field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-line-strong);
  border-radius: 3px;
  background: var(--color-surface);
  color: var(--color-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  caret-color: var(--color-ink);
  scroll-margin-block: 90px 24px;
  transition: border-color 180ms ease;
}
.consultation-field textarea { resize: vertical; min-height: 80px; }
.consultation-field :is(input, textarea)::placeholder { color: #71716d; opacity: 1; }
.consultation-field :is(input, textarea):hover { border-color: var(--color-muted); }
.consultation :is(input, textarea, button):focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.consultation ::selection { background: var(--color-ink); color: var(--color-paper); }
.consultation-hint { margin: -10px 0 0; color: #62625e; font-size: 13px; line-height: 1.45; }
.consultation-error { color: #a12c23; font-size: 13px; line-height: 1.4; }
.consultation-error:empty, .consultation-status:empty { display: none; }
.consultation [aria-invalid="true"] { border-color: #a12c23; }
.consultation-submit { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--color-line); }
.consultation .button { border: 0; cursor: pointer; min-height: 52px; --button-fill: #30302e; }
.consultation .button svg { position: relative; flex-shrink: 0; }
.consultation .button:hover > span, .consultation .button:focus-visible > span { transform: none; }
.consultation .button:disabled { opacity: .65; cursor: wait; }
.consultation-submit p { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: #62625e; }
.consultation-status { margin: 18px 0 0; color: #a12c23; font-size: 14px; line-height: 1.5; }
.consultation-status:focus { outline: none; }
.consultation-success { padding: 28px 0 16px; }
.consultation-success > svg { margin-bottom: 26px; }
.consultation-success p { margin: 0 0 30px; max-width: 45ch; color: #62625e; }
.consultation-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.consultation-noscript { padding: 20px; text-align: center; }
.consultation-availability { border: 1px solid var(--color-line-strong); padding: 14px 16px; margin: 0 0 24px; font-size: 16px; line-height: 1.45; }
.consultation-data-hint { margin: 24px 0; font-size: 16px; line-height: 1.5; color: #62625e; }
.consultation-consent { margin-top: 24px; font-size: 17px; line-height: 1.5; }
.consultation-consent label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.consultation-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--color-ink); scroll-margin-block: 90px 24px; }
.consultation-consent p { margin: 12px 0 0 32px; font-size: 16px; color: #62625e; }
.consultation-consent .consultation-error { margin: 8px 0 0 32px; }
.consultation-consent a, .closing-legal a { text-decoration: underline; text-underline-offset: .2em; }
.consultation a:focus-visible, .closing-legal a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.consultation form:not([aria-busy="true"]) .button:disabled { cursor: not-allowed; }
.closing-legal { grid-column: 1 / -1; min-width: 0; border-top: 1px solid #60605b; padding-top: 22px; margin-top: 22px; font-size: 16px; line-height: 1.5; color: #d6d6d0; }
.closing-legal nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 10px; }
.closing-legal a { padding-block: 6px; }
@keyframes consultation-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 599px) {
  .consultation { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .consultation-bar { padding-left: 20px; padding-right: 8px; min-height: 58px; }
  .consultation-body { padding: 24px 20px; }
  .consultation-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .consultation-hint { margin-top: -8px; }
  .consultation .button { width: 100%; padding-inline: 14px; font-size: 13px; }
  .consultation-field label span { display: block; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .consultation[open] { animation: none; }
  .consultation * { transition: none; }
}
.pilot-number { font-size: 12px; color: #62625e; font-variant-numeric: tabular-nums; }
.pilot-section h3 { min-height: 64px; margin: 16px 0 12px; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.25; letter-spacing: -.025em; font-weight: 500; text-transform: uppercase; }
.pilot-copy p { min-height: 90px; margin: 0; color: #62625e; font-size: 14px; line-height: 1.55; }
.pilot-check { position: absolute; top: 0; left: 20px; z-index: 2; width: 26px; height: 26px; border: 1px solid var(--color-line-strong); border-radius: 50%; background: var(--color-paper); }
.pilot-check svg { width: 100%; fill: none; stroke: var(--color-paper); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pilot-check path { stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset 220ms; }
.is-complete > .pilot-check { background: var(--color-ink); border-color: var(--color-ink); }
.is-complete > .pilot-check path { stroke-dashoffset: 0; }
.pilot-rail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; pointer-events: none; }
.pilot-rail-base { stroke: var(--color-line-strong); stroke-width: 1; }
.pilot-rail-trail { stroke: var(--color-ink); stroke-width: 2; }
.pilot-beam { fill: var(--color-paper); stroke: var(--color-ink); stroke-width: 2; }
.pilot-section:not(.pilot-interactive) .pilot-rail, .pilot-section:not(.pilot-interactive) .pilot-check { display: none; }
.pilot-scene { position: relative; height: 224px; margin-top: 26px; border-top: 1px solid var(--color-line); overflow: hidden; flex: none; }
.pilot-interactive li:not(.is-complete) .pilot-scene { opacity: .32; }
.baseline-main { padding-top: 24px; }
.baseline-main > span { font-size: 64px; letter-spacing: -.04em; line-height: 1; }
.baseline-scene span { font-variant-numeric: tabular-nums; }
.pilot-scene small { display: block; color: #62625e; font-size: 11px; font-weight: 400; }
.baseline-pair { display: flex; justify-content: space-between; margin-top: 22px; }
.baseline-pair span { font-size: 28px; line-height: 1.2; }
.business-orbit { position: absolute; width: 134px; height: 134px; left: calc(50% - 67px); top: 20px; border: 1px solid var(--color-line-strong); border-radius: 50%; }
.orbit-center { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; }
.orbit-spin { position: absolute; inset: 0; }
.orbit-node { position: absolute; width: 68px; padding: 4px 2px; text-align: center; background: var(--color-paper); font-size: 10px; border: 1px solid var(--color-line-strong); border-radius: 4px; }
.node-sales { left: 32px; top: -10px; }
.node-service { right: -28px; top: 55px; }
.node-docs { bottom: -10px; left: 32px; }
.node-finance { left: -28px; top: 55px; }
.automation-build { position: absolute; bottom: 8px; left: 0; width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 4px; font-size: 12px; }
.automation-build b { padding: 0 7px; border-radius: 3px; background: var(--color-ink); color: white; font-size: 11px; font-weight: 500; }
.automation-build i { grid-column: 1/-1; height: 2px; margin-top: 4px; background: var(--color-ink); transform-origin: left; }
.chart-legend { display: flex; gap: 20px; margin-top: 20px; font-size: 11px; }
.chart-legend span::before { content: ''; display: inline-block; width: 14px; height: 2px; margin: 0 6px 3px 0; background: var(--color-ink); }
.chart-legend span:first-child::before { background: #aaa; }
.chart-scene svg { width: 100%; height: 150px; fill: none; margin-top: 6px; }
.chart-grid { stroke: var(--color-line); stroke-width: 1; }
.chart-before { stroke: #aaa; stroke-width: 2; stroke-dasharray: 4 4; }
.chart-after { stroke: var(--color-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.chart-caption, .company-caption { display: block; text-align: center; font-size: 11px; color: #62625e; }
.company-network { position: relative; width: min(100%, 240px); height: 190px; margin: 8px auto 0; }
.company-network svg { position: absolute; width: 100%; height: 100%; fill: none; stroke: var(--color-line-strong); }
.company-network svg path { stroke: var(--color-ink); stroke-dasharray: 1; }
.company-ai { position: absolute; top: 76px; left: calc(50% - 19px); width: 38px; height: 38px; display: grid; place-items: center; background: var(--color-ink); color: white; border-radius: 50%; font-size: 12px; font-weight: 500; }
.company-unit { position: absolute; border: 1px solid var(--color-ink); background: var(--color-ink); color: white; border-radius: 4px; padding: 4px; font-size: 10px; }
.unit-sales { left: 50%; top: 14px; transform: translateX(-50%); }
.unit-docs { left: 50%; bottom: 14px; transform: translateX(-50%); }
.unit-service { right: 0; top: 82px; }
.unit-finance { left: 0; top: 82px; }
.pilot-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.pilot-example, .pilot-hint, .pilot-status { margin: 0; font-size: 12px; color: #62625e; }
.pilot-hint { margin-top: 8px; }
.pilot-controls { display: flex; gap: 14px; align-items: center; }
.pilot-controls[hidden] { display: none; }
.pilot-controls button { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--color-line-strong); border-radius: 50%; background: transparent; cursor: pointer; }
.pilot-controls button:hover { background: var(--color-canvas); }
.pilot-controls button:disabled { opacity: .3; cursor: default; }
.pilot-controls svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
@media (min-width: 1100px) and (max-height: 780px) {
  main > .pilot-section { padding-block: 32px; }
  .pilot-section .pilot-heading h2 { font-size: 42px; }
  .pilot-route { margin-top: 28px; }
}
@media (max-width: 1099px) {
  main > .pilot-section { padding: 48px 28px; }
  .pilot-track { grid-template-columns: 1fr; gap: 24px; }
  .pilot-track > li { padding: 0 0 0 42px; }
  .pilot-check { left: 0; top: 24px; }
  .pilot-block { display: grid; grid-template-columns: 1fr 240px; gap: 32px; padding: 24px; }
  .pilot-section h3 { min-height: 0; max-width: 26ch; }
  .pilot-copy p { min-height: 0; max-width: 40ch; }
  .pilot-scene { margin-top: 0; border-top: 0; }
}
@media (max-width: 599px) {
  main > .pilot-section { padding: 40px 20px; }
  .pilot-heading { display: block; }
  .pilot-lead { margin-top: 24px; font-size: 16px; }
  .pilot-route { margin-top: 32px; }
  .pilot-track > li { padding-left: 32px; }
  .pilot-check { width: 22px; height: 22px; }
  .pilot-block { display: flex; gap: 0; padding: 20px 16px 12px; }
  .pilot-section h3 { font-size: 19px; }
  .pilot-scene { margin-top: 24px; border-top: 1px solid var(--color-line); }
  .pilot-footer { align-items: flex-start; flex-direction: column-reverse; }
  .pilot-example { max-width: 36ch; }
}
@media (prefers-reduced-motion: no-preference) {
  .pilot-interactive .is-complete:not(.scene-settled) .orbit-spin { animation: pilot-orbit 2400ms var(--ease-out) both; }
  .pilot-interactive .is-complete:not(.scene-settled) .orbit-node { animation: pilot-counter-orbit 2400ms var(--ease-out) both; }
  .pilot-interactive .is-complete:not(.scene-settled) .automation-build { animation: pilot-build-in 3200ms both; }
  .pilot-interactive .is-complete:not(.scene-settled) .automation-build i { animation: pilot-build-bar 3200ms both; }
  .pilot-interactive .is-complete:not(.scene-settled) .chart-after { animation: pilot-chart 2400ms var(--ease-out) both; }
  .pilot-interactive .is-complete:not(.scene-settled) .company-ai { animation: pilot-ai-return 1200ms var(--ease-out) both; }
  .pilot-interactive .is-complete:not(.scene-settled) .company-network path { animation: pilot-chart 1800ms 500ms both; }
  .pilot-interactive .is-complete:not(.scene-settled) .company-unit { animation: pilot-spread 2800ms both; }
  .pilot-interactive .is-complete:not(.scene-settled) .unit-service { animation-delay: 160ms; }
  .pilot-interactive .is-complete:not(.scene-settled) .unit-docs { animation-delay: 320ms; }
  .pilot-interactive .is-complete:not(.scene-settled) .unit-finance { animation-delay: 480ms; }
  @keyframes pilot-orbit { from { transform: rotate(-300deg); } to { transform: rotate(0); } }
  @keyframes pilot-counter-orbit { from { transform: rotate(300deg); } to { transform: rotate(0); } }
  @keyframes pilot-build-in { 0%, 55% { opacity: 0; transform: translateY(-80px); } 78%, 100% { opacity: 1; transform: none; } }
  @keyframes pilot-build-bar { 0%, 72% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
  @keyframes pilot-chart { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes pilot-ai-return { from { transform: translateY(80px); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes pilot-spread { 0%, 45% { background: var(--color-paper); color: var(--color-ink); border-color: var(--color-line-strong); } 100% { background: var(--color-ink); color: white; } }
}

/* Third slide: one open sequence, with a concise process summary. */
main > .capabilities-section {
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  padding-block: 56px;
  height: auto;
  min-height: 100svh;
  overflow: visible;
  align-items: flex-start;
}
main > .capabilities-section .capabilities-shell {
  width: min(100%, 1200px);
  zoom: 1;
  max-height: none;
}
.capabilities-section .capabilities-heading h2 {
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
/* A selected card expands across the same two-by-two field. */
.agent-stage { display: grid; margin-top: 36px; isolation: isolate; }
.agent-grid, .scenario-workspace { grid-area: 1 / 1; min-width: 0; }
.agent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-self: start; }
.agent-card {
  display: flex; flex-direction: column; align-items: flex-start; min-width: 0;
  min-height: 206px; padding: 28px 32px; text-align: left;
  border: 1px solid var(--color-line-strong); border-radius: 12px;
  color: var(--color-ink); background: transparent; cursor: pointer;
  transition: background 220ms, border-color 220ms;
}
.agent-card:hover { background: #ededeb; border-color: var(--color-ink); }
.agent-card-title { max-width: 24ch; font-size: clamp(22px, 2.3vw, 32px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.agent-card-summary { margin-top: 12px; font-size: 15px; line-height: 1.5; color: #62625e; }
.agent-card-action { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding-top: 28px; margin-top: auto; font-size: 12px; }
.agent-card-action svg, .agent-close svg { width: 22px; height: 22px; flex: none; }
.agent-card-action svg { transition: transform 300ms var(--ease-out); }
.agent-card:hover .agent-card-action svg { transform: translateX(4px); }
.agent-custom-process {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  min-height: 190px; margin-top: 16px; padding: 28px 32px; border-radius: 12px;
  background: var(--color-ink); color: var(--color-inverse-text); text-decoration: none;
  transition: background 220ms;
}
.agent-custom-process > span {
  font-size: clamp(30px, 3.5vw, 50px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em;
}
.agent-custom-process > svg { width: 48px; height: 48px; flex: none; transition: transform 300ms var(--ease-out); }
.agent-custom-process:hover { background: var(--color-ink-strong); }
.agent-custom-process:hover > svg { transform: translateY(5px); }
.agent-custom-process:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.scenario-workspace { position: relative; z-index: 1; margin: 0; padding: 32px; border: 1px solid var(--color-line-strong); border-radius: 12px; background: var(--color-paper); align-self: stretch; }
.agent-detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; margin-bottom: 42px; }
.agent-detail-header h3 { margin: 0; max-width: 25ch; font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.agent-detail-header h3:focus { outline: none; }
.agent-close { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; margin: -6px -8px 0 0; border: 0; background: transparent; color: #62625e; cursor: pointer; white-space: nowrap; font-size: 13px; }
.agent-close:hover { color: var(--color-ink); }
.agent-card:focus-visible, .agent-close:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.agent-is-open .agent-grid { visibility: hidden; }
.agent-closing .agent-grid { visibility: visible; }
.agents-ready .agent-fallback-title { display: none; }
.agent-fallback-title { margin: 28px 0 16px; }
.agent-grid[hidden], .scenario-workspace[hidden], .agent-detail-header[hidden] { display: none; }
.simulation-route {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0; margin: 0; list-style: none;
}
.simulation-route li { position: relative; padding: 36px 28px 0 0; }
.simulation-route li::before, .simulation-route li::after {
  content: ''; position: absolute; top: 5px; left: 0; right: 0;
  height: 1px; background: var(--color-line-strong);
}
.simulation-route li::after {
  background: var(--color-ink); transform: scaleX(1); transform-origin: left;

}
.simulation-route li:last-child::before, .simulation-route li:last-child::after { display: none; }
.route-node {
  position: absolute; z-index: 1; top: 0; left: 0; width: 11px; height: 11px;
  border: 1px solid var(--color-ink); border-radius: 50%; background: var(--color-ink);

}
.simulation-route b { display: block; font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; line-height: 1.25; letter-spacing: -.025em; }
.simulation-route p { max-width: 24ch; margin: 14px 0 0; color: #62625e; font-size: 15px; line-height: 1.5; }
.simulation-toolbar { display: flex; align-items: center; gap: 24px; margin-top: 24px; color: #62625e; font-size: 12px; }
.simulation-replay { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 0; border: 0; color: #62625e; background: transparent; cursor: pointer; font-size: 12px; }
.simulation-replay:hover { color: var(--color-ink); }
.simulation-replay svg { width: 16px; height: 16px; }
.scenario-panels { margin-top: 40px; }
/* A continuous editorial strip: the agent's contribution is the focal point. */
.scenario-facts {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1fr;
  margin: 0;
  border-block: 1px solid var(--color-line-strong);
}
.scenario-facts > div { min-width: 0; padding: 24px; }
.scenario-facts > div:first-child { padding-left: 0; }
.scenario-facts > div:last-child { padding-right: 0; border-left: 1px solid var(--color-line-strong); }
.scenario-facts dt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 24px; font-size: 13px; font-weight: 500; color: #62625e;
}
.scenario-facts dd {
  max-width: 22ch; margin: 24px 0 0;
  font-size: clamp(20px, 1.75vw, 26px); font-weight: 500; line-height: 1.25; letter-spacing: -.025em;
  text-wrap: pretty;
}
.scenario-facts > div:first-child dd { color: #62625e; font-weight: 400; }
.scenario-facts > div:nth-child(2) { background: var(--color-inverse); color: var(--color-inverse-text); }
.scenario-facts > div:nth-child(2) dt { color: var(--color-inverse-text); }
.scenario-facts dt svg { width: 24px; height: 24px; flex: none; }
.scenario-panel:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 6px; }
@media (min-width: 900px) and (max-height: 749px) {
  main > .capabilities-section { padding-block: 32px; }
  .capabilities-section .capabilities-heading h2 { font-size: 42px; }
  .agent-stage { margin-top: 24px; }
  .scenario-panels { margin-top: 24px; }
}
@media (max-width: 899px) {
  main > .capabilities-section { padding: 56px 28px; }
  .scenario-workspace { padding: 24px; }
  .simulation-route { grid-template-columns: 1fr; }
  .simulation-route li { padding: 0 0 32px 32px; }
  .simulation-route li:last-child { padding-bottom: 0; }
  .simulation-route li::before, .simulation-route li::after { top: 6px; bottom: -6px; left: 5px; right: auto; width: 1px; height: auto; }
  .simulation-route li::after { transform: scaleY(1); transform-origin: top; }
  .route-node { top: 6px; }
  .simulation-route b { font-size: 20px; }
  .simulation-route p { max-width: none; margin-top: 6px; font-size: 14px; }
  .scenario-facts { grid-template-columns: 1fr 1fr; }
  .scenario-facts > div { padding: 24px; }
  .scenario-facts > div:nth-child(3), .scenario-facts > div:nth-child(4) { border-top: 1px solid var(--color-line-strong); }
  .scenario-facts > div:nth-child(3) { padding-left: 0; }
  .scenario-facts dd { font-size: 23px; }
}
@media (max-width: 599px) {
  main > .capabilities-section { padding: 40px 20px; }
  .capabilities-section .capabilities-heading h2 { font-size: clamp(32px, 8.5vw, 46px); }
  .simulation-toolbar { gap: 20px; font-size: 11px; }
  .scenario-facts { grid-template-columns: 1fr; }
  .scenario-facts > div { padding: 22px 0; }
  .scenario-facts > div:nth-child(2) { padding: 22px 18px; }
  .scenario-facts > div:last-child { border-left: 0; }
  .scenario-facts dt { font-size: 13px; }
  .scenario-facts dd { margin-top: 12px; max-width: 24ch; font-size: 22px; }
  .scenario-facts dt svg { transform: rotate(90deg); }
  .scenario-panels { margin-top: 24px; }
}
@media (min-width: 900px) and (max-height: 599px) {
  main > .capabilities-section { height: auto; min-height: 100svh; overflow: visible; }
}

/* One continuous reveal: the line reaches each point before its text settles. */
.simulation-route li::before { display: none; }
.simulation-route li:nth-child(1), .scenario-facts > div:nth-child(1) { --sequence-index: 0; }
.simulation-route li:nth-child(2), .scenario-facts > div:nth-child(2) { --sequence-index: 1; }
.simulation-route li:nth-child(3), .scenario-facts > div:nth-child(3) { --sequence-index: 2; }
.simulation-route li:nth-child(4), .scenario-facts > div:nth-child(4) { --sequence-index: 3; }
@media (prefers-reduced-motion: no-preference) {
  .scenario-playing .simulation-route li::after {
    animation: capability-line-in 650ms linear calc(180ms + var(--sequence-index) * 320ms) both;
  }
  .scenario-playing .route-node {
    animation: capability-node-in 450ms var(--ease-out) calc(100ms + var(--sequence-index) * 320ms) both;
  }
  .scenario-playing .simulation-route b {
    animation: capability-text-in 1200ms var(--ease-out) calc(180ms + var(--sequence-index) * 320ms) both;
  }
  .scenario-playing .simulation-route p {
    animation: capability-text-in 1200ms var(--ease-out) calc(260ms + var(--sequence-index) * 320ms) both;
  }
  .scenario-playing .scenario-facts > div {
    animation: capability-text-in 900ms var(--ease-out) calc(240ms + var(--sequence-index) * 100ms) both;
  }
  @keyframes capability-text-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes capability-line-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes capability-node-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 899px) {
  .scenario-playing .simulation-route li::after { animation-name: capability-line-down; }
  @keyframes capability-line-down { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

/* Sixth slide: scroll moves a single beam through the five-stage route. */
main > .process-section {
  height: auto;
  min-height: 100svh;
  overflow: visible;
  scroll-margin-top: 0;
}
main > .process-section .process-layout { max-height: none; }
/* Scale the complete composition, including type, spacing and route markers. */
main > .process-section .process-layout {
  width: min(100%, var(--content-width));
  zoom: 1.25;
}
@media (min-width: 1200px) {
  main > .process-section .process-layout {
    zoom: .9375; /* Existing desktop scale (.75) × 1.25. */
  }
}
.process-route { position: relative; min-width: 0; }
.process-rail {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  fill: none;
}
.process-rail-base { stroke: rgb(247 247 244 / .25); stroke-width: 1; }
.process-rail-trail { stroke: var(--color-inverse-text); stroke-width: 2; stroke-linecap: round; }
.process-beam { fill: var(--color-inverse-text); }
.process-check { display: none; }
.process-interactive .process-rail,
.process-interactive .process-check { display: block; }
.process-interactive .process-track { border: 0; }
.process-interactive .process-track li { padding-top: 52px; }
.process-interactive .process-track li::before,
.process-interactive .process-track li::after { display: none; }
.process-check {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border: 1px solid rgb(247 247 244 / .45);
  border-radius: 50%;
  background: var(--color-inverse);
}
.process-check svg { width: 100%; height: 100%; fill: none; stroke: var(--color-inverse); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.process-check path { stroke-dasharray: 20; stroke-dashoffset: 20; }
.process-track .is-complete .process-check { background: var(--color-inverse-text); border-color: var(--color-inverse-text); }
.process-track .is-complete .process-check path { stroke-dashoffset: 0; }
.process-interactive .process-number { opacity: .55; transform-origin: left top; }
.process-interactive .is-complete .process-number { opacity: 1; }
.process-interactive .process-track h3 {
  position: relative;
  /* Reserve the reached size so the route and descriptions stay still. */
  transform: scale(.8);
  transform-origin: left center;
}
.process-interactive .process-track .is-complete h3 { transform: scale(1); }
.process-interactive .process-track h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 32px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
}
.process-interactive .is-complete h3::after { transform: scaleX(1); }
.process-hint { max-width: 220px; margin: 32px 0 0; color: rgb(247 247 244 / .72); font-size: 16px; line-height: 1.5; }
.process-status { max-width: 230px; min-height: 3em; margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--color-inverse-text); }
.process-interactive .process-track p { font-size: 16px; line-height: 1.5; }
.process-interactive .process-track h3 { font-size: 20px; letter-spacing: 0; }
@media (min-width: 900px) and (max-width: 1199px) {
  .process-layout { grid-template-columns: 1fr; gap: 48px; }
  .process-hint { max-width: none; margin-top: 24px; }
  .process-status { max-width: none; min-height: 1.5em; }
}
@media (prefers-reduced-motion: no-preference) {
  .process-interactive .process-track h3 {
    transition: transform 240ms cubic-bezier(.16, 1, .3, 1);
  }
  .process-interactive .process-track .is-complete h3 { transition-duration: 440ms; }
  .process-interactive .process-track .scene-settled h3 { transition: none; }
  .process-check { transition: background 180ms ease, border-color 180ms ease; }
  .process-check path { transition: stroke-dashoffset 220ms ease; }
  .process-interactive .is-complete:not(.scene-settled) .process-check {
    animation: process-confirm-check 280ms cubic-bezier(.16, 1, .3, 1) both;
  }
  .process-interactive .is-complete:not(.scene-settled) .process-number {
    animation: process-confirm-number 440ms cubic-bezier(.16, 1, .3, 1) both;
  }
  .process-interactive .is-complete:not(.scene-settled) h3::after {
    animation: process-confirm-line 480ms 60ms cubic-bezier(.16, 1, .3, 1) both;
  }
  @keyframes process-confirm-check {
    from { transform: scale(.84); }
    to { transform: scale(1); }
  }
  @keyframes process-confirm-number {
    from { opacity: .55; transform: scale(.94); }
    to { opacity: 1; transform: scale(1); }
  }
  @keyframes process-confirm-line {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}
@media (max-width: 899px) {
  main > .process-section { padding: 48px 28px; }
  .process-layout { gap: 48px; }
  .process-heading h2 { font-size: clamp(44px, 8vw, 64px); }
  .process-hint { max-width: none; margin-top: 24px; }
  .process-status { max-width: none; min-height: 1.5em; margin-top: 6px; }
  .process-interactive .process-track li,
  .process-interactive .process-track li:not(:first-child),
  .process-interactive .process-track li:last-child {
    min-height: 0;
    padding: 0 0 28px 48px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 16px;
  }
  .process-interactive .process-track li:last-child { padding-bottom: 0; }
  .process-interactive .process-number { grid-row: 1 / span 2; font-size: 30px; }
  .process-interactive .process-track h3 { margin: 0; font-size: 17.5px; line-height: 1.3; }
  .process-interactive .process-track p { max-width: 440px; margin-top: 8px; font-size: 16px; }
  .process-check { top: 2px; }
}
@media (max-width: 599px) {
  main > .process-section { padding: 36px 20px; }
  .process-interactive .process-track li,
  .process-interactive .process-track li:not(:first-child),
  .process-interactive .process-track li:last-child { padding-left: 38px; column-gap: 10px; grid-template-columns: 34px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  .tasks-enter-pending [data-enter-block],
  .tasks-enter-pending [data-enter-tail] { opacity: 0; }
  .tasks-enter-pending.is-tasks-arriving [data-enter-block] {
    animation: tasks-card-appear 460ms var(--ease-out) var(--tasks-enter-delay) both;
  }
  .tasks-enter-pending.is-tasks-arriving [data-enter-tail] {
    animation: tasks-process-rise 620ms var(--ease-out) var(--tasks-process-delay) both;
  }
  @keyframes tasks-card-appear {
    from { opacity: 0; transform: scale(.975); }
    to { opacity: 1; transform: scale(1); }
  }
  @keyframes tasks-process-rise {
    from { opacity: 0; transform: translateY(48px); clip-path: inset(0 0 100% 0 round 12px); }
    to { opacity: 1; transform: translateY(0); clip-path: inset(0 round 12px); }
  }
  .agent-opening .agent-detail-header { animation: agent-text-in 580ms var(--ease-out) 160ms both; }
  .scenario-playing .simulation-toolbar { animation: agent-text-in 700ms var(--ease-out) 200ms both; }
  .agent-opening .scenario-simulation, .agent-opening .scenario-panels { opacity: 0; }
  .agent-closing .scenario-workspace > * { opacity: 0; transition: opacity 140ms; }
  @keyframes agent-text-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (min-width: 900px) and (max-height: 749px) {
  .agent-card { min-height: 174px; padding: 22px 28px; }
  .agent-card-action { padding-top: 18px; }
  .agent-detail-header { margin-bottom: 30px; }
}
@media (max-width: 899px) {
  .agent-card { padding: 24px; min-height: 220px; }
}
@media (max-width: 599px) {
  .agent-stage { margin-top: 28px; }
  .agent-grid { gap: 10px; }
  .agent-card { min-height: 206px; padding: 18px 14px; }
  .agent-card-title { font-size: clamp(18px, 4.6vw, 24px); overflow-wrap: anywhere; }
  .agent-card-summary { font-size: 13px; line-height: 1.4; }
  .agent-card-action { gap: 6px; font-size: 11px; padding-top: 22px; }
  .agent-card-action svg { width: 18px; height: 18px; }
  .agent-custom-process { min-height: 174px; margin-top: 10px; padding: 24px 18px; gap: 12px; }
  .agent-custom-process > span { font-size: clamp(24px, 6vw, 34px); }
  .agent-custom-process > svg { width: 28px; height: 28px; }
  .scenario-workspace { padding: 22px 18px; }
  .agent-detail-header { flex-direction: column-reverse; gap: 20px; margin-bottom: 32px; }
  .agent-close { align-self: flex-end; }
  .agent-detail-header h3 { font-size: 28px; }
  .scenario-workspace .simulation-toolbar { flex-wrap: wrap; gap: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .agent-card, .agent-card-action svg { transition: none; }
  .agent-custom-process, .agent-custom-process > svg { transition: none; }
  .agent-custom-process:hover > svg { transform: none; }
}

/* Second slide: the same three routes, lost or delivered. */
main > .comparison-section {
  height: auto; min-height: 100svh; padding-block: clamp(28px, 5svh, 60px);
  display: flex; align-items: center; overflow: visible;
  scroll-margin-top: 0; background: var(--color-paper);
}
main > .comparison-section .comparison-shell { min-width: 0; width: min(100%, var(--content-width)); max-height: none; zoom: 1; }
.comparison-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.comparison-heading h2 { font-size: clamp(38px, 4.1vw, 64px); letter-spacing: -.035em; line-height: 1.03; }
.comparison-heading p { max-width: 230px; margin: 0 0 4px; font-size: 20px; line-height: 1.3; color: #625f59; }
.journey-board { width: 100%; table-layout: fixed; border-collapse: collapse; }
.journey-before { --journey-surface: #e7e5e0; --journey-line: #aaa69e; --journey-muted: #625f59; background: var(--journey-surface); }
.journey-after { --journey-surface: #202020; --journey-line: #73736f; --journey-muted: #c3c3bc; background: var(--journey-surface); color: #f7f7f4; }
.journey-board th, .journey-board td { width: 50%; text-align: left; padding-inline: clamp(20px, 3vw, 44px); }
.journey-board th { padding-block: 22px 20px; font-weight: 400; }
.journey-board th > span { display: block; font-family: var(--font-heading); font-size: 32px; font-size-adjust: none; line-height: 1.1; }
.journey-board th > small { display: block; margin-top: 8px; font-size: 17px; line-height: 1.2; color: var(--journey-muted); }
.journey-lane { border-top: 1px solid var(--journey-line); padding-block: 15px 13px; }
.journey-channel { display: flex; align-items: center; gap: 9px; font-size: 19px; line-height: 1.2; }
.journey-channel svg { width: 19px; height: 19px; }
.journey-route { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; align-items: start; gap: 12px; margin-top: 16px; height: 51px; }
.journey-client, .journey-business { position: relative; text-align: center; }
.journey-client > svg, .journey-building { display: block; width: 30px; height: 30px; margin-inline: auto; }
.journey-client > span, .journey-business > span { position: relative; left: 50%; display: block; width: max-content; transform: translateX(-50%); margin-top: 2px; font-size: 13px; line-height: 1.2; color: var(--journey-muted); }
.journey-track { height: 30px; position: relative; }
.journey-track::before, .journey-track::after { content: ''; position: absolute; top: 15px; border-top: 1px solid var(--journey-line); }
.journey-track::before { left: 0; width: 46%; }
.journey-track::after { right: 0; width: 37%; }
.journey-before .journey-track::after { border-top-style: dashed; }
.journey-gap { position: absolute; top: 12px; left: 48%; width: 9%; height: 14px; border-left: 1px dashed var(--journey-line); transform: skewX(22deg); }
.journey-after .journey-track::before { width: 100%; }
.journey-after .journey-track::after { display: none; }
.journey-bridge { position: absolute; z-index: 1; left: 50%; top: 0; transform: translateX(-50%); background: var(--journey-surface); border: 1px solid #aaa9a1; padding: 5px 8px; font-family: var(--font-heading); font-size: 13px; font-size-adjust: none; line-height: 18px; }
.journey-packet { position: absolute; z-index: 2; width: 22px; height: 22px; top: 4px; left: 0; background: var(--journey-surface); }
.journey-loss-coin { position: absolute; z-index: 2; width: 18px; height: 18px; top: 6px; left: 0; opacity: 0; background: var(--journey-surface); border-radius: 50%; }
.journey-before .journey-packet { left: 50%; transform: translate(-50%, 22px) rotate(24deg); opacity: .45; }
.journey-after .journey-packet { left: 100%; transform: translateX(-100%); }
.journey-status { margin: 6px 0 0; font-size: 16px; line-height: 1.25; color: var(--journey-muted); }
.journey-coin { position: absolute; width: 20px; height: 20px; right: 7px; top: -22px; background: var(--journey-surface); border-radius: 50%; }
.journey-coin.coin-1, .journey-coin.coin-2 { opacity: 0; }
.journey-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; }
.journey-footer p { margin: 0; color: #625f59; font-size: 15px; line-height: 1.3; }
.journey-replay { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 4px 0 4px 12px; border: 0; background: transparent; color: inherit; font: inherit; font-size: 17px; cursor: pointer; }
.journey-replay[hidden] { display: none; }
.journey-replay svg { width: 18px; height: 18px; }
.journey-replay:hover { text-decoration: underline; text-underline-offset: 4px; }
.journey-replay:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .comparison-entry-pending [data-comparison-entry] { opacity: 0; }
  .comparison-entry-pending.is-comparison-arriving [data-comparison-entry] {
    animation: comparison-part-appear 520ms var(--ease-out) var(--comparison-entry-delay) both;
  }
  @keyframes comparison-part-appear {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}
@media (max-width: 767px) {
  main > .comparison-section { padding: 20px 16px; }
  .comparison-heading { display: block; margin-bottom: 16px; }
  .comparison-heading h2 { font-size: clamp(34px, 7vw, 48px); }
  .comparison-heading p { max-width: none; margin: 10px 0 0; font-size: 17px; }
  .journey-board th, .journey-board td { padding-inline: 14px; }
  .journey-board th { padding-block: 14px 12px; }
  .journey-board th > span { font-size: 26px; }
  .journey-board th > small { font-size: 15px; }
  .journey-channel { gap: 6px; font-size: 17px; }
  .journey-channel svg { width: 16px; height: 16px; flex: 0 0 16px; }
  .journey-route { grid-template-columns: 23px minmax(0, 1fr) 25px; gap: 5px; height: 44px; margin-top: 12px; }
  .journey-client > svg, .journey-building { width: 25px; height: 28px; }
  .journey-client > span, .journey-business > span { font-size: 11px; margin-top: 4px; }
  .journey-loss-coin { width: 16px; height: 16px; top: 7px; }
  .journey-packet { width: 18px; height: 18px; top: 6px; }
  .journey-bridge { padding: 4px; top: 2px; font-size: 11px; }
  .journey-lane { padding-block: 10px 8px; }
  .journey-status { min-height: 38px; margin-top: 3px; font-size: 15px; }
  .journey-coin { width: 17px; height: 17px; right: 4px; top: -10px; }
  .journey-footer { align-items: start; gap: 12px; margin-top: 12px; }
  .journey-footer p { max-width: 250px; font-size: 13px; }
  .journey-replay { font-size: 15px; padding-left: 0; min-height: 44px; }
}
@media (max-width: 359px) {
  main > .comparison-section { padding-inline: 12px; }
  .journey-board th, .journey-board td { padding-inline: 11px; }
  .journey-channel { gap: 4px; font-size: 16px; }
  .journey-channel svg { width: 14px; flex-basis: 14px; }
  .comparison-heading p { font-size: 16px; }
  .journey-board th > small { font-size: 14px; }
  .journey-channel svg { display: none; }
  .journey-footer { display: block; }
  .journey-footer p { max-width: none; }
  .journey-replay { margin-top: 2px; }
}
@media (min-width: 768px) and (max-height: 700px) {
  main > .comparison-section { padding-block: 24px; }
  .comparison-heading { margin-bottom: 20px; }
  .comparison-heading br { display: none; }
  .comparison-heading p { display: none; }
  .journey-board th { padding-block: 12px; }
  .journey-board th > span { font-size: 28px; }
  .journey-board th > small { margin-top: 4px; }
  .journey-lane { padding-block: 10px 8px; }
  .journey-route { margin-top: 9px; height: 46px; }
  .journey-status { margin-top: 3px; }
  .journey-footer { margin-top: 8px; }
}

/* The chosen process leaves the orbit and becomes the automation. */
.pilot-track .is-complete .node-sales { color: white; background: var(--color-ink); border-color: var(--color-ink); }
@media (prefers-reduced-motion: no-preference) {
  .pilot-interactive .is-complete:not(.scene-settled) .node-sales { animation: pilot-selected-process 3200ms both; }
  @keyframes pilot-selected-process {
    0% { transform: rotate(300deg); background: var(--color-paper); color: var(--color-ink); }
    55% { transform: rotate(0); background: var(--color-paper); color: var(--color-ink); }
    65% { transform: rotate(0); background: var(--color-ink); color: white; }
    85%, 100% { transform: translateY(150px); opacity: 0; }
  }
}

/* Three customer-path additions inherit the existing editorial system. */
main > .decision-section {
  height: auto;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(36px, 6svh, 72px) var(--page-gutter);
  overflow: visible;
  scroll-margin-top: 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
}
main > .decision-section > .decision-shell {
  width: min(100%, 1200px);
  max-height: none;
  zoom: 1;
}
.decision-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: end;
  gap: 48px;
  margin-bottom: clamp(28px, 5svh, 52px);
}
.decision-section h2,
.consultation-benefits-section .first-step-intro h2 {
  font-size: clamp(36px, 4.2vw, 62px);
  line-height: 1.05;
  letter-spacing: -.035em;
  overflow-wrap: normal;
  text-wrap: balance;
}
.decision-heading > p {
  margin: 0;
  max-width: 36ch;
  font-size: 20px;
  line-height: 1.4;
}
main > .proof-section { background: var(--color-canvas); }
.proof-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.proof-reasoning h3 { font-size: clamp(20px, 2vw, 27px); line-height: 1.2; }
.proof-reasoning > p { margin: 14px 0 0; max-width: 39ch; line-height: 1.4; }
.proof-principles { padding: 0; margin: 26px 0 0; list-style: none; counter-reset: proof; }
.proof-principles li { display: grid; grid-template-columns: 25px 112px minmax(0, 1fr); gap: 12px; padding: 15px 0; border-top: 1px solid var(--color-line-strong); line-height: 1.3; counter-increment: proof; }
.proof-principles li::before { content: counter(proof, decimal-leading-zero); font-variant-numeric: tabular-nums; }
.proof-principles strong { font-weight: 600; }
.proof-reasoning .proof-boundary { margin-top: 24px; font-size: 16px; }
.proof-demo { padding: 27px 30px; background: var(--color-inverse); color: var(--color-inverse-text); }
.proof-picker { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; border: 0; margin: 0; padding: 0; }
.proof-picker legend { padding: 0; margin-bottom: 13px; font-size: 18px; }
.proof-picker label { position: relative; display: flex; cursor: pointer; }
.proof-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.proof-picker label > span { display: flex; align-items: center; min-height: 44px; padding: 7px 12px; border: 1px solid #777772; font-size: 16px; transition: background-color 180ms, color 180ms; }
.proof-picker label:hover > span { border-color: var(--color-inverse-text); }
.proof-picker input:checked + span { background: var(--color-inverse-text); color: var(--color-ink); border-color: var(--color-inverse-text); }
.proof-picker input:focus-visible + span { outline: 2px solid var(--color-inverse-text); outline-offset: 4px; }
.proof-panel { display: none; min-height: 230px; }
.proof-demo:has(input[value="clear"]:checked) [data-case="clear"],
.proof-demo:has(input[value="missing"]:checked) [data-case="missing"],
.proof-demo:has(input[value="unknown"]:checked) [data-case="unknown"] { display: block; }
.proof-message { font-size: 21px; line-height: 1.35; margin: 24px 0 20px; min-height: 3em; }
.proof-output { margin: 0; }
.proof-output > div { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 15px; border-top: 1px solid #53534f; padding: 12px 0; font-size: 17px; line-height: 1.3; }
.proof-output dt { color: #c4c4bd; }
.proof-output dd { margin: 0; }
.proof-demo-note { margin: 17px 0 0; padding-top: 15px; border-top: 1px solid #53534f; color: #c4c4bd; font-size: 15px; line-height: 1.35; }
main > .consultation-benefits-section { height: auto; min-height: 100svh; padding: 0; display: flex; flex-direction: column; align-items: stretch; overflow: visible; scroll-margin-top: 0; background: var(--color-paper); }
main > .consultation-benefits-section > .first-step-shell { width: min(calc(100% - 2 * var(--page-gutter)), 1200px); min-height: 100svh; max-height: none; padding-block: clamp(40px, 7svh, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: center; gap: clamp(40px, 7vw, 100px); zoom: 1; }
.first-step-lead { max-width: 34ch; margin: 24px 0; font-size: 23px; line-height: 1.4; }
.first-step-format { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 22px; font-size: 18px; font-weight: 600; }
.first-step-intro .button { font-size: 16px; min-height: 52px; }
.first-step-terms { font-size: 16px; line-height: 1.4; margin: 16px 0 0; }
.first-step-outcomes { align-self: center; }
.first-step-outcomes h3 { max-width: 27ch; font-size: 24px; line-height: 1.2; }
.first-step-outcomes dl { margin: 25px 0 0; }
.first-step-outcomes dl > div { padding: 18px 0; border-top: 1px solid var(--color-line-strong); }
.first-step-outcomes dt { font-weight: 600; font-size: 22px; }
.first-step-outcomes dd { margin: 4px 0 0; font-size: 18px; line-height: 1.35; max-width: 43ch; }
.first-step-preparation { border-top: 1px solid var(--color-line-strong); margin: 0; padding-top: 18px; font-size: 16px; line-height: 1.4; }
@media (max-width: 1099px) {
  .decision-heading { gap: 28px; }
  .proof-layout { gap: 28px; }
  .proof-demo { padding: 22px; }
  .proof-principles li { grid-template-columns: 22px minmax(0, 1fr); gap: 6px 10px; }
  .proof-principles li span { grid-column: 2; }
}
@media (max-width: 767px) {
  main > .decision-section { padding: 36px 20px; }
  .decision-heading { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 26px; }
  .decision-section h2, .consultation-benefits-section .first-step-intro h2 { font-size: clamp(31px, 7.8vw, 46px); }
  .decision-heading > p { font-size: 18px; max-width: 40ch; }
  .proof-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .proof-reasoning h3 { font-size: 21px; }
  .proof-reasoning > p { font-size: 17px; margin-top: 10px; }
  .proof-principles { margin-top: 18px; }
  .proof-principles li { grid-template-columns: 20px 101px minmax(0, 1fr); padding: 11px 0; gap: 8px; font-size: 16px; }
  .proof-principles li span { grid-column: auto; }
  .proof-reasoning .proof-boundary { margin-top: 14px; }
  .proof-demo { padding: 20px 16px; }
  .proof-picker { gap: 6px; }
  .proof-picker label > span { padding: 6px 8px; font-size: 15px; }
  .proof-message { font-size: 19px; }
  .proof-output > div { grid-template-columns: 95px minmax(0, 1fr); gap: 10px; font-size: 16px; }
  .proof-panel { min-height: 255px; }
  main > .consultation-benefits-section > .first-step-shell { width: calc(100% - 40px); padding-block: 44px; grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .first-step-lead { font-size: 21px; margin: 20px 0; }
  .first-step-intro .button { padding-inline: 18px; font-size: 16px; }
  .first-step-outcomes h3 { font-size: 23px; }
  .first-step-outcomes dl { margin-top: 20px; }
  .first-step-outcomes dl > div { padding-block: 15px; }
  .first-step-outcomes dt { font-size: 21px; }
}
@media (min-width: 900px) and (max-height: 700px) {
  main > .decision-section { padding-block: 28px; }
  .decision-section h2 { font-size: 42px; }
  .decision-heading { margin-bottom: 24px; }
  .decision-heading > p { font-size: 18px; }
  .proof-demo { padding: 18px 24px; }
  .proof-picker legend { margin-bottom: 8px; }
  .proof-message { margin-block: 16px; font-size: 18px; min-height: 0; }
  .proof-output > div { padding-block: 9px; font-size: 16px; }
  .proof-panel { min-height: 210px; }
  .proof-demo-note { margin-top: 10px; padding-top: 10px; }
  .proof-principles { margin-top: 18px; }
  .proof-principles li { padding-block: 10px; }
  .proof-reasoning .proof-boundary { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .proof-picker label > span { transition: none; }
}

/* FAQ occupies a full slide; the consultation offer now owns the closing footer. */
main > .faq-section {
  height: auto;
  min-height: 100svh;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  overflow: visible;
  scroll-margin-top: 0;
}
main > .faq-section > .faq-layout {
  width: min(calc(100% - 2 * var(--page-gutter)), 1080px);
  min-height: 100svh;
  max-height: none;
  margin: 0 auto;
  align-content: center;
  padding-block: clamp(48px, 7svh, 80px);
  zoom: 1;
}
.faq-section .faq-heading h2 {
  font-size: clamp(32px, 3.2vw, 46px);
  letter-spacing: -.035em;
}
.faq-section .faq-list summary {
  min-height: 64px;
  padding-block: 17px;
  font-size: clamp(17px, 1.4vw, 20px);
}
.closing-footer {
  width: 100%;
  flex: 0 0 auto;
  padding: 38px var(--page-gutter) 0;
  background: var(--color-inverse);
  color: var(--color-inverse-text, #f7f7f4);
  scroll-margin-top: 0;
  overflow: hidden;
}
.closing-shell {
  width: min(100%, 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 280px;
  column-gap: 38px;
  border-top: 1px solid #53534f;
}
.closing-portrait {
  position: relative;
  grid-row: 1 / 3;
  align-self: end;
  height: 274px;
  isolation: isolate;
  overflow: hidden;
}
.closing-portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 218px;
  height: 218px;
  bottom: -23px;
  left: 50%;
  translate: -50% 0;
  border-radius: 50%;
  background: #85857c;
}
.closing-portrait img {
  position: absolute;
  width: 100%;
  max-width: 100%;
  height: auto;
  left: 50%;
  bottom: 0;
  translate: -50% 21.875%;
}
.section .closing-footer h2 {
  align-self: center;
  margin: 0;
  padding-block: 28px;
  color: #f7f7f4;
  font-size: clamp(38px, 4.5vw, 66px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.closing-action {
  padding-block: 26px;
  align-self: center;
}
.closing-action p {
  margin: 0 0 18px;
  color: #c4c4bd;
  font-size: 14px;
  line-height: 1.5;
}
.closing-action .button {
  min-height: 46px;
  font-size: 13px;
}
.closing-details {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding-block: 26px;
  border-top: 1px solid #53534f;
}
.closing-identity p {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 500;
}
.closing-identity > span,
.closing-contacts > a {
  color: #b8b8b3;
  font-size: 12px;
}
.closing-contacts {
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid #53534f;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.closing-contacts > a { overflow-wrap: anywhere; }
.closing-phone { font-size: 17px; white-space: nowrap; }
.closing-up {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
}
.closing-up span { font-size: 22px; }
.closing-up:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1099px) {
  .closing-shell { grid-template-columns: 190px minmax(0, 1fr) 235px; column-gap: 24px; }
  .closing-portrait { height: 262px; }
  .closing-portrait::before { width: 190px; height: 190px; }
  .closing-details { gap: 16px; }
  .closing-contacts { padding-left: 16px; }
  .closing-up { gap: 8px; }
}
@media (max-width: 767px) {
  main > .faq-section > .faq-layout { padding-block: 72px 56px; }
  .faq-section .faq-list { margin-top: 36px; }
  .closing-footer { padding: 28px 20px 0; }
  .closing-shell { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); column-gap: 16px; }
  .section .closing-footer h2 {
    grid-column: 1 / -1;
    padding-block: 25px 22px;
    font-size: clamp(36px, 9.8vw, 58px);
  }
  .closing-action { grid-column: 1 / -1; padding: 0 0 34px; }
  .closing-action p { max-width: 340px; font-size: 14px; }
  .closing-break { display: none; }
  .closing-portrait { grid-column: 1; grid-row: 3; height: 213px; }
  .closing-portrait::before { width: 100%; height: auto; aspect-ratio: 1; bottom: -12px; }
  .closing-details {
    grid-column: 2;
    grid-row: 3;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-block: 21px 14px;
  }
  .closing-identity p { font-size: 13px; }
  .closing-identity > span, .closing-contacts > a { font-size: 11px; }
  .closing-contacts { padding: 0; border: 0; gap: 4px; }
  .closing-phone { font-size: 16px; }
  .closing-up { justify-self: start; }
}

/* Economic models, alternatives and a scripted architecture walkthrough. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.econ-case[hidden], .consultant-action-panel[hidden], .consultant-message[hidden], .consultant-controls[hidden], .consultant-progress[hidden] { display: none; }
.econ-picker { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.econ-picker label { position: relative; cursor: pointer; display: flex; }
.econ-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.econ-picker label > span { display: flex; align-items: center; min-height: 52px; width: 100%; padding: 10px 12px; border: 1px solid var(--color-line-strong); font-size: 16px; line-height: 1.2; transition: background-color 180ms, color 180ms; }
.econ-picker input:checked + span { background: var(--color-inverse); color: var(--color-inverse-text); border-color: var(--color-inverse); }
.econ-picker input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.econ-picker label:hover > span { border-color: var(--color-ink); }
.econ-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 72px); align-items: start; }
.econ-case + .econ-case:not([hidden]) { margin-top: 45px; }
.econ-cases:has(.econ-case[hidden]) .econ-case { margin-top: 0; }
.econ-work h3 { font-size: 26px; line-height: 1.15; }
.econ-work > p { margin: 15px 0; max-width: 44ch; font-size: 18px; line-height: 1.4; }
.econ-work ol { padding-left: 25px; margin: 22px 0; }
.econ-work li { padding: 7px 0 7px 6px; border-top: 1px solid var(--color-line); font-size: 18px; line-height: 1.3; }
.econ-work li::marker { font-variant-numeric: tabular-nums; }
.econ-work .econ-quality { font-size: 16px; line-height: 1.35; }
.econ-calculation { position: relative; background: var(--color-inverse); color: var(--color-inverse-text); padding: 26px 30px; }
.econ-calculation dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.econ-calculation dt { font-size: 16px; line-height: 1.25; color: #c4c4bd; }
.econ-calculation dd { margin: 7px 0 0; font-size: 23px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.econ-calculation .econ-totals { margin-top: 23px; padding-top: 23px; border-top: 1px solid #53534f; }
.econ-totals dd { font-size: clamp(26px, 2.7vw, 38px); white-space: nowrap; }
.econ-formula { margin-top: 23px; border-top: 1px solid #53534f; }
.econ-formula summary { padding-top: 14px; cursor: pointer; font-size: 17px; }
.econ-formula p { font-size: 16px; line-height: 1.35; margin: 12px 0 0; }
.econ-formula[open] > p { position: absolute; inset: 0 0 65px; z-index: 1; padding: 26px 30px; margin: 0; background: var(--color-inverse); overflow-y: auto; }
.econ-note, .advantages-note, .consultant-disclaimer { margin: 24px 0 0; font-size: 16px; line-height: 1.35; max-width: 110ch; }
main > .advantages-section { background: var(--color-canvas); }
.advantages-section .decision-heading { margin-bottom: 25px; }
.advantages-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.advantage-block { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 100px; padding: 20px 24px; border: 1px solid var(--color-line-strong); background: transparent; color: var(--color-ink); text-align: left; cursor: pointer; transition: background-color 180ms, color 180ms, border-color 180ms; }
.advantage-block > span { font-family: var(--font-heading); font-stretch: 85%; font-size-adjust: none; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.15; letter-spacing: -.025em; }
.advantage-block svg { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.advantage-block:hover { border-color: var(--color-ink); }
.advantage-block[aria-expanded="true"] { background: var(--color-inverse); color: var(--color-inverse-text); border-color: var(--color-inverse); }
.advantage-block:focus-visible { outline: 2px solid var(--color-accent, #335cff); outline-offset: 3px; }
.advantages-panels { margin-top: 26px; border-top: 1px solid var(--color-line-strong); }
.advantage-panel { padding-top: 22px; }
.advantage-panel > h3 { font-size: 23px; line-height: 1.2; margin: 0 0 18px; }
.advantage-explanation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.advantage-explanation h4 { font-family: var(--font-body); font-size-adjust: .48; font-size: 18px; font-weight: 600; line-height: 1.2; margin: 0 0 8px; }
.advantage-explanation p { font-size: 18px; line-height: 1.35; margin: 0; max-width: 58ch; }
.advantages-ready .advantages-panels { display: grid; }
.advantages-ready .advantage-panel { grid-area: 1 / 1; visibility: hidden; pointer-events: none; }
.advantages-ready .advantage-panel.is-active { visibility: visible; pointer-events: auto; }
@media (max-width: 899px) {
  .advantages-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advantage-block { padding: 16px; min-height: 94px; }
}
@media (max-width: 599px) {
  .advantages-picker { gap: 8px; }
  .advantage-block { padding: 13px 11px; min-height: 100px; gap: 8px; }
  .advantage-block > span { font-size: 20px; overflow-wrap: anywhere; }
  .advantage-block svg { display: none; }
  .advantages-panels { margin-top: 20px; }
  .advantage-explanation { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .advantage-panel > h3 { font-size: 22px; }
  .advantage-explanation p { font-size: 17px; }
}
@media (min-width: 900px) and (max-height: 700px) {
  .advantage-block { min-height: 78px; padding: 14px 18px; }
  .advantages-panels { margin-top: 18px; }
  .advantage-panel { padding-top: 16px; }
  .advantage-panel > h3 { margin-bottom: 12px; }
  .advantage-explanation p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .advantage-block { transition: none; }
}
.advantages-note { margin-top: 18px; }
main > .consultant-section { background: var(--color-canvas); }
.consultant-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 4vw, 58px); align-items: start; }
.consultant-conversation { background: var(--color-paper); color: var(--color-ink); padding: 23px 26px; border: 1px solid var(--color-line-strong); }
.consultant-chat-head { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid var(--color-line); }
.consultant-chat-head h3 { font-size: 21px; line-height: 1.2; }
.consultant-chat-head > span { font-size: 15px; color: #61615d; }
.consultant-log { padding: 16px 6px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #85857c var(--color-paper); }
.consultant-ready .consultant-log { height: 350px; overflow-y: auto; }
.consultant-log:focus-visible, .consultant-message:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.consultant-message { width: 90%; margin: 0 0 14px auto; padding: 13px 16px; border: 1px solid var(--color-line-strong); border-radius: 14px 14px 3px 14px; background: var(--color-canvas); }
.consultant-message:last-child { margin-bottom: 0; }
.consultant-message > span { font-size: 15px; color: #61615d; }
.consultant-message p { margin: 5px 0 0; font-size: 18px; line-height: 1.35; }
.consultant-message--agent { margin-inline: 0 auto; border-radius: 14px 14px 14px 3px; background: var(--color-surface); }
.consultant-ready .consultant-message { cursor: pointer; transition: border-color 180ms ease; }
.consultant-message[aria-current="true"], .consultant-ready .consultant-message:hover { border-color: var(--color-ink); }
.consultant-message[aria-current="true"] > span { color: var(--color-ink); font-weight: 600; }
.consultant-controls { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--color-line); }
.consultant-next { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border: 1px solid var(--color-ink); border-radius: 0; background: var(--color-ink); color: var(--color-paper); font: inherit; font-size: 18px; line-height: 1.2; text-align: left; cursor: pointer; transition: background 180ms ease; }
.consultant-next:hover { background: #353532; }
.consultant-next:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 4px; }
.consultant-next[aria-disabled="true"] { cursor: progress; }
.consultant-next svg { flex: 0 0 24px; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.consultant-in-view:not(.consultant-is-typing) .consultant-next svg { animation: consultant-invite 1800ms ease-in-out 3; }
.consultant-motion-paused .consultant-next svg { animation-play-state: paused !important; }
.consultant-typing { display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; margin: 0 0 14px auto; padding: 13px 16px; border: 1px solid var(--color-line-strong); border-radius: 14px 14px 3px 14px; background: var(--color-canvas); color: #61615d; font-size: 16px; }
.consultant-typing[hidden] { display: none; }
.consultant-typing--agent { margin-inline: 0 auto; border-radius: 14px 14px 14px 3px; background: var(--color-surface); }
.consultant-typing-dots { display: flex; gap: 4px; align-items: center; height: 16px; }
.consultant-typing-dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: consultant-type 900ms ease-in-out infinite; }
.consultant-typing-dots i:nth-child(2) { animation-delay: 120ms; }
.consultant-typing-dots i:nth-child(3) { animation-delay: 240ms; }
@keyframes consultant-type { 0%, 65%, 100% { transform: translateY(0); opacity: .4; } 32% { transform: translateY(-3px); opacity: 1; } }
@keyframes consultant-invite { 0%, 55%, 100% { transform: translateX(0); } 70% { transform: translateX(5px); } 85% { transform: translateX(2px); } }
.consultant-actions { padding-block: 23px 0; }
.consultant-actions > h3 { margin: 0 0 22px; font-size: 24px; line-height: 1.2; }
.consultant-action-panels { display: grid; }
.consultant-ready .consultant-action-panel { grid-area: 1 / 1; }
/* Reserve the longest explanation so changing messages never shifts the slide. */
.consultant-ready .consultant-action-panel[hidden] { display: block; visibility: hidden; pointer-events: none; }
.consultant-action-panel h4 { margin: 0 0 20px; font-family: var(--font-body); font-size: 18px; font-weight: 400; letter-spacing: 0; line-height: 1.35; color: #61615d; }
.consultant-action-list { list-style: none; padding: 0; margin: 0; counter-reset: agent-action; }
.consultant-action-list li { position: relative; padding: 13px 0 13px 34px; border-top: 1px solid var(--color-line-strong); counter-increment: agent-action; }
.consultant-action-list li::before { content: counter(agent-action, decimal-leading-zero); position: absolute; left: 0; top: 15px; font-size: 14px; color: #61615d; }
.consultant-action-list strong { display: block; font-size: 20px; line-height: 1.2; font-weight: 600; }
.consultant-action-list p { margin: 5px 0 0; font-size: 17px; line-height: 1.35; }
.consultant-progress { margin: 14px 0 0; font-size: 15px; color: #61615d; }
.consultant-section:not(.consultant-ready) .consultant-action-panel + .consultant-action-panel { margin-top: 30px; }
@media (min-width: 900px) and (max-height: 800px) {
  main > .economics-section, main > .advantages-section, main > .consultant-section { padding-block: 24px; }
  .economics-section .decision-heading, .consultant-section .decision-heading, .advantages-section .decision-heading { margin-bottom: 20px; }
  .economics-section h2, .advantages-section h2, .consultant-section h2 { font-size: 38px; }
  .econ-picker { margin-bottom: 20px; }
  .econ-picker label > span { min-height: 45px; font-size: 15px; padding-block: 7px; }
  .econ-work h3 { font-size: 23px; }
  .econ-work > p, .econ-work li { font-size: 16px; }
  .econ-work > p { margin-block: 10px; }
  .econ-work ol { margin-block: 14px; }
  .econ-work .econ-quality { font-size: 15px; }
  .econ-calculation { padding: 18px 24px; }
  .econ-calculation .econ-totals { margin-top: 16px; padding-top: 16px; }
  .econ-calculation dd { font-size: 21px; }
  .econ-calculation .econ-totals dd { font-size: 30px; }
  .econ-formula { margin-top: 16px; }
  .econ-note, .advantages-note, .consultant-disclaimer { font-size: 15px; margin-top: 16px; }
  .consultant-conversation { padding: 18px 22px; }
  .consultant-ready .consultant-log { height: 245px; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .econ-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .econ-case { gap: 26px; }
  .econ-calculation { padding: 20px; }
  .econ-calculation dl { gap: 14px; }
  .econ-totals dd { font-size: 28px; }
  .econ-calculation .econ-totals { grid-template-columns: minmax(0, 1fr); }
  .consultant-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
  .consultant-conversation { padding: 20px; }
  .consultant-ready .consultant-log { height: 380px; }
  .consultant-controls { flex-wrap: wrap; }
}
@media (min-width: 900px) and (max-width: 1099px) and (max-height: 800px) {
  .consultant-ready .consultant-log { height: 300px; }
  .econ-picker label > span { min-height: 40px; }
}
@media (max-width: 767px) {
  .econ-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-bottom: 26px; }
  .econ-picker label > span { font-size: 15px; min-height: 48px; }
  .econ-case, .consultant-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .econ-work h3 { font-size: 23px; }
  .econ-work > p, .econ-work li { font-size: 17px; }
  .econ-work ol { margin-block: 18px; }
  .econ-calculation { padding: 22px 18px; }
  .econ-calculation dl { gap: 15px; }
  .econ-calculation dt { font-size: 15px; }
  .econ-calculation dd { font-size: 22px; }
  .econ-calculation .econ-totals dd { font-size: 28px; }
  .econ-calculation .econ-totals { grid-template-columns: minmax(0, 1fr); }
  .econ-note, .advantages-note, .consultant-disclaimer { font-size: 15px; margin-top: 20px; }
  .consultant-conversation { padding: 20px 18px; }
  .consultant-chat-head h3 { font-size: 21px; }
  .consultant-ready .consultant-log { height: 310px; }
  .consultant-message p { font-size: 17px; }
  .consultant-controls { gap: 8px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .econ-picker label > span { transition: none; }
}
@media (min-width: 900px) and (max-height: 650px) {
  main > .advantages-section { padding-block: 18px; }
  .advantages-section h2 { font-size: 34px; }
  .advantages-section .decision-heading { margin-bottom: 14px; }
  .advantages-note { margin-top: 10px; }
}

@media (min-width: 900px) and (max-height: 800px) {
  .consultant-actions { padding-top: 18px; }
  .consultant-actions > h3 { font-size: 22px; margin-bottom: 12px; }
  .consultant-action-panel h4 { margin-bottom: 12px; }
  .consultant-action-list li { padding-block: 10px; }
  .consultant-action-list li::before { top: 12px; }
  .consultant-action-list strong { font-size: 18px; }
  .consultant-action-list p { font-size: 16px; }
}
@media (max-width: 767px) {
  .consultant-actions { padding-top: 0; }
  .consultant-message { width: 94%; padding: 12px; }
  .consultant-actions > h3 { font-size: 23px; margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .consultant-ready .consultant-message { transition: none; }
  .consultant-in-view .consultant-next svg, .consultant-typing-dots i { animation: none; }
  .consultant-next { transition: none; }
}
@media (max-width: 359px) {
  .consultant-controls { display: grid; grid-template-columns: minmax(0, 1fr); }
  .consultant-next { min-height: 70px; }
}
/* Outcome first, AI mechanism second: concise copy and generous editorial spacing. */
main > .outcomes-section, main > .ai-role-section { padding-block: clamp(36px, 6svh, 72px); }
.outcomes-section .decision-heading, .ai-role-section .decision-heading { grid-template-columns: 1fr; margin-bottom: clamp(36px, 6svh, 64px); }
.outcomes-section h2, .ai-role-section h2 { font-size: clamp(36px, 3.7vw, 52px); }
.outcomes-layout { display: grid; grid-template-columns: minmax(240px, .9fr) minmax(0, 1.4fr); gap: clamp(48px, 7vw, 104px); align-items: center; }
.outcome-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.outcome-picker[hidden] { display: none; }
.outcome-picker label { position: relative; display: block; cursor: pointer; }
.outcome-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.outcome-picker label > span { display: flex; align-items: center; min-height: 82px; padding: 20px 22px; border-bottom: 1px solid var(--color-line-strong); font-size: 24px; line-height: 1.2; transition: background-color 200ms, color 200ms; }
.outcome-picker input:checked + span { background: var(--color-inverse); color: var(--color-inverse-text); }
.outcome-picker label:hover > span { box-shadow: inset 0 0 0 1px var(--color-ink); }
.outcome-picker input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.outcome-picker .outcome-any-process > span { position: relative; background: var(--color-canvas); }
.outcome-picker .outcome-any-process > span::before,
.outcome-picker .outcome-any-process > span::after { content: ""; position: absolute; pointer-events: none; }
.outcome-picker .outcome-any-process > span::before { inset: 0; border: 1px solid var(--color-ink); }
.outcome-picker .outcome-any-process > span::after { inset: 5px; border: 1px solid currentColor; opacity: .4; }
.outcomes-ready .outcome-panels { display: grid; }
.outcomes-ready .outcome-panel { grid-area: 1 / 1; }
.outcomes-ready .outcome-panel[aria-hidden=true] { visibility: hidden; pointer-events: none; }
.outcome-panel h3 { font-size: clamp(27px, 2.5vw, 36px); line-height: 1.2; margin: 0 0 24px; }
.outcome-panel p { font-size: 23px; line-height: 1.4; margin: 0; max-width: 43ch; }
.outcome-metrics { margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--color-line-strong); }
.outcome-metrics dt { font-size: 17px; color: #5b5b56; }
.outcome-metrics dd { font-size: 21px; margin: 8px 0 0; line-height: 1.3; max-width: 42ch; }
.outcomes-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; margin: clamp(36px, 6svh, 64px) 0 0; font-size: 17px; line-height: 1.3; color: #5b5b56; }
.outcomes-note a { color: var(--color-ink); text-underline-offset: 4px; }
.outcomes-section:not(.outcomes-ready) .outcomes-layout { display: block; }
.outcomes-section:not(.outcomes-ready) .outcome-panel + .outcome-panel { margin-top: 48px; }
.ai-role-layout { display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: start; gap: clamp(24px, 3vw, 44px); }
.ai-role-layout h3 { font-size: 23px; line-height: 1.2; margin: 0 0 28px; }
.ai-input, .ai-output { padding-block: 28px; }
.ai-input blockquote, .ai-reply { font-size: 27px; line-height: 1.35; margin: 0; }
.ai-input mark { color: inherit; background: transparent; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background-color 240ms; }
.ai-input mark.is-relevant { background: #dcdcd4; }
.ai-system { font-size: 18px; line-height: 1.4; color: #5b5b56; margin: 32px 0 0; }
.ai-processing { padding: 28px; color: var(--color-inverse-text); background: var(--color-inverse); }
.ai-steps { list-style: none; padding: 0; margin: 0; }
.ai-steps li + li { border-top: 1px solid #53534f; }
.ai-steps button { position: relative; display: grid; grid-template-columns: 20px 1fr; gap: 8px 12px; background: transparent; color: inherit; border: 0; text-align: left; width: 100%; padding: 16px 4px; cursor: pointer; font: inherit; transition: background-color 240ms; }
.ai-steps button.is-complete { background: #30302d; }
.ai-steps button[aria-pressed=true] { background: #383835; }
.ai-steps button[aria-pressed=true]::after { content: ""; position: absolute; inset: 0; border: 1px solid #a8a8a3; pointer-events: none; }
.ai-step-progress { position: absolute; inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px); overflow: visible; pointer-events: none; opacity: 0; }
.ai-step-progress rect { fill: none; stroke: var(--color-inverse-text); stroke-width: 2px; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ai-role-section[data-ai-playing=true] button[aria-pressed=true] .ai-step-progress { opacity: 1; }
.ai-playback-note { margin: 16px 0 0; min-height: 2.6em; color: #deded7; font-size: 16px; line-height: 1.3; }
.ai-steps button:hover { background: #42423e; }
.ai-steps button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.ai-steps button > span { font-size: 17px; grid-row: span 2; padding-top: 3px; text-align: center; }
.ai-step-check { display: block; width: 14px; height: 14px; margin: 5px auto 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 240ms ease-out; }
.ai-steps button.is-complete .ai-step-check { opacity: 1; }
.ai-steps strong { font-family: var(--font-body); font-size: 22px; line-height: 1.2; font-weight: 600; }
.ai-steps small { font-size: 17px; line-height: 1.3; color: #deded7; }
.ai-role-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-top: 40px; align-items: center; }
.ai-role-footer > p { font-size: 22px; line-height: 1.35; margin: 0; max-width: 44ch; }
.ai-role-footer > div { display: flex; align-items: center; gap: 20px; }
.ai-example-label { font-size: 16px; color: #5b5b56; }
.ai-replay { font: inherit; font-size: 18px; cursor: pointer; border: 1px solid var(--color-line-strong); background: transparent; color: inherit; padding: 10px 18px; min-height: 44px; }
.ai-replay:hover { background: #e8e8e3; }
@media (min-width: 900px) and (max-height: 780px) {
  main > .outcomes-section, main > .ai-role-section { padding-block: 28px; }
  .outcomes-section .decision-heading, .ai-role-section .decision-heading { margin-bottom: 32px; }
  .outcomes-section h2, .ai-role-section h2 { font-size: 36px; }
  .outcome-picker label > span { min-height: 68px; padding-block: 16px; font-size: 22px; }
  .outcome-panel h3 { font-size: 29px; margin-bottom: 20px; }
  .outcome-panel p { font-size: 21px; }
  .outcome-metrics { margin-top: 24px; padding-top: 18px; }
  .outcomes-note { margin-top: 32px; }
  .ai-processing { padding: 22px; }
  .ai-role-layout h3 { font-size: 21px; margin-bottom: 22px; }
  .ai-input, .ai-output { padding-block: 22px; }
  .ai-input blockquote, .ai-reply { font-size: 24px; }
  .ai-steps button { padding-block: 12px; gap: 5px 10px; }
  .ai-steps strong { font-size: 20px; }
  .ai-role-footer { margin-top: 28px; }
  .ai-role-footer > p { font-size: 20px; }
}
@media (max-width: 899px) {
  .outcomes-layout { grid-template-columns: 1fr; gap: 36px; }
  .outcome-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .outcome-picker .outcome-any-process { grid-column: 1 / -1; }
  .outcome-picker label > span { height: 100%; min-height: 76px; padding: 18px; font-size: 22px; border: 1px solid var(--color-line-strong); }
  .outcome-panel p { max-width: 50ch; }
  .ai-role-layout { grid-template-columns: 1.15fr 1fr; gap: 28px; }
  .ai-input { grid-column: 1 / -1; padding: 0 0 8px; }
  .ai-input blockquote { max-width: 44ch; }
  .ai-output { padding-top: 28px; }
}
@media (max-width: 599px) {
  .outcomes-section h2, .ai-role-section h2 { font-size: 32px; }
  .outcome-picker label > span { font-size: 19px; padding: 14px; min-height: 80px; }
  .outcome-panel h3 { font-size: 27px; margin-bottom: 20px; }
  .outcome-panel p { font-size: 21px; }
  .outcome-metrics { margin-top: 28px; padding-top: 18px; }
  .outcome-metrics dd { font-size: 20px; }
  .outcomes-note { font-size: 16px; }
  .ai-role-layout { grid-template-columns: 1fr; gap: 32px; }
  .ai-input { grid-column: auto; padding: 0; }
  .ai-input blockquote, .ai-reply { font-size: 25px; }
  .ai-role-layout h3 { font-size: 22px; margin-bottom: 20px; }
  .ai-processing { padding: 24px; }
  .ai-steps strong { font-size: 21px; }
  .ai-output { padding: 0; }
  .ai-system { margin-top: 24px; }
  .ai-role-footer { margin-top: 32px; gap: 24px; }
  .ai-role-footer > p { font-size: 21px; }
  .ai-role-footer > div { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .outcome-picker label > span, .ai-input mark, .ai-steps button, .ai-step-check { transition: none; }
}
@media (min-width: 900px) and (max-height: 650px) {
  .outcomes-section .decision-heading { margin-bottom: 24px; }
  .outcomes-note { margin-top: 24px; }
  main > .ai-role-section { padding-block: 22px; }
  .ai-role-section .decision-heading { margin-bottom: 24px; }
  .ai-processing { padding: 16px; }
  .ai-role-layout h3 { margin-bottom: 14px; }
  .ai-playback-note { min-height: 1.3em; margin-top: 8px; }
  .ai-steps button { padding-block: 10px; }
  .ai-role-footer { margin-top: 16px; }
}
/* Ordered slide entrances are armed only by JavaScript. */
@media (prefers-reduced-motion: no-preference) {
  .text-sequence-pending { opacity: 0; }
}

/* A landscape phone can cross the desktop breakpoint and still need reading room. */
@media (min-width: 900px) and (pointer: coarse) {
  main > .hero,
  main > .section {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  main > .section .section-shell {
    max-height: none;
  }
}

/* Mobile is one continuous page, with sections sized to their content. */
@media (max-width: 899px), (pointer: coarse) {
  html.has-touch-slides { overscroll-behavior-y: auto; }

  main > section {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  main > .section {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-block: 64px;
  }

  main > .section .section-shell {
    min-height: 0;
    max-height: none;
  }

  main > .faq-section,
  main > .consultation-benefits-section { padding-block: 0; }

  main > .faq-section > .faq-layout,
  main > .consultation-benefits-section > .first-step-shell {
    min-height: 0;
    padding-block: 64px;
  }

  .pilot-hint, .process-hint, .pilot-controls,
  .pilot-status, .process-status { display: none; }

  .has-motion [data-reveal] {
    transition-duration: 560ms;
    transition-delay: 0ms;
  }
}
