:root {
  --bg: #faf9f7;
  --fg: #1c1b19;
  --muted: #8a8680;
  --line: #e6e3de;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #151413; --fg: #efece7; --muted: #8f8a83; --line: #2b2926; }
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 18vh 1.5rem 3rem;
}
h1 { font-weight: 500; font-size: clamp(1.75rem, 5vw, 2.5rem); letter-spacing: -0.02em; margin: 0 0 4rem; }
h2 { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 1rem; }
.apps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.apps:empty { display: none; }
.apps li { border-bottom: 1px solid var(--line); }
.apps a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; color: inherit; text-decoration: none; }
.apps a:hover .name, .apps a:focus-visible .name { text-decoration: underline; text-underline-offset: 0.2em; }
.apps .blurb { color: var(--muted); text-align: right; }
.empty { color: var(--muted); margin: 0; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.apps:not(:empty) + .empty { display: none; }
footer { max-width: 40rem; width: 100%; margin: 0 auto; padding: 2rem 1.5rem; color: var(--muted); font-size: 0.8rem; }
