/* The app's palette (apps/mobile/src/ui/theme.ts), following the system appearance. */
:root {
  --background: #faf6ee;
  --surface: #ffffff;
  --text: #1b1b18;
  --text-muted: #6f6b62;
  --border: #e6dfd0;
  --accent: #1f5f4a;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0b0b0a;
    --surface: #161614;
    --text: #f2eee4;
    --text-muted: #9a968b;
    --border: #2a2926;
    --accent: #4fa68a;
  }
}

* {
  box-sizing: border-box;
}

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

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

.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 16px;
}

header.site,
footer.site {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 20px 0;
}

header.site {
  border-bottom: 1px solid var(--border);
}

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  color: var(--text-muted);
  font-size: 15px;
}

footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font: 600 20px/1 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

.brand img {
  display: block;
  width: 32px;
  height: 32px;
}

h1,
h2,
h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: 34px;
  margin: 40px 0 4px;
}

h2 {
  font-size: 23px;
  margin: 36px 0 8px;
}

h3 {
  font-size: 18px;
  margin: 24px 0 4px;
}

.updated {
  color: var(--text-muted);
  margin: 0 0 24px;
}

.summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 20px;
}

ul {
  padding-left: 1.25em;
}

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

.hero {
  text-align: center;
  padding: 72px 0 24px;
}

.hero img {
  width: 96px;
  height: 96px;
}

.hero h1 {
  font-size: 40px;
  margin: 16px 0 8px;
}

.hero p {
  color: var(--text-muted);
  font-size: 20px;
  margin: 0;
}
