/* ============================================================
   PK Publishing — landing page system
   Loaded AFTER styles.css by every landing page.

   Each page picks a theme with a body class (.lp-coley, .lp-fixit, …).
   A theme only sets the --lp-* tokens below; every component reads them.
   Reference implementation: coley-kids.html (6 Oct 2026).
   ============================================================ */

:root {
  --lp-dark: #0F1E33;        /* header, hero, final CTA, sticky bar */
  --lp-dark-2: #16294A;      /* cover placeholders, raised dark surfaces */
  --lp-glow: #21406b;        /* hero radial highlight */
  --lp-foot: #0b1626;        /* footer */
  --lp-shadow-rgb: 15,30,51; /* tinted shadows and ribbons */
  --lp-accent: #1E8C86;      /* eyebrows, rules, links on light */
  --lp-accent-2: #25A39C;    /* accent on dark, hover */
  --lp-band: var(--lp-accent);     /* free-item band */
  --lp-band-ink: var(--lp-accent); /* button text on the band's white button */
  --lp-bg: #FBF6EC;          /* page background */
  --lp-surface: #fff;        /* cards, .alt sections */
  --lp-line: #ece4d4;        /* card borders */
  --lp-cta: #E2A33C;         /* primary button */
  --lp-cta-hover: #efb34f;
  --lp-cta-ink: #1a1205;
  --lp-ink: #1C1F2E;         /* headings */
  --lp-prose: #2c3142;       /* long-form text */
  --lp-text: #3a3f50;        /* card text */
  --lp-muted: #5B6275;
  --lp-hl: #E2A33C;          /* <em> highlight in hero h1 */
}

/* ── Themes ─────────────────────────────────────────────── */
.lp-coley {
  --lp-dark:#0F1E33; --lp-dark-2:#16294A; --lp-glow:#21406b; --lp-foot:#0b1626; --lp-shadow-rgb:15,30,51;
  --lp-accent:#1E8C86; --lp-accent-2:#25A39C; --lp-bg:#FBF6EC; --lp-line:#ece4d4;
  --lp-cta:#E2A33C; --lp-cta-hover:#efb34f; --lp-cta-ink:#1a1205;
  --lp-ink:#1C1F2E; --lp-prose:#2c3142; --lp-text:#3a3f50; --lp-muted:#5B6275; --lp-hl:#E2A33C;
}
/* Fix-It house style: cream #F4F2ED, amber #D8891F, near-black #2B3128, grey #5C625A.
   Amber text on cream uses the darker #8A520B so small text passes WCAG AA. */
.lp-fixit {
  --lp-dark:#2B3128; --lp-dark-2:#353C32; --lp-glow:#3E4838; --lp-foot:#20251E; --lp-shadow-rgb:43,49,40;
  --lp-accent:#8A520B; --lp-accent-2:#E9A13F; --lp-band:#2D5A3D; --lp-band-ink:#2D5A3D;
  --lp-bg:#F4F2ED; --lp-line:#E2DED4;
  --lp-cta:#D8891F; --lp-cta-hover:#E9A13F; --lp-cta-ink:#1E211B;
  --lp-ink:#2B3128; --lp-prose:#2B3128; --lp-text:#41473F; --lp-muted:#5C625A; --lp-hl:#E9A13F;
}

