/* ============================================================
   Home page — "The Manuscript"
   Loaded only on / (see the "head" block in templates/pages/home.html),
   after site.css, so everything is scoped under .home and no other page
   moves. The page is a printed sermon manuscript: ink-navy for the
   moments of decision (hero, "which one?", the close), cream paper for
   everything a pastor reads, brass for ornament, and liturgical scarlet
   for the one action per screen. Ruled paper, a margin line and a bookmark
   ribbon carry the idea; the books stand on a walnut shelf. Fonts and type
   tokens come from site.css (Spectral display, Source Serif 4 body,
   Alegreya Sans UI).
   ============================================================ */

/* The palette, type, masthead, nav and footer are global (site.css). Here the
   home page only drops the sheet padding so its bands can run full-bleed. */
body:has(.home) .site-main { padding: 0; }
body:has(.home) .site-main > .wrap { max-width: none; padding: 0; }
body:has(.home) .site-footer { margin-top: 0; }

.home {
  --edge: max(1.5rem, calc((100vw - 74rem) / 2));  /* full-bleed bands re-align to this */
  --gap: clamp(4.5rem, 9vw, 8rem);
  color: var(--ink);
}
.home h1, .home h2, .home h3 { color: var(--ink); }
.home h2 em, .home h1 em { font-style: italic; font-weight: 500; }
.home a { color: var(--scarlet); }
.home a:hover { color: var(--scarlet-deep); }
.home a:focus-visible, .home button:focus-visible, .home summary:focus-visible { outline: 2px solid var(--scarlet); outline-offset: 3px; }
.home .kicker { color: var(--brass-ink); letter-spacing: .22em; font-weight: 700; margin-bottom: .75rem; }

.home > section:not(.featured-hero):not(.choose):not(.author-letter):not(.resources-band),
.home > .find { width: min(74rem, calc(100% - 3rem)); margin-inline: auto; }

