/* Generated by tools/build.py from the client's site-robotics-software.css, every rule scoped under .sr-page. Do not edit. */
/* ==========================================================================
   SITE Robotics: Software page components
   Loaded after the unchanged homepage stylesheet (site-robotics-home.css),
   which supplies tokens, type, buttons, header, footer, hero, bands,
   centred introductions, the yellow rule, the workflow partitions and the
   closing band. Hero title, steps and card patterns follow the Company page.
   ========================================================================== */

.sr-page .sr-dark .sr-section-head p { color: #CFCFD3; }

/* Header: five navigation items need a little less spacing on smaller
   desktops so the row never overflows (the menu button takes over below
   1024px, as on every page). */
@media (min-width: 1024px) and (max-width: 1279px) {
  .sr-page .sr-nav { gap: 20px; }
  .sr-page .sr-nav__list { gap: 18px; }
  .sr-page .sr-nav .sr-btn { padding-inline: 20px; white-space: nowrap; }
}

/* 1. Hero ------------------------------------------------------------------
   Page name as the main heading (small yellow label) with a large headline,
   as on the Company page. The interface screenshot is shown whole in a
   framed panel inside the container, never faded or cropped. */
.sr-page .sr-hero .sr-hero__title {
  font-size: var(--sr-label);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sr-yellow);
}
.sr-page .sr-hero__headline {
  font-size: clamp(2.125rem, 1.35rem + 2.3vw, 3.25rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--sr-on-dark);
  text-wrap: balance;
}
.sr-page .sr-hero__headline .sr-hero__line--accent { display: block; color: var(--sr-yellow); }
.sr-page .sr-hero--software .sr-hero__copy { display: grid; gap: 20px; }
.sr-page .sr-hero--software .sr-hero__inner { gap: 36px; padding-bottom: clamp(40px, 5vw, 64px); }

/* Screenshot panel, shared by the hero and the example mission */
.sr-page .sr-shot { display: grid; gap: 10px; min-width: 0; }
.sr-page .sr-shot__frame {
  padding: 6px;
  background: var(--sr-ink-soft);
  border: 1px solid var(--sr-line-dark);
}
.sr-page .sr-shot__frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.sr-page .sr-shot__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--sr-on-dark-muted);
}
.sr-page .sr-shot__caption--light { color: var(--sr-muted); }

/* Enlarge control: a real link to the full-size file, upgraded to a viewer */
.sr-page .sr-zoom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 2px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--sr-yellow);
  text-decoration: none;
}
.sr-page .sr-zoom .sr-icon { width: 16px; height: 16px; }
.sr-page .sr-zoom:hover { text-decoration: underline; text-underline-offset: 3px; }
.sr-page .sr-shot__caption--light .sr-zoom { color: var(--sr-ink); }
.sr-page .sr-shot__caption--light .sr-zoom .sr-icon { color: var(--sr-yellow-deep); }

@media (min-width: 1180px) {
  .sr-page .sr-hero--software { min-height: 0; display: block; }
  .sr-page .sr-hero--software .sr-hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: clamp(32px, 3.5vw, 56px);
    padding-block: 64px;
  }
}

/* 2. Two offerings: two equal cards ---------------------------------------- */
.sr-page .sr-options__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(32px, 4vw, 48px);
}
.sr-page .sr-option {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--sr-paper);
  border-top: 3px solid var(--sr-yellow);
}
.sr-page .sr-option__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sr-page .sr-option__badge {
  padding: 4px 10px;
  font-size: var(--sr-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sr-ink);
  background: var(--sr-yellow);
}
.sr-page .sr-option__top .sr-icon { width: 32px; height: 32px; color: var(--sr-ink); }
.sr-page .sr-option h3 { font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem); line-height: 1.2; }
.sr-page .sr-option > p { color: var(--sr-muted); }
.sr-page .sr-option .sr-btn { margin-top: auto; align-self: flex-start; }

.sr-page .sr-points { display: grid; gap: 10px; padding: 4px 0 8px; border-top: 1px solid var(--sr-line); padding-top: 18px; }
.sr-page .sr-points li { position: relative; padding-left: 22px; color: var(--sr-text); }
.sr-page .sr-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--sr-yellow);
}

/* 3. Workflow: stage explorer ---------------------------------------------
   Without JavaScript the three stages stack, each with its own visual.
   Enhanced: three stage tabs above one shared panel area. Panels sit in
   the same grid cell, so the area keeps the height of the tallest stage
   and selecting a stage does not make the page jump. */
