:root {
  --paper: #faf9f6;
  --ink: #34312d;
  --muted: #707070;
  --line: #dddddd;
  --surface: #ededed;
  --accent: #707070;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --phone-w: 252px;
  --phone-h: 526px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 1.04;
}
.wrap {
  max-width: 1344px;
  padding-left: 48px;
  padding-right: 48px;
  margin: auto;
}
.nav {
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1;
}
.brand img {
  width: 25px;
  height: 25px;
}
.nav-links {
  display: flex;
  gap: 34px;
  font-size: 14px;
  color: var(--muted);
  margin-left: 80px;
}
.nav-links a:hover {
  color: var(--accent);
}
.button {
  height: 48px;
  padding: 0 22px;
  background: var(--accent);
  border: 1px solid #686868;
  border-radius: 7px;
  color: #fffdf9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  box-shadow: 0 2px 2px #40404010;
  transition:
    background 180ms var(--ease),
    transform 180ms var(--ease);
}
.button:hover {
  background: #606060;
}
.button span {
  font-size: 19px;
}
.button.compact {
  height: 41px;
  font-size: 13px;
  gap: 20px;
  padding: 0 16px;
}
.plain {
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  padding: 10px 0;
  min-height: 44px;
  color: #5e5e5e;
}
.plain:hover {
  color: var(--accent);
}
.hero {
  text-align: center;
  padding-top: 55px;
  padding-bottom: 40px;
}
.hero h1 {
  font-size: clamp(52px, 6.6vw, 91px);
  line-height: 1.02;
  letter-spacing: -0.059em;
}
.hero p {
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
  margin: 24px auto 25px;
  letter-spacing: -0.2px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}
