/* HandBrake.dev local media presentation (pairs with Tailwind pages) */

.imgx-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: linear-gradient(165deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.12),
    0 22px 45px -12px rgba(15, 23, 42, 0.45);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.imgx-frame:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow:
    0 4px 6px -1px rgba(14, 165, 233, 0.12),
    0 28px 55px -12px rgba(14, 165, 233, 0.22);
}

.imgx-frame:focus-within {
  outline: 2px solid rgba(56, 189, 248, 0.7);
  outline-offset: 3px;
}

.imgx-frame-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 0;
}

.imgx-frame-inner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 420px);
  object-fit: contain;
  border-radius: 0.85rem;
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.94);
  box-sizing: border-box;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.imgx-frame:hover .imgx-frame-inner img {
  transform: scale(1.035);
}

.imgx-frame-plain {
  background: linear-gradient(180deg, #f3f6fb 0%, #e8edf5 100%);
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 18px 40px -16px rgba(15, 23, 42, 0.18);
}

.imgx-frame-plain:hover {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow:
    0 2px 4px rgba(14, 165, 233, 0.06),
    0 22px 48px -14px rgba(14, 165, 233, 0.16);
}

.imgx-frame-plain .imgx-frame-inner {
  background: transparent;
}

.imgx-frame-plain .imgx-frame-inner img {
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.94);
}

/* Home “Interface spotlight”: one primary frame (left), two stacked (right); LTR so layout matches the app UI in all locales */
.imgx-focus-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .imgx-focus-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
  }

  .imgx-focus-col {
    min-height: 0;
  }
}

.imgx-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .imgx-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.imgx-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, #e8edf5, #d8e0eb);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 40px -20px rgba(15, 23, 42, 0.25);
}

.imgx-brand-block img {
  width: min(280px, 85%);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(15, 23, 42, 0.12));
}

/* -------------------------------------------------------------------------- */
/* 2004–2009 glossy page skin (pairs with retro-chrome.css + sw9-doc-body body) */
/* -------------------------------------------------------------------------- */

body.sw9-doc-body #main-content {
  font-family: Verdana, Tahoma, "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

body.sw9-doc-body #main-content p,
body.sw9-doc-body #main-content li {
  letter-spacing: -0.015em;
}

body.sw9-doc-body #main-content h1 {
  font-size: clamp(1.65rem, 4vw, 2.35rem) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

body.sw9-doc-body #main-content h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem) !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  color: #0c2344 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

body.sw9-doc-body #main-content h3 {
  font-weight: 800 !important;
  color: #0f2942 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* --- Home hero: shiny “software launch” band --- */
body.sw9-page-landing.sw9-doc-body #main-content > section:first-child {
  position: relative;
  overflow: hidden !important;
  border-top: 2px solid rgba(251, 191, 36, 0.55);
  border-bottom: 3px solid rgba(0, 0, 0, 0.35) !important;
  background: linear-gradient(
    145deg,
    #0a1a32 0%,
    #132e52 25%,
    #1a4a6e 50%,
    #0f2744 78%,
    #050a14 100%
  ) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.12),
    inset 0 -8px 24px rgba(0, 0, 0, 0.35);
}

body.sw9-page-landing.sw9-doc-body #main-content > section:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 12% -10%, rgba(56, 189, 248, 0.45), transparent 52%),
    radial-gradient(ellipse 70% 50% at 88% 8%, rgba(249, 115, 22, 0.28), transparent 45%),
    linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.08) 48%, transparent 62%);
}

body.sw9-page-landing.sw9-doc-body #main-content > section:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 38%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
}

body.sw9-page-landing.sw9-doc-body #main-content > section:first-child > div {
  position: relative;
  z-index: 1;
}

body.sw9-page-landing.sw9-doc-body #main-content > section:first-child h1 {
  color: #fff !important;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.55),
    0 0 28px rgba(34, 211, 238, 0.25);
}

body.sw9-page-landing.sw9-doc-body #main-content > section:first-child .text-sky-200\/90,
body.sw9-page-landing.sw9-doc-body #main-content > section:first-child .text-sky-200 {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  font-weight: 800 !important;
}

body.sw9-page-landing.sw9-doc-body #main-content > section:first-child img {
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 20px rgba(34, 211, 238, 0.15));
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Same hero artwork on Download: drop framed “product shot” chrome */
body.sw9-doc-body #main-content img[src*="panel_sw_hero"] {
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Chunky hero CTAs */
body.sw9-doc-body #main-content a.inline-flex.rounded-2xl.bg-orange-500 {
  border-radius: 10px !important;
  padding: 0.7rem 1.35rem !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  background: linear-gradient(180deg, #ffc078 0%, #f97316 38%, #c2410c 100%) !important;
  color: #1a0a02 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.45),
    inset 0 -3px 8px rgba(124, 45, 18, 0.35),
    0 4px 0 rgba(124, 45, 18, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.35);
  transition:
    filter 0.12s ease,
    transform 0.08s ease;
}