/* RenovaTrack: the app's blues; amber CTA ties it to the Fix-It funnel */
.lp-renovatrack {
  --lp-dark:#0D2A4C; --lp-dark-2:#163B66; --lp-glow:#1D4F8A; --lp-foot:#091E37; --lp-shadow-rgb:13,42,76;
  --lp-accent:#1F5FAE; --lp-accent-2:#9EC5F4; --lp-band:#1F5FAE; --lp-band-ink:#1F5FAE;
  --lp-bg:#F6F6F4; --lp-line:#E1E0D9;
  --lp-cta:#F2A33A; --lp-cta-hover:#F7B65C; --lp-cta-ink:#1A1205;
  --lp-ink:#0B1B2E; --lp-prose:#1E2733; --lp-text:#3A4250; --lp-muted:#5A6170; --lp-hl:#F2A33A;
}
/* HomeFix Calendar: the app's dark slate and orange */
.lp-homefix {
  --lp-dark:#0D1117; --lp-dark-2:#1E2731; --lp-glow:#22303D; --lp-foot:#080B0F; --lp-shadow-rgb:13,17,23;
  --lp-accent:#A8530A; --lp-accent-2:#FF9A3C; --lp-band:#1E2731; --lp-band-ink:#1E2731;
  --lp-bg:#F5F3EF; --lp-line:#E3DED5;
  --lp-cta:#FF9A3C; --lp-cta-hover:#FFAD5E; --lp-cta-ink:#1A0E02;
  --lp-ink:#11161C; --lp-prose:#1F262E; --lp-text:#3B434C; --lp-muted:#59616B; --lp-hl:#FF9A3C;
}

/* Cardiac Nurse Playbooks: the line's navy and teal, gold CTA */
.lp-cardiac {
  --lp-dark:#132A37; --lp-dark-2:#1B3A4B; --lp-glow:#24526A; --lp-foot:#0D1F29; --lp-shadow-rgb:19,42,55;
  --lp-accent:#216A78; --lp-accent-2:#7FC6D3; --lp-band:#216A78; --lp-band-ink:#216A78;
  --lp-bg:#F4F7F8; --lp-line:#D5DFE3;
  --lp-cta:#D4AE35; --lp-cta-hover:#E3C35A; --lp-cta-ink:#17140A;
  --lp-ink:#17262E; --lp-prose:#1F2F37; --lp-text:#3A4A52; --lp-muted:#586A73; --lp-hl:#E3C35A;
}
/* AI Prompt Playbooks: indigo and warm gold */
.lp-ai {
  --lp-dark:#232052; --lp-dark-2:#2E2A6B; --lp-glow:#3D3890; --lp-foot:#17153A; --lp-shadow-rgb:35,32,82;
  --lp-accent:#4A45A0; --lp-accent-2:#E0A33E; --lp-band:#38347C; --lp-band-ink:#38347C;
  --lp-bg:#F5F6FB; --lp-line:#DCDEEB;
  --lp-cta:#E0A33E; --lp-cta-hover:#ECB65A; --lp-cta-ink:#1A1205;
  --lp-ink:#14122E; --lp-prose:#1E1C3A; --lp-text:#3C3F55; --lp-muted:#5B5F75; --lp-hl:#E0A33E;
}

/* Focus tools (ADHD Audio Engine, UnstickMe, tools hub): UnstickMe's navy and amber, the Audio Engine's indigo for links */
.lp-focus {
  --lp-dark:#0F1226; --lp-dark-2:#1C2150; --lp-glow:#2A2F66; --lp-foot:#0A0C1A; --lp-shadow-rgb:15,18,38;
  --lp-accent:#3F55C9; --lp-accent-2:#FFB020; --lp-band:#2A2F66; --lp-band-ink:#2A2F66;
  --lp-bg:#F3F4FB; --lp-line:#D9DCEC;
  --lp-cta:#FFB020; --lp-cta-hover:#FFC14D; --lp-cta-ink:#1A1205;
  --lp-ink:#141833; --lp-prose:#1F2340; --lp-text:#3A3F5C; --lp-muted:#585D78; --lp-hl:#FFB020;
}

/* Adult fiction (Lord P): near-black, burgundy, gold */
.lp-adult {
  --lp-dark:#141117; --lp-dark-2:#221C24; --lp-glow:#4A1622; --lp-foot:#0C0A0E; --lp-shadow-rgb:20,17,23;
  --lp-accent:#8B2635; --lp-accent-2:#E2B04F; --lp-band:#6E1E2B; --lp-band-ink:#6E1E2B;
  --lp-bg:#F2EDE6; --lp-line:#E0D6CB;
  --lp-cta:#D9A441; --lp-cta-hover:#E6B95E; --lp-cta-ink:#1A1205;
  --lp-ink:#1C1A20; --lp-prose:#26232B; --lp-text:#433E47; --lp-muted:#625C66; --lp-hl:#E2B04F;
}

