/* Wattnest platform dashboard camera
   Keeps the existing marketing structure while giving the scroll section
   one persistent, credible product surface. */

.platform-link-wrap {
  position: relative;
}

.platform-link-card {
  position: absolute;
  top: 54px;
  left: -1.25rem;
  z-index: 5;
  padding: 0.8rem 1.3rem;
  border-radius: 0.75rem;
  color: #fff;
  background: linear-gradient(135deg, #4a6fa5, #3a5a8a);
  box-shadow: 0 7px 20px rgba(74, 111, 165, 0.38);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
  transform: rotate(-8deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.platform-link-card:hover {
  box-shadow: 0 10px 26px rgba(74, 111, 165, 0.45);
  transform: rotate(-5deg) translateY(-2px);
}

.dashboard-stage {
  display: none;
  min-width: 0;
  margin: 0;
}

.dashboard-camera {
  --ops-ink: #18231e;
  --ops-muted: #66716c;
  --ops-forest: #2d4a3e;
  --ops-forest-soft: #e8f0eb;
  --ops-blue: #4f6f9f;
  --ops-blue-soft: #edf2f8;
  --ops-amber: #c98232;
  --ops-amber-soft: #fbf2e6;
  --ops-brick: #b64a43;
  --ops-brick-soft: #faecea;
  --ops-line: #dfe4df;
  --ops-canvas: #f1f3f0;
  --ops-paper: #fffefb;
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 760;
  overflow: hidden;
  border: 1px solid rgba(24, 35, 30, 0.14);
  border-radius: 1.25rem;
  background: var(--ops-canvas);
  box-shadow:
    0 28px 65px rgba(31, 54, 45, 0.13),
    0 3px 10px rgba(31, 54, 45, 0.08);
  isolation: isolate;
}

.dashboard-camera::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: inherit;
  pointer-events: none;
  z-index: 4;
}

.dashboard-camera__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dashboard-canvas {
  position: relative;
  width: 1200px;
  height: 760px;
  overflow: hidden;
  color: var(--ops-ink);
  background: var(--ops-canvas);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

.dashboard-canvas *,
.dashboard-canvas *::before,
.dashboard-canvas *::after {
  box-sizing: border-box;
}

.dashboard-canvas h4,
.dashboard-canvas h5,
.dashboard-canvas p {
  max-width: none;
  margin: 0;
  color: inherit;
  font-family: inherit;
}

.ops-rail {
  position: absolute;
  inset: 0 auto 0 0;
  width: 68px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--ops-forest);
  color: white;
}

.ops-rail__brand {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
}

.ops-rail__brand img {
  display: block;
  width: auto;
  height: 32px;
  object-fit: contain;
}

.ops-rail__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ops-rail__button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
}

.ops-rail__button svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ops-rail__button.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ops-rail__footer {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-top: auto;
  border-radius: 50%;
  background: #f2d3aa;
  color: #5a3b22;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ops-topbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 68px;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ops-line);
  background: var(--ops-paper);
}

.ops-topbar__identity,
.ops-topbar__tools,
.ops-topbar__meta {
  display: flex;
  align-items: center;
}

.ops-topbar__identity {
  gap: 14px;
}

.ops-topbar__wordmark {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ops-topbar__divider {
  width: 1px;
  height: 24px;
  background: var(--ops-line);
}

.ops-topbar__section {
  color: var(--ops-muted);
  font-size: 11px;
  font-weight: 600;
}

.ops-topbar__tools {
  gap: 10px;
}

.ops-topbar__meta {
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--ops-line);
  border-radius: 7px;
  background: #fff;
  color: var(--ops-muted);
  font-size: 10px;
  white-space: nowrap;
}

.ops-topbar__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ops-forest);
}

.ops-topbar__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ops-line);
  border-radius: 8px;
  color: var(--ops-muted);
  background: #fff;
}

.ops-topbar__icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ops-workspace {
  position: absolute;
  top: 64px;
  right: 0;
  bottom: 0;
  left: 68px;
}

