:root {
  --bg: #faf6f0;
  --paper: #ffffff;
  --ink: #2e2a26;
  --muted: #6f6a63;
  --accent: #c9762c;
  --accent-soft: #f3e3d2;
  --rule: #e8e1d8;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}

header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.eyebrow {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 500;
  margin: 0 0 0.75rem;
  letter-spacing: 0.01em;
}

.subtitle {
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.ornament {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 1.75rem auto 0;
  opacity: 0.6;
}

.intro {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 1.75rem auto 0;
}

.precepts {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.precept {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  position: relative;
}

.precept-number {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.precept h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  color: var(--ink);
}

.precept p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.reflection {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--rule);
}

.reflection h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.reflection p {
  margin: 0 0 1.4rem;
  color: var(--ink);
  font-size: 1.05rem;
}

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

.reflection em {
  color: var(--accent);
  font-style: italic;
}

footer {
  margin-top: 4rem;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

footer .footer-nav {
  margin: 0 0 0.75rem;
}

footer .footer-nav a {
  color: var(--accent);
  text-decoration: none;
}

footer .footer-nav a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .page {
    padding: 3.5rem 1.25rem 4rem;
  }

  .precept {
    padding: 1.5rem 1.5rem;
  }
}