.sr-page .sr-stages { margin-top: clamp(32px, 4vw, 48px); }
.sr-page .sr-tabs__hint { margin-bottom: 14px; font-size: var(--sr-small); color: var(--sr-muted); text-align: center; }
.sr-page .sr-stages__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--sr-line);
}
.sr-page .sr-stages__tab {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 44px;
  padding: 18px clamp(14px, 2vw, 28px) 18px;
  font: 600 clamp(1.0625rem, 0.95rem + 0.4vw, 1.3125rem)/1.25 var(--sr-font);
  color: var(--sr-muted);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--sr-line);
  cursor: pointer;
}
.sr-page .sr-stages__tab + .sr-stages__tab { border-left: 1px solid var(--sr-line); }
.sr-page .sr-stages__num {
  font-size: var(--sr-label);
  letter-spacing: 0.12em;
  color: #6E5E05;
  font-variant-numeric: tabular-nums;
}
/* Hover: text darkens and a thin rule appears. Selected: ink text on
   the grey panel colour with a thick yellow top bar, joined to the panel. */
.sr-page .sr-stages__tab:hover { color: var(--sr-ink); box-shadow: inset 0 2px 0 var(--sr-line); }
.sr-page .sr-stages__tab[aria-selected="true"] {
  color: var(--sr-ink);
  background: var(--sr-paper-grey);
  border-bottom-color: var(--sr-paper-grey);
  box-shadow: inset 0 4px 0 var(--sr-yellow);
}
.sr-page .sr-stages__tab:focus-visible { outline: 3px solid var(--sr-ink); outline-offset: -3px; }

.sr-page .sr-stage {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  padding: clamp(24px, 3vw, 40px);
  background: var(--sr-paper-grey);
}
.sr-page .sr-stage + .sr-stage { margin-top: 16px; }
.sr-page .sr-stage__text { display: grid; gap: 10px; align-content: start; }
.sr-page .sr-stage__num {
  font-size: var(--sr-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6E5E05;   /* deep yellow, darkened to pass 4.5:1 on the grey panel */
}
.sr-page .sr-stage h3 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.2; }
.sr-page .sr-stage__text p:not(.sr-stage__num) { color: var(--sr-text); }
.sr-page .sr-stage__text .sr-stage__note { font-size: var(--sr-small); color: var(--sr-muted); }
.sr-page .sr-stage__visual { display: grid; gap: 10px; min-width: 0; }
.sr-page .sr-stage .sr-shot__frame { background: var(--sr-paper); border-color: var(--sr-line); }
.sr-page .sr-stage .sr-media__toggle { color: var(--sr-on-dark); background: var(--sr-ink); }
.sr-page .sr-stage:focus-visible { outline: 3px solid var(--sr-ink); outline-offset: 3px; }

.sr-page .sr-tabs.is-enhanced .sr-tabs__panels { display: grid; }
.sr-page .sr-tabs.is-enhanced [data-sr-panel] { grid-area: 1 / 1; }
.sr-page .sr-tabs.is-enhanced [data-sr-panel][hidden] { display: grid; visibility: hidden; }
.sr-page .sr-stages.is-enhanced .sr-stage + .sr-stage { margin-top: 0; }

/* Illustrative configuration schematic (HTML and CSS, not a screenshot) */
.sr-page .sr-config {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(var(--sr-line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--sr-line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--sr-paper);
  border: 1px solid var(--sr-line);
  overflow: hidden;
}
.sr-page .sr-config__route {
  position: absolute;
  left: 12%; top: 18%; width: 56%; height: 62%;
  border: 3px dashed var(--sr-ink);
}
.sr-page .sr-config__tag {
  position: absolute;
  left: 12%; top: calc(18% - 30px);
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sr-ink);
  background: var(--sr-paper);
  border: 1px solid var(--sr-line);
}
.sr-page .sr-config__point {
  position: absolute;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--sr-ink);
  background: var(--sr-yellow);
  border: 2px solid var(--sr-ink);
}
.sr-page .sr-config__point--1 { left: 12%; top: 62%; }
.sr-page .sr-config__point--2 { left: 40%; top: 18%; }
.sr-page .sr-config__point--3 { left: 68%; top: 55%; }
.sr-page .sr-config__link {
  position: absolute;
  left: calc(40% + 17px); top: 18%;
  width: calc(73% - 40% - 17px);
  height: 2px;
  background: #6E5E05;
}
.sr-page .sr-config__task {
  position: absolute;
  left: 73%; top: 8%;
  width: 24%;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  background: var(--sr-paper);
  border: 1px solid var(--sr-line);
  border-top: 3px solid var(--sr-yellow);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.25);
}
.sr-page .sr-config__task-label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sr-muted); }
.sr-page .sr-config__task-title { font-size: 0.9375rem; font-weight: 600; color: var(--sr-ink); }
.sr-page .sr-config__task-text { font-size: 0.75rem; line-height: 1.4; color: var(--sr-text); }

