:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #18202f;
  --muted: #607086;
  --line: #d9e0ea;
  --primary: #1264d8;
  --primary-dark: #0b4ead;
  --accent: #10a37f;
  --shadow: 0 18px 45px rgba(24, 32, 47, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: end;
  padding: 44px 0 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.02;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-logo {
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}

.hero-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 36px;
  max-height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.summary {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.status-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.status-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.status-label {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 34px 0 56px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.section-heading h2,
.note-section h2 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.2;
}

.section-heading p,
.note-section p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #eef3f8;
  color: #243247;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(24, 32, 47, 0.06);
}

.platform-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--primary);
  font-weight: 800;
}

.download-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.download-card p {
  flex: 1;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 7px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  background: var(--primary-dark);
}

.button.secondary {
  background: var(--text);
}

.guide-section {
  border-top: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.step > span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e8f8f3;
  color: #087b61;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
}

.note-section {
  margin-bottom: 56px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 900px) {
  .hero,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    display: block;
    padding-top: 48px;
  }

  .status-panel {
    margin-top: 28px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 8px;
  }

  .download-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .download-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(20px, 6vw, 30px);
  }
}
