:root {
  color-scheme: dark;
  --bg: #07090c;
  --bg-soft: #10151b;
  --panel: rgba(19, 26, 34, 0.78);
  --panel-strong: #141c25;
  --text: #f2f6f8;
  --muted: #aab6c0;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #27aee4;
  --brand-2: #7fdcff;
  --warm: #6ee6b7;
  --accent: #1f7fb8;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --hero-veil: rgba(7, 9, 12, 0.72);
}

.video-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(3, 7, 10, 0.9);
  backdrop-filter: blur(4px);
}

.video-popup.open {
  display: flex;
}

.video-popup-open {
  overflow: hidden;
}

.video-popup__panel {
  width: min(1120px, 94vw);
  color: var(--text);
}

.video-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.video-popup__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-popup__close {
  display: inline-grid;
  flex-shrink: 0;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  color: var(--text);
  background: color-mix(in srgb, var(--panel-strong) 84%, transparent);
  border-radius: 8px;
  cursor: pointer;
}

.video-popup__close:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.video-popup__frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #000;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
}

@media (max-width: 560px) {
  .video-popup {
    padding: 10px;
  }

  .video-popup__header {
    align-items: flex-start;
  }

  .video-popup__title {
    padding-top: 0.65rem;
    white-space: normal;
  }
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f7fa;
  --bg-soft: #dfeaf1;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: #ffffff;
  --text: #121821;
  --muted: #4f6070;
  --line: rgba(18, 24, 33, 0.12);
  --brand: #087cae;
  --brand-2: #0f9fce;
  --warm: #1a8f74;
  --accent: #075a82;
  --shadow: 0 28px 70px rgba(31, 47, 64, 0.16);
  --hero-veil: rgba(243, 247, 250, 0.74);
}

[data-theme="light"] .example-tile,
[data-theme="light"] .example-card,
[data-theme="light"] .info-card,
[data-theme="light"] .video-group,
[data-theme="light"] .function-list,
[data-theme="light"] .intro-strip div {
  background: rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .section-separator {
  color: var(--brand);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 8%, rgba(39, 174, 228, 0.2), transparent 28rem),
    radial-gradient(circle at 10% 52%, rgba(127, 220, 255, 0.12), transparent 24rem),
    linear-gradient(135deg, var(--bg), var(--bg-soft));
  color: var(--text);
  font-family: "Roboto", Arial, sans-serif;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-strong) 86%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  border-radius: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.nav-item {
  position: relative;
}

.nav-item--dropdown {
  display: flex;
  align-items: stretch;
}

.nav-item--dropdown::after {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  content: "";
}

.nav-item--dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav-dropdown-toggle {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.nav-item--dropdown > .nav-link::after {
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  opacity: 0.8;
  transform: translateY(-2px) rotate(45deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  z-index: 30;
  display: none;
  min-width: 168px;
  padding: 0.45rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-strong) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: 8px;
  transform: translateX(-50%);
}

.nav-submenu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.75rem;
  color: var(--muted);
  border-radius: 8px;
  font-weight: 700;
}

.nav-submenu a:hover,
.nav-submenu a.active {
  color: var(--text);
  background: rgba(39, 174, 228, 0.13);
}

.nav-item--dropdown:hover .nav-submenu,
.nav-item--dropdown:focus-within .nav-submenu,
.nav-item--dropdown.open .nav-submenu {
  display: grid;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-link,
.tab-button,
.button,
.download-link {
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-link {
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 700;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(39, 174, 228, 0.13);
}

.theme-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 50%;
  cursor: pointer;
}

.theme-toggle__icon,
.theme-toggle__icon::after {
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--warm);
  content: "";
}

.theme-toggle__icon::after {
  inset: -3px -8px 3px 8px;
  background: var(--panel-strong);
}

[data-theme="light"] .theme-toggle__icon::after {
  opacity: 0;
}

.cookie-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: min(720px, calc(100% - 36px));
  padding: 1rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-strong) 94%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  border-radius: 8px;
}