/* Figured Out (nonfiction for teens and parents): the site's navy, gold and burgundy */
.lp-figured {
  --lp-dark:#1B2A4A; --lp-dark-2:#243558; --lp-glow:#2F4677; --lp-foot:#121D33; --lp-shadow-rgb:27,42,74;
  --lp-accent:#8B2635; --lp-accent-2:#E0A33E; --lp-band:#2D6A4F; --lp-band-ink:#2D6A4F;
  --lp-bg:#FAF6EF; --lp-line:#E8DFD0;
  --lp-cta:#E0A33E; --lp-cta-hover:#ECB65A; --lp-cta-ink:#1A1205;
  --lp-ink:#1C1F2E; --lp-prose:#2C3142; --lp-text:#3D4158; --lp-muted:#5F6476; --lp-hl:#E0A33E;
}
/* Puzzle books: pine, cranberry and cream, with larger body text for older readers */
.lp-puzzle {
  --lp-dark:#1F3A2B; --lp-dark-2:#2A4C39; --lp-glow:#356049; --lp-foot:#142619; --lp-shadow-rgb:31,58,43;
  --lp-accent:#A3202B; --lp-accent-2:#F3D27A; --lp-band:#A3202B; --lp-band-ink:#A3202B;
  --lp-bg:#FBF7EF; --lp-line:#E9DFCC;
  --lp-cta:#B3202A; --lp-cta-hover:#C8303A; --lp-cta-ink:#FFFFFF;
  --lp-ink:#1D241F; --lp-prose:#2A322C; --lp-text:#3B443D; --lp-muted:#59625B; --lp-hl:#F3D27A;
}
.lp-puzzle .lead, .lp-puzzle .prose, .lp-puzzle .faq p { font-size: 19px; }

body { background: var(--lp-bg); color: var(--lp-ink); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ── Slim header ────────────────────────────────────────── */
.lp-head { background: var(--lp-dark); }
.lp-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.lp-brand { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 19px; color: #fff; text-decoration: none; }
.lp-brand span { color: var(--lp-accent-2); }
.lp-back { font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,.75); text-decoration: none; }
.lp-back:hover { color: #fff; }
/* 44 px tap targets; the text sits exactly where it did (centered in the 56 px header / shelf column) */
.lp-back { display: inline-flex; align-items: center; min-height: 44px; }
body:not(.lp-coley) .bk .notify-link { display: inline-flex; align-items: center; min-height: 44px; }
/* Hub pages only: small row of child-page links under the header */
.lp-subnav { background: var(--lp-dark-2); }
.lp-subnav .wrap { display: flex; gap: 6px 18px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.lp-subnav a { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.82); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.lp-subnav a:hover, .lp-subnav a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ── Hero ───────────────────────────────────────────────── */
.lp-hero { background: radial-gradient(1200px 500px at 75% 10%, var(--lp-glow) 0%, var(--lp-dark) 60%); color: #fff; padding: 48px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-accent-2); margin-bottom: 14px; }
.lp-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08; margin: 0 0 16px; color: #fff; }
.lp-hero h1 em { color: var(--lp-hl); font-style: italic; font-weight: 600; }
.lead { font-family: 'Source Serif 4', serif; font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.85); margin: 0 0 26px; max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--lp-cta); color: var(--lp-cta-ink); }
.btn-primary:hover { background: var(--lp-cta-hover); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-teal { background: var(--lp-accent); color: #fff; }
.btn-teal:hover { background: var(--lp-accent-2); }
/* Outline button for light backgrounds */
.btn-line { border: 1.5px solid var(--lp-ink); color: var(--lp-ink); background: transparent; }
.btn-line:hover { background: var(--lp-ink); color: #fff; }
.reassure { font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,.6); margin-top: 14px; }
.formats { font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,.75); margin-top: 10px; }
.formats a { color: #fff; }
.hero-cover { justify-self: center; width: 100%; max-width: 340px; }
.hero-cover img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); display: block; }
.hero-cover.square { max-width: 420px; }

/* ── Sections ───────────────────────────────────────────── */
section.lp { padding: 64px 0; }
.sec-eyebrow { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-accent); margin-bottom: 10px; }
h2.sec { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; margin: 0 0 14px; color: var(--lp-ink); }
.prose { font-family: 'Source Serif 4', serif; font-size: 18px; line-height: 1.7; color: var(--lp-prose); max-width: 680px; }
.prose p { margin: 0 0 16px; }
.pull { font-family: 'Playfair Display', serif; font-style: italic; font-size: 22px; color: var(--lp-accent); margin: 8px 0 18px; }
.alt { background: var(--lp-surface); }

/* Character / family cards (books) */
.family { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 28px; }
.person { background: #fff; border-radius: 10px; padding: 20px; border: 1px solid var(--lp-line); }
.person h3 { font-family: 'Playfair Display', serif; font-size: 19px; margin: 0 0 4px; }
.person .age { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--lp-accent); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.person p { font-family: 'Source Serif 4', serif; font-size: 15.5px; line-height: 1.55; color: var(--lp-text); margin: 0; }

/* Reasons block ("for parents", "why it works") */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 26px; }
.why div { border-left: 3px solid var(--lp-accent); padding: 2px 0 2px 16px; }
.why h3 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; margin: 0 0 6px; color: var(--lp-ink); }
.why p { font-family: 'Source Serif 4', serif; font-size: 15.5px; line-height: 1.55; margin: 0; color: var(--lp-text); }
.comps { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--lp-muted); margin-top: 26px; }

