:root {
  color-scheme: light;
  --ink: #142344;
  --muted: #505f79;
  --blue: #2553d5;
  --deep-blue: #193daa;
  --line: #dbe2f0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: #f7f8fc;
  line-height: 1.55;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid #3063e6; outline-offset: 4px; }

.wrap { width: min(69rem, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; top: .5rem; left: .5rem; transform: translateY(-150%); z-index: 2; background: white; padding: .5rem 1rem; }
.skip-link:focus { transform: none; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.25rem; display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: .65rem; align-items: center; font-size: 1.25rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand-mark, .paper-mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; color: #fff; background: var(--blue); border-radius: .6rem; font-weight: 750; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem clamp(.75rem, 3vw, 1.9rem); color: var(--muted); font-size: .9375rem; }
nav a { text-decoration: none; }
nav a:hover { color: var(--blue); }
.nav-console { display: inline-block; border: 1px solid var(--line); border-radius: .45rem; padding: .4rem .75rem; color: var(--ink); }

.hero { background: linear-gradient(106deg, #f0f4ff 0%, #eaf0ff 52%, #dfe8ff 100%); border-bottom: 1px solid #d5dff5; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; min-height: 24rem; gap: 2rem; }
.hero-copy { padding-block: 3rem; }
h1 { font-size: clamp(2.8rem, 6.3vw, 5.25rem); letter-spacing: -.07em; line-height: 1.08; }
.hero p { margin: 1.3rem 0 1.7rem; color: #394d77; font-size: clamp(1.04rem, 2vw, 1.24rem); line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: .6rem 1.08rem; border: 1px solid transparent; border-radius: .5rem; font-weight: 700; text-decoration: none; }
.primary { background: var(--blue); color: #fff; }
a.primary:hover { background: var(--deep-blue); }
.secondary { background: #fff; color: var(--deep-blue); border-color: #bccbf0; }
.secondary:hover { background: #f1f5ff; }
.unavailable { background: #e8edf7; color: #4a5e81; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 19rem; isolation: isolate; background-image: radial-gradient(#9cafe2 1px, transparent 1px); background-size: 16px 16px; border-radius: 1.5rem; }
.hero-art::before { content: ""; position: absolute; z-index: -1; width: 16.3rem; height: 16.3rem; border-radius: 50%; background: #cedbff; }
.paper { width: min(15.75rem, 74%); border-radius: .85rem; }
.paper-back { position: absolute; height: 12.7rem; background: #a9bdf5; transform: translate(1.4rem, .2rem) rotate(11deg); }
.paper-front { z-index: 1; background: white; padding: 1.2rem 1.25rem 1.1rem; outline: 1px solid #d8e2fc; box-shadow: 0 1.2rem 2.3rem #345cb42b; transform: rotate(-7deg); }
.paper-mark { display: inline-grid; width: 1.55rem; height: 1.55rem; font-size: .8rem; margin-right: .38rem; vertical-align: middle; border-radius: .38rem; }
.paper-front strong { font-size: 1rem; vertical-align: middle; }
.paper-rule { height: 1px; background: var(--line); margin-block: .85rem .7rem; }
.paper-line { display: flex; align-items: center; gap: .48rem; margin: .58rem 0; font-size: .84rem; color: #34476d; white-space: nowrap; }
.paper-line i { display: grid; place-items: center; width: .95rem; height: .95rem; background: #e3edff; border-radius: .25rem; }
.paper-line i::before { content: ""; width: .37rem; height: .22rem; border: solid #2454cd; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }

.section { padding-top: 2.6rem; scroll-margin-top: 1rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .45rem 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.035em; line-height: 1.25; }
.section-heading p, .metadata { color: var(--muted); font-size: .875rem; }
.platforms { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.15rem; align-items: start; }
.platform { min-width: 0; padding: clamp(1.15rem, 3.5vw, 1.8rem); background: #fff; border: 1px solid var(--line); border-radius: .85rem; }
.platform.windows { border-color: #aebff4; box-shadow: 0 .45rem 1.3rem #2c479210; }
.card-top, .card-actions { display: flex; align-items: center; gap: .55rem 1rem; flex-wrap: wrap; }
.card-top { justify-content: space-between; margin-bottom: .95rem; }
.platform-icon { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: .65rem; color: var(--blue); background: #edf2ff; }
.win-icon { grid-template: repeat(2, .43rem) / repeat(2, .43rem); place-content: center; gap: .12rem; }
.win-icon i { display: block; width: 100%; height: 100%; background: currentColor; }
.browser-icon { width: 1.18rem; height: .96rem; border: 2px solid currentColor; border-radius: .18rem; position: relative; }
.browser-icon::after { content: ""; position: absolute; inset: .21rem 0 auto; border-top: 2px solid currentColor; }
.pill { color: #415178; background: #f0f3fa; padding: .24rem .6rem; border-radius: 1rem; font-size: .875rem; font-weight: 650; }

.platform h3 { font-size: 1.43rem; letter-spacing: -.025em; }
.platform p { color: var(--muted); margin: .45rem 0 1.25rem; }
.checksum { border-top: 1px solid var(--line); margin-top: 1.12rem; padding-top: .8rem; color: #405375; }
.checksum summary { width: fit-content; cursor: pointer; font-size: .9rem; }
.checksum code { display: block; color: var(--ink); background: #f0f3fa; margin: .7rem 0 .45rem; padding: .5rem; border-radius: .28rem; overflow-wrap: anywhere; }
.copy { padding: .28rem .58rem; background: #fff; color: var(--deep-blue); border: 1px solid #b9c8eb; border-radius: .33rem; font: inherit; font-size: .875rem; cursor: pointer; }
.copy:hover { background: #f3f6ff; }
.copy-status { font-size: .875rem; margin-left: .35rem; }

.guide { padding-bottom: 2.35rem; }
.steps { margin: 1rem 0; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: .8rem; }
.steps li { counter-increment: step; padding: 1.2rem; }
.steps li + li { border-left: 1px solid var(--line); }
.steps h3 { font-size: 1.05rem; }
.steps h3::before { content: counter(step); display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; background: #eaf0ff; color: var(--deep-blue); border-radius: .38rem; margin-right: .45rem; font-size: .85rem; }
.steps p, .release-note p { color: var(--muted); margin-top: .4rem; }
.steps a { display: inline-block; color: var(--deep-blue); text-underline-offset: .18em; }
.release-note { padding: 1rem 1.2rem; background: #edf2fd; border-left: 3px solid #9aaeee; border-radius: .35rem; }
.release-note h3 { font-size: 1rem; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); display: flex; gap: .5rem 1rem; flex-wrap: wrap; justify-content: space-between; padding-block: 1.15rem 1.45rem; font-size: .875rem; }

@media (max-width: 44rem) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; min-height: auto; padding-bottom: 1.45rem; }
  .hero-copy { padding-block: 2.6rem 1.5rem; }
  .hero-art { min-height: 15rem; }
  .hero-art::before { width: 12rem; height: 12rem; }
  .platforms, .steps { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 30rem) {
  .wrap { width: calc(100% - 2rem); }
  nav a:not(.nav-console) { display: none; }
  .hero-art, .wide-only { display: none; }
  .hero-inner { padding-bottom: 0; }
  .hero-copy { padding-bottom: 2.15rem; }
  .section { padding-top: 2rem; }
}
