:root {
  --bg: #faf8f3;
  --bg-alt: #f3efe6;
  --ink: #1f1f1f;
  --muted: #6b6b6b;
  --accent: #b8894a;
  --accent-ink: #8f6a38;
  --rule: #e6e0d2;
  --max: 720px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-top: 2em; }
h3 { font-size: 1.25rem; margin-top: 1.5em; }

p { margin: 0 0 1em; }

ul { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }

/* NAV */
.nav {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

/* LAYOUT */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.hero {
  text-align: center;
  padding: 4rem 1.25rem 3rem;
  max-width: var(--max);
  margin: 0 auto;
}
.hero h1 { font-size: clamp(2.5rem, 7vw, 4rem); margin-bottom: 0.25em; }
.hero .lede {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* BUTTONS */
.btn-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}
.btn {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--bg); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: var(--ink); color: var(--bg); }

/* CARDS / SECTIONS */
.section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
}
.section:first-child { border-top: 0; }

.story {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  font-style: italic;
  color: var(--ink);
}

.verse {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1rem;
  color: var(--muted);
  font-style: italic;
  margin: 1.5rem 0;
}

.prayer-box {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 1.5rem;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 1.5rem 0;
}

/* READING PLAN */
.plan {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.plan li {
  border-top: 1px solid var(--rule);
  padding: 1rem 0;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.plan li:last-child { border-bottom: 1px solid var(--rule); }
.plan .day {
  font-family: Georgia, serif;
  color: var(--muted);
  min-width: 4.5rem;
  font-size: 0.95rem;
}
.plan a { flex: 1; }

/* FAQ */
details {
  border-top: 1px solid var(--rule);
  padding: 1rem 0;
}
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--muted);
  transition: transform 0.15s;
}
details[open] summary::after { content: "−"; }
details > p, details > div { margin-top: 0.75rem; color: var(--ink); }

/* FORM */
form { margin: 2rem 0; }
label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
}
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  color: var(--ink);
  margin-bottom: 1rem;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

.checkbox-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0.5rem 0 1.25rem;
}
.checkbox-row input { margin-top: 0.35rem; }
.checkbox-row label { margin: 0; color: var(--ink); }

/* FOOTER CTA */
.footer-cta {
  text-align: center;
  padding: 4rem 1.25rem;
  background: var(--bg-alt);
  margin-top: 3rem;
}
.footer-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-top: 0;
}
.footer-cta p { color: var(--muted); font-size: 1.1rem; }

footer.site {
  text-align: center;
  padding: 2rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--rule);
}
footer.site a { color: var(--muted); }
