:root {
  --bg: #fff;
  --scene-bg: #fff;
  --fg: #1a1a1a;
  --muted: #6a6a6a;
  --line: rgba(0, 0, 0, 0.12);
  --hotspot-border: #1a1a1a;
  --hotspot-fill: #fff;
  --machine-blue: #1a1a1a;
  --machine-blue-dark: #000;
  --machine-blue-soft: #f5f5f5;
  --navbar-height: 80px;
  --navbar-logo-pad: 10px;
  --stage-height: 100vh;
  --hero-height: var(--stage-height);
  color-scheme: only light;
}

@supports (height: 100dvh) {
  :root {
    --stage-height: 100dvh;
    --hero-height: var(--stage-height);
  }
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  color-scheme: light;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

.stage {
  position: relative;
}

.stage:not(.stage--overview) {
  height: var(--stage-height);
  min-height: var(--stage-height);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--scene-bg);
}

.stage__hero {
  position: relative;
  flex: 1 1 auto;
  height: var(--hero-height);
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--scene-bg);
}

.stage--overview {
  overflow: visible;
}

.stage--overview .stage__scroll {
  overflow: visible;
}

.stage--overview .stage__hero {
  flex: none;
  height: auto;
  min-height: 0;
  overflow: visible;
}

.stage__scroll[hidden] {
  display: none;
}

.content-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 48px 80px;
  background: var(--bg);
  overflow: visible;
}

.content-screen--alt {
  background: var(--machine-blue-soft);
}

.content-screen__inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.content-screen__eyebrow {
  margin: 0 0 12px;
  color: var(--machine-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.content-screen__title {
  margin: 0 0 24px;
  color: var(--machine-blue);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.content-screen__lead {
  margin: 0 0 40px;
  max-width: 42em;
  color: var(--fg);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
}

.content-screen__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.content-card {
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.content-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.content-card strong {
  color: var(--fg);
}

.content-card--accent {
  border-color: rgba(0, 0, 0, 0.35);
  background: linear-gradient(
    145deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.04) 100%
  );
}

.content-list {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.content-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.content-list li + li {
  margin-top: 16px;
}

.content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--machine-blue);
  translate: 0 -50%;
}

.content-list strong {
  color: var(--fg);
}

.content-flow {
  margin-bottom: 40px;
}

.content-block + .content-flow {
  margin-top: 56px;
}

.content-visual {
  position: relative;
  margin: 0;
}

.content-visual--bleed {
  width: 100vw;
  max-width: 100vw;
  margin-top: 56px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #fff;
}

.content-visual--bleed + .content-visual--bleed {
  margin-top: 24px;
}

#machine-specs {
  position: relative;
  z-index: 2;
}

#greifer-visual {
  position: relative;
  z-index: 1;
}

#greifer-visual .content-visual__image {
  transform: translateY(-141px);
}

#greifer-visual-side.content-visual--bleed {
  overflow: visible;
  margin-top: calc(24px - 400px);
  margin-bottom: -400px;
  --palette-image-offset-x: 120;
  --palette-zone-offset-x: 110;
}

#greifer-visual-side .content-visual__stage {
  position: relative;
  margin-left: calc(-1px * var(--palette-image-offset-x));
}

.content-visual__hover-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  background: var(--scene-bg);
}

.content-visual__hover-layer.is-active {
  opacity: 1;
}

.content-visual__info--solid {
  z-index: 2;
  background: #fff;
}

.palette-visual__zone {
  --ref-w: 1920;
  --ref-h: 1080;
  position: absolute;
  left: calc((var(--zone-x) + var(--palette-zone-offset-x, 0)) / var(--ref-w) * 100%);
  top: calc(var(--zone-y) / var(--ref-h) * 100%);
  width: calc(var(--zone-w) / var(--ref-w) * 100%);
  height: calc(var(--zone-h) / var(--ref-h) * 100%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  color: var(--machine-blue);
}

.palette-visual__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.palette-visual__marker {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--machine-blue);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    opacity 160ms ease,
    visibility 160ms ease;
}

.palette-visual__icon {
  display: block;
  width: 18px;
  height: 18px;
}

.palette-visual__zone:hover .palette-visual__marker,
.palette-visual__zone:focus-visible .palette-visual__marker,
.palette-visual__zone.is-active .palette-visual__marker {
  opacity: 0;
  visibility: hidden;
  transform: none;
}

.palette-visual__zone:focus-visible {
  outline: 2px solid var(--machine-blue);
  outline-offset: 2px;
}

body.is-debug .palette-visual__zone {
  outline: 1px dashed rgba(26, 26, 26, 0.55);
  background: rgba(26, 26, 26, 0.08);
}

