:root {
  --bg: #ffffff;
  --surface: rgb(250 251 247 / 0.64);
  --surface-soft: rgb(244 246 241 / 0.56);
  --text: #20241f;
  --muted: #697069;
  --line: rgb(255 255 255 / 0.62);
  --accent: #76526b;
  --accent-strong: #5f4057;
  --docs-ink: #20241f;
  --docs-body: #414841;
  --docs-muted: #6c736c;
  --docs-line: rgb(255 255 255 / 0.58);
  --docs-blue: #76526b;
  --docs-blue-soft: rgb(118 82 107 / 0.1);
  --docs-surface: #ffffff;
  --docs-sidebar: rgb(247 248 244 / 0.58);
  --docs-code: #29242a;
  --glass-fill: rgb(250 251 247 / 0.58);
  --glass-fill-strong: rgb(252 253 249 / 0.76);
  --glass-fill-soft: rgb(245 247 242 / 0.44);
  --glass-edge: rgb(255 255 255 / 0.66);
  --glass-edge-soft: rgb(255 255 255 / 0.42);
  --glass-highlight: inset 0 1px 0 rgb(255 255 255 / 0.78), inset 0 -1px 0 rgb(255 255 255 / 0.22);
  --glass-shadow: 0 18px 52px rgb(54 48 53 / 0.11), 0 3px 12px rgb(54 48 53 / 0.05);
  --glass-shadow-lifted: 0 28px 80px rgb(54 48 53 / 0.16), 0 7px 20px rgb(54 48 53 / 0.07);
  --glass-radius: 14px;
  --glass-control-radius: 9px;
}

html.dark,
.dark,
body.template-performance-dark,
body.template-steam-showcase {
  --bg: #121512 !important;
  --surface: rgb(29 33 29 / 0.64) !important;
  --surface-soft: rgb(35 40 35 / 0.56) !important;
  --text: #f0f3ed !important;
  --muted: #abb2aa !important;
  --line: rgb(255 255 255 / 0.12) !important;
  --accent: #c18bab !important;
  --accent-strong: #d2a5c0 !important;
  --docs-ink: #f0f3ed !important;
  --docs-body: #cbd1ca !important;
  --docs-muted: #a8b0a7 !important;
  --docs-line: rgb(255 255 255 / 0.12) !important;
  --docs-blue: #c18bab !important;
  --docs-blue-soft: rgb(193 139 171 / 0.14) !important;
  --docs-surface: #121512 !important;
  --docs-sidebar: rgb(27 31 27 / 0.6) !important;
  --docs-code: #0f120f !important;
  --glass-fill: rgb(29 33 29 / 0.58);
  --glass-fill-strong: rgb(33 38 33 / 0.76);
  --glass-fill-soft: rgb(38 43 38 / 0.42);
  --glass-edge: rgb(255 255 255 / 0.15);
  --glass-edge-soft: rgb(255 255 255 / 0.09);
  --glass-highlight: inset 0 1px 0 rgb(255 255 255 / 0.16), inset 0 -1px 0 rgb(255 255 255 / 0.04);
  --glass-shadow: 0 20px 58px rgb(0 0 0 / 0.28), 0 4px 14px rgb(0 0 0 / 0.16);
  --glass-shadow-lifted: 0 30px 90px rgb(0 0 0 / 0.4), 0 8px 22px rgb(0 0 0 / 0.2);
}

html {
  background: var(--bg);
}

body,
.extensions-page,
body.template-steam-showcase {
  min-height: 100dvh;
  color: var(--text, var(--docs-ink));
  background:
    radial-gradient(circle at 10% 4%, rgb(118 82 107 / 0.16), transparent 30rem),
    radial-gradient(circle at 88% 16%, rgb(84 122 99 / 0.12), transparent 28rem),
    radial-gradient(circle at 54% 94%, rgb(180 124 56 / 0.1), transparent 32rem),
    var(--bg, var(--docs-surface)) !important;
  background-attachment: fixed !important;
}

html:not(.dark):not([data-theme="dark"]) body:not(.template-performance-dark):not(.template-steam-showcase),
html:not(.dark):not([data-theme="dark"]) .extensions-page {
  background: #ffffff !important;
}

