/* Faithful Returns: shared site styles */
@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=Instrument+Sans:wght@400;500;600&display=swap');

:root {
  --night: #0F1A2E;
  --deep: #0A1222;
  --panel: #142239;
  --gold: #C9A45C;
  --gold-soft: #E2CB93;
  --text: #ECE6D8;
  --muted: #A3ABBC;
  --line: rgba(201, 164, 92, .28);
  --serif-d: 'Libre Caslon Display', Georgia, serif;
  --serif: 'Libre Caslon Text', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1080px;
  --measure: 34rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--gold); color: var(--deep); padding: 8px 12px; z-index: 10; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { font-family: var(--serif-d); font-size: 1.35rem; color: var(--text); text-decoration: none; letter-spacing: .01em; }
.brand:hover { color: var(--gold-soft); }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: .95rem; }
.nav a { color: var(--muted); text-decoration: none; padding: 10px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--gold-soft); }

/* Type */
h1, h2, h3 { font-weight: 400; margin: 0; }
h1 { font-family: var(--serif-d); font-size: clamp(2.5rem, 8vw, 4.6rem); line-height: 1.04; letter-spacing: -.01em; }
h2 { font-family: var(--serif-d); font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.12; }
h3 { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: 1.2rem; color: var(--text); }
.muted { color: var(--muted); }

/* Scripture set in the old face */
.verse { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.65; color: var(--gold-soft); margin: 0; max-width: 30rem; }
.verse cite { display: block; font-family: var(--sans); font-style: normal; font-size: .9rem; color: var(--muted); margin-top: .5em; }

/* Buttons: 56px touch target, full width on phones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 56px; padding: 14px 28px;
  font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; line-height: 1.25;
  text-decoration: none; border-radius: 4px; border: 1px solid transparent; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--deep); }
.btn-gold:hover { background: var(--gold-soft); color: var(--deep); }
.btn-ghost { border-color: var(--gold); color: var(--gold-soft); background: transparent; }
.btn-ghost:hover { background: rgba(201,164,92,.1); color: #fff; }
.btn-plain { color: var(--muted); text-decoration: underline; font-weight: 500; min-height: 48px; padding: 12px 8px; }
.btn-plain:hover { color: var(--text); }
.btn-row { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
@media (min-width: 640px) { .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.price-note { font-size: .92rem; color: var(--muted); margin-top: 10px; }

/* Sections */
.band { padding: 72px 0; border-top: 1px solid var(--line); }
.band-deep { background: var(--deep); }
@media (min-width: 900px) { .band { padding: 104px 0; } }