.sr-page .sr-findings__control--light { color: var(--sr-ink); }
.sr-page .sr-findings__control--light .sr-icon { color: var(--sr-ink); }

/* 4. Platform diagram -------------------------------------------------------
   Desktop: three columns joined by two-way yellow links.
   Below 900px: the same order top to bottom with vertical links. */
.sr-page .sr-arch { margin-top: clamp(32px, 4vw, 48px); }
.sr-page .sr-arch__label {
  margin-bottom: 18px;
  font-size: var(--sr-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sr-on-dark-muted);
  text-align: center;
}
.sr-page .sr-arch__diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr);
  align-items: stretch;
}
.sr-page .sr-arch__group { display: grid; grid-template-rows: auto 1fr; gap: 10px; }
.sr-page .sr-arch__zone {
  font-size: var(--sr-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sr-yellow);
}
.sr-page .sr-arch__stack { display: grid; gap: 12px; }
.sr-page .sr-arch__part {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid var(--sr-line-dark);
  border-left: 3px solid var(--sr-yellow);
  background: rgba(255, 255, 255, 0.03);
}
.sr-page .sr-arch__part { position: relative; }
.sr-page .sr-arch__part h3 { font-size: 1.125rem; line-height: 1.3; }
.sr-page .sr-arch__part p { color: #CFCFD3; }
.sr-page .sr-arch__hint { margin: -6px 0 16px; font-size: var(--sr-small); color: var(--sr-on-dark-muted); text-align: center; }

/* Enhanced: the title is a button stretched over the whole card.
   Hover: lighter border. Selected: yellow fill on the left edge, tinted
   card and a "Selected" tag. Focus: white outline around the card. */
.sr-page .sr-arch__button {
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}
.sr-page .sr-arch__button::after { content: ""; position: absolute; inset: 0; }
.sr-page .sr-arch__button:focus-visible { outline: none; }
.sr-page .sr-arch__part:has(.sr-arch__button:focus-visible) { outline: 3px solid var(--sr-on-dark); outline-offset: 3px; }
.sr-page .sr-arch.is-enhanced .sr-arch__part:hover { border-color: rgba(255, 255, 255, 0.42); border-left-color: var(--sr-yellow); }
.sr-page .sr-arch__part.is-selected {
  background: rgba(244, 215, 44, 0.12);
  border-color: rgba(244, 215, 44, 0.55);
  border-left: 8px solid var(--sr-yellow);
  padding-left: 17px;
}
.sr-page .sr-arch__part.is-selected::before {
  content: "Selected";
  position: absolute;
  top: -10px; right: 10px;
  padding: 2px 7px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sr-ink);
  background: var(--sr-yellow);
}
/* Links that touch the selected component stay bright; others dim */
.sr-page .sr-arch.is-enhanced .sr-arch__link { opacity: 0.35; transition: opacity 0.15s ease; }
.sr-page .sr-arch__diagram[data-selected="robot"] .sr-arch__link--a, .sr-page .sr-arch__diagram[data-selected="sensing"] .sr-arch__link--a, .sr-page .sr-arch__diagram[data-selected="platform"] .sr-arch__link, .sr-page .sr-arch__diagram[data-selected="operator"] .sr-arch__link--b { opacity: 1 !important; }

/* Shared detail panel */
.sr-page .sr-arch__detail {
  margin-top: 24px;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--sr-line-dark);
  border-top: 3px solid var(--sr-yellow);
  background: rgba(255, 255, 255, 0.03);
}
.sr-page .sr-arch__detail-label {
  margin-bottom: 12px;
  font-size: var(--sr-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sr-on-dark-muted);
}
.sr-page .sr-arch__detail-list { display: grid; gap: 22px; }
.sr-page .sr-arch.is-enhanced .sr-arch__detail-list { gap: 0; }
.sr-page .sr-arch.is-enhanced .sr-arch__item { grid-area: 1 / 1; }
.sr-page .sr-arch.is-enhanced .sr-arch__item[hidden] { display: block; visibility: hidden; }
.sr-page .sr-arch__item-name { margin-bottom: 10px; font-size: 1.25rem; font-weight: 600; color: var(--sr-on-dark); }
.sr-page .sr-arch__item dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.sr-page .sr-arch__item dt { margin-bottom: 4px; font-size: var(--sr-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sr-yellow); }
.sr-page .sr-arch__item dd { color: #CFCFD3; }

/* Two-way link: a yellow line with an arrow head at each end */
.sr-page .sr-arch__link { position: relative; align-self: center; height: 14px; margin-top: 30px; }
.sr-page .sr-arch__link::before {
  content: "";
  position: absolute;
  left: 10px; right: 10px; top: 6px;
  height: 2px;
  background: var(--sr-yellow);
}
.sr-page .sr-arch__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 60deg at 0 50%, var(--sr-yellow) 0 60deg, transparent 60deg) left center / 12px 14px no-repeat,
    conic-gradient(from 240deg at 100% 50%, var(--sr-yellow) 0 60deg, transparent 60deg) right center / 12px 14px no-repeat;
}
.sr-page .sr-arch__note {
  max-width: 44rem;
  margin: clamp(28px, 3vw, 40px) auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--sr-line-dark);
  color: #CFCFD3;
  text-align: center;
  text-wrap: balance;
}

