@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400&family=Newsreader:ital,wght@0,400;0,500;1,400&display=swap');

.then-scope {
  --then-background: #F3EDE4;
  --then-surface: #E8DFD3;
  --then-border: #CBB8A6;
  --then-text-primary: #2F2A26;
  --then-text-secondary: #5A514B;
  --then-text-muted: #8A8078;
  --then-primary: #B8745A;

  box-sizing: border-box;
  background: var(--then-background);
  color: var(--then-text-primary);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
}

.then-scope *,
.then-scope *::before,
.then-scope *::after {
  box-sizing: border-box;
}

.then-scope .wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 26px 80px;
}

.then-scope header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.then-scope .wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  color: var(--then-text-primary);
  text-decoration: none;
}

.then-scope nav.site a {
  color: var(--then-text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-left: 20px;
}

.then-scope nav.site a:hover { color: var(--then-primary); }

.then-scope h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.15;
  margin: 8px 0 6px;
}

.then-scope h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  margin: 40px 0 10px;
}

.then-scope p.tagline {
  font-style: italic;
  color: var(--then-text-secondary);
  font-size: 19px;
  margin: 0 0 34px;
}

.then-scope p, .then-scope li { color: var(--then-text-secondary); }

.then-scope a { color: var(--then-primary); }

.then-scope .hero {
  padding: 30px 0 10px;
}

.then-scope .principles {
  display: grid;
  gap: 18px;
  margin: 34px 0 44px;
}

.then-scope .principle {
  background: var(--then-surface);
  border: 1px solid var(--then-border);
  border-radius: 14px;
  padding: 16px 18px;
}

.then-scope .principle strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 4px;
}

.then-scope .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--then-primary);
  color: #fff;
  text-decoration: none;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 16px;
  padding: 13px 26px;
  border-radius: 999px;
  margin-top: 6px;
}

.then-scope .cta:hover { opacity: 0.92; }

.then-scope footer.site {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--then-border);
  color: var(--then-text-muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.then-scope footer.site a { color: var(--then-text-muted); }

.then-scope .meta {
  color: var(--then-text-muted);
  font-size: 13.5px;
  margin-top: -6px;
}

.then-scope ul { padding-left: 20px; }

.then-scope code {
  background: var(--then-surface);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 14px;
}
