:root {
  color-scheme: light dark;
  --bg: #fafaf9;
  --ink: #1c1917;
  --ink-secondary: #44403c;
  --ink-muted: #78716c;
  --rule: #e7e5e4;
  --link: #1d4ed8;
  --font:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161514;
    --ink: #f5f5f4;
    --ink-secondary: #d6d3d1;
    --ink-muted: #a8a29e;
    --rule: #2e2b29;
    --link: #93b4ff;
  }
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-secondary);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 16px;
}

main {
  padding-top: 4rem;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}

h1 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin: 3rem 0 1rem;
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0.25rem 0;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
  border-radius: 4px;
}

.lede {
  font-size: 1.15rem;
  margin-top: 0.75rem;
}

.apps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.app {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.app:first-child {
  border-top: 1px solid var(--rule);
}

.app > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.app picture {
  flex: none;
}

.app img {
  display: block;
  border-radius: 14px;
}

.links,
.muted {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.footer {
  margin-top: 4rem;
  padding-bottom: 3rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.footer::before {
  content: '';
  display: block;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--rule);
}

.links a {
  white-space: nowrap;
}
