:root {
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #102b26;
  background: #f5f2ea;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 4%, rgba(76, 183, 224, .12), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(224, 126, 47, .08), transparent 26rem),
    #f5f2ea;
}

a { color: inherit; }

.topbar {
  height: 72px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(18, 61, 51, .12);
  background: rgba(250, 248, 242, .86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.system-link,
.integrity a {
  color: #175448;
  font-weight: 700;
  text-underline-offset: 4px;
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 48px;
}

.intro { margin-bottom: 34px; }

.intro-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.eyebrow {
  margin: 0 0 9px;
  color: #bd5b21;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
}

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

h1 {
  margin-bottom: 16px;
  max-width: 760px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.lede {
  max-width: 720px;
  margin-bottom: 0;
  color: #60736e;
  font-size: 17px;
  line-height: 1.8;
}

.release-badge {
  flex: 0 0 auto;
  width: 138px;
  padding: 18px;
  border: 1px solid rgba(18, 61, 51, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 18px 48px rgba(22, 55, 46, .08);
}

.release-badge span { display: block; color: #74837f; font-size: 12px; }
.release-badge strong { display: block; margin-top: 3px; font-size: 27px; }

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

.download-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 480px;
  flex-direction: column;
  padding: 32px;
  border: 1px solid rgba(18, 61, 51, .13);
  border-radius: 30px;
  background: rgba(255, 253, 248, .9);
  box-shadow: 0 22px 70px rgba(22, 55, 46, .09);
}

.download-card::after {
  content: "";
  position: absolute;
  right: -86px;
  top: -96px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(64, 181, 223, .08);
}

.android-card::after { background: rgba(224, 126, 47, .09); }

.platform-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: #123d33;
}

.android-card .platform-icon { background: #bd5b21; }
.platform-icon svg { width: 28px; height: 28px; fill: currentColor; }

.card-copy h2 { margin-bottom: 12px; font-size: 28px; letter-spacing: -.02em; }
.card-copy > p:last-child { min-height: 58px; color: #60736e; line-height: 1.7; }

.file-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: auto 0 22px;
  padding: 14px;
  border-radius: 18px;
  background: #f2f0e9;
}

.file-meta div { padding: 2px 8px; border-right: 1px solid rgba(18, 61, 51, .1); }
.file-meta div:last-child { border-right: 0; }
.file-meta dt { margin-bottom: 4px; color: #7d8b87; font-size: 11px; }
.file-meta dd { margin: 0; font-size: 13px; font-weight: 800; }

.download-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 16px;
  color: #fff;
  background: #123d33;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(18, 61, 51, .18);
  transition: transform .18s ease, background .18s ease;
}

.download-button:hover { transform: translateY(-2px); background: #175448; }
.download-button:focus-visible { outline: 3px solid #44b7df; outline-offset: 3px; }
.download-button span { font-size: 22px; }

.notice { margin: 14px 2px 0; color: #7d8b87; font-size: 12px; line-height: 1.6; }

.integrity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 24px 28px;
  border: 1px solid rgba(18, 61, 51, .13);
  border-radius: 22px;
  background: rgba(255, 253, 248, .72);
}

.integrity h2 { margin: 0; font-size: 19px; }

footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 38px;
  display: flex;
  justify-content: space-between;
  color: #7d8b87;
  font-size: 12px;
}

footer a { text-underline-offset: 4px; }

@media (max-width: 760px) {
  .topbar { height: 64px; padding: 0 18px; }
  .brand img { width: 38px; height: 38px; }
  .system-link { font-size: 13px; }
  main { width: min(100% - 28px, 620px); padding-top: 48px; }
  .intro-row { align-items: start; flex-direction: column; gap: 20px; }
  .release-badge { width: auto; min-width: 132px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 0; padding: 24px; border-radius: 24px; }
  .card-copy > p:last-child { min-height: 0; }
  .file-meta { margin-top: 22px; }
  .integrity { align-items: start; flex-direction: column; }
  footer { width: min(100% - 28px, 620px); flex-direction: column; gap: 10px; }
}
