:root {
  --paper: #fbf7ee;
  --ink: #23201a;
  --muted: #6d665a;
  --line: #e6dfcf;
  --glow: #f2b84b;
  --glow-soft: #fbe6b4;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(60rem 28rem at 50% -8rem, var(--glow-soft), transparent 70%),
    var(--paper);
  color: var(--ink);
  font-family: Charter, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.1875rem;
  line-height: 1.7;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration-color: var(--glow); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--ink); }

.wrap { max-width: 40rem; margin: 0 auto; padding: 0 1.5rem; }

header.site { padding: 2rem 0 0; }
header.site a { text-decoration: none; font-weight: 600; letter-spacing: 0.01em; display: inline-flex; align-items: center; gap: 0.6rem; }
.mark { width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 0.3rem var(--glow-soft); }

main { flex: 1; padding: 5rem 0 4rem; }
main.page { padding-top: 3.5rem; }

h1 { font-size: clamp(2.1rem, 6vw, 3.1rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 1.5rem; }
h2 { font-size: 1.35rem; line-height: 1.3; font-weight: 600; margin: 3rem 0 0.75rem; }
p { margin: 0 0 1.25rem; }

.lede { font-size: 1.3rem; line-height: 1.55; color: var(--muted); margin-bottom: 3rem; }

.principles { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.principles li { padding: 1rem 0 1rem 1.25rem; border-left: 3px solid var(--glow); margin-bottom: 0.5rem; }
.principles strong { display: block; }

footer.site { border-top: 1px solid var(--line); padding: 1.5rem 0 3rem; color: var(--muted); font-size: 0.95rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
footer.site a { text-decoration: none; }
footer.site a:hover { text-decoration: underline; }

dl { margin: 0 0 1.5rem; }
dt { font-weight: 600; margin-top: 1rem; }
dd { margin: 0; }

@media (max-width: 30rem) {
  body { font-size: 1.0625rem; }
  main { padding-top: 3rem; }
}
