/* App guide: photographs/screens retain their source colours and proportions. */
.app-presentation {
  --app-blue: #184a74;
  --app-wash: #edf3f8;
  --app-line: #d2dfe9;
}

.app-presentation .app-intro {
  padding-top: 42px;
  padding-bottom: 36px;
}
.app-presentation .app-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, .75fr);
  grid-template-areas: "copy screen" "support screen";
  grid-template-rows: min-content 1fr;
  gap: 0 56px;
  align-items: start;
}
.app-presentation .app-intro-copy {
  grid-area: copy;
  min-width: 0;
  max-width: 660px;
}
.app-presentation .app-intro-support {
  grid-area: support;
  min-width: 0;
  max-width: 660px;
  padding-top: 25px;
}
.app-presentation .app-intro-copy > .eyebrow {
  color: var(--app-blue);
  margin-bottom: 18px;
}
.app-presentation .app-intro h1 {
  font-size: clamp(40px, 4.7vw, 66px);
  max-width: 11ch;
  line-height: 1.06;
}
.app-presentation .app-intro-copy > .lead {
  max-width: 610px;
  margin-top: 23px;
  font-size: 19px;
  line-height: 1.7;
}
.app-presentation .guide-entry {
  margin-top: 0;
  margin-bottom: 0;
  gap: 16px 24px;
}
.app-presentation .app-screen-intro {
  margin-top: 21px;
  max-width: 580px;
  font-size: 14px;
  line-height: 1.6;
}
.app-presentation .app-visual-note {
  margin-top: 5px;
  max-width: 580px;
  border: 0;
}
.app-presentation .app-visual-note > summary {
  display: list-item;
  list-style: disclosure-closed inside;
  min-height: 44px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  color: var(--app-blue);
}
.app-presentation .app-visual-note[open] > summary {
  list-style-type: disclosure-open;
}
.app-presentation .app-visual-note > p {
  margin-top: 3px;
  padding: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.app-presentation .app-intro-screen {
  grid-area: screen;
  width: 100%;
  max-width: 330px;
  margin: 0;
  justify-self: center;
  align-self: center;
}
.app-presentation .app-intro-screen .app-screen-stage {
  background: var(--app-wash);
  padding: 18px;
  min-height: 0;
  border-color: var(--app-line);
  border-radius: 14px;
}
.app-presentation .app-intro-screen .app-screen-crop {
  max-width: 240px;
  border: 1px solid #c5d4df;
  border-radius: 8px;
}

/* The same three stops are visible in the page navigation and in the content. */
.app-presentation .app-journey {
  margin-top: 32px;
  padding-top: 0;
}
.app-presentation .app-journey > ol {
  background: var(--app-wash);
  border: 1px solid var(--app-line);
  border-radius: 10px;
}
.app-presentation .app-journey li + li {
  border-color: var(--app-line);
}
.app-presentation .app-journey li > a {
  padding: 21px 24px;
  gap: 8px;
}
.app-presentation .app-journey li > a:hover {
  background: #e2edf5;
}
.app-presentation .app-journey .journey-number {
  background: var(--app-blue);
  color: var(--yellow);
  width: 29px;
  height: 29px;
}
.app-presentation .app-journey strong {
  color: var(--app-blue);
  font-size: 21px;
}
.app-presentation .app-journey .journey-arrow {
  color: var(--app-blue);
  right: 21px;
  top: 20px;
}
.app-presentation .app-journey .journey-description {
  font-size: 15px;
  line-height: 1.5;
}
.app-presentation .app-journey-more {
  margin-top: 10px;
  gap: 5px 25px;
}
.app-presentation .app-journey-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}

.app-presentation .app-guide-step {
  padding-top: 42px;
  padding-bottom: 42px;
  border-color: var(--app-line);
}
.app-presentation .app-guide-step > .eyebrow {
  color: var(--app-blue);
  margin-bottom: 13px;
}
.app-presentation .app-guide-step > h2 {
  font-size: clamp(30px, 3.1vw, 42px);
  max-width: 860px;
  margin-bottom: 22px;
}
.app-presentation .app-note {
  background: var(--app-wash);
  border-left-color: var(--app-blue);
  font-size: 15px;
  padding: 17px 20px;
}
.app-presentation .app-screen-stage {
  background: #f0f5f9;
  border-color: var(--app-line);
  padding: 18px;
}
.app-presentation .app-screen-pair {
  max-width: 850px;
  gap: 28px;
  align-items: start;
  margin-top: 26px;
}
.app-presentation .app-screen-overview {
  margin-top: 0;
}
.app-presentation .app-screen-overview .app-screen-stage {
  min-height: 0;
  padding: 20px;
}
.app-presentation .app-screen-overview .app-screen-crop {
  max-width: 240px;
}
.app-presentation .app-metrics {
  gap: 22px;
}
.app-presentation .app-metrics article {
  padding: 25px;
  border-color: var(--app-line);
  border-radius: 10px;
}
.app-presentation .app-metrics h3 {
  font-size: 25px;
  color: var(--app-blue);
}
.app-presentation .app-screen-metric .app-screen-stage {
  min-height: 0;
  height: auto;
  padding: 22px;
}
.app-presentation .app-screen-metric .app-screen-crop {
  max-width: 270px;
  outline-color: var(--yellow);
  outline-width: 2px;
}
.app-presentation .app-screen-single .app-screen-crop {
  max-width: 220px;
}
.app-presentation .app-pause {
  gap: 38px;
  margin-top: 36px;
}