.ops-workspace__heading {
  position: absolute;
  top: 20px;
  left: 24px;
  width: 1084px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ops-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #7b857f;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ops-workspace__heading h4 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ops-filters {
  display: flex;
  gap: 7px;
}

.ops-filter {
  padding: 7px 9px;
  border: 1px solid var(--ops-line);
  border-radius: 7px;
  background: var(--ops-paper);
  color: #59655f;
  font-size: 9px;
  font-weight: 600;
}

.ops-thread {
  position: absolute;
  top: 72px;
  left: 24px;
  width: 1084px;
  height: 66px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  border: 1px solid var(--ops-line);
  border-radius: 10px;
  background: var(--ops-paper);
  box-shadow: 0 4px 14px rgba(24, 35, 30, 0.035);
}

.ops-thread__line,
.ops-thread__line-active {
  position: absolute;
  top: 25px;
  left: 9.5%;
  width: 81%;
  height: 2px;
}

.ops-thread__line {
  background: #dfe4df;
}

.ops-thread__line-active {
  width: 61%;
  background: var(--ops-forest);
}

.ops-thread__step {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-top: 31px;
  text-align: center;
  transition: opacity 180ms ease;
}

.ops-thread__node {
  position: absolute;
  top: 17px;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 3px solid var(--ops-paper);
  border-radius: 50%;
  background: #cbd2cd;
  box-shadow: 0 0 0 1px #cbd2cd;
  transform: translateX(-50%);
}

.ops-thread__step.is-complete .ops-thread__node {
  background: var(--ops-forest);
  box-shadow: 0 0 0 1px var(--ops-forest);
}

.ops-thread__step strong {
  display: block;
  color: var(--ops-ink);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.ops-thread__step small {
  display: block;
  margin-top: 1px;
  color: #8a938e;
  font-size: 8px;
  white-space: nowrap;
}

.ops-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--ops-line);
  border-radius: 10px;
  background: var(--ops-paper);
  box-shadow: 0 5px 16px rgba(24, 35, 30, 0.04);
  transition:
    opacity 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.ops-card__header {
  min-height: 42px;
  padding: 12px 14px 9px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #e8ece8;
}

