:root {
  color-scheme: light;
  --ink: #252a31;
  --muted: #71747b;
  --accent: #a62939;
  --line: #e8e9eb;
  --header-height: 76px;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button:not(:disabled), a { touch-action: manipulation; }
p, h1, h2, h3, a { overflow-wrap: anywhere; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
section[id], main[id] { scroll-margin-top: calc(var(--header-height) + 20px); }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 20px; padding: 10px 20px; color: #fff; background: var(--accent); }
.skip-link:focus { top: 14px; }

.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-height); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo { width: 48px; height: 48px; flex-shrink: 0; object-fit: contain; }
.brand-word { display: flex; align-items: baseline; gap: 11px; font-size: 25px; font-weight: 750; line-height: 1.2; }
.brand-caption { color: var(--muted); font-size: 14px; font-weight: 400; }
nav { display: flex; align-self: stretch; gap: 34px; }
nav a { display: flex; align-items: center; position: relative; font-size: 16px; white-space: nowrap; }
nav a::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: transparent; }
nav a:hover, nav a[aria-current="location"] { color: var(--accent); }
nav a[aria-current="location"]::after { background: var(--accent); }
nav a[aria-disabled="true"] { color: var(--muted); cursor: not-allowed; }

.hero { position: relative; isolation: isolate; min-height: 366px; overflow: hidden; background: #edf2f3; }
.hero-image { position: absolute; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero-content { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); grid-template-areas: "eyebrow highlights" "title highlights" "description highlights" "actions highlights"; column-gap: 72px; padding-block: 42px 50px; }
.hero-eyebrow { grid-area: eyebrow; display: flex; align-items: center; gap: 9px; color: #604952; font-size: 14px; font-weight: 650; }
.hero-eyebrow > span { display: inline-block; width: 18px; height: 2px; background: var(--accent); }
h1 { grid-area: title; margin-top: 13px; max-width: 640px; font-size: 48px; font-weight: 750; line-height: 1.35; }
.hero-description { grid-area: description; margin-top: 12px; color: #505761; font-size: 18px; }
.hero-actions { grid-area: actions; display: flex; align-items: center; gap: 27px; margin-top: 28px; }
.hero-highlights { grid-area: highlights; align-self: center; min-width: 0; }
.hero-compatibility { font-size: 30px; font-weight: 750; line-height: 1.5; }
.hero-compatibility span { display: inline-block; }
.hero-promise { margin-top: 6px; color: var(--accent); font-size: 24px; font-weight: 700; }
.hero-renewal { margin-top: 12px; color: #20252b; font-size: 18px; font-weight: 600; line-height: 1.5; }
.hero-performance { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 2px; color: var(--accent); font-size: 20px; font-weight: 600; line-height: 1.3; }
.hero-performance strong { font-size: 42px; font-weight: 750; }
.hero-plugins { margin-top: 12px; color: #20252b; font-size: 18px; font-weight: 600; line-height: 1.5; }
.hero-plugins strong { font-weight: 750; }
.hero-launcher { margin-top: 4px; color: #20252b; font-size: 18px; font-weight: 750; line-height: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 4px; padding: 11px 22px; line-height: 1.5; font-size: 16px; font-weight: 500; }
.button img, .hero-secondary img { flex-shrink: 0; }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 3px 8px #70213112; }
.button-primary img { filter: brightness(0) invert(1); }
.button-primary:hover { background: #86212e; }
.hero-secondary { display: inline-flex; align-items: center; gap: 5px; padding-block: 10px; font-size: 15px; }
.hero-secondary:hover { color: var(--accent); }
.hero-bottom { position: absolute; bottom: 0; left: 0; right: 0; border-top: 1px solid #353e4a1c; color: #505761; font-size: 12px; }
.hero-bottom .container { display: flex; align-items: center; justify-content: space-between; height: 33px; }
.hero-bottom span { padding: 0 6px; background: #f1f3f2e8; }

.section { padding-block: 43px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.heading-title { display: flex; align-items: center; gap: 13px; min-width: 0; }
.section-number { color: #b1b3b7; font-size: 14px; font-variant-numeric: tabular-nums; }
h2 { font-size: 28px; font-weight: 650; line-height: 1.4; }
.section-note { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; }
.announcements { border-top: 1px solid var(--line); }
.announcement { display: grid; grid-template-columns: 144px minmax(0, 1fr); column-gap: 26px; padding-block: 21px; border-bottom: 1px solid var(--line); align-items: baseline; }
.announcement-heading { display: flex; align-items: baseline; gap: 14px; }
.announcement-heading h3 { font-size: 16px; font-weight: 650; color: var(--accent); }
.announcement-body { color: #555d67; font-size: 16px; font-weight: 600; line-height: 2; min-width: 0; }
.announcement-body p + p { margin-top: 8px; }
.announcement-body a { color: #176b96; text-decoration: underline; text-underline-offset: 3px; }
.announcement-body a:hover { color: var(--accent); }
.community { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 24px; padding-block: 6px; }
.community-label { color: #555d67; font-size: 16px; font-weight: 600; }
.community-number { color: #176b96; font-size: 26px; line-height: 1.5; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; min-width: 0; text-decoration: underline; text-underline-offset: 4px; }
.community-number:hover { color: var(--accent); }

.section-downloads { background: #f7f8f9; border-block: 1px solid #f0f1f2; }
.download-table-heading, .download-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 155px 112px; align-items: center; column-gap: 24px; }
.download-table-heading { padding: 10px 21px; color: #7b7f86; font-size: 14px; }
.download-table-heading > :last-child { text-align: center; }
.download-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e1e4e7; }
.download-row { min-height: 97px; padding: 22px 21px; border-bottom: 1px solid #e1e4e7; }
.download-info { display: flex; align-items: center; gap: 16px; min-width: 0; }
.file-icon { display: grid; place-items: center; width: 46px; height: 48px; flex-shrink: 0; color: #4e5963; background: #fff; border: 1px solid #e6e8eb; border-radius: 5px; }
.file-icon img { opacity: .78; }
.file-copy { min-width: 0; }
.download-name { font-size: 18px; font-weight: 600; }
.file-copy p { font-size: 14px; color: #7e8187; margin-top: 3px; }
.download-version, .download-date { font-size: 14px; color: #7e8187; overflow-wrap: anywhere; }
.download-version > span:last-child { display: inline-block; padding: 2px 8px; background: #edf0f1; border: 1px solid #e2e5e6; border-radius: 3px; }
.button-download { min-width: 112px; padding: 8px 12px; font-size: 14px; border-color: #d8dce0; background: #fff; }
.button-download:not(:disabled):hover { border-color: var(--accent); color: var(--accent); }
.button-download:disabled { color: #7d828a; background: #f1f3f4; border-color: #e0e3e7; cursor: not-allowed; }
.button-download:disabled img { opacity: .44; }
.download-notice { color: var(--accent); font-size: 16px; font-weight: 600; text-align: center; }
.mobile-label { display: none; }

.section-changelog { padding-bottom: 52px; }
.changelog-link:hover { color: var(--accent); }
.changelog-link img { flex-shrink: 0; }
.changelog-frame { display: block; width: 100%; height: 560px; max-height: 75svh; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.changelog-page { scroll-behavior: auto; overscroll-behavior-y: contain; scrollbar-gutter: stable; }
.changelog-document { width: min(1120px, 100%); margin-inline: auto; padding: 0 24px 20px; }
.changelog-document .release-list { border-top: 0; }
.release-list { border-top: 1px solid var(--line); }
.release { border-bottom: 1px solid var(--line); }
.release summary { display: flex; align-items: baseline; gap: 22px; position: relative; padding: 21px 35px 21px 0; cursor: pointer; list-style: none; }
.release summary::-webkit-details-marker { display: none; }
.release summary::after { content: ""; position: absolute; right: 4px; top: 22px; width: 18px; height: 18px; background: url("icons/chevron-down.svg") center / contain no-repeat; }
.release[open] summary::after { transform: rotate(180deg); }
.release summary time { flex-shrink: 0; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.release summary span { font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.release-version { font-size: 20px; }
.release-badge { display: none; }
.release-list > .release:first-of-type > summary > .release-badge { display: inline-block; padding: 2px 8px; color: var(--accent); background: #faf0f1; font-size: 13px; border-radius: 3px; }
.release-body { padding: 2px 0 28px; color: #5f656e; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.release-notice { margin-bottom: 20px; color: #c62828; font-weight: 600; }
.release-notice p + p { margin-top: 6px; }
.release-body ul, .release-body ol { margin: 0; padding-left: 28px; }
.release-body li + li { margin-top: 6px; }
.release-body li::marker { color: #8a8e95; font-variant-numeric: tabular-nums; }
.release-category + .release-category { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.release-category h3 { margin-bottom: 14px; color: var(--ink); font-size: 18px; font-weight: 650; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; min-height: 88px; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 750; }
.footer-brand .brand-logo { width: 40px; height: 40px; }
.footer-brand span { color: var(--muted); font-size: 14px; font-weight: 400; }
.footer-note { margin-left: auto; color: #979a9f; font-size: 14px; }
.back-top { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border: 1px solid #dfe1e4; border-radius: 4px; }
.back-top:hover { border-color: var(--accent); background: #faf7f8; }

@media (min-width: 901px) and (max-width: 1100px) {
  h1 { font-size: 40px; }
  .hero-compatibility { font-size: 28px; }
}

@media (max-width: 900px) {
  .brand-caption { display: none; }
  .hero { min-height: 345px; }
  .hero-content { padding-top: 52px; column-gap: 28px; }
  h1 { font-size: 36px; }
  .hero-compatibility { font-size: 24px; }
  .hero-promise { font-size: 20px; }
  .hero-performance strong { font-size: 36px; }
  .announcement { grid-template-columns: 144px minmax(0, 1fr); gap: 18px; }
  .download-table-heading, .download-row { grid-template-columns: minmax(0, 1fr) 90px 94px 112px; column-gap: 14px; padding-inline: 8px; }
}

@media (min-width: 601px) and (max-width: 760px) {
  h1 { font-size: 28px; }
  .hero-content { column-gap: 24px; }
  .hero-actions { gap: 16px; }
  .button-primary { padding-inline: 16px; }
  .hero-compatibility { font-size: 22px; }
  .hero-promise { font-size: 18px; }
}

@media (max-width: 600px) {
  :root { --header-height: 109px; }
  .container { width: calc(100% - 36px); }
  .header-inner { flex-direction: column; gap: 0; align-items: stretch; }
  .brand { align-self: flex-start; min-height: 61px; }
  .brand .brand-logo { width: 40px; height: 40px; }
  .brand-word { font-size: 24px; }
  .brand-caption { display: inline; font-size: 13px; }
  nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; min-height: 47px; }
  nav a { justify-content: center; padding-inline: 2px; }
  .hero { min-height: 290px; }
  .hero-content { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eyebrow" "title" "description" "highlights" "actions"; padding-block: 28px 50px; }
  .hero-eyebrow { font-size: 12px; }
  h1 { font-size: 32px; margin-top: 10px; }
  .hero-description { font-size: 16px; margin-top: 10px; }
  .hero-highlights { margin-top: 22px; }
  .hero-compatibility { font-size: 24px; }
  .hero-promise { margin-top: 6px; }
  .hero-renewal { margin-top: 12px; }
  .hero-actions { margin-top: 23px; gap: 18px; }
  .button-primary { padding: 10px 18px; }
  .hero-bottom { font-size: 11px; }
  .hero-bottom .container { height: 28px; }
  .section { padding-block: 32px; }
  .section-heading { margin-bottom: 20px; gap: 12px; }
  .heading-title { gap: 9px; }
  h2 { font-size: 24px; }
  .section-number { font-size: 12px; }
  .section-note { font-size: 12px; gap: 4px; }
  .section-note img { width: 13px; height: 13px; }
  .announcement { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 17px; }
  .announcement-heading { gap: 11px; }
  .download-table-heading { display: none; }
  .download-row { grid-template-columns: minmax(0, 1fr) auto; padding: 22px 0; gap: 11px 14px; }
  .download-info { grid-column: 1 / -1; gap: 12px; }
  .file-icon { width: 41px; height: 43px; }
  .download-name { font-size: 17px; }
  .download-version, .download-date { display: flex; align-items: center; gap: 8px; grid-column: 1; }
  .download-version { margin-top: 2px; }
  .download-date { grid-row: 3; }
  .mobile-label { display: inline; min-width: 56px; color: #8d9198; }
  .download-row .button, .download-row .download-notice { grid-column: 2; grid-row: 2 / 4; }
  .release summary { flex-wrap: wrap; gap: 4px 14px; }
  .changelog-frame { height: 480px; }
  .changelog-document { padding-inline: 14px; }
  .footer-inner { min-height: 83px; flex-wrap: wrap; gap: 10px; }
  .footer-brand { font-size: 22px; }
  .footer-note { display: none; }
  .back-top { margin-left: auto; }
}

@media (max-height: 600px) {
  .hero { min-height: 220px; }
  .hero-content { padding-block: 8px 36px; }
  .hero-eyebrow { font-size: 12px; }
  h1 { font-size: 32px; margin-top: 8px; }
  .hero-description { margin-top: 8px; font-size: 16px; }
  .hero-actions { margin-top: 16px; }
  .button-primary { padding-block: 9px; }
  .hero-compatibility { font-size: 20px; }
  .hero-promise { font-size: 18px; margin-top: 4px; line-height: 1.35; }
  .hero-renewal { margin-top: 6px; line-height: 1.4; }
  .hero-performance { font-size: 18px; }
  .hero-performance strong { font-size: 29px; }
  .hero-plugins { margin-top: 8px; line-height: 1.4; }
  .hero-launcher { margin-top: 2px; line-height: 1.4; }
}

@media (min-width: 601px) and (max-width: 760px) and (max-height: 600px) {
  h1 { font-size: 28px; }
}

@media (max-width: 600px) and (max-height: 600px) {
  .hero-content { padding-block: 8px 32px; }
  .hero-highlights { margin-top: 12px; }
  .hero-compatibility { font-size: 20px; }
  .hero-actions { margin-top: 12px; }
}

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