/* buttons: scarlet on cream, brass on navy */
.home .buy-btn {
  padding: 14px 30px; font-size: var(--t-base); background: var(--scarlet); border-color: var(--scarlet); color: #fff;
  box-shadow: 0 1px 2px rgba(15, 27, 45, .3), 0 8px 18px rgba(163, 38, 42, .25);
}
.home .buy-btn:hover { background: var(--scarlet-deep); border-color: var(--scarlet-deep); color: #fff; }
.home .buy-btn.buy-btn-ghost { background: transparent; color: var(--scarlet); border-color: var(--scarlet); box-shadow: none; }
.home .buy-btn.buy-btn-ghost:hover { background: rgba(163, 38, 42, .08); color: var(--scarlet-deep); }

/* ---------- hero: the title page, in ink ---------- */
.home .featured-hero {
  position: relative; overflow: hidden; border: 0; color: var(--on-navy);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5rem) clamp(2rem, 6vw, 5rem); align-items: center;
  width: 100vw; margin-left: calc(50% - 50vw); padding: clamp(3.5rem, 7vw, 6rem) var(--edge) 0;
  background:
    radial-gradient(50% 70% at 80% 40%, rgba(227, 191, 104, .20), transparent 70%),
    repeating-linear-gradient(180deg, transparent 0 2.4rem, rgba(244, 236, 216, .045) 2.4rem calc(2.4rem + 1px)),
    var(--navy);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 1.25rem;
  font-family: var(--serif-d); font-style: italic; font-size: var(--t-xl); color: var(--brass-lit);
}
.hero-eyebrow::after { content: ""; width: 3rem; height: 1px; background: var(--brass); }
.home .feature-copy h1 {
  color: var(--on-navy); font-weight: 700; font-size: clamp(2.9rem, 6.6vw, 5.5rem); line-height: .98; letter-spacing: -0.035em;
  max-width: 11ch; margin: 0;
}
.home .feature-copy h1 em { color: var(--brass-lit); }
.home .feature-copy .lede { color: var(--on-navy-soft); font-size: var(--t-xl); max-width: 33rem; margin: 2rem 0 0; line-height: 1.55; }
.home .feature-copy .feature-price {
  color: var(--on-navy); margin: 1.75rem 0 0; font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-family: var(--serif-d); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em;
}
.home .feature-copy .feature-price small { color: var(--on-navy-soft); margin-left: .5rem; font-family: var(--sans); font-size: var(--t-2xs); font-weight: 500; letter-spacing: .02em; }
.home .feature-ctas { display: flex; flex-wrap: wrap; justify-content: flex-start; margin: 1.25rem 0 0; gap: .9rem; }
.home .feature-copy .lede { font-weight: 400; }
.home .feature-copy .feature-note { font-family: var(--sans); }
.home .featured-hero .buy-btn { background: var(--scarlet); border-color: var(--scarlet); color: #fff; }
.home .featured-hero .buy-btn:hover { background: #c02f33; border-color: #c02f33; }
.home .featured-hero .buy-btn.buy-btn-ghost { background: transparent; color: var(--on-navy); border-color: rgba(244, 236, 216, .55); }
.home .featured-hero .buy-btn.buy-btn-ghost:hover { background: rgba(244, 236, 216, .1); border-color: var(--on-navy); color: var(--on-navy); }
.home .feature-copy .feature-note { color: var(--on-navy-soft); font-size: var(--t-sm); margin-top: 1.1rem; }
.home .feature-copy .feature-note a { color: var(--brass-lit); }
.home .featured-hero a:focus-visible, .home .featured-hero button:focus-visible { outline-color: var(--brass-lit); }

/* the cover lies on a tilted sheet of ruled manuscript paper, with a
   second sheet beneath, a bookmark ribbon and a scarlet seal */
.home .feature-cover { position: relative; margin: 0; padding: 0 0 1rem; max-width: 29rem; justify-self: center; background: none; box-shadow: none; }
.ms-page {
  position: relative; padding: 2.25rem 1.25rem 1rem 3.5rem;
  /* --tilt-x/--tilt-y are set from the pointer by site.js (initHome) */
  transform: perspective(1400px) rotate(-3deg) rotateY(var(--tilt-x, 0deg)) rotateX(var(--tilt-y, 0deg));
  transition: transform .25s ease-out;
  background:
    linear-gradient(90deg, transparent 2.75rem, rgba(163, 38, 42, .6) 2.75rem, rgba(163, 38, 42, .6) calc(2.75rem + 1px), transparent calc(2.75rem + 1px)),
    repeating-linear-gradient(180deg, transparent 0 1.9rem, rgba(60, 90, 140, .25) 1.9rem calc(1.9rem + 1px)),
    var(--cream);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 28px 60px rgba(0, 0, 0, .5);
  border-radius: 2px;
}
.ms-page::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cream-2); border-radius: 2px;
  transform: rotate(5.5deg) translate(.9rem, .4rem); box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.ms-page::after {
  content: ""; position: absolute; top: -.2rem; right: 2.25rem; width: 1.9rem; height: 4.5rem; background: var(--scarlet);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .3));
}
.home .feature-cover img { display: block; width: 100%; border: 0; border-radius: 0; background: none; mix-blend-mode: multiply; }
.ms-seal {
  position: absolute; left: -1.25rem; bottom: 3rem; z-index: 2; width: 5.5rem; height: 5.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(-12deg);
  background: var(--brass); color: var(--navy-2); box-shadow: 0 6px 16px rgba(0, 0, 0, .45), inset 0 0 0 4px var(--brass), inset 0 0 0 5px rgba(15, 27, 45, .55);
  font-family: var(--serif-d); font-style: italic; font-weight: 700; font-size: var(--t-md); line-height: 1.05;
}
.home .feature-cover .feature-title { color: var(--on-navy-soft); font-family: var(--sans); font-size: var(--t-xs); font-weight: 600; letter-spacing: .04em; text-align: center; margin: 1.25rem auto 0; max-width: none; }

/* stats ride the bottom of the hero, in brass numerals */
.home .proof-strip {
  grid-column: 1 / -1; margin: clamp(1rem, 3vw, 2rem) 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(244, 236, 216, .22);
}
.proof-strip li { display: flex; align-items: baseline; justify-content: center; gap: .65rem; padding: 1.5rem .5rem; text-align: center; }
.proof-strip li + li { border-left: 1px solid rgba(244, 236, 216, .16); }
.proof-strip strong { font-family: var(--serif-d); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1; color: var(--brass-lit); letter-spacing: -0.02em; }
.proof-strip span { font-family: var(--sans); font-size: var(--t-2xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-soft); }

