/* Стили главной DirectX.biz: утилитарный download UX без deceptive-паттернов. */
:root {
  --color-bg: #fbfcfe;
  --color-surface: #ffffff;
  --color-panel: #f2faf8;
  --color-ink: #0f172a;
  --color-ink-2: #152238;
  --color-text: #17233a;
  --color-muted: #64748b;
  --color-primary: #0d9488;
  --color-primary-dark: #0f766e;
  --color-accent: #2563eb;
  --color-success: #14804a;
  --color-warning: #a15c07;
  --color-border: #e4ebf4;
  --shadow-soft: 0 12px 30px rgba(20, 33, 61, 0.07);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.55);
  outline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--color-text);
  color: white;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(17, 24, 39, 0.98) 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  backdrop-filter: blur(12px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 11% 0%, rgba(94, 234, 212, 0.18), transparent 32%),
    radial-gradient(circle at 84% 0%, rgba(20, 184, 166, 0.1), transparent 30%);
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(94, 234, 212, 0.42) 48%, transparent 100%);
  pointer-events: none;
}

.header-inner {
  position: relative;
  z-index: 1;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(94, 234, 212, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 22px rgba(15, 118, 110, 0.16);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text span {
  color: #a8b5c7;
  font-size: 12px;
  line-height: 1.2;
}

.brand-text strong {
  color: #f8fafc;
  font-weight: 700;
  letter-spacing: 0;
}

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a,
.primary-nav .language-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.primary-nav svg,
.language-toggle svg {
  width: 16px;
  height: 16px;
}

.primary-nav a:hover,
.primary-nav .language-toggle:hover,
.language-switcher.is-open .language-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.primary-nav a.is-active,
.primary-nav a[aria-current="true"] {
  border-color: rgba(94, 234, 212, 0.24);
  background: rgba(20, 184, 166, 0.14);
  color: #f8fafc;
}

.primary-nav .nav-download {
  border: 1px solid rgba(94, 234, 212, 0.22);
  background: rgba(20, 184, 166, 0.1);
  color: #e6fffb;
}

.primary-nav .nav-download:hover {
  border-color: rgba(94, 234, 212, 0.38);
  background: rgba(20, 184, 166, 0.18);
  color: white;
}

.primary-nav .nav-download.is-active,
.primary-nav .nav-download[aria-current="true"] {
  border-color: rgba(94, 234, 212, 0.48);
  background: rgba(20, 184, 166, 0.22);
  color: white;
}

.language-switcher {
  position: relative;
}

.language-toggle {
  user-select: none;
}

.language-chevron {
  width: 14px !important;
  height: 14px !important;
  opacity: 0.76;
  transition: transform 0.18s ease;
}

.language-switcher.is-open .language-chevron {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: 320px;
  max-height: 360px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: #101827;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.language-switcher.is-open .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.language-option {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #cbd5e1;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.language-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-option small {
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.language-option:hover,
.language-option.is-current {
  background: rgba(20, 184, 166, 0.12);
  color: #f8fafc;
}

html[dir="rtl"] .skip-link {
  right: 16px;
  left: auto;
}

html[dir="rtl"] .primary-nav {
  margin-right: auto;
  margin-left: 0;
}

html[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .language-option {
  text-align: right;
}

html[dir="rtl"] .language-chevron {
  transform: scaleX(-1);
}

html[dir="rtl"] .language-switcher.is-open .language-chevron {
  transform: scaleX(-1) rotate(180deg);
}

html[dir="rtl"] .footer-bottom span:last-child {
  text-align: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #f8fafc;
}

.section {
  padding: 84px 0;
}

main section[id] {
  scroll-margin-top: 92px;
}

.hero {
  min-height: 650px;
  display: grid;
  align-items: center;
  padding-top: 54px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: 68px;
  align-items: center;
}

.issue-hero {
  min-height: 590px;
}

.issue-detail-page .issue-hero {
  padding-bottom: 46px;
}

.issue-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 0.72fr);
  gap: 56px;
  align-items: start;
}

.issue-hero-copy {
  min-width: 0;
}

.issue-hero h1 {
  max-width: 1040px;
  margin-bottom: 0;
}

.issue-hero .product-name {
  font-size: 58px;
  line-height: 1.02;
}

.issue-hero .product-action {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.16;
}

.issue-hero-copy .lead {
  max-width: 760px;
}

.issue-answer-layout {
  display: grid;
  gap: 30px;
}

.issue-answer-intro {
  max-width: 1080px;
}

.issue-answer-intro .eyebrow {
  margin-bottom: 14px;
}

.issue-answer-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 20px;
  background: rgba(13, 148, 136, 0.14);
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.06);
}

