/* Hero badge with all three supported desktop platforms. */
.rt-hero-pill-v1.sysvia-hero-pill {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 4px 14px 4px 6px;
  border: 1px solid #4b6c5f26;
  border-radius: 999px;
  background: linear-gradient(110deg, #f0f5ef, #fff 55%);
  box-shadow: 0 4px 14px #293d320b, inset 0 1px 0 #fff;
  color: #48564e;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.1px;
}

.sysvia-hero-pill__platforms {
  display: flex;
  flex: none;
  align-items: center;
  padding-right: 10px;
  border-right: 1px solid #4b6c5f24;
}

.sysvia-hero-pill__platform {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px #293d3212;
}

.sysvia-hero-pill__platform + .sysvia-hero-pill__platform { margin-left: -5px; }
.sysvia-hero-pill__platform svg { display: block; width: 13px; height: 13px; }
.sysvia-hero-pill__platform--windows { color: #0879d0; background: #edf6ff; }
.sysvia-hero-pill__platform--macos { color: #29382f; background: #f2f4f1; }
.sysvia-hero-pill__platform--linux { color: #453813; background: #fff4d7; }

.sysvia-hero-pill__details { display: flex; align-items: center; }
.sysvia-hero-pill__copy { white-space: nowrap; }
.sysvia-hero-pill__copy > span { padding: 0 3px; color: #85958b; }

@media (max-width: 479px) {
  .rt-hero-pill-v1.sysvia-hero-pill {
    gap: 8px;
    padding: 4px 11px 4px 6px;
    font-size: 12px;
  }
  .sysvia-hero-pill__platforms { padding-right: 8px; }
  .sysvia-hero-pill__platform { width: 22px; height: 22px; }
  .sysvia-hero-pill__platform svg { width: 12px; height: 12px; }
  .sysvia-hero-pill__copy > span { padding: 0 2px; }
}

.sysvia-hero-monitors {
  flex: none;
  width: 1083px;
  max-width: 100%;
  aspect-ratio: 1083 / 402;
}

.shm-art { display: block; width: 100%; height: auto; overflow: visible; }
.shm-platform { color: #e1eee5; opacity: .75; }
.shm-platform text { fill: currentColor; font-size: 11px; font-weight: 400; }
.shm-platform--macos text { font-family: Arial, Helvetica, sans-serif; font-kerning: normal; }
.shm-power { fill: #a5bd9c; }
.shm-cursor { filter: drop-shadow(0 1px 1px #122b2433); }

/* Real app renderer, in Sage. Keep the existing hero width and monitor backdrop. */
.rt-dashboard.sysvia-app-demo {
  border: 0;
  min-height: 0;
  background: #f6f6f4;
  box-shadow: 0 18px 48px #293d3212;
  border-radius: 20px;
  overflow: hidden;
  /* The template's scroll parallax obscures the platform labels with this
     taller app recording. Keep the app steady while its contents animate. */
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: none !important;
}
.sad-viewport { position: relative; width: 100%; aspect-ratio: 11 / 7; overflow: hidden; background: #f6f6f4; }
.sad-poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.sad-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.sysvia-app-demo.is-ready .sad-video { opacity: 1; }
.sad-description { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px 10px; background: #fff; }
.sad-title { display: block; color: #202b24; font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -.35px; }
.sad-caption { margin: 4px 0 0; color: #637169; font-size: 12px; line-height: 1.5; }
.sad-controls { display: flex; flex: none; gap: 4px; }
.sad-controls button { border: 0; border-radius: 6px; padding: 6px 8px; color: #4b6c5f; background: transparent; font: inherit; font-size: 11px; line-height: 1.4; cursor: pointer; }
.sad-controls button:hover { background: #f0f5ef; }
.sad-chapters { position: relative; display: flex; gap: 16px; overflow-x: auto; padding: 4px 22px 14px; background: #fff; scrollbar-width: thin; }
.sad-chapters button { flex: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 0; color: #7c877f; background: transparent; font: inherit; font-size: 11px; line-height: 1.3; cursor: pointer; white-space: nowrap; }
.sad-chapters button[aria-pressed="true"] { border-bottom-color: #4b6c5f; color: #345144; }
.sad-controls button:focus-visible, .sad-chapters button:focus-visible { outline: 2px solid #4b6c5f; outline-offset: 3px; }
.sad-no-script { padding: 12px 22px; font-size: 13px; }
/* Match the original hero card. Full captions and chapters belong to the
   expanded view; compact playback controls sit inside the preview. */
.rt-dashboard.sysvia-app-demo:not(.is-expanded) { height: 30.875rem; }
.sysvia-app-demo:not(.is-expanded) .sad-viewport { height: 100%; aspect-ratio: auto; }
.sysvia-app-demo:not(.is-expanded) .sad-copy,
.sysvia-app-demo:not(.is-expanded) .sad-chapters { display: none; }
.sysvia-app-demo:not(.is-expanded) .sad-description { position: absolute; z-index: 3; right: 12px; bottom: 12px; display: block; padding: 4px; border: 1px solid #4b6c5f20; border-radius: 9px; background: #fff; box-shadow: 0 2px 10px #293d3212; }
.sysvia-app-demo:not(.is-expanded) .sad-controls .sad-expand { background: #4b6c5f; color: #fff; }
.sysvia-app-demo:not(.is-expanded) .sad-controls .sad-expand:hover { background: #3a574b; }
.sysvia-app-demo.is-expanded { position: fixed !important; inset: 0 !important; z-index: 2147483647 !important; display: flex; flex-direction: column; justify-content: center; width: 100vw; max-width: none; height: 100dvh; margin: 0 !important; padding: 16px max(16px,calc((100vw - (100dvh - 150px) * 16 / 9) / 2)); border-radius: 0; background: #e9eee9; transform: none !important; }
.sysvia-app-demo.is-expanded .sad-viewport { flex: none; aspect-ratio: 16 / 9; border-radius: 12px 12px 0 0; }
/* The film carries its own captions; the text stays for screen readers only. */
.sysvia-app-demo.is-expanded .sad-copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sysvia-app-demo.is-expanded .sad-description { justify-content: flex-end; padding-top: 12px; }
.sysvia-app-demo.is-expanded .sad-chapters { flex: none; border-radius: 0 0 12px 12px; }
@media (max-width: 767px) {
  .rt-dashboard.sysvia-app-demo { border-radius: 12px; }
  .rt-dashboard.sysvia-app-demo:not(.is-expanded) { height: auto; aspect-ratio: 16 / 9; }
  .sad-description { align-items: flex-start; flex-direction: column; gap: 7px; padding: 12px 14px 6px; }
  .sad-title { font-size: 15px; }
  .sad-caption { font-size: 11px; }
  .sad-controls { align-self: flex-end; }
  .sad-controls button { padding: 4px 8px; }
  .sad-chapters { gap: 14px; padding: 0 14px 10px; }
  .sad-chapters button { font-size: 10px; }
  .sysvia-app-demo.is-expanded { padding: 12px; }
}

.sysvia-hero-download { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 14px; color: #35594a; font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: underline; text-underline-offset: 5px; }
.sysvia-hero-download:hover { color: #263c31; }
.sysvia-hero-download:focus-visible { outline: 2px solid #4b6c5f; outline-offset: 4px; }
