/* First I Pray — quiet by design. No external fonts, no scripts, no tracking. */

:root {
  --ink: #2b2925;
  --ink-soft: #6b665d;
  --paper: #faf8f3;
  --line: #e4dfd4;
  --accent: #7a6a4f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 19px; }

body {
  font-family: Charter, 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 34rem;
  margin: 0 auto;
  padding: 4.5rem 1.4rem 6rem;
}

header.site {
  text-align: center;
  margin-bottom: 4rem;
}

header.site .mark {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

header.site .mark a { color: inherit; text-decoration: none; }

h1 {
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.3;
  margin: 2.2rem 0 1.4rem;
  letter-spacing: 0.01em;
}

.promise {
  font-size: 1.35rem;
  line-height: 1.6;
  margin: 2.5rem 0;
}

p { margin: 0 0 1.4rem; }

em { font-style: italic; }

.quiet { color: var(--ink-soft); font-size: 0.95rem; }

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 3rem auto;
  width: 5rem;
}

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--line); }
a:hover { border-bottom-color: var(--accent); }

nav.doors { margin: 3rem 0 0; }
nav.doors p { margin-bottom: 1rem; }

.liturgy p {
  margin-bottom: 1.6rem;
  white-space: pre-line;
}

footer {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 2;
}

.sig { margin-top: 2.5rem; font-style: italic; }

.lede { font-size: 1.15rem; }

.download {
  display: inline-block;
  margin: 1.5rem 0 0.5rem;
  padding: 0.7rem 1.6rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.download:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); }

.note { color: var(--ink-soft); font-size: 0.95rem; }
.note a { color: var(--accent); }

blockquote.endorse {
  margin: 2rem 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--line);
}
blockquote.endorse p { margin-bottom: 0.5rem; font-style: italic; }
blockquote.endorse .by { font-style: normal; color: var(--ink-soft); font-size: 0.95rem; }

/* From the Road — notes in the margin. Each note carries its own quiet rule above,
   so an empty page is simply the standing copy at rest. No dates, no furniture. */
.road-note::before {
  content: "";
  display: block;
  width: 5rem;
  border-top: 1px solid var(--line);
  margin: 3rem auto;
}
.road-note .alongside {
  color: var(--ink-soft);
  font-style: italic;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  html { font-size: 17px; }
  main { padding-top: 3rem; }
}
