:root {
  --ink: #182235;
  --muted: #627084;
  --blue: #0b6ff4;
  --blue-dark: #0756bd;
  --blue-soft: #eef5ff;
  --coral: #ff5f4a;
  --coral-dark: #dc4938;
  --green: #14804a;
  --surface: #f5f8fc;
  --white: #ffffff;
  --line: #dce4ee;
  --shadow: 0 16px 42px rgba(30, 61, 105, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 228, 238, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

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

.brand img {
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #3e4a5d;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.site-nav .nav-download {
  padding: 9px 16px;
  color: var(--white);
  background: var(--coral);
  border-radius: 6px;
}

.site-nav .nav-download:hover,
.site-nav .nav-download:focus-visible {
  color: var(--white);
  background: var(--coral-dark);
}

.menu-button {
  display: none;
  min-width: 64px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.hero {
  padding: 76px 0 0;
  background: var(--surface);
  border-top: 4px solid var(--blue);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-icon {
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(255, 95, 74, 0.22);
}

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

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

.hero-headline {
  max-width: 560px;
  margin: 24px 0 12px;
  font-size: 32px;
  line-height: 1.32;
  font-weight: 900;
}

.hero-description {
  max-width: 570px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button:focus-visible,
.copy-button:focus-visible,
.menu-button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(11, 111, 244, 0.28);
  outline-offset: 3px;
}

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

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

.button-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: #aebdd0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.hero-meta li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--green);
  font-weight: 900;
}

.hero-platforms {
  min-width: 0;
}

.section-label-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-label-row h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}

.section-label-row .section-kicker {
  margin-bottom: 5px;
}

.browser-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 6px 10px;
  color: #0a6a3a;
  background: #eaf8f0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #1cad62;
  border-radius: 50%;
}

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

.platform-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 116px;
  padding: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(34, 72, 118, 0.06);
}

.platform-card img {
  width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.platform-card.platform-blue {
  background: #318fda;
  border-color: #318fda;
}

.browser-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.browser-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
}

.browser-note strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
}

.browser-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.release-strip {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1fr 2fr;
  gap: 0;
  margin-top: 70px;
  border-top: 1px solid var(--line);
}

.release-strip > div {
  min-width: 0;
  padding: 22px 22px 24px 0;
}

.release-strip > div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.release-strip span,
.release-strip strong {
  display: block;
}

.release-strip span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.release-strip strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section {
  padding: 100px 0;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading h2,
.download-layout h2 {
  margin-bottom: 14px;
  font-size: 36px;
  line-height: 1.3;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.download-summary {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-item {
  padding: 30px 24px 32px 0;
}

.feature-item + .feature-item {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.feature-number {
  display: block;
  margin-bottom: 24px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.feature-item h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

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

.install-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.install-heading {
  margin: 0;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 0 0 28px;
}

.steps li + li {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.steps li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--blue);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 900;
}

.steps h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.download-section {
  color: var(--white);
  background: #102749;
}

.download-section .section-kicker {
  color: #79adff;
}

.download-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.download-layout > *,
.download-panel,
.download-file-row > div,
.checksum-row > div {
  min-width: 0;
}

.download-summary {
  color: #c1cde0;
}

.download-panel {
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.download-file-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.download-file-row img {
  flex: 0 0 auto;
  border-radius: 8px;
}

.download-file-row strong,
.download-file-row span {
  display: block;
}

.download-file-row strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.download-file-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.button-full {
  width: 100%;
}

.checksum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.checksum-row span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
}

.checksum-row code {
  display: block;
  max-width: 440px;
  overflow: hidden;
  color: #42506a;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  flex: 0 0 auto;
  padding: 7px 12px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

.faq-heading {
  margin: 0;
}

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

.faq-list details {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding-right: 34px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: -3px;
  right: 4px;
  color: var(--blue);
  font-size: 22px;
}

.faq-list details[open] summary::after {
  content: "−";
}

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

.site-footer {
  padding: 30px 0;
  color: #667387;
  background: #f8fafc;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
}

.footer-inner > p:nth-child(2) {
  color: var(--ink);
  font-weight: 800;
}

.footer-brand {
  font-size: 16px;
}

@media (max-width: 920px) {
  .menu-button {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 11px 12px;
  }

  .site-nav .nav-download {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-grid,
  .download-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .release-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .release-strip > div:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .release-strip > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

  .feature-item:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .install-layout {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 52px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header .container {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-icon {
    width: 58px;
    height: 58px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-headline {
    font-size: 27px;
  }

  .hero-description {
    font-size: 15px;
  }

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

  .section-label-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-label-row h2 {
    font-size: 21px;
  }

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

  .platform-card {
    min-height: 104px;
  }

  .release-strip {
    margin-top: 48px;
  }

  .release-strip > div {
    padding: 16px 12px 16px 0;
  }

  .release-strip > div + div {
    padding-left: 12px;
  }

  .release-file strong {
    font-size: 12px;
  }

  .section {
    padding: 72px 0;
  }

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

  .section-heading h2,
  .download-layout h2 {
    font-size: 29px;
  }

  .section-heading > p:last-child,
  .download-summary {
    font-size: 15px;
  }

  .feature-list,
  .install-layout {
    grid-template-columns: 1fr;
  }

  .feature-item {
    padding: 26px 0;
  }

  .feature-item + .feature-item,
  .feature-item:nth-child(4) {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .install-layout,
  .faq-layout {
    gap: 38px;
  }

  .download-panel {
    padding: 20px;
  }

  .checksum-row {
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

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

  .button {
    transition: none;
  }
}
