/* Night shift, from design/SPEC.md: dark first, with light as a full peer. */
:root {
  --ground: #f5f6fa;
  --surface: #ffffff;
  --hairline: #e2e5ee;
  --text: #0e1424;
  --secondary: #4a5470;
  --link: #9a5b00;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0e1424;
    --surface: #18213a;
    --hairline: #2a3555;
    --text: #f3f5fa;
    --secondary: #a9b2c7;
    --link: #ffb020;
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

h1 {
  font-family: ui-rounded, -apple-system, sans-serif;
  font-size: 32px;
  line-height: 1.2;
}

p, li {
  color: var(--secondary);
}

a {
  color: var(--link);
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 16px;
  overflow-wrap: anywhere;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 15px;
}
