:root {
  color: #18243a;
  background: #f4f7fb;
  font-family: "Segoe UI", "Microsoft JhengHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body { margin: 0; }

main {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 52px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 10px 0 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 750;
  font-size: 1.08rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #ee6328, #d3431c);
}

.channel, .eyebrow {
  color: #4b6590;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .08em;
}

.channel {
  padding: 7px 10px;
  border-radius: 999px;
  background: #e7eef8;
  letter-spacing: .04em;
}

.eyebrow { margin: 0 0 7px; }

.hero { max-width: 680px; margin-bottom: 34px; }

h1, h2 { margin: 0; line-height: 1.22; }

h1 { font-size: clamp(2.25rem, 6vw, 4.25rem); letter-spacing: -.045em; }

h2 { font-size: 1.3rem; }

.lead, p { color: #5a6a82; line-height: 1.7; }

.lead { margin: 16px 0 0; font-size: 1.08rem; }

.card {
  padding: 28px;
  border: 1px solid #d9e2ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px #2647680d;
}

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 18px;
}

.release-detail { margin: 9px 0 0; }

.release-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.release-meta div { padding-left: 12px; border-left: 2px solid #dbe5f4; }

dt { color: #687990; font-size: .78rem; }

dd { margin: 3px 0 0; font-weight: 700; word-break: break-word; }

.download-action { min-width: 250px; }

button, .secondary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.primary { width: 100%; color: #fff; background: #1761d7; }

.primary:disabled, #copy-hash:disabled { color: #6a7890; background: #eaf0f7; cursor: not-allowed; }

.download-action p { margin: 9px 0 0; font-size: .84rem; text-align: center; }

.grid { display: grid; gap: 18px; }

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

.steps { margin: 18px 0 0; padding-left: 22px; }

.steps li { padding: 4px 0; line-height: 1.6; }

.support-status { min-height: 1.7em; font-weight: 700; color: #29405e; }

.secondary-link { color: #1b57ba; background: #eaf1ff; }

.secondary-link[hidden] { display: none; }

.verification { margin-top: 18px; }

.hash-row { display: flex; gap: 10px; align-items: stretch; margin-top: 15px; }

code {
  flex: 1;
  min-width: 0;
  padding: 12px;
  overflow-wrap: anywhere;
  border: 1px solid #d9e2ee;
  border-radius: 10px;
  background: #f8faff;
  color: #29405e;
}

#copy-hash { min-width: 102px; }

.security-note {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #fedfa1;
  border-radius: 12px;
  background: #fff8e8;
  color: #654913;
  line-height: 1.6;
}

footer { padding: 22px 16px 34px; color: #687990; text-align: center; font-size: .86rem; }

@media (max-width: 680px) {
  main { width: min(100% - 24px, 1080px); padding-top: 14px; }
  .site-header { padding-bottom: 28px; }
  .download-card, .two-columns { grid-template-columns: 1fr; }
  .release-meta { grid-template-columns: 1fr; }
  .download-action { min-width: 0; }
  .hash-row { flex-direction: column; }
}
