:root {
  color-scheme: light;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  color: #141925;
  background: #f6f7fb;
  font-synthesis: none;
  --ink: #141925;
  --muted: #697183;
  --line: #dfe3ea;
  --surface: #ffffff;
  --orange: #f36925;
  --orange-deep: #d84b12;
  --blue: #3159a7;
  --green: #167c66;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #f6f7fb; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgb(223 227 234 / 0.82);
  background: rgb(246 247 251 / 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.site-header nav { display: flex; gap: 26px; color: #4f586b; font-size: 14px; }
.site-header nav a { padding: 10px 0; }
.site-header nav a:hover { color: var(--orange-deep); }

main { overflow: hidden; }
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  width: min(1120px, calc(100% - 40px));
  min-height: min(74dvh, 680px);
  margin: 24px auto 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #171342;
}
.hero-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: rgb(9 12 25 / 0.4); }
.hero-copy { width: min(680px, 100%); padding: 64px; color: white; }
.hero-kicker, .section-kicker { margin: 0 0 12px; color: var(--orange); font-size: 12px; font-weight: 800; }
.hero h1 { margin: 0; font-size: 56px; line-height: 1.08; letter-spacing: 0; }
.hero p:not(.hero-kicker) { max-width: 28rem; margin: 18px 0 28px; color: rgb(255 255 255 / 0.86); font-size: 18px; line-height: 1.75; }

.primary-action, .download-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 6px;
  background: var(--orange);
  color: white;
  font-weight: 800;
  box-shadow: 0 12px 30px rgb(216 75 18 / 0.28);
  transition: transform 180ms ease, background 180ms ease;
}
.primary-action:hover, .download-action:hover { background: var(--orange-deep); transform: translateY(-1px); }
.is-disabled { pointer-events: none; background: #858b98; box-shadow: none; }

.release-band, .install-section, .compatibility-section, .integrity-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.release-band {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr auto;
  align-items: center;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.release-band h2, .section-heading h2, .integrity-section h2 { margin: 0; font-size: 28px; letter-spacing: 0; }
.release-band p:not(.section-kicker), .integrity-section p { margin: 8px 0 0; color: var(--muted); line-height: 1.7; }
.release-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; }
.release-meta div { min-width: 0; }
.release-meta dt { color: var(--muted); font-size: 12px; }
.release-meta dd { margin: 7px 0 0; overflow-wrap: anywhere; font-weight: 800; }

.install-section, .compatibility-section { padding: 82px 0; }
.section-heading { margin-bottom: 34px; }
.install-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.install-steps li { display: grid; gap: 12px; padding: 30px 34px 30px 0; border-bottom: 1px solid var(--line); }
.install-steps li + li { padding-left: 34px; border-left: 1px solid var(--line); }
.install-steps strong { font-size: 20px; }
.install-steps span { color: var(--muted); line-height: 1.75; }

.compatibility-section { border-top: 1px solid var(--line); }
.compatibility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.compatibility-grid article { min-height: 220px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.platform-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #eaf0ff; color: var(--blue); font-weight: 900; }
.platform-mark.harmony { background: #e5f4ef; color: var(--green); }
.platform-mark.ios { background: #f0edf8; color: #4f4272; }
.compatibility-grid h3 { margin: 34px 0 10px; font-size: 22px; }
.compatibility-grid p { max-width: 32rem; margin: 0; color: var(--muted); line-height: 1.8; }

.integrity-section { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 60px; padding: 66px 0 90px; border-top: 1px solid var(--line); }
.hash-field { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; min-width: 0; }
.hash-field code { min-width: 0; padding: 17px 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: white; color: #394155; text-overflow: ellipsis; white-space: nowrap; }
.hash-field button { min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 6px; background: transparent; color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.hash-field button:disabled { cursor: not-allowed; opacity: 0.45; }

footer { padding: 42px max(20px, calc((100vw - 1120px) / 2)); border-top: 1px solid var(--line); background: #eceff4; color: var(--muted); }
.footer-brand { color: var(--ink); }
footer p { margin: 16px 0 0; line-height: 1.7; }
.copyright { font-size: 13px; }
.notice { position: fixed; right: 20px; bottom: 20px; z-index: 30; max-width: min(380px, calc(100% - 40px)); padding: 13px 16px; border-radius: 6px; background: #193f34; color: white; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 180ms ease, transform 180ms ease; }
.notice.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 820px) {
  .site-header nav { gap: 16px; }
  .hero { min-height: 620px; margin-top: 14px; }
  .hero-copy { padding: 38px; }
  .hero h1 { font-size: 44px; }
  .release-band { grid-template-columns: 1fr; gap: 24px; }
  .release-meta { order: 2; }
  .download-action { justify-self: stretch; }
  .integrity-section { grid-template-columns: 1fr; gap: 26px; }
  .compatibility-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .site-header { min-height: 58px; }
  .site-header nav a:not(:first-child) { display: none; }
  .brand img { width: 32px; height: 32px; }
  .hero, .release-band, .install-section, .compatibility-section, .integrity-section { width: min(100% - 28px, 1120px); }
  .hero { min-height: 560px; }
  .hero-copy { padding: 28px 24px; }
  .hero h1 { font-size: 40px; }
  .hero p:not(.hero-kicker) { font-size: 16px; }
  .primary-action { width: 100%; padding-inline: 14px; }
  .release-band { padding: 28px 0 36px; }
  .release-meta { gap: 12px; }
  .release-meta dd { font-size: 14px; }
  .install-section, .compatibility-section { padding: 64px 0; }
  .install-steps { grid-template-columns: 1fr; }
  .install-steps li, .install-steps li + li { padding: 22px 0; border-left: 0; }
  .compatibility-grid { grid-template-columns: 1fr; }
  .compatibility-grid article { min-height: 0; padding: 26px; }
  .compatibility-grid h3 { margin-top: 24px; }
  .integrity-section { padding: 54px 0 70px; }
  .hash-field { grid-template-columns: 1fr; }
  .hash-field button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
