:root {
  color-scheme: dark;
  font-family: system-ui, "Microsoft YaHei", sans-serif;
  color: #f3f2ff;
  background: #151527;
}

* { box-sizing: border-box; }

body { margin: 0; }

.frame {
  width: min(100% - 2.5rem, 62rem);
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
  border-bottom: 1px solid #3d3b57;
}

.masthead a, .github { color: #ddd8ff; }

.brand { display: flex; align-items: center; gap: .65rem; font-weight: 700; }

.mark {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: .65rem;
  color: #252044;
  background: #cfc5ff;
}

.primary {
  padding: clamp(3rem, 10vw, 7rem) 0 clamp(2.5rem, 7vw, 4.5rem);
  max-width: 48rem;
}

.platform { color: #cfc5ff; font-size: .9rem; font-weight: 650; }

h1 {
  margin: .55rem 0 1rem;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  line-height: 1.14;
}

.intro {
  margin: 0;
  max-width: 36rem;
  color: #c4c1d8;
  line-height: 1.8;
}

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }

.actions a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: .6rem 1rem;
  border-radius: .55rem;
  text-decoration: none;
  font-weight: 700;
}

.download { color: #21183d; background: #d6caff; }
.download:hover { background: #eee8ff; }
.github { border: 1px solid #706b94; }
.github:hover { background: #292740; }

a:focus-visible { outline: 2px solid #f4f1ff; outline-offset: .3rem; }

.details {
  margin-bottom: 3rem;
  padding: 1.4rem;
  border: 1px solid #3d3b57;
  border-radius: .75rem;
  background: #1c1b30;
}

h2 { margin: 0 0 1rem; font-size: 1.1rem; }
dl { margin: 0; }
dl > div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: .5rem; padding: .45rem 0; }
dt { color: #b9b4d3; }
dd { margin: 0; overflow-wrap: anywhere; }
.checksum { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; }
.attribution { margin-bottom: 2rem; }
.attribution img { display: block; max-width: 100%; height: auto; }

@media (max-width: 35rem) {
  dl > div { grid-template-columns: 1fr; gap: .2rem; }
}