/* 5. Mobile: phone screenshot beside the feature explorer ---------------- */
.sr-page .sr-mobile__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1040px;
  margin: clamp(32px, 4vw, 48px) auto 0;
}
.sr-page .sr-mobile__media { display: grid; gap: 12px; justify-items: center; text-align: center; }
/* The supplied visual has a pale blue ground: show it as a deliberate
   panel so the edge of the image reads as intended. */
.sr-page .sr-phone-panel { width: 100%; max-width: 380px; padding: 12px 20px; background: #EAEFF5; }
.sr-page .sr-phone { position: relative; max-width: 340px; margin-inline: auto; }
.sr-page .sr-phone img { display: block; width: 100%; height: auto; object-fit: contain; }

/* Highlights: outline boxes drawn just outside each interface area, in
   percentages of the image, so they stay aligned at every size and never
   sit on top of interface text. Shown only for the selected feature. */
.sr-page .sr-hl {
  position: absolute;
  display: none;
  pointer-events: none;
  outline: 3px solid var(--sr-yellow);
  box-shadow: 0 0 0 5px rgba(11, 11, 12, 0.85);
  outline-offset: 0;
}
.sr-page .sr-hl--status { left: 15.2%; top: 12.6%; width: 69.6%; height: 23.6%; }
.sr-page .sr-hl--selector { left: 15.2%; top: 36.6%; width: 69.6%; height: 4.5%; }
.sr-page .sr-hl--camera { left: 15.2%; top: 41.5%; width: 69.6%; height: 32.6%; }
.sr-page .sr-hl--findings { left: 66.0%; top: 36.9%; width: 18.0%; height: 4.0%; }
.sr-page .sr-hl--exceptions { left: 33.4%; top: 86.1%; width: 15.6%; height: 6.6%; }
.sr-page .sr-phone[data-focus="sr-mob-1"] [data-for="sr-mob-1"], .sr-page .sr-phone[data-focus="sr-mob-2"] [data-for="sr-mob-2"], .sr-page .sr-phone[data-focus="sr-mob-3"] [data-for="sr-mob-3"] { display: block; }

.sr-page .sr-mobile__explorer { display: grid; gap: 14px; align-content: start; }
.sr-page .sr-mobile__explorer .sr-tabs__hint { margin: 0; text-align: left; }
.sr-page .sr-mobile__tabs { display: flex; flex-direction: column; gap: 8px; }
.sr-page .sr-mobile__tab {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 12px 18px;
  font: 600 1.0625rem/1.3 var(--sr-font);
  color: var(--sr-ink);
  text-align: left;
  background: var(--sr-paper);
  border: 1px solid var(--sr-line);
  border-left: 4px solid transparent;
  cursor: pointer;
}
.sr-page .sr-mobile__tab .sr-icon { width: 24px; height: 24px; color: var(--sr-ink); }
.sr-page .sr-mobile__tab:hover { border-color: var(--sr-ink); border-left-color: var(--sr-ink); }
.sr-page .sr-mobile__tab[aria-selected="true"] {
  background: var(--sr-ink);
  color: var(--sr-on-dark);
  border-color: var(--sr-ink);
  border-left-color: var(--sr-yellow);
}
.sr-page .sr-mobile__tab[aria-selected="true"] .sr-icon { color: var(--sr-yellow); }
.sr-page .sr-mobile__tab:focus-visible { outline: 3px solid var(--sr-ink); outline-offset: 3px; }

.sr-page .sr-feature {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px 24px;
  background: var(--sr-paper);
  border-top: 3px solid var(--sr-yellow);
}
.sr-page .sr-feature + .sr-feature { margin-top: 14px; }
.sr-page .sr-tabs.is-enhanced .sr-feature + .sr-feature { margin-top: 0; }
/* Desktop: the phone sets the section height, so each feature panel can
   take its natural height without moving anything else on the page */
@media (min-width: 900px) {
  .sr-page .sr-mobile__layout.is-enhanced .sr-tabs__panels { display: block; }
  .sr-page .sr-mobile__layout.is-enhanced .sr-feature[hidden] { display: none; }
  .sr-page .sr-mobile__layout { align-items: start; }
  .sr-page .sr-mobile__explorer { padding-top: clamp(0px, 4vw, 48px); }
}
.sr-page .sr-feature h3 { font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem); line-height: 1.25; }
.sr-page .sr-feature p { color: var(--sr-text); }
.sr-page .sr-feature .sr-feature__shown { font-size: var(--sr-small); color: var(--sr-muted); }
.sr-page .sr-feature:focus-visible { outline: 3px solid var(--sr-ink); outline-offset: 3px; }
/* Enlarged crops of the same screenshot: shown on small screens, where
   the phone sits further down the page */