/* Hero */
.hero { padding: 48px 0 64px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--gold-soft); }
.hero h1 span + span + span { color: var(--gold); }
.hero .lede { margin-top: 24px; }
.hero .verse { margin-top: 40px; }
.hero-mark { width: min(300px, 70vw); justify-self: center; }
.hero-mark svg { width: 100%; height: auto; stroke: var(--gold); stroke-width: 1.1; fill: none; }
.hero-mark .draw { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2.4s cubic-bezier(.6,.1,.3,1) forwards; }
.hero-mark .draw:nth-child(2) { animation-delay: .5s; }
.hero-mark .draw:nth-child(3) { animation-delay: 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (min-width: 900px) {
  .hero { padding: 88px 0 104px; }
  .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; }
  .hero-mark { width: 100%; max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mark .draw { animation: none; stroke-dashoffset: 0; }
}

/* Pattern of three: a list separated by rules, each with a line drawing */
.three { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; }
.three li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.three li:last-child { border-bottom: 1px solid var(--line); }
.three svg { width: 56px; height: 56px; stroke: var(--gold); stroke-width: 1.2; fill: none; }
.three h3 { margin-bottom: 6px; }
.three p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .three { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .three li, .three li:last-child { grid-template-columns: 1fr; border-bottom: 0; padding: 28px 0 0; }
}
.closing-line { margin-top: 36px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; }

/* How it works: a real sequence, so it is numbered */
.steps { list-style: none; counter-reset: step; margin: 40px 0 0; padding: 0; display: grid; gap: 32px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.2rem 1fr; gap: 16px; align-items: baseline; }
.steps li::before { content: counter(step); font-family: var(--serif-d); font-size: 2.8rem; line-height: 1; color: var(--gold); }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Product block with the book drawn in CSS */
.product { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .product { grid-template-columns: 300px 1fr; gap: 72px; } }
/* On phones the offer text and buttons come first; the book follows */
@media (max-width: 899px) { .hero .product .book { order: 2; } }
.book {
  width: 220px; aspect-ratio: 2 / 3; margin: 0 auto;
  background: var(--deep); border: 1px solid var(--line);
  box-shadow: 10px 12px 0 rgba(0,0,0,.35);
  padding: 26px 20px 20px; display: flex; flex-direction: column; color: var(--text);
}
@media (min-width: 900px) { .book { width: 260px; } }
.book .b-series { font-size: .72rem; color: var(--gold); margin: 0 0 10px; }
.book .b-title { font-family: var(--serif-d); font-size: 1.75rem; line-height: 1.05; margin: 0; }
.book .b-sub { font-family: var(--serif); font-style: italic; font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.book svg { margin-top: auto; width: 54px; stroke: var(--gold); fill: none; stroke-width: 1.4; }
.book .b-pub { font-size: .68rem; color: var(--muted); margin: 10px 0 0; }

/* Delivered list */
.delivered { list-style: none; margin: 24px 0 0; padding: 0; max-width: 40rem; }
.delivered li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.delivered li:last-child { border-bottom: 1px solid var(--line); }
.delivered strong { font-weight: 600; }
.delivered span { color: var(--muted); font-size: .92rem; }

/* Day sample (sales page) */
.sample { margin-top: 32px; padding: 28px 24px; background: var(--panel); max-width: 40rem; }
.sample .day-label { font-size: .9rem; color: var(--gold); margin-bottom: 8px; }
.sample .say { font-family: var(--serif-d); font-size: 1.5rem; line-height: 1.3; margin: 18px 0; color: var(--text); }

/* Offer box */
.offer { margin-top: 40px; padding: 32px 24px; border: 1px solid var(--gold); max-width: 40rem; }
.offer .price { font-family: var(--serif-d); font-size: 3rem; line-height: 1; color: var(--gold-soft); margin: 8px 0 4px; }
.offer .btn { width: 100%; }
.guarantee { display: grid; grid-template-columns: 48px 1fr; gap: 16px; margin-top: 28px; align-items: start; }
.guarantee svg { width: 48px; height: 48px; stroke: var(--gold); fill: none; stroke-width: 1.3; }
.guarantee p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Capture form */
.capture { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; max-width: 32rem; }
.capture label { font-size: .95rem; color: var(--muted); }
.capture input[type=email] {
  min-height: 56px; padding: 14px 16px; font-size: 16px; font-family: var(--sans);
  background: var(--deep); color: var(--text); border: 1px solid var(--line); border-radius: 4px;
}
.capture input[type=email]:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 2px rgba(201,164,92,.35); }
.capture .consent { font-size: .85rem; color: var(--muted); }
.capture .status { min-height: 1.6em; font-size: .95rem; margin: 0; }
.capture .row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .capture .row { flex-direction: row; } .capture .row input { flex: 1; } }

/* FAQ */
.faq { margin-top: 32px; max-width: 44rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--sans); font-size: 1.5rem; color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* Upsell */
.upsell-head { padding: 28px 0; background: var(--deep); border-bottom: 1px solid var(--line); }
.upsell-head p { margin: 0; max-width: none; }
.upsell-head strong { color: var(--gold-soft); font-weight: 600; }
.choice { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; max-width: 40rem; }
.choice .btn-gold { width: 100%; }
.choice .btn-plain { align-self: center; }

/* Legal pages */
.doc { padding: 56px 0 88px; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin-bottom: 8px; }
.doc h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.doc p, .doc li { max-width: 42rem; color: var(--text); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .5em; }

/* Footer */
.site-foot { background: var(--deep); border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: .92rem; color: var(--muted); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 20px; }
.site-foot nav a { color: var(--text); text-decoration: none; padding: 10px 0; }
.site-foot nav a:hover { color: var(--gold-soft); }
.site-foot p { max-width: 48rem; }
.site-foot .ds { font-size: .85rem; }
