@import url("variables.css");
@import url("ui-kit.css");

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(216, 236, 255, 0.62), transparent 28%),
    radial-gradient(circle at 85% 14%, rgba(252, 228, 182, 0.5), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(250, 247, 242, 0) 30%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-family-base);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

a {
  color: inherit;
}

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

code {
  font-family: var(--font-family-mono);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
  background: var(--header-background);
  backdrop-filter: blur(16px);
  border-radius: 0 0 18px 18px;
}

.brand,
.nav-link,
.footer-links a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
}

.brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.brand-logo img,
.hero-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-link:hover,
.footer-links a:hover {
  color: var(--accent);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
}

.language-switcher select {
  min-height: 36px;
  max-width: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 34px 0 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
}

.language-switcher select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.hero {
  display: grid;
  min-height: calc(100vh - 74px);
  place-items: center;
  padding: 82px 20px 100px;
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 236, 255, 0.8), transparent 30%),
    radial-gradient(circle at 88% 24%, rgba(252, 228, 182, 0.65), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(250, 247, 242, 0.4) 100%);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  width: min(1120px, 100%);
}

.hero-content {
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-logo {
  display: block;
  width: clamp(90px, 16vw, 142px);
  height: clamp(88px, 16vw, 140px);
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: var(--line-height-heading);
}

h1 {
  max-width: 760px;
  font-size: var(--font-size-h1);
  letter-spacing: 0;
  line-height: var(--line-height-tight);
}

h2 {
  font-size: var(--font-size-h2);
  letter-spacing: 0;
}

h3 {
  font-size: var(--font-size-h3);
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.62;
}

.hero-art {
  position: relative;
}

.hero-illustration {
  position: relative;
  border: 1px solid rgba(228, 216, 204, 0.82);
  border-radius: 32px;
  padding: clamp(14px, 2vw, 22px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(247, 239, 230, 0.86) 100%);
  box-shadow: 0 28px 70px rgba(78, 60, 42, 0.12);
}

.hero-illustration::before,
.hero-illustration::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-illustration::before {
  top: -18px;
  right: 28px;
  width: 92px;
  height: 92px;
  background: rgba(216, 236, 255, 0.78);
}

.hero-illustration::after {
  left: -12px;
  bottom: 24px;
  width: 76px;
  height: 76px;
  background: rgba(252, 228, 182, 0.78);
}

.hero-illustration img {
  display: block;
  width: 100%;
  height: auto;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-primary {
  background: var(--accent);
  color: var(--primary-action-text);
  box-shadow: var(--shadow-primary);
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary,
.button-download {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover,
.button-download:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.platform-note {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.download-page-hero {
  padding: 92px 20px 72px;
  background:
    radial-gradient(circle at 8% 20%, rgba(216, 236, 255, 0.52), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 100%);
}

.download-page-heading {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.guide-hero {
  padding: 92px 20px 72px;
  background:
    radial-gradient(circle at 92% 20%, rgba(252, 228, 182, 0.36), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
}

.guide-hero-content,
.guide-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.guide-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 48px;
  padding: 0 20px 92px;
}

.guide-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.guide-toc a {
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.guide-toc a:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.guide-content {
  min-width: 0;
}

.guide-section {
  scroll-margin-top: 96px;
  border-top: 1px solid var(--line);
  padding: 48px 0;
}

.guide-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.guide-section > p {
  max-width: 760px;
  color: var(--muted);
}

.guide-card,
.note-block,
.warning-block,
.trouble-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.guide-card {
  padding: 22px;
}

.requirements-grid,
.trouble-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.check-list,
.plain-steps {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.check-list li,
.plain-steps li {
  margin: 8px 0;
}

.two-column-list {
  columns: 2;
  column-gap: 36px;
}

.guide-section pre {
  overflow-x: auto;
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--code-background);
  color: var(--code-text);
  line-height: 1.55;
}

.guide-section pre code {
  font-size: 0.9rem;
}

.guide-section :not(pre) > code {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.9em;
}

.note-block,
.warning-block {
  max-width: 820px;
  margin-top: 22px;
  padding: 16px 18px;
  color: var(--muted);
}

.note-block {
  border-left: 4px solid var(--accent);
}

.warning-block {
  border-left: 4px solid var(--focus);
}

.trouble-list article {
  padding: 20px;
}

.trouble-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.faq-layout {
  display: grid;
  width: min(920px, calc(100% - 40px));
  gap: 34px;
  margin: 0 auto;
  padding: 0 0 92px;
}

.faq-section {
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.faq-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.faq-items {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 850;
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.comparison-layout {
  display: grid;
  width: min(1120px, calc(100% - 40px));
  gap: 28px;
  margin: 0 auto;
  padding: 0 0 92px;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.comparison-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: var(--surface-strong);
  color: var(--text);
  font-size: 0.9rem;
}

.comparison-table td:first-child {
  color: var(--text);
  font-weight: 850;
}

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

.comparison-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.comparison-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.comparison-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section,
.downloads {
  padding: 108px 20px;
  border-top: 1px solid var(--line);
}

.features,
.privacy {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.how-it-works,
.downloads {
  background:
    linear-gradient(180deg, rgba(244, 236, 227, 0.84) 0%, rgba(250, 247, 242, 0.78) 100%);
}

.section-heading,
.download-grid,
.feature-grid,
.steps-list,
.privacy-panel,
.site-footer {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  max-width: 760px;
}

.section-copy {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.section-actions,
.release-toolbar {
  display: flex;
  width: min(1120px, 100%);
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 24px auto 0;
}

.release-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.release-link:hover {
  color: var(--accent-dark);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.feature-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 247, 242, 0.95) 100%);
  box-shadow: 0 16px 38px rgba(79, 58, 37, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 196, 0.22);
  box-shadow: 0 24px 44px rgba(79, 58, 37, 0.11);
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(216, 236, 255, 0.9) 0%, rgba(255, 255, 255, 0.92) 100%);
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 196, 0.1);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card p,
.steps-list p,
.privacy-points p {
  margin: 12px 0 0;
  color: var(--muted);
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
  padding: 0;
  list-style: none;
}

.steps-list li {
  min-height: 230px;
  border-top: 2px solid var(--accent);
  padding-top: 20px;
  padding-right: 10px;
}

.step-number {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.download-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(79, 58, 37, 0.1);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 196, 0.2);
  box-shadow: 0 24px 50px rgba(79, 58, 37, 0.12);
}

.download-card.is-recommended {
  border-color: var(--accent);
  background: var(--recommended-background);
}

.download-card.is-disabled {
  opacity: 0.74;
}

.download-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.button-download {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.button-disabled {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--surface-strong);
  color: var(--muted);
  cursor: not-allowed;
  font-size: 0.92rem;
  font-weight: 800;
}

.download-card-wide {
  background: var(--inverse-background);
  color: var(--inverse-text);
}

.download-card-wide p {
  color: var(--inverse-muted);
}

.download-card-wide .button-download {
  border-color: var(--inverse-border);
  background: var(--inverse-text);
  color: var(--inverse-background);
}

.release-section {
  background: var(--surface-strong);
}

.release-list {
  display: grid;
  width: min(1120px, 100%);
  gap: 14px;
  margin: 32px auto 0;
}

.release-list-status {
  margin-top: 16px;
}

.release-subtitle,
.release-install {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.release-subtitle {
  margin-top: 32px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.release-install {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 24px;
  background: var(--surface);
}

.release-install h3 {
  margin: 0 0 12px;
}

.release-install ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.release-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.release-row.is-recommended {
  border-color: var(--accent);
  background: var(--recommended-background);
}

.release-row.is-disabled {
  opacity: 0.78;
}

.release-row p {
  max-width: 640px;
  margin: 12px 0 0;
  color: var(--muted);
}

.release-status {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--bg);
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.release-meta-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.checksum {
  display: block;
  width: 100%;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--bg);
  color: var(--muted);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.82rem;
  white-space: normal;
}

.release-actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.release-file {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(circle at top right, rgba(216, 236, 255, 0.5), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 247, 242, 0.96) 100%);
  box-shadow: 0 16px 40px rgba(79, 58, 37, 0.08);
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 42px 20px 48px;
  color: var(--muted);
}

.site-footer p {
  margin: 12px 0 0;
  font-size: 0.92rem;
}

.analytics-notice {
  max-width: 360px;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

@media (prefers-color-scheme: dark) {
  body {
    background:
      radial-gradient(circle at top left, rgba(78, 146, 210, 0.18), transparent 30%),
      radial-gradient(circle at 85% 14%, rgba(226, 161, 70, 0.12), transparent 24%),
      linear-gradient(180deg, rgba(34, 40, 50, 0.34) 0%, rgba(23, 26, 31, 0) 30%),
      var(--bg);
  }

  .hero {
    background:
      radial-gradient(circle at 12% 18%, rgba(78, 146, 210, 0.24), transparent 30%),
      radial-gradient(circle at 88% 24%, rgba(226, 161, 70, 0.18), transparent 24%),
      linear-gradient(180deg, rgba(34, 40, 50, 0.45) 0%, rgba(23, 26, 31, 0.1) 100%);
  }

  .download-page-hero {
    background:
      radial-gradient(circle at 8% 20%, rgba(78, 146, 210, 0.16), transparent 24%),
      linear-gradient(180deg, rgba(34, 40, 50, 0.34) 0%, transparent 100%);
  }

  .guide-hero {
    background:
      radial-gradient(circle at 92% 20%, rgba(226, 161, 70, 0.14), transparent 24%),
      linear-gradient(180deg, rgba(34, 40, 50, 0.28) 0%, transparent 100%);
  }

  .hero-illustration {
    border-color: rgba(58, 67, 80, 0.9);
    background:
      linear-gradient(180deg, rgba(43, 51, 64, 0.94) 0%, rgba(34, 40, 50, 0.96) 100%);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  }

  .hero-illustration::before {
    background: rgba(78, 146, 210, 0.22);
  }

  .hero-illustration::after {
    background: rgba(226, 161, 70, 0.2);
  }

  .features,
  .privacy {
    background:
      linear-gradient(180deg, rgba(34, 40, 50, 0.86) 0%, rgba(34, 40, 50, 0.92) 100%);
  }

  .how-it-works,
  .downloads {
    background:
      linear-gradient(180deg, rgba(43, 51, 64, 0.86) 0%, rgba(23, 26, 31, 0.78) 100%);
  }

  .feature-card {
    background:
      linear-gradient(180deg, rgba(43, 51, 64, 0.96) 0%, rgba(34, 40, 50, 0.98) 100%);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  }

  .feature-card:hover {
    border-color: rgba(125, 183, 240, 0.32);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
  }

  .feature-icon {
    background:
      linear-gradient(180deg, rgba(34, 58, 80, 0.88) 0%, rgba(43, 51, 64, 0.94) 100%);
    box-shadow: inset 0 0 0 1px rgba(125, 183, 240, 0.12);
  }

  .download-card {
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  }

  .privacy-panel {
    background:
      radial-gradient(circle at top right, rgba(78, 146, 210, 0.18), transparent 22%),
      linear-gradient(180deg, rgba(43, 51, 64, 0.94) 0%, rgba(34, 40, 50, 0.96) 100%);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  }
}

@media (max-width: 980px) {
  .section-heading,
  .privacy-panel {
    display: block;
  }

  .section-copy,
  .privacy-points {
    margin-top: 20px;
  }

  .feature-grid,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-row {
    grid-template-columns: 1fr;
  }

  .guide-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .guide-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }

  .download-card {
    min-height: 190px;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 32px, 1120px);
    align-items: center;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 16px;
    padding: 14px 0;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 42px;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 1rem;
  }

  .nav-link:hover {
    background: rgba(78, 146, 210, 0.1);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
  }

  .menu-toggle:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
  }

  .menu-toggle-bars,
  .menu-toggle-bars::before,
  .menu-toggle-bars::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .menu-toggle-bars {
    position: relative;
  }

  .menu-toggle-bars::before,
  .menu-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .menu-toggle-bars::before {
    top: -7px;
  }

  .menu-toggle-bars::after {
    top: 7px;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bars {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before {
    transform: translateY(7px) rotate(90deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after {
    opacity: 0;
  }

  .language-switcher,
  .language-switcher select {
    width: 100%;
    max-width: none;
  }

  .hero {
    min-height: auto;
    place-items: start;
    padding: 58px 16px 68px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
    width: min(100%, 560px);
    margin: 0 auto 12px;
  }

  .download-page-hero {
    padding: 58px 16px 56px;
  }

  .guide-hero {
    padding: 58px 16px 42px;
  }

  .guide-layout {
    padding: 0 16px 72px;
  }

  .faq-layout {
    width: min(100% - 32px, 920px);
    padding-bottom: 72px;
  }

  .comparison-layout {
    width: min(100% - 32px, 1120px);
    padding-bottom: 72px;
  }

  .guide-toc,
  .requirements-grid,
  .comparison-sections,
  .trouble-list {
    grid-template-columns: 1fr;
  }

  .comparison-cta .button {
    width: 100%;
  }

  .two-column-list {
    columns: 1;
  }

  .guide-section {
    padding: 38px 0;
  }

  .cta-row,
  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .feature-grid,
  .steps-list,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .downloads {
    padding: 56px 16px 72px;
  }

  .section-actions,
  .release-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-card,
  .download-card,
  .release-row {
    min-height: auto;
  }

  .steps-list li {
    min-height: auto;
  }

  .feature-icon,
  .step-number {
    margin-bottom: 22px;
  }

  .site-footer {
    display: block;
    padding: 34px 16px 42px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }
}
