/* XYVerse
   One column, hairline rules, no cards. Monochrome except the download button,
   which is the only thing on the page you are meant to click. */

:root {
  --bg: #141519;
  --text: #e9e9ec;
  --muted: #8c9099;
  --rule: #292b33;
  --rule-soft: #1f2127;
  --accent: #d2a15c;
  --accent-ink: #191510;

  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --col: 720px;
  --pad: clamp(1.25rem, 5vw, 2rem);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* masthead */

.masthead {
  border-bottom: 1px solid var(--rule-soft);
}

.wordmark {
  display: block;
  max-width: var(--col);
  margin: 0 auto;
  padding: 1.15rem var(--pad);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}

/* intro */

main {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.intro {
  padding: clamp(3rem, 8vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
}

.intro h1 {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 58ch;
  color: var(--muted);
}

/* a section heading, drawn only when there is more than one section to tell apart */

.group-title {
  margin: 3rem 0 0;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* one release */

.release {
  padding: 2.6rem 0;
  border-top: 1px solid var(--rule);
}

.release-head {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.release-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.release-version {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.release-body {
  margin: 0.7rem 0 0;
  max-width: 60ch;
}

.release-meta {
  margin: 0.7rem 0 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.release-get {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.7rem 0 0;
}

.download {
  display: inline-block;
  padding: 0.62rem 1.15rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}
.download:hover { background: #e0b174; }

.release-file {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.install-title {
  margin: 2.1rem 0 0;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.install {
  margin: 0.8rem 0 0;
  padding-left: 1.25rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.95rem;
}

.install li { margin-bottom: 0.45rem; }
.install li::marker { font-family: var(--mono); font-size: 0.85em; }

.empty {
  padding: 2.6rem 0;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.85rem;
}

/* foot */

.foot {
  max-width: var(--col);
  margin: 3rem auto 0;
  padding: 0 var(--pad) 4rem;
}

/* Rule sits on the paragraph so it lines up with the rules between releases. */
.foot p {
  margin: 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule-soft);
  color: var(--muted);
  font-size: 0.85rem;
}
