:root {
  --color-background: #f7f7f2;
  --color-surface: #ffffff;
  --color-text: #17211b;
  --color-muted: #5f6b63;
  --color-border: #d9ded7;
  --color-accent: #116149;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--color-text);
  background: var(--color-background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

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

img {
  max-width: 100%;
  height: auto;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  padding: 20px 24px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.site-branding {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.site-title {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.site-main {
  flex: 1;
}

.app-placeholder {
  min-height: calc(100vh - 142px);
  display: grid;
  place-items: center;
  padding: 48px 24px;
  text-align: center;
}

.app-placeholder__content {
  width: min(100%, 560px);
}

.app-placeholder h1 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.app-placeholder p {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 1.0625rem;
}

.content-entry,
.content-empty,
.not-found {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 48px 24px;
}

.entry-title,
.not-found h1 {
  margin: 0 0 20px;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.entry-content > :first-child {
  margin-top: 0;
}

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

.site-footer {
  padding: 18px 24px;
  color: var(--color-muted);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 760px) {
  .site-header {
    padding: 24px 32px;
  }

  .app-placeholder {
    padding: 72px 32px;
  }

  .app-placeholder h1 {
    font-size: 3.5rem;
  }

  .content-entry,
  .content-empty,
  .not-found {
    padding: 72px 32px;
  }
}