/* A visible qualification stays beside every image; provenance is expandable. */
.app-presentation .app-screen-caption {
  margin-top: 13px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.app-presentation .app-screen-caption-title {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: var(--app-blue);
}
.app-presentation .app-screen-caption-status {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.55;
}
.app-presentation .app-screen-caption-design .app-screen-caption-status {
  display: inline-block;
  padding: 4px 8px;
  background: #fff1ab;
  color: #473700;
  border-radius: 4px;
  font-weight: 700;
}
.app-presentation .app-screen-details {
  border: 0;
  margin-top: 3px;
  padding: 0;
}
.app-presentation .app-screen-details > summary {
  display: list-item;
  list-style: disclosure-closed inside;
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 700;
  color: var(--app-blue);
}
.app-presentation .app-screen-details[open] > summary {
  list-style-type: disclosure-open;
}
.app-presentation .app-screen-details > p {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 3px;
  padding-right: 0;
}
.app-presentation .app-screen-details .app-screen-source {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.55;
  gap: 5px;
  white-space: normal;
}
.app-presentation .app-features {
  gap: 28px;
  margin-top: 26px;
}
.app-presentation .app-features h3 {
  color: var(--app-blue);
  font-size: 24px;
}
.app-presentation .app-questions details {
  border-color: var(--app-line);
}
.app-presentation .topic-next {
  padding-top: 36px;
  padding-bottom: 52px;
}

@media (max-width: 1000px) {
  .app-presentation .app-intro-grid { column-gap: 34px; }
  .app-presentation .app-intro-copy > .lead { font-size: 18px; }
  .app-presentation .app-intro h1 { font-size: 52px; }
  .app-presentation .app-journey li > a { padding: 20px; }
  .app-presentation .app-journey strong { font-size: 20px; }
}

@media (max-width: 760px) {
  .app-presentation .app-intro { padding-top: 30px; padding-bottom: 27px; }
  .app-presentation .app-intro-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "screen" "support"; grid-template-rows: auto; gap: 25px; }
  .app-presentation .app-intro h1 { font-size: 38px; max-width: 100%; }
  .app-presentation .app-intro-copy > .lead { margin-top: 20px; }
  .app-presentation .app-intro-support { padding-top: 0; width: 100%; }
  .app-presentation .app-intro-screen { max-width: 300px; }
  .app-presentation .app-intro-screen .app-screen-crop { max-width: 230px; }
  .app-presentation .app-intro-screen .app-screen-stage { padding: 16px; }
  .app-presentation .app-journey { margin-top: 24px; }
  .app-presentation .app-journey li > a { padding: 19px 17px; }
  .app-presentation .app-journey strong { font-size: 18px; }
  .app-presentation .app-journey .journey-arrow { right: 15px; top: 19px; }
  .app-presentation .app-guide-step { padding-top: 32px; padding-bottom: 32px; }
  .app-presentation .app-pause { gap: 24px; }
}

@media (max-width: 560px) {
  .app-presentation .app-intro-copy > .eyebrow { font-size: 11px; }
  .app-presentation .app-intro h1 { max-width: 100%; font-size: 38px; }
  .app-presentation .app-intro-copy > .lead { font-size: 17px; line-height: 1.7; }
  .app-presentation .guide-entry { align-items: flex-start; gap: 13px 20px; }
  .app-presentation .guide-entry .text-link { min-height: 44px; }
  .app-presentation .app-screen-intro { margin-top: 18px; }
  .app-presentation .app-journey li > a { padding: 18px 21px; }
  .app-presentation .app-journey strong { font-size: 20px; }
  .app-presentation .app-journey .journey-arrow { right: 18px; top: 18px; }
  .app-presentation .app-journey .journey-description { font-size: 14px; }
  .app-presentation .app-screen-pair { gap: 27px; margin-top: 24px; }
  .app-presentation .app-screen-overview { max-width: 340px; }
  .app-presentation .app-screen-overview .app-screen-stage { padding: 18px; }
  .app-presentation .app-screen-metric .app-screen-stage { padding: 20px; }
  .app-presentation .app-screen-metric .app-screen-crop { max-width: 240px; }
  .app-presentation .app-metrics article { padding: 21px; }
  .app-presentation .app-metrics h3 { font-size: 24px; }
  .app-presentation .app-note { padding: 16px 18px; }
  .app-presentation .app-screen-caption-status { font-size: 14px; }
  .app-presentation .app-screen-details > summary { font-size: 14px; }
  .app-presentation .app-screen-details .app-screen-source { font-size: 14px; }
  .app-presentation .app-features { gap: 24px; }
}

