:root {
  color-scheme: dark;
  --background: #07111f;
  --surface: #0b1727;
  --surface-strong: #0e1c2e;
  --text: #f4f7fb;
  --muted: #9aa9bd;
  --border: #213249;
  --accent: #1683ff;
  --accent-hover: #3495ff;
  --content: 1180px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); line-height: 1.65; }
a { color: inherit; text-decoration: none; }

.site-header {
  height: 72px;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; letter-spacing: .01em; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--accent); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.brand-mark span { width: 12px; height: 16px; border-radius: 9px 9px 11px 11px; background: white; position: relative; }
.brand-mark span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); position: absolute; left: 3.5px; top: 3.5px; }
nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
nav a { color: #c4cedb; transition: color .18s ease; }
nav a:hover, nav a.active { color: var(--accent-hover); }

.section-shell { max-width: var(--content); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.hero { min-height: 520px; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 34px; padding-top: 54px; padding-bottom: 50px; }
.hero h1 { margin: 0 0 22px; font-size: clamp(42px, 5vw, 68px); line-height: 1.13; letter-spacing: -.04em; }
.hero p { max-width: 520px; margin: 0; color: #b2bfd0; font-size: 19px; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 32px; }
.button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 650; }
.button.primary { color: white; background: var(--accent); box-shadow: 0 8px 24px rgba(22,131,255,.18); }
.button.primary:hover { background: var(--accent-hover); }
.button:disabled { cursor: not-allowed; color: #8190a4; background: #172437; box-shadow: none; }
.text-link { color: #66aaff; font-weight: 600; }
.hero-media img { width: 100%; display: block; mix-blend-mode: screen; }

h2 { margin: 0 0 26px; font-size: 24px; letter-spacing: -.02em; }
h3 { margin: 0; font-size: 17px; }
.workflow, .download, .faq { margin-top: 22px; padding-top: 28px; padding-bottom: 30px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.steps li { position: relative; min-height: 150px; padding: 34px 24px 24px; background: var(--surface); }
.steps strong { position: absolute; left: 22px; top: -16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: white; }
.steps p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.split-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.split-sections > section { padding: 28px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; }
.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--border); }
.fact-list li:first-child { border-top: 0; padding-top: 0; }
.fact-list li:last-child { padding-bottom: 0; }
.fact-list span { color: var(--muted); font-size: 14px; }

.download-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 34px; }
.package-summary { display: grid; grid-template-columns: 92px 1fr; gap: 20px; align-items: start; }
.package-art { width: 92px; height: 106px; border-radius: 8px; background: linear-gradient(145deg, #154e93, #0a2443); border: 1px solid #2a68ad; display: grid; place-items: center; }
.package-art span { width: 30px; height: 42px; border-radius: 22px 22px 25px 25px; background: #77b8ff; position: relative; }
.package-art span::after { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: #123e72; left: 8.5px; top: 8px; }
dl { margin: 10px 0 0; }
dl div { display: grid; grid-template-columns: 56px 1fr; font-size: 13px; }
dt { color: var(--muted); }
dd { margin: 0; }
.package-summary .button { grid-column: 1 / -1; width: 100%; }
.package-details { min-width: 0; padding-left: 34px; border-left: 1px solid var(--border); }
.package-details h3 + ol { margin-top: 10px; }
.package-details ol { padding-left: 20px; color: #bac5d3; font-size: 14px; }
.hash-row { display: flex; gap: 8px; margin: 10px 0 26px; }
.hash-row code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; padding: 10px 12px; border: 1px solid var(--border); background: #07101c; color: #aab7c8; }
.hash-row button { min-width: 62px; border: 1px solid var(--border); background: #152338; color: #8290a3; border-radius: 7px; }

.faq details { border-top: 1px solid var(--border); }
.faq details:first-of-type { border-top: 0; }
.faq summary { padding: 15px 2px; cursor: pointer; font-weight: 560; }
.faq details p { margin: -4px 0 18px; color: var(--muted); }
.legal-page { max-width: 840px; min-height: calc(100vh - 160px); margin: 0 auto; padding: 68px 24px 90px; }
.legal-page article { padding: 38px 42px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; }
.legal-page h1 { margin: 0 0 8px; font-size: 38px; }
.legal-page h2 { margin-top: 34px; margin-bottom: 8px; font-size: 20px; }
.legal-page p, .legal-page li { color: #c1cbd8; }
.legal-page .updated { color: var(--muted); font-size: 14px; }

.site-footer { max-width: var(--content); margin: 70px auto 0; padding: 28px 24px 40px; display: flex; justify-content: space-between; border-top: 1px solid var(--border); color: #8796a9; font-size: 13px; }
.site-footer div { display: flex; gap: 28px; }
.site-footer a:hover { color: var(--accent-hover); }

@media (max-width: 900px) {
  .site-header { height: auto; padding-top: 18px; padding-bottom: 18px; align-items: flex-start; }
  nav { gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-media { order: -1; max-width: 680px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split-sections, .download-grid { grid-template-columns: 1fr; }
  .package-details { padding-left: 0; padding-top: 28px; border-left: 0; border-top: 1px solid var(--border); }
}

@media (max-width: 620px) {
  .site-header { display: grid; gap: 18px; }
  nav { justify-content: flex-start; font-size: 13px; }
  .hero { min-height: 0; padding-top: 42px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .steps { grid-template-columns: 1fr; }
  .split-sections { padding-left: 16px; padding-right: 16px; }
  .workflow, .download, .faq { margin-left: 16px; margin-right: 16px; }
  .legal-page article { padding: 28px 22px; }
  .site-footer { margin-top: 40px; gap: 20px; flex-direction: column; }
}