.content-visual__image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  background: var(--scene-bg);
}

.content-visual__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.content-visual__backdrop {
  --ref-w: 1920;
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--backdrop-w, 680) / var(--ref-w) * 100%);
  height: 100%;
  background: #fff;
}

.content-visual__info {
  --ref-w: 1920;
  --ref-h: 1080;
  position: absolute;
  left: calc(var(--panel-x) / var(--ref-w) * 100%);
  top: calc(var(--panel-y) / var(--ref-h) * 100%);
  width: calc(var(--panel-w) / var(--ref-w) * 100%);
  height: calc(var(--panel-h) / var(--ref-h) * 100%);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: auto;
  padding: clamp(16px, 2vw, 28px) clamp(16px, 2vw, 32px);
  color: var(--fg);
  pointer-events: auto;
}

.content-visual__info-eyebrow {
  margin: 0 0 10px;
  color: var(--machine-blue);
  font-size: clamp(9px, 0.95vw, 12px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.content-visual__info-title {
  margin: 0 0 14px;
  color: var(--fg);
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.content-visual__info-lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: clamp(11px, 1.05vw, 15px);
  line-height: 1.55;
}

.content-visual__specs {
  width: 100%;
  margin: 0 0 20px;
  border-collapse: collapse;
  font-size: clamp(10px, 0.95vw, 14px);
}

.content-visual__specs th,
.content-visual__specs td {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
  line-height: 1.45;
}

.content-visual__specs th {
  width: 38%;
  padding-right: 12px;
  color: var(--fg);
}

.content-visual__specs td {
  color: var(--muted);
}

.content-visual__info-source {
  margin: 16px 0 0;
  font-size: clamp(9px, 0.85vw, 12px);
}

.content-visual__info-source a {
  color: var(--machine-blue);
  text-decoration: none;
}

.content-visual__info-source a:hover {
  text-decoration: underline;
}

.content-visual__info-text {
  margin: 0;
  color: var(--muted);
  font-size: clamp(10px, 0.9vw, 13px);
  line-height: 1.6;
}

.content-visual__info-text + .content-visual__info-text {
  margin-top: 0.85em;
}

.content-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.content-flow p + p {
  margin-top: 1em;
}

.content-quote {
  margin: 0;
  padding: 48px 40px;
  border-left: 4px solid var(--machine-blue);
  background: #fff;
  color: var(--machine-blue);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

#greifer-visual-side + .content-footer {
  margin-top: 456px;
}

.content-footer {
  position: relative;
  z-index: 5;
  margin-top: 56px;
  padding: 32px 0 48px;
}

.content-footer__link {
  margin: 28px 0 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-footer__link a {
  color: var(--machine-blue);
  text-decoration: none;
}

.content-footer__link a:hover {
  text-decoration: underline;
}

.content-block {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.content-block__head {
  margin-bottom: 16px;
}

.content-block__eyebrow {
  margin: 0 0 8px;
  color: var(--machine-blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.content-block__title {
  margin: 0;
  color: var(--fg);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.content-block__lead {
  margin: 0 0 28px;
  max-width: 40em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.content-badge {
  margin: 0 0 20px;
  padding: 16px 24px;
  border-radius: 4px;
  background: var(--machine-blue);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.content-note {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: start;
}

.content-specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.content-specs th,
.content-specs td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
  line-height: 1.45;
}

.content-specs th {
  width: 44%;
  padding-right: 20px;
  color: var(--fg);
}

.content-specs td {
  color: var(--muted);
}

.content-features {
  margin: 0;
  padding: 24px 28px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  background: #fff;
  list-style: none;
}

.content-screen--alt .content-features {
  background: rgba(255, 255, 255, 0.85);
}

.content-features li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.content-features li + li {
  margin-top: 12px;
}

.content-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--machine-blue);
  translate: 0 -50%;
}

.content-source {
  margin: 24px 0 0;
  font-size: 13px;
}

.content-source a {
  color: var(--machine-blue);
  text-decoration: none;
}

.content-source a:hover {
  text-decoration: underline;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--navbar-height);
  padding: 0 40px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  pointer-events: none;
}

.navbar__left {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  pointer-events: auto;
}

.stage-toolbar {
  position: absolute;
  top: calc(var(--navbar-height) + 20px);
  right: 40px;
  z-index: 8;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  pointer-events: none;
}

.stage-toolbar > * {
  pointer-events: auto;
}

.stage-toolbar__stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  flex-shrink: 0;
}

.frame-handling-tabs {
  position: static;
  flex-shrink: 0;
}

.frame-handling-tabs[hidden] {
  display: none;
}

.frame-handling-tabs__bar {
  display: flex;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.frame-handling-tabs__btn {
  padding: 12px 28px;
  border: 0;
  background: #fff;
  color: var(--machine-blue);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.frame-handling-tabs__btn + .frame-handling-tabs__btn {
  border-left: 1px solid var(--line);
}

.frame-handling-tabs__btn--active {
  background: var(--machine-blue);
  color: #fff;
}

.frame-handling-tabs__btn:hover:not(.frame-handling-tabs__btn--active),
.frame-handling-tabs__btn:focus-visible:not(.frame-handling-tabs__btn--active) {
  background: var(--machine-blue-soft);
}

.frame-handling-tabs__btn:focus-visible {
  outline: 2px solid var(--machine-blue);
  outline-offset: 2px;
}

.machine-tabs {
  position: static;
  flex-shrink: 0;
}

.machine-tabs__bar {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.machine-tabs__btn {
  padding: 12px 28px;
  border: 0;
  background: #fff;
  color: var(--machine-blue);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.machine-tabs__btn + .machine-tabs__btn {
  border-left: 0;
  border-top: 1px solid var(--line);
}

.machine-tabs__btn--active {
  background: var(--machine-blue);
  color: #fff;
}

.machine-tabs__btn:hover:not(.machine-tabs__btn--active),
.machine-tabs__btn:focus-visible:not(.machine-tabs__btn--active) {
  background: var(--machine-blue-soft);
}

.machine-tabs__btn:focus-visible {
  outline: 2px solid var(--machine-blue);
  outline-offset: 2px;
}

.navbar__logo {
  position: absolute;
  left: 50%;
  top: 0;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  color: var(--fg);
  text-decoration: none;
  transform: translateX(-50%);
  pointer-events: auto;
}

.navbar__logo-svg {
  display: block;
  height: calc(var(--navbar-height) - 2 * var(--navbar-logo-pad));
  width: auto;
  max-width: min(320px, 42vw);
}

.navbar__logo:hover,
.navbar__logo:focus-visible {
  color: #000;
}

.navbar__logo:focus-visible {
  outline: 2px solid var(--machine-blue);
  outline-offset: 4px;
}

.navbar__kicker,
.navbar__hint {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.navbar__kicker {
  color: var(--machine-blue);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.navbar__hint {
  margin-left: auto;
  color: var(--machine-blue);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

.navbar__hint:empty {
  display: none;
}

.frame {
  position: relative;
  height: var(--hero-height);
  width: auto;
  max-width: 100%;
  aspect-ratio: 1920 / 1080;
  margin-inline: auto;
  background: var(--scene-bg);
  flex: 0 0 auto;
}

.stage--overview .frame {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
}

.frame__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: var(--scene-bg);
  pointer-events: none;
  user-select: none;
  transition: opacity 0.088s ease;
}

.frame__image[hidden] {
  display: none;
}

.frame-storage-tabs {
  position: static;
  flex-shrink: 0;
}

.frame-storage-tabs[hidden] {
  display: none;
}

.frame-storage-tabs__bar {
  display: flex;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.frame-storage-tabs__btn {
  padding: 12px 28px;
  border: 0;
  background: #fff;
  color: var(--machine-blue);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.frame-storage-tabs__btn + .frame-storage-tabs__btn {
  border-left: 1px solid var(--line);
}

.frame-storage-tabs__btn--active {
  background: var(--machine-blue);
  color: #fff;
}

.frame-storage-tabs__btn:hover:not(.frame-storage-tabs__btn--active),
.frame-storage-tabs__btn:focus-visible:not(.frame-storage-tabs__btn--active) {
  background: var(--machine-blue-soft);
}

.frame-storage-tabs__btn:focus-visible {
  outline: 2px solid var(--machine-blue);
  outline-offset: 2px;
}

.frame-tabs {
  position: absolute;
  top: calc(var(--navbar-height) + 72px);
  left: 40px;
  z-index: 7;
  pointer-events: auto;
}

.frame-tabs[hidden] {
  display: none;
}

.frame-tabs--storage-level {
  top: calc(var(--navbar-height) + 20px);
}

.frame-tabs__bar {
  display: flex;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.frame-tabs__btn {
  padding: 12px 28px;
  border: 0;
  background: #fff;
  color: var(--machine-blue);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.frame-tabs__btn + .frame-tabs__btn {
  border-left: 1px solid var(--line);
}

.frame-tabs__btn--active {
  background: var(--machine-blue);
  color: #fff;
}

.frame-tabs__btn:hover:not(.frame-tabs__btn--active),
.frame-tabs__btn:focus-visible:not(.frame-tabs__btn--active) {
  background: var(--machine-blue-soft);
}

.frame-tabs__btn:focus-visible {
  outline: 2px solid var(--machine-blue);
  outline-offset: 2px;
}

.frame--overlay-open .hotspots {
  z-index: 8;
  pointer-events: none;
}

.stage__hero:has(.frame--overlay-open) .stage-toolbar {
  z-index: 9;
}

.stage__hero:has(.frame--overlay-open) .frame-tabs {
  z-index: 4;
  pointer-events: none;
}

.hotspots {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.overlay-connector {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.overlay-connector[hidden] {
  display: none;
}

.overlay-connector line {
  stroke: var(--machine-blue);
  stroke-width: 5;
  stroke-linecap: round;
}

.overlay {
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  overflow: auto;
  box-sizing: border-box;
  padding: 28px 32px 32px;
  background: #fff;
  border: 5px solid var(--machine-blue);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.overlay[hidden] {
  display: none;
}

.overlay--fit {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: max-content;
  height: auto;
  padding: 12px 14px 12px 18px;
}

.overlay--fit .overlay__head {
  margin: 0;
  order: 2;
}

.overlay--fit .overlay__titles:has(#overlay-title[hidden]):has(#overlay-sub[hidden]) {
  display: none;
}

.overlay--fit .overlay__body {
  order: 1;
}

.overlay--fit .overlay__body p {
  margin: 0;
  color: var(--fg);
  white-space: nowrap;
}

.overlay--anchor-bl {
  height: auto;
}

.overlay--anchor-bl .overlay__body {
  flex: 0 1 auto;
}

.overlay--anchor-br {
  height: auto;
}

.overlay--anchor-br .overlay__body {
  flex: 0 1 auto;
}

.overlay--anchor-center {
  height: auto;
}

.overlay--anchor-center .overlay__body {
  flex: 0 1 auto;
}

.overlay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.overlay__head:has(#overlay-title[hidden]):has(#overlay-close[hidden]) {
  display: none;
  margin-bottom: 0;
}

.overlay__titles {
  min-width: 0;
}

.overlay__title {
  margin: 0;
  color: var(--machine-blue);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.overlay__sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.overlay__close {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 2px;
  background: var(--machine-blue);
  color: #fff;
  cursor: pointer;
}

.overlay__close[hidden] {
  display: none;
}

.overlay__close-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.overlay__close:hover,
.overlay__close:focus-visible {
  background: var(--machine-blue-dark);
}

.overlay__close:focus-visible {
  outline: 2px solid var(--machine-blue);
  outline-offset: 3px;
}

.overlay__body {
  color: var(--fg);
}

.overlay--accordion {
  padding: 0;
  height: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.overlay--accordion .overlay__head {
  display: none;
}

.overlay--accordion .overlay__body {
  padding: 0;
  overflow: visible;
}

.overlay-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.overlay-panel {
  background: #fff;
  border: 5px solid var(--machine-blue);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

.overlay-accordion__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.overlay-accordion__summary::-webkit-details-marker {
  display: none;
}

.overlay-accordion__summary-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.overlay-accordion__eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.overlay-accordion__title {
  color: var(--machine-blue);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.overlay-accordion__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 10px;
  border-right: 2px solid var(--machine-blue);
  border-bottom: 2px solid var(--machine-blue);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.overlay-panel[open] > .overlay-accordion__summary .overlay-accordion__chevron {
  margin-top: 14px;
  transform: rotate(-135deg);
}

.overlay-accordion__panel {
  padding: 0 28px 24px;
}

.overlay-accordion__panel .overlay__lead {
  margin-top: 0;
}

.overlay__body h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.overlay__body h2 + .overlay__note {
  margin-top: 0;
}

.overlay__body .overlay__specs + h2 {
  margin-top: 28px;
}

.overlay__body p {
  margin: 0;
  color: var(--muted);
}

.overlay__body p + p {
  margin-top: 0.8em;
}

.overlay__body p.overlay__lead {
  margin: 0 0 20px;
  color: var(--fg);
  font-size: 15px;
}

.overlay__list + p.overlay__lead {
  margin-top: 24px;
}

.overlay__body p.overlay__note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.overlay__specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.overlay__specs th,
.overlay__specs td {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.overlay__specs th {
  width: 46%;
  padding-right: 16px;
  color: var(--fg);
}

.overlay__specs td {
  color: var(--muted);
}

.overlay__list {
  margin: 18px 0 0;
  padding-left: 1.15em;
  color: var(--muted);
  font-size: 14px;
}

.overlay__list li + li {
  margin-top: 0.35em;
}

.overlay__source {
  margin: 20px 0 0;
  font-size: 12px;
}

.overlay__source a {
  color: var(--machine-blue);
  text-decoration: none;
}

.overlay__source a:hover {
  text-decoration: underline;
}

.overlay__figure {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}

.overlay__media {
  margin: 18px 0 0;
}

.overlay__media + .overlay__media {
  margin-top: 22px;
}

.overlay__caption {
  margin: 0 0 6px;
  color: var(--machine-blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hotspot {
  position: absolute;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  color: inherit;
  pointer-events: auto;
}

.hotspot[hidden] {
  display: none;
}

.hotspot:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.hotspot--icon {
  border-radius: 6px;
}

.hotspot__marker--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border-color: var(--machine-blue);
  background: #fff;
  color: var(--machine-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.hotspot__marker--icon::after {
  display: none;
}

.hotspot__icon {
  display: block;
  width: 68%;
  height: 68%;
}

.hotspot--icon:hover .hotspot__marker--icon,
.hotspot--icon:focus-visible .hotspot__marker--icon {
  background: var(--machine-blue-soft);
}

.hotspot--active {
  z-index: 9;
}

.hotspot--active .hotspot__marker--icon {
  background: var(--machine-blue);
  border-color: var(--machine-blue);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hotspot--active:hover .hotspot__marker--icon,
.hotspot--active:focus-visible .hotspot__marker--icon {
  background: var(--machine-blue);
  border-color: var(--machine-blue);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hotspot--active .hotspot__label {
  opacity: 1;
  background: var(--machine-blue);
  color: #fff;
}

.hotspot__marker {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--hotspot-border);
  border-radius: 50%;
  background: var(--hotspot-fill);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hotspot__marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--hotspot-border);
}

.hotspot:hover .hotspot__marker,
.hotspot:focus-visible .hotspot__marker {
  transform: scale(1.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hotspot--active:hover .hotspot__marker,
.hotspot--active:focus-visible .hotspot__marker {
  transform: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hotspot__label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  translate: -50% 0;
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--fg);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.hotspot:hover .hotspot__label,
.hotspot:focus-visible .hotspot__label {
  opacity: 1;
}

body.is-debug .hotspot {
  outline: 1px dashed rgba(0, 0, 0, 0.45);
}

.navbar__overview {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--machine-blue);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  pointer-events: auto;
}

.navbar__overview:hover,
.navbar__overview:focus-visible {
  border-color: var(--machine-blue);
  color: var(--machine-blue-dark);
}

.navbar__overview:focus-visible {
  outline: 2px solid var(--machine-blue);
  outline-offset: 3px;
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  pointer-events: auto;
}

.navbar__3d {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--machine-blue);
  border-radius: 2px;
  background: var(--machine-blue);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  pointer-events: auto;
  white-space: nowrap;
}

.navbar__3d:hover,
.navbar__3d:focus-visible {
  background: var(--machine-blue-dark);
  color: #fff;
}

.navbar__3d:focus-visible {
  outline: 2px solid var(--machine-blue);
  outline-offset: 3px;
}

.navbar__right .navbar__hint {
  margin-left: 0;
}

.back {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 14px;
  border: 0;
  border-radius: 2px;
  background: var(--machine-blue);
  color: #fff;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
}

.back[hidden] {
  display: none;
}

.back:hover,
.back:focus-visible {
  background: var(--machine-blue-dark);
  color: #fff;
}

.back:focus-visible {
  outline: 2px solid var(--machine-blue);
  outline-offset: 3px;
}

.back__icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .navbar {
    padding: 0 20px;
    gap: 16px;
  }

  .stage-toolbar {
    top: calc(var(--navbar-height) + 12px);
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-width: min(100% - 32px, 280px);
  }

  .frame-storage-tabs__btn,
  .frame-handling-tabs__btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .frame-tabs {
    top: calc(var(--navbar-height) + 20px);
    left: 24px;
  }

  .frame-tabs--storage-level {
    top: calc(var(--navbar-height) + 12px);
    left: 16px;
  }

  .machine-tabs__btn {
    padding: 10px 18px;
    font-size: 11px;
  }

  .frame-tabs__btn {
    padding: 10px 18px;
    font-size: 11px;
  }

  .navbar__kicker {
    font-size: 16px;
  }

  .content-screen {
    padding: 88px 24px 64px;
  }

  .content-screen__grid {
    grid-template-columns: 1fr;
  }

  .content-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