/* Free-item band */
.free-band { background: var(--lp-band); color: #fff; padding: 40px 0; }
.free-band .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.free-band h2 { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3vw, 30px); margin: 0 0 6px; color: #fff; }
.free-band p { font-family: 'Source Serif 4', serif; font-size: 17px; margin: 0; color: rgba(255,255,255,.88); }
.free-band .btn { background: #fff; color: var(--lp-band-ink); }

/* Series shelf */
.shelf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 30px; }
.bk { display: flex; flex-direction: column; }
.bk-cover { position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 24px rgba(var(--lp-shadow-rgb),.18); aspect-ratio: 600/960; background: var(--lp-dark-2); }
.bk-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk.soon .bk-cover img { filter: saturate(.85); }
.ribbon { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(var(--lp-shadow-rgb),.88); color: #fff; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 8px 4px; }
.ribbon.live { background: var(--lp-cta); color: var(--lp-cta-ink); }
.bk h3 { font-family: 'Playfair Display', serif; font-size: 17px; margin: 2px 0 4px; }
.bk .num { margin-top: 14px; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--lp-accent); }
.bk p { font-family: 'Source Serif 4', serif; font-size: 14.5px; line-height: 1.5; color: var(--lp-text); margin: 0 0 10px; }
.bk .btn { min-height: 42px; font-size: 14px; padding: 0 14px; margin-top: auto; }
.bk .notify-link { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--lp-accent); text-decoration: none; margin-top: auto; }

/* Notify form (markup + behaviour from styles.css / site.js) */
.capture-section { background: var(--lp-bg); padding: 24px 0 64px; }
.capture-card { background: var(--lp-dark); }
.capture-eyebrow { color: var(--lp-accent-2); }
.btn-capture { background: var(--lp-accent); }
.btn-capture:hover { background: var(--lp-accent-2); }
body:not(.lp-coley) .capture-privacy { color: rgba(255,255,255,.66); }  /* WCAG AA on the dark card */