.sr-page .sr-feature__crop { display: none; justify-self: start; align-self: start; width: auto; max-width: 100%; height: auto; outline: 1px solid var(--sr-line); }
.sr-page .sr-feature__crops { display: grid; gap: 8px; }
.sr-page .sr-review { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--sr-line); }
.sr-page .sr-review__label { margin-bottom: 8px; font-size: var(--sr-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #6E5E05; }
.sr-page .sr-review__list { display: grid; gap: 6px; counter-reset: sr-review; }
.sr-page .sr-review__list li { position: relative; padding-left: 34px; counter-increment: sr-review; color: var(--sr-text); }
.sr-page .sr-review__list li::before {
  content: counter(sr-review);
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sr-ink);
  background: var(--sr-yellow);
}

/* 6. Integration: steps (Company pattern) beside the photograph ------------ */
.sr-page .sr-integration__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(32px, 4vw, 48px);
}
.sr-page .sr-integration__body { display: grid; gap: 8px; justify-items: start; }
.sr-page .sr-steps { display: grid; gap: 0; }
.sr-page .sr-steps__item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 26px;
}
.sr-page .sr-steps__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 4px;
  width: 2px;
  background: var(--sr-yellow);
}
.sr-page .sr-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--sr-yellow);
}
.sr-page .sr-steps__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--sr-ink);
  background: var(--sr-yellow);
  font-variant-numeric: tabular-nums;
}
.sr-page .sr-steps h3 { font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem); line-height: 1.2; margin: 10px 0 6px; }
.sr-page .sr-steps p { color: var(--sr-muted); max-width: 32rem; }

.sr-page .sr-integration__media { display: grid; gap: 10px; }
.sr-page .sr-integration__media img { width: 100%; height: auto; aspect-ratio: 1536 / 960; object-fit: cover; }

/* 7. Closing band: two buttons -------------------------------------------- */
.sr-page .sr-pilot__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Image viewer -------------------------------------------------------------- */
.sr-page .sr-viewer {
  width: min(1400px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  font-family: var(--sr-font);
  background: var(--sr-ink);
  color: var(--sr-on-dark);
}
.sr-page .sr-viewer::backdrop { background: rgba(11, 11, 12, 0.82); }
.sr-page .sr-viewer[open] { display: flex; flex-direction: column; }
.sr-page .sr-viewer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 18px;
  border-bottom: 1px solid var(--sr-line-dark);
}
.sr-page .sr-viewer__title { font-size: 0.875rem; color: var(--sr-on-dark-muted); }
.sr-page .sr-viewer__close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  font: 600 0.9375rem/1 var(--sr-font);
  color: var(--sr-ink);
  background: var(--sr-yellow);
  border: 0;
  cursor: pointer;
}
.sr-page .sr-viewer__close .sr-icon { width: 16px; height: 16px; }
.sr-page .sr-viewer :focus-visible { outline: 3px solid var(--sr-on-dark); outline-offset: 3px; }
.sr-page .sr-viewer__frame { overflow: auto; padding: 12px; }
.sr-page .sr-viewer__frame:focus-visible { outline: 2px solid var(--sr-yellow); outline-offset: -2px; }
.sr-page .sr-viewer__img { display: block; width: 100%; height: auto; max-height: calc(100vh - 120px); object-fit: contain; }
:root.sr-viewer-open { overflow: hidden; }
/* Small screens: show the screenshot at its full width and let it scroll */
@media (max-width: 899px) {
  .sr-page .sr-viewer { width: 100vw; max-height: 100vh; height: 100vh; }
  .sr-page .sr-viewer__frame { flex: 1; }
  .sr-page .sr-viewer__img { width: auto; max-width: none; max-height: none; height: min(calc(100vh - 100px), 754px); }
}

/* Tablet ------------------------------------------------------------------- */
@media (max-width: 1179px) {
  .sr-page .sr-integration__layout { grid-template-columns: minmax(0, 1fr); }
  .sr-page .sr-integration__media { order: -1; max-width: 760px; width: 100%; margin-inline: auto; }
  .sr-page .sr-integration__body { max-width: 640px; width: 100%; margin-inline: auto; }
}