.answer-block {
  min-width: 0;
  padding: 28px;
  background: #ffffff;
}

.answer-primary {
  grid-column: 1 / -1;
  padding: 30px 32px 28px;
  background:
    linear-gradient(180deg, rgba(240, 253, 250, 0.7) 0%, #ffffff 76%),
    #ffffff;
}

.answer-primary h2 {
  max-width: 760px;
}

.answer-primary .lead {
  max-width: 900px;
  margin: 0;
  font-size: 17px;
  line-height: 1.62;
  color: var(--color-muted);
}

.answer-block h2,
.answer-block h3 {
  margin: 0 0 12px;
}

.answer-block h2 {
  font-size: 32px;
}

.answer-block h3 {
  font-size: 22px;
}

.answer-block p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.answer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.answer-list li {
  position: relative;
  padding-left: 18px;
  color: var(--color-muted);
  line-height: 1.55;
}

.answer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-primary);
}

.answer-package-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.answer-package {
  grid-column: 1 / -1;
}

.answer-package .answer-package-data {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.answer-package-data div {
  min-width: 0;
}

.answer-package-data dt {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.answer-package-data dd {
  margin: 4px 0 0;
  color: var(--color-text);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.answer-package a {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.answer-package a:hover {
  text-decoration: underline;
}

.solution-panel {
  min-width: 0;
  padding: 30px;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(240, 253, 250, 0.72) 0%, #ffffff 58%),
    #ffffff;
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.07);
}

.solution-panel-head {
  margin-bottom: 24px;
}

.solution-panel-head h2 {
  margin-bottom: 10px;
  font-size: 30px;
}

.solution-panel-head p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.solution-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: solution;
}

.solution-steps li {
  min-width: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  counter-increment: solution;
}

.solution-steps li span {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e7f8f5;
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.solution-steps li span::before {
  content: counter(solution);
}

.solution-steps p {
  margin: 3px 0 0;
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.5;
}

.solution-panel-footer {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.solution-panel-footer span {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
}

.solution-panel-footer a {
  width: fit-content;
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.solution-panel-footer a:hover {
  text-decoration: underline;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  margin-bottom: -8px;
  color: var(--color-muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: #3f5875;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--color-primary-dark);
}

.breadcrumbs span[aria-current="page"] {
  color: var(--color-text);
  font-weight: 650;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 700;
}

.product-name {
  display: block;
  font-size: 84px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
}

.product-action {
  display: block;
  margin-top: 10px;
  color: #1f2937;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
}

h2 {
  margin-bottom: 14px;
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 700;
}

.lead {
  max-width: 660px;
  color: var(--color-muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 660px;
  margin: 30px 0 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.button-download {
  width: 100%;
  min-height: 62px;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 18px;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.18);
}

.button-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.button-icon svg {
  width: 19px;
  height: 19px;
}

.button:hover {
  transform: none;
}

.button-primary,
.button-card {
  background: var(--color-primary);
  color: white;
}

.button-primary:hover,
.button-card:hover {
  background: var(--color-primary-dark);
}

.button-secondary {
  border-color: var(--color-border);
  background: transparent;
  color: var(--color-text);
}

.button-light {
  width: 100%;
  border-color: var(--color-border);
  background: white;
  color: var(--color-text);
}

.hero-note {
  max-width: 620px;
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.hero-note a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.hero-note a:hover {
  text-decoration: underline;
}

.download-path {
  max-width: 660px;
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.path-title {
  display: grid;
  gap: 2px;
  margin: 0;
  color: #344158;
  font-size: 14px;
  line-height: 1.45;
}

.path-title span {
  color: var(--color-primary-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.path-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.path-options a {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid #dfe8f2;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.path-options a:hover {
  border-color: rgba(13, 148, 136, 0.34);
  background: white;
}

.path-options strong {
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
}

.path-options small {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.35;
}

.trust-points {
  max-width: 660px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.trust-points span {
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: #3f4b5f;
  font-size: 14px;
  font-weight: 600;
}

.trust-points i {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #eaf3ff;
  color: var(--color-primary);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.download-assurance {
  max-width: 680px;
  display: grid;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 8px;
}

.download-assurance div {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.assurance-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: 11px;
  background: rgba(240, 250, 248, 0.78);
  color: var(--color-primary-dark);
}

.assurance-icon svg {
  width: 20px;
  height: 20px;
}

.download-assurance p {
  min-width: 0;
  margin: 0;
}

.download-assurance strong {
  display: block;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.3;
}

.download-assurance small {
  display: block;
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hero-index {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 40px rgba(28, 42, 69, 0.06);
}

.hero-index::before {
  content: "";
  position: absolute;
  inset: auto -36px -68px auto;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 68%);
  pointer-events: none;
}

.hero-index-visual {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-index-visual span {
  width: 52px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe7f5;
  border-radius: 10px;
  background: white;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
}

.hero-index-visual span:nth-child(2) {
  margin-top: 18px;
  color: var(--color-accent);
}

.hero-index-visual span:nth-child(3) {
  color: #7c3aed;
}

.hero-index-head p {
  margin: 0 0 4px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-index-head strong {
  display: block;
  color: var(--color-text);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-index-list {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.hero-index-list a {
  display: grid;
  gap: 3px;
  padding: 13px 0;
  border-top: 1px solid var(--color-border);
  text-decoration: none;
}

.hero-index-list span {
  font-weight: 700;
}

.hero-index-list small {
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.35;
}

.hero-index-list a:hover span {
  color: var(--color-primary);
}

.hero-stats-card {
  position: relative;
  overflow: hidden;
  align-self: center;
  padding: 30px;
  border: 1px solid rgba(94, 234, 212, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 16%, rgba(45, 212, 191, 0.22), transparent 34%),
    linear-gradient(135deg, #0f172a 0%, #13263d 52%, #0f3d3a 100%);
  color: #f8fafc;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.22);
}

.hero-stats-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  pointer-events: none;
}

.stats-kicker {
  position: relative;
  margin-bottom: 18px;
  color: #99f6e4;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.rating-summary {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.rating-summary span {
  display: block;
  margin-bottom: 4px;
  color: #cbd5e1;
  font-size: 14px;
}

.rating-summary strong {
  display: block;
  font-size: 48px;
  line-height: 0.95;
  letter-spacing: 0;
  white-space: nowrap;
}

.verification-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 7px;
}

.verification-pills span {
  margin: 0;
  padding: 5px 8px;
  border: 1px solid rgba(153, 246, 228, 0.18);
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.16);
  color: #ccfbf1;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
  color: #facc15;
  font-size: 19px;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 18px;
}

.stats-grid div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.stats-grid strong {
  display: block;
  margin-bottom: 3px;
  color: white;
  font-size: 23px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.stats-grid span {
  color: #cbd5e1;
  font-size: 13px;
}

.stats-footer {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-footer > span {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.18);
  color: #99f6e4;
  font-size: 13px;
  font-weight: 700;
}

.stats-footer p {
  margin: 0;
  color: #d7e3ef;
  font-size: 13px;
  line-height: 1.45;
}

.download-card {
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--color-success);
  font-size: 14px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-success);
}

.card-subtitle {
  margin-bottom: 18px;
  color: var(--color-muted);
}

.facts-list {
  display: grid;
  gap: 0;
  margin: 20px 0;
}

.facts-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.facts-list dt {
  color: var(--color-muted);
  font-size: 14px;
}

.facts-list dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.safety-note {
  padding: 12px 0 0;
  border-top: 1px solid var(--color-border);
  border-left: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-muted);
  font-size: 14px;
}

.button-card {
  width: 100%;
}

.story-section {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: white;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.story-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.story-copy {
  max-width: 860px;
  color: #3f4b5f;
  font-size: 17px;
  line-height: 1.7;
}

.story-copy p {
  margin-bottom: 18px;
}

.story-lead {
  color: var(--color-text);
  font-size: 20px;
  line-height: 1.6;
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.story-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fbfcfe;
  color: #1f2937;
  font-size: 13px;
  font-weight: 600;
}

.versions-section {
  background: #fbfcfe;
}

.version-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.version-header .section-heading {
  margin: 0;
}

.version-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
}

.version-nav {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: white;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.version-nav:hover:not(:disabled) {
  border-color: rgba(13, 148, 136, 0.34);
  background: #f5fbf9;
  color: var(--color-primary-dark);
}

.version-nav:disabled {
  cursor: default;
  opacity: 0.42;
}

.version-nav svg {
  width: 20px;
  height: 20px;
}

.version-carousel {
  position: relative;
}

.version-carousel::before,
.version-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 18px;
  z-index: 2;
  width: 48px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.version-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #fbfcfe 0%, rgba(251, 252, 254, 0) 100%);
}

.version-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #fbfcfe 0%, rgba(251, 252, 254, 0) 100%);
}

.version-carousel.has-overflow:not(.is-start)::before,
.version-carousel.has-overflow:not(.is-end)::after {
  opacity: 1;
}

.version-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 0 2px 10px;
  scroll-padding: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.version-grid::-webkit-scrollbar {
  display: none;
}

.version-progress {
  width: min(180px, 100%);
  height: 3px;
  overflow: hidden;
  margin-top: 12px;
  border-radius: 999px;
  background: #dce7f1;
}

.version-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-primary), #2563eb);
  margin-left: 0;
  transition: width 0.16s ease, margin-left 0.16s ease;
}

.version-card {
  --card-accent: #0d9488;
  --card-soft: #e8f7f3;
  --card-bg: #f3fbf8;
  --card-border: rgba(13, 148, 136, 0.18);
  --card-hover-border: rgba(13, 148, 136, 0.34);
  position: relative;
  overflow: hidden;
  flex: 0 0 268px;
  min-width: 268px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  padding: 24px 22px 22px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 54%, var(--card-bg) 125%);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.version-card[data-version="11"] {
  --card-accent: #2563eb;
  --card-soft: #e8f0ff;
  --card-bg: #f4f8ff;
  --card-border: rgba(37, 99, 235, 0.18);
  --card-hover-border: rgba(37, 99, 235, 0.34);
}

.version-card[data-version="10"] {
  --card-accent: #7c3aed;
  --card-soft: #f0eaff;
  --card-bg: #faf7ff;
  --card-border: rgba(124, 58, 237, 0.18);
  --card-hover-border: rgba(124, 58, 237, 0.34);
}

.version-card[data-version="9"] {
  --card-accent: #b45309;
  --card-soft: #fff1d8;
  --card-bg: #fffaf1;
  --card-border: rgba(180, 83, 9, 0.18);
  --card-hover-border: rgba(180, 83, 9, 0.34);
}

.version-card[data-version="RT"] {
  --card-accent: #475569;
  --card-soft: #e8eef5;
  --card-bg: #f8fafc;
  --card-border: rgba(71, 85, 105, 0.18);
  --card-hover-border: rgba(71, 85, 105, 0.34);
}

.dll-table td strong {
  overflow-wrap: anywhere;
}

.dll-table .download-file-type {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-weight: 500;
}

.dll-table td:nth-child(2) .download-file-type {
  display: none;
}

.version-card::before {
  content: attr(data-version);
  position: absolute;
  right: 8px;
  top: auto;
  bottom: 132px;
  color: var(--card-soft);
  font-size: 118px;
  font-weight: 700;
  line-height: 0.8;
  opacity: 0.62;
  pointer-events: none;
}

.version-card > * {
  position: relative;
  z-index: 1;
}

.version-card:hover {
  border-color: var(--card-hover-border);
  box-shadow: 0 14px 28px rgba(20, 33, 61, 0.06);
}

.version-card.is-current {
  border-color: rgba(13, 148, 136, 0.42);
  background:
    linear-gradient(180deg, rgba(240, 253, 250, 0.78) 0%, #ffffff 58%),
    var(--card-bg);
}

.version-card.featured {
  flex-basis: 500px;
  min-width: 500px;
  padding: 28px;
  border-color: rgba(15, 118, 110, 0.28);
  background:
    linear-gradient(135deg, rgba(232, 247, 243, 0.95) 0%, #ffffff 47%, #f2fbf8 100%);
  box-shadow: none;
}

.version-card.featured:hover {
  box-shadow: none;
}

.version-card.featured::before {
  color: var(--card-soft);
  bottom: 142px;
}

.version-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.version-card-head h3 {
  flex: 0 0 auto;
  max-width: 178px;
  margin: 0;
  font-size: 22px;
  line-height: 1.14;
}

.version-card.featured .version-card-head h3 {
  max-width: 280px;
  font-size: 28px;
}

.version-card-head h3 a {
  color: inherit;
  text-decoration: none;
}

.version-card-head h3 a:hover {
  color: var(--card-accent);
}

.version-head-actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.version-recommend {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.08);
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.version-mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 10px;
  background: transparent;
  overflow: hidden;
}

.version-card.featured .version-mark {
  width: 40px;
  height: 40px;
}

.version-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.version-mainline {
  display: grid;
  gap: 3px;
  margin: 14px 0 2px;
  padding: 12px 0;
  border-top: 1px solid rgba(13, 148, 136, 0.18);
  border-bottom: 1px solid rgba(13, 148, 136, 0.18);
}

.version-mainline span {
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.version-mainline strong {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.35;
}

.version-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 2px;
}

.version-facts span {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 10px 11px;
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
}

.version-facts small {
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 600;
}

.version-points {
  display: grid;
  gap: 8px;
  margin: 16px 0 18px;
  padding: 0;
  color: #42526a;
  font-size: 14px;
  list-style: none;
}

.version-points li {
  position: relative;
  padding-left: 14px;
}

.version-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #b7c5d8;
}

.file-note {
  margin: auto 0 18px;
  color: var(--color-muted);
  font-size: 13px;
}

.file-note span {
  color: #6b7280;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.version-card dl {
  display: grid;
  gap: 8px;
  margin: auto 0 18px;
}

.version-card dl div {
  display: grid;
  gap: 3px;
}

.version-card dt {
  color: var(--color-muted);
  font-size: 13px;
}

.version-card dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

@media (min-width: 921px) {
  .version-controls,
  .version-progress {
    display: none;
  }

  .version-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    overflow-x: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .version-card {
    min-width: 0;
    flex: initial;
    scroll-snap-align: none;
  }

  .version-card.featured {
    min-width: 0;
    grid-column: span 2;
  }
}

.dll-section {
  background: white;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.dll-heading {
  max-width: 920px;
}

.dll-heading h2 {
  white-space: nowrap;
}

.dll-heading p:not(.eyebrow) {
  max-width: 780px;
  margin-left: 0;
  margin-right: 0;
}

.dll-layout {
  display: block;
}

.dll-table-wrap {
  position: relative;
  overflow-x: auto;
  contain: layout paint;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: white;
}

.dll-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: auto;
}

.dll-table th,
.dll-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: break-word;
  white-space: normal;
}

.dll-table th {
  background: #f7fafc;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.dll-table td {
  color: #42526a;
  font-size: 14px;
}

.dll-table tr:last-child td {
  border-bottom: 0;
}

.dll-table tbody tr {
  transition: background 0.15s ease;
}

.dll-table tbody tr:hover td {
  background: #f6fbfa;
}

.dll-table tbody tr:hover td:first-child {
  box-shadow: inset 3px 0 0 rgba(13, 148, 136, 0.38);
}

.dll-table strong {
  color: var(--color-text);
  font-weight: 700;
}

.dll-table a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.dll-table a:hover {
  text-decoration: underline;
}

.dll-download {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--color-primary);
  color: white !important;
  font-size: 13px;
  text-decoration: none !important;
}

.dll-download:hover {
  background: var(--color-primary-dark);
}

.dll-more {
  font-size: 13px;
}

.file-size {
  color: #5d6b82;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.hash-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hash-cell code {
  color: #5d6b82;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
}

.hash-copy {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e4ee;
  border-radius: 8px;
  background: white;
  color: #627188;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.hash-copy:hover,
.hash-copy.is-copied {
  border-color: rgba(13, 148, 136, 0.32);
  background: #eefbf8;
  color: var(--color-primary-dark);
}

.hash-copy svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 960px) {
  .dll-table-wrap {
    overflow: visible;
    contain: none;
    border: 0;
    background: transparent;
  }

  .dll-table,
  .dll-table tbody,
  .dll-table tr,
  .dll-table td {
    display: block;
    width: 100% !important;
  }

  .dll-table {
    min-width: 0;
    border-collapse: separate;
    table-layout: auto;
  }

  .dll-table thead {
    display: none;
  }

  .dll-table tbody {
    display: grid;
    gap: 12px;
  }

  .dll-table tbody tr {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 24px rgba(20, 33, 61, 0.045);
  }

  .dll-table th,
  .dll-table td {
    padding: 12px 14px;
  }

  .dll-table td {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
  }

  .dll-table td::before {
    content: attr(data-label);
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .dll-table td:first-child {
    background: #f8fbff;
  }

  .dll-table tr:last-child td {
    border-bottom: 1px solid var(--color-border);
  }

  .dll-table tr:last-child td:last-child,
  .dll-table td:last-child {
    border-bottom: 0;
  }

  .dll-table tbody tr:hover td {
    background: transparent;
  }

  .dll-table tbody tr:hover td:first-child {
    background: #f8fbff;
    box-shadow: none;
  }

  .hash-cell {
    width: 100%;
    justify-content: space-between;
  }

  .hash-cell code {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dll-download {
    width: 100%;
  }
}

.section-heading {
  max-width: 760px;
  margin: 0 0 42px;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  color: var(--color-muted);
}

.align-left {
  margin: 0;
  text-align: left;
}

.split-heading {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  text-align: left;
}

.split-heading p {
  max-width: 430px;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}

.decision-card {
  padding: 0 0 0 20px;
  border: 0;
  border-left: 2px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}

.decision-card.accent {
  background: transparent;
  border-color: rgba(15, 118, 110, 0.4);
}

.decision-card p,
.issue-grid p {
  color: var(--color-muted);
}

.decision-card a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.visual-section {
  background: white;
}

.visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(360px, 0.38fr);
  gap: 52px;
  align-items: center;
}

.checker-copy h2 {
  white-space: nowrap;
}

.diagnostic-visual {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  aspect-ratio: 820 / 544;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.12);
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 6px 0 6px 46px;
  border: 0;
  border-radius: 0;
  background: transparent;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 4px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--color-panel);
  color: var(--color-primary);
  font-weight: 700;
}

.steps span {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
}

.steps.compact {
  margin-top: 24px;
}

kbd {
  padding: 2px 6px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-bg);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.version-section {
  background: #fbfcfe;
}

.source-strip {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.85fr 1.1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-border);
}

.source-strip div {
  min-width: 0;
  padding: 18px;
  background: white;
}

.source-strip span {
  display: block;
  margin-bottom: 6px;
  color: var(--color-muted);
  font-size: 13px;
}

.source-strip strong {
  display: block;
  overflow-wrap: anywhere;
}

.verification-section {
  padding-top: 58px;
  padding-bottom: 58px;
  background: white;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.verification-panel {
  display: grid;
  gap: 28px;
}

.verification-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-border);
}

.verification-grid article {
  min-width: 0;
  padding: 20px;
  background: #ffffff;
}

.verification-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--color-muted);
  font-size: 13px;
}

.verification-grid strong {
  display: block;
  color: var(--color-text);
  line-height: 1.35;
}

.verification-grid p {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.58;
}

.verification-grid code {
  color: var(--color-primary-dark);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.source-links {
  display: grid;
  gap: 7px;
}

.source-links a {
  color: var(--color-primary-dark);
  font-weight: 650;
  text-decoration: none;
}

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

.text-notes {
  max-width: 1020px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 42px;
  margin-top: 30px;
}

.text-notes article {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.text-note-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.text-note-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: 10px;
  background: #f0faf8;
  color: var(--color-primary-dark);
}

.text-note-icon svg {
  width: 19px;
  height: 19px;
}

.note-icon-game {
  border-color: rgba(37, 99, 235, 0.15);
  background: #eef4ff;
  color: #2563eb;
}

.note-icon-windows {
  border-color: rgba(14, 116, 144, 0.15);
  background: #ecfeff;
  color: #0e7490;
}

.note-icon-download {
  border-color: rgba(13, 148, 136, 0.16);
  background: #f0faf8;
  color: var(--color-primary-dark);
}

.note-icon-check {
  border-color: rgba(20, 128, 74, 0.16);
  background: #f0fdf4;
  color: var(--color-success);
}

.note-icon-shield {
  border-color: rgba(161, 92, 7, 0.16);
  background: #fffbeb;
  color: var(--color-warning);
}

.text-notes h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.35;
}

.text-notes p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.65;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.choice-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: white;
}

.choice-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.choice-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.choice-grid p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
}

.install-stack {
  display: grid;
  gap: 30px;
}

.install-heading {
  max-width: 760px;
  margin: 0;
}

.install-steps {
  max-width: 820px;
}

.checker-steps,
.instruction-steps {
  max-width: 860px;
}

.install-note-panel {
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 100%);
}