/* FAQ */
.faq { max-width: 760px; margin-top: 20px; }
.faq details { background: #fff; border: 1px solid var(--lp-line); border-radius: 10px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px; padding: 18px 0; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--lp-accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { font-family: 'Source Serif 4', serif; font-size: 16px; line-height: 1.6; color: var(--lp-text); margin: 0 0 18px; }

/* Final CTA + footer */
.final { background: var(--lp-dark); color: #fff; text-align: center; padding: 56px 0; }
.final h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.6vw, 36px); margin: 0 0 12px; color: #fff; }
.final p { font-family: 'Source Serif 4', serif; font-size: 18px; color: rgba(255,255,255,.8); margin: 0 0 24px; }
.final .cta-row { justify-content: center; }
.lp-foot { background: var(--lp-foot); color: rgba(255,255,255,.55); font-family: 'Inter', sans-serif; font-size: 13px; padding: 28px 0 90px; text-align: center; }
.lp-foot a { color: rgba(255,255,255,.75); margin: 0 8px; text-decoration: none; }
/* Roomier footer tap targets on the new pages (coley-kids keeps its original footer metrics) */
body:not(.lp-coley) .lp-foot a { display: inline-block; padding: 12px 4px; }

/* Sticky mobile buy bar (shown < 760px once the hero scrolls away) */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; background: var(--lp-dark); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; box-shadow: 0 -6px 20px rgba(0,0,0,.25); z-index: 50; transform: translateY(110%); visibility: hidden; transition: transform .25s, visibility .25s; }
.sticky.show { transform: none; visibility: visible; }
.sticky .t { flex: 1; color: #fff; font-family: 'Inter', sans-serif; font-size: 13px; line-height: 1.3; }
.sticky .t b { display: block; font-size: 14px; }
.sticky .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }

/* ============================================================
   Components added for the product landing pages
   ============================================================ */

/* The problem, in the reader's words */
.pain { list-style: none; margin: 24px 0 0; padding: 0; max-width: 720px; display: grid; gap: 12px; }
.pain li { font-family: 'Source Serif 4', serif; font-size: 18px; line-height: 1.5; color: var(--lp-prose); background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 10px; padding: 14px 18px 14px 46px; position: relative; }
.pain li::before { content: '“'; position: absolute; left: 16px; top: 6px; font-family: 'Playfair Display', serif; font-size: 34px; color: var(--lp-accent); line-height: 1; }

/* Factual trust row (used when there are no reviews) */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.trust li { font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.45; color: var(--lp-text); border-top: 3px solid var(--lp-cta); padding-top: 12px; }
.trust b { display: block; font-size: 15px; color: var(--lp-ink); margin-bottom: 2px; }
.author { display: flex; gap: 18px; align-items: flex-start; margin-top: 34px; padding: 22px 24px; background: var(--lp-bg); border-radius: 10px; border: 1px solid var(--lp-line); max-width: 820px; }
.author-mark { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--lp-dark); color: var(--lp-accent-2); font-family: 'Playfair Display', serif; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.author p { font-family: 'Source Serif 4', serif; font-size: 16.5px; line-height: 1.6; color: var(--lp-prose); margin: 0; }

/* What's inside: grouped parts */
.parts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.part { background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; }
.part-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.part-head img { width: 76px; height: 76px; border-radius: 6px; flex: none; box-shadow: 0 6px 14px rgba(var(--lp-shadow-rgb),.18); }
.part-head h3 { font-family: 'Playfair Display', serif; font-size: 21px; margin: 0 0 2px; color: var(--lp-ink); }
.part-head .meta { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--lp-muted); }
.guides { list-style: none; margin: 0 0 16px; padding: 0; }
.guides li { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--lp-line); }
.guides li span { font-family: 'Source Serif 4', serif; font-size: 15.5px; line-height: 1.35; color: var(--lp-prose); padding: 10px 0; }
.guides a { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--lp-accent); text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.guides a:hover { text-decoration: underline; }
.part .btn { margin-top: auto; align-self: flex-start; }
.every { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--lp-text); margin-top: 26px; line-height: 1.6; max-width: 820px; }
.every b { color: var(--lp-ink); }