body.sw9-doc-body #main-content a.inline-flex.rounded-2xl.bg-orange-500:hover {
  filter: brightness(1.06);
}

body.sw9-doc-body #main-content a.inline-flex.rounded-2xl.bg-orange-500:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 3px 10px rgba(0, 0, 0, 0.25),
    0 2px 0 rgba(124, 45, 18, 0.45);
}

body.sw9-doc-body #main-content a.inline-flex.rounded-2xl.border.border-white\/20 {
  border-radius: 10px !important;
  padding: 0.7rem 1.35rem !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(15, 23, 42, 0.55) 100%) !important;
  color: #f8fafc !important;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 6px rgba(0, 0, 0, 0.35),
    0 3px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: none !important;
}

body.sw9-doc-body #main-content a.inline-flex.rounded-2xl.border.border-white\/20:hover {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.25) 0%, rgba(15, 23, 42, 0.65) 100%) !important;
  border-color: rgba(34, 211, 238, 0.55) !important;
}

/* Interior page top band (non-home) */
body.sw9-doc-body:not(.sw9-page-landing) #main-content > section:first-child.border-b.border-slate-200 {
  border-top: 2px solid rgba(251, 191, 36, 0.45);
  border-bottom: 3px groove #9aa8b0 !important;
  background: linear-gradient(180deg, #e0e9f4 0%, #cad8e6 55%, #b9c9d8 100%) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.65),
    inset 0 -6px 16px rgba(15, 23, 42, 0.08);
}

body.sw9-doc-body:not(.sw9-page-landing) #main-content > section:first-child h1 {
  color: #071a30 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

/* Embossed “feature cards” and panels */
body.sw9-doc-body #main-content .rounded-3xl.border.border-slate-200,
body.sw9-doc-body #main-content article.rounded-3xl,
body.sw9-doc-body #main-content a.rounded-3xl.border.border-slate-200 {
  border-radius: 12px !important;
  border: 2px solid rgba(255, 255, 255, 0.65) !important;
  border-right-color: rgba(148, 163, 184, 0.85) !important;
  border-bottom-color: rgba(100, 116, 139, 0.65) !important;
  background: linear-gradient(180deg, #f2f6fb 0%, #dbe6f2 45%, #cad8e6 100%) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 6px rgba(15, 23, 42, 0.06),
    0 4px 0 rgba(148, 163, 184, 0.45),
    0 10px 22px rgba(15, 23, 42, 0.12);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

body.sw9-doc-body #main-content a.rounded-3xl.border.border-slate-200:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.55) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 1),
    0 0 0 2px rgba(56, 189, 248, 0.25),
    0 6px 0 rgba(14, 165, 233, 0.35),
    0 14px 28px rgba(6, 182, 212, 0.2);
}

body.sw9-doc-body #main-content .rounded-2xl.border.border-slate-200 {
  border-radius: 10px !important;
  border: 2px solid rgba(203, 213, 225, 0.95) !important;
  background: linear-gradient(180deg, #eef4fa 0%, #dce6f2 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 5px rgba(15, 23, 42, 0.05),
    0 3px 0 rgba(148, 163, 184, 0.35);
}

/* Section rhythm — subtle metallic bands (skip dark panels that reuse border-t) */
body.sw9-doc-body #main-content > section.border-y.border-slate-200.bg-white,
body.sw9-doc-body #main-content > section.border-t.border-slate-200:not(.bg-slate-900) {
  border-color: rgba(100, 116, 139, 0.45) !important;
  background: linear-gradient(180deg, #dde8f2 0%, #d0dbe8 50%, #c4d2e0 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

body.sw9-doc-body #main-content > section.bg-gradient-to-b.from-slate-50 {
  background: linear-gradient(180deg, #d8e4f0 0%, #e8eef6 40%, #ccd9e6 100%) !important;
  border-color: rgba(100, 116, 139, 0.35) !important;
}

body.sw9-doc-body #main-content > section.bg-slate-900 {
  border-color: rgba(0, 0, 0, 0.5) !important;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 40%, #020617 100%) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.06),
    inset 0 -4px 20px rgba(0, 0, 0, 0.45);
}

body.sw9-doc-body #main-content > section.bg-slate-900 h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55);
}

body.sw9-doc-body #main-content > section.bg-slate-900 h3 {
  color: #f8fafc !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

body.sw9-doc-body #main-content > section.bg-slate-900 .overflow-hidden.rounded-3xl {
  border-radius: 12px !important;
  border: 2px solid rgba(148, 163, 184, 0.35) !important;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 8px rgba(0, 0, 0, 0.35),
    0 6px 16px rgba(0, 0, 0, 0.35);
}

