:root {
  --bg: #fafaf8;
  --ink: #1a1a18;
  --muted: #6b6a64;
  --hair: rgba(26, 26, 24, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111110;
    --ink: #e9e7e2;
    --muted: #8d8a83;
    --hair: rgba(233, 231, 226, 0.16);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

::selection { background: var(--ink); color: var(--bg); }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 38rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}

/* ---- Shared type ---- */

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.label,
.line {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.line { margin-top: 0.5rem; }

.label { margin-bottom: 2rem; }

.rule {
  border: 0;
  border-top: 1px solid var(--hair);
  width: 3.5rem;
  margin: 2.6rem auto;
}

/* ---- Footer ---- */

footer {
  margin-top: 6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hair);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

footer a { transition: color 200ms ease; }

footer a:hover,
footer a:focus-visible { color: var(--ink); }

@media (max-width: 480px) {
  .wrap { padding-top: 4rem; }
}