:where(.site-header,.docs-header,.topbar) {
  border-color: var(--glass-edge-soft) !important;
  background: var(--glass-fill) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) contrast(1.04) !important;
  backdrop-filter: blur(28px) saturate(160%) contrast(1.04) !important;
  box-shadow: var(--glass-highlight), 0 8px 28px rgb(54 48 53 / 0.07) !important;
}

:where(.site-header,.docs-header) :where(.icon-button,.home-link),
:where(.header-tools,.docs-actions) :where(button,a) {
  border: 1px solid var(--glass-edge) !important;
  border-radius: var(--glass-control-radius) !important;
  background: var(--glass-fill-soft) !important;
  box-shadow: var(--glass-highlight) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

:where(.site-header,.docs-header) :where(.icon-button,.home-link):hover,
:where(.header-tools,.docs-actions) :where(button,a):hover {
  border-color: color-mix(in srgb, var(--accent, var(--docs-blue)) 38%, var(--glass-edge)) !important;
  background: var(--glass-fill-strong) !important;
  color: var(--accent, var(--docs-blue)) !important;
  transform: translateY(-1px);
}

.site-header nav a,
.docs-brand,
.home-link {
  color: var(--text, var(--docs-ink)) !important;
}

.site-header nav a:hover,
.docs-brand:hover {
  color: var(--accent, var(--docs-blue)) !important;
}

:where(.hero-copy,.hero-product-stage,.hero-carousel-tabs,.scene-copy,.scene-visual,.matrix-grid article,.download-center-inner,.download-recommendation,.system-row,.theme-control,.mobile-nav,.mobile-download,.footer-inner,.carousel-tabs,.entry-grid a,.resource-grid a,.download-section,.customer-service,.download-dialog-panel,.site-toast,.extension-showcase-tools dl,.extension-showcase-search,.extension-showcase-item,.runtime-popup-panel,.docs-article,.search-results,.docs-empty,.search-item,.related-docs a,.docs-share-dialog,.doc-image-dialog,.extension-center-item,.extension-detail-dialog) {
  border: 1px solid var(--glass-edge) !important;
  border-radius: var(--glass-radius) !important;
  background: var(--glass-fill) !important;
  -webkit-backdrop-filter: blur(24px) saturate(155%) contrast(1.03) !important;
  backdrop-filter: blur(24px) saturate(155%) contrast(1.03) !important;
  box-shadow: var(--glass-highlight), var(--glass-shadow) !important;
}

.hero-copy {
  padding: clamp(26px, 4vw, 42px);
}

body.template-steam-showcase .hero {
  background: transparent !important;
}

body.template-steam-showcase .hero::after {
  background: linear-gradient(140deg, rgb(193 139 171 / 0.12), rgb(84 122 99 / 0.08)) !important;
  opacity: 1 !important;
}

body.template-steam-showcase .hero-copy {
  width: min(520px, 46vw);
}

body.template-steam-showcase :where(.showcase,.content-section,.image-text,.download-section) {
  border-color: var(--glass-edge-soft) !important;
  background: transparent !important;
}

body.template-steam-showcase :where(.hero p,.hero-meta-row,.carousel-tabs button,.carousel-stage figcaption,.entry-grid span,.resource-grid p,.content-section header p,.image-text p,.download-section p,.download-section small,.site-footer) {
  color: var(--muted) !important;
}

body.template-steam-showcase :where(.showcase h2,.content-section h2,.image-text h2,.download-section h2,.site-footer strong) {
  color: var(--text) !important;
}

body.template-steam-showcase .carousel-stage {
  border: 1px solid var(--glass-edge) !important;
  border-radius: var(--glass-radius) !important;
  background: var(--glass-fill-soft) !important;
  box-shadow: var(--glass-highlight), var(--glass-shadow) !important;
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

body.template-steam-showcase .carousel-tabs button.active,
body.template-steam-showcase .carousel-tabs button:hover {
  border-radius: 8px !important;
  background: rgb(193 139 171 / 0.14) !important;
  color: var(--accent-strong) !important;
}

body.template-steam-showcase :where(.site-footer,.download-progress,.site-toast) {
  border-color: var(--glass-edge-soft) !important;
  background: var(--glass-fill-soft) !important;
}

:where(.entry-grid a,.resource-grid a,.extension-showcase-item,.extension-center-item,.related-docs a,.search-item):hover {
  border-color: color-mix(in srgb, var(--accent, var(--docs-blue)) 42%, var(--glass-edge)) !important;
  background: var(--glass-fill-strong) !important;
  box-shadow: var(--glass-highlight), var(--glass-shadow-lifted) !important;
  transform: translateY(-3px);
}

.site-button,
.download-center-button,
.header-primary,
.header-ghost,
.runtime-popup-button.primary,
.dialog-button.primary {
  border: 1px solid rgb(255 255 255 / 0.34) !important;
  border-radius: var(--glass-control-radius) !important;
  color: #faf8f9 !important;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.18), transparent 45%),
    rgb(118 82 107 / 0.9) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.34), 0 10px 24px rgb(118 82 107 / 0.2) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}

.site-button:hover,
.download-center-button:hover,
.header-primary:hover,
.header-ghost:hover,
.runtime-popup-button.primary:hover,
.dialog-button.primary:hover {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.22), transparent 48%),
    rgb(95 64 87 / 0.94) !important;
  transform: translateY(-2px);
}