.install-note-panel h3 {
  margin: 0 0 18px;
  font-size: 22px;
}

.install-note-panel ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-note-panel li {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
}

.install-note-panel li span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #e9f8f5;
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.install-note-panel p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.55;
}

.install-note-panel strong {
  display: block;
  color: var(--color-text);
}

.install-note-panel a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.package-download-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--color-primary);
  color: white !important;
  text-decoration: none;
}

.package-download-link:hover {
  background: var(--color-primary-dark);
}

.instruction-download-panel {
  max-width: 860px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding: 22px 24px;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 16px;
  background: #ffffff;
}

.instruction-download-panel h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.instruction-download-panel p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.compact-panel {
  align-self: start;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 52px;
  align-items: start;
}

.issue-section {
  background: white;
}

.issue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0;
  border-top: 0;
}

.issue-grid article {
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}

.issue-grid article:last-child {
  border-bottom: 0;
}

.issue-link {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  color: inherit;
  text-decoration: none;
}

.issue-link > .issue-body:only-child {
  grid-column: 1 / -1;
}

.issue-link:hover .issue-body h3 {
  color: var(--color-primary-dark);
}

.issue-link:hover .issue-icon {
  border-color: rgba(13, 148, 136, 0.28);
  background: #f0faf8;
  color: var(--color-primary);
}

