/* getarlette.com. One typeface (the system's), no images of people, nothing loaded from anyone
   else (docs/48 W10 and §5). Light and dark follow the reader's setting. */

:root {
  color-scheme: light dark;
  --ground: #fafaf8;
  --ink: #131316;
  --muted: #5b5b63;
  --line: #dddcd6;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #101012;
    --ink: #ededea;
    --muted: #a3a3ab;
    --line: #2b2b30;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

header {
  padding-bottom: 4rem;
}

.mark {
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

main {
  flex: 1;
}

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.875rem, 6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

p,
ul {
  margin: 0 0 1.125rem;
  max-width: 36rem;
}

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

.lead {
  font-size: 1.1875rem;
}

.status {
  margin: 2.25rem 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.note,
.note p {
  color: var(--muted);
  font-size: 0.9375rem;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

footer {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  max-width: none;
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
}

footer li {
  margin: 0;
}

footer p {
  margin: 0;
}