.play {
  width: 23px;
  height: 23px;
  border: 1px solid #ababab;
  border-radius: 50%;
  font-size: 8px;
  display: grid;
  place-items: center;
  padding-left: 2px;
}
.hero-scene {
  height: 630px;
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  background: #eaeaea;
  isolation: isolate;
  scroll-margin-top: 20px;
}
.dot-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.hero-scene:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f5f3ed66, transparent 70%, #e6e6e677);
  z-index: -1;
  pointer-events: none;
}
.hero-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-route path {
  stroke: #ababab;
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 2 5;
}
.hero-route circle {
  fill: var(--accent);
}
.command-panel {
  position: absolute;
  left: 11.3%;
  top: 103px;
  width: 310px;
  z-index: 2;
  background: #faf9f6ed;
  box-shadow:
    0 0 0 1px #7777771a,
    0 12px 35px #55555510;
  border-radius: 10px;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  border-bottom: 1px solid #dedede;
  font-size: 13px;
}
.agent-symbol {
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
}
.small-arrow {
  margin-left: auto;
  font-size: 17px;
  color: #8e8e8e;
}
.commands {
  padding: 10px;
}
.commands button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 6px;
  text-align: left;
  padding: 13px 10px;
  min-height: 76px;
  background: none;
  transition:
    background 220ms var(--ease),
    box-shadow 220ms var(--ease);
}
.commands button[aria-pressed="true"] {
  background: #ebebeb;
  box-shadow: 0 0 0 1px #d6d6d6;
}
.commands button:hover {
  background: #ededed;
}
.command-icon {
  width: 30px;
  height: 30px;
  background: #e3e3e3;
  color: #767676;
  display: grid;
  place-items: center;
  border-radius: 5px;
  font-size: 17px;
  flex-shrink: 0;
}
.commands strong {
  font-size: 13px;
  font-weight: 500;
  display: block;
}
.commands small {
  font-size: 12px;
  display: block;
  color: #7d7d7d;
  margin-top: 3px;
}
.commands i {
  font-style: normal;
  font-size: 16px;
  color: #8d8d8d;
  margin-left: auto;
  opacity: 0;
}
.commands [aria-pressed="true"] i {
  opacity: 1;
}
.command-result {
  border-top: 1px solid #dedede;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 49px;
  font-size: 11px;
  color: #767676;
}
.hero-phone {
  position: absolute;
  left: 63%;
  top: 26px;
  z-index: 2;
}
.device {
  width: var(--phone-w);
  height: var(--phone-h);
  border-radius: 35px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #e1ded9, #fbfaf7 30%, #b8b8b8 98%);
  padding: 5px;
  box-shadow:
    0 0 0 1px #a5a5a5,
    0 2px 2px #fff,
    inset 0 0 0 3px #d1d1d1,
    0 24px 35px -12px #59595945;
  isolation: isolate;
}
.device:after {
  content: "";
  position: absolute;
  left: 37%;
  right: 37%;
  height: 4px;
  bottom: 11px;
  background: #292929;
  border-radius: 3px;
  z-index: 8;
}
.screen-host {
  position: absolute;
  inset: 6px;
  background: white;
  border-radius: 29px;
  overflow: hidden;
}
.screen-crop {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: #fff;
}
.screen-crop img {
  position: absolute;
  max-width: none;
  pointer-events: none;
}
.screen-crop.amazon img {
  width: 131.2%;
  left: -15.6%;
  top: -23.5%;
}
.screen-crop.uber img {
  width: 137.4%;
  left: -18.6%;
  top: -23.4%;
}
.phone-caption {
  display: block;
  text-align: center;
  font-size: 11px;
  color: #7a7a7a;
  margin-top: 14px;
}
.touch {
  position: absolute;
  top: 63px;
  left: 50px;
  width: 27px;
  height: 27px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: #fff9;
  pointer-events: none;
  z-index: 9;
  opacity: 0;
  transition:
    opacity 180ms var(--ease),
    transform 230ms var(--ease);
}
.touch.visible {
  opacity: 1;
  transform: scale(0.93);
}
.phone-search {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 45px;
  min-height: 35px;
  border: 1px solid #9b9b9b;
  border-radius: 18px;
  padding: 9px 12px;
  font-size: 11px;
  background: #fff;
  z-index: 5;
}
.caret {
  height: 12px;
  width: 1px;
  background: var(--accent);
  display: inline-block;
  margin-left: 2px;
  vertical-align: -2px;
}
.scene-footer {
  position: absolute;
  bottom: 0;
  left: 25px;
  right: 25px;
  border-top: 1px solid #cfcfcf;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: #797979;
}
.replay {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  background: none;
  font-size: 12px;
  color: #6d6d6d;
  padding: 0;
}
.replay:hover {
  color: var(--accent);
}
.replay span {
  font-size: 16px;
}
.motion-control {
  font-size: 12px;
}
.motion-control span:first-child {
  font-size: 15px;
}
.screen-enter {
  animation: screen-enter 330ms var(--ease) both;
}
@keyframes screen-enter {
  from {
    opacity: 0.55;
    transform: translateY(6px);
    filter: blur(1px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.launcher {
  height: 100%;
  padding: 18px 18px;
  background:
    radial-gradient(ellipse at 0 80%, #cccccc, transparent 80%), #eaeaea;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #626262;
}
.launcher-greeting {
  font-size: 29px;
  line-height: 1.07;
  letter-spacing: -1px;
  margin: 75px 0 36px;
  color: #5f5f5f;
  font-family: var(--font);
}
.launcher-apps {
  display: flex;
  gap: 20px;
}
.launcher-apps span {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: 9px;
  color: #787878;
}
.launcher-apps img,
.launcher-apps i {
  width: 46px;
  height: 46px;
  border-radius: 11px;
}
.launcher-apps i {
  display: grid;
  place-items: center;
  font-size: 25px;
  font-style: normal;
  background: #fbf9f3;
  border: 1px solid #cccccc;
}
.app-results {
  height: 100%;
  background: #fff;
}
.result-status {
  height: 30px;
  background: #b8b8b8;
  display: flex;
  justify-content: space-between;
  padding: 8px 14px 0;
  font-size: 8px;
  color: #323232;
}
.result-search {
  height: 41px;
  padding: 0 9px 8px;
  display: flex;
  gap: 8px;
  background: #b8b8b8;
  align-items: center;
}
.result-search img {
  width: 26px;
  height: 26px;
  border-radius: 5px;
}
.result-search span {
  font-size: 11px;
  background: white;
  border: 1px solid #b5b5b5;
  border-radius: 20px;
  padding: 7px 10px;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.results-caption {
  font-size: 9px;
  background: #f6f5f0;
  border-bottom: 1px solid #e5e5e5;
  padding: 9px 11px;
  color: #787878;
}
.result-list {
  height: calc(100% - 104px);
  overflow: hidden;
}
.result-list-inner {
  transition: transform 330ms var(--ease);
}
.result-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 11px;
  min-height: 116px;
  border-bottom: 1px solid #e5e5e5;
}
.result-card > img {
  width: 63px;
  height: 77px;
  border-radius: 4px;
  background: #f4f2ed;
  object-fit: contain;
}
.result-card strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  display: block;
}
.result-card p {
  font-size: 9px;
  color: #848484;
  margin-top: 8px;
}
.result-card span {
  font-size: 10px;
  color: #7e7e7e;
  display: block;
  margin-top: 9px;
}
.result-detail {
  padding: 18px;
}
.result-detail > img {
  width: 100%;
  height: 176px;
  background: #f3f3f3;
  border-radius: 5px;
}
.result-detail h3 {
  font-size: 25px;
  margin-top: 25px;
}
.result-detail p {
  font-size: 11px;
  color: #797979;
  margin-top: 12px;
}
.detail-back {
  background: #ececec;
  padding: 10px 14px;
  border-radius: 5px;
  font-size: 11px;
  margin-top: 20px;
}
.ride-highlight {
  position: absolute;
  top: 8%;
  left: 7%;
  right: 7%;
  height: 13%;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  background: #7070700a;
  z-index: 5;
}
.ride-receipt {
  position: absolute;
  bottom: 12%;
  left: 7%;
  right: 7%;
  padding: 16px;
  background: #fffdf7;
  border: 1px solid #cacaca;
  border-radius: 8px;
  font-size: 12px;
  color: #575757;
  z-index: 5;
}
.ride-receipt small {
  display: block;
  font-size: 10px;
  color: #8a8a8a;
  margin-top: 5px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.section-heading h2,
.environment-copy h2,
.agent-section h2 {
  font-size: 58px;
}
.section-heading p,
.environment-copy > p,
.agent-section p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  padding-bottom: 3px;
}
.apps-section {
  padding-top: 95px;
  padding-bottom: 75px;
}
.app-library {
  margin-top: 42px;
}
.app-library-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.app-tile {
  position: relative;
  background: transparent;
  text-align: left;
  min-height: 228px;
  padding: 31px 32px 28px;
  border-right: 1px solid var(--line);
  transition: background 250ms var(--ease);
}
.app-tile:first-child {
  border-left: 1px solid var(--line);
}
.app-tile:hover,
.app-tile[aria-pressed="true"] {
  background: #ededed;
}
.app-tile > img,
.custom-app-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: block;
  margin-bottom: 24px;
  box-shadow: 0 3px 6px #54545410;
}
.custom-app-icon {
  background: #dddddd;
  border: 1px solid #bcbcbc;
  display: grid;
  place-items: center;
  color: #787878;
  font-size: 35px;
  font-weight: 300;
}
.app-tile strong {
  display: block;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.app-tile > span:not(.custom-app-icon) {
  color: var(--muted);
  font-size: 13px;
  display: block;
  margin-top: 5px;
}
.app-tile > i {
  position: absolute;
  right: 28px;
  bottom: 37px;
  font-style: normal;
  color: #8f8f8f;
  font-size: 23px;
  opacity: 0.5;
  transition:
    opacity 250ms var(--ease),
    transform 250ms var(--ease);
}
.app-tile[aria-pressed="true"] > i {
  opacity: 1;
  transform: translate(2px, -2px);
}
.app-rail {
  width: 100%;
  height: 88px;
  position: relative;
  display: flex;
  justify-content: center;
}
.rail-track {
  position: absolute;
  top: 0;
  left: 16.67%;
  right: 16.67%;
  height: 37px;
  border-left: 1px solid #c4c4c4;
  border-bottom: 1px solid #c4c4c4;
  border-right: 1px solid #c4c4c4;
  border-radius: 0 0 15px 15px;
}
.rail-track:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  height: 36px;
  border-left: 1px solid #c4c4c4;
}
.rail-track i {
  position: absolute;
  top: -2px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.app-launch-receipt {
  position: absolute;
  top: 36px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--paper);
  padding: 0 15px;
  font-size: 12px;
  color: #767676;
  min-height: 44px;
}
.launch-icon {
  font-size: 20px;
}
.app-launch-receipt .replay {
  margin-left: 10px;
  font-size: 18px;
}
.environment-section {
  padding-top: 65px;
  padding-bottom: 82px;
  display: grid;
  grid-template-columns: 1fr 1.23fr;
  gap: 70px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.environment-copy > p {
  margin-top: 23px;
}
.layer-picks {
  margin-top: 32px;
  max-width: 315px;
}
.layer-picks button {
  width: 100%;
  min-height: 61px;
  background: none;
  border-top: 1px solid var(--line);
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 20px;
  align-items: center;
  padding: 12px 0;
}
.layer-picks button:last-child {
  border-bottom: 1px solid var(--line);
}
.layer-picks button > span {
  font-size: 15px;
  line-height: 1;
}
.layer-picks small {
  font-size: 12px;
  color: #888888;
  margin-top: 4px;
  grid-row: 2;
}
.layer-picks i {
  grid-column: 2;
  grid-row: 1/3;
  justify-self: end;
  font-style: normal;
  color: #a4a4a4;
  font-size: 21px;
  transition: transform 220ms var(--ease);
}
.layer-picks button[aria-pressed="true"] {
  color: var(--accent);
}
.layer-picks button[aria-pressed="true"] i {
  color: var(--accent);
  transform: translate(2px, -2px);
}
.layer-figure {
  position: relative;
  height: 520px;
  min-width: 0;
}
.layer-art {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.plane {
  transition:
    transform 550ms var(--ease),
    opacity 400ms var(--ease);
}
.plane-edge {
  fill: #d3d3d3;
  stroke: #b0b0b0;
  stroke-width: 1;
}
.plane-face {
  fill: #f3f3f3;
  stroke: #b0b0b0;
  stroke-width: 1;
}
.plane.active .plane-face {
  fill: #e2e2e2;
  stroke: #919191;
}
.plane.active {
  transform: translateY(-13px);
}
.layer-callout path {
  fill: none;
  stroke: #aeaeae;
  stroke-width: 1;
  stroke-dasharray: 2 3;
}
.layer-callout text {
  font-size: 12px;
  fill: #7b7b7b;
  font-family: var(--font);
}
.layer-figure figcaption,
.state-figure figcaption,
.trace-figure figcaption,
.queue-figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #7d7d7d;
  min-height: 44px;
}
.feature-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 83px;
  border-top: 1px solid var(--line);
}
.duo-copy h2 {
  font-size: 51px;
}
.duo-copy p {
  font-size: 16px;
  line-height: 1.55;
  margin-top: 20px;
  color: var(--muted);
}
.state-figure,
.trace-figure {
  position: relative;
  margin-top: 34px;
  height: 393px;
}
.state-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.state-tabs button {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 5px;
  background: none;
  color: #7d7d7d;
  font-size: 12px;
}
.state-tabs button[aria-pressed="true"] {
  background: #e3e3e3;
  color: #676767;
}
.state-tabs > span {
  color: #acacac;
  font-size: 12px;
}
.state-vault {
  position: relative;
  height: 295px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #e4e4e4, transparent 70%);
}
.saved-work {
  width: 273px;
  border: 1px solid #c9c9c9;
  border-radius: 8px;
  background: #fcfbf7;
  box-shadow: 0 12px 22px -12px #65656525;
  position: relative;
  z-index: 1;
  transition:
    transform 400ms var(--ease),
    box-shadow 400ms var(--ease);
}
.saved-work-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #e1e1e1;
  font-size: 11px;
}
.saved-work-heading img {
  width: 21px;
  height: 21px;
  border-radius: 4px;
}
.saved-work-heading span:last-child {
  margin-left: auto;
  font-size: 17px;
  color: #808080;
}
.saved-search {
  margin: 12px 13px;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: #6d6d6d;
  background: #efefef;
  padding: 8px 10px;
  border: 1px solid #d7d7d7;
  border-radius: 5px;
}
.saved-search > span:first-child {
  font-size: 18px;
  line-height: 1;
}
.saved-items {
  display: flex;
  gap: 8px;
  padding: 0 13px 13px;
}
.saved-items img {
  width: calc((100% - 16px) / 3);
  height: 57px;
  background: #eeeeee;
  border-radius: 3px;
  object-fit: contain;
}
.saved-stamp {
  border-top: 1px solid #e1e1e1;
  padding: 9px 14px;
  color: #838383;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.stamp-mark {
  opacity: 0;
}
.state-bookmark {
  position: absolute;
  left: calc(50% + 104px);
  top: 30px;
  z-index: 2;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 300ms var(--ease),
    transform 400ms var(--ease);
}
.state-bookmark svg {
  width: 25px;
  height: 30px;
  fill: #8a8a8a;
  stroke: #6b6b6b;
  stroke-width: 1;
}
.vault-orbit {
  position: absolute;
  width: 340px;
  height: 226px;
  border: 1px dashed #c3c3c3;
  border-radius: 50%;
  transform: rotate(-20deg);
  opacity: 0.4;
}
.state-figure[data-step="1"] .saved-work {
  transform: translateY(4px) scale(0.97);
  box-shadow: 0 5px 12px #65656513;
}
.state-figure[data-step="1"] .state-bookmark {
  opacity: 1;
  transform: translateY(0);
}
.state-figure[data-step="2"] .saved-stamp {
  color: #666666;
}
.state-figure[data-step="2"] .stamp-mark {
  opacity: 1;
}
.trace-header {
  height: 53px;
  padding: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: #7d7d7d;
}
.trace-header button {
  background: none;
  font-size: 12px;
  color: #676767;
  min-height: 40px;
  padding: 0 9px;
}
.trace-header button span {
  margin-left: 10px;
  font-size: 17px;
}
.trace-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.trace-list:before {
  content: "";
  position: absolute;
  left: 14px;
  top: 30px;
  bottom: 31px;
  border-left: 1px solid #d4d4d4;
  z-index: -1;
}
.trace-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  height: 68px;
  padding: 8px 0;
  opacity: 0.45;
  transition: opacity 250ms var(--ease);
}
.trace-list li.done,
.trace-list li.active {
  opacity: 1;
}
.trace-mark {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid #d2d2d2;
  border-radius: 7px;
  font-size: 16px;
  background: var(--paper);
  color: #939393;
  transition:
    background 250ms var(--ease),
    color 250ms var(--ease);
}
.trace-list li.active .trace-mark {
  background: #dddddd;
  border-color: #a9a9a9;
  color: #696969;
}
.trace-list strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.trace-list li div > span {
  font-size: 11px;
  color: #8b8b8b;
  display: block;
  margin-top: 3px;
}
.trace-list li > i {
  margin-left: auto;
  margin-right: 12px;
  font-style: normal;
  font-size: 12px;
  color: #848484;
  opacity: 0;
}
.trace-list li.done > i {
  opacity: 1;
}
.trace-output {
  height: 64px;
  background: #e9e9e9;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 16px;
  border-radius: 5px;
  margin-top: 5px;
}
.trace-output small {
  display: block;
  font-size: 10px;
  color: #8d8d8d;
}
.trace-output div > span {
  display: block;
  font-size: 12px;
  color: #666666;
  margin-top: 3px;
}
.output-corner {
  color: #9a9a9a;
  font-size: 28px;
  line-height: 1;
}
.output-corner.end {
  margin-left: auto;
  align-self: flex-end;
}
.parallel-section {
  padding-top: 73px;
  padding-bottom: 80px;
  border-top: 1px solid var(--line);
}
.queue-figure {
  position: relative;
  height: 414px;
  margin-top: 45px;
  background: radial-gradient(ellipse at 25% 50%, #e9e9e988, transparent 55%);
}
.queue-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 370px;
  pointer-events: none;
}
.queue-lines path {
  stroke: #b9b9b9;
  stroke-width: 1;
  fill: none;
}
.queue-packet {
  fill: var(--accent);
}
.queue-origin {
  position: absolute;
  left: 7%;
  top: 112px;
  width: 190px;
  z-index: 2;
}
.origin-icon {
  width: 48px;
  height: 48px;
  background: #e2e2e2;
  color: #797979;
  display: grid;
  place-items: center;
  font-size: 31px;
  border: 1px solid #cccccc;
  border-radius: 12px;
  margin-bottom: 16px;
}
.queue-origin > span:last-of-type {
  font-size: 14px;
  color: #7a7a7a;
}
.queue-paper {
  display: flex;
  gap: 4px;
  margin-top: 14px;
}
.queue-paper i {
  width: 32px;
  height: 35px;
  display: block;
  background: #f5f5f5;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  transform: rotate(-4deg);
}
.queue-paper i:nth-child(2) {
  transform: rotate(4deg);
}
.queue-paper i:nth-child(3) {
  transform: rotate(-2deg);
}
.task-lanes {
  position: absolute;
  left: 46%;
  right: 2%;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.task-lane {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 23px;
  border-bottom: 1px solid #d2d2d2;
  min-width: 0;
}
.task-app {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.task-app > img,
.mini-custom {
  width: 37px;
  height: 37px;
  border-radius: 9px;
  flex-shrink: 0;
  box-shadow: 0 2px 4px #54545410;
}
.mini-custom {
  display: grid;
  place-items: center;
  font-size: 23px;
  background: #dedede;
  color: #808080;
  border: 1px solid #bebebe;
}
.task-app strong {
  font-size: 13px;
  font-weight: 500;
  display: block;
}
.task-app div > span {
  font-size: 11px;
  color: #8a8a8a;
  display: block;
  margin-top: 3px;
}
.task-progress {
  height: 3px;
  width: 65px;
  background: #dddddd;
  overflow: hidden;
  border-radius: 3px;
}
.task-progress i {
  display: block;
  background: #909090;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
}
.task-result {
  font-size: 11px;
  color: #797979;
  opacity: 0.3;
  min-width: 100px;
  transition: opacity 350ms var(--ease);
}
.task-result i {
  font-size: 15px;
  font-style: normal;
  margin-left: 8px;
}
.task-lane.done .task-result {
  opacity: 1;
}
.queue-figure figcaption {
  bottom: 0;
}
.agent-section {
  padding-top: 80px;
  padding-bottom: 95px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.agent-section p {
  margin-top: 22px;
}
.agent-bridge {
  min-width: 0;
}
.agent-choices {
  display: flex;
  gap: 10px;
}
.agent-choices button {
  border: 1px solid #d6d6d6;
  background: #f2f2f2;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 53px;
  flex: 1;
  font-size: 13px;
  transition:
    background 200ms var(--ease),
    border-color 200ms var(--ease);
}
.agent-choices button[aria-pressed="true"] {
  border-color: #939393;
  background: #dedede;
}
.claude-symbol {
  font-size: 26px;
  color: #808080;
  line-height: 1;
}
.codex-symbol {
  font-size: 26px;
  color: #6c6c6c;
  line-height: 1;
}
.own-symbol {
  font-size: 22px;
  color: #8b8b8b;
  line-height: 1;
}
.bridge-link {
  height: 54px;
  position: relative;
  margin: 0 17%;
}
.bridge-link > span {
  position: absolute;
  inset: 0;
  border: 1px solid #bdbdbd;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  height: 26px;
}
.bridge-link:after {
  content: "";
  position: absolute;
  top: 26px;
  left: 50%;
  height: 28px;
  border-left: 1px solid #bdbdbd;
}
.bridge-link i {
  position: absolute;
  top: 38px;
  left: calc(50% - 8px);
  font-size: 14px;
  color: #8e8e8e;
  font-style: normal;
  z-index: 1;
  background: var(--paper);
  line-height: 1;
}
.bridge-output {
  padding: 22px 24px;
  background: #ebebeb;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #d3d3d3;
  border-radius: 7px;
}
.bridge-icon {
  font-size: 27px;
  color: #828282;
}
.bridge-output strong {
  font-size: 14px;
  font-weight: 500;
  display: block;
}
.bridge-output div > span {
  display: block;
  font-size: 11px;
  color: #838383;
  margin-top: 6px;
}
.closing {
  padding-top: 66px;
  padding-bottom: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
.closing h2 {
  font-size: 62px;
}
.closing .button {
  margin-right: 8%;
}
footer {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  padding-bottom: 28px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-row .brand {
  font-size: 23px;
}
.footer-row .plain {
  font-size: 12px;
}
.footer-note {
  font-size: 10px;
  color: #8f8f8f;
  margin-top: 28px;
  max-width: 750px;
}
dialog {
  max-width: 520px;
  width: calc(100% - 40px);
  padding: 36px;
  border: 1px solid #c4c4c4;
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 20px 100px #4d4d4d33;
}
dialog::backdrop {
  background: #2a2a2a55;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-size: 31px;
  margin-bottom: 20px;
}
dialog p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 14px;
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;
  font-size: 25px;
  width: 36px;
  height: 36px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 12px;
  background: #fff;
  z-index: 30;
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
.keyboard-mode * {
  transition-duration: 0ms !important;
  animation-duration: 0ms !important;
}
@media (min-width: 1500px) {
  .hero-scene {
    height: 650px;
  }
  .hero-phone {
    top: 36px;
  }
  .command-panel {
    top: 116px;
  }
}
@media (max-width: 1120px) {
  .wrap {
    padding-left: 36px;
    padding-right: 36px;
  }
  .hero h1 {
    font-size: 73px;
  }
  .command-panel {
    left: 7%;
    width: 290px;
  }
  .hero-phone {
    left: 64%;
  }
  .hero-route {
    opacity: 0.6;
  }
  .section-heading h2,
  .environment-copy h2,
  .agent-section h2 {
    font-size: 49px;
  }
  .environment-section {
    gap: 30px;
  }
  .layer-callout {
    display: none;
  }
  .feature-duo {
    gap: 36px;
  }
  .duo-copy h2 {
    font-size: 45px;
  }
  .task-lanes {
    left: 40%;
    right: 0;
  }
  .task-progress {
    width: 38px;
  }
  .task-lane {
    gap: 15px;
  }
  .task-result {
    min-width: 90px;
  }
  .queue-origin {
    left: 4%;
  }
  .agent-section {
    gap: 30px;
  }
  .agent-choices {
    gap: 6px;
  }
  .agent-choices button {
    font-size: 12px;
    gap: 7px;
  }
  .closing h2 {
    font-size: 55px;
  }
}
@media (max-width: 860px) {
  .hero h1 {
    font-size: 63px;
  }
  .nav-links {
    margin-left: 0;
    gap: 22px;
  }
  .hero-scene {
    height: 610px;
    --phone-w: 222px;
    --phone-h: 464px;
  }
  .command-panel {
    left: 6%;
    top: 109px;
    width: 250px;
  }
  .hero-phone {
    left: 64%;
    top: 40px;
  }
  .command-panel .commands {
    padding: 7px;
  }
  .commands button {
    gap: 9px;
    padding: 11px 8px;
  }
  .commands strong {
    font-size: 12px;
  }
  .commands small {
    font-size: 11px;
  }
  .hero-route {
    display: none;
  }
  .section-heading h2,
  .environment-copy h2,
  .agent-section h2 {
    font-size: 43px;
  }
  .section-heading p,
  .environment-copy > p,
  .agent-section p {
    font-size: 15px;
  }
  .environment-section {
    grid-template-columns: 1fr 1fr;
  }
  .layer-figure {
    height: 425px;
  }
  .duo-copy h2 {
    font-size: 41px;
  }
  .duo-copy p {
    font-size: 14px;
  }
  .feature-duo {
    gap: 28px;
  }
  .state-tabs {
    gap: 4px;
  }
  .state-tabs button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .saved-work {
    width: 240px;
  }
  .task-app strong {
    font-size: 12px;
  }
  .task-result {
    font-size: 10px;
    min-width: 85px;
  }
  .task-progress {
    width: 24px;
  }
  .task-app {
    gap: 9px;
  }
  .queue-origin {
    width: 160px;
    left: 2%;
  }
  .agent-choices button {
    flex-direction: column;
    font-size: 11px;
    gap: 7px;
    min-height: 80px;
  }
  .bridge-output {
    padding: 20px 16px;
    gap: 12px;
  }
  .bridge-output strong {
    font-size: 13px;
  }
  .bridge-output div > span {
    font-size: 10px;
  }
  .closing h2 {
    font-size: 48px;
  }
  .closing .button {
    margin-right: 0;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
  .nav {
    height: 80px;
  }
  .brand {
    font-size: 23px;
    gap: 8px;
  }
  .brand img {
    width: 23px;
    height: 23px;
  }
  .nav-links {
    display: none;
  }
  .nav .button {
    height: 39px;
    font-size: 11px;
    gap: 12px;
    padding: 0 13px;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 31px;
  }
  .hero h1 {
    font-size: 52px;
    max-width: 360px;
    line-height: 1.01;
    margin: auto;
  }
  .hero p {
    font-size: 15px;
    line-height: 1.55;
    margin-top: 21px;
    margin-bottom: 23px;
    letter-spacing: -0.1px;
  }
  .hero-actions {
    gap: 22px;
  }
  .button {
    height: 46px;
    font-size: 12px;
    padding: 0 17px;
    gap: 18px;
  }
  .hero-actions .plain {
    font-size: 12px;
  }
  .hero-scene {
    height: 708px;
    border-radius: 9px;
    --phone-w: 228px;
    --phone-h: 476px;
    overflow: hidden;
  }
  .command-panel {
    left: 15px;
    right: 15px;
    top: 18px;
    width: auto;
    box-shadow: none;
    background: #faf9f3da;
    border-radius: 7px;
    overflow: hidden;
    z-index: 4;
    border: 1px solid #d3d3d3;
  }
  .panel-heading {
    display: none;
  }
  .commands {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 5px !important;
    gap: 3px;
  }
  .commands button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 9px 8px;
    min-height: 93px;
  }
  .command-icon {
    font-size: 15px;
    width: 24px;
    height: 24px;
    border-radius: 4px;
  }
  .commands strong {
    font-size: 10px;
    line-height: 1.25;
    font-weight: 500;
  }
  .commands small {
    display: none;
  }
  .commands i {
    position: absolute;
    right: 7px;
    top: 8px;
    font-size: 12px;
  }
  .commands button {
    position: relative;
  }
  .command-result {
    min-height: 35px;
    padding: 7px 13px;
    font-size: 10px;
  }
  .hero-phone {
    left: 50%;
    top: 180px;
    transform: translateX(-50%);
  }
  .phone-caption {
    font-size: 10px;
    margin-top: 11px;
  }
  .scene-footer {
    height: 43px;
    bottom: 0;
    left: 15px;
    right: 15px;
    font-size: 10px;
  }
  .scene-footer .replay {
    font-size: 10px;
    gap: 6px;
  }
  .scene-footer .demo-label {
    display: none;
  }
  .scene-footer .motion-control {
    font-size: 10px;
    gap: 7px;
  }
  .scene-footer .motion-control span:first-child {
    font-size: 12px;
  }
  .apps-section {
    padding-top: 65px;
    padding-bottom: 48px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2,
  .environment-copy h2,
  .agent-section h2 {
    font-size: 42px;
    letter-spacing: -0.05em;
  }
  .section-heading p {
    margin-top: 20px;
    font-size: 15px;
  }
  .app-library {
    margin-top: 28px;
  }
  .app-tile {
    min-height: 191px;
    padding: 20px 10px;
  }
  .app-tile > img,
  .custom-app-icon {
    width: 43px;
    height: 43px;
    border-radius: 11px;
    margin-bottom: 25px;
  }
  .custom-app-icon {
    font-size: 27px;
  }
  .app-tile strong {
    font-size: 15px;
    letter-spacing: -0.3px;
  }
  .app-tile > span:not(.custom-app-icon) {
    font-size: 10px;
    line-height: 1.5;
    margin-top: 6px;
    max-width: 76px;
  }
  .app-tile > i {
    font-size: 16px;
    right: 10px;
    bottom: 18px;
  }
  .app-rail {
    height: 86px;
  }
  .app-launch-receipt {
    font-size: 10px;
    gap: 8px;
    padding: 0 7px;
    white-space: nowrap;
  }
  .app-launch-receipt .replay {
    margin-left: 0;
  }
  .launch-icon {
    font-size: 16px;
  }
  .environment-section {
    display: block;
    padding-top: 52px;
    padding-bottom: 42px;
  }
  .environment-copy > p {
    font-size: 15px;
    margin-top: 20px;
  }
  .layer-picks {
    display: flex;
    gap: 0;
    margin-top: 25px;
    max-width: none;
  }
  .layer-picks button {
    display: block;
    flex: 1;
    min-height: 62px;
    border-bottom: 1px solid var(--line);
    padding: 12px 8px 12px 0;
  }
  .layer-picks button > span {
    font-size: 13px;
  }
  .layer-picks small,
  .layer-picks i {
    display: none;
  }
  .layer-figure {
    height: 346px;
    margin-top: 26px;
  }
  .layer-art {
    width: 108%;
    margin-left: -4%;
    height: 100%;
  }
  .layer-figure figcaption {
    font-size: 11px;
    bottom: 0;
  }
  .feature-duo {
    display: block;
    padding-top: 49px;
    padding-bottom: 50px;
  }
  .duo-copy h2 {
    font-size: 42px;
  }
  .duo-copy p {
    font-size: 15px;
    margin-top: 19px;
  }
  .state-figure,
  .trace-figure {
    margin-top: 26px;
    height: 397px;
  }
  .state-tabs {
    gap: 6px;
    padding-bottom: 10px;
  }
  .state-tabs button {
    font-size: 12px;
    padding: 8px 13px;
  }
  .state-vault {
    height: 290px;
  }
  .saved-work {
    width: 262px;
  }
  .state-bookmark {
    left: calc(50% + 96px);
    top: 28px;
  }
  .state-figure figcaption,
  .trace-figure figcaption {
    font-size: 11px;
  }
  .trace-section {
    margin-top: 49px;
    border-top: 1px solid var(--line);
    padding-top: 49px;
  }
  .trace-list li {
    height: 71px;
  }
  .trace-header {
    font-size: 12px;
  }
  .trace-header button {
    font-size: 12px;
  }
  .trace-list strong {
    font-size: 13px;
  }
  .trace-list li div > span {
    font-size: 12px;
  }
  .trace-output {
    margin-top: 5px;
    height: 66px;
  }
  .trace-output div > span {
    font-size: 12px;
  }
  .trace-output small {
    font-size: 10px;
  }
  .parallel-section {
    padding-top: 49px;
    padding-bottom: 50px;
  }
  .queue-figure {
    height: 437px;
    margin-top: 25px;
  }
  .queue-origin {
    left: 0;
    right: 0;
    top: 8px;
    width: auto;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .origin-icon {
    margin: 0;
    width: 32px;
    height: 32px;
    font-size: 23px;
    border-radius: 8px;
  }
  .queue-origin > span:last-of-type {
    font-size: 12px;
  }
  .queue-paper {
    margin: 0 0 0 auto;
    gap: 3px;
  }
  .queue-paper i {
    width: 21px;
    height: 23px;
  }
  .queue-lines {
    display: none;
  }
  .task-lanes {
    left: 0;
    right: 0;
    top: 67px;
    gap: 14px;
  }
  .task-lane {
    height: 86px;
    gap: 10px;
    padding-left: 12px;
    border-left: 1px solid #c4c4c4;
    border-bottom: 1px solid #d6d6d6;
  }
  .task-lanes:before {
    content: "";
    position: absolute;
    left: 15px;
    top: -23px;
    width: 1px;
    height: 23px;
    background: #b7b7b7;
  }
  .task-app {
    gap: 10px;
  }
  .task-app > img,
  .mini-custom {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .task-app strong {
    font-size: 12px;
  }
  .task-app div > span {
    font-size: 10px;
  }
  .task-progress {
    width: 24px;
  }
  .task-result {
    min-width: 75px;
    font-size: 9px;
  }
  .task-result i {
    margin-left: 4px;
    font-size: 13px;
  }
  .queue-figure figcaption {
    font-size: 10px;
    min-height: 44px;
    gap: 8px;
  }
  .queue-figure figcaption .replay {
    font-size: 10px;
    white-space: nowrap;
  }
  .agent-section {
    display: block;
    padding-top: 50px;
    padding-bottom: 55px;
  }
  .agent-section p {
    font-size: 15px;
    margin-top: 20px;
  }
  .agent-bridge {
    margin-top: 31px;
  }
  .agent-choices {
    gap: 8px;
  }
  .agent-choices button {
    font-size: 11px;
    min-height: 76px;
    gap: 6px;
  }
  .bridge-link {
    height: 54px;
  }
  .bridge-output {
    padding: 18px;
  }
  .bridge-output strong {
    font-size: 13px;
  }
  .bridge-output div > span {
    font-size: 10px;
  }
  .closing {
    display: block;
    padding-top: 47px;
    padding-bottom: 49px;
  }
  .closing h2 {
    font-size: 43px;
  }
  .closing .button {
    margin-top: 27px;
  }
  footer {
    padding-top: 24px;
    padding-bottom: 25px;
  }
  .footer-note {
    font-size: 9px;
    line-height: 1.6;
    margin-top: 20px;
    max-width: 310px;
  }
  .footer-row .brand {
    font-size: 22px;
  }
  .footer-row .plain {
    font-size: 10px;
    gap: 7px;
  }
  .result-card strong {
    font-size: 12px;
  }
  .result-card p {
    font-size: 9px;
  }
  .result-detail > img {
    height: 150px;
  }
  .result-detail h3 {
    font-size: 23px;
  }
  .launcher-greeting {
    margin-top: 68px;
  }
}
@media (max-width: 370px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero p {
    font-size: 14px;
  }
  .hero-actions {
    gap: 17px;
  }
  .hero-scene {
    --phone-w: 220px;
    --phone-h: 460px;
    height: 690px;
  }
  .commands strong {
    font-size: 9px;
  }
  .hero-phone {
    top: 176px;
  }
  .command-panel {
    left: 11px;
    right: 11px;
  }
  .scene-footer {
    left: 11px;
    right: 11px;
  }
  .section-heading h2,
  .environment-copy h2,
  .agent-section h2,
  .duo-copy h2 {
    font-size: 39px;
  }
  .app-tile strong {
    font-size: 14px;
  }
  .app-tile > span:not(.custom-app-icon) {
    font-size: 9px;
  }
  .app-launch-receipt {
    font-size: 9px;
  }
  .layer-figure {
    height: 325px;
  }
  .state-tabs {
    gap: 4px;
  }
  .state-tabs button {
    padding: 8px 10px;
  }
  .task-result {
    min-width: 70px;
    font-size: 9px;
  }
  .task-progress {
    width: 18px;
  }
  .task-app strong {
    font-size: 11px;
  }
  .closing h2 {
    font-size: 39px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Readable state labels stay legible before and after their action. */
.result-card {
  width: 100%;
  background: #fff;
  text-align: left;
  color: #34312d;
}
.result-card:hover {
  background: #f4f4f4;
}
.result-card p {
  color: #6c6c6c;
}
.result-card span {
  color: #686868;
}
.commands small {
  color: #686868;
}
.command-result {
  color: #676767;
}
.phone-caption,
.scene-footer {
  color: #6c6c6c;
}
.replay {
  color: #656565;
}
.app-tile > span:not(.custom-app-icon) {
  color: #6d6d6d;
}
.app-launch-receipt {
  color: #676767;
}
.layer-picks small {
  color: #707070;
}
.layer-callout text {
  fill: #686868;
}
.layer-figure figcaption,
.state-figure figcaption,
.trace-figure figcaption,
.queue-figure figcaption {
  color: #6a6a6a;
}
.saved-work-heading {
  font-size: 12px;
}
.saved-stamp {
  font-size: 11px;
  color: #676767;
}
.saved-search {
  color: #626262;
}
.trace-list li {
  opacity: 1;
}
.trace-list li div > span {
  color: #6e6e6e;
}
.trace-list li:not(.active):not(.done) strong {
  color: #6e6e6e;
}
.trace-list li:not(.active):not(.done) .trace-mark {
  color: #8d8d8d;
}
.trace-output small {
  color: #6d6d6d;
}
.task-app div > span {
  color: #6f6f6f;
}
.task-result {
  opacity: 1;
  color: #676767;
}
.task-result.pending {
  color: #747474;
}
.bridge-output div > span {
  color: #6d6d6d;
}
.footer-note {
  color: #767676;
}
@media (max-width: 640px) {
  .commands strong {
    font-size: 11px;
  }
  .commands button {
    min-height: 96px;
  }
  .app-tile > span:not(.custom-app-icon) {
    font-size: 11px;
  }
  .app-launch-receipt {
    font-size: 11px;
  }
  .phone-caption {
    font-size: 11px;
  }
  .state-tabs button {
    min-height: 44px;
  }
  .layer-figure figcaption,
  .state-figure figcaption,
  .trace-figure figcaption {
    font-size: 12px;
  }
  .task-result {
    font-size: 11px;
    min-width: 85px;
  }
  .task-app div > span {
    font-size: 11px;
  }
  .queue-figure figcaption {
    font-size: 11px;
  }
  .bridge-output div > span {
    font-size: 11px;
  }
  .trace-list:before {
    z-index: 0;
  }
  .trace-list li {
    position: relative;
  }
  .command-result {
    font-size: 11px;
  }
}
@media (max-width: 370px) {
  .commands strong {
    font-size: 10px;
  }
  .app-tile > span:not(.custom-app-icon) {
    font-size: 10px;
  }
  .app-launch-receipt {
    font-size: 10px;
  }
  .task-result {
    font-size: 10px;
    min-width: 77px;
  }
}
@media (max-width: 640px) {
  .hero-scene {
    height: 735px;
  }
  .trace-header button {
    min-height: 44px;
  }
}
@media (max-width: 370px) {
  .hero-scene {
    height: 717px;
  }
}
.app-preview {
  background: none;
  color: #636363;
  font-size: 12px;
  min-height: 44px;
  padding: 0 4px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.app-preview span {
  font-size: 16px;
}
.app-launch-receipt {
  gap: 12px;
}
.app-launch-receipt .replay {
  margin-left: 0;
}
@media (max-width: 640px) {
  .app-preview {
    font-size: 11px;
    gap: 4px;
  }
  .app-launch-receipt {
    gap: 8px;
  }
  .app-launch-receipt .replay {
    font-size: 17px;
  }
}
.saved-items .saved-position {
  border: 1px solid #919191;
  background: #d9d9d9;
}
.state-bookmark {
  top: 26px;
}
.state-figure[data-step="1"] .saved-work {
  transform: translateY(12px) scale(0.91);
  box-shadow: 0 4px 12px #65656513;
}
.state-figure[data-step="1"] .state-vault:after {
  content: "";
  position: absolute;
  left: calc(50% - 143px);
  right: calc(50% - 143px);
  top: 21px;
  bottom: 20px;
  border: 1px dashed #b2b2b2;
  border-radius: 12px;
}
.state-figure[data-step="2"] .saved-position {
  background: #d9d9d9;
  border-color: #7b7b7b;
}
.state-figure[data-step="2"] .saved-work {
  box-shadow:
    0 0 0 2px #ababab38,
    0 12px 22px -12px #65656525;
}
.saved-stamp {
  font-size: 11px;
  min-height: 33px;
}
.trace-output {
  gap: 12px;
  padding: 10px 13px;
  height: 70px;
}
.trace-preview {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 90px;
  max-width: 136px;
}
.trace-preview .trace-app-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}
.trace-query {
  display: block;
  background: #fafafa;
  border: 1px solid #b9b9b9;
  border-radius: 4px;
  padding: 8px;
  font-size: 10px;
  white-space: nowrap;
  color: #5d5d5d;
}
.trace-query i {
  display: inline-block;
  width: 1px;
  height: 11px;
  background: #7d7d7d;
  vertical-align: -2px;
  margin-left: 2px;
}
.trace-thumbs {
  display: flex;
  gap: 5px;
}
.trace-thumbs img {
  width: 31px;
  height: 38px;
  object-fit: contain;
  border: 1px solid #d4d4d4;
  background: #f6f6f6;
  border-radius: 3px;
}
.trace-output .output-corner.end {
  margin-left: 0;
}
.trace-figure figcaption {
  bottom: -6px;
}
.layer-figure figcaption {
  font-size: 12px;
}
.trace-list:before {
  z-index: 0;
}
.trace-list li {
  position: relative;
}
.feature-duo {
  border-top: 0;
  background: linear-gradient(180deg, transparent, #eeeeee66 35%, transparent);
}
.agent-section {
  border-top: 0;
}
.app-rail .rail-track {
  border-color: #bfbfbf;
}
.layer-art .plane-face {
  filter: drop-shadow(0px 5px 3px #7373730b);
}
@media (max-width: 640px) {
  .trace-preview {
    min-width: 77px;
    max-width: 110px;
  }
  .trace-query {
    font-size: 9px;
    padding: 7px;
  }
  .trace-thumbs {
    gap: 3px;
  }
  .trace-thumbs img {
    width: 25px;
    height: 34px;
  }
  .trace-output .output-corner {
    display: none;
  }
  .trace-output {
    padding: 10px 14px;
    gap: 9px;
  }
  .layer-figure figcaption {
    font-size: 11px;
  }
  .state-vault {
    height: 290px;
  }
  .trace-figure figcaption {
    bottom: -8px;
  }
}
.result-list {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.result-list::-webkit-scrollbar {
  display: none;
}
.rail-track {
  overflow: hidden;
}
#agent-select {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  padding: 5px 16px 5px 0;
  cursor: pointer;
  min-height: 32px;
  flex: 1;
  max-width: 180px;
}
.layer-figure {
  height: 562px;
}
.layer-art {
  height: 438px;
}
.layer-detail {
  position: absolute;
  bottom: 54px;
  left: 0;
  right: 0;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  min-height: 62px;
  background: #ececec;
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 12px 16px;
}
.layer-detail > span {
  font-size: 11px;
  color: #6f6f6f;
  min-width: 46px;
}
.layer-detail > div {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: #575757;
}
.layer-app-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.layer-app-chip > img {
  width: 23px;
  height: 23px;
  border-radius: 5px;
}
.layer-app-chip.custom {
  color: #737373;
  font-size: 11px;
}
.layer-query {
  padding: 6px 10px;
  background: #f8f8f8;
  border: 1px solid #c6c6c6;
  border-radius: 4px;
  white-space: nowrap;
}
.layer-selection {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.layer-selection > img {
  width: 26px;
  height: 29px;
  object-fit: contain;
}
.layer-file {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  flex: 1;
}
.layer-file > span:first-child {
  font-size: 26px;
  color: #828282;
  line-height: 1;
}
.layer-file small {
  font-size: 10px;
  display: block;
  margin-top: 2px;
  color: #6f6f6f;
}
.layer-file i {
  font-style: normal;
  margin-left: auto;
  font-size: 19px;
  color: #707070;
}
.trace-figure {
  height: 425px;
}
.trace-output {
  height: 99px;
  gap: 13px;
}
.trace-output > div:first-of-type {
  max-width: 190px;
}
.trace-preview {
  width: 153px;
  max-width: 153px;
  min-width: 153px;
  height: 70px;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #c8c8c8;
  background: #fafafa;
}
.trace-screen-crop {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.trace-reference {
  position: absolute !important;
  width: 185px !important;
  height: auto !important;
  left: -17px;
  top: -87px;
  max-width: none !important;
}
.trace-query {
  position: absolute;
  left: 5px;
  right: 5px;
  top: 6px;
  text-align: left;
  background: #fff;
  font-size: 11px;
  border-radius: 15px;
  min-height: 26px;
  padding: 6px 8px;
  line-height: 1.1;
}
.trace-result-row {
  width: 100%;
  height: 100%;
  background: #fff;
}
.trace-result-row > span {
  height: 22px;
  display: block;
  background: #bfbfbf;
  padding: 4px 8px;
  font-size: 9px;
  color: #474747;
  line-height: 1.4;
}
.trace-result-row > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
}
.trace-result-row img {
  width: 31px;
  height: 38px;
  object-fit: contain;
  background: #f0f0f0;
}
.trace-result-row strong {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  color: #565656;
}
.trace-result-row i {
  font-size: 12px;
  font-style: normal;
  margin-left: auto;
  color: #818181;
}
.trace-figure figcaption {
  bottom: 0;
}
.trace-output .output-corner {
  display: none;
}
@media (max-width: 1120px) {
  .layer-detail {
    gap: 11px;
    padding: 10px 12px;
  }
  .layer-detail > div {
    gap: 10px;
    font-size: 11px;
  }
  .layer-detail > span {
    min-width: 41px;
  }
  .layer-app-chip > img {
    width: 20px;
    height: 20px;
  }
  .layer-app-chip {
    gap: 5px;
  }
  .layer-app-chip.custom {
    font-size: 10px;
  }
  .layer-query {
    padding: 5px 7px;
  }
  .layer-selection {
    gap: 4px;
    font-size: 10px;
  }
  .trace-preview {
    min-width: 136px;
    width: 136px;
  }
  .trace-output > div:first-of-type {
    max-width: 130px;
  }
}
@media (min-width: 641px) and (max-width: 860px) {
  .layer-detail > div {
    flex-wrap: wrap;
    gap: 7px;
  }
  .layer-detail {
    bottom: 56px;
  }
  .layer-figure {
    height: 470px;
  }
  .layer-art {
    height: 345px;
  }
  .trace-preview {
    min-width: 105px;
    width: 105px;
  }
  .trace-result-row img {
    width: 24px;
  }
  .trace-result-row strong {
    font-size: 9px;
  }
  .trace-output {
    gap: 8px;
  }
  .trace-output div > span {
    font-size: 11px;
  }
  .trace-reference {
    left: -35px;
  }
  .trace-query {
    font-size: 9px;
    padding: 7px 5px;
  }
  .layer-selection {
    font-size: 10px;
  }
}
@media (max-width: 640px) {
  .panel-heading {
    display: flex;
    height: 42px;
    padding: 5px 12px;
    font-size: 11px;
    gap: 8px;
  }
  .panel-heading .agent-symbol {
    font-size: 18px;
  }
  .panel-heading .small-arrow {
    font-size: 14px;
  }
  #agent-select {
    min-height: 32px;
    padding: 3px 10px 3px 0;
    max-width: 220px;
  }
  .commands button {
    min-height: 88px;
  }
  .command-panel {
    top: 16px;
  }
  .hero-phone {
    top: 211px;
  }
  .hero-scene {
    height: 767px;
  }
  .layer-figure {
    height: 407px;
  }
  .layer-art {
    height: 284px;
  }
  .layer-detail {
    bottom: 55px;
    min-height: 61px;
    padding: 10px;
    gap: 11px;
  }
  .layer-detail > span {
    font-size: 10px;
    min-width: 37px;
  }
  .layer-detail > div {
    gap: 9px;
    font-size: 10px;
  }
  .layer-app-chip > img {
    width: 20px;
    height: 20px;
  }
  .layer-app-chip.custom {
    font-size: 9px;
  }
  .layer-selection {
    font-size: 9px;
    gap: 4px;
  }
  .layer-selection > img {
    width: 20px;
  }
  .layer-query {
    font-size: 10px;
    padding: 5px 6px;
  }
  .layer-file {
    font-size: 11px;
  }
  .trace-figure {
    height: 427px;
  }
  .trace-output {
    height: 98px;
    padding: 10px 12px;
    gap: 10px;
  }
  .trace-preview {
    min-width: 137px;
    width: 137px;
    max-width: 137px;
  }
  .trace-output > div:first-of-type {
    max-width: 140px;
  }
  .trace-reference {
    left: -24px;
  }
  .trace-output div > span {
    font-size: 11px;
  }
  .closing h2 {
    font-size: 48px;
  }
}
@media (max-width: 370px) {
  .hero-scene {
    height: 749px;
  }
  .hero-phone {
    top: 208px;
  }
  .layer-figure {
    height: 390px;
  }
  .layer-art {
    height: 270px;
  }
  .layer-detail {
    gap: 8px;
    padding: 9px;
  }
  .layer-detail > div {
    gap: 6px;
  }
  .layer-app-chip {
    gap: 4px;
  }
  .layer-app-chip > img {
    width: 18px;
    height: 18px;
  }
  .layer-detail > span {
    font-size: 9px;
    min-width: 35px;
  }
  .layer-selection {
    font-size: 8px;
  }
  .layer-query {
    font-size: 9px;
    padding: 5px;
  }
  .layer-app-chip.custom {
    font-size: 8px;
  }
  .trace-preview {
    min-width: 126px;
    width: 126px;
  }
  .trace-output {
    gap: 7px;
    padding: 10px;
  }
  .trace-query {
    font-size: 10px;
  }
  .closing h2 {
    font-size: 45px;
  }
}
@media (max-width: 640px) {
  .layer-detail > span {
    font-size: 11px;
    min-width: 41px;
  }
  .layer-detail > div {
    font-size: 12px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .layer-app-chip.custom {
    font-size: 11px;
  }
  .layer-app-chip > img {
    width: 20px;
    height: 20px;
  }
  .layer-query {
    font-size: 11px;
  }
  .layer-selection {
    font-size: 11px;
    gap: 5px;
  }
  .layer-selection > img {
    width: 22px;
    height: 25px;
  }
  .layer-file {
    font-size: 12px;
  }
  .layer-file small {
    font-size: 10px;
  }
}
@media (max-width: 370px) {
  .layer-detail {
    gap: 8px;
  }
  .layer-detail > span {
    font-size: 11px;
    min-width: 39px;
  }
  .layer-detail > div {
    font-size: 11px;
    gap: 7px;
  }
  .layer-app-chip.custom {
    font-size: 10px;
  }
  .layer-query {
    font-size: 10px;
  }
  .layer-selection {
    font-size: 10px;
  }
}
.plane[data-plane="1"].active {
  transform: translate(-10px, 14px);
}
.plane[data-plane="2"].active {
  transform: translateY(24px);
}
.layer-figure figcaption {
  border-top: 0;
  justify-content: flex-end;
}
/* App controls and outcomes describe the selected app, in the single shared phone. */
.touch {
  left: 0;
  top: 0;
}
.custom-view {
  height: 100%;
  background: #fbf9f4;
  padding: 18px;
  color: #4c4c4c;
}
.custom-view .phone-status {
  font-size: 9px;
}
.custom-app-heading {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d9d9d9;
}
.custom-app-heading > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: #dedede;
  border: 1px solid #b6b6b6;
  border-radius: 8px;
  font-size: 23px;
  color: #787878;
}
.custom-app-heading strong {
  font-size: 13px;
  font-weight: 500;
}
.custom-view h3 {
  font-size: 27px;
  margin-top: 27px;
}
.custom-entry {
  margin-top: 22px;
}
.custom-entry > span {
  font-size: 11px;
  color: #737373;
  display: block;
  margin-bottom: 7px;
}
.custom-name {
  height: 39px;
  padding: 11px 10px;
  line-height: 1.2;
  background: #fffdf8;
  border: 1px solid #bdbdbd;
  border-radius: 5px;
  font-size: 12px;
  color: #585858;
}
.custom-placeholder {
  color: #919191;
}
.custom-entry button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 37px;
  margin-top: 10px;
  padding: 9px 11px;
  background: #828282;
  border: 1px solid #727272;
  border-radius: 5px;
  color: #fffdf7;
  font-size: 11px;
}
.custom-entry button:disabled {
  background: #dcdcdc;
  border-color: #c8c8c8;
  color: #8a8a8a;
  opacity: 1;
}
.custom-items {
  margin-top: 26px;
  border-top: 1px solid #d9d9d9;
  padding-top: 17px;
}
.custom-empty {
  font-size: 11px;
  color: #8a8a8a;
}
.custom-item {
  display: flex;
  gap: 9px;
  align-items: center;
}
.custom-item > span {
  background: #dedede;
  border: 1px solid #b9b9b9;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #777777;
  font-size: 12px;
}
.custom-item strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.custom-item small {
  font-size: 10px;
  color: #7e7e7e;
  display: block;
  margin-top: 4px;
}
.custom-app-foot {
  position: absolute;
  bottom: 29px;
  left: 18px;
  right: 18px;
  text-align: center;
  font-size: 9px;
  color: #909090;
}
@media (max-width: 640px) {
  .custom-view {
    padding: 16px;
  }
  .custom-app-heading {
    margin-top: 20px;
    padding-bottom: 12px;
  }
  .custom-view h3 {
    font-size: 25px;
    margin-top: 22px;
  }
  .custom-entry {
    margin-top: 18px;
  }
  .custom-items {
    margin-top: 21px;
  }
  .custom-name {
    font-size: 11px;
  }
  .custom-entry button {
    font-size: 11px;
  }
}
/* Small supporting labels retain readable contrast on the light surfaces. */
.footer-note {
  color: #6f6f6f;
}
.state-tabs button {
  color: #686868;
}
.trace-header {
  color: #6b6b6b;
}
.queue-origin > span:last-of-type {
  color: #6a6a6a;
}
.layer-detail > span,
.layer-file small {
  color: #676767;
}
.layer-app-chip.custom {
  color: #6a6a6a;
}
.custom-placeholder,
.custom-empty,
.custom-app-foot {
  color: #6d6d6d;
}
.custom-item small {
  color: #6d6d6d;
}
.custom-entry button {
  background: #6c6c6c;
  border-color: #616161;
}
.custom-entry button:disabled {
  background: #dcdcdc;
  border-color: #c8c8c8;
  color: #8a8a8a;
}
/* Cover the reference app's search field at the same screen coordinates. */
.phone-search {
  top: 7.2%;
  left: 3.5%;
  right: 3.5%;
  height: 6.5%;
  min-height: 0;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 1px;
}
/* Black actions keep the approved warm page and illustrations. */
:root {
  --button: #1b1b19;
  --button-hover: #343431;
  --button-ink: #fffdf9;
}
.button {
  background: var(--button);
  border-color: var(--button);
  color: var(--button-ink);
  box-shadow: 0 2px 3px #17171312;
}
.button:hover {
  background: var(--button-hover);
  border-color: var(--button-hover);
}
.plain,
.replay,
.app-preview,
.trace-header button {
  color: #45433e;
}
.plain:hover,
.replay:hover,
.app-preview:hover,
.trace-header button:hover {
  color: #111110;
}
.state-tabs button[aria-pressed="true"] {
  background: var(--button);
  color: var(--button-ink);
}
.layer-picks button[aria-pressed="true"],
.layer-picks button[aria-pressed="true"] i {
  color: #252520;
}
.custom-entry button {
  background: var(--button);
  border-color: var(--button);
  color: var(--button-ink);
}
.custom-entry button:hover:not(:disabled) {
  background: var(--button-hover);
}
.custom-entry button:disabled {
  background: #dcdcdc;
  border-color: #c8c8c8;
  color: #8a8a8a;
}
/* Entries run once as each story enters the viewport; the settled layout is unchanged. */
.section-heading.scroll-ready,
.environment-copy.scroll-ready,
.duo-copy.scroll-ready,
.closing.scroll-ready {
  transition:
    opacity 600ms var(--ease),
    transform 700ms var(--ease),
    filter 600ms var(--ease);
}
.section-heading.scroll-ready:not(.is-revealed),
.environment-copy.scroll-ready:not(.is-revealed),
.duo-copy.scroll-ready:not(.is-revealed),
.closing.scroll-ready:not(.is-revealed) {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(2px);
}
.app-library.scroll-ready .app-tile {
  transition:
    opacity 550ms var(--ease),
    transform 750ms var(--ease),
    background 250ms var(--ease);
  transition-delay: calc(var(--entry-order, 0) * 90ms);
}
.app-library.scroll-ready:not(.is-revealed) .app-tile {
  opacity: 0;
  transform: translateY(28px);
}
.app-library.scroll-ready .app-rail {
  transition:
    opacity 600ms var(--ease),
    transform 650ms var(--ease);
  transition-delay: 220ms;
}
.app-library.scroll-ready:not(.is-revealed) .app-rail {
  opacity: 0;
  transform: translateY(12px);
}
.plane-entry {
  transition:
    transform 900ms var(--ease),
    opacity 600ms var(--ease);
  transform: translateY(0);
  opacity: 1;
}
.layer-figure.scroll-ready:not(.is-revealed)
  .plane-entry[data-entry-layer="0"] {
  transform: translateY(158px);
  opacity: 0.45;
}
.layer-figure.scroll-ready:not(.is-revealed)
  .plane-entry[data-entry-layer="1"] {
  transform: translateY(79px);
  opacity: 0.65;
}
.layer-figure.scroll-ready .layer-callout,
.layer-figure.scroll-ready .layer-detail {
  transition:
    opacity 500ms var(--ease),
    transform 650ms var(--ease);
  transition-delay: 300ms;
}
.layer-figure.scroll-ready:not(.is-revealed) .layer-callout {
  opacity: 0;
}
.layer-figure.scroll-ready:not(.is-revealed) .layer-detail {
  opacity: 0;
  transform: translateY(12px);
}
.state-figure.scroll-ready .state-tabs,
.state-figure.scroll-ready .state-vault {
  transition:
    opacity 600ms var(--ease),
    transform 750ms var(--ease);
}
.state-figure.scroll-ready .state-vault {
  transition-delay: 100ms;
}
.state-figure.scroll-ready:not(.is-revealed) .state-tabs {
  opacity: 0;
  transform: translateY(10px);
}
.state-figure.scroll-ready:not(.is-revealed) .state-vault {
  opacity: 0;
  transform: translateY(24px);
}
.trace-figure.scroll-ready .trace-header,
.trace-figure.scroll-ready .trace-list li,
.trace-figure.scroll-ready .trace-output {
  transition:
    opacity 500ms var(--ease),
    transform 650ms var(--ease);
  transition-delay: calc(var(--entry-order, 0) * 85ms);
}
.trace-figure.scroll-ready .trace-output {
  transition-delay: 260ms;
}
.trace-figure.scroll-ready:not(.is-revealed) .trace-header,
.trace-figure.scroll-ready:not(.is-revealed) .trace-list li,
.trace-figure.scroll-ready:not(.is-revealed) .trace-output {
  opacity: 0;
  transform: translateY(14px);
}
.queue-figure.scroll-ready .queue-origin {
  transition:
    opacity 500ms var(--ease),
    transform 650ms var(--ease);
}
.queue-figure.scroll-ready .queue-lines {
  transition: clip-path 900ms var(--ease);
  clip-path: inset(0 0 0 0);
}
.queue-figure.scroll-ready .task-lane {
  transition:
    opacity 500ms var(--ease),
    transform 750ms var(--ease);
  transition-delay: calc(130ms + var(--entry-order, 0) * 100ms);
}
.queue-figure.scroll-ready:not(.is-revealed) .queue-origin {
  opacity: 0;
  transform: translateY(12px);
}
.queue-figure.scroll-ready:not(.is-revealed) .queue-lines {
  clip-path: inset(0 100% 0 0);
}
.queue-figure.scroll-ready:not(.is-revealed) .task-lane {
  opacity: 0;
  transform: translateY(22px);
}
.reveal-instant,
.reveal-instant * {
  transition: none !important;
}
.motion-paused .scroll-ready,
.motion-paused .scroll-ready .app-tile,
.motion-paused .scroll-ready .app-rail,
.motion-paused .scroll-ready .plane-entry,
.motion-paused .scroll-ready .layer-callout,
.motion-paused .scroll-ready .layer-detail,
.motion-paused .scroll-ready .state-tabs,
.motion-paused .scroll-ready .state-vault,
.motion-paused .scroll-ready .trace-header,
.motion-paused .scroll-ready .trace-list li,
.motion-paused .scroll-ready .trace-output,
.motion-paused .scroll-ready .queue-origin,
.motion-paused .scroll-ready .task-lane {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}
.motion-paused .scroll-ready .queue-lines {
  clip-path: inset(0) !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-ready,
  .scroll-ready .app-tile,
  .scroll-ready .app-rail,
  .scroll-ready .plane-entry,
  .scroll-ready .layer-callout,
  .scroll-ready .layer-detail,
  .scroll-ready .state-tabs,
  .scroll-ready .state-vault,
  .scroll-ready .trace-header,
  .scroll-ready .trace-list li,
  .scroll-ready .trace-output,
  .scroll-ready .queue-origin,
  .scroll-ready .task-lane {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .scroll-ready .queue-lines {
    clip-path: inset(0) !important;
    transition: none !important;
  }
}
/* Establish the offscreen state without an initial reverse animation. */
.scroll-ready:not(.is-revealed),
.scroll-ready:not(.is-revealed) .app-tile,
.scroll-ready:not(.is-revealed) .app-rail,
.scroll-ready:not(.is-revealed) .plane-entry,
.scroll-ready:not(.is-revealed) .layer-callout,
.scroll-ready:not(.is-revealed) .layer-detail,
.scroll-ready:not(.is-revealed) .state-tabs,
.scroll-ready:not(.is-revealed) .state-vault,
.scroll-ready:not(.is-revealed) .trace-header,
.scroll-ready:not(.is-revealed) .trace-list li,
.scroll-ready:not(.is-revealed) .trace-output,
.scroll-ready:not(.is-revealed) .queue-origin,
.scroll-ready:not(.is-revealed) .queue-lines,
.scroll-ready:not(.is-revealed) .task-lane {
  transition: none !important;
}

/* Keep the selected V7 composition; tighten rhythm and remove the brown accents. */
:root {
  --paper: #faf9f6;
  --ink: #222;
  --muted: #676767;
  --line: #deddd9;
  --accent: #222;
  --button: #111;
  --button-hover: #333;
  --button-ink: #fff;
}
.platform-landing .brand {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.7px;
  gap: 9px;
}
.platform-landing .brand .icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}
.platform-landing .nav {
  height: 86px;
}
.platform-landing .nav-links {
  margin-left: 0;
  align-items: center;
  gap: 26px;
}
.platform-landing .nav-links .theme-switcher {
  margin-left: -10px;
}
.platform-landing .hero {
  padding-top: 46px;
  padding-bottom: 28px;
}
.platform-landing h1,
.platform-landing h2 {
  font-weight: 400;
}
.platform-landing .hero h1 {
  font-size: clamp(48px, 6.2vw, 84px);
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}
.platform-landing .hero > p {
  max-width: 570px;
  font-size: 17px;
  line-height: 1.65;
  margin: 20px auto 22px;
}
.platform-landing .hero .copy-feedback {
  font-size: 12px;
  min-height: 20px;
  margin: 8px auto 0;
}
.platform-landing .hero-scene {
  height: 580px;
}
.platform-landing .dot-field {
  color: #666;
}
.platform-landing .command-panel {
  top: 88px;
}
.platform-landing .hero-phone {
  top: 19px;
  --phone-w: 232px;
  --phone-h: 486px;
}
.platform-landing .section-heading h2,
.platform-landing .environment-copy h2 {
  font-size: 48px;
}
.platform-landing .duo-copy h2 {
  font-size: 43px;
}
.platform-landing .section-heading p,
.platform-landing .environment-copy > p,
.platform-landing .duo-copy p {
  font-size: 16px;
  max-width: 390px;
  line-height: 1.6;
}
.platform-landing .section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 48px;
  align-items: end;
}
.platform-landing .section-heading .compatibility-note {
  grid-column: 2;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 390px;
}
.platform-landing .apps-section {
  padding-top: 52px;
  padding-bottom: 48px;
}
.platform-landing .app-library {
  margin-top: 28px;
}
.platform-landing .app-tile {
  min-height: 190px;
  padding-top: 25px;
  padding-bottom: 22px;
}
.platform-landing .environment-section {
  padding-top: 40px;
  padding-bottom: 42px;
  gap: 50px;
}
.platform-landing .feature-duo {
  padding-top: 46px;
  padding-bottom: 46px;
}
.platform-landing .parallel-section {
  padding-top: 46px;
  padding-bottom: 46px;
}
.platform-landing .feature-footnote {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 12px;
  max-width: 420px;
}
.platform-landing .closing {
  padding-top: 52px;
  padding-bottom: 55px;
}
.platform-landing .closing h2 {
  font-size: 64px;
}
.platform-landing .art-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.platform-landing .app-tile > .art-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
}
.platform-landing .screen-crop > .art-icon {
  position: absolute;
  max-width: none;
  height: auto;
  pointer-events: none;
}
.platform-landing .screen-crop.amazon > .art-icon {
  width: 131.2%;
  left: -15.6%;
  top: -23.5%;
}
.platform-landing .screen-crop.uber > .art-icon {
  width: 137.4%;
  left: -18.6%;
  top: -23.4%;
}
.platform-landing .result-search > .art-icon {
  width: 26px;
  height: 26px;
}
.platform-landing .result-card > .art-icon {
  width: 57px;
  height: 73px;
}
.platform-landing .result-detail > .art-icon {
  width: 100%;
  height: 175px;
}
.platform-landing .launcher-apps .art-icon {
  width: 48px;
  height: 48px;
}
.platform-landing .layer-app-chip > .art-icon {
  width: 23px;
  height: 23px;
}
.platform-landing .layer-selection > .art-icon {
  width: 36px;
  height: 36px;
}
.platform-landing .saved-work-heading > .art-icon {
  width: 21px;
  height: 21px;
}
.platform-landing .saved-items > .art-icon {
  width: calc((100% - 16px) / 3);
  height: 57px;
  background: #f1f1ec;
  border-radius: 3px;
}
.platform-landing .task-app > .art-icon {
  width: 35px;
  height: 35px;
}
.platform-landing .trace-screen-crop > .art-icon {
  position: absolute;
  width: 131%;
  max-width: none;
  height: auto;
  left: -15.5%;
  top: -23.5%;
}
.platform-landing .trace-result-row .art-icon {
  width: 34px;
  height: 44px;
}
.platform-landing .touch {
  top: 52px;
  left: 24%;
}
.platform-landing .touch.touch-ride {
  top: 60px;
  left: 72%;
}
.platform-landing .touch.touch-custom {
  top: 250px;
  left: 65%;
}
.platform-landing .app-rail[data-arrived="true"] #app-packet {
  transform: translateY(33px);
  left: 50%;
}
.platform-landing .speed-strip {
  padding-top: 36px;
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.speed-strip > div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.speed-strip > div:first-child {
  padding-left: 0;
  border: 0;
}
.speed-strip strong {
  font-size: 42px;
  letter-spacing: -2px;
  font-weight: 400;
  line-height: 1.2;
}
.speed-strip strong > span {
  font-size: 21px;
  letter-spacing: -0.5px;
}
.speed-strip p {
  font-size: 13px;
  margin-top: 9px;
}
.speed-strip small {
  color: var(--muted);
  font-size: 11px;
}
.speed-strip .measurement-note {
  grid-column: 1/-1;
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
  margin: 6px 0 0;
}
.measurement-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.agent-setup {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 50px;
  padding-bottom: 50px;
  align-items: center;
}
.agent-setup h2 {
  font-size: 47px;
}
.agent-setup p {
  max-width: 350px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 20px;
}
.setup-code {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 8px;
}
.setup-code-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.setup-code-heading .plain {
  font-size: 12px;
  padding: 0;
}
.setup-code pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.7;
  padding: 16px;
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.setup-code summary {
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}
.platform-landing .nav .theme-options {
  color: var(--text);
}
.platform-landing [hidden] {
  display: none !important;
}
.platform-landing .footer-row {
  flex-wrap: wrap;
  gap: 20px;
}
.platform-landing .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.task-progress i[data-progress="0"] {
  transform: scaleX(0);
}
.task-progress i[data-progress="1"] {
  transform: scaleX(0.1);
}
.task-progress i[data-progress="2"] {
  transform: scaleX(0.2);
}
.task-progress i[data-progress="3"] {
  transform: scaleX(0.3);
}
.task-progress i[data-progress="4"] {
  transform: scaleX(0.4);
}
.task-progress i[data-progress="5"] {
  transform: scaleX(0.5);
}
.task-progress i[data-progress="6"] {
  transform: scaleX(0.6);
}
.task-progress i[data-progress="7"] {
  transform: scaleX(0.7);
}
.task-progress i[data-progress="8"] {
  transform: scaleX(0.8);
}
.task-progress i[data-progress="9"] {
  transform: scaleX(0.9);
}
.task-progress i[data-progress="10"] {
  transform: scaleX(1);
}
[data-entry-order="1"] {
  --entry-order: 1;
}
[data-entry-order="2"] {
  --entry-order: 2;
}
[data-entry-order="3"] {
  --entry-order: 3;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #151515;
    --ink: #eee;
    --muted: #aaa;
    --line: #383838;
    --accent: #eee;
    --button: #eee;
    --button-hover: #ddd;
    --button-ink: #111;
  }
}
:root[data-theme="dark"] {
  --paper: #151515;
  --ink: #eee;
  --muted: #aaa;
  --line: #383838;
  --accent: #eee;
  --button: #eee;
  --button-hover: #ddd;
  --button-ink: #111;
}
.platform-landing .command-panel {
  background: var(--paper);
  color: var(--ink);
}
.platform-landing .hero-scene {
  background: var(--soft);
}
.platform-landing .hero-scene:after {
  background: linear-gradient(180deg, transparent 70%, var(--soft));
}
.platform-landing .commands button:hover,
.platform-landing .commands button[aria-pressed="true"],
.platform-landing .app-tile:hover,
.platform-landing .app-tile[aria-pressed="true"] {
  background: var(--soft);
}
.platform-landing .command-icon {
  background: var(--soft);
  color: var(--ink);
}
.platform-landing .command-result,
.platform-landing .commands small,
.platform-landing .phone-caption,
.platform-landing .scene-footer,
.platform-landing .plain,
.platform-landing .replay,
.platform-landing .app-preview,
.platform-landing .app-tile > span,
.platform-landing .layer-picks small,
.platform-landing .layer-detail > span,
.platform-landing .state-tabs button,
.platform-landing .trace-header,
.platform-landing .trace-header button,
.platform-landing .trace-list li,
.platform-landing figure > figcaption,
.platform-landing .task-result {
  color: var(--muted);
}
.platform-landing .panel-heading,
.platform-landing .command-result,
.platform-landing .scene-footer {
  border-color: var(--line);
}
.platform-landing .layer-picks button[aria-pressed="true"],
.platform-landing .layer-picks button[aria-pressed="true"] i {
  color: var(--ink);
}
.platform-landing .saved-work,
.platform-landing .app-results,
.platform-landing .launcher {
  color: #222;
}
.platform-landing .task-lane {
  background: var(--paper);
  border-color: var(--line);
}
.platform-landing .task-lane strong {
  color: var(--ink);
}
.platform-landing .state-tabs button[aria-pressed="true"] {
  color: var(--button-ink);
}
.platform-landing .layer-detail {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}
@media (max-width: 860px) {
  .platform-landing .hero-phone {
    left: 63%;
    --phone-w: 210px;
    --phone-h: 440px;
    top: 40px;
  }
  .platform-landing .section-heading h2,
  .platform-landing .environment-copy h2 {
    font-size: 43px;
  }
  .agent-setup {
    gap: 28px;
  }
}
@media (max-width: 640px) {
  .platform-landing .nav {
    height: 76px;
  }
  .platform-landing .nav-links {
    display: flex;
    margin-left: auto;
    margin-right: 12px;
    gap: 10px;
  }
  .platform-landing .nav-links > a:not([href="/docs/"]) {
    display: none;
  }
  .platform-landing .nav-links .theme-switcher {
    margin: 0;
  }
  .platform-landing .nav .button {
    display: none;
  }
  .platform-landing .hero {
    padding-top: 36px;
    padding-bottom: 18px;
  }
  .platform-landing .hero h1 {
    font-size: clamp(48px, 11.5vw, 66px);
    max-width: 400px;
    margin: auto;
  }
  .platform-landing .hero > p {
    font-size: 15px;
    line-height: 1.65;
    max-width: 330px;
  }
  .platform-landing .hero-actions {
    gap: 16px;
    flex-wrap: wrap;
  }
  .platform-landing .hero-actions .plain {
    font-size: 12px;
  }
  .platform-landing .hero-actions .button {
    font-size: 13px;
    gap: 14px;
  }
  .platform-landing .hero-scene {
    height: 720px;
  }
  .platform-landing .hero-phone {
    top: 216px;
    left: 50%;
    transform: translateX(-50%);
    --phone-w: 214px;
    --phone-h: 450px;
  }
  .platform-landing .command-panel {
    top: 24px;
    left: 16px;
    right: 16px;
    width: auto;
  }
  .platform-landing .commands button {
    min-height: 86px;
  }
  .platform-landing .scene-footer {
    left: 16px;
    right: 16px;
  }
  .platform-landing .scene-footer .demo-label {
    display: none;
  }
  .platform-landing .phone-caption {
    font-size: 10px;
  }
  .platform-landing .speed-strip {
    padding-top: 28px;
    padding-bottom: 26px;
    gap: 12px;
  }
  .speed-strip > div {
    padding-left: 12px;
  }
  .speed-strip strong {
    font-size: 30px;
    letter-spacing: -1.3px;
  }
  .speed-strip strong > span {
    font-size: 14px;
  }
  .speed-strip p {
    font-size: 11px;
    line-height: 1.5;
  }
  .speed-strip small {
    font-size: 10px;
  }
  .speed-strip .measurement-note {
    font-size: 10px;
  }
  .platform-landing .section-heading {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .platform-landing .section-heading .compatibility-note {
    grid-column: 1;
  }
  .platform-landing .section-heading h2,
  .platform-landing .environment-copy h2,
  .platform-landing .duo-copy h2 {
    font-size: 39px;
  }
  .platform-landing .apps-section {
    padding-top: 38px;
    padding-bottom: 32px;
  }
  .platform-landing .app-tile {
    min-height: 156px;
    padding: 18px 12px;
  }
  .platform-landing .app-tile > .art-icon {
    width: 37px;
    height: 37px;
    margin-bottom: 17px;
  }
  .platform-landing .app-tile strong {
    font-size: 16px;
  }
  .platform-landing .environment-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 36px;
    padding-bottom: 28px;
  }
  .platform-landing .feature-duo {
    padding-top: 36px;
    padding-bottom: 34px;
    gap: 38px;
  }
  .platform-landing .parallel-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }
  .platform-landing .closing h2 {
    font-size: 46px;
  }
  .agent-setup {
    grid-template-columns: 1fr;
    padding-top: 38px;
    padding-bottom: 38px;
    gap: 20px;
  }
  .agent-setup h2 {
    font-size: 39px;
  }
  .agent-setup p {
    margin-top: 16px;
  }
  .setup-code {
    padding: 16px;
  }
  .setup-code-heading {
    font-size: 11px;
    gap: 8px;
  }
  .setup-code-heading .plain {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .platform-landing *,
  .platform-landing *:before,
  .platform-landing *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* The stack stays inside its own column at mobile/tablet boundaries. */
@media (max-width: 640px) {
  .platform-landing .layer-art {
    width: 100%;
    margin-left: 0;
  }
}
.platform-landing h1 {
  letter-spacing: -0.045em;
}
.platform-landing h2 {
  letter-spacing: -0.04em;
}

/* A restrained lifecycle backdrop in either color theme. */
.platform-landing .state-vault {
  background: none;
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--ink) 4%, transparent),
    transparent 70%
  );
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .platform-landing .feature-duo {
    background: none;
  }
}
:root[data-theme="dark"] .platform-landing .feature-duo {
  background: none;
}

/* Compact agent actions sit alongside the phone, with a short visible connection. */
.platform-landing .hero-scene {
  height: 552px;
}
.platform-landing .command-panel {
  left: auto;
  right: calc(50% + 44px);
  top: 126px;
  width: 286px;
  border-radius: 8px;
}
.platform-landing .hero-phone {
  left: calc(50% + 44px);
  right: auto;
  top: 20px;
}
.agent-picker {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 9px;
  border: 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.agent-picker label {
  position: relative;
  flex: 1;
  cursor: pointer;
}
.agent-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.agent-picker span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  line-height: 1;
  padding: 10px 5px;
  white-space: nowrap;
  color: var(--muted);
  border-radius: 4px;
}
.agent-picker i {
  font-size: 15px;
  font-style: normal;
}
.agent-picker input:checked + span {
  background: var(--soft);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line);
}
.agent-picker input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.agent-picker label:hover span {
  color: var(--ink);
}
.platform-landing .command-panel .commands {
  padding: 7px;
}
.platform-landing .command-panel .commands button {
  min-height: 54px;
  padding: 9px;
  gap: 10px;
}
.platform-landing .command-panel .command-icon {
  width: 25px;
  height: 25px;
  font-size: 14px;
}
.platform-landing .command-panel .commands strong {
  font-size: 12px;
}
.platform-landing .command-panel .commands small {
  font-size: 11px;
  margin-top: 3px;
}
.platform-landing .command-result {
  min-height: 38px;
  padding: 10px 16px;
  font-size: 10px;
}
.platform-landing .hero-phone .phone-caption {
  margin-top: 10px;
}
@media (min-width: 641px) and (max-width: 860px) {
  .platform-landing .command-panel {
    width: 260px;
    right: calc(50% + 28px);
    top: 111px;
  }
  .platform-landing .hero-phone {
    left: calc(50% + 28px);
    top: 31px;
  }
  .platform-landing .hero-scene {
    height: 520px;
  }
}
@media (max-width: 640px) {
  .platform-landing .hero-scene {
    height: 696px;
  }
  .platform-landing .command-panel {
    top: 16px;
    left: 14px;
    right: 14px;
    width: auto;
  }
  .agent-picker {
    padding: 7px;
    gap: 4px;
  }
  .agent-picker span {
    min-height: 32px;
    padding: 7px 5px;
    font-size: 11px;
  }
  .platform-landing .command-panel .commands {
    gap: 3px;
  }
  .platform-landing .command-panel .commands button {
    min-height: 65px;
    padding: 8px 6px;
    gap: 6px;
  }
  .platform-landing .command-panel .commands strong {
    font-size: 10px;
    line-height: 1.25;
  }
  .platform-landing .command-panel .command-icon {
    width: 21px;
    height: 21px;
    font-size: 13px;
  }
  .platform-landing .command-result {
    min-height: 30px;
    padding: 7px 12px;
  }
  .platform-landing .hero-phone {
    top: 191px;
    left: 50%;
    transform: translateX(-50%);
  }
  .platform-landing .hero-phone .phone-caption {
    margin-top: 6px;
  }
  .platform-landing .hero-route {
    display: none;
  }
}

/* Agent → phone → appmap: one compact, connected workbench. */
.platform-landing .nav {
  height: 74px;
}
.platform-landing .hero {
  padding-top: 28px;
  padding-bottom: 16px;
}
.platform-landing .hero h1 {
  font-size: clamp(48px, 5.7vw, 78px);
}
.platform-landing .hero > p {
  max-width: 700px;
  font-size: 17px;
  margin: 17px auto 19px;
}
.platform-landing .hero .hero-copy-hint {
  margin: 11px auto 0;
  font-size: 12px;
}
.platform-landing .hero .copy-feedback {
  margin: 0 auto;
  min-height: 18px;
  font-size: 12px;
}
.platform-landing .hero-scene {
  height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 270px) 208px minmax(0, 336px);
  justify-content: center;
  align-items: center;
  column-gap: 32px;
  padding: 10px 26px 42px;
}
.platform-landing .command-panel {
  position: relative;
  inset: auto;
  width: 100%;
  z-index: 2;
  align-self: center;
}
.platform-landing .hero-phone {
  position: relative;
  inset: auto;
  transform: none;
  align-self: center;
  --phone-w: 208px;
  --phone-h: 432px;
}
.platform-landing .hero-phone .phone-caption {
  font-size: 10px;
  margin-top: 8px;
  white-space: nowrap;
}
.platform-landing .scene-footer {
  height: 40px;
  font-size: 10px;
}
.platform-landing .scene-footer button {
  font-size: 10px;
  min-height: 36px;
}
.appmap-panel {
  position: relative;
  min-width: 0;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 20px 16px 15px;
  box-shadow: 0 5px 20px #00000004;
}
.appmap-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 22px;
}
.platform-landing .appmap-heading h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.7px;
  line-height: 1;
}
.appmap-heading > span {
  font-size: 12px;
  color: var(--muted);
}
.tree-root {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 10px;
  padding-left: 3px;
}
.tree-root strong {
  font-weight: 500;
}
.tree-epoch {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
.tree-branches {
  position: relative;
  padding-left: 15px;
}
.tree-branches:before {
  content: "";
  position: absolute;
  top: -6px;
  left: 5px;
  bottom: 21px;
  border-left: 1px solid var(--line);
}
.tree-node {
  display: grid;
  grid-template-columns: 18px 45px minmax(0, 1fr);
  gap: 5px;
  width: 100%;
  min-width: 0;
  text-align: left;
  align-items: baseline;
  position: relative;
  padding: 9px 7px;
  margin: 2px 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink);
}
.tree-node:before {
  content: "";
  position: absolute;
  width: 10px;
  left: -11px;
  top: 18px;
  border-top: 1px solid var(--line);
}
.tree-node:hover {
  background: var(--soft);
}
.tree-node.tree-selected {
  border-color: var(--ink);
  background: var(--soft);
}
.tree-node:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.tree-role {
  color: var(--muted);
}
.tree-id {
  font-variant-numeric: tabular-nums;
}
.tree-label {
  overflow-wrap: anywhere;
}
.tree-children {
  padding-left: 13px;
  margin-left: 12px;
  border-left: 1px solid var(--line);
}
.tree-children .tree-node:before {
  width: 13px;
  left: -14px;
}
.tree-children .tree-node {
  grid-template-columns: 18px 42px minmax(0, 1fr);
  padding-left: 5px;
  padding-right: 2px;
}
.tree-call {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 16px;
  font-family: var(--mono);
}
.tree-call > span {
  color: var(--muted);
  font-size: 14px;
  padding-top: 4px;
}
.tree-call code {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  background: var(--soft);
  padding: 7px 9px;
  border-radius: 4px;
  flex: 1;
}
.tree-result {
  font-size: 11px;
  color: var(--muted);
  margin-top: 11px;
  line-height: 1.7;
}
#demo[data-tree-target="input"] .phone-search,
#demo[data-tree-target="input"] .custom-name {
  border-color: #222;
  box-shadow: 0 0 0 1px #222;
}
.platform-landing .hero-route {
  z-index: 1;
}
.platform-landing .agent-setup h2 {
  font-size: 44px;
}
@media (min-width: 641px) and (max-width: 1040px) {
  .platform-landing .hero-scene {
    grid-template-columns: minmax(0, 230px) 180px minmax(0, 290px);
    column-gap: 20px;
    padding-left: 18px;
    padding-right: 18px;
    height: 460px;
  }
  .platform-landing .hero-phone {
    --phone-w: 180px;
    --phone-h: 378px;
  }
  .appmap-panel {
    padding: 16px 12px;
  }
  .tree-node {
    font-size: 10px;
    grid-template-columns: 15px 38px minmax(0, 1fr);
    gap: 3px;
  }
  .tree-children {
    margin-left: 5px;
    padding-left: 8px;
  }
  .tree-children .tree-node {
    grid-template-columns: 15px minmax(0, 1fr);
    gap: 2px 5px;
  }
  .tree-children .tree-role {
    grid-column: 2;
  }
  .tree-children .tree-label {
    grid-column: 2;
  }
  .platform-landing .command-panel .commands button {
    padding: 9px 7px;
    min-height: 55px;
  }
  .platform-landing .command-panel .commands strong {
    font-size: 11px;
  }
  .agent-picker span {
    font-size: 10px;
    gap: 3px;
    padding-left: 3px;
    padding-right: 3px;
  }
  .agent-picker i {
    display: none;
  }
}
@media (min-width: 641px) and (max-width: 820px) {
  .platform-landing .hero-scene {
    grid-template-columns: 180px minmax(0, 280px);
    gap: 14px 22px;
    height: 570px;
    padding-top: 16px;
    padding-bottom: 45px;
  }
  .platform-landing .command-panel {
    grid-column: 1/-1;
    width: 100%;
    max-width: 490px;
    justify-self: center;
  }
  .platform-landing .command-panel .commands {
    display: flex;
    gap: 3px;
  }
  .platform-landing .command-panel .commands button {
    flex: 1;
    min-width: 0;
  }
  .platform-landing .command-panel .command-icon,
  .platform-landing .command-panel .commands i,
  .platform-landing .command-panel .commands small,
  .platform-landing .command-result {
    display: none;
  }
  .platform-landing .command-panel .commands button {
    min-height: 35px;
  }
  .platform-landing .hero-phone {
    grid-column: 1;
    align-self: start;
  }
  .appmap-panel {
    grid-column: 2;
    align-self: start;
  }
}
@media (max-width: 640px) {
  .platform-landing .nav {
    height: 66px;
  }
  .platform-landing .hero {
    padding-top: 22px;
    padding-bottom: 9px;
  }
  .platform-landing .hero h1 {
    font-size: clamp(41px, 11.2vw, 60px);
  }
  .platform-landing .hero > p {
    font-size: 14px;
    margin-top: 14px;
    margin-bottom: 16px;
    max-width: 310px;
  }
  .platform-landing .hero .hero-copy-hint {
    font-size: 11px;
    margin-top: 9px;
  }
  .platform-landing .hero .copy-feedback {
    font-size: 11px;
    min-height: 16px;
  }
  .platform-landing .hero-scene {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px 12px;
    height: auto;
    min-height: 480px;
    padding: 12px 12px 47px;
    align-items: start;
  }
  .platform-landing .command-panel {
    position: relative;
    inset: auto;
    grid-column: 1/-1;
    width: 100%;
  }
  .agent-picker {
    padding: 6px;
  }
  .agent-picker span {
    min-height: 30px;
    font-size: 10px;
  }
  .platform-landing .command-panel .commands {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 5px;
  }
  .platform-landing .command-panel .commands button {
    min-height: 35px;
    padding: 6px;
    gap: 5px;
    justify-content: center;
  }
  .platform-landing .command-panel .command-icon,
  .platform-landing .command-panel .commands i,
  .platform-landing .command-result {
    display: none;
  }
  .platform-landing .command-panel .commands strong {
    font-size: 10px;
  }
  .platform-landing .hero-phone {
    position: relative;
    inset: auto;
    transform: none;
    grid-column: 1;
    width: 100%;
    --phone-w: 100%;
    --phone-h: auto;
  }
  .platform-landing .hero-phone .device {
    width: 100%;
    height: auto;
    aspect-ratio: 208/432;
    border-radius: 23px;
  }
  .platform-landing .hero-phone .screen-host {
    border-radius: 17px;
    inset: 5px;
  }
  .platform-landing .hero-phone .phone-caption {
    font-size: 8px;
    white-space: normal;
    line-height: 1.5;
  }
  .appmap-panel {
    grid-column: 2;
    padding: 12px 8px;
    width: 100%;
    min-width: 0;
    border-radius: 6px;
  }
  .platform-landing .appmap-heading h2 {
    font-size: 16px;
    letter-spacing: -0.4px;
  }
  .appmap-heading {
    gap: 5px;
    margin-bottom: 13px;
    flex-wrap: wrap;
  }
  .appmap-heading > span {
    font-size: 9px;
  }
  .tree-root {
    gap: 4px;
    font-size: 10px;
    padding: 0;
    margin-bottom: 8px;
    flex-wrap: wrap;
  }
  .tree-epoch {
    width: 100%;
    font-size: 8px;
    margin-left: 13px;
  }
  .tree-branches {
    padding-left: 8px;
  }
  .tree-branches:before {
    left: 1px;
  }
  .tree-node,
  .tree-children .tree-node {
    grid-template-columns: 13px minmax(0, 1fr);
    gap: 0 3px;
    font-size: 9px;
    line-height: 1.5;
    padding: 5px 3px;
    margin: 3px 0;
  }
  .tree-role {
    grid-column: 2;
    font-size: 8px;
  }
  .tree-label {
    grid-column: 2;
  }
  .tree-node:before {
    left: -7px;
    width: 6px;
    top: 13px;
  }
  .tree-children {
    padding-left: 6px;
    margin-left: 3px;
  }
  .tree-children .tree-node:before {
    left: -7px;
    width: 6px;
  }
  .tree-call {
    margin-top: 10px;
    padding-top: 10px;
    gap: 3px;
  }
  .tree-call > span {
    font-size: 10px;
  }
  .tree-call code {
    font-size: 8px;
    padding: 4px;
    line-height: 1.6;
  }
  .tree-result {
    font-size: 9px;
    line-height: 1.6;
    margin-top: 8px;
  }
  .platform-landing .scene-footer {
    left: 12px;
    right: 12px;
    height: 36px;
  }
  .platform-landing .scene-footer button {
    min-height: 32px;
    font-size: 9px;
  }
  .platform-landing .hero-route {
    display: none;
  }
  .platform-landing .agent-setup h2 {
    font-size: 36px;
  }
}
@media (max-width: 370px) {
  .platform-landing .hero-scene {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
  }
  .platform-landing .hero-phone {
    justify-self: center;
    width: 176px;
    grid-column: 1;
  }
  .appmap-panel {
    grid-column: 1;
  }
  .tree-node,
  .tree-children .tree-node {
    grid-template-columns: 18px 44px minmax(0, 1fr);
    font-size: 11px;
    padding: 7px;
  }
  .tree-role,
  .tree-label {
    grid-column: auto;
    font-size: 11px;
  }
  .tree-epoch {
    width: auto;
    margin-left: auto;
    font-size: 10px;
  }
  .tree-call code {
    font-size: 10px;
  }
  .tree-result {
    font-size: 11px;
  }
}
.tree-node {
  transition:
    background 180ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.keyboard-mode .tree-node {
  transition: none;
}
@media (max-width: 820px) {
  .platform-landing .hero-route {
    display: none;
  }
}
@media (min-width: 371px) and (max-width: 640px) {
  .tree-node,
  .tree-children .tree-node {
    font-size: 11px;
  }
  .tree-role {
    font-size: 9px;
  }
  .tree-call code {
    font-size: 9px;
  }
  .tree-result {
    font-size: 10px;
  }
}
.platform-landing .tree-node:disabled {
  opacity: 1;
  cursor: default;
}
.platform-landing .tree-node:disabled:hover {
  background: transparent;
}
@media (min-width: 371px) and (max-width: 640px) {
  .platform-landing .hero-phone {
    align-self: start;
  }
  .tree-children .tree-role {
    display: none;
  }
  .tree-children .tree-label {
    grid-column: 2;
  }
  .tree-children .tree-node {
    min-height: 38px;
  }
  .tree-epoch {
    width: auto;
    margin-left: auto;
    font-size: 8px;
  }
  .tree-call > span {
    display: none;
  }
  .tree-call code {
    font-size: 8px;
  }
}
@media (min-width: 641px) and (max-width: 820px) {
  .platform-landing .hero-scene {
    height: auto;
    min-height: 610px;
    grid-template-rows: auto auto;
    align-content: start;
    padding-top: 16px;
    padding-bottom: 48px;
  }
  .platform-landing .command-panel {
    align-self: start;
  }
}
.platform-landing .hero-phone .result-status,
.platform-landing .hero-phone .result-search {
  background: #fff;
  color: #222;
}
.platform-landing .hero-phone .result-search {
  border-bottom: 1px solid #ededeb;
}
.platform-landing .hero-phone .result-search > span {
  background: #f6f6f3;
  border: 1px solid #d8d8d5;
}
@media (min-width: 1041px) and (max-height: 850px) {
  .platform-landing .nav {
    height: 66px;
  }
  .platform-landing .hero {
    padding-top: 18px;
    padding-bottom: 12px;
  }
  .platform-landing .hero h1 {
    font-size: 64px;
  }
  .platform-landing .hero > p {
    margin: 12px auto 16px;
    font-size: 15px;
  }
  .platform-landing .hero .hero-copy-hint {
    margin-top: 8px;
    font-size: 11px;
  }
  .platform-landing .hero-scene {
    height: 448px;
    grid-template-columns: minmax(0, 270px) 184px minmax(0, 336px);
  }
  .platform-landing .hero-phone {
    --phone-w: 184px;
    --phone-h: 382px;
  }
  .appmap-panel {
    padding-top: 16px;
    padding-bottom: 12px;
  }
  .appmap-heading {
    margin-bottom: 16px;
  }
  .tree-node {
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .tree-call {
    margin-top: 12px;
    padding-top: 12px;
  }
}
/* Keep the tree readable on small screens instead of scaling the whole workbench down. */
@media (max-width: 560px) {
  .platform-landing .hero-scene {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 0;
    gap: 14px;
    padding: 12px 12px 48px;
  }
  .platform-landing .hero-phone {
    width: 208px;
    justify-self: center;
    grid-column: 1;
  }
  .appmap-panel {
    grid-column: 1;
    justify-self: center;
    width: 100%;
    max-width: 380px;
    padding: 18px 15px;
  }
  .platform-landing .appmap-heading h2 {
    font-size: 20px;
  }
  .appmap-heading > span {
    font-size: 12px;
  }
  .tree-root {
    font-size: 12px;
    gap: 7px;
  }
  .tree-epoch {
    width: auto;
    margin-left: auto;
    font-size: 10px;
  }
  .tree-branches {
    padding-left: 15px;
  }
  .tree-branches:before {
    left: 5px;
  }
  .tree-node,
  .tree-children .tree-node {
    grid-template-columns: 18px 45px minmax(0, 1fr);
    gap: 5px;
    min-height: 36px;
    padding: 7px 5px;
    font-size: 11px;
  }
  .tree-role,
  .tree-children .tree-role {
    display: block;
    grid-column: auto;
    font-size: 11px;
  }
  .tree-label,
  .tree-children .tree-label {
    grid-column: auto;
  }
  .tree-node:before {
    left: -11px;
    width: 10px;
    top: 18px;
  }
  .tree-children {
    padding-left: 12px;
    margin-left: 8px;
  }
  .tree-children .tree-node:before {
    left: -13px;
    width: 12px;
  }
  .tree-call > span {
    display: block;
  }
  .tree-call code {
    font-size: 11px;
    padding: 7px 9px;
  }
  .tree-result {
    font-size: 12px;
  }
  .platform-landing .hero-phone .phone-caption {
    font-size: 10px;
  }
}
/* Leave a real gesture area below app content. */
.platform-landing .hero-phone .result-list {
  height: calc(100% - 124px);
}
.platform-landing .hero-phone .result-detail {
  height: calc(100% - 124px);
  overflow-y: auto;
  padding: 12px;
}
.platform-landing .hero-phone .result-detail > .art-icon {
  height: 88px;
}
.platform-landing .hero-phone .result-detail h3 {
  font-size: 20px;
}

/* A readable type hierarchy across the landing page and its interactive proof. */
.platform-landing .section-heading h2,
.platform-landing .environment-copy h2,
.platform-landing .duo-copy h2,
.platform-landing .agent-setup h2,
.platform-landing .closing h2 {
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}
.platform-landing .hero > p,
.platform-landing .hero .hero-copy-hint {
  letter-spacing: normal;
}
.platform-landing .hero .hero-copy-hint {
  font-size: 13px;
}
.platform-landing .agent-setup p {
  font-size: 16px;
  line-height: 1.6;
}
.platform-landing .speed-strip strong {
  font-size: 46px;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.platform-landing .speed-strip strong > span {
  font-size: 19px;
  letter-spacing: normal;
  margin-left: 3px;
}
.platform-landing .speed-strip p {
  font-size: 14px;
  line-height: 1.5;
}
.platform-landing .speed-strip small,
.platform-landing .speed-strip .measurement-note {
  font-size: 12px;
}
.platform-landing .command-panel .commands strong {
  font-size: 13px;
}
.platform-landing .command-panel .commands small,
.platform-landing .command-result,
.platform-landing .agent-picker span,
.platform-landing .scene-footer,
.platform-landing .scene-footer button {
  font-size: 12px;
}
.platform-landing .tree-root {
  font-size: 13px;
}
.platform-landing .tree-node,
.platform-landing .tree-children .tree-node {
  grid-template-columns: 18px 46px minmax(0, 1fr);
  font-size: 12px;
  line-height: 1.6;
}
.platform-landing .tree-role,
.platform-landing .tree-label {
  grid-column: auto;
}
.platform-landing .tree-role {
  display: block;
  font-size: 12px;
}
.platform-landing .tree-label {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.45;
}
.platform-landing .tree-call code {
  font-size: 12px;
  line-height: 1.6;
}
.platform-landing .tree-result {
  font-size: 12px;
}
@media (max-width: 640px) {
  .platform-landing .hero > p {
    font-size: 16px;
    line-height: 1.5;
  }
  .platform-landing .speed-strip strong {
    font-size: clamp(27px, 8vw, 32px);
  }
  .platform-landing .speed-strip strong > span {
    font-size: 15px;
    margin-left: 2px;
  }
  .platform-landing .speed-strip p {
    font-size: 12px;
  }
  .platform-landing .command-panel .commands strong {
    font-size: 12px;
  }
  .platform-landing .command-panel .commands button {
    padding: 6px 3px;
  }
}

@media (min-width: 821px) and (max-width: 1040px) {
  .platform-landing .hero-scene {
    height: 490px;
  }
}

/* The app and its readable tree are the hero; controls stay above the work. */
.platform-landing .hero-scene {
  grid-template-columns: 244px minmax(0, 356px);
  grid-template-rows: minmax(0, 1fr);
  justify-content: center;
  column-gap: 64px;
  row-gap: 14px;
  height: 552px;
  padding: 14px 26px 16px;
}
.platform-landing .demo-toolbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.demo-app-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.demo-app-tabs button {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 36px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  font-size: 13px;
  color: var(--muted);
}
.demo-app-tabs button[aria-pressed="true"] {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
.demo-app-tabs button:hover {
  color: var(--ink);
}
.demo-app-tabs svg {
  width: 22px;
  height: 22px;
}
.demo-agent-note {
  font-size: 12px;
  color: var(--muted);
}
.platform-landing .hero-phone {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: 244px;
  --phone-w: 244px;
  --phone-h: 482px;
}
.platform-landing .hero-phone .device {
  border-radius: 31px;
  background: #171717;
  padding: 0;
  border: 1px solid #363636;
  box-shadow:
    0 0 0 1px #171717,
    0 18px 32px -20px #0005;
  width: var(--phone-w);
  height: var(--phone-h);
}
.platform-landing .hero-phone .screen-host {
  inset: 4px;
  border-radius: 26px;
}
.platform-landing .hero-phone .device:after {
  height: 3px;
  bottom: 9px;
}
.platform-landing .appmap-panel {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: 100%;
  padding: 24px 20px 20px;
}
.platform-landing .hero-phone .result-status,
.platform-landing .hero-phone .result-search {
  background: #d9f0ef;
}
.platform-landing .hero-phone .result-status {
  height: 27px;
  font-size: 9px;
  padding-top: 8px;
}
.platform-landing .hero-phone .result-search {
  height: 45px;
  padding: 1px 10px 8px;
  gap: 8px;
  border: 0;
}
.platform-landing .hero-phone .result-search > .art-icon {
  width: 22px;
  height: 22px;
}
.platform-landing .hero-phone .result-search > span {
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 7px;
  border-color: #b6cccd;
  padding: 7px 8px;
  background: #fff;
  font-size: 12px;
}
.result-search > span > svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  flex-shrink: 0;
}
.platform-landing .hero-phone .results-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  height: 37px;
  font-size: 11px;
  color: #3c4245;
  background: #fff;
  border-bottom-color: #e2e5e5;
}
.platform-landing .hero-phone .result-list {
  height: calc(100% - 129px);
  background: #fff;
}
.platform-landing .hero-phone .result-card {
  min-height: 117px;
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr);
  padding: 12px 10px;
  gap: 12px;
  border-bottom: 1px solid #e5e8e8;
}
.platform-landing .hero-phone .result-card > .art-icon {
  width: 75px;
  height: 90px;
  padding: 7px;
  background: #f4f5f5;
  border-radius: 5px;
}
.platform-landing .hero-phone .result-card strong {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}
.platform-landing .hero-phone .result-card p {
  font-size: 10px;
  line-height: 1.4;
  margin-top: 6px;
  color: #5d6669;
}
.platform-landing .hero-phone .result-card span {
  font-size: 10px;
  margin-top: 7px;
  color: #176574;
}
.platform-landing .hero-phone .result-card span span {
  display: inline;
  font-size: 14px;
  margin: 0 0 0 3px;
}
.platform-landing .hero-phone .result-detail {
  height: calc(100% - 129px);
}
.platform-landing .hero-phone .result-detail > .art-icon {
  height: 120px;
  background: #f4f5f5;
  padding: 14px;
  border-radius: 6px;
}
@media (min-width: 1041px) and (max-height: 850px) {
  .platform-landing .hero-scene {
    height: 432px;
    grid-template-columns: 204px minmax(0, 356px);
    row-gap: 6px;
    padding-top: 8px;
  }
  .platform-landing .hero-phone {
    width: 204px;
    --phone-w: 204px;
    --phone-h: 394px;
  }
  .platform-landing .appmap-panel {
    padding: 12px 20px;
  }
  .platform-landing .appmap-heading {
    margin-bottom: 16px;
  }
  .platform-landing .hero-phone .result-card {
    grid-template-columns: 61px minmax(0, 1fr);
    gap: 9px;
    min-height: 108px;
  }
  .platform-landing .hero-phone .result-card > .art-icon {
    width: 61px;
    height: 81px;
  }
}
@media (max-width: 820px) and (min-width: 641px) {
  .platform-landing .hero-scene {
    grid-template-columns: 226px minmax(0, 320px);
    column-gap: 28px;
    min-height: 0;
    height: 528px;
  }
  .platform-landing .hero-phone {
    width: 226px;
    --phone-w: 226px;
    --phone-h: 454px;
  }
  .platform-landing .hero-route {
    display: block;
  }
}
@media (max-width: 640px) {
  .platform-landing .hero-scene {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 20px;
    height: auto;
    padding: 12px 12px 16px;
    min-height: 0;
  }
  .platform-landing .demo-toolbar {
    flex-direction: column;
    gap: 8px;
    grid-row: 1;
  }
  .platform-landing .appmap-workspace {
    display: contents;
  }
  .platform-landing .hero-phone {
    grid-column: 1;
    grid-row: 2;
    width: 244px;
    --phone-w: 244px;
    --phone-h: 482px;
  }
  .platform-landing .appmap-panel {
    grid-column: 1;
    grid-row: 3;
    max-width: 380px;
    justify-self: center;
    padding: 20px 15px;
  }
  .platform-landing .hero-route {
    display: none;
  }
  .demo-agent-note {
    font-size: 11px;
  }
}

.ride-app {
  height: 100%;
  background: white;
  color: #141414;
}
.ride-map {
  height: 43%;
  position: relative;
  overflow: hidden;
}
.ride-map > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ride-status {
  position: absolute;
  top: 8px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
}
.ride-map-back {
  position: absolute;
  top: 33px;
  left: 10px;
  width: 27px;
  height: 27px;
  background: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 25px;
  box-shadow: 0 1px 5px #0001;
}
.ride-destination {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 500;
  padding: 7px 10px;
  background: #fff;
  border-radius: 5px;
  white-space: nowrap;
  box-shadow: 0 1px 5px #0001;
}
.ride-sheet {
  height: 57%;
  border-radius: 17px 17px 0 0;
  background: white;
  margin-top: -12px;
  position: relative;
  padding: 8px 12px 24px;
}
.ride-sheet-handle {
  display: block;
  width: 27px;
  height: 3px;
  border-radius: 3px;
  background: #d7d7d7;
  margin: 0 auto 10px;
}
.platform-landing .ride-sheet h3 {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.ride-destination-note {
  font-size: 10px;
  color: #737373;
  margin: 5px 0 11px;
}
.ride-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 1px solid #242424;
  border-radius: 8px;
  padding: 10px 7px;
  text-align: left;
  background: white;
  color: #141414;
}
.ride-option > svg {
  width: 49px;
  height: 30px;
  flex-shrink: 0;
}
.ride-option strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.ride-option small {
  display: block;
  font-size: 9px;
  color: #6f6f6f;
  margin-top: 3px;
}
.ride-option-arrow {
  margin-left: auto;
  font-size: 20px;
}
.ride-option-selected {
  background: #edf2ed;
}
.ride-alternative {
  padding: 9px 7px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ededed;
  gap: 6px;
  align-items: baseline;
}
.ride-alternative strong {
  font-size: 11px;
  font-weight: 500;
}
.ride-alternative > span {
  font-size: 9px;
  color: #777;
}
.platform-landing .ride-receipt {
  bottom: 20px;
  left: 9px;
  right: 9px;
  font-size: 12px;
  border-radius: 7px;
  padding: 9px;
  box-shadow: 0 2px 12px #0002;
}
.platform-landing .ride-receipt small {
  font-size: 9px;
}
@media (min-width: 1041px) and (max-height: 850px) {
  .ride-map {
    height: 39%;
  }
  .ride-sheet {
    height: 61%;
    padding: 7px 9px 20px;
  }
  .ride-sheet-handle {
    margin-bottom: 8px;
  }
  .platform-landing .ride-sheet h3 {
    font-size: 18px;
  }
  .ride-destination-note {
    margin: 4px 0 8px;
  }
  .ride-option {
    padding: 7px 5px;
    gap: 5px;
  }
  .ride-option > svg {
    width: 40px;
  }
  .ride-alternative {
    padding: 7px 5px;
  }
}

@media (min-width: 1041px) and (max-height: 850px) {
  .platform-landing .hero-phone .result-detail {
    padding: 12px;
  }
  .platform-landing .hero-phone .result-detail > .art-icon {
    height: 84px;
    padding: 10px;
  }
  .platform-landing .hero-phone .result-detail h3 {
    font-size: 17px;
    line-height: 1.2;
    margin-top: 12px;
  }
  .platform-landing .hero-phone .result-detail p {
    font-size: 11px;
    line-height: 1.45;
    margin-top: 8px;
  }
  .platform-landing .hero-phone .detail-back {
    min-height: 32px;
    padding: 8px;
    font-size: 11px;
    margin-top: 12px;
  }
}

/* Open paper and connecting lines replace the gray stage. */
.platform-landing .hero-scene {
  background: transparent;
  border-radius: 0;
}
.platform-landing .hero-scene:after {
  background: linear-gradient(
    180deg,
    var(--paper),
    transparent 15%,
    transparent 82%,
    var(--paper)
  );
}
.platform-landing .dot-field {
  color: var(--ink);
}

.platform-landing .hero-route path {
  stroke: color-mix(in srgb, var(--ink) 55%, transparent);
}
.platform-landing .feature-duo,
.platform-landing .queue-figure,
.platform-landing .state-vault {
  background: none;
}
.platform-landing .state-vault:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    color-mix(in srgb, var(--ink) 25%, transparent) 0.7px,
    transparent 1px
  );
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse, #000, transparent 70%);
}
.platform-landing .trace-output {
  background: var(--paper);
  border: 1px solid var(--line);
}
.platform-landing .trace-list strong {
  font-size: 13px;
}
.platform-landing .trace-list li div > span {
  font-size: 12px;
}
.platform-landing .trace-header,
.platform-landing .trace-header button,
.platform-landing .trace-output small {
  font-size: 12px;
}
.platform-landing .setup-code-heading {
  font-size: 13px;
}
.platform-landing .setup-code-heading .button {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 13px;
  gap: 10px;
}
.platform-landing .setup-code .setup-skill-preview {
  max-width: none;
  margin: 22px 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.015em;
}
@media (max-width: 640px) {
  .platform-landing .setup-code {
    padding: 18px;
  }
  .platform-landing .setup-code .setup-skill-preview {
    font-size: 17px;
  }
  .platform-landing .setup-code-heading {
    gap: 8px;
    font-size: 12px;
  }
  .platform-landing .setup-code-heading .button {
    font-size: 12px;
    padding: 9px 11px;
  }
}

