:root {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #17212c;
  background: #fff;
  font-synthesis: none;
  --font-page-title: clamp(2rem, 3.1vw, 3.5rem);
  --font-section-title: clamp(1.5rem, 2.1vw, 2.25rem);
  --font-card-title: clamp(1.125rem, 1.35vw, 1.375rem);
  --font-body: clamp(0.9375rem, 0.95vw, 1rem);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
label {
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  padding: 12px;
  background: #fff;
}
.site-header {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid #edf0f2;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 750;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #fa2852;
}
.brand-suffix {
  margin-left: 4px;
  padding-left: 12px;
  border-left: 1px solid #dce1e6;
  color: #8c98a5;
  font-size: 13px;
  font-weight: 500;
}
.header-link {
  color: #52606e;
  font-size: 13px;
}
.header-link:hover {
  color: #ed2449;
}
.shell {
  max-width: 1440px;
  margin: auto;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: calc(100vh - 68px);
  padding: 32px 14px;
  border-right: 1px solid #eef0f2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar a {
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 14px;
  color: #65727f;
}
.sidebar a:hover,
.sidebar a:focus-visible {
  background: #fff0f3;
  color: #e91f48;
}
main {
  min-width: 0;
  max-width: 1120px;
  padding: 0 clamp(26px, 4vw, 64px) 60px;
}
.hero {
  padding: clamp(48px, 6vw, 80px) 0 clamp(44px, 5vw, 68px);
  border-bottom: 1px solid #edf0f2;
}
.hero h1 {
  max-width: 17em;
  font-size: var(--font-page-title);
  line-height: 1.2;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 0;
}
.lead {
  max-width: 660px;
  margin: 20px 0 26px;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.75;
  color: #687786;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
}
.button-primary {
  background: #17201e;
  color: #fff;
}
.button-primary:hover,
.download-action:hover {
  background: #ed2449;
}
.button-outline {
  border: 1px solid #cbd2da;
}
.button-outline:hover {
  border-color: #ed2449;
  color: #ed2449;
}
.section {
  padding: clamp(42px, 5vw, 64px) 0;
  border-bottom: 1px solid #edf0f2;
  scroll-margin-top: 20px;
}
.section-heading h2 {
  font-size: var(--font-section-title);
  line-height: 1.25;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
}
.section-heading p {
  margin: 0;
  color: #77838f;
  font-size: var(--font-body);
  line-height: 1.7;
}
.platform-selector > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.platform-tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  gap: 6px;
  padding: 4px;
  margin: 24px 0 14px;
  border: 1px solid #e8ebef;
  border-radius: 13px;
  background: #f8f9fa;
}
.platform-tabs label {
  cursor: pointer;
  padding: 10px 23px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 650;
  color: #65727f;
}
#platform-windows:checked ~ .platform-tabs label[for="platform-windows"],
#platform-macos:checked ~ .platform-tabs label[for="platform-macos"],
#platform-linux:checked ~ .platform-tabs label[for="platform-linux"] {
  color: #fff;
  background: #17201e;
}
.platform-selector > input:focus-visible ~ .platform-tabs label {
  outline: 2px solid #ed2449;
}
.platform-panel {
  display: none;
}
#platform-windows:checked ~ .platform-panel-windows,
#platform-macos:checked ~ .platform-panel-macos,
#platform-linux:checked ~ .platform-panel-linux {
  display: block;
}
.download-card {
  min-height: 124px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px;
  border: 1px solid #e6ebed;
  border-radius: 14px;
}
.platform-icon {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #e9f6ef;
  color: #147d50;
  font-size: 28px;
}
.download-main {
  min-width: 0;
  flex: 1;
}
.download-main h3 {
  margin: 0 0 8px;
  font-size: var(--font-card-title);
}
.download-main p {
  margin: 4px 0;
  color: #77838f;
  font-size: var(--font-body);
  line-height: 1.55;
}
.download-main .release-meta {
  font-size: 12px;
  color: #8995a0;
  overflow-wrap: anywhere;
}
.download-main code {
  font-size: 11px;
}
.download-action {
  flex: none;
  padding: 12px 15px;
  color: #fff;
  background: #17201e;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
}
.download-unavailable {
  flex: none;
  color: #9aa4ae;
  font-size: 13px;
}
.fine-print {
  margin: 13px 0 0;
  color: #8b97a2;
  font-size: 12px;
  line-height: 1.65;
}
.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 22px;
  border-radius: 13px;
  background: #f8f9fa;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 13px;
  color: #e92b50;
  font-size: 12px;
  font-weight: 800;
}
.steps h3,
.faq h3 {
  margin: 0 0 8px;
  font-size: var(--font-card-title);
  line-height: 1.35;
}
.steps p,
.faq p {
  margin: 0;
  color: #788593;
  font-size: var(--font-body);
  line-height: 1.75;
}
.steps.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.faq {
  margin-top: 20px;
}
.faq article {
  padding: 20px 0;
  border-bottom: 1px solid #edf0f2;
}
footer {
  padding: 24px;
  text-align: center;
  color: #9ba6b0;
  font-size: 12px;
}
footer a {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    min-height: auto;
    flex-direction: row;
    gap: 2px;
    overflow-x: auto;
    padding: 10px 16px;
    border-right: 0;
    border-bottom: 1px solid #edf0f2;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .sidebar::-webkit-scrollbar { display: none; }
  .sidebar a {
    flex: none;
  }
  main {
    max-width: none;
  }
  .steps.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .site-header {
    height: 60px;
  }
  .brand-suffix {
    display: none;
  }
  .header-link {
    font-size: 12px;
  }
  main {
    padding-inline: 20px;
  }
  .hero {
    padding: 44px 0;
  }
  .hero h1 {
    font-size: clamp(1.875rem, 7vw, 2.375rem);
  }
  .platform-tabs {
    width: 100%;
  }
  .platform-tabs label {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
  }
  .download-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }
  .platform-icon {
    width: 46px;
    height: 46px;
    font-size: 24px;
  }
  .download-action,
  .download-unavailable {
    grid-column: 1 / -1;
    text-align: center;
  }
  .steps,
  .steps.compact {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
