:root {
  color-scheme: light;
  --ink: #11171e;
  --muted: #607080;
  --line: #d8e0e7;
  --paper: #f5f8fa;
  --white: #ffffff;
  --teal: #087f72;
  --blue: #145cf5;
  --green: #14804a;
  --amber: #9a5b00;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
}

.brand strong,
.brand small { display: block; }
.brand strong { font-size: 0.92rem; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 0.65rem; }

.home-link {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

main { border-top: 1px solid var(--line); }

.hero {
  display: flex;
  min-height: 590px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 68px 24px 76px;
  text-align: center;
}

.app-icon {
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--ink);
  box-shadow: 0 22px 48px rgba(17, 23, 30, 0.18);
}

.app-icon--light {
  border: 1px solid rgba(17, 23, 30, 0.08);
  background: linear-gradient(135deg, #ffffff 0%, #eef3f8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 22px 48px rgba(17, 23, 30, 0.12);
}

.app-icon img { width: 100%; height: 100%; object-fit: contain; }

.eyebrow,
.section-index {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

h1 {
  margin: 0;
  font-size: 4.25rem;
  line-height: 1;
  letter-spacing: 0;
}

.tagline {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.download-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(20, 92, 245, 0.22);
}

.download-button:hover { background: #0d4fd8; }
.version { color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.trust-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.feature-band,
.steps-band,
.compatibility-band,
.release-band {
  width: 100%;
  border-top: 1px solid var(--line);
}

.feature-band,
.steps-band,
.compatibility-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  padding: 72px max(24px, calc((100% - 1120px) / 2));
}

.steps-band { background: var(--white); }
.compatibility-band { background: #eef4f3; }

.section-copy h2,
.release-band h2 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-copy > p:last-child,
.release-band p {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-grid article {
  min-height: 116px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid strong,
.feature-grid span { display: block; }
.feature-grid strong { font-size: 0.95rem; }
.feature-grid span { margin-top: 8px; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.steps li > span { color: var(--blue); font-size: 0.75rem; font-weight: 800; }
.steps p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.65; }
.steps strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 0.92rem; }

.update-dropdown {
  border-top: 1px solid rgba(8, 127, 114, 0.24);
  border-bottom: 1px solid rgba(8, 127, 114, 0.24);
}

.update-dropdown summary {
  min-height: 56px;
  padding: 17px 4px;
  color: var(--green);
  cursor: pointer;
  user-select: none;
}

.update-dropdown summary::marker {
  font-size: 0.72rem;
}

.update-dropdown summary:hover {
  background: rgba(8, 127, 114, 0.045);
}

.update-dropdown summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.update-dropdown__summary {
  display: inline-flex;
  width: calc(100% - 20px);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-left: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.update-dropdown__summary strong {
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.update-dropdown__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(8, 127, 114, 0.18);
}

.update-dropdown__list > li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  padding: 9px 4px;
  border-bottom: 1px solid rgba(8, 127, 114, 0.16);
}

.update-dropdown__list > li:last-child { border-bottom: 0; }
.update-dropdown__list strong { font-size: 0.82rem; line-height: 1.45; }
.status { font-size: 0.7rem; font-weight: 800; }
.status--ok { color: var(--green); }
.status--limited { color: var(--amber); }

.release-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 48px max(24px, calc((100% - 1120px) / 2));
  background: var(--ink);
  color: var(--white);
}

.release-band .section-index { color: #5eead4; }
.release-band p { color: #9fb0bd; }
.download-link {
  flex-shrink: 0;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

footer {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 26px 0 42px;
  color: var(--muted);
  font-size: 0.66rem;
}

footer span { flex-shrink: 0; font-weight: 800; }
footer code { font-size: 0.64rem; overflow-wrap: anywhere; text-align: right; }

@media (max-width: 760px) {
  .site-header { min-height: 68px; }
  .brand small { display: none; }
  .hero { min-height: 540px; padding: 56px 20px 64px; }
  .app-icon { width: 92px; height: 92px; border-radius: 21px; }
  h1 { font-size: 3.3rem; }
  .tagline { font-size: 0.96rem; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .download-button { width: min(260px, 100%); }
  .feature-band,
  .steps-band,
  .compatibility-band { grid-template-columns: 1fr; gap: 34px; padding-top: 52px; padding-bottom: 52px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 96px; }
  .release-band { align-items: flex-start; flex-direction: column; }
  footer { flex-direction: column; gap: 8px; }
  footer code { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