/* Free strip: "diagnose it first" */
.free-strip { background: var(--lp-band); color: #fff; padding: 56px 0; }
.free-strip h2 { font-family: 'Playfair Display', serif; font-size: clamp(24px, 3.2vw, 32px); margin: 0 0 8px; color: #fff; }
.free-strip .sub { font-family: 'Source Serif 4', serif; font-size: 17px; color: rgba(255,255,255,.88); margin: 0 0 24px; max-width: 680px; }
.free-strip .sec-eyebrow { color: rgba(255,255,255,.8); }
.answers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.answers a { display: block; height: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 14px 16px; color: #fff; text-decoration: none; transition: background .15s; }
.answers a:hover { background: rgba(255,255,255,.16); }
.answers .k { display: block; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.92); margin-bottom: 4px; }
.answers .n { font-family: 'Source Serif 4', serif; font-size: 16px; line-height: 1.35; }

/* Offer stack */
.stack { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; margin-top: 30px; align-items: stretch; }
.offer { position: relative; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; }
.offer.featured { border: 2px solid var(--lp-cta); box-shadow: 0 18px 40px rgba(var(--lp-shadow-rgb),.14); }
.offer .tag { position: absolute; top: -12px; left: 22px; background: var(--lp-cta); color: var(--lp-cta-ink); font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; }
.offer-top { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.offer-top img { width: 104px; height: 104px; border-radius: 8px; flex: none; }
.offer h3 { font-family: 'Playfair Display', serif; font-size: 24px; margin: 0 0 4px; color: var(--lp-ink); }
.offer .spec { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--lp-muted); }
.price { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; color: var(--lp-ink); line-height: 1; margin: 6px 0 6px; }
.anchor { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--lp-text); margin: 0 0 16px; line-height: 1.5; }
.anchor s { color: var(--lp-muted); }
.offer ul { list-style: none; margin: 0 0 20px; padding: 0; }
.offer li { font-family: 'Source Serif 4', serif; font-size: 15.5px; line-height: 1.45; color: var(--lp-prose); padding: 5px 0 5px 24px; position: relative; }
.offer li::before { content: '✓'; position: absolute; left: 0; color: var(--lp-accent); font-family: 'Inter', sans-serif; font-weight: 700; }
.offer .btn { margin-top: auto; }

/* Smaller options under the stack */
.smaller { margin-top: 40px; }
.smaller h3 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; color: var(--lp-ink); margin: 0 0 14px; }
.kits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.kit { display: flex; gap: 12px; align-items: center; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 10px; padding: 12px; text-decoration: none; color: var(--lp-ink); transition: border-color .15s; min-height: 44px; }
.kit:hover { border-color: var(--lp-cta); }
.kit img { width: 56px; height: 56px; border-radius: 5px; flex: none; }
.kit b { display: block; font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.3; }
.kit span { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--lp-muted); }
.note { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--lp-text); margin-top: 16px; line-height: 1.55; }
.note a { color: var(--lp-accent); font-weight: 600; }

/* Related tools / cross-links */
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.rel { display: block; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 12px; padding: 20px 22px; text-decoration: none; color: var(--lp-ink); transition: border-color .15s; }
.rel:hover { border-color: var(--lp-cta); }
.rel .k { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--lp-accent); }
.rel h3 { font-family: 'Playfair Display', serif; font-size: 20px; margin: 4px 0 6px; }
.rel p { font-family: 'Source Serif 4', serif; font-size: 15.5px; line-height: 1.5; color: var(--lp-text); margin: 0 0 8px; }
.rel .go { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: var(--lp-accent); }
a.go { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }

/* Guide rows with a free companion link ("Free flowchart") next to the $ link */
.guides .links { display: flex; gap: 14px; align-items: center; flex: none; }
.guides a.free-link { color: var(--lp-muted); font-weight: 500; }

/* Real product images (PDF pages, app screenshots) */
.figure { margin: 0; }
.figure img { width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid var(--lp-line); box-shadow: 0 18px 40px rgba(var(--lp-shadow-rgb),.14); background: #fff; }
.figure figcaption { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--lp-muted); margin-top: 10px; line-height: 1.45; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-top: 30px; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }

