:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #63717e;
  --line: #dfe5ea;
  --soft: #f4f7f9;
  --header: #edf3f7;
  --blue: #1685c8;
  --blue-dark: #0c6da7;
  --blue-soft: #e4f3fc;
  --white: #ffffff;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  min-height: 68px;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(244, 247, 249, 0.96);
  border-bottom: 1px solid rgba(205, 216, 224, 0.8);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand {
  font-size: 19px;
  font-weight: 750;
}

.brand img,
.footer-brand img {
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  min-width: 64px;
  padding: 8px 14px;
  color: #42515e;
  text-align: center;
  border-radius: 6px;
}

nav a:hover,
nav a:focus-visible {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

main,
footer {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.intro {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 72px;
  padding: 78px 0 82px;
}

.version-label,
.eyebrow,
.platform-name {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: 76px;
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: #4d5b67;
  font-size: 19px;
  line-height: 1.8;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.download-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 7px;
  font-weight: 700;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.download-link:hover {
  transform: translateY(-1px);
}

.button-primary,
.download-link {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover,
.button-primary:focus-visible,
.download-link:hover,
.download-link:focus-visible {
  background: var(--blue-dark);
}

.button-secondary {
  color: #34434f;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #e9eef2;
}

.product-mark {
  display: flex;
  min-height: 380px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--header);
  border-radius: 8px;
}

.icon-stage {
  width: 238px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid #dce6ec;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(36, 67, 88, 0.1);
}

.icon-stage img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.platform-line {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #536472;
  font-size: 14px;
  font-weight: 650;
}

.platform-line i {
  width: 4px;
  height: 4px;
  background: #9eb0bc;
  border-radius: 50%;
}

.download-section {
  margin-inline: calc(50% - 50vw);
  padding: 82px max(24px, calc((100vw - 1160px) / 2)) 92px;
  background: var(--soft);
  scroll-margin-top: 68px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-heading h2,
.docs-band h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.docs-band p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.download-card {
  min-width: 0;
  padding: 26px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(31, 55, 70, 0.055);
}

.platform-badge {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #087445;
  background: #e0f4e9;
  border-radius: 7px;
  font-size: 20px;
  font-weight: 800;
}

.platform-badge.windows {
  color: #176ca0;
  background: var(--blue-soft);
}

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

.download-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

.download-card .platform-name {
  margin-bottom: 3px;
}

.download-content > p:not(.platform-name) {
  min-height: 52px;
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 8px;
  color: #566570;
  border-top: 1px solid #edf0f2;
  font-size: 13px;
}

dt,
dd {
  margin: 0;
}

dd {
  color: #293742;
  text-align: right;
  font-weight: 650;
}

.download-link {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 5px;
}

.features {
  padding: 82px 0 90px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.features > div {
  min-width: 0;
}

.feature-index {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.features h2 {
  margin: 14px 0 8px;
  font-size: 20px;
  letter-spacing: 0;
}

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

.docs-band {
  margin-bottom: 70px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--header);
  border-radius: 8px;
}

.docs-band > div {
  max-width: 720px;
}

.docs-band .button {
  flex: 0 0 auto;
}

footer {
  padding: 28px 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

footer p {
  margin: 0;
}

.footer-brand {
  color: var(--ink);
  font-size: 15px;
}

:focus-visible {
  outline: 3px solid rgba(22, 133, 200, 0.34);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 62px;
  }

  .product-mark {
    min-height: 320px;
  }

  .icon-stage {
    width: 190px;
  }

  .download-grid,
  .features {
    grid-template-columns: 1fr;
  }

  .features {
    gap: 38px;
  }

  .docs-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 62px;
    padding-inline: 18px;
  }

  .brand {
    font-size: 17px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  nav {
    gap: 0;
  }

  nav a {
    min-width: 0;
    padding-inline: 10px;
    font-size: 14px;
  }

  main,
  footer {
    width: min(100% - 36px, 1160px);
  }

  .intro {
    min-height: 0;
    padding: 50px 0 62px;
  }

  h1 {
    font-size: 48px;
  }

  .lead {
    font-size: 17px;
  }

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

  .product-mark {
    min-height: 120px;
    padding: 16px 20px;
    flex-direction: row;
    gap: 18px;
  }

  .icon-stage {
    width: 88px;
    flex: 0 0 88px;
    box-shadow: 0 10px 28px rgba(36, 67, 88, 0.09);
  }

  .platform-line {
    margin-top: 0;
  }

  .download-section {
    margin-inline: -18px;
    padding: 66px 18px 72px;
    scroll-margin-top: 62px;
  }

  .section-heading h2,
  .docs-band h2 {
    font-size: 28px;
  }

  .download-card {
    padding: 20px;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
  }

  .platform-badge {
    width: 46px;
    height: 46px;
  }

  .download-content > p:not(.platform-name) {
    min-height: 0;
  }

  dl div {
    align-items: flex-start;
    flex-direction: column;
    gap: 1px;
  }

  dd {
    text-align: left;
  }

  .features {
    padding: 66px 0 72px;
  }

  .docs-band {
    margin-inline: -18px;
    margin-bottom: 46px;
    padding: 32px 18px;
    border-radius: 0;
  }

  .docs-band .button {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .download-link {
    transition: none;
  }
}
