/* Shared structure for the public product pages. */
.product-page {
  --chapter-space: clamp(3.25rem, 6.5vw, 6.5rem);
}
.product-page .product-stage {
  color: inherit;
  font-size: .9rem;
  margin: 0 0 1rem;
}
.product-page .platform-hero .platform-hero-lede,
.product-page .mv-hero .rebrand-hero-lede {
  max-width: 39ch;
  margin-block: 1rem 1.5rem;
  text-wrap: pretty;
}
.product-page .platform-hero-copy,
.product-page .mv-hero > .wrap {
  text-align: start;
}
.product-page .product-chapter {
  padding-block: var(--chapter-space);
  border-bottom: 1px solid var(--brand-line);
  color: var(--brand-ink);
  background: var(--brand-page);
}
.product-page .product-split {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr);
  gap: clamp(1.75rem, 6vw, 6rem);
  align-items: start;
}
.product-page .product-heading {
  font-size: clamp(2.1rem, 4.4vw, 4.5rem);
  letter-spacing: -.045em;
  line-height: 1.07;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
html[dir="rtl"] .product-page .product-heading {letter-spacing: normal}
.product-page .product-count {
  margin: .8rem 0 0;
  color: var(--brand-muted);
  max-width: 34ch;
}
.product-page .product-row {
  border-block-start: 1px solid var(--brand-line);
}
.product-page .product-row:last-child {
  border-block-end: 1px solid var(--brand-line);
}
.product-page .product-row > summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.3rem;
  cursor: pointer;
  padding: 1.1rem .15rem;
  color: var(--brand-ink);
  font-family: inherit;
}
.product-page .product-row > summary::-webkit-details-marker {display:none}
.product-page .product-row > summary::after {
  content: '+';
  font: 400 1.35rem/1 system-ui, sans-serif;
}
.product-page .product-row[open] > summary::after {content:'−'}
.product-page .product-row > summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.product-page .product-row > summary:hover > :first-child {
  text-decoration: underline;
  text-underline-offset: .2em;
}
.product-page .row-name {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.3;
  font-weight: 500;
}
.product-page .row-body {
  padding: .45rem 0 2rem;
  scroll-margin-top: 9rem;
}
.product-page .row-body > :first-child {margin-block-start:0}
.product-page .row-body > p {max-width:66ch}
.product-page .module-body {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 3rem);
}
.product-page .module-body img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.product-page .module-body dl {margin:0; display:grid; gap:1em}
.product-page .module-body dd {margin: .25rem 0 0}
.product-page .module-body dt {font-weight:600}
.product-page .product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items:center;
  gap: clamp(1.5rem, 6vw, 6rem);
}
.product-page .product-feature > .rebrand-film {
  width:100%; margin:0; aspect-ratio:4/3; position:relative; overflow:hidden;
}
.product-page .product-feature > .rebrand-film :is(img,video) {
  position:absolute; inset:0; width:100%;height:100%;object-fit:cover;
}
.product-page .product-note {font-size: .9rem; color: var(--brand-muted); margin:0 0 .85rem}
.product-page .product-outcome {font-size: clamp(1.15rem, 2vw, 1.75rem); margin:1.15rem 0 2rem;line-height:1.3}
.product-page .product-contact a {display:inline-flex; gap:1rem; align-items:center; min-height:44px; margin-top:1rem}
.product-page .product-example {margin-top:1.75rem}
.product-page .row-body :is(.mv-intro,.mv-heading,.evidence-review,.mv-split) {margin-block:1rem}
.product-page .row-body .rebrand-film {max-width:100%}
.product-page .row-body .rebrand-film img {object-fit:cover}
.product-page .row-body .evidence-records {margin:0}
.product-page .row-body .platform-story-rows,.product-page .row-body .product-proof {margin-block:1rem}
.product-page .product-chapter summary,.product-page .product-chapter [id] {scroll-margin-top:6rem}
@media (max-width:880px) {
  .product-page .product-split,.product-page .product-feature {grid-template-columns:1fr}
  .product-page .product-feature > .rebrand-film {aspect-ratio:16/10}
}
@media (max-width:600px) {
  .product-page .module-body {grid-template-columns:1fr}
  .product-page .module-body img {max-height:13rem}
}
@media (max-width: 700px) {
  body.fd-page .product-page #business-example .product-feature > .rebrand-film {
    padding: 0;
    margin-block-end: 2.8rem;
    aspect-ratio: 4 / 3;
    background: #171a1c;
    overflow: visible;
  }
  body.fd-page .product-page #business-example .product-feature > .rebrand-film :is(video,.film-poster,.film-loop-frame) {
    height: 100%;
    width: 100%;
  }
  body.fd-page .product-page #business-example .product-feature .mv-film-control {
    bottom: -2.7rem;
  }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  body.fd-page .product-page #business-example .product-feature > .rebrand-film {
    margin-block-end: 0;
  }
}

/* Hash targets and films inside a chapter need their final position as it opens. */
body .product-page details.product-row::details-content {
  transition: none;
}

.product-page .example-decision {
  max-width: 48ch;
  margin: 1.1rem 0 0;
  color: var(--brand-secondary);
  line-height: 1.5;
}
.product-page .example-workflows > .rebrand-link {
  justify-self: start;
  margin-top: 1.25rem;
}
.arrival-scenario{margin:1.6rem 0;padding-block:1.2rem;border-block:1px solid var(--brand-line);color:var(--brand-ink);--arrival-pos:66.6667%}
.arrival-scenario figcaption{font-size:.9rem;color:var(--brand-muted);margin-bottom:.85rem}
.scenario-field{display:flex;gap:1rem;justify-content:space-between;align-items:baseline}
.arrival-scenario input{display:block;width:100%;height:44px;accent-color:#398d79;cursor:pointer;direction:ltr}
.scenario-depart,.scenario-arrive{font-variant-numeric:tabular-nums}
.scenario-axis{direction:ltr;position:relative;margin:1rem 5px .15rem;height:12px;background:var(--brand-line);border-radius:10px}
.scenario-axis::before{content:'';position:absolute;inset:0 33.3333% 0 0;border-radius:10px;background:#458e80}
.scenario-axis::after{content:'';position:absolute;top:50%;left:var(--arrival-pos);width:14px;height:14px;border:2px solid var(--brand-page);background:var(--brand-ink);border-radius:50%;transform:translate(-50%,-50%)}
.scenario-scale{direction:ltr;position:relative;height:1.7rem;color:var(--brand-muted);font: .78rem/1.4 system-ui}
.scenario-scale span{position:absolute;top:0}.scenario-scale span:nth-child(2){left:66.6667%;transform:translateX(-50%)}.scenario-scale span:last-child{right:0}
.arrival-scenario output{display:block;line-height:1.5}
.arrival-scenario input:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(prefers-reduced-motion:no-preference){.scenario-axis::after{transition:left .2s ease-out}}
