/* The lines belong to the app diagram; feature visuals live inside their cards. */
.platform-landing .connected-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  min-height: 310px;
}
.app-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.app-connections path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.4;
}
.app-connections path.is-active {
  stroke: color-mix(in srgb, var(--ink) 45%, transparent);
}
.app-connections circle {
  fill: var(--ink);
}
.beam-agent,
.beam-phone {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  gap: 12px;
  color: var(--ink);
  font-size: 13px;
}
.beam-agent-marks {
  display: grid;
  grid-template-columns: repeat(3, 24px);
  align-items: center;
  justify-items: center;
  gap: 16px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.beam-agent-marks svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.beam-phone-device {
  position: relative;
  display: grid;
  place-items: center;
  width: 142px;
  height: 284px;
  background: linear-gradient(
    135deg,
    #53565a,
    #0b0c0d 25%,
    #171819 75%,
    #505257
  );
  border: 1px solid #3a3c3f;
  border-radius: 26px;
  box-shadow:
    inset 0 0 0 1px #6c6e70,
    0 10px 20px #00000012,
    0 2px 4px #00000020;
}
.beam-phone-device:before,
.beam-phone-device:after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  background: var(--ink);
}
.beam-phone-device:before {
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #161819;
  box-shadow: 0 0 0 1px #303235;
}
.beam-phone-device:after {
  width: 34px;
  height: 3px;
  bottom: 12px;
  background: #202223;
}
.beam-phone-screen {
  position: absolute;
  inset: 5px;
  overflow: hidden;
  border-radius: 20px;
  background: white;
}
.beam-phone-screen > svg {
  display: block;
  width: 100%;
  height: 100%;
}
.beam-phone-side:before,
.beam-phone-side:after {
  content: "";
  position: absolute;
  width: 2px;
  background: #4a4c4f;
  border-radius: 2px;
}
.beam-phone-side:before {
  left: -2px;
  top: 52px;
  height: 31px;
}
.beam-phone-side:after {
  right: -2px;
  top: 60px;
  height: 22px;
}
.beam-phone small {
  margin-top: -8px;
  font-size: 11px;
  color: var(--muted);
}
.platform-landing .connected-stage .app-library-track {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 230px;
  justify-self: center;
  gap: 12px;
  border: none;
}
.platform-landing .connected-stage .app-tile {
  display: grid;
  grid-template-columns: 32px 1fr 16px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 3px;
  min-height: 74px;
  height: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.platform-landing .connected-stage .app-tile[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--ink) 60%, transparent);
  box-shadow: 0 3px 10px #00000005;
}
.platform-landing
  .connected-stage
  .app-tile
  > :is(.art-icon, .custom-app-icon) {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 32px;
  height: 32px;
  margin: 0;
}
.platform-landing .connected-stage .app-tile strong {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 14px;
}
.platform-landing .connected-stage .app-tile > span:not(.custom-app-icon) {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 11px;
}
.platform-landing .connected-stage .app-tile > i {
  position: static;
  grid-column: 3;
  grid-row: 1 / 3;
  margin: 0;
  font-size: 15px;
}
.platform-landing .connected-stage .custom-app-icon {
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}
.platform-landing .app-library .app-rail {
  padding-top: 12px;
  height: 46px;
}
.platform-landing .app-library .rail-track {
  display: none;
}
.platform-landing .app-library .app-launch-receipt {
  position: static;
  transform: none;
}
.platform-landing .app-library .app-rail {
  display: flex;
  align-items: center;
  justify-content: center;
}
.platform-landing .feature-duo {
  gap: 18px;
  padding: 30px 0 0;
  background: none;
}
.platform-landing .feature-duo > section {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.platform-landing .feature-duo .duo-copy h2 {
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: -0.035em;
}
.platform-landing .feature-duo .duo-copy p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 390px;
  margin-top: 16px;
}
.platform-landing .feature-duo .state-figure,
.platform-landing .feature-duo .trace-figure {
  margin-top: 24px;
  height: auto;
}
.platform-landing .feature-duo :is(.state-figure, .trace-figure) figcaption {
  position: static;
  margin-top: 14px;
}
.platform-landing .feature-duo .saved-work {
  max-width: 100%;
}
.platform-landing .feature-duo .state-vault {
  height: 230px;
}
.platform-landing .feature-duo .vault-orbit {
  display: none;
}
.platform-landing .feature-duo .trace-list li {
  height: 62px;
}
.platform-landing .feature-duo .trace-output {
  height: 74px;
}
.platform-landing .feature-duo .feature-footnote {
  font-size: 10px;
  margin-top: 14px;
}
.platform-landing .parallel-section {
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.platform-landing .parallel-section .section-heading h2 {
  font-size: 34px;
}
.platform-landing .parallel-section .section-heading p {
  font-size: 14px;
}
.platform-landing .parallel-section .queue-figure {
  margin-top: 16px;
}
@media (max-width: 640px) {
  .platform-landing .connected-stage {
    grid-template-columns: 1fr 1fr;
    gap: 28px 12px;
    min-height: 0;
    padding: 10px 0;
  }
  .beam-agent {
    grid-column: 1;
    grid-row: 1;
  }
  .beam-phone {
    grid-column: 2;
    grid-row: 1;
  }
  .platform-landing .connected-stage .app-library-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    gap: 10px;
  }
  .platform-landing .connected-stage .app-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    min-height: 96px;
  }
  .platform-landing .connected-stage .app-tile strong {
    font-size: 13px;
  }
  .platform-landing .connected-stage .app-tile > span:not(.custom-app-icon),
  .platform-landing .connected-stage .app-tile > i {
    display: none;
  }
  .platform-landing .feature-duo {
    gap: 16px;
    padding-top: 20px;
  }
  .platform-landing :is(.feature-duo, .parallel-section) {
    max-width: calc(100% - 44px);
  }
  .platform-landing .feature-duo > section {
    padding: 22px;
  }
  .platform-landing .feature-duo .duo-copy h2 {
    font-size: 30px;
  }
  .platform-landing .feature-duo .state-vault {
    height: 220px;
  }
  .platform-landing .feature-duo .trace-preview {
    min-width: 110px;
    width: 110px;
    max-width: 110px;
  }
  .platform-landing .feature-duo .trace-output {
    height: auto;
    min-height: 86px;
  }
  .platform-landing .feature-duo .trace-output > div:not(.trace-preview) {
    min-width: 0;
    flex: 1;
  }
  .platform-landing .parallel-section {
    padding: 22px;
    margin-top: 16px;
  }
  .platform-landing .parallel-section .section-heading h2 {
    font-size: 30px;
  }
}
@media (max-width: 360px) {
  .beam-phone-device {
    width: 126px;
    height: 252px;
    border-radius: 24px;
  }
  .beam-phone-screen {
    border-radius: 18px;
  }
}