.cookie-notice[hidden],
.cookie-settings[hidden] {
  display: none;
}

.cookie-notice__text strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand-2);
  font-size: 0.95rem;
  font-weight: 800;
}

.cookie-notice__text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.cookie-notice__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.cookie-notice__button,
.cookie-notice__link,
.cookie-settings {
  min-height: 40px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  color: var(--text);
  background: linear-gradient(135deg, var(--brand), var(--warm));
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.cookie-notice__button--ghost,
.cookie-notice__link,
.cookie-settings {
  background: var(--panel);
}

.cookie-notice__link {
  display: inline-flex;
  align-items: center;
}

.cookie-settings {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  min-height: 36px;
  padding: 0 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 2.5rem;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 210px);
  margin: 0 auto;
  padding: 58px 0 28px;
}

.subpage {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 2rem;
  align-items: center;
  min-height: 430px;
  margin-top: 42px;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(39, 174, 228, 0.15), transparent 58%),
    var(--panel);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-title {
  position: relative;
  min-height: 3.6em;
  transition: opacity 320ms ease, transform 320ms ease, filter 320ms ease;
}

.hero-title::after {
  position: absolute;
  left: 0;
  bottom: -0.18em;
  width: min(3.2em, 72%);
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 999px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
}

.hero-title.is-switching {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(10px);
}

.hero-title.is-revealing::after {
  animation: titleUnderline 780ms ease;
}

@keyframes titleUnderline {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.96;
}

h4 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  font-weight: 800;
}

.button.primary {
  color: #041014;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.button.secondary {
  background: var(--panel);
}

.monitor-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  isolation: isolate;
}

.monitor-stage::before {
  position: absolute;
  width: min(82vw, 640px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(39, 174, 228, 0.14), transparent),
    linear-gradient(0deg, rgba(127, 220, 255, 0.08), transparent);
  border-radius: 50%;
  content: "";
  z-index: -2;
}

.monitor-orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  z-index: -1;
}

.monitor-orbit--one {
  width: min(76vw, 560px);
  aspect-ratio: 1.35;
  transform: rotate(-9deg);
}

.monitor-orbit--two {
  width: min(68vw, 470px);
  aspect-ratio: 1.75;
  transform: rotate(14deg);
}

.monitor {
  width: min(94%, 660px);
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, 0.34));
  transform: translateY(8px);
  image-rendering: auto;
}

.monitor-gallery-trigger {
  position: relative;
  display: grid;
  place-items: center;
  width: min(94%, 660px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.monitor-gallery-trigger .monitor {
  width: 100%;
}

.monitor-gallery-trigger:hover .monitor,
.monitor-gallery-trigger:focus-visible .monitor {
  filter: drop-shadow(0 34px 40px rgba(0, 0, 0, 0.4)) saturate(1.04);
}

.monitor-gallery-trigger:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 8px;
  border-radius: 8px;
}

.monitor-hint {
  position: absolute;
  right: 8%;
  bottom: 9%;
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--text);
  background: color-mix(in srgb, var(--panel-strong) 84%, transparent);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.monitor-gallery-trigger:hover .monitor-hint,
.monitor-gallery-trigger:focus-visible .monitor-hint {
  opacity: 1;
  transform: translateY(0);
}

.monitor--light {
  display: none;
}

[data-theme="light"] .monitor--dark {
  display: none;
}

[data-theme="light"] .monitor--light {
  display: block;
}

.monitor-badge {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-strong) 90%, transparent);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-weight: 900;
}

.monitor-badge--top {
  top: 15%;
  right: 8%;
  color: var(--brand);
}

.monitor-badge--bottom {
  bottom: 18%;
  left: 4%;
  color: #ffb35b;
}

[data-theme="light"] .monitor-badge--bottom {
  color: #c46a13;
}

.story-section {
  padding-top: 18px;
  padding-bottom: 46px;
}

