/* Quite the Family marketing site. Phone-first. Warm ivory, forest green, burgundy actions, restrained gold. */
:root {
  --ivory: #f7f4ea; --paper: #fbf8ef; --paper-2: #f1ecdc; --line: #e1dccb;
  --ink: #1f2b24; --muted: #5d6860; --green: #193e30; --green-2: #294735; --green-3: #3f6b52; --green-pale: #dfe7d8;
  --burgundy: #812c38; --burgundy-2: #9a3a48; --gold: #c9a461; --gold-pale: #f3e6c4; --red: #b1373f;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif; --sans: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --radius: 14px; --shadow: 0 10px 30px rgba(31, 43, 36, .10); --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.55 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
.art { display: block; width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--burgundy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .45em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw + 1rem, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3vw + .8rem, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.55rem); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); color: var(--muted); max-width: 40ch; }
.eyebrow { font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--burgundy); margin: 0 0 .9em; }
.script { font-family: var(--display); font-style: italic; font-weight: 600; color: var(--burgundy); font-size: 1.15rem; line-height: 1.3; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 36px; }
.section-head .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 1.05rem/1.1 var(--sans); padding: 15px 26px; border-radius: 12px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .12s, color .12s; min-height: 48px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--burgundy); color: #fff; }
.btn-primary:hover { background: var(--burgundy-2); color: #fff; }
.btn-secondary { background: transparent; color: var(--green); border-color: var(--green); }
.btn-secondary:hover { background: var(--green); color: #fff; }
.btn-lg { font-size: 1.2rem; padding: 18px 34px; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; color: var(--green); text-decoration: underline; }
.link-arrow::after { content: ' →'; }

/* Preview ribbon (offer.js hides it once preview is off) */
.preview-bar { background: var(--gold-pale); color: #5a4416; font-size: .85rem; text-align: center; padding: 7px 16px; border-bottom: 1px solid #e6d49c; }
.preview-bar[hidden] { display: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 239, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: none; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--burgundy); }
.nav a[aria-current="page"] { border-bottom-color: var(--burgundy); color: var(--burgundy); }
.nav .btn { padding: 11px 18px; font-size: .98rem; min-height: 42px; }
.nav .signin { color: var(--green); }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(88vw, 320px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; display: grid; gap: 4px; }
.menu-panel a { display: block; padding: 12px 14px; text-decoration: none; font-weight: 600; color: var(--ink); border-radius: 8px; }
.menu-panel a:hover { background: var(--green-pale); }
.menu-panel a[aria-current="page"] { color: var(--burgundy); }
.menu-panel .btn { margin-top: 6px; }
@media (min-width: 900px) { .nav { display: flex; } .menu { display: none; } }

/* Ribbon band */
.ribbon { background: var(--burgundy); color: #fff; text-align: center; font-family: var(--display); font-weight: 600; font-style: italic; font-size: clamp(1.05rem, 1vw + .8rem, 1.4rem); padding: 14px 16px; }
.ribbon span { color: var(--gold); margin: 0 .5em; }

/* Device frames (real app captures go inside) */
.device { display: block; }
.device-laptop { background: #23272a; border-radius: 12px 12px 4px 4px; padding: 3.5% 3.5% 2.5%; box-shadow: 0 10px 24px rgba(0,0,0,.25); position: relative; }
.device-laptop::after { content: ''; display: block; position: absolute; left: -4%; right: -4%; bottom: -3.5%; height: 4%; background: linear-gradient(#cfcfcf, #9a9a9a); border-radius: 0 0 8px 8px; }
.device-laptop img { display: block; width: 100%; height: auto; border-radius: 4px; background: #fff; }
.device-phone { background: #1d1a1a; border-radius: 26px; padding: 3.2%; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.device-phone img { display: block; width: 100%; height: auto; border-radius: 18px; background: #fff; }
.capture-note { font-size: .82rem; color: var(--muted); margin-top: 8px; }

/* Dark band / final CTA */
.band { background: var(--green); color: #f3ecd9; position: relative; overflow: hidden; }
.band h2 { color: #fff; }
.band .script { color: var(--gold); }
.band .price-line { color: var(--gold-pale); }
.band .muted { color: #cfd8cd; }
.band .btn-secondary { color: #fff; border-color: #fff; }
.band .btn-secondary:hover { background: #fff; color: var(--green); }
.band-inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.band-inner .btn { margin: 10px 0 18px; }
.band a { color: var(--gold); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; padding: 16px 36px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); font-size: 1.5rem; color: var(--burgundy); position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* Footer */
.site-footer { background: var(--green); color: #d9e0d5; padding: 48px 0 28px; margin-top: 0; }
.footer-grid { display: grid; gap: 28px; }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: var(--gold); font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #f3ecd9; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-note { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 18px; font-size: .85rem; color: #aab5a7; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* Pricing */
.pricing-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: 7fr 5fr; gap: 40px; } }
.price-card { background: var(--paper); border: 2px solid var(--green); border-radius: var(--radius); padding: 26px 22px; position: relative; box-shadow: var(--shadow); }
.price-card .corner { position: absolute; right: -2px; top: -2px; background: var(--gold); color: var(--ink); font: 700 .72rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 8px 10px; border-radius: 0 var(--radius) 0 12px; }
.price-big { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 6vw, 5rem); color: var(--green); line-height: 1; margin: 6px 0 4px; letter-spacing: -.03em; }
.includes { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.includes li { position: relative; padding-left: 32px; }
.includes li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.price-card .btn { width: 100%; }
.price-card hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.price-card h3 { margin-bottom: .2em; }
.mini-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.mini-facts div { font-size: .9rem; color: var(--muted); }
.mini-facts strong { display: block; color: var(--ink); font-size: 1rem; }
.timeline { background: var(--green-pale); border-radius: var(--radius); padding: 24px 20px; display: grid; gap: 18px; }
.timeline h2 { text-align: center; margin-bottom: .2em; }
.timeline-steps { display: grid; gap: 16px; }
.timeline-step { display: flex; gap: 14px; align-items: flex-start; }
.timeline-step .dot { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--green); background: var(--paper); display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: var(--green); }
.timeline-step strong { display: block; font-size: 1.05rem; }
.timeline-step span { color: var(--muted); font-size: .95rem; }
@media (min-width: 900px) { .timeline { grid-template-columns: 3fr 1fr; align-items: center; } .timeline-steps { grid-template-columns: repeat(3, 1fr); } .timeline-step { flex-direction: column; } }
.table { width: 100%; border-collapse: collapse; margin: 8px 0 0; font-size: .98rem; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.table td:last-child { font-weight: 700; white-space: nowrap; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ---------- Real book pages (The Walker In-Law Survival Handbook) ---------- */
.pg { display: block; width: 100%; height: auto; background: var(--paper-2); }
/* A hardcover front: rounded fore-edge, a hinge line near the spine, a soft drop shadow. */
.book-cover { position: relative; border-radius: 3px 7px 7px 3px; overflow: hidden; background: var(--paper-2);
  box-shadow: 0 1px 2px rgba(31,43,36,.18), 0 6px 12px rgba(31,43,36,.14), 0 18px 34px rgba(31,43,36,.22); }
.book-cover::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.26) 0, rgba(255,255,255,.20) 1.4%, rgba(0,0,0,.10) 2.8%, transparent 5.5%, transparent 97%, rgba(0,0,0,.08) 100%); }
/* An open two-page spread: a shaded gutter down the middle. */
.book-spread { position: relative; border-radius: 3px; overflow: hidden; background: var(--paper-2);
  box-shadow: 0 1px 2px rgba(31,43,36,.14), 0 12px 26px rgba(31,43,36,.20); }
.book-spread::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 45%, rgba(0,0,0,.08) 48.6%, rgba(0,0,0,.22) 50%, rgba(255,255,255,.10) 50.5%, rgba(0,0,0,.06) 51.8%, transparent 55%); }

/* Hero composition: the front cover with open spreads fanned out behind it. */
.book-stack { position: relative; width: 100%; max-width: 640px; margin: 0 auto; }
.book-stack .book-cover { position: relative; z-index: 3; width: 46%; margin: 5% 0 6% 2%; transform: rotate(-3deg); }
.book-stack .book-spread { position: absolute; z-index: 2; width: 76%; right: 0; top: 21%; transform: rotate(2.5deg); }
.book-stack .book-spread.behind { z-index: 1; width: 64%; right: 8%; top: 1%; transform: rotate(-4deg); box-shadow: 0 8px 18px rgba(31,43,36,.16); }

/* Tap-to-enlarge figures */
.page-fig { margin: 0; }
.enlarge { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; text-align: left; color: inherit; font: inherit; }
.enlarge .badge { position: absolute; right: 10px; bottom: 10px; z-index: 4; background: rgba(251,248,239,.95); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; font: 600 .82rem var(--sans); color: var(--ink); display: inline-flex; gap: 6px; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.enlarge .badge svg { width: 14px; height: 14px; }
.enlarge:hover .badge { background: #fff; }
.page-fig figcaption { margin-top: 14px; color: var(--muted); font-size: .98rem; }
.page-fig figcaption strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.2rem; margin-bottom: 2px; }
.pages-2 { display: grid; gap: 34px; }
@media (min-width: 900px) { .pages-2 { grid-template-columns: 1fr 1fr; gap: 36px; } }
.credit { text-align: center; color: var(--muted); font-size: .92rem; max-width: 62ch; margin: 26px auto 0; }

/* Enlarged page dialog */
dialog.zoom { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.zoom::backdrop { background: rgba(20, 30, 25, .92); }
dialog.zoom .zoom-inner { width: 100%; height: 100%; display: flex; flex-direction: column; padding: 60px 0 12px; gap: 10px; }
dialog.zoom .zoom-body { flex: 1; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; display: flex; }
dialog.zoom .zoom-body img { display: block; margin: auto; height: auto; max-width: none; }
dialog.zoom .zoom-body img.is-wide { width: max(100%, 980px); }
dialog.zoom .zoom-body img.is-tall { width: min(100%, calc((100vh - 130px) * .735)); }
@media (min-width: 900px) { dialog.zoom .zoom-body img.is-wide { width: min(100%, 1500px, calc((100vh - 130px) * 1.54)); } }
dialog.zoom .zoom-caption { color: #fff; text-align: center; font-size: .95rem; padding: 0 16px; margin: 0; }
dialog.zoom .zoom-hint { color: #cfd8cd; text-align: center; font-size: .82rem; margin: 0; }
@media (min-width: 900px) { dialog.zoom .zoom-hint { display: none; } }
dialog.zoom .zoom-close { position: absolute; top: 10px; right: 12px; color: #fff; border-color: #fff; background: rgba(0,0,0,.35); padding: 8px 16px; min-height: 40px; }
dialog.zoom .zoom-close:hover { background: #fff; color: var(--green); }

/* Home hero */
.hero { padding: 22px 0 40px; overflow: hidden; }
.hero-grid { display: grid; gap: 18px; grid-template-areas: "top" "art" "bottom"; }
.hero-top { grid-area: top; }
.hero-art { grid-area: art; }
.hero-bottom { grid-area: bottom; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw + 1rem, 4.2rem); margin-bottom: 0; }
.hero .lead { margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin: 20px 0 10px; }
.price-line { font-weight: 600; color: var(--green); margin: 0; }
@media (min-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 5fr 6fr; grid-template-areas: "top art" "bottom art"; column-gap: 48px; row-gap: 20px; align-items: center; }
  .hero-top { align-self: end; }
  .hero-bottom { align-self: start; }
}

/* Steps (home) */
.steps { display: grid; gap: 18px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 20px; display: flex; flex-direction: column; }
.step-art { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); border-radius: 10px; overflow: hidden; margin-bottom: 14px; border: 1px solid var(--line); display: grid; place-items: center; }
.step-art .device-laptop { width: 86%; }
.step-art .device-phone { width: 40%; position: absolute; top: 7%; }
.step-art .book-spread { width: 88%; }
.step-art .book-cover { width: 42%; transform: rotate(-3deg); }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 800 1.15rem var(--display); display: grid; place-items: center; flex: none; border: 2px solid var(--ink); }
.step-who { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--burgundy); display: block; }
.step h3 { margin: 0; }
.step p { margin: 0; color: var(--muted); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.alt-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* How it works */
.journey { display: grid; gap: 64px; }
.journey-step { display: grid; gap: 22px; align-items: center; }
.journey-step .num { font-family: var(--display); font-weight: 800; color: var(--gold); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6em; }
.journey-step .num b { color: var(--burgundy); }
.journey-step h2 { font-size: clamp(1.7rem, 2.2vw + .8rem, 2.5rem); }
.journey-step .lead { max-width: 46ch; }
.journey-art { position: relative; }
.journey-art .device-phone { width: 56%; max-width: 300px; margin: 0 auto; }
.journey-art .device-laptop { width: 100%; }
.journey-art .stack-2 { display: grid; }
.journey-art .stack-2 > .page-fig:nth-child(2) { width: 80%; justify-self: end; margin-top: -16%; position: relative; z-index: 2; transform: rotate(2deg); }
.journey-art .stack-2 > .page-fig:nth-child(1) { width: 86%; transform: rotate(-1.5deg); }
.journey-art .cover-solo { width: 58%; max-width: 320px; margin: 0 auto; transform: rotate(-2deg); }
.review-buttons { display: flex; gap: 12px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; font-weight: 700; font-size: .92rem; border: 2px solid var(--green); color: var(--green); background: var(--paper); }
.chip.burgundy { border-color: var(--burgundy); color: var(--burgundy); }
.tip { display: flex; gap: 12px; align-items: flex-start; background: var(--green-pale); border-radius: 10px; padding: 12px 14px; font-size: .98rem; margin-top: 16px; }
.reassure { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 0; padding: 0; list-style: none; }
.reassure li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .98rem; }
.reassure li::before { content: '✓'; color: var(--burgundy); font-weight: 800; }
@media (min-width: 900px) {
  .journey-step { grid-template-columns: 5fr 7fr; gap: 48px; }
  .journey-step.flip .journey-copy { order: 2; }
  .journey-step.flip .journey-art { order: 1; }
}

/* Look inside: the sample viewer */
.viewer { max-width: 1040px; margin: 0 auto; }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
.viewer-bar .btn { padding: 10px 14px; min-height: 44px; font-size: .98rem; flex: none; }
.viewer-count { text-align: center; font-weight: 700; margin: 0; line-height: 1.25; }
.viewer-count small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.slides { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.slide { margin: 0; }
.slide.is-tall .enlarge { width: min(80%, 460px); margin: 0 auto; }
.slide figcaption { text-align: center; margin: 16px auto 0; color: var(--muted); max-width: 60ch; }
.slide figcaption strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.25rem; }
.viewer.is-live .slides { display: block; }
.viewer.is-live .slide:not(.is-current) { display: none; }
.viewer:not(.is-live) .viewer-bar, .viewer:not(.is-live) .thumbs { display: none; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 14px 2px 8px; margin: 18px 0 0; list-style: none; -webkit-overflow-scrolling: touch; }
.thumbs li { flex: none; }
.thumbs button { display: block; padding: 0; border: 2px solid transparent; border-radius: 5px; background: none; cursor: pointer; opacity: .65; }
.thumbs button[aria-current="true"] { border-color: var(--burgundy); opacity: 1; }
.thumbs button:hover { opacity: 1; }
.thumbs img { display: block; height: 56px; width: auto; border-radius: 3px; }
@media (min-width: 900px) { .thumbs { justify-content: center; flex-wrap: wrap; } .thumbs img { height: 62px; } }
/* The contents map has an open middle; the chapter list is typeset on top of it. */
.contents { container-type: inline-size; }
.contents-list { position: absolute; left: 24%; right: 24%; top: 21%; bottom: 18%; z-index: 3; display: flex; flex-direction: column; justify-content: center; text-align: center; color: #1d3557; font-family: var(--display); pointer-events: none; }
.contents-list .h { font-weight: 800; font-size: 7.5cqw; line-height: 1; margin: 0 0 .3em; }
.contents-list .sub { font: 700 2.3cqw/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #b4532a; margin: 1em 0 .4em; }
.contents-list .ls, .contents-list .ls > span, .contents-list .h, .contents-list .sub { display: block; }
.contents-list .ls { font-size: 2.8cqw; line-height: 1.4; font-weight: 600; }

/* Pricing additions */
.refund { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; max-width: 820px; margin: 0 auto; }
.refund h2 { font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem); }
.refund ul { margin: 10px 0 14px; padding-left: 1.2em; display: grid; gap: 8px; }
.seller { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 18px; }
.timeline-cover { width: 120px; margin: 0 auto; transform: rotate(-3deg); }
@media (min-width: 900px) { .timeline-cover { width: 150px; } }

/* Gift landing (social ad) */
.gift-hero { text-align: center; padding: 16px 0 26px; overflow: hidden; }
.gift-hero h1 { font-size: clamp(1.9rem, 4.6vw + .8rem, 3.6rem); margin: 0 auto .25em; max-width: 17ch; }
.gift-hero .book-stack { max-width: 520px; margin: 0 auto 4px; }
.gift-hero .lead { margin: 0 auto 16px; max-width: 36ch; }
.gift-hero .btn { width: 100%; max-width: 420px; }
.gift-hero .price-line { margin-top: 10px; font-size: 1rem; }
.date-pill { display: inline-block; background: var(--burgundy); color: #fff; font-weight: 600; padding: 6px 14px; border-radius: 999px; font-size: .88rem; margin: 0 0 12px; }
.compact-steps { list-style: none; padding: 0; display: grid; gap: 4px; max-width: 720px; margin: 0 auto; }
.compact-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.compact-steps strong { display: block; font-family: var(--display); font-size: 1.2rem; }
.compact-steps span { color: var(--muted); }
.sticky-cta.is-hidden { transform: translateY(110%); }
.sticky-cta { transition: transform .2s; position: sticky; bottom: 0; z-index: 40; background: rgba(251, 248, 239, .96); border-top: 1px solid var(--line); padding: 10px 16px; display: flex; justify-content: center; }
.sticky-cta .btn { width: 100%; max-width: 560px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
.nav .btn-primary, .nav .btn-primary:hover { color: #fff; }
.ribbon span[data-offer] { color: inherit; margin: 0; }
.band .btn-primary, .band .btn-primary:hover { color: #fff; }
.note-line { text-align: center; margin: 26px auto 0; color: var(--muted); font-size: 1rem; max-width: 60ch; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; }
.step-art { grid-template-columns: 100%; justify-items: center; }
@media (min-width: 900px) { .slide:not(.is-tall) .enlarge { max-width: max(640px, calc((100vh - 170px) * 1.54)); margin: 0 auto; } }
dialog.zoom::backdrop { background: rgba(16, 24, 20, .97); }
dialog.zoom .zoom-contents { position: relative; display: block; margin: auto; width: min(100%, calc((100vh - 130px) * .776)); }
dialog.zoom .zoom-contents img { width: 100%; }
.link-arrow { white-space: nowrap; }
