:root {
  --bg: #000000;
  --card: #111111;
  --ink: #ffffff;
  --muted: #a3a3a3;
  --line: #262626;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a {
  color: var(--ink);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--muted);
}

.page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}

/* The logo: "nothing", lowercase, in the device's own Helvetica-style sans. */
.wordmark {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
  text-decoration: none;
}

h1 {
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 3rem 0 1rem;
}

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

/* Read by screen readers, not shown. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

/* The whole tile is one link to the app's site. */
.app {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s;
}

.app:hover,
.app:focus-visible {
  color: inherit;
  border-color: var(--muted);
}

.app img {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  flex-shrink: 0;
}

.app h3 {
  margin: 0;
  font-size: 1.15rem;
}

.app p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.prose h2 {
  margin-top: 2rem;
}

.prose p,
.prose ul {
  margin: 0 0 0.75rem;
}

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

footer {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

footer a {
  color: var(--muted);
}
