/* The Default theme's own colours - src/ui/theme/themes/reggie.ts. */
:root {
  --background: #eaeaee;
  --surface: #ffffff;
  --border: #e2e2e6;
  --text: #33333b;
  --text-muted: #676772;
  --active: #3b6cf6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #101013;
    --surface: #18181c;
    --border: #2e2e36;
    --text: #f2f2f5;
    --text-muted: #9a9aa6;
    --active: #6b93ff;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 48px 20px 72px;
  background: var(--background);
  color: var(--text);
  font:
    17px/1.6 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
}

main {
  max-width: 42rem;
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

header svg {
  width: 34px;
  height: 34px;
  flex: none;
  fill: var(--active);
}

header a {
  color: inherit;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

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

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

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

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

.updated {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 32px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 28px 0;
}

.card p:first-child {
  margin-top: 0;
}

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

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
}

footer a {
  color: var(--text-muted);
}
