/* Generated by tools/build.py from the client's site-robotics-hiw-v3.css, every rule scoped under .sr-page. Do not edit. */
/* ==========================================================================
   SITE Robotics: How Our Robots Work, version 5 additions
   Loaded after site-robotics-hiw-v2.css. Adds:
   1. A mission in 15 seconds: the video and three steps, moved from the
      Industrial page v5 (same styles, unchanged)
   2. Where it starts: a short introduction under the typed statement
   3. FAQ
   4. "To confirm" markers for figures still to be supplied
   ========================================================================== */

/* 1. A mission in 15 seconds (from site-robotics-industrial-v2.css) ------- */
.sr-page .sr-how__layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
  margin-top: clamp(28px, 3.5vw, 44px);
}
.sr-page .sr-how__media { display: grid; gap: 10px; margin: 0; }
.sr-page .sr-how__media .sr-media__frame { border: 1px solid var(--sr-line); background: var(--sr-ink); }
.sr-page .sr-how__media .sr-media__video { aspect-ratio: auto 16 / 9; }
.sr-page .sr-how__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.sr-page .sr-how__controls .sr-media__toggle { color: var(--sr-on-dark); background: var(--sr-ink); }
.sr-page .sr-how__hint { margin-bottom: 10px; font-size: var(--sr-small); color: var(--sr-muted); }
.sr-page .sr-how__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sr-page .sr-how__step {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  text-align: left;
  color: var(--sr-ink);
  background: var(--sr-paper);
  border: 1px solid var(--sr-line);
  border-left: 4px solid transparent;
  cursor: pointer;
}
.sr-page .sr-how__step::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--sr-yellow);
  transform: scaleX(var(--sr-progress, 0));
  transform-origin: left center;
}
.sr-page .sr-how__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--sr-ink);
  background: var(--sr-paper-grey);
  font-variant-numeric: tabular-nums;
}
.sr-page .sr-how__body { display: grid; gap: 4px; }
.sr-page .sr-how__body strong { font-size: 1.0625rem; line-height: 1.3; }
.sr-page .sr-how__body span { color: var(--sr-muted); }
.sr-page .sr-how__step:hover { border-color: var(--sr-ink); border-left-color: var(--sr-ink); }
.sr-page .sr-how__step[aria-current="true"] { border-color: var(--sr-ink); border-left-color: var(--sr-yellow); box-shadow: 0 6px 18px -12px rgba(0, 0, 0, 0.4); }
.sr-page .sr-how__step[aria-current="true"] .sr-how__num { background: var(--sr-yellow); }
.sr-page .sr-how__step:focus-visible { outline: 3px solid var(--sr-ink); outline-offset: 2px; }
/* Without JavaScript the steps are plain text, not controls */
.sr-page .sr-how__list:not(.is-enhanced) .sr-how__step { cursor: default; pointer-events: none; }
/* On the grey band the step cards stay white */
.sr-page .sr-band--grey .sr-how__num { background: var(--sr-paper-grey); }
@media (max-width: 1023px) {
  .sr-page .sr-how__layout { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
}

/* 2. Where it starts: introduction under the typed statement --------------- */
.sr-page .sr-idea__lead {
  max-width: 62ch;
  margin: 0;
  font-size: var(--sr-lead);
  line-height: 1.6;
  color: var(--sr-text);
}

/* 3. FAQ ---------------------------------------------------------------------- */
.sr-page .sr-faq__list {
  max-width: 860px;
  margin: clamp(28px, 3.5vw, 44px) auto 0;
  border-top: 1px solid var(--sr-line);
}
.sr-page .sr-faq__item { border-bottom: 1px solid var(--sr-line); }
.sr-page .sr-faq__item summary {
  position: relative;
  display: block;
  padding: 20px 48px 20px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--sr-ink);
  list-style: none;
  cursor: pointer;
}
.sr-page .sr-faq__item summary::-webkit-details-marker { display: none; }
.sr-page .sr-faq__item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--sr-ink);
  border-bottom: 2px solid var(--sr-ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.sr-page .sr-faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.sr-page .sr-faq__item summary:hover { color: var(--sr-text); }
.sr-page .sr-faq__item summary:focus-visible { outline: 3px solid var(--sr-ink); outline-offset: 2px; }
.sr-page .sr-faq__answer { padding: 0 48px 22px 0; color: var(--sr-text); line-height: 1.65; }
.sr-page .sr-faq__answer p { margin: 0; }
.sr-page .sr-faq__answer p + p { margin-top: 10px; }
.sr-page .sr-faq__answer a { color: var(--sr-ink); font-weight: 600; text-decoration-color: var(--sr-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .sr-page .sr-faq__item summary::after { transition: none; }
}

/* 4. To confirm before going live ----------------------------------------------
   Remove the marker once the figure is supplied. */
.sr-page .sr-confirm {
  display: inline-block;
  padding: 1px 8px;
  font-size: var(--sr-small);
  font-weight: 600;
  color: var(--sr-ink);
  background: var(--sr-yellow-pale);
  border: 1px dashed var(--sr-yellow-deep);
  border-radius: 4px;
}

@media print {
  .sr-page .sr-how__hint, .sr-page .sr-media__toggle { display: none !important; }
  .sr-page .sr-faq__item:not([open]) .sr-faq__answer { display: block !important; }
  .sr-page .sr-faq__item summary::after { display: none; }
}

/* 5. Animated heading: "Watch a robotic inspection round" -----------------------
   With JavaScript, when the heading scrolls into view its words rise into
   place one after another, then a yellow underline sweeps under "robotic
   inspection round", in the yellow of the "Where it starts" highlight.
   Without JavaScript, with reduced motion and in print it simply shows. */
.sr-page .sr-reveal__mark {
  position: relative;
  display: inline;
  white-space: nowrap;
  background-image: linear-gradient(var(--sr-yellow), var(--sr-yellow));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 0.28em;
}
.sr-page .sr-reveal.is-armed .sr-reveal__w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
}
.sr-page .sr-reveal.is-armed .sr-reveal__mark { background-size: 0% 0.28em; }
.sr-page .sr-reveal.is-shown .sr-reveal__w {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.sr-page .sr-reveal.is-shown .sr-reveal__mark {
  background-size: 100% 0.28em;
  transition: background-size 0.7s cubic-bezier(0.6, 0, 0.2, 1) 0.7s;
}
@media (max-width: 599px) {
  .sr-page .sr-reveal__mark { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .sr-page .sr-reveal.is-armed .sr-reveal__w { opacity: 1; transform: none; }
  .sr-page .sr-reveal.is-armed .sr-reveal__mark { background-size: 100% 0.28em; }
}
@media print {
  .sr-page .sr-reveal .sr-reveal__w { opacity: 1 !important; transform: none !important; }
  .sr-page .sr-reveal .sr-reveal__mark { background-size: 100% 0.28em !important; }
}

/* 6. "People remain in control" under the video steps ------------------------ */
.sr-page .sr-how__control { background: var(--sr-paper-alt); }