/* Compact grouped list (contents of a library, features of an app) */
.contents { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.contents .col { background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 12px; padding: 22px; }
.contents h3 { font-family: 'Playfair Display', serif; font-size: 21px; margin: 0 0 4px; color: var(--lp-ink); }
.contents h4 { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--lp-accent); margin: 18px 0 6px; }
.contents ol { margin: 0; padding: 0 0 0 26px; }
.contents li { font-family: 'Source Serif 4', serif; font-size: 15.5px; line-height: 1.4; color: var(--lp-prose); padding: 3px 0; }
.contents li::marker { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--lp-muted); }

/* App feature screenshots: phone screens in a row, each with its caption */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; margin-top: 30px; }
.shot { margin: 0; width: 100%; max-width: 280px; justify-self: center; }
.shot img { width: 100%; height: auto; display: block; }
.shot.screen img { border-radius: 22px; border: 6px solid var(--lp-dark); box-shadow: 0 18px 40px rgba(var(--lp-shadow-rgb),.22); background: var(--lp-dark); }
.shot h3 { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600; color: var(--lp-ink); margin: 16px 0 6px; }
.shot p { font-family: 'Source Serif 4', serif; font-size: 15.5px; line-height: 1.5; color: var(--lp-text); margin: 0; }
.hero-cover.phone { max-width: 300px; }
.hero-cover.phone img { border-radius: 26px; border: 7px solid #000; box-shadow: 0 30px 60px rgba(0,0,0,.45); }

/* Plan comparison (free tier vs paid) */
.plan { width: 100%; max-width: 720px; border-collapse: collapse; margin-top: 26px; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 12px; overflow: hidden; font-family: 'Inter', sans-serif; font-size: 15px; }
.plan th, .plan td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--lp-line); color: var(--lp-text); }
.plan th { font-weight: 600; color: var(--lp-ink); background: var(--lp-bg); }
.plan td:not(:first-child), .plan th:not(:first-child) { text-align: center; width: 22%; }
.plan tr:last-child td { border-bottom: 0; font-weight: 600; color: var(--lp-ink); }
.plan .pro { background: rgba(var(--lp-shadow-rgb),.04); }

/* Single-plan offer (apps) */
.offer.solo { max-width: 620px; }
.stack.even { grid-template-columns: 1fr 1fr; }
.offer .cta-row { margin-top: auto; }

/* Reader labels: audience and heat level (adult fiction) */
.labels { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.label { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 12px; border-radius: 999px; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .03em; border: 1px solid currentColor; }
.lp-hero .label { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.lp-hero .label.heat { color: var(--lp-hl); border-color: var(--lp-hl); }
.bk .labels { margin: 6px 0 8px; gap: 6px; }
.bk .label { font-size: 11px; min-height: 22px; padding: 2px 9px; color: var(--lp-accent); }
.shelf.four { grid-template-columns: repeat(4, 1fr); }
.shelf.three { grid-template-columns: repeat(3, 1fr); max-width: 760px; }

/* Reviews (only ever rendered from reviews/reviews.json, word for word) */
.rating { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; color: var(--lp-ink); margin: 0 0 18px; }
.rating .stars { color: #C8901E; letter-spacing: 2px; margin-right: 6px; }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 10px; }
.review { margin: 0; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 12px; padding: 22px 24px; display: flex; flex-direction: column; }
.review .stars { color: #C8901E; letter-spacing: 2px; font-size: 15px; }
.review h3 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; color: var(--lp-ink); margin: 6px 0 8px; }
.review blockquote { margin: 0 0 14px; font-family: 'Source Serif 4', serif; font-size: 16px; line-height: 1.6; color: var(--lp-prose); }
.review figcaption { margin-top: auto; font-family: 'Inter', sans-serif; font-size: 13px; color: var(--lp-muted); }
.review figcaption b { color: var(--lp-ink); }

/* Puzzle product card: repeatable, one per title (see the template comment in puzzle-books.html) */
.pz-list { display: grid; gap: 22px; margin-top: 28px; }
.pz-card { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 14px; padding: 24px; }
.pz-card img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 12px 28px rgba(var(--lp-shadow-rgb),.2); }
.pz-card .fmt { display: inline-block; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-accent); margin-bottom: 6px; }
.pz-card h3 { font-family: 'Playfair Display', serif; font-size: 26px; line-height: 1.2; margin: 0 0 8px; color: var(--lp-ink); }
.pz-card p { font-family: 'Source Serif 4', serif; font-size: 18px; line-height: 1.6; color: var(--lp-prose); margin: 0 0 12px; }
.pz-card ul { margin: 0 0 16px; padding-left: 20px; font-family: 'Source Serif 4', serif; font-size: 17px; line-height: 1.55; color: var(--lp-text); }
.pz-card .pz-price { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--lp-ink); margin: 0 12px 0 0; }
.pz-card .pz-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

