:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #172033;
  background: #f6f8fc;
}

* { box-sizing: border-box; }

html { min-width: 320px; scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 85% 8%, rgba(102, 140, 225, .14), transparent 28rem),
    linear-gradient(145deg, #f8faff 0%, #eef3fb 100%);
}

.site-shell {
  width: min(calc(100% - 40px), 1080px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 0 34px;
}

.topbar, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar { padding: 4px 0; }
.brand-mark { color: #315dbb; font-size: 13px; font-weight: 800; letter-spacing: .18em; }
.beta-chip { color: #5e6e88; font-size: 13px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  gap: clamp(36px, 8vw, 108px);
  align-items: center;
  padding: clamp(74px, 12vw, 144px) 0 clamp(76px, 12vw, 140px);
}

.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 14px; color: #4770c7; font-size: 11px; font-weight: 800; letter-spacing: .2em; }

h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 720px; margin: 0; font-size: clamp(36px, 6.4vw, 72px); line-height: 1.12; letter-spacing: -.055em; }
.lead { margin: 26px 0 0; color: #3e506f; font-size: clamp(19px, 2.5vw, 27px); line-height: 1.5; }
.hero-note { max-width: 540px; margin: 12px 0 0; color: #738098; font-size: 15px; line-height: 1.8; }

.download-state { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.download-state button { padding: 12px 18px; border: 0; border-radius: 9px; color: #fff; background: #9aabc9; font: inherit; font-size: 14px; font-weight: 650; cursor: not-allowed; }
.download-state span { color: #7a879a; font-size: 13px; }

.hero-card { position: relative; min-height: 280px; padding: 34px 28px; border: 1px solid rgba(177, 194, 224, .7); border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(231,238,250,.76)); box-shadow: 20px 24px 60px rgba(48, 79, 137, .12); }
.hero-card::before { position: absolute; top: 20px; left: 28px; width: 36px; height: 5px; border-radius: 5px; background: #4770c7; content: ""; }
.card-line { width: 82%; height: 10px; margin: 28px 0; border-radius: 6px; background: #d4deef; }
.card-line.short { width: 44%; margin-top: 26px; }
.card-line.medium { width: 64%; }
.card-line.accent { width: 72%; background: #a9bee8; }

.section { padding: clamp(54px, 9vw, 104px) 0; border-top: 1px solid rgba(201, 212, 232, .72); }
.section-heading { max-width: 650px; }
.section-heading h2 { margin: 0; font-size: clamp(27px, 4vw, 44px); line-height: 1.25; letter-spacing: -.04em; }
.section-heading > p:last-child { margin: 14px 0 0; color: #718098; line-height: 1.8; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.feature-card { min-width: 0; padding: 24px; border: 1px solid #dce5f4; border-radius: 15px; background: rgba(255,255,255,.72); }
.feature-card h3 { margin: 0; color: #243653; font-size: 17px; }
.feature-card p { margin: 10px 0 0; color: #718098; font-size: 14px; line-height: 1.75; }

.beta-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .72fr); gap: 42px; align-items: end; }
.beta-panel, .version-panel { padding: 24px; border-radius: 16px; background: #1f365c; color: #fff; box-shadow: 16px 20px 50px rgba(31, 54, 92, .16); }
.beta-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.panel-label { margin: 0 0 8px; color: #aec4ec; font-size: 12px; }
.beta-panel strong, .version-panel strong { font-size: 19px; }
.status-dot { width: 12px; height: 12px; flex: 0 0 auto; border-radius: 50%; background: #91c7a5; box-shadow: 0 0 0 7px rgba(145,199,165,.15); }

.install-list { display: grid; gap: 0; max-width: 760px; margin: 34px 0 0; padding: 0; list-style: none; }
.install-list li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px 0; border-bottom: 1px solid #dce5f4; }
.install-list li:first-child { border-top: 1px solid #dce5f4; }
.install-list span { color: #4770c7; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.install-list p { margin: 0; color: #5f6f89; line-height: 1.7; }

.version-section { display: grid; grid-template-columns: 1fr minmax(250px, .72fr); gap: 42px; align-items: end; }
.version-panel { background: rgba(255,255,255,.82); color: #243653; border: 1px solid #dce5f4; box-shadow: none; }
.version-panel p { margin: 10px 0 0; color: #718098; font-size: 14px; line-height: 1.7; }

footer { padding-top: 28px; color: #8793a8; font-size: 12px; }

@media (max-width: 760px) {
  .hero, .beta-section, .version-section { grid-template-columns: 1fr; }
  .hero { padding-top: 76px; }
  .hero-card { min-height: 180px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 500px) {
  .site-shell { width: min(calc(100% - 28px), 1080px); }
  .topbar { align-items: flex-start; gap: 16px; }
  .beta-chip { text-align: right; }
  .feature-grid { grid-template-columns: 1fr; }
  .download-state { align-items: flex-start; flex-direction: column; gap: 9px; }
  .download-state button { width: 100%; }
}

.download-state .download-button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 9px; color: #fff; background: #315fce; font: inherit; font-size: 14px; font-weight: 650; text-decoration: none; }
.download-state .download-button:hover { background: #274fae; }
.version-panel .release-meta { margin-top: 10px; color: #718098; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