/* Phone and small tablet --------------------------------------------------- */
@media (max-width: 899px) {
  .sr-page .sr-options__grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .sr-page .sr-stage { grid-template-columns: minmax(0, 1fr); }
  .sr-page .sr-arch__item dl { grid-template-columns: minmax(0, 1fr); }
  .sr-page .sr-arch__detail { max-width: 560px; margin-inline: auto; }

  .sr-page .sr-arch__diagram { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .sr-page .sr-arch__group { grid-template-rows: none; }
  .sr-page .sr-arch__zone[aria-hidden="true"] { display: none; }
  .sr-page .sr-arch__link { justify-self: center; width: 14px; height: 48px; margin: 6px 0; }
  .sr-page .sr-arch__link::before { left: 6px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .sr-page .sr-arch__link::after {
    background:
      conic-gradient(from 150deg at 50% 0, var(--sr-yellow) 0 60deg, transparent 60deg) center top / 14px 12px no-repeat,
      conic-gradient(from 330deg at 50% 100%, var(--sr-yellow) 0 60deg, transparent 60deg) center bottom / 14px 12px no-repeat;
  }

  /* Selector first, then the selected feature with its enlarged crop,
     then a smaller phone, so the effect of a selection is visible at once */
  .sr-page .sr-mobile__layout { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .sr-page .sr-mobile__explorer { order: -1; }
  .sr-page .sr-tabs.is-enhanced .sr-feature__crop { display: block; }
  .sr-page .sr-phone-panel { max-width: 260px; padding: 10px 14px; }
  .sr-page .sr-phone { max-width: 230px; }

  /* Intentional crop of the photograph: trims the window band above the
     laptop and keeps the laptop screen and the vehicle in frame */
  .sr-page .sr-integration__media img { aspect-ratio: 16 / 9; object-position: 50% 80%; }
}
@media (max-width: 479px) {
  .sr-page .sr-hero__actions .sr-btn, .sr-page .sr-pilot__actions .sr-btn { width: 100%; }
  .sr-page .sr-option .sr-btn, .sr-page .sr-integration__body .sr-btn { align-self: stretch; width: 100%; }
  .sr-page .sr-integration__body { justify-items: stretch; }
  .sr-page .sr-stage { padding: 20px 16px; }
  .sr-page .sr-stages__list { grid-template-columns: minmax(0, 1fr); }
  .sr-page .sr-stages__tab { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 14px 16px; }
  .sr-page .sr-stages__tab + .sr-stages__tab { border-left: 0; }
  .sr-page .sr-stages__tab[aria-selected="true"] { box-shadow: inset 4px 0 0 var(--sr-yellow); }
  .sr-page .sr-config__task { left: 52%; top: auto; bottom: 6%; width: 45%; }
  .sr-page .sr-config__link { display: none; }
  .sr-page .sr-feature { padding: 18px 16px; }
  .sr-page .sr-findings__control--light { flex-direction: column; gap: 8px; }
}

/* Reduced motion: no transitions in the explorers */
@media (prefers-reduced-motion: reduce) {
  .sr-page .sr-arch.is-enhanced .sr-arch__link { transition: none; }
}

/* Print: every panel and detail in full, no selectors or highlights */
@media print {
  .sr-page [data-sr-tablist], .sr-page .sr-tabs__hint, .sr-page .sr-arch__hint, .sr-page .sr-hl, .sr-page .sr-viewer, .sr-page .sr-zoom { display: none !important; }
  .sr-page .sr-tabs.is-enhanced .sr-tabs__panels, .sr-page .sr-arch.is-enhanced .sr-arch__detail-list { display: block !important; }
  .sr-page .sr-tabs.is-enhanced [data-sr-panel][hidden], .sr-page .sr-arch.is-enhanced .sr-arch__item[hidden] { display: block !important; visibility: visible !important; margin-bottom: 16px; }
  .sr-page .sr-arch.is-enhanced .sr-arch__link { opacity: 1 !important; }
  .sr-page .sr-arch__part.is-selected::before { display: none; }
}

/* Controls revealed only by the script stay hidden until it runs */
.sr-page [data-sr-tablist][hidden], .sr-page .sr-tabs__hint[hidden], .sr-page .sr-arch__hint[hidden] { display: none; }

/* Narrow screens: a taller schematic with the task card below the route */
@media (max-width: 599px) {
  .sr-page .sr-config { aspect-ratio: 4 / 5; }
  .sr-page .sr-config__route { left: 12%; top: 12%; width: 72%; height: 46%; }
  .sr-page .sr-config__tag { left: calc(12% + 10px); top: calc(58% - 36px); }
  .sr-page .sr-config__point--1 { left: 12%; top: 44%; }
  .sr-page .sr-config__point--2 { left: 62%; top: 12%; }
  .sr-page .sr-config__point--3 { left: 84%; top: 36%; }
  .sr-page .sr-config__link { display: block; left: 62%; top: calc(12% + 17px); width: 2px; height: calc(68% - 12% - 17px); margin-left: -1px; }
  .sr-page .sr-config__task { left: 8%; top: 68%; bottom: auto; width: 84%; }
}

/* Demonstration videos ------------------------------------------------------
   Silent clips in the same framed panel as the screenshots. The Play or
   Pause button sits in the frame directly below the video, so it never
   covers interface text or evidence in the recording. */
.sr-page .sr-media__frame { position: relative; }
.sr-page .sr-media__video { display: block; width: 100%; height: auto; aspect-ratio: auto 848 / 480; background: var(--sr-ink); object-fit: contain; }
.sr-page .sr-stage .sr-media__video { aspect-ratio: auto 16 / 9; }
.sr-page .sr-media__toggle {
  display: inline-flex;
  margin-top: 6px;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  font: 600 0.875rem/1 var(--sr-font);
  color: var(--sr-on-dark);
  background: rgba(11, 11, 12, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
}
.sr-page .sr-media__toggle .sr-icon { width: 16px; height: 16px; color: var(--sr-yellow); fill: var(--sr-yellow); }
.sr-page .sr-media__icon-pause { display: none; }
.sr-page .sr-media__toggle.is-playing .sr-media__icon-pause { display: block; fill: none; }
.sr-page .sr-media__toggle.is-playing .sr-media__icon-play { display: none; }
.sr-page .sr-media__toggle:hover { background: var(--sr-ink); border-color: var(--sr-yellow); }
.sr-page .sr-media__toggle:focus-visible { outline: 3px solid var(--sr-yellow); outline-offset: 2px; }
.sr-page .sr-media__toggle[hidden] { display: none; }
.sr-page .sr-media__duration { font-weight: 500; color: var(--sr-on-dark-muted); }

/* Chapter buttons under the mission views clip */
.sr-page .sr-media__chapters { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-page .sr-media__chapters[hidden] { display: none; }
.sr-page .sr-media__chapters button {
  min-height: 44px;
  padding: 0 14px;
  font: 600 0.875rem/1.2 var(--sr-font);
  color: var(--sr-ink);
  background: var(--sr-paper);
  border: 1px solid var(--sr-line);
  cursor: pointer;
}
.sr-page .sr-media__chapters button:hover { border-color: var(--sr-ink); }
.sr-page .sr-media__chapters button[aria-current="true"] { color: var(--sr-on-dark); background: var(--sr-ink); border-color: var(--sr-ink); box-shadow: inset 0 -3px 0 var(--sr-yellow); }
.sr-page .sr-media__chapters button:focus-visible { outline: 3px solid var(--sr-ink); outline-offset: 2px; }

/* Viewer showing a video */
.sr-page .sr-viewer__video { display: block; width: 100%; height: auto; max-height: calc(100vh - 120px); background: var(--sr-ink); }
.sr-page .sr-viewer__video[hidden], .sr-page .sr-viewer__img[hidden] { display: none; }
.sr-page .sr-viewer__heading { display: grid; gap: 2px; }
.sr-page .sr-viewer__heading .sr-viewer__title { font-size: 1rem; font-weight: 600; color: var(--sr-on-dark); }
.sr-page .sr-viewer__caption { font-size: 0.8125rem; color: var(--sr-on-dark-muted); }
@media (max-width: 899px) {
  .sr-page .sr-viewer__frame.is-video { display: grid; align-content: center; }
  .sr-page .sr-viewer__frame.is-video .sr-viewer__video { width: 100%; height: auto; max-height: none; }
}

/* Walkthrough dialog: player beside the chapter list */
.sr-page .sr-walk__body {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
  gap: 16px;
  padding: 16px;
  overflow: auto;
}
.sr-page .sr-walk__video { display: block; width: 100%; height: auto; aspect-ratio: auto 848 / 480; max-height: calc(100vh - 140px); background: #000; }
.sr-page .sr-walk__video:focus-visible { outline: 3px solid var(--sr-on-dark); outline-offset: 3px; }
.sr-page .sr-walk__label { margin-bottom: 8px; font-size: var(--sr-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sr-on-dark-muted); }
.sr-page .sr-walk__chapters ol { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sr-page .sr-walk__chapters button {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  font: 500 0.9375rem/1.3 var(--sr-font);
  color: #CFCFD3;
  text-align: left;
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  cursor: pointer;
}
.sr-page .sr-walk__time { font-variant-numeric: tabular-nums; color: var(--sr-on-dark-muted); font-size: 0.8125rem; }
.sr-page .sr-walk__chapters button:hover { color: var(--sr-on-dark); background: rgba(255, 255, 255, 0.06); }
.sr-page .sr-walk__chapters button[aria-current="true"] { color: var(--sr-on-dark); background: rgba(244, 215, 44, 0.12); border-left-color: var(--sr-yellow); }
.sr-page .sr-walk__chapters button[aria-current="true"] .sr-walk__time { color: var(--sr-yellow); }
.sr-page .sr-walk__chapters button:focus-visible { outline: 3px solid var(--sr-on-dark); outline-offset: -3px; }
@media (max-width: 899px) {
  .sr-page .sr-walk { height: 100vh; }
  .sr-page .sr-walk__body { grid-template-columns: minmax(0, 1fr); padding: 12px; align-content: start; }
  .sr-page .sr-walk__chapters ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
  .sr-page .sr-walk__chapters ol { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .sr-page .sr-media__toggle, .sr-page .sr-media__chapters { display: none !important; }
}

/* ==========================================================================
   Version 2 hero: full-bleed background video
   Height follows the approved inner pages, whose hero is sized by
   min(64vw, 1180px) x 941 / 1672 at desktop widths, with room kept for
   this page's longer copy. The video covers the hero (object-fit: cover)
   and is anchored right, where the interface detail sits; the left of the
   scrim stays almost solid so the text keeps full contrast.
   ========================================================================== */
.sr-page .sr-hero--video { display: block; min-height: 0; isolation: isolate; }
.sr-page .sr-hero--video .sr-hero__bg { position: absolute; inset: 0; z-index: -1; }
.sr-page .sr-hero--video .sr-hero__video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 70% 50%;
  background: var(--sr-ink);
}
.sr-page .sr-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.96) 0%, rgba(11, 11, 12, 0.92) 34%, rgba(11, 11, 12, 0.62) 58%, rgba(11, 11, 12, 0.28) 100%),
    linear-gradient(0deg, rgba(11, 11, 12, 0.85) 0%, rgba(11, 11, 12, 0) 30%);
}
.sr-page .sr-hero--video .sr-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 32px;
  min-height: max(560px, calc(min(64vw, 1180px) * 941 / 1672));
  padding-block: clamp(56px, 6vw, 88px) 24px;
}
.sr-page .sr-hero--video .sr-hero__copy { align-self: center; max-width: 36rem; display: grid; gap: 20px; }
.sr-page .sr-hero--video .sr-hero__lead { color: #D6D6DA; }
.sr-page .sr-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.sr-page .sr-hero__meta .sr-media__toggle { margin-top: 0; }
.sr-page .sr-hero__caption { margin-left: auto; font-size: 0.75rem; letter-spacing: 0.02em; color: #CFCFD3; }

/* Tablet: same full-bleed treatment, with a stronger scrim across the
   whole width because the copy takes more of it */
@media (max-width: 1179px) {
  .sr-page .sr-hero--video .sr-hero__inner { min-height: 520px; }
  .sr-page .sr-hero__scrim {
    background:
      linear-gradient(90deg, rgba(11, 11, 12, 0.95) 0%, rgba(11, 11, 12, 0.88) 55%, rgba(11, 11, 12, 0.6) 100%),
      linear-gradient(0deg, rgba(11, 11, 12, 0.85) 0%, rgba(11, 11, 12, 0) 30%);
  }
}

/* Phone: the video is a full-width band at the top of the hero, uncovered,
   and the copy sits below it on black */
@media (max-width: 767px) {
  .sr-page .sr-hero--video .sr-hero__bg { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; }
  .sr-page .sr-hero--video .sr-hero__video { object-position: 50% 50%; }
  .sr-page .sr-hero__scrim { background: linear-gradient(0deg, var(--sr-ink) 0%, rgba(11, 11, 12, 0) 22%); }
  .sr-page .sr-hero--video .sr-hero__inner { min-height: 0; padding-block: 8px 32px; gap: 24px; }
  .sr-page .sr-hero__caption { margin-left: 0; width: 100%; }
}

/* Version 3: a visual in each offering card, the same size in both, so
   the two options keep equal weight. Option 1 shows our robot (plain
   white background); option 2 a quiet line drawing of a generic vehicle,
   with a yellow chip for our software. */
.sr-page .sr-option__media { display: grid; gap: 6px; margin: 0; }
.sr-page .sr-option__visual { display: block; width: 100%; height: auto; aspect-ratio: 1427 / 826; object-fit: contain; }
.sr-page .sr-option__caption { font-size: 0.75rem; letter-spacing: 0.02em; color: var(--sr-muted); }