.issue-body h3 {
  margin: 0;
  transition: color 0.15s ease;
}

.issue-body p {
  margin: 8px 0 0;
}

.issue-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 2px 0 0;
  border: 1px solid #e1eaf4;
  border-radius: 12px;
  background: #f7fafc;
  color: var(--color-primary-dark);
}

.issue-icon svg {
  width: 22px;
  height: 22px;
}

.issue-grid-wide {
  max-width: 1040px;
}

.section-link-row {
  margin-top: 22px;
}

.section-link-row a,
.table-link {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.section-link-row a:hover,
.table-link:hover {
  text-decoration: underline;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 48px;
}

.faq-stack {
  display: grid;
  gap: 28px;
}

.faq-heading {
  margin: 0;
}

.issue-detail-page .faq-section {
  padding-top: 46px;
  padding-bottom: 50px;
}

.issue-detail-page .versions-section {
  padding-top: 46px;
}

.issue-detail-page .faq-heading,
.issue-detail-page .version-header {
  margin-bottom: 28px;
}

.faq-list {
  max-width: 880px;
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: white;
  transition: border-color 0.18s ease, background 0.18s ease;
}

details[open] {
  border-color: #d8e5ef;
  background: #ffffff;
}

summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.18s ease, color 0.18s ease;
}

