@font-face {
  font-family: "DotGothic16";
  src: url("assets/fonts/DotGothic16-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  color-scheme: dark;
  --ink: #f4f2f7;
  --muted: #aaa5b3;
  --violet: #a98aff;
  --line: #39343f;
  --black: #0a090c;
}

* { box-sizing: border-box; }

html { background: var(--black); }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 73% 36%, rgba(91, 55, 139, .25), transparent 26rem),
    linear-gradient(135deg, #0a090c 0%, #111015 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

main, footer { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 3rem;
  border-bottom: 1px solid var(--line);
}

.copy { position: relative; z-index: 2; padding-block: 5rem; }

.eyebrow, .number, .version {
  color: var(--violet);
  font-family: "DotGothic16", "MS PGothic", sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  margin: .8rem 0 1.5rem;
  font-family: "DotGothic16", "MS PGothic", sans-serif;
  font-size: clamp(4rem, 9vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .86;
}

.intro { max-width: 39rem; color: #d0ccd5; font-size: 1.15rem; }

.download {
  display: inline-flex;
  flex-direction: column;
  margin-top: 1.25rem;
  padding: 1rem 1.3rem;
  color: #0c0910;
  background: var(--violet);
  border: 1px solid #c5b3ff;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease;
}

.download:hover { transform: translateY(-2px); background: #bba4ff; }
.download:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.download span { font-size: 1.05rem; font-weight: 800; }
.download { font-family: "DotGothic16", "MS PGothic", sans-serif; }
.download small { font-size: .8rem; }
.version { margin-top: 1rem; color: var(--muted); letter-spacing: .08em; }

.portrait { position: relative; align-self: end; justify-self: center; }
.portrait img { position: relative; z-index: 1; display: block; width: min(471px, 42vw); height: auto; }
.halo {
  position: absolute;
  width: 24rem;
  aspect-ratio: 1;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(169, 138, 255, .32);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(116, 75, 177, .22), inset 0 0 80px rgba(116, 75, 177, .12);
}

.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-block: 4rem;
}

.details article { padding: 0 2rem; border-left: 1px solid var(--line); }
.details article:first-child { padding-left: 0; border-left: 0; }
.details h2 { margin: .25rem 0 .7rem; font-family: "DotGothic16", "MS PGothic", sans-serif; font-size: 1.45rem; font-weight: 400; }
.details p { color: var(--muted); }
.details .number { margin: 0; color: var(--violet); }
code { color: #d5c8ff; font-size: .9em; }
.details a, .process a { color: #c7b7f5; text-underline-offset: .2em; }

.release {
  max-width: 52rem;
  margin: 1rem 0 5rem;
  padding: 2.5rem;
  border: 1px solid var(--line);
  background: rgba(15, 13, 19, .72);
}

.release h2 { margin: .4rem 0 1rem; font-family: "DotGothic16", "MS PGothic", sans-serif; font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 400; }
.release p, .release li { color: #bcb7c3; }
.release li + li { margin-top: .55rem; }
.release .checksum code { overflow-wrap: anywhere; }

.process {
  max-width: 52rem;
  margin: 1rem 0 5rem;
}

.process h2 { margin: .4rem 0 1rem; font-family: "DotGothic16", "MS PGothic", sans-serif; font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 400; }
.process p:last-child { color: #bcb7c3; font-size: 1.05rem; }

.notice {
  max-width: 52rem;
  margin: 1rem 0 5rem auto;
  padding: 2.5rem;
  border: 1px solid var(--line);
  background: rgba(15, 13, 19, .72);
}

.notice h2 { margin: .4rem 0 1.25rem; font-family: "DotGothic16", "MS PGothic", sans-serif; font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 400; }
.notice p { color: #bcb7c3; }
.notice .credit { margin-top: 1.5rem; color: var(--ink); font-weight: 700; }
.notice a { color: var(--violet); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: #7f7988;
  font-size: .8rem;
}

footer p { margin: 0; }

@media (max-width: 760px) {
  main, footer { width: min(100% - 28px, 640px); }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 0; padding-top: 2rem; }
  .copy { padding: 3rem 0 1rem; }
  h1 { font-size: clamp(3.8rem, 19vw, 6rem); }
  .portrait { grid-row: 2; justify-self: end; }
  .portrait img { width: min(400px, 90vw); }
  .halo { width: 75vw; }
  .details { grid-template-columns: 1fr; padding-block: 2.5rem; }
  .details article, .details article:first-child { padding: 1.5rem 0; border-left: 0; border-top: 1px solid var(--line); }
  .release { margin-bottom: 3rem; padding: 1.5rem; }
  .notice { margin-bottom: 3rem; padding: 1.5rem; }
  footer { flex-direction: column; gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .download { transition: none; }
}
