/* diceherald.ngerakines.me: true black and the app's gold, like the Session screen. */
:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #141414;
  --line: #2a2a2a;
  --text: #f2f2f2;
  --muted: #a3a3a3;
  --gold: #ffc34d;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}

a { color: var(--gold); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }

.wrap {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1rem;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

header.site .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

header.site .brand img { width: 32px; height: 32px; border-radius: 8px; }

header.site nav { display: flex; gap: 1.25rem; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--text); }

main { padding: 2.5rem 0 3rem; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 0 0 0.5rem; }
h2 { font-size: 1.6rem; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.1rem; margin: 0 0 0.5rem; }

.prose p, .prose li { color: var(--text); }
.muted { color: var(--muted); }

.hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

.hero img { width: 112px; height: 112px; border-radius: 26px; }
.hero .tagline { font-size: 1.25rem; color: var(--muted); margin: 0; }

.prose .availability {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 1rem;
}

.shots img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  display: block;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem 1.25rem 0.5rem;
}

.card ul { padding-left: 1.1rem; margin: 0 0 0.75rem; }
.card li { margin-bottom: 0.35rem; }

.updated { color: var(--muted); font-size: 0.95rem; }

.toc { padding-left: 1.1rem; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

footer.site p { margin: 0.25rem 0; }

@media (max-width: 40rem) {
  .hero { grid-template-columns: 1fr; }
  .hero img { width: 88px; height: 88px; border-radius: 20px; }
  .shots {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
  }
  .shots img { scroll-snap-align: start; }
  .features { grid-template-columns: 1fr; }
  header.site nav { gap: 0.9rem; }
}