/* Placeholder that must never ship visibly: see LANDING-PAGES-TODO.md */
.todo-slot { display: flex; align-items: center; justify-content: center; background: var(--lp-dark-2); color: rgba(255,255,255,.7); font-family: 'Inter', sans-serif; font-size: 13px; border-radius: 8px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .shelf { grid-template-columns: repeat(3, 1fr); }
  .shelf.four { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .answers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-cover { max-width: 240px; order: -1; }
  .hero-cover.square { max-width: 260px; }
  .lp-hero { padding: 32px 0 44px; }
  .lead { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; }
  .shelf { grid-template-columns: repeat(2, 1fr); gap: 30px 14px; }
  .shelf.four, .shelf.three { grid-template-columns: repeat(2, 1fr); }
  section.lp { padding: 48px 0; }
  .sticky { display: flex; }
  .parts, .stack, .stack.even, .related, .split, .split.wide-left, .contents { grid-template-columns: 1fr; }
  .split { gap: 26px; }
  .reviews { grid-template-columns: 1fr; }
  .pz-card { grid-template-columns: 1fr; padding: 20px; }
  .pz-card img { max-width: 220px; }
  .guides .links { gap: 10px; }
  .stack { gap: 26px; }
  .answers { grid-template-columns: 1fr; }
  .kits { grid-template-columns: 1fr; }
  .offer { padding: 22px 18px; }
  .offer-top img { width: 84px; height: 84px; }
  .price { font-size: 38px; }
  .author { flex-direction: column; gap: 12px; }
}

/* ---- Merch strips (Ferryman's Threads) on series pages and /merch ---- */
.merch-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin-top:24px}
@media (max-width:1000px){.merch-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.merch-card{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:var(--lp-ink);background:var(--lp-surface,#fff);border:1px solid var(--lp-line);border-radius:12px;overflow:hidden;transition:transform .15s ease,box-shadow .15s ease}
.merch-card img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;background:var(--lp-line)}
.merch-card .mt{font-weight:600;font-size:15px;line-height:1.3;padding:4px 12px 0}
.merch-card .mp{font-size:13px;color:var(--lp-muted);padding:0 12px 12px}
.merch-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(var(--lp-shadow-rgb),.12)}
.merch-card:focus-visible{outline:2px solid var(--lp-accent);outline-offset:2px}
@media (max-width:600px){.merch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.merch-card .mt{font-size:14px}}

/* 2026-10-23: Store & Pricing link beside the back link in the landing-page header */
.lp-links { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 0 18px; }
@media (max-width: 480px) { .lp-links { gap: 0 12px; } .lp-links .lp-back { font-size: 12px; } }
/* buy-line under library/buy bands */
.buy-line { font-family: 'Inter', sans-serif; font-size: 12.5px; line-height: 1.55; color: inherit; opacity: .8; margin: 10px 0 0; }

/* contrast */
body.lp-coley .sec-eyebrow, body.lp-coley .pull, body.lp-coley .bk .num, body.lp-coley .notify-link, body.lp-coley .person .age { color: #116560 !important; }
