/* Quiet Maintenance. Type only. Change the colors here (light, then dark). */
:root {
  --bg: #f5f3ef;
  --text: #1c1b19;
  --muted: #76726b;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, ui-serif, serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "DejaVu Sans Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121211; --text: #ecebe7; --muted: #9a968e; }
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 7vw, 96px);
  background: var(--bg);
  color: var(--text);
  font: 18px/1.5 var(--serif);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 1px solid var(--text); outline-offset: 4px; }

main { margin: auto 0; max-width: 980px; }

.name { margin: 0 0 clamp(24px, 5vw, 56px); color: var(--muted); font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.24em; text-transform: lowercase; }

h1 { margin: 0; font-size: clamp(1.9rem, 5.2vw, 4.2rem); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }
.when { font-style: italic; }

.retry { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin: clamp(24px, 4vw, 48px) 0 0; color: var(--muted); font-family: var(--mono); font-size: 0.85rem; }
.retry[hidden] { display: none; }
#retry-text { font-variant-numeric: tabular-nums; }
.retry button { padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; cursor: pointer; }
.retry button[hidden] { display: none; }

footer { color: var(--muted); font-family: var(--mono); font-size: 0.8rem; }
