/* Palette from gym-log's theme.config.js. */
:root {
  color-scheme: light dark;
  --background: #f4f2ee;
  --surface: #ffffff;
  --foreground: #17130f;
  --muted: #655d54;
  --border: #e4dfd7;
  --link: #b8440e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0f0d0b;
    --surface: #1b1815;
    --foreground: #f5f1ea;
    --muted: #a39a8f;
    --border: #2e2924;
    --link: #f4733a;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

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

header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

header img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

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

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.tagline {
  margin: 4px 0 0;
  color: var(--muted);
}

h2 {
  margin: 0 0 12px;
  font-size: 19px;
}

h3 {
  margin: 20px 0 4px;
  font-size: 17px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.card > :last-child {
  margin-bottom: 0;
}

p,
ul {
  margin: 0 0 12px;
}

ul {
  padding-left: 22px;
}

li + li {
  margin-top: 6px;
}

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

.muted {
  color: var(--muted);
}

footer {
  margin-top: 32px;
  color: var(--muted);
  font-size: 15px;
}

footer a {
  color: inherit;
}