:where(input,textarea,select,.docs-search,.extension-showcase-search input,.doc-share-link input) {
  border-color: var(--glass-edge) !important;
  border-radius: var(--glass-control-radius) !important;
  background: var(--glass-fill-soft) !important;
  color: var(--text, var(--docs-ink)) !important;
  box-shadow: var(--glass-highlight) !important;
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

:where(input,textarea,select,.docs-search):focus-within,
:where(input,textarea,select):focus {
  border-color: color-mix(in srgb, var(--accent, var(--docs-blue)) 55%, var(--glass-edge)) !important;
  box-shadow: var(--glass-highlight), 0 0 0 3px color-mix(in srgb, var(--accent, var(--docs-blue)) 14%, transparent) !important;
}

.docs-search input {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.runtime-announcement,
.module-announcement {
  color: var(--accent-strong) !important;
  background: rgb(118 82 107 / 0.1) !important;
  border-bottom: 1px solid rgb(118 82 107 / 0.12);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.download-section {
  border-color: rgb(118 82 107 / 0.2) !important;
  background:
    linear-gradient(135deg, rgb(118 82 107 / 0.12), rgb(84 122 99 / 0.08)),
    var(--glass-fill) !important;
}

.docs-sidebar,
.article-toc,
.extensions-sidebar {
  border-color: var(--glass-edge-soft) !important;
  background: var(--glass-fill-soft) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: inset -1px 0 0 var(--glass-edge-soft);
}

.docs-article,
.search-results,
.docs-empty {
  padding: clamp(24px, 4vw, 44px);
}

.nav-group a,
.nav-subgroup summary,
.extension-category-nav button,
.article-toc nav a {
  border-radius: 8px !important;
}

.nav-group a.active,
.extension-category-nav button.active,
.carousel-tabs button.active {
  border-color: rgb(118 82 107 / 0.18) !important;
  background: rgb(118 82 107 / 0.12) !important;
  color: var(--docs-blue) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.24) !important;
}

.extensions-main {
  background: transparent !important;
}

.extensions-overview,
.extension-results {
  border: 1px solid var(--glass-edge);
  border-radius: var(--glass-radius);
  padding: clamp(22px, 3vw, 34px);
  background: var(--glass-fill-soft);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.extension-results {
  margin-top: 18px;
}

.extension-center-cover,
.extension-detail-cover,
.extension-detail-footer {
  border-color: var(--glass-edge-soft) !important;
  background: var(--glass-fill-soft) !important;
}

.extension-center-badges span,
.extension-center-badges b {
  border-radius: 7px !important;
}

:where(.runtime-popup-dialog,.extension-detail-dialog,.docs-share-dialog,.doc-image-dialog)::backdrop,
.download-dialog {
  background: rgb(24 20 23 / 0.5) !important;
  -webkit-backdrop-filter: blur(16px) saturate(125%) !important;
  backdrop-filter: blur(16px) saturate(125%) !important;
}

.runtime-popup-panel,
.extension-detail-dialog,
.docs-share-dialog,
.doc-image-dialog,
.download-dialog-panel {
  border-radius: 16px !important;
  box-shadow: var(--glass-highlight), var(--glass-shadow-lifted) !important;
}

.runtime-popup-actions,
.extension-detail-footer,
.dialog-header,
.doc-image-toolbar {
  border-color: var(--glass-edge-soft) !important;
  background: var(--glass-fill-soft) !important;
}

.article-body blockquote,
.article-body pre,
.article-body table,
.dialog-device,
.detail-list,
.unbind-breakdown {
  border-color: var(--glass-edge) !important;
  border-radius: 11px !important;
  background: var(--glass-fill-soft) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2);
}

.customer-service {
  border-radius: 12px !important;
}

.preview-ribbon,
.site-toast {
  border-radius: 9px !important;
}

:where(a,button,input,textarea,select,summary,[role="button"]) {
  transition: color 220ms ease, border-color 220ms ease, background-color 260ms ease, box-shadow 320ms ease, transform 360ms cubic-bezier(.16,1,.3,1);
}

:where(a,button,[role="button"]):active {
  transform: translateY(0) scale(0.98);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  :where(.site-header,.docs-header,.topbar,.hero-copy,.entry-grid a,.resource-grid a,.download-section,.customer-service,.download-dialog-panel,.extension-showcase-item,.runtime-popup-panel,.docs-article,.search-results,.docs-empty,.extension-center-item,.extension-detail-dialog) {
    background: #ffffff !important;
  }
  html.dark :where(.site-header,.docs-header,.topbar,.hero-copy,.entry-grid a,.resource-grid a,.download-section,.customer-service,.download-dialog-panel,.extension-showcase-item,.runtime-popup-panel,.docs-article,.search-results,.docs-empty,.extension-center-item,.extension-detail-dialog) {
    background: #1d211d !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  :where(.site-header,.docs-header,.topbar,.hero-copy,.entry-grid a,.resource-grid a,.download-section,.customer-service,.download-dialog-panel,.extension-showcase-item,.runtime-popup-panel,.docs-article,.search-results,.docs-empty,.extension-center-item,.extension-detail-dialog) {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: #ffffff !important;
  }
  html.dark :where(.site-header,.docs-header,.topbar,.hero-copy,.entry-grid a,.resource-grid a,.download-section,.customer-service,.download-dialog-panel,.extension-showcase-item,.runtime-popup-panel,.docs-article,.search-results,.docs-empty,.extension-center-item,.extension-detail-dialog) {
    background: #1d211d !important;
  }
}

@media (max-width: 900px) {
  .site-header nav {
    border: 1px solid var(--glass-edge) !important;
    border-radius: 12px !important;
    background: var(--glass-fill-strong) !important;
    -webkit-backdrop-filter: blur(26px) saturate(160%);
    backdrop-filter: blur(26px) saturate(160%);
    box-shadow: var(--glass-highlight), var(--glass-shadow-lifted) !important;
  }
  .hero-copy {
    padding: 26px 22px;
  }
  body.template-steam-showcase .hero-copy {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .docs-article,
  .search-results,
  .docs-empty,
  .extensions-overview,
  .extension-results {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .docs-sidebar,
  .extensions-sidebar {
    background: var(--glass-fill-strong) !important;
    box-shadow: var(--glass-highlight), var(--glass-shadow-lifted) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(a,button,input,textarea,select,summary,[role="button"]) {
    transition: none !important;
  }
}

/* Homepage composition keeps glass on controls, not on content blocks. */
body.legacy-home {
  --blue: #76526b;
  --blue-dark: #5f4057;
  --blue-soft: #f0ecef;
  --ink: #20241f;
  --muted: #697069;
  --line: #d9ddd5;
  --surface: #f9faf6;
  background: #ffffff !important;
}

html[data-theme="dark"] body.legacy-home {
  --blue: #c18bab;
  --blue-dark: #d2a5c0;
  --blue-soft: #30232d;
  --ink: #f0f3ed;
  --muted: #abb2aa;
  --line: #353a35;
  --surface: #1b1f1b;
  --glass-fill: rgb(29 33 29 / 0.72);
  --glass-fill-strong: rgb(33 38 33 / 0.84);
  --glass-fill-soft: rgb(38 43 38 / 0.56);
  --glass-edge: rgb(255 255 255 / 0.15);
  --glass-edge-soft: rgb(255 255 255 / 0.09);
  --glass-highlight: inset 0 1px 0 rgb(255 255 255 / 0.14), inset 0 -1px 0 rgb(255 255 255 / 0.03);
  --glass-shadow: 0 16px 44px rgb(0 0 0 / 0.24), 0 3px 12px rgb(0 0 0 / 0.14);
  --glass-shadow-lifted: 0 24px 70px rgb(0 0 0 / 0.34), 0 6px 18px rgb(0 0 0 / 0.18);
  background: #121512 !important;
}

body.legacy-home .theme-control {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body.legacy-home .theme-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid var(--glass-edge) !important;
  border-radius: 9px;
  color: var(--ink);
  background: var(--glass-fill-soft) !important;
  box-shadow: var(--glass-highlight), 0 5px 14px rgb(0 0 0 / 0.12) !important;
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  backdrop-filter: blur(16px) saturate(145%);
}

body.legacy-home .theme-toggle:hover {
  border-color: color-mix(in srgb, var(--blue) 42%, var(--glass-edge)) !important;
  background: var(--glass-fill-strong) !important;
}

body.legacy-home .hero {
  width: 100%;
  min-height: 920px;
  display: block;
  padding: 100px 24px 35px;
  background: #ffffff !important;
}

html[data-theme="dark"] body.legacy-home .hero {
  background:
    radial-gradient(circle at 74% 24%, rgb(193 139 171 / 0.12), transparent 30rem),
    radial-gradient(circle at 12% 84%, rgb(84 122 99 / 0.08), transparent 26rem),
    #151815 !important;
}

body.legacy-home .hero-copy,
body.legacy-home .hero-product-stage,
body.legacy-home .scene-copy,
body.legacy-home .scene-visual,
body.legacy-home .matrix-grid article,
body.legacy-home .download-center-inner,
body.legacy-home .download-recommendation,
body.legacy-home .footer-inner {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body.legacy-home .hero-copy {
  max-width: 780px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

body.legacy-home .hero h1 {
  margin-top: 18px;
  font-size: clamp(54px, 5.4vw, 78px);
  letter-spacing: -0.045em;
}

body.legacy-home .hero-slogan {
  font-size: clamp(26px, 2.3vw, 34px);
  letter-spacing: -0.025em;
}

body.legacy-home .hero-description {
  max-width: 500px;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 1.8;
}

body.legacy-home .hero-download,
body.legacy-home .download-center-button {
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 9px;
  color: #faf8f9;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.16), transparent 48%),
    rgb(118 82 107 / 0.94);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28), 0 12px 28px rgb(118 82 107 / 0.18);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}

body.legacy-home .hero-download:hover,
body.legacy-home .download-center-button:hover {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.18), transparent 48%),
    rgb(95 64 87 / 0.96);
}

body.legacy-home .hero-meta {
  justify-content: center;
}

body.legacy-home .hero-product {
  width: min(100%, 750px);
  margin: 25px auto 0;
}

body.legacy-home .hero-product-stage {
  filter: none;
}

body.legacy-home .hero-slide img {
  filter: none;
}

body.legacy-home .hero-carousel-tabs {
  position: static;
  width: fit-content;
  margin: 12px auto 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transform: none;
}

body.legacy-home .hero-carousel-tabs button {
  min-width: 58px;
  min-height: 32px;
  padding: 0 7px 5px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.legacy-home .hero-carousel-tabs button::before {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--line);
}

body.legacy-home .hero-carousel-tabs button.active {
  color: var(--blue);
  background: transparent;
  box-shadow: none;
}

body.legacy-home .hero-carousel-tabs button.active::before {
  width: 30px;
  background: var(--blue);
}

body.legacy-home .scene-inner {
  grid-template-columns: minmax(340px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(54px, 6vw, 86px);
}

body.legacy-home .scene-reverse {
  grid-template-columns: minmax(0, 1.24fr) minmax(340px, 0.76fr);
}

body.legacy-home .scene-visual picture {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.legacy-home .scene-visual img {
  border-radius: 9px;
  filter: none;
}

body.legacy-home .scene-index {
  top: -4px;
  right: 0;
  min-width: 38px;
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--glass-edge);
  border-radius: 8px;
  padding: 0 8px;
  color: var(--muted);
  background: var(--glass-fill-soft);
  box-shadow: var(--glass-highlight);
  font-size: 12px;
  font-weight: 760;
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
}

body.legacy-home .scene-copy {
  padding-left: 24px;
  border-left-width: 2px;
}

body.legacy-home :where(.intro,.scene,.download-center,.site-footer) {
  background: #ffffff !important;
}

body.legacy-home .scene-resume {
  background: #ffffff !important;
}

body.legacy-home .matrix {
  background: #ffffff !important;
}

html[data-theme="dark"] body.legacy-home :where(.intro,.scene,.download-center,.site-footer) {
  background: #121512 !important;
}

html[data-theme="dark"] body.legacy-home .scene-resume {
  background: #171b17 !important;
}

html[data-theme="dark"] body.legacy-home .matrix {
  background: #151915 !important;
}

body.legacy-home .system-row {
  gap: 0;
  overflow: hidden;
  padding: 6px;
  border-color: rgb(118 82 107 / 0.12) !important;
  border-radius: 14px !important;
  background: #fbfcfa !important;
  box-shadow: 0 14px 34px rgb(54 48 53 / 0.07) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body.legacy-home .system-row > div {
  min-height: 96px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  justify-content: stretch;
  column-gap: 12px;
  padding: 16px 20px;
  border: 0;
  border-right: 1px solid rgb(118 82 107 / 0.1);
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  text-align: left;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.legacy-home .system-row > div:last-child {
  border-right: 0;
}

body.legacy-home .system-row svg {
  grid-row: 1 / 3;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 10px;
  justify-self: center;
  border: 1px solid rgb(118 82 107 / 0.12);
  border-radius: 10px;
  color: var(--accent);
  background: rgb(118 82 107 / 0.07);
}

body.legacy-home .system-row strong {
  margin: 0;
  align-self: end;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

body.legacy-home .system-row span {
  margin: 4px 0 0;
  align-self: start;
  color: var(--text);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.35;
}

html[data-theme="dark"] body.legacy-home .system-row {
  border-color: rgb(255 255 255 / 0.1) !important;
  background: #191d19 !important;
  box-shadow: 0 14px 34px rgb(0 0 0 / 0.18) !important;
}

html[data-theme="dark"] body.legacy-home .system-row > div {
  border-right-color: rgb(255 255 255 / 0.08);
}

html[data-theme="dark"] body.legacy-home .system-row svg {
  border-color: rgb(193 139 171 / 0.18);
  background: rgb(193 139 171 / 0.1);
}

@media (max-width: 1080px) {
  body.legacy-home .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: auto;
    padding-top: 104px;
  }

  body.legacy-home .hero-copy {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
  }

  body.legacy-home .hero-description {
    margin-inline: auto;
  }

  body.legacy-home .hero-meta {
    justify-content: center;
  }

  body.legacy-home .hero-product {
    width: min(100%, 750px);
    margin-inline: auto;
  }

  body.legacy-home .scene-inner,
  body.legacy-home .scene-reverse {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  body.legacy-home .scene-reverse .scene-copy,
  body.legacy-home .scene-reverse .scene-visual {
    order: initial;
  }

  body.legacy-home .scene-visual {
    width: min(100%, 820px);
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  body.legacy-home .hero {
    padding: 94px 18px 50px;
  }

  body.legacy-home .hero h1 {
    font-size: clamp(44px, 14vw, 60px);
  }

  body.legacy-home .hero-slogan {
    font-size: 24px;
  }

  body.legacy-home .hero-description {
    font-size: 14px;
  }

  body.legacy-home .hero-carousel-tabs {
    bottom: 8px;
  }

  body.legacy-home .scene-copy {
    padding-left: 18px;
  }

  body.legacy-home .scene-visual picture {
    padding: 0;
    border-radius: 0;
  }

  body.legacy-home .system-row {
    grid-template-columns: 1fr 1fr;
    padding: 5px;
  }

  body.legacy-home .system-row > div {
    min-height: 90px;
    padding: 14px 16px;
  }

  body.legacy-home .system-row > div:nth-child(2) {
    border-right: 0;
  }

  body.legacy-home .system-row > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(118 82 107 / 0.1);
  }

  html[data-theme="dark"] body.legacy-home .system-row > div:nth-child(-n + 2) {
    border-bottom-color: rgb(255 255 255 / 0.08);
  }
}