.ops-card__header h5 {
  color: var(--ops-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ops-card__header p {
  margin-top: 2px;
  color: var(--ops-muted);
  font-size: 8px;
}

.ops-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 3px 7px;
  border-radius: 5px;
  color: var(--ops-forest);
  background: var(--ops-forest-soft);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.ops-badge--amber {
  color: #915d1d;
  background: var(--ops-amber-soft);
}

.ops-badge--brick {
  color: #923b37;
  background: var(--ops-brick-soft);
}

.ops-badge--blue {
  color: #405c87;
  background: var(--ops-blue-soft);
}

.ops-sources {
  top: 154px;
  left: 24px;
  width: 270px;
  height: 492px;
}

.ops-source-summary {
  margin: 12px 14px 10px;
  padding: 10px;
  border-radius: 8px;
  background: #f4f6f3;
}

.ops-source-summary__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ops-source-summary strong {
  font-size: 11px;
  font-weight: 700;
}

.ops-source-summary span {
  color: var(--ops-muted);
  font-size: 8px;
}

.ops-source-summary__bar {
  height: 5px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #dfe5e0;
}

.ops-source-summary__bar span {
  display: block;
  width: 84%;
  height: 100%;
  background: var(--ops-forest);
}

.ops-coverage {
  padding: 0 14px;
}

.ops-coverage__row {
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(5, 20px);
  align-items: center;
  column-gap: 4px;
  border-bottom: 1px solid #edf0ed;
}

.ops-coverage__row--head {
  min-height: 24px;
  color: #8a938e;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ops-coverage__site strong,
.ops-coverage__site span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-coverage__site strong {
  font-size: 9px;
}

.ops-coverage__site span {
  margin-top: 2px;
  color: var(--ops-muted);
  font-size: 7px;
}

.ops-source-dot {
  width: 8px;
  height: 8px;
  justify-self: center;
  border-radius: 50%;
  background: #d8ded9;
}

.ops-source-dot--good {
  background: var(--ops-forest);
}

.ops-source-dot--review {
  background: var(--ops-amber);
}

.ops-source-dot--off {
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: #cfd5d0;
}

.ops-source-legend {
  margin: 10px 14px 0;
  color: #7e8882;
  font-size: 7px;
  line-height: 1.5;
}

.ops-source-tags {
  margin: 10px 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ops-source-tag {
  padding: 4px 6px;
  border: 1px solid var(--ops-line);
  border-radius: 5px;
  color: #59655f;
  background: #fff;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
}

.ops-source-note {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  padding-top: 9px;
  border-top: 1px solid #edf0ed;
  color: #7e8882;
  font-size: 7px;
}

.ops-source-note strong {
  color: var(--ops-forest);
}

.ops-case {
  top: 154px;
  left: 310px;
  width: 430px;
  height: 318px;
}

.ops-case__body {
  padding: 10px 14px 12px;
}

.ops-case__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.ops-case__equipment strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.ops-case__equipment span {
  display: block;
  margin-top: 2px;
  color: var(--ops-muted);
  font-size: 8px;
}

.ops-case__priority {
  color: var(--ops-brick);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.ops-trend {
  position: relative;
  height: 112px;
  margin-top: 8px;
  border: 1px solid #e7ebe7;
  border-radius: 7px;
  background: #fbfcfa;
}

.ops-trend svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ops-trend__legend {
  position: absolute;
  top: 7px;
  left: 9px;
  display: flex;
  gap: 9px;
  color: #6d7771;
  font-size: 7px;
}

.ops-trend__legend span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 2px;
  margin-right: 4px;
  vertical-align: middle;
  background: var(--ops-forest);
}

.ops-trend__legend span:nth-child(2)::before {
  background: var(--ops-blue);
}

.ops-trend__legend span:nth-child(3)::before {
  background: var(--ops-amber);
}

.ops-evidence {
  margin-top: 8px;
  display: flex;
  gap: 5px;
}

.ops-evidence__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border: 1px solid var(--ops-line);
  border-radius: 5px;
  color: #52605a;
  background: #fff;
  font-size: 7px;
  font-weight: 700;
}

.ops-evidence__item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ops-forest);
}

.ops-hypothesis {
  margin-top: 8px;
  padding: 8px 9px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-left: 3px solid var(--ops-amber);
  border-radius: 0 6px 6px 0;
  background: var(--ops-amber-soft);
}

.ops-hypothesis span {
  display: block;
  color: #8b5b24;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ops-hypothesis strong {
  display: block;
  margin-top: 2px;
  color: #5c4931;
  font-size: 8px;
  font-weight: 700;
}

.ops-hypothesis small {
  color: #8b6b45;
  font-size: 7px;
  white-space: nowrap;
}

.ops-prep {
  top: 488px;
  left: 310px;
  width: 430px;
  height: 158px;
}

.ops-prep__content {
  height: calc(100% - 42px);
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.ops-checks {
  display: grid;
  gap: 5px;
}

.ops-check {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  color: #4e5b55;
  font-size: 8px;
}

.ops-check__box {
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  border: 1px solid #bbc5bd;
  border-radius: 3px;
  color: var(--ops-forest);
  font-size: 8px;
}

.ops-dispatch {
  padding-left: 12px;
  border-left: 1px solid #e6eae6;
}

.ops-dispatch__label {
  color: #7c8781;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ops-dispatch strong {
  display: block;
  margin-top: 4px;
  font-size: 10px;
}

.ops-dispatch p {
  margin-top: 3px;
  color: var(--ops-muted);
  font-size: 7px;
}

.ops-dispatch__action {
  margin-top: 8px;
  padding: 6px 8px;
  border-radius: 5px;
  background: var(--ops-forest);
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  text-align: center;
}

.ops-queue {
  top: 154px;
  left: 756px;
  width: 352px;
  height: 318px;
}

.ops-queue__body {
  padding: 3px 0 0;
}

.ops-queue__row {
  min-height: 54px;
  padding: 8px 13px;
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid #edf0ed;
}

.ops-queue__row.is-selected {
  background: #f0f5f2;
  box-shadow: inset 3px 0 0 var(--ops-forest);
}

.ops-queue__severity {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ops-forest);
}

.ops-queue__severity--amber {
  background: var(--ops-amber);
}

.ops-queue__severity--brick {
  background: var(--ops-brick);
}

.ops-queue__copy {
  min-width: 0;
}

.ops-queue__copy strong,
.ops-queue__copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-queue__copy strong {
  font-size: 9px;
}

.ops-queue__copy span {
  margin-top: 2px;
  color: var(--ops-muted);
  font-size: 7px;
}

.ops-queue__state {
  min-width: 64px;
  text-align: right;
}

.ops-queue__state strong {
  display: block;
  color: #40524a;
  font-size: 7px;
}

.ops-queue__state span {
  display: block;
  margin-top: 2px;
  color: #89928d;
  font-size: 7px;
}

.ops-queue__footer {
  padding: 9px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #707c75;
  font-size: 7px;
}

.ops-queue__footer strong {
  color: var(--ops-forest);
  font-size: 8px;
}

.ops-customer {
  top: 488px;
  left: 756px;
  width: 352px;
  height: 158px;
}

.ops-customer__body {
  padding: 9px 13px 10px;
}

.ops-customer__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ops-customer__brand strong {
  font-size: 9px;
}

.ops-customer__brand span {
  color: var(--ops-muted);
  font-size: 7px;
}

.ops-customer__metrics {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.ops-customer__metric {
  padding: 6px;
  border: 1px solid #e6eae6;
  border-radius: 6px;
  background: #fafbf9;
}

.ops-customer__metric strong {
  display: block;
  color: var(--ops-forest);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.ops-customer__metric span {
  display: block;
  margin-top: 2px;
  color: #77817c;
  font-size: 6px;
  line-height: 1.25;
}

.ops-customer__next {
  margin-top: 8px;
  padding-top: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #e9ece9;
  color: #53615a;
  font-size: 7px;
}

.ops-customer__next strong {
  color: var(--ops-ink);
}

.dashboard-stage figcaption {
  margin-top: 0.7rem;
  color: #69726d;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
}

.results-section {
  position: relative;
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(45, 74, 62, 0.06) 0%, rgba(45, 74, 62, 0) 60%),
    var(--color-cream, #faf8f5);
}

.results-section .mp-section-head {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.results-section .mp-section-head h2 {
  max-width: 15ch;
}

@media (min-width: 960px) {
  .features-scroll .tab-content__visual {
    display: none !important;
  }

  .features-scroll {
    height: 500vh;
  }

  .features-scroll__sticky > .container {
    width: min(96%, 1400px);
    max-width: 1400px;
    height: calc(100dvh - 60px);
    padding-inline: clamp(1rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .features-scroll .tab-nav {
    flex: 0 0 auto;
    padding: 1rem 0;
    margin-bottom: 0.65rem;
  }

  .features-scroll .tab-nav__item {
    padding-block: 0.55rem;
  }

  .features-scroll .tab-panels {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(500px, 1.35fr);
    grid-template-rows: 1fr;
    gap: clamp(1.75rem, 3.5vw, 4rem);
    align-items: center;
    padding: 0;
    overflow: visible;
  }

  .features-scroll .tab-content {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .features-scroll .tab-content__inner {
    display: block;
  }

  .features-scroll .tab-content__text {
    padding-right: 0;
  }

  .features-scroll .tab-content__title {
    font-size: clamp(1.75rem, 2.7vw, 2.6rem);
    margin-bottom: 0.8rem;
  }

  .features-scroll .tab-content__desc {
    margin-bottom: 1.15rem;
    font-size: 0.96rem;
  }

  .features-scroll .sub-step {
    padding: 0.72rem 0;
  }

  .features-scroll .sub-step__title {
    font-size: 0.9rem;
  }

  .features-scroll .sub-step__content {
    font-size: 0.82rem;
  }

  .dashboard-stage {
    grid-column: 2;
    grid-row: 1;
    display: block;
    align-self: center;
  }
}

@media (max-width: 959px) {
  .features-scroll {
    height: 450vh;
  }

  .platform-link-wrap {
    display: none;
  }

  .features-scroll__sticky > .container {
    width: 100%;
    height: calc(100dvh - 56px);
    min-height: 0;
    padding-inline: clamp(0.75rem, 4vw, 2rem);
    display: flex;
    flex-direction: column;
  }

  .features-scroll .tab-nav {
    flex: 0 0 auto;
    justify-content: flex-start;
    margin-bottom: 0.35rem;
    padding: 0.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .features-scroll .tab-nav__connector {
    display: none;
  }

  .features-scroll .tab-nav__item {
    padding: 0.35rem 0.5rem;
    min-height: 42px;
  }

  .features-scroll .tab-nav__number {
    width: 34px;
    height: 34px;
  }

  .features-scroll .tab-panels {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 44fr) minmax(0, 56fr);
    gap: 0.5rem;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
  }

  .features-scroll .tab-content {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }

  .features-scroll .tab-content__inner {
    display: block;
  }

  .features-scroll .tab-content__text {
    height: 100%;
    padding-right: 0;
    overflow: hidden;
  }

  .features-scroll .tab-content__visual {
    display: none !important;
  }

  .features-scroll .tab-content__title {
    margin-bottom: 0.35rem;
    font-size: clamp(1.35rem, 6vw, 1.9rem);
    line-height: 1.15;
  }

  .features-scroll .tab-content__desc {
    display: -webkit-box;
    margin-bottom: 0.45rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 0.875rem;
    line-height: 1.4;
  }

  .features-scroll .sub-step:not(.active) {
    display: none;
  }

  .features-scroll .sub-step {
    padding: 0.4rem 0;
  }

  .features-scroll .sub-step__title {
    font-size: 0.84rem;
  }

  .features-scroll .sub-step__content {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .dashboard-stage {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    justify-content: flex-start;
  }

  .dashboard-camera {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1200 / 760;
  }

  .dashboard-stage figcaption {
    flex: 0 0 auto;
    margin-top: 0.25rem;
    font-size: 0.65rem;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .features-scroll__sticky > .container {
    height: calc(100dvh - 60px);
  }
}

@media (max-width: 959px) and (max-height: 680px) {
  .features-scroll .tab-nav {
    margin-bottom: 0.15rem;
    padding-block: 0.2rem;
  }

  .features-scroll .tab-nav__item {
    min-height: 36px;
    padding-block: 0.2rem;
  }

  .features-scroll .tab-nav__number {
    width: 30px;
    height: 30px;
  }

  .features-scroll .tab-panels {
    grid-template-rows: minmax(0, 40fr) minmax(0, 60fr);
    gap: 0.25rem;
  }

  .features-scroll .tab-content__title {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
  }

  .features-scroll .tab-content__desc,
  .features-scroll .sub-step__content,
  .dashboard-stage figcaption {
    display: none;
  }

  .features-scroll .sub-step {
    padding: 0.25rem 0;
  }
}

@media (min-width: 1280px) {
  .features-scroll .tab-panels {
    grid-template-columns: minmax(340px, 0.82fr) minmax(620px, 1.4fr);
  }
}

@media (min-width: 960px) and (max-height: 680px) {
  .platform-link-wrap {
    display: none;
  }

  .features-scroll .tab-nav {
    margin-bottom: 0.25rem;
    padding-block: 0.35rem;
  }

  .features-scroll .tab-panels {
    align-items: stretch;
    overflow: hidden;
  }

  .features-scroll .tab-content__title {
    margin-bottom: 0.35rem;
    font-size: 1.55rem;
  }

  .features-scroll .tab-content__desc {
    margin-bottom: 0.5rem;
    line-height: 1.4;
  }

  .features-scroll .sub-step {
    padding-block: 0.38rem;
  }

  .dashboard-stage {
    min-height: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }

  .dashboard-camera {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  .dashboard-stage figcaption {
    display: none;
  }
}

@media (min-width: 960px) and (max-height: 560px) {
  .features-scroll .sub-step:not(.active) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ops-card,
  .ops-thread__step {
    transition: none;
  }
}
