/* Father Michael main site. Same design language as the Prayer Letter funnel:
   Jerusalem limestone, ink, wine, a thread of gold. Large type for older eyes. Mobile first. */
:root {
  --stone: #f6f1e6;
  --band: #efe7d6;
  --card: #fffdf8;
  --ink: #2a2320;
  --soft: #5c524a;
  --line: #ddd2bd;
  --wine: #6b2232;
  --wine-dark: #521826;
  --gold: #7a5c20;
  --focus: #c79a3a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 19px/1.6 var(--sans); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--wine-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 16px; }

.inner { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.inner.narrow { max-width: 660px; }
.center { text-align: center; }
.left { text-align: left; }
.gap { margin-top: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -80px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 8px; color: #fff; }

/* header */
.site-head { background: var(--card); border-bottom: 1px solid var(--line); }
.site-head .inner { display: flex; flex-direction: column; align-items: center; padding-top: 14px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); padding: 4px 6px; }
.brand svg { flex: 0 0 22px; }
.brand b { display: block; font: 600 24px/1.15 var(--serif); letter-spacing: 0.02em; }
.brand small { display: block; font-size: 14px; color: var(--soft); }
.site-head ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.site-head nav a { display: flex; align-items: center; min-height: 48px; padding: 0 11px; font-weight: 500; font-size: 18px; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.site-head nav a:hover { color: var(--wine); border-bottom-color: var(--line); }
.site-head nav a[aria-current="page"] { color: var(--wine); border-bottom-color: var(--wine); font-weight: 600; }

/* type */
h1 { font: 600 36px/1.12 var(--serif); margin: 0 0 14px; text-wrap: balance; }
h2 { font: 600 28px/1.2 var(--serif); margin: 36px 0 12px; text-wrap: balance; }
h3 { font: 600 24px/1.2 var(--serif); margin: 0 0 8px; }
p { margin: 0 0 16px; }
section { padding: 40px 0; }
section h2:first-child, .inner > h2:first-child { margin-top: 0; }
.kicker { font-size: 15px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.lead { font-size: 21px; line-height: 1.5; color: var(--soft); margin-bottom: 24px; }
.sub { color: var(--soft); margin-bottom: 22px; }
.note { font: 500 italic 23px/1.35 var(--serif); margin: 22px 0; }
.fine { font-size: 16px; color: var(--soft); text-align: center; margin: 12px 0 0; }
.fine.left { text-align: left; }
.textlink { font-weight: 600; display: inline-flex; align-items: center; min-height: 48px; }
.hero { padding: 48px 0 44px; text-align: center; }
.pagehead { padding: 40px 0 8px; }
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rule { display: flex; align-items: center; gap: 16px; margin: 8px 0 28px; }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* buttons */
.btn { display: block; width: 100%; background: var(--wine); color: #fff; border: 1.5px solid var(--wine); border-radius: 10px; font: 600 20px/1.2 var(--sans); padding: 18px 16px; text-align: center; text-decoration: none; overflow-wrap: anywhere; }
.btn:hover { background: var(--wine-dark); border-color: var(--wine-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--wine); }
.btn.ghost:hover { background: #f1e6e0; color: var(--wine-dark); }
.actions { display: grid; gap: 12px; margin-top: 30px; }

/* cards and lists */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px; }
.card p:last-child { margin-bottom: 0; }
.cards { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 20px 20px 68px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); font: 600 22px/33px var(--serif); text-align: center; }
.steps b { display: block; font: 600 23px/1.2 var(--serif); margin-bottom: 4px; }
.steps span { color: var(--soft); }
.plain { padding-left: 22px; margin: 0 0 16px; }
.plain li { margin-bottom: 10px; }
.tag { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--soft); border: 1px solid #9c8f7c; border-radius: 999px; padding: 3px 12px; margin: 0 0 12px; }
.tag.live { color: #fff; background: var(--wine); border-color: var(--wine); }
.soon { background: transparent; border-style: dashed; border-color: #9c8f7c; }
.soon p { color: var(--soft); }
.product { border-color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); }
.rows { margin: 18px 0 22px; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.rows div:first-child { border-top: 1px solid var(--line); }
.rows dt { color: var(--soft); }
.rows dd { margin: 0; text-align: right; font-weight: 600; }

/* faq */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; padding: 14px 18px; font: 600 23px/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font: 400 30px/1 var(--sans); color: var(--wine); }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 16px 18px 4px; }

/* terms */
.draft { background: #fbf0cf; border: 1.5px solid var(--gold); border-radius: 10px; padding: 14px 16px; margin-bottom: 26px; color: var(--ink); }
.legal ul, .legal ol { padding-left: 24px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 8px; }
.toc h2 { font-size: 24px; }
.toc ol { margin-bottom: 0; }
.toc li { margin: 0; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; }

/* footer */
.site-foot { background: var(--ink); color: #e9e0cf; padding: 34px 0 30px; text-align: center; font-size: 17px; }
.site-foot .faith { max-width: 520px; margin: 0 auto 14px; font: 500 italic 21px/1.35 var(--serif); }
.site-foot ul { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; justify-content: center; }
.site-foot a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; color: #fff; }
.site-foot a:hover { color: #f3dca6; }
.site-foot .copy { margin: 0; font-size: 15px; color: #cfc4b0; }

@media (min-width: 560px) {
  .btn { display: inline-block; width: auto; min-width: 280px; padding-left: 32px; padding-right: 32px; }
  .product .btn, .card > p > .btn { display: block; width: 100%; }
  .actions { display: flex; flex-wrap: wrap; }
  .center.actions, .center .actions { justify-content: center; }
  .cards.two { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 800px) {
  h1 { font-size: 46px; }
  h2 { font-size: 32px; }
  section { padding: 56px 0; }
  .hero { padding: 72px 0 64px; }
  .pagehead { padding: 56px 0 8px; }
  .site-head .inner { flex-direction: row; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
  .site-head ul { margin: 0; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-head nav, .site-foot ul, .skip { display: none; } body { background: #fff; } }