.story-card {
  padding: clamp(1.35rem, 3.2vw, 2.1rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(39, 174, 228, 0.12), transparent 52%),
    color-mix(in srgb, var(--panel) 84%, transparent);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-card__grid {
  display: grid;
  grid-template-columns: minmax(400px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.2rem, 5vw, 4.2rem);
  align-items: start;
}

.story-year {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--brand-2);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 0.9;
}

.story-card h2 {
  max-width: 17ch;
  font-size: clamp(1.72rem, 2.55vw, 2.45rem);
  line-height: 1.06;
  overflow-wrap: break-word;
}

.story-copy {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.68;
}

.story-copy h3 {
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.story-copy p {
  margin-bottom: 0;
}

.story-copy p + p {
  margin-top: 1rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
}

.subpage .section {
  width: 100%;
}

.page-section {
  padding: 42px 0;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: 8px;
}

.intro-strip div {
  min-height: 120px;
  padding: 28px;
  background: var(--panel);
}

.benefit {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.35rem;
  border: 1px solid color-mix(in srgb, var(--brand) 48%, var(--line));
  background:
    linear-gradient(135deg, rgba(39, 174, 228, 0.2), rgba(127, 220, 255, 0.12)),
    var(--panel-strong);
  border-radius: 8px;
  color: var(--brand-2);
  font-size: 1.65rem;
  line-height: 1;
}

.benefit-icon::before {
  display: block;
  font-size: inherit;
  line-height: 1;
}

.intro-strip strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.6rem;
}

.intro-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.function-section {
  display: grid;
  gap: 2rem;
}

.function-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  border-radius: 8px;
}

