:root {
  color-scheme: light dark;
  --bg: #f6f7f9;
  --fg: #1a1d23;
  --muted: #5c6370;
  --accent: #1e5a8a;
  --border: #d8dce3;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, sans-serif;
  line-height: 1.55;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121418;
    --fg: #e8eaef;
    --muted: #9aa3b2;
    --accent: #6eb3e8;
    --border: #2e3440;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
}

.site-header {
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, var(--accent));
}

.site-logo {
  display: block;
  width: clamp(4.25rem, 18vw, 5.75rem);
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 22%;
  box-shadow: 0 2px 12px color-mix(in srgb, var(--fg) 12%, transparent);
}

.site-header h1 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.content {
  max-width: min(54rem, 100%);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.content .screenshots > h2 {
  margin-bottom: 0.5rem;
}

.screenshots-lede {
  margin-top: 0 !important;
}

.screenshots-sub {
  margin: 1.5rem 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.75rem;
  align-items: start;
}

.screenshot-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.4rem;
  border: 1px solid var(--border);
}

.screenshot-grid--wear {
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
}

.content p {
  margin: 0.75rem 0 0;
}

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

.content li {
  margin: 0.35rem 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.contact {
  list-style: none;
  padding-left: 0;
}

.contact li {
  margin: 0.5rem 0;
}

.label {
  color: var(--muted);
  margin-right: 0.35rem;
}

.site-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