/* a whisper of 2 Timothy 4:2 behind the title page */
.hero-watermark {
  position: absolute; left: 50%; bottom: 4.5rem; transform: translateX(-50%); z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--serif-d); font-style: italic; font-weight: 500; font-size: clamp(4rem, 12vw, 13rem); line-height: .8; letter-spacing: -0.04em;
  white-space: nowrap; color: rgba(244, 236, 216, .035);
}
.home .featured-hero > :not(.hero-watermark) { position: relative; z-index: 1; }
.home .feature-copy h1 em {
  background: linear-gradient(var(--brass-lit), var(--brass-lit)) no-repeat 0 94% / 0% 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone;
  animation: underline-draw 1.1s cubic-bezier(.22, 1, .36, 1) .9s forwards;
}
.proof-strip strong { font-variant-numeric: tabular-nums; }
@keyframes underline-draw { to { background-size: 100% 3px; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(2.5rem) rotate(6deg); } to { opacity: 1; transform: none; } }
@keyframes ribbon-drop { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes seal-stamp { 0% { opacity: 0; transform: rotate(-40deg) scale(2); } 70% { opacity: 1; transform: rotate(-8deg) scale(.94); } 100% { opacity: 1; transform: rotate(-12deg) scale(1); } }
.home .feature-cover { animation: sheet-in 1s cubic-bezier(.2, .8, .2, 1) .15s both; }
.ms-page::after { transform-origin: top; animation: ribbon-drop .7s cubic-bezier(.22, 1, .36, 1) 1s both; }
.ms-seal { animation: seal-stamp .55s cubic-bezier(.3, 1.4, .5, 1) 1.5s both; }

/* ---------- "what are you preaching?" — the pastor's first question ---------- */
.home .find {
  text-align: center; margin-top: var(--gap); padding: 0; position: relative; z-index: 5;
}
.find-label { display: block; font-family: var(--serif-d); font-size: clamp(2.1rem, 5.4vw, 4rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
.find-label em { color: var(--scarlet); font-weight: 500; }
.find-sub { margin: 1rem 0 0; color: var(--ink-2); font-size: var(--t-lg); }
.find-row { display: flex; justify-content: center; align-items: flex-end; gap: 1rem; margin: 2.25rem auto 0; max-width: 46rem; }
.find-row input {
  flex: 1 1 auto; min-width: 0; padding: .5rem .25rem .65rem; font-family: var(--serif-d); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; caret-color: var(--scarlet);
}
.find-row input::placeholder { color: #8a8576; opacity: 1; font-style: italic; }
.find-row input:focus { outline: 0; border-bottom-color: var(--scarlet); box-shadow: 0 2px 0 var(--scarlet); }
.find-row .buy-btn { flex: 0 0 auto; cursor: pointer; }
.find-row { position: relative; }
/* live results (rendered by site.js initScriptureSearch) */
.home .search-results {
  top: calc(100% + .6rem); max-height: 26rem; text-align: left; margin: 0; padding: .4rem 0;
  background: var(--paper); border: 1px solid var(--cream-3); border-top: 3px solid var(--brass); border-radius: 0 0 6px 6px;
  box-shadow: 0 28px 56px rgba(15, 27, 45, .28);
}
.home .search-results:empty { display: none; }
.home .search-results li { padding: .85rem 1.25rem; border-bottom: 1px solid var(--cream-2); }
.home .search-results li:last-child { border-bottom: 0; }
.home .search-results li.is-active { background: var(--cream-2); }
.home .scripture-result-main { align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.home .scripture-result-title { font-family: var(--serif-d); font-size: var(--t-lg); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.home .scripture-result-ref { font-family: var(--sans); font-size: var(--t-sm); font-weight: 700; color: var(--brass-ink); }
.home .scripture-result-books { gap: .4rem; margin-top: .5rem; }
.home .scripture-result-books a {
  padding: .2rem .7rem; border-radius: 9999px; background: var(--cream-2); border: 1px solid var(--cream-3);
  font-family: var(--sans); font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); text-decoration: none;
}
.home .scripture-result-books a:hover { background: var(--scarlet); border-color: var(--scarlet); color: #fff; text-decoration: none; }
.home .search-empty { padding: 1rem 1.25rem; color: var(--ink-3); font-family: var(--sans); }
.find-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem; margin: 1.75rem 0 0; font-family: var(--sans); font-size: var(--t-sm); }
.find-chips span { color: var(--ink-3); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: var(--t-2xs); margin-right: .25rem; }
.find-chips a { padding: .4rem .95rem; border: 1px solid var(--cream-3); border-radius: 9999px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .15s, color .15s, background .15s; }
.find-chips a:hover { border-color: var(--scarlet); color: var(--scarlet); background: #fff; }

/* ---------- section scaffolding ---------- */
.home .home-section { margin-top: var(--gap); }
.home .section-head { margin-bottom: 2.75rem; }
.home .section-head h2 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.25rem); letter-spacing: -0.032em; line-height: 1.05; }
.home .section-sub { margin: .9rem 0 0; max-width: 36rem; color: var(--ink-2); font-size: var(--t-lg); }
.home .section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.home .section-head-row .scripture-link { margin: 0; font-size: var(--t-base); }

/* ---------- the decision: an ink band ---------- */
.home .choose {
  width: 100vw; margin: var(--gap) 0 0 calc(50% - 50vw); padding: clamp(4rem, 8vw, 6.5rem) var(--edge);
  background: radial-gradient(70% 90% at 50% 0%, var(--navy-3), var(--navy) 70%); color: var(--on-navy);
  border-top: 3px solid var(--brass);
}
.home .choose .kicker { color: var(--brass-lit); }
.home .choose h2 { color: var(--on-navy); }
.home .choose h2 em { color: var(--brass-lit); }
.home .choose .section-sub { color: var(--on-navy-soft); }
.home .choose a:focus-visible { outline-color: var(--brass-lit); }
.home .chooser-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.home .chooser-card {
  display: flex; flex-direction: column; gap: .4rem; padding: 2rem 1.75rem; text-decoration: none;
  background: var(--cream); color: var(--ink); border: 1px solid var(--cream-3); border-radius: 4px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.home .chooser-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(0, 0, 0, .45); color: var(--ink); }
.home .chooser-img { align-self: flex-start; width: auto; height: 6.5rem; margin-bottom: .75rem; border-radius: 2px; box-shadow: 0 2px 4px rgba(15, 27, 45, .3), 0 8px 16px rgba(15, 27, 45, .25); }
.home .chooser-step { font-family: var(--sans); font-size: var(--t-2xs); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--brass-ink); }
.home .chooser-title { font-family: var(--serif-d); font-size: var(--t-xl); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.home .chooser-price { font-family: var(--serif-d); font-size: var(--t-2xl); font-weight: 700; color: var(--scarlet); line-height: 1.1; }
.home .chooser-note { font-size: var(--t-base); line-height: 1.55; color: var(--ink-2); margin-top: .35rem; }
.home .chooser-card-lead { background: var(--paper); border: 3px solid var(--brass-lit); box-shadow: 0 0 0 1px var(--brass), 0 28px 56px rgba(0, 0, 0, .5); }
.home .chooser-card-lead .chooser-step { color: #fff; background: var(--scarlet); align-self: flex-start; padding: .3rem .75rem; border-radius: 9999px; }
.home .chooser-card-lead .chooser-img { height: 8.5rem; }
@media (min-width: 900px) { .home .chooser-card-lead { margin-block: -1.25rem; padding-block: 3rem; } }

/* ---------- shelf: covers stand on a walnut ledge ---------- */
.home .book-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3rem 1.3rem; }
/* on the home page the card chrome is dropped: the shelf is the frame */
.home .book-card { background: none; border: 0; padding: 0; box-shadow: none; text-align: center; position: relative; }
.home .book-card:hover { box-shadow: none; transform: none; }
.cover-wrap { position: relative; display: block; width: 100%; padding-bottom: .55rem; transition: transform .2s ease; }
/* the ledge: each card extends half a gutter so the row reads as one shelf */
.cover-wrap::after {
  content: ""; position: absolute; left: -.66rem; right: -.66rem; bottom: 0; height: .7rem; z-index: 0;
  background: linear-gradient(180deg, #6b4630, var(--walnut) 55%, #2f1c10); box-shadow: 0 10px 14px -4px rgba(35, 20, 10, .45);
}
.home .book-cover { position: relative; z-index: 1; display: block; width: 100%; border: 0; border-radius: 2px; background: var(--cream-2); box-shadow: 0 2px 5px rgba(15, 27, 45, .35), 8px 0 14px -6px rgba(15, 27, 45, .3); }
.home .book-card:hover .cover-wrap { transform: translateY(-6px); }
.home .book-title { color: var(--ink); font-size: var(--t-sm); line-height: 1.3; margin: 1.15rem 0 .2rem; }
.home .book-card:hover .book-title { color: var(--scarlet); }
.home .book-price { margin: 0; color: var(--scarlet); font-weight: 700; }
.home .shelf-cta { margin: 3.25rem 0 0; text-align: center; }

/* ---------- how it works ---------- */
.home .how { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 2rem clamp(2rem, 7vw, 6rem); align-items: start; }
.home .how .section-head { position: sticky; top: 7rem; margin: 0; }
.home .steps { list-style: none; margin: 0; padding: 0; }
.home .steps li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--cream-3); }
.home .steps li:last-child { border-bottom: 1px solid var(--cream-3); }
.step-num { font-family: var(--serif-d); font-style: italic; font-size: 4.5rem; font-weight: 500; line-height: .9; color: var(--brass); letter-spacing: -0.04em; }
.home .steps h3 { margin: 0 0 .5rem; font-size: var(--t-2xl); letter-spacing: -0.02em; line-height: 1.15; }
.home .steps p { margin: 0 0 .85rem; color: var(--ink-2); max-width: 34rem; }
.home .steps a { font-family: var(--sans); font-weight: 700; }

/* ---------- author ---------- */
.home .author-letter {
  display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center;
  width: 100vw; margin: var(--gap) 0 0 calc(50% - 50vw); padding: clamp(4rem, 8vw, 6.5rem) var(--edge);
  background: var(--cream-2); border-block: 1px solid var(--cream-3);
}
.home .author-photo {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; justify-self: center;
  border: 0; border-radius: 2px; box-shadow: 14px 14px 0 var(--brass), 0 24px 44px rgba(15, 27, 45, .28); filter: sepia(.15);
}
.home .author-letter h2 { font-size: var(--t-xl); margin: 0 0 1.25rem; color: var(--ink-2); font-weight: 600; letter-spacing: -0.01em; }
.letter-quote { margin: 0; padding: 0; border: 0; }
.letter-quote p {
  margin: 0; font-family: var(--serif-d); font-weight: 500; font-size: clamp(1.55rem, 3.2vw, 2.45rem); line-height: 1.32;
  letter-spacing: -0.02em; color: var(--ink); max-width: 42rem; text-wrap: pretty; position: relative;
}
.letter-quote p::before { content: "\201C"; position: absolute; left: -.55em; top: -.08em; font-size: 3.6em; line-height: 1; color: var(--scarlet); font-weight: 400; }
.home .letter-sign { margin: 1.75rem 0 0; font-family: var(--sans); font-weight: 700; }

/* ---------- pastor helps ---------- */
.home .helps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.home .help-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper); border-radius: 2px;
  border: 1px solid var(--cream-3); border-top: 4px solid var(--brass); transition: transform .2s ease, box-shadow .2s ease;
}
.home .help-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(15, 27, 45, .16); color: var(--ink); }
.help-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem 1.7rem 1.7rem; flex: 1; }
.help-tag { font-family: var(--sans); font-size: var(--t-2xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); }
.help-title { font-family: var(--serif-d); font-size: var(--t-xl); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
.help-card:hover .help-title { color: var(--scarlet); }
.help-desc { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.help-more { margin-top: auto; padding-top: .5rem; font-family: var(--sans); font-weight: 700; color: var(--scarlet); }

/* ---------- faq: an accordion, first answer open ---------- */
.home .faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 2rem clamp(2rem, 7vw, 6rem); align-items: start; }
.home .faq .section-head { margin: 0; }
.faq-list details { border-top: 1px solid var(--cream-3); }
.faq-list details:last-child { border-bottom: 1px solid var(--cream-3); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; cursor: pointer; list-style: none;
  font-family: var(--serif-d); font-size: var(--t-xl); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: 0 0 auto; width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid var(--cream-3); border-radius: 50%;
  font-family: var(--sans); font-size: 1.25rem; font-weight: 400; color: var(--scarlet); background: var(--paper); transition: transform .2s ease, background .2s ease;
}
.faq-list details[open] summary::after { content: "\2212"; background: var(--scarlet); color: #fff; border-color: var(--scarlet); }
.faq-list summary:hover { color: var(--scarlet); }
.faq-list details p { margin: 0 0 1.5rem; max-width: 38rem; color: var(--ink-2); font-size: var(--t-base); line-height: 1.65; }

/* ---------- free-resources close ---------- */
.home .resources-band p { max-width: 42rem; margin: 0 auto 1.5rem; }
.home .resources-band {
  text-align: center; width: 100vw; margin: var(--gap) 0 0 calc(50% - 50vw); padding: clamp(4.5rem, 9vw, 7rem) 1.5rem; border-bottom: 0; border-top: 3px solid var(--brass);
  background: radial-gradient(60% 120% at 50% 0%, var(--navy-3), var(--navy-2) 70%);
}
.home .resources-band .kicker { color: var(--brass-lit); }
.home .resources-band h2 { color: var(--on-navy); font-size: clamp(2rem, 4.4vw, 3.25rem); }
.home .resources-band p { color: var(--on-navy-soft); }
.home .resources-band .buy-btn { background: var(--brass-lit); border-color: var(--brass-lit); color: var(--navy-2); box-shadow: none; }
.home .resources-band .buy-btn:hover { background: #f0d385; border-color: #f0d385; color: var(--navy-2); }
.home .resources-band .buy-btn.buy-btn-ghost { background: transparent; color: var(--brass-lit); border-color: var(--brass-lit); }
.home .resources-band .buy-btn.buy-btn-ghost:hover { background: rgba(227, 191, 104, .14); color: var(--brass-lit); }
.home .resources-band a:focus-visible { outline-color: var(--brass-lit); }

/* ---------- buy bar: slides up once the hero's buy button is behind you ---------- */
body:has(.buybar) .site-footer { padding-bottom: 4.5rem; }
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  padding: .75rem 1.5rem; background: rgba(10, 19, 34, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 2px solid var(--brass); color: var(--on-navy);
  transform: translateY(105%); visibility: hidden; transition: transform .35s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .35s;
}
.buybar.is-shown { transform: none; visibility: visible; transition-delay: 0s; }
.buybar-text { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; }
.buybar-text strong { font-family: var(--serif-d); font-size: var(--t-lg); font-weight: 600; color: var(--on-navy); }
.buybar-text span { font-family: var(--sans); font-size: var(--t-sm); color: var(--on-navy-soft); }
.home .buybar .buy-btn { padding: 10px 24px; font-size: var(--t-md); flex: 0 0 auto; }
.home .buybar a:focus-visible { outline-color: var(--brass-lit); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .home .book-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .home .featured-hero { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .home .feature-copy h1, .home .feature-copy .lede { margin-inline: auto; }
  .hero-eyebrow { justify-content: center; }
  .home .feature-ctas { justify-content: center; }
  .home .feature-cover { max-width: 21rem; margin-top: 1rem; }
  .ms-seal { left: -.5rem; }
  .home .proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-strip li:nth-child(3) { border-left: 0; }
  .proof-strip li:nth-child(n+3) { border-top: 1px solid rgba(244, 236, 216, .16); }
  .home .chooser-grid { grid-template-columns: minmax(0, 1fr); }
  .home .chooser-card-lead { order: -1; }
  .home .how, .home .faq { grid-template-columns: minmax(0, 1fr); }
  .home .how .section-head { position: static; margin-bottom: 1rem; }
  .home .author-letter { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .home .author-photo { max-width: 15rem; justify-self: start; }
  .letter-quote p::before { position: static; display: block; margin-bottom: -.4em; }
  .home .helps-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .home .feature-ctas .buy-btn { flex: 1 1 100%; white-space: normal; }
  .home .find-row { flex-direction: column; align-items: stretch; }
  .home .find-row input { text-align: center; }
  .home .find-row .buy-btn { width: 100%; }
  .proof-strip li { flex-direction: column; align-items: center; gap: .25rem; }
  .home .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.3rem; }
  .home .book-card:first-child { grid-column: 1 / -1; max-width: 12rem; margin-inline: auto; }
  .home .section-head-row { align-items: flex-start; }
  .home .steps li { grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1rem; }
  .step-num { font-size: 3.25rem; }
}
@media (max-width: 640px) {
  .buybar { gap: .9rem; padding: .65rem 1rem; justify-content: space-between; }
  .buybar-text span { display: none; }
  .hero-watermark { display: none; }
  .home .search-results { max-height: 20rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home .feature-cover, .ms-page::after, .ms-seal { animation: none; }
  .home .feature-copy h1 em { animation: none; background-size: 100% 3px; }
  .ms-page, .buybar { transition: none; }
  .home .chooser-card, .home .help-card, .cover-wrap { transition: none; }
  .home .chooser-card:hover, .home .help-card:hover, .home .book-card:hover .cover-wrap { transform: none; }
}
