/* The placeholder's one stylesheet: the site's own warm palette (src/styles/global.css) and system fonts, light and dark by
   the reader's device, so it looks like the site it stands in for. A file and not an inline style, because the policy
   allows no inline style. */

:root {
  color-scheme: light dark;

  --bg: #fbf7f0;
  --text: #2b2520;
  --muted: #6b6258;
  --accent: #b4400f;
  --border: #e2d8c8;

  --font-body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: ui-serif, 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1713;
    --text: #efe8dc;
    --muted: #a79c8d;
    --accent: #f08a54;
    --border: #3a322a;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

main {
  width: 100%;
  max-width: 32rem;
}

.name {
  margin: 0 0 2rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.name span {
  color: var(--accent);
}

h1,
h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  line-height: 1.25;
}

h1 {
  font-size: 1.875rem;
}

h2 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

[lang='en'] {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