details[open] summary::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.24s ease, opacity 0.2s ease;
}

details[open] .faq-answer {
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.6;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-top: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(94, 234, 212, 0.18), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(37, 99, 235, 0.16), transparent 34%),
    linear-gradient(135deg, #0f172a 0%, #111827 48%, #0b2f32 100%);
  color: #e2e8f0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(94, 234, 212, 0.5) 44%, rgba(96, 165, 250, 0.34) 64%, transparent 100%);
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.16), transparent 66%);
  pointer-events: none;
}

.footer-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(520px, 1.18fr);
  gap: 72px;
  align-items: start;
  padding: 56px 0 38px;
}

.footer-brand-block {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid rgba(94, 234, 212, 0.22);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 28px rgba(20, 184, 166, 0.16);
  overflow: hidden;
}

.footer-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  color: #f8fafc;
  font-size: 18px;
  line-height: 1.15;
}

.footer-brand small {
  display: block;
  margin-top: 3px;
  color: #99f6e4;
  font-size: 12px;
}

.footer-brand-block p {
  max-width: 390px;
  margin: 18px 0 0;
  color: #a8b5c7;
  font-size: 14px;
  line-height: 1.65;
}

.footer-language {
  width: min(100%, 310px);
  margin-top: 24px;
}

.footer-language-label {
  display: block;
  margin-bottom: 8px;
  color: #8fa1b7;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-language .language-toggle {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  cursor: pointer;
}