@media (max-width: 360px) {
  .app-presentation .app-intro h1 { font-size: 34px; }
  .app-presentation .app-intro-screen .app-screen-crop { max-width: 210px; }
  .app-presentation .app-metrics article { padding: 18px; }
  .app-presentation .app-screen-metric .app-screen-stage { padding: 17px; }
}

/* Match the homepage's photography, typography and primary action. */
.app-presentation .app-intro-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "copy photo";
  grid-template-rows: auto;
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
}
.app-presentation .app-intro h1 {
  max-width: 15ch;
  text-wrap: balance;
}
.app-intro-photo {
  grid-area: photo;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}
.app-download {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 24px;
}
.app-download .text-link {
  min-height: 44px;
  text-decoration: underline;
}
.app-download-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}
.app-route-note {
  margin-top: 22px;
  padding-left: 15px;
  border-left: 3px solid var(--yellow, #f4cc29);
  font-size: 0.94rem;
  line-height: 1.65;
}
.app-presentation .app-journey li > a {
  display: flex;
}
.app-presentation .app-journey > ol {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.app-presentation .app-journey strong {
  padding-right: 0;
}
.app-presentation .app-journey li > a:focus-visible {
  outline-offset: -4px;
}
.app-presentation .app-guide-step > p + .app-metrics {
  margin-top: 24px;
}
.app-presentation .app-pause {
  display: block;
  max-width: 850px;
}
.app-examples {
  margin-top: 24px;
  max-width: 850px;
}
.app-examples > summary {
  display: list-item;
  list-style: disclosure-closed inside;
  padding: 12px 0;
  color: var(--app-blue);
  font-size: 1rem;
}
.app-examples[open] > summary {
  list-style-type: disclosure-open;
}
.app-examples > p {
  padding-bottom: 0;
}
.app-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.app-examples > div {
  padding-bottom: 20px;
}
.app-roadmap {
  margin-block: 16px 40px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: var(--app-wash);
}
.app-roadmap h2 {
  margin-bottom: 26px;
  font-size: clamp(30px, 3.1vw, 42px);
}
.app-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 64px);
}
.app-roadmap-grid > section {
  min-width: 0;
}
.app-roadmap h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}
.app-roadmap .app-trial-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
}
@media (max-width: 700px) {
  .app-presentation .app-intro-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "photo";
  }
  .app-intro-photo {
    max-height: 280px;
  }
  .app-roadmap-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 561px) and (max-width: 900px) {
  .app-presentation .app-journey > ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .app-presentation .app-journey li:nth-child(3) {
    border-left: 0;
  }
  .app-presentation .app-journey li:nth-child(n + 3) {
    border-top: 1px solid var(--app-line);
  }
}
@media (max-width: 560px) {
  .app-presentation .app-journey > ol {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .app-example-grid {
    grid-template-columns: 1fr;
  }
}

.live-demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  max-width: 980px;
}
.live-demo-controls,
.live-demo-view {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 14px;
}
.live-demo-controls {
  border: 1px solid var(--app-line);
  background: var(--app-wash);
}
.live-demo-view {
  background: var(--ink);
  color: var(--white);
}
.live-demo-grid h3 {
  font-size: 1.4rem;
}
.live-demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.live-demo-controls .button {
  min-height: 48px;
  padding: 12px 16px;
  font-size: 1rem;
  text-align: left;
}
.live-demo-controls .button span {
  font-size: 1rem;
  line-height: 1.35;
}
.live-demo-secondary {
  border: 1px solid var(--app-line);
  background: var(--white);
  color: var(--ink);
}
.live-demo-controls .button:disabled {
  color: var(--muted);
  background: var(--app-wash);
  cursor: default;
  transform: none;
}
.live-demo-connection {
  margin-top: 18px;
  border-color: var(--app-line);
}
.live-demo-connection > summary {
  display: list-item;
  list-style: disclosure-closed inside;
  padding: 12px 0;
  font-size: 1rem;
}
.live-demo-connection[open] > summary {
  list-style-type: disclosure-open;
}
.live-demo-connection > p,
.live-demo-connection-status > p {
  padding: 0 0 10px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}
.live-demo-connection-status > p {
  margin-top: 12px;
}
.live-demo-connection[open] {
  padding-bottom: 12px;
}
.live-demo-result {
  margin-top: 22px;
  min-block-size: 6.25rem;
  line-height: 1.45;
}
.live-demo-result p {
  color: #e1edf1;
}
.live-demo[data-state="walking"] .live-demo-result p,
.live-demo[data-state="paused"] .live-demo-result p,
.live-demo[data-state="stale"] .live-demo-result p {
  color: var(--yellow);
  font-weight: 700;
}
.live-demo-result dl {
  margin: 12px 0 0;
}
.live-demo-result dt {
  color: #e1edf1;
  font-size: .95rem;
}
.live-demo-result dd {
  margin: 2px 0 0;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 900;
  line-height: 1.2;
}
@media (max-width: 650px) {
  .live-demo-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .live-demo-view {
    grid-row: 1;
  }
  .live-demo-result,
  .live-demo-actions {
    margin-top: 14px;
  }
}