.platform-landing .trace-result-row > span {
  background: #d9f0ef;
  color: #344a4d;
  border-bottom-color: #c5dddd;
}

/* Diagram labels follow the theme; native app thumbnails retain their own light surfaces. */
.platform-landing .trace-list li div > span,
.platform-landing .trace-list li:not(.active):not(.done) strong,
.platform-landing .trace-output small,
.platform-landing .trace-header,
.platform-landing .trace-header button,
.platform-landing .layer-picks small,
.platform-landing .layer-figure figcaption,
.platform-landing .state-figure figcaption,
.platform-landing .trace-figure figcaption,
.platform-landing .queue-figure figcaption,
.platform-landing .task-app div > span,
.platform-landing .task-result {
  color: var(--muted);
}
.platform-landing #trace-output {
  color: var(--ink);
  font-size: 12px;
}
.platform-landing .layer-callout text {
  fill: var(--muted);
}

/* The activity preview keeps readable labels even at intermediate widths. */
.platform-landing .trace-preview {
  width: 136px;
  min-width: 136px;
  max-width: 136px;
}
.platform-landing .trace-result-row > span {
  height: 26px;
  font-size: 12px;
}
.platform-landing .trace-result-row > div {
  gap: 6px;
  padding: 4px 6px;
}
.platform-landing .trace-result-row .art-icon {
  width: 26px;
  height: 34px;
}
.platform-landing .trace-result-row strong {
  font-size: 12px;
}
.platform-landing .trace-result-row i {
  display: none;
}