body.sw9-doc-body #main-content > section.bg-gradient-to-br.from-sky-600 {
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(125deg, #0369a1 0%, #0c4a6e 35%, #0f172a 100%) !important;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12);
}

body.sw9-doc-body #main-content > section.bg-gradient-to-br.from-sky-600 a.rounded-2xl.bg-white {
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%) !important;
  font-weight: 800 !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 1),
    0 4px 0 rgba(15, 23, 42, 0.35),
    0 10px 22px rgba(0, 0, 0, 0.25);
}

/* Inline links “software blue” */
body.sw9-doc-body #main-content a.text-sky-700,
body.sw9-doc-body #main-content a.font-semibold.text-sky-700 {
  font-weight: 800 !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(2, 132, 199, 0.35);
}

body.sw9-doc-body #main-content a.text-sky-700:hover {
  color: #0369a1 !important;
  border-bottom-color: #0369a1;
}

/* FAQ accordion triggers */
body.sw9-doc-body #main-content [data-accordion-trigger] {
  border-radius: 8px !important;
  font-weight: 800 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
}

body.sw9-doc-body #main-content [data-accordion-trigger]:hover {
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.12) 0%, transparent 100%);
}

/* Cyan bullets — glossy orbs */
body.sw9-doc-body #main-content .rounded-full.bg-sky-500 {
  width: 10px !important;
  height: 10px !important;
  background: radial-gradient(circle at 30% 28%, #e0f2fe 0%, #38bdf8 45%, #0369a1 100%) !important;
  box-shadow:
    inset 0 -1px 2px rgba(0, 0, 0, 0.25),
    0 1px 2px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(14, 116, 144, 0.5);
}

/* Review avatars — candy gloss */
body.sw9-doc-body #main-content article .rounded-full.font-bold {
  border-radius: 999px !important;
  border: 2px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow:
    inset 0 3px 6px rgba(255, 255, 255, 0.35),
    inset 0 -4px 8px rgba(0, 0, 0, 0.2),
    0 3px 6px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

/* Footer */
body.sw9-doc-body > footer.border-t {
  border-top: 3px groove #9aa8b0 !important;
  background: linear-gradient(180deg, #d8e4f0 0%, #b9cad8 100%) !important;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.55);
}

body.sw9-doc-body > footer a.hover\:text-sky-700:hover {
  color: #0369a1 !important;
  text-decoration: underline;
}

/* Floating download — viewport corner, safe areas (LTR: bottom-right, RTL: bottom-left) */
body.sw9-doc-body > a.sw9-float-cta {
  position: fixed !important;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px)) !important;
  right: max(1rem, env(safe-area-inset-right, 0px)) !important;
  left: auto !important;
  z-index: 55 !important;
  border-radius: 999px !important;
  border: 3px solid rgba(255, 255, 255, 0.45) !important;
  font-weight: 800 !important;
  padding: 0.95rem 1.85rem !important;
  font-size: 1.0625rem !important;
  line-height: 1.2 !important;
  background: linear-gradient(180deg, #ffb454 0%, #ea580c 55%, #9a3412 100%) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    0 5px 0 rgba(124, 45, 18, 0.55),
    0 14px 32px rgba(0, 0, 0, 0.38);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

html[dir="rtl"] body.sw9-doc-body > a.sw9-float-cta {
  right: auto !important;
  left: max(1rem, env(safe-area-inset-left, 0px)) !important;
}

body.sw9-doc-body > a.sw9-float-cta:focus-visible {
  outline: 2px solid #f8fafc;
  outline-offset: 3px;
}

/* Lightbox chrome */
body.sw9-doc-body #imgx-zoomable button[data-lightbox-close] {
  border-radius: 8px !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(15, 23, 42, 0.55) 100%) !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

/* Interface spotlight stages — Vista window */
body.sw9-doc-body .imgx-frame-plain {
  border-radius: 12px !important;
  border: 2px solid rgba(255, 255, 255, 0.75) !important;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -3px 8px rgba(15, 23, 42, 0.08),
    0 4px 0 rgba(148, 163, 184, 0.5),
    0 14px 32px rgba(15, 23, 42, 0.18);
}

body.sw9-doc-body .imgx-frame-plain .imgx-frame-inner img {
  border-radius: 8px !important;
  border: 2px solid #0f172a !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.35);
}

body.sw9-doc-body .imgx-frame-plain:hover {
  border-color: rgba(34, 211, 238, 0.55) !important;
}

/* Smaller secondary buttons site-wide in main */
body.sw9-doc-body #main-content a.rounded-2xl.border.border-slate-200.bg-white,
body.sw9-doc-body #main-content a.rounded-2xl.bg-slate-900,
body.sw9-doc-body #main-content a.inline-flex.rounded-2xl.bg-sky-600 {
  border-radius: 9px !important;
  font-weight: 800 !important;
  padding: 0.6rem 1.1rem !important;
  font-size: 0.85rem !important;
}

