/* Nordic Frost & Opera Crimson Flame Palette */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --primary: #e11d48;
  --primary-dark: #be123c;
  --accent: #f97316;
  --line: #e2e8f0;
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(1100px 420px at 8% -8%, rgba(225, 29, 72, .12), transparent 60%);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
}
a { color: inherit; }
img { max-width: 100%; }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  background: rgba(241, 245, 249, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner, .wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.nav-inner { min-height: 67px; display: flex; align-items: center; gap: 18px; padding: 10px 0; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; color: var(--text); }
.nav-logo-mark { height: 30px; width: 30px; border-radius: 6px; display: block; }
.nav-logo small { color: var(--muted); font-weight: 600; font-size: 12px; margin-left: 4px; }
.nav-links { display: flex; gap: 18px; margin-left: 8px; align-items: center; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav-links a.is-on, .nav-links a:hover { color: var(--primary); }
.nav-cta { margin-left: auto; }
.btn-primary, .btn-download {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; text-decoration: none; font-weight: 700;
  border-radius: 6px; padding: 12px 28px; transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}
.btn-primary:hover, .btn-download:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.btn-primary { padding: 8px 18px; font-size: 14px; }
.nav-toggle {
  display: none; margin-left: 8px; border: 0; background: transparent; font-size: 22px;
  width: 40px; height: 40px; cursor: pointer; color: var(--text);
}
.page { padding-top: 84px; }
.breadcrumb { margin: 18px auto 0; }
.breadcrumb ol { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 10px 16px; background: var(--surface-soft); border-radius: 999px; color: var(--text-2); font-size: 14px; }
.breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 600; }
.hero-download { position: relative; text-align: center; padding: 48px 0 60px; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 16px; color: var(--primary-dark); font-weight: 700; font-size: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.badge i { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-grid; place-items: center; font-style: normal; font-size: 12px; }
h1 { font-size: 3.6rem; line-height: 1.15; font-weight: 800; margin: 18px auto 14px; max-width: 920px; letter-spacing: -.03em; }
h1 span { color: var(--primary); }
.hero-download p.lead { max-width: 760px; margin: 0 auto 22px; color: var(--text-2); font-size: 18px; }
.version-pill { display: inline-flex; gap: 8px; align-items: center; background: var(--surface-soft); border-radius: 999px; padding: 8px 18px; color: var(--text-2); font-size: 14px; font-weight: 500; }
.platforms { padding: 10px 0 40px; }
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.platform-card { background: var(--surface); border-radius: var(--radius); padding: 32px 26px; box-shadow: 0 8px 30px rgba(15, 23, 42, .05); border: 1px solid var(--line); display: flex; flex-direction: column; }
.platform-card h3 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.platform-card .ver { color: var(--primary); font-weight: 700; margin: 0 0 8px; }
.platform-card p { color: var(--text-2); margin: 0 0 8px; font-size: 14.5px; }
.platform-card .req { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; margin-top: auto; }
.download-notes { background: #fff; border-radius: var(--radius); padding: 28px 32px; margin-top: 28px; border: 1px solid var(--line); box-shadow: 0 4px 18px rgba(0,0,0,.03); }
.download-notes h3 { margin-top: 0; font-size: 19px; font-weight: 800; }
.download-notes ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0; padding-left: 18px; color: var(--text-2); font-size: 14.5px; }
.section { padding: 28px 0 56px; }
h2 { font-size: 32px; font-weight: 800; margin: 0 0 12px; }
h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 10px; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.spec-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); box-shadow: 0 4px 18px rgba(0,0,0,.03); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--surface-soft); font-weight: 700; color: var(--text); }
.steps-ol { padding-left: 20px; color: var(--text-2); font-size: 15.5px; }
.steps-ol li { margin: 14px 0; }
.steps-ol strong { color: var(--text); }
.codebox { background: #0f172a; color: #f1f5f9; border-radius: 12px; padding: 14px 18px; font-family: ui-monospace, Consolas, monospace; font-size: 14px; line-height: 1.6; margin: 10px 0 6px; }
.faq-item { background: #fff; border-radius: var(--radius-sm); margin: 10px 0; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(0,0,0,.02); }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 16px 18px; list-style: none; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer { padding: 0 18px 16px; color: var(--text-2); font-size: 14.5px; }
footer { background: #0f172a; color: #cbd5e1; padding: 42px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.copy strong { color: #fff; font-size: 17px; }
.footer-socials a, .foot-links a { color: #cbd5e1; text-decoration: none; margin-right: 16px; font-size: 14px; }
.footer-socials a:hover, .foot-links a:hover { color: #fff; }
.foot-links { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; }
@media (min-width: 900px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .download-notes ul { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(248, 250, 252, .98); backdrop-filter: blur(18px);
    padding: 24px; gap: 16px; border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-cta { margin-left: auto; }
  h1 { font-size: 2.5rem; }
}
@media (max-width: 480px) {
  .hero-download { padding: 36px 0 40px; }
  .platform-card { padding: 26px 18px; }
  .btn-download { width: 100%; }
  .download-notes { padding: 22px 18px; }
}