.footer-language .language-current-name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-language .language-current-code {
  color: #99f6e4;
  font-size: 12px;
  font-weight: 800;
}

.footer-language .language-menu {
  position: static;
  width: 100%;
  max-height: 260px;
  display: none;
  margin-top: 8px;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.footer-language.is-open .language-menu {
  display: grid;
}

.footer-nav-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.footer-column {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 4px;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-column a {
  width: fit-content;
  color: #b8c6d8;
  font-size: 14px;
  text-decoration: none;
}

.footer-column a:hover {
  color: #5eead4;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  color: #8fa1b7;
  font-size: 13px;
}

.footer-bottom span:last-child {
  text-align: right;
}

.site-footer a {
  transition: color 0.15s ease;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  html[dir="rtl"] .menu-toggle {
    margin-right: auto;
    margin-left: 0;
  }

  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: var(--radius);
    background: #111827;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav .language-switcher {
    width: 100%;
  }

  .primary-nav .language-toggle {
    width: 100%;
    justify-content: flex-start;
  }

  .primary-nav .language-current-code {
    margin-left: auto;
  }

  html[dir="rtl"] .primary-nav .language-current-code {
    margin-right: auto;
    margin-left: 0;
  }

  .primary-nav .language-menu {
    position: static;
    width: 100%;
    max-height: 260px;
    display: none;
    margin-top: 8px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .primary-nav .language-switcher.is-open .language-menu {
    display: grid;
  }

  .hero-grid,
  .issue-hero-layout,
  .story-grid,
  .dll-layout,
  .visual-grid,
  .install-grid,
  .content-split,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .choice-grid,
  .decision-grid,
  .text-notes,
  .verification-grid,
  .version-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .split-heading {
    display: grid;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 46px 0 30px;
  }

  .footer-nav-block {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-language .language-menu {
    width: min(320px, calc(100vw - 32px));
  }

  .footer-bottom {
    display: grid;
  }

  .footer-bottom span:last-child {
    text-align: left;
  }

  .dll-heading h2 {
    white-space: normal;
  }

  .version-header {
    align-items: flex-start;
  }

  .diagnostic-visual {
    justify-self: start;
  }

  .checker-copy h2 {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 48px 0;
  }

  .page-heading-section {
    padding-bottom: 36px;
  }

  .hero {
    min-height: auto;
    padding: 38px 0 42px;
    align-items: start;
  }

  .issue-detail-page .issue-hero {
    padding-bottom: 32px;
  }

  .issue-detail-page .faq-section,
  .issue-detail-page .versions-section {
    padding-top: 32px;
  }

  .issue-detail-page .faq-section {
    padding-bottom: 36px;
  }

  .issue-detail-page .faq-heading,
  .issue-detail-page .version-header {
    margin-bottom: 22px;
  }

  .hero-grid {
    gap: 30px;
  }

  h1 {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .product-name {
    font-size: 50px;
  }

  .issue-hero .product-name {
    font-size: 35px;
    line-height: 1.08;
  }

  .issue-hero .product-action {
    font-size: 23px;
  }

  .answer-primary .lead {
    font-size: 16px;
    line-height: 1.58;
  }

  .issue-answer-panel {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .answer-primary,
  .answer-block {
    padding: 22px;
  }

  .answer-block h2 {
    font-size: 26px;
  }

  .answer-block h3 {
    font-size: 20px;
  }

  .answer-package-data {
    grid-template-columns: 1fr;
  }

  .answer-package .answer-package-data {
    grid-template-columns: 1fr;
  }

  .instruction-download-panel {
    display: grid;
    padding: 20px;
  }

  .solution-panel {
    padding: 22px;
    border-radius: 14px;
  }

  .solution-panel-head h2 {
    font-size: 24px;
  }

  .product-action {
    font-size: 24px;
  }

  h2 {
    font-size: 25px;
  }

  .lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
    margin: 22px 0 10px;
  }

  .button-download {
    min-height: 58px;
    padding: 14px 18px;
    font-size: 17px;
  }

  .download-path {
    gap: 8px;
    margin-bottom: 10px;
  }

  .path-title {
    font-size: 13px;
  }

  .path-options a {
    padding: 10px 11px;
  }

  .path-options small {
    font-size: 11px;
  }

  .hero-note {
    font-size: 13px;
    line-height: 1.45;
  }

  .path-options,
  .trust-points,
  .verification-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-card {
    padding: 18px;
    border-radius: 16px;
  }

  .stats-kicker {
    margin-bottom: 12px;
  }

  .rating-summary {
    align-items: flex-end;
    gap: 12px;
  }

  .rating-summary strong {
    font-size: 32px;
  }

  .verification-pills {
    max-width: 112px;
    gap: 5px;
  }

  .verification-pills span {
    padding: 4px 6px;
    font-size: 10px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0 12px;
  }

  .stats-grid div {
    padding: 10px;
  }

  .stats-grid strong {
    font-size: 17px;
  }

  .stats-grid span,
  .stats-footer p {
    font-size: 12px;
  }

  .stats-footer {
    padding-top: 12px;
  }

  .hero-index,
  .download-card {
    padding: 20px;
  }

  .facts-list div {
    display: grid;
    gap: 4px;
  }

  .facts-list dd {
    text-align: left;
  }

  .choice-grid,
  .text-notes,
  .source-strip {
    grid-template-columns: 1fr;
  }

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

  .version-header {
    display: grid;
    gap: 18px;
  }

  .version-controls {
    padding-bottom: 0;
  }

  .version-card {
    flex-basis: min(82vw, 320px);
    min-width: min(82vw, 320px);
    padding: 22px 18px;
  }

  .version-card.featured {
    flex-basis: min(90vw, 360px);
    min-width: min(90vw, 360px);
  }

  .version-recommend {
    min-height: 26px;
    padding: 6px 8px;
    font-size: 11px;
  }

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

  .issue-grid article {
    display: block;
  }

  .issue-link {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .issue-body p {
    margin: 8px 0 0;
  }

  .issue-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .issue-icon svg {
    width: 19px;
    height: 19px;
  }

  .source-strip div {
    padding: 14px 16px;
  }

  .footer-nav-block {
    grid-template-columns: 1fr;
  }

  .language-menu {
    grid-template-columns: 1fr;
  }
}