body.sw9-doc-body #main-content a.rounded-2xl.bg-slate-900 {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(180deg, #334155 0%, #0f172a 55%, #020617 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 3px 0 rgba(0, 0, 0, 0.45);
  color: #f8fafc !important;
}

body.sw9-doc-body #main-content a.rounded-2xl.border.border-slate-200.bg-white {
  border: 2px solid rgba(148, 163, 184, 0.65) !important;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    0 2px 0 rgba(148, 163, 184, 0.4);
}

body.sw9-doc-body #main-content a.inline-flex.rounded-2xl.bg-sky-600 {
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 50%, #075985 100%) !important;
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    0 3px 0 rgba(12, 74, 110, 0.65);
}

/* Gradient callout cards — light panels only (skip dark “performance” callouts) */
body.sw9-doc-body #main-content .rounded-3xl.border.border-slate-200.bg-gradient-to-br:not(.from-slate-900) {
  background: linear-gradient(145deg, #eef4fa 0%, #d4e2ef 55%, #b9ccdc 100%) !important;
}

/* Dark navy callout (guides performance) — keep readable light text on real dark chrome */
body.sw9-doc-body #main-content .rounded-3xl.border.border-slate-200.bg-gradient-to-br.from-slate-900 {
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 42%, #0c4a6e 100%) !important;
  border-color: rgba(148, 163, 184, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.35);
}

body.sw9-doc-body #main-content .rounded-3xl.border.border-slate-200.bg-gradient-to-br.from-slate-900 > h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
}

/* “Step by step” / “Best practice” (and same pattern) — dark performance callout */
body.sw9-doc-body #main-content .rounded-3xl.border.border-slate-200.bg-gradient-to-br.from-slate-900 h3.text-sm.uppercase {
  color: #a5f3fc !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

/* Same labels on light guide cards — sky ink instead of flat gray */
body.sw9-doc-body #main-content h3.text-sm.font-semibold.uppercase.tracking-wide.text-slate-500 {
  color: #075985 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

body.sw9-doc-body #main-content h3.text-sm.font-semibold.uppercase.tracking-wide.text-slate-600 {
  color: #0c4a6e !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Download / feature pages — installer tiles (buttons) */
body.sw9-doc-body #main-content button.rounded-2xl.border.border-slate-200.bg-slate-900 {
  border-radius: 12px !important;
  border: 2px solid rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(180deg, #475569 0%, #1e293b 45%, #0f172a 100%) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.1),
    inset 0 -4px 12px rgba(0, 0, 0, 0.35),
    0 4px 0 rgba(0, 0, 0, 0.4),
    0 10px 24px rgba(0, 0, 0, 0.25);
  transition:
    filter 0.12s ease,
    transform 0.08s ease;
}

body.sw9-doc-body #main-content button.rounded-2xl.border.border-slate-200.bg-slate-900:hover {
  filter: brightness(1.08);
}

body.sw9-doc-body #main-content button.rounded-2xl.border.border-slate-200.bg-white {
  border-radius: 12px !important;
  border: 2px solid rgba(255, 255, 255, 0.75) !important;
  background: linear-gradient(180deg, #ffffff 0%, #e8eef6 100%) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 1),
    0 3px 0 rgba(148, 163, 184, 0.45),
    0 8px 18px rgba(15, 23, 42, 0.08);
}

body.sw9-doc-body #main-content button.rounded-2xl.border.border-slate-200.bg-white:hover {
  border-color: rgba(34, 211, 238, 0.45) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 1),
    0 0 0 2px rgba(56, 189, 248, 0.2),
    0 4px 0 rgba(14, 165, 233, 0.35);
}

/* Dark inset panels (checksum mock, etc.) */
body.sw9-doc-body #main-content .rounded-3xl.border.border-slate-200.bg-slate-900 {
  background: linear-gradient(165deg, #334155 0%, #1e293b 40%, #0f172a 100%) !important;
  border-color: rgba(148, 163, 184, 0.35) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.06),
    inset 0 -6px 16px rgba(0, 0, 0, 0.45),
    0 4px 0 rgba(0, 0, 0, 0.35);
}

body.sw9-doc-body #main-content .rounded-3xl.border.border-slate-200.bg-slate-900 h2,
body.sw9-doc-body #main-content .rounded-3xl.border.border-slate-200.bg-slate-900 h3 {
  color: #f8fafc !important;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
}

body.sw9-doc-body #main-content .rounded-2xl.border.border-white\/10.bg-black\/20 {
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(0, 0, 0, 0.65) 100%) !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