.function-row {
  display: grid;
  grid-template-columns: 48px minmax(130px, 0.52fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 86px;
  padding: 1rem 1.15rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.function-row:nth-child(2n) {
  border-right: 0;
}

.function-row:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.function-row span {
  color: var(--brand-2);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.function-row h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.2;
}

.function-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tab-button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--panel);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tab-button:hover,
.tab-button.active {
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  background: rgba(39, 174, 228, 0.14);
  transform: translateY(-1px);
}

.product-panel {
  display: grid;
  gap: 1rem;
  animation: panelIn 260ms ease;
}

.version-grid,
.detail-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.youtube-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(360px, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.youtube-feature h3 {
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.youtube-feature p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.youtube-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  border-radius: 8px;
}

.youtube-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section-separator {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1rem;
  color: var(--brand-2);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-separator::before,
.section-separator::after {
  flex: 1;
  height: 1px;
  background: var(--line);
  content: "";
}

.section-separator--after {
  margin-top: 3rem;
}

.customer-examples {
  padding: 1.2rem;
  border: 1px dashed color-mix(in srgb, var(--brand) 42%, var(--line));
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  border-radius: 8px;
}

.customer-examples p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.version-card {
  min-height: 320px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.version-card span,
.example-tile span,
.example-card h3 {
  color: var(--brand-2);
  font-weight: 900;
}

.version-card h3 {
  margin-top: 2.2rem;
}

.version-card p {
  color: var(--muted);
  line-height: 1.6;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.product-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  min-height: 280px;
  padding: clamp(1.2rem, 4vw, 2.5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  isolation: isolate;
}

.product-hero::before,
.product-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  z-index: 0;
}

.product-hero::before {
  background-image: var(--product-header-image);
  background-position: center;
  background-size: cover;
  opacity: 0.32;
  filter: blur(8px) saturate(1.12);
  transform: scale(1.06);
  transition: opacity 260ms ease, filter 260ms ease, transform 260ms ease;
}

.product-hero::after {
  background:
    linear-gradient(90deg, var(--hero-veil), transparent 72%),
    linear-gradient(135deg, rgba(39, 174, 228, 0.18), transparent 54%),
    linear-gradient(45deg, rgba(127, 220, 255, 0.1), transparent);
  backdrop-filter: blur(2px);
  transition: opacity 260ms ease, backdrop-filter 260ms ease;
}

.product-hero:hover::before,
.product-hero:focus-within::before {
  opacity: 0.58;
  filter: blur(3px) saturate(1.18);
  transform: scale(1.03);
}

.product-hero:hover::after,
.product-hero:focus-within::after {
  opacity: 0.46;
  backdrop-filter: blur(0);
}

.product-hero > * {
  position: relative;
  z-index: 1;
}

.product-hero--2026 {
  --product-header-image: url("images/Header2026.jpg");
}

.product-hero--2024 {
  --product-header-image: url("images/Header2024.jpg");
}

.product-hero--2019 {
  --product-header-image: url("images/Header2019.png");
}

[data-theme="light"] .product-hero::before {
  opacity: 0.38;
}

[data-theme="light"] .product-hero:hover::before,
[data-theme="light"] .product-hero:focus-within::before {
  opacity: 0.66;
}

.product-hero--fresh {
  background:
    linear-gradient(135deg, rgba(39, 174, 228, 0.24), transparent 56%),
    linear-gradient(45deg, rgba(127, 220, 255, 0.16), transparent),
    var(--panel);
}

.product-hero--blue {
  background:
    linear-gradient(135deg, rgba(39, 174, 228, 0.22), transparent 60%),
    linear-gradient(45deg, rgba(127, 220, 255, 0.12), transparent),
    var(--panel);
}

.product-hero--classic {
  background:
    linear-gradient(135deg, rgba(39, 174, 228, 0.18), transparent 58%),
    linear-gradient(45deg, rgba(31, 127, 184, 0.14), transparent),
    var(--panel);
}

.product-hero p:not(.eyebrow) {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.62;
}

.download-stack {
  display: grid;
  gap: 0.7rem;
  min-width: min(100%, 260px);
}

.download-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-strong) 78%, transparent);
  color: var(--text);
  font-weight: 800;
}

.download-link:hover {
  border-color: var(--brand);
  transform: translateX(3px);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.video-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.video-groups--single {
  grid-template-columns: minmax(0, 420px);
}

.video-groups--legacy {
  align-items: start;
}

.video-groups--stacked {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.video-group {
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-group h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.video-subhead {
  margin-top: 1rem;
  padding-top: 0.35rem;
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-subhead + a {
  border-top: 0;
}

.video-group a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  align-items: center;
  min-height: 42px;
  padding: 0.45rem 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.video-group a:hover {
  color: var(--brand);
}

.video-group span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 0.45rem;
  color: var(--text);
  background: rgba(39, 174, 228, 0.13);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.video-group--update-accent span {
  color: #f0c7c2;
  background: color-mix(in srgb, #5f2424 42%, var(--panel-strong));
  border-color: color-mix(in srgb, #9f4a42 32%, var(--line));
}

.video-group--start-accent span {
  color: #ffe6ad;
  background: color-mix(in srgb, #8b6418 38%, var(--panel-strong));
  border-color: color-mix(in srgb, #d69b25 34%, var(--line));
}

@media (min-width: 901px) {
  .video-groups--stacked {
    display: grid;
    align-items: start;
  }
}

.info-card,
.video-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.info-card {
  min-height: 250px;
  padding: 1.35rem;
}

.info-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.info-card a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.info-card .runtime-link {
  display: inline;
  padding: 0;
  color: var(--brand-2);
  border-bottom: 0;
}

.info-card a[data-filetype]::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 26px;
  padding: 0 0.45rem;
  color: var(--text);
  background: rgba(39, 174, 228, 0.13);
  border: 1px solid var(--line);
  border-radius: 8px;
  content: attr(data-filetype);
  font-size: 0.78rem;
  font-weight: 900;
}

.info-card a:hover,
.video-list a:hover {
  color: var(--brand);
}

.download-card {
  background:
    linear-gradient(135deg, rgba(39, 174, 228, 0.14), transparent 58%),
    var(--panel);
}

.download-card h4 {
  color: var(--brand-2);
}

.video-card {
  overflow: hidden;
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-card div {
  padding: 1.2rem;
}

.video-card span {
  color: var(--brand-2);
  font-weight: 900;
  text-transform: uppercase;
}

.video-card a {
  display: inline-flex;
  margin-top: 0.3rem;
  color: var(--brand);
  font-weight: 900;
}

.video-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.video-list a {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.example-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.example-tile,
.example-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.example-tile img {
  width: 100%;
  aspect-ratio: 1480 / 1052;
  object-fit: contain;
  background: #ffffff;
}

.example-card img {
  width: 100%;
  aspect-ratio: 1480 / 1052;
  object-fit: contain;
  background: #ffffff;
}

.example-tile span {
  display: block;
  padding: 1rem;
}

.example-card h3,
.example-card p {
  padding: 0 1rem;
}

.example-card h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
}

.example-card p {
  color: var(--muted);
  line-height: 1.55;
  padding-bottom: 1rem;
}

.example-card {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(3, 7, 10, 0.88);
  backdrop-filter: blur(4px);
}

.lightbox.open {
  display: flex;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox__panel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  width: min(96vw, 2200px);
  max-height: calc(100vh - 28px);
}

.lightbox__image {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 84px);
  object-fit: contain;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
  image-rendering: auto;
}

.monitor-lightbox .lightbox__image {
  max-height: calc(100vh - 72px);
}

.lightbox__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  color: var(--text);
  font-weight: 800;
}

.lightbox__counter {
  color: var(--muted);
  font-size: 0.95rem;
}

.lightbox__button {
  position: absolute;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  color: var(--text);
  background: color-mix(in srgb, var(--panel-strong) 84%, transparent);
  border-radius: 8px;
  cursor: pointer;
}

.lightbox__button:hover {
  border-color: var(--brand);
}

.lightbox__close {
  top: -58px;
  right: 0;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev {
  left: -62px;
}

.lightbox__next {
  right: -62px;
}

.portrait {
  width: min(100%, 260px);
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.qr-card img {
  width: min(100%, 220px);
  margin-top: 1rem;
  border-radius: 8px;
}

.legal {
  max-width: 920px;
  color: var(--muted);
  line-height: 1.72;
}

.legal h2,
.legal h3 {
  color: var(--text);
}

.legal h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1.22rem;
}

.legal a,
.info-card p a {
  color: var(--brand);
}

.gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer a:hover {
  color: var(--brand);
}

.footer-support {
  flex-basis: 100%;
  color: color-mix(in srgb, var(--muted) 68%, var(--bg));
  font-size: 0.86rem;
  text-align: center;
}

.footer-support a {
  color: inherit;
  text-decoration: none;
}

.footer-support a:hover {
  color: var(--muted);
}

@media (max-width: 900px) {
  .topbar,
  .hero,
  .story-card__grid,
  .page-hero,
  .section-heading,
  .product-hero,
  .panel-grid,
  .version-grid,
  .detail-grid,
  .contact-grid,
  .youtube-feature,
  .video-groups,
  .gallery-grid,
  .example-showcase,
  .example-grid,
  .function-list,
  .intro-strip {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: sticky;
    grid-template-columns: 1fr auto auto;
    top: 10px;
    align-items: center;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    order: 4;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    justify-content: stretch;
    overflow: visible;
    padding-top: 0.6rem;
    border-top: 1px solid var(--line);
  }

  .menu-open .nav {
    display: grid;
  }

  .nav-item {
    display: grid;
    gap: 0.45rem;
  }

  .nav-item--dropdown::after {
    display: none;
  }

  .nav-item--dropdown {
    align-items: stretch;
  }

  .nav-item--dropdown > .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .nav-submenu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0.35rem;
    margin-left: 1rem;
    background: color-mix(in srgb, var(--panel) 74%, transparent);
    box-shadow: none;
    transform: none;
  }

  .nav-item--dropdown.open .nav-submenu {
    display: grid;
  }

  .nav-submenu a {
    min-height: 42px;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--panel) 75%, transparent);
  }

  .theme-toggle {
    justify-self: end;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 22px;
  }

  h1 {
    max-width: 12ch;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3.4rem);
  }

  h3 {
    font-size: clamp(1.7rem, 8vw, 2.6rem);
  }

  .monitor-stage {
    min-height: 420px;
  }

  .monitor-badge--top {
    right: 0;
  }

  .monitor-badge--bottom {
    left: 0;
    bottom: 12%;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .example-showcase,
  .example-grid,
  .function-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .portrait {
    justify-self: start;
  }
}

@media (max-width: 980px) {
  .story-card__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .story-card h2 {
    max-width: 15ch;
  }
}

@media (max-width: 560px) {
  .topbar,
  .hero,
  .subpage,
  .section {
    width: min(100% - 20px, 1180px);
  }

  .topbar {
    width: min(100% - 16px, 1180px);
    margin-top: 8px;
    padding: 8px;
    gap: 0.55rem;
  }

  .cookie-notice {
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
    padding: 0.9rem;
  }

  .cookie-notice__actions {
    justify-content: stretch;
  }

  .cookie-notice__button,
  .cookie-notice__link {
    justify-content: center;
    flex: 1 1 100%;
  }

  .cookie-settings {
    right: 10px;
    bottom: 10px;
  }

  .brand {
    gap: 0.45rem;
    min-width: 0;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .brand span {
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .nav-link {
    font-size: 0.98rem;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.7rem, 15vw, 3.35rem);
    line-height: 0.95;
  }

  .lead {
    font-size: 1.03rem;
  }

  .button,
  .download-link,
  .tab-button {
    width: 100%;
  }

  .download-link,
  .button {
    min-height: 50px;
  }

  .monitor-stage {
    min-height: 260px;
    margin-top: 0.5rem;
  }

  .monitor-badge {
    padding: 7px 9px;
    font-size: 0.72rem;
  }

  .monitor-badge--top {
    top: 6%;
  }

  .monitor-badge--bottom {
    bottom: 8%;
  }

  .section {
    padding: 42px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .example-showcase,
  .example-grid,
  .function-list {
    grid-template-columns: 1fr;
  }

  .function-row,
  .function-row:nth-child(2n),
  .function-row:nth-last-child(-n + 2) {
    grid-template-columns: 42px 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .function-row:last-child {
    border-bottom: 0;
  }

  .function-row p {
    grid-column: 2;
  }

  .gallery-grid img {
    height: 240px;
  }

  .page-hero {
    min-height: auto;
    margin-top: 18px;
    padding: 1.15rem;
  }

  .story-section {
    padding-top: 12px;
    padding-bottom: 34px;
  }

  .story-card h2 {
    max-width: 12ch;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .video-group a {
    grid-template-columns: 58px 1fr;
    min-height: 48px;
    gap: 0.55rem;
    font-size: 0.95rem;
  }

  .video-group,
  .info-card,
  .version-card {
    min-height: auto;
    padding: 1rem;
  }

  .version-card h3 {
    margin-top: 1.4rem;
  }

  .youtube-feature {
    padding: 0.85rem;
  }

  .section-separator {
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }

  .example-card h3,
  .example-card p,
  .example-tile span {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox__panel {
    width: 100%;
  }

  .lightbox__image {
    max-height: 72vh;
  }

  .lightbox__button {
    width: 42px;
    height: 42px;
  }

  .lightbox__close {
    top: 8px;
    right: 8px;
  }

  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 56px;
    transform: none;
  }

  .lightbox__prev {
    left: 14px;
  }

  .lightbox__next {
    right: 14px;
  }

  .footer {
    justify-content: flex-start;
    width: min(100% - 20px, 1180px);
    padding-bottom: 32px;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 0.78rem;
  }

  .theme-toggle,
  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 2.55rem;
  }
}
