/* descript games — minimal, text-first, in the spirit of vlambeer.com */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --strike: #3d3d3d;
  --link: #808080;
  --link-visited: #808080;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --text: #e8e8e8;
    --muted: #999999;
    --strike: #5a5a5a;
    --link: #c8c8c8;
    --link-visited: #c8c8c8;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

h1 {
  font-size: 2rem;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}

h1 s {
  color: var(--strike);
}

.tagline {
  color: var(--muted);
  margin-top: 0;
}

h2 {
  font-size: 1.15rem;
  margin: 2.5rem 0 0.75rem;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 0.25rem;
}

ul {
  padding-left: 1.25rem;
  margin: 0;
}

li {
  margin-bottom: 0.75rem;
}

a {
  color: var(--link);
}

a:visited {
  color: var(--link-visited);
}

.about {
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--muted);
  color: var(--muted);
  font-size: 0.9rem;
}

.about h2 {
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
  border-bottom: none;
  padding-bottom: 0;
  letter-spacing: 0.08em;
}

.about p {
  margin: 0;
}

/* the logo mark, masked so it renders in the surrounding text color */
.about h2 .logo {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.2em;
  margin-right: 0.2em;
  background-color: currentColor;
  -webkit-mask: url("logo-white.png") no-repeat center / contain;
  mask: url("logo-white.png") no-repeat center / contain;
}

footer {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