.platform-landing .hero-route path {
  stroke-dasharray: 1 4;
  stroke-width: 1.2;
}

@media (min-width: 641px) {
  .platform-landing .hero-route {
    display: block;
  }
}

/* Agent identities sit together at the skill entry, without another control panel. */
.platform-landing .hero-actions {
  gap: 12px;
}
.platform-landing .hero-actions .button.secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.platform-landing .hero-actions .button.secondary:hover {
  background: var(--soft);
  filter: none;
}
.copy-skill-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.platform-landing .hero-agent-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.agent-logos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.agent-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 26px;
  color: var(--ink);
}
.agent-mark svg {
  width: 18px;
  height: 18px;
}
.platform-landing .hero-agent-line .hero-copy-hint {
  margin: 0;
}
@media (max-width: 640px) {
  .platform-landing .hero-agent-line {
    gap: 8px;
  }
  .platform-landing .hero-agent-line .hero-copy-hint {
    font-size: 12px;
  }
}

.platform-landing .feature-footnote {
  font-size: 12px;
}
.feature-footnote a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.setup-terminal-note {
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.setup-terminal-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Supporting diagram text follows the page palette in both themes. */
.platform-landing #app-receipt,
.platform-landing .layer-detail > span,
.platform-landing .layer-app-chip.custom,
.platform-landing .layer-file small,
.platform-landing .queue-origin > span:last-of-type {
  color: var(--muted);
}
.platform-landing .layer-detail > div {
  color: var(--ink);
}
.platform-landing .layer-query {
  color: #575757;
}
