/* ============================================================================
   PAL Topic Guides — shared stylesheet
   Enqueued by pal_guide_assets() in functions.php on is_singular('guide').

   Every rule is scoped under .pal-guide (the body class set by single-guide.php)
   so nothing collides with the theme's global classes (.container, .nav, etc.).
   This is the consolidated union of the five validated campaign prototypes in
   07-Prototypes/ — the prototypes are the design spec; this is their production
   form. Hero treatment values are the campaign-validated ones (see CLAUDE.md
   "Topic Guides & Campaign Content" and PAL-Design-System.md).

   Added 2026-05-13 for the London Buyer's Regret campaign.
   ========================================================================== */

.pal-guide, .pal-guide *, .pal-guide *::before, .pal-guide *::after { box-sizing: border-box; }
body.pal-guide {
  font-family: 'Inter', system-ui, sans-serif;
  background: #f8f6f1;
  color: #2c3e50;
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.pal-guide__content { display: block; }

/* ── Hero (campaign-validated treatment: brightness 0.75, no gradient overlay,
      frosted-glass content panel) ── */
.pal-guide .hero { position: relative; min-height: 75vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 6rem 2rem 6rem; overflow: hidden; }
.pal-guide .hero--tall { min-height: 80vh; }
.pal-guide .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.75) saturate(1.1); z-index: 0; }
.pal-guide .hero-overlay { position: absolute; inset: 0; background: none; z-index: 1; }
.pal-guide .hero-content {
  position: relative; z-index: 2; max-width: 900px; margin: 0 auto; width: 100%;
  background: rgba(26,35,50,0.4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 2.5rem 3rem;
}
.pal-guide .hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.85rem; border-radius: 9999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(212,165,116,0.3); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #d4a574; margin-bottom: 1.5rem; }
.pal-guide .hero-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #d4a574; }
.pal-guide .hero h1 { font-family: 'Spectral', Georgia, serif; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; color: #fff; margin: 0 0 1.5rem; max-width: 850px; }
.pal-guide .hero h1 em { font-style: italic; color: #d4a574; }
.pal-guide .hero-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.pal-guide .hero-byline strong { color: #fff; font-weight: 500; }
.pal-guide .hero-byline .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.pal-guide .hero-update { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; letter-spacing: 0.05em; color: rgba(255,255,255,0.6); }
.pal-guide .hero-update::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2d5f3f; }

/* ── Lede card ── */
.pal-guide .lede { position: relative; max-width: 900px; margin: -3rem auto 0; background: #fff; border-radius: 18px; padding: 3rem 3rem 2.5rem; box-shadow: 0 4px 8px rgba(26,35,50,0.03), 0 16px 40px rgba(26,35,50,0.06); z-index: 5; }
.pal-guide .lede .big-stat { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.pal-guide .lede .big-stat .number { font-family: 'JetBrains Mono', monospace; font-size: clamp(3rem, 7vw, 5rem); font-weight: 600; letter-spacing: -0.04em; color: #c44536; line-height: 1; }
.pal-guide .lede .big-stat .label { font-family: 'Spectral', Georgia, serif; font-size: 1.1rem; font-weight: 500; color: #1a2332; max-width: 360px; line-height: 1.4; }
.pal-guide .lede .big-stat .multiplier { font-family: 'JetBrains Mono', monospace; font-size: 1.1rem; font-weight: 600; color: #4a7c8c; background: rgba(74,124,140,0.08); padding: 0.3rem 0.7rem; border-radius: 8px; letter-spacing: -0.02em; }
.pal-guide .lede p { font-family: 'Inter', sans-serif; font-size: 1.05rem; line-height: 1.75; color: #2c3e50; margin: 0 0 1rem; }
.pal-guide .lede p:last-child { margin-bottom: 0; }
.pal-guide .lede p strong { color: #1a2332; font-weight: 600; }
.pal-guide .lede .source { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(26,35,50,0.08); font-size: 0.82rem; color: #95a5a6; font-style: italic; }

/* ── Container ── */
.pal-guide .container { max-width: 900px; margin: 0 auto; padding: 0 2rem; }

/* ── Intro / methodology callout ── */
.pal-guide .intro-block { margin: 4rem auto; padding: 2rem 2.25rem; background: #fff; border-left: 3px solid #4a7c8c; border-radius: 12px; max-width: 900px; }
.pal-guide .intro-block.is-green { border-left-color: #2d5f3f; }
.pal-guide .intro-block .tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #4a7c8c; margin-bottom: 0.5rem; }
.pal-guide .intro-block.is-green .tag { color: #2d5f3f; }
.pal-guide .intro-block h3 { font-family: 'Spectral', Georgia, serif; font-size: 1.3rem; font-weight: 600; color: #1a2332; margin: 0 0 0.75rem; letter-spacing: -0.02em; }
.pal-guide .intro-block p { font-size: 0.98rem; line-height: 1.75; color: #2c3e50; margin: 0 0 0.85rem; }
.pal-guide .intro-block p:last-child { margin-bottom: 0; }
.pal-guide .intro-block p strong { color: #1a2332; font-weight: 600; }
.pal-guide .key { font-family: 'JetBrains Mono', monospace; color: #1a2332; font-weight: 600; font-size: 0.92em; background: rgba(45,95,63,0.06); padding: 0.05em 0.45em; border-radius: 4px; }

/* ── Chapter / regret sections (oversized chapter numbers) ── */
.pal-guide .chapter, .pal-guide .regret { position: relative; padding: 5rem 0 4rem; border-top: 1px solid rgba(26,35,50,0.06); }
.pal-guide .chapter:first-of-type, .pal-guide .regret:first-of-type { border-top: none; }
.pal-guide .chapter-number, .pal-guide .regret-number { font-family: 'Spectral', Georgia, serif; font-size: clamp(6rem, 14vw, 10rem); font-weight: 600; line-height: 0.85; letter-spacing: -0.05em; color: rgba(26,35,50,0.06); position: absolute; top: 3rem; left: -1rem; pointer-events: none; z-index: 0; }
.pal-guide .chapter-inner, .pal-guide .regret-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.pal-guide .chapter-eyebrow, .pal-guide .regret-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #2d5f3f; margin-bottom: 1rem; }
.pal-guide .chapter h2, .pal-guide .regret h2 { font-family: 'Spectral', Georgia, serif; font-size: clamp(1.75rem, 3.5vw, 2.4rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; color: #1a2332; margin: 0 0 1.5rem; }
.pal-guide .chapter-lead, .pal-guide .regret-stat { font-family: 'Spectral', Georgia, serif; font-style: italic; font-size: 1.15rem; color: #4a7c8c; margin: 0 0 1.5rem; line-height: 1.5; }
.pal-guide .chapter-lead .pct, .pal-guide .regret-stat .pct { font-family: 'JetBrains Mono', monospace; font-style: normal; font-weight: 600; color: #c44536; }
.pal-guide .chapter p, .pal-guide .regret p { font-family: 'Inter', sans-serif; font-size: 1.02rem; line-height: 1.8; color: #2c3e50; margin: 0 0 1.25rem; }
.pal-guide .chapter p strong, .pal-guide .regret p strong { color: #1a2332; font-weight: 600; }

/* ── Practical / threshold / question-list callouts ── */
.pal-guide .practical-callout { margin: 2rem 0 2.5rem; padding: 1.5rem 1.75rem; background: #f8f6f1; border-radius: 14px; border: 1px solid rgba(45,95,63,0.12); }
.pal-guide .practical-callout .label { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #2d5f3f; margin-bottom: 0.5rem; }
.pal-guide .practical-callout p { font-size: 0.95rem; line-height: 1.7; margin: 0; color: #2c3e50; }
.pal-guide .threshold-callout { margin: 2rem 0; padding: 1.5rem 1.75rem; background: #f8f6f1; border-radius: 14px; border-left: 3px solid #c44536; }
.pal-guide .threshold-callout .label { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #c44536; margin-bottom: 0.5rem; }
.pal-guide .threshold-callout p { font-size: 0.95rem; line-height: 1.7; margin: 0; }
.pal-guide .question-list { margin: 1.5rem 0; padding: 1.5rem 1.75rem; background: #fff; border-radius: 14px; border: 1px solid rgba(45,95,63,0.18); }
.pal-guide .question-list .label { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #2d5f3f; margin-bottom: 0.75rem; }
.pal-guide .question-list ul { list-style: none; padding: 0; margin: 0; }
.pal-guide .question-list ul li { display: flex; gap: 0.75rem; padding: 0.65rem 0; font-size: 0.95rem; line-height: 1.55; border-bottom: 1px solid rgba(26,35,50,0.06); }
.pal-guide .question-list ul li:last-child { border-bottom: none; }
.pal-guide .question-list ul li::before { content: '\2192'; color: #2d5f3f; font-weight: 600; flex-shrink: 0; }

/* ── Inline links in body prose ── */
.pal-guide .chapter a.inline-link, .pal-guide .appendix a.inline-link, .pal-guide .ombud-block a.inline-link {
  color: #2d5f3f; text-decoration: none; border-bottom: 1px solid rgba(45,95,63,0.3); font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pal-guide .chapter a.inline-link:hover, .pal-guide .appendix a.inline-link:hover, .pal-guide .ombud-block a.inline-link:hover { color: #1a2332; border-bottom-color: #2d5f3f; }

/* ── Deeper-read card (pillar) ── */
.pal-guide .deeper-read { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; padding: 1.5rem 1.75rem; background: #fff; border: 1px solid rgba(26,35,50,0.08); border-radius: 14px; text-decoration: none; color: inherit; transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, border-color 0.3s ease; }
.pal-guide .deeper-read:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(26,35,50,0.08), 0 24px 48px rgba(26,35,50,0.1); border-color: #2d5f3f; }
.pal-guide .deeper-read .info { flex: 1; }
.pal-guide .deeper-read .label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #2d5f3f; margin-bottom: 0.35rem; }
.pal-guide .deeper-read .title { font-family: 'Spectral', Georgia, serif; font-size: 1.1rem; font-weight: 600; color: #1a2332; margin: 0 0 0.35rem; letter-spacing: -0.01em; }
.pal-guide .deeper-read .desc { font-size: 0.88rem; color: #6c757d; margin: 0; line-height: 1.5; }
.pal-guide .deeper-read .arrow { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #f8f6f1; display: flex; align-items: center; justify-content: center; font-weight: 500; color: #2d5f3f; font-size: 1.1rem; transition: background 0.3s ease, color 0.3s ease; }
.pal-guide .deeper-read:hover .arrow { background: #2d5f3f; color: #fff; }

/* ── Preview list (numbered) ── */
.pal-guide .preview-list { max-width: 720px; margin: 4rem auto; }
.pal-guide .preview-list .eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #2d5f3f; margin-bottom: 1rem; }
.pal-guide .preview-list h2 { font-family: 'Spectral', Georgia, serif; font-size: clamp(1.75rem, 3.5vw, 2.4rem); font-weight: 600; color: #1a2332; margin: 0 0 0.75rem; letter-spacing: -0.025em; }
.pal-guide .preview-list > p { font-size: 1.02rem; line-height: 1.7; color: #6c757d; margin: 0 0 2rem; }
.pal-guide .preview-list ol { list-style: none; counter-reset: pli; padding: 0; margin: 0; }
.pal-guide .preview-list ol li { counter-increment: pli; display: flex; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(26,35,50,0.08); font-size: 1rem; line-height: 1.7; color: #2c3e50; }
.pal-guide .preview-list ol li:last-child { border-bottom: none; }
.pal-guide .preview-list ol li::before { content: counter(pli, decimal-leading-zero); font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 0.95rem; color: #4a7c8c; flex-shrink: 0; padding-top: 0.1rem; }
.pal-guide .preview-list ol li strong { color: #1a2332; font-weight: 600; }

/* ── Dark editorial centrepiece (reform / fleecehold callouts) ── */
.pal-guide .reform-callout, .pal-guide .fleecehold-callout { position: relative; max-width: 900px; margin: 5rem auto; padding: 3rem 3rem; background: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%); border-radius: 18px; color: #fff; overflow: hidden; }
.pal-guide .reform-callout::before { content: ''; position: absolute; top: -50%; right: -20%; width: 70%; height: 200%; background: radial-gradient(ellipse at center, rgba(212,165,116,0.15) 0%, transparent 60%); pointer-events: none; }
.pal-guide .reform-callout::after { content: ''; position: absolute; bottom: -40%; left: -10%; width: 60%; height: 150%; background: radial-gradient(ellipse at center, rgba(45,95,63,0.2) 0%, transparent 65%); pointer-events: none; }
.pal-guide .fleecehold-callout::before { content: ''; position: absolute; top: -50%; right: -20%; width: 70%; height: 200%; background: radial-gradient(ellipse at center, rgba(196,69,54,0.18) 0%, transparent 60%); pointer-events: none; }
.pal-guide .fleecehold-callout::after { content: ''; position: absolute; bottom: -40%; left: -10%; width: 60%; height: 150%; background: radial-gradient(ellipse at center, rgba(212,165,116,0.15) 0%, transparent 65%); pointer-events: none; }
.pal-guide .reform-callout > *, .pal-guide .fleecehold-callout > * { position: relative; z-index: 1; }
.pal-guide .reform-callout .eyebrow, .pal-guide .fleecehold-callout .eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #d4a574; margin-bottom: 1rem; }
.pal-guide .reform-callout h2, .pal-guide .fleecehold-callout h2 { font-family: 'Spectral', Georgia, serif; font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 600; color: #fff; letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 1.5rem; }
.pal-guide .reform-callout h2 em, .pal-guide .fleecehold-callout h2 em { font-style: italic; color: #d4a574; }
.pal-guide .reform-callout p, .pal-guide .fleecehold-callout p { font-size: 1.02rem; line-height: 1.8; color: rgba(255,255,255,0.85); margin: 0 0 1.1rem; }
.pal-guide .reform-callout p:last-of-type, .pal-guide .fleecehold-callout p:last-of-type { margin-bottom: 1.75rem; }
.pal-guide .reform-callout p strong, .pal-guide .fleecehold-callout p strong { color: #fff; font-weight: 600; }
.pal-guide .key-dates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.pal-guide .key-date .when { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; font-weight: 600; color: #d4a574; letter-spacing: 0.05em; margin-bottom: 0.3rem; }
.pal-guide .key-date .what { font-size: 0.88rem; line-height: 1.5; color: rgba(255,255,255,0.7); }

/* ── Checkpoint preview cards (new-build) ── */
.pal-guide .checkpoint-preview { margin: 4rem auto; max-width: 900px; padding: 0 2rem; }
.pal-guide .checkpoint-preview .eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #2d5f3f; margin-bottom: 1rem; }
.pal-guide .checkpoint-preview h2 { font-family: 'Spectral', Georgia, serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; color: #1a2332; margin: 0 0 0.5rem; letter-spacing: -0.025em; }
.pal-guide .checkpoint-preview .lead { font-size: 1rem; color: #6c757d; margin: 0 0 1.75rem; max-width: 720px; line-height: 1.65; }
.pal-guide .checkpoint-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pal-guide .checkpoint-card { background: #fff; border-radius: 14px; padding: 1.75rem 1.5rem; border: 1px solid rgba(26,35,50,0.08); transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, border-color 0.3s ease; }
.pal-guide .checkpoint-card:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(26,35,50,0.06); border-color: #2d5f3f; }
.pal-guide .checkpoint-card .num { font-family: 'JetBrains Mono', monospace; font-size: 1.1rem; font-weight: 600; color: #c44536; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.pal-guide .checkpoint-card .when { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #95a5a6; margin-bottom: 0.5rem; }
.pal-guide .checkpoint-card .title { font-family: 'Spectral', Georgia, serif; font-size: 1.15rem; font-weight: 600; color: #1a2332; margin: 0 0 0.75rem; letter-spacing: -0.01em; line-height: 1.3; }
.pal-guide .checkpoint-card .desc { font-size: 0.88rem; color: #6c757d; line-height: 1.55; margin: 0; }

/* ── Ombudsman stat+body block (new-build) ── */
.pal-guide .ombud-block { max-width: 900px; margin: 4rem auto; padding: 2.5rem 2.25rem; background: #fff; border: 1px solid rgba(26,35,50,0.12); border-radius: 14px; box-shadow: 0 2px 4px rgba(26,35,50,0.03), 0 8px 20px rgba(26,35,50,0.05); display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: center; }
.pal-guide .ombud-block .stat-side { padding-right: 2rem; border-right: 1px solid rgba(26,35,50,0.08); }
.pal-guide .ombud-block .stat-side .num { font-family: 'JetBrains Mono', monospace; font-size: 3rem; font-weight: 600; letter-spacing: -0.03em; color: #2d5f3f; line-height: 1; margin-bottom: 0.5rem; }
.pal-guide .ombud-block .stat-side .label { font-size: 0.78rem; color: #6c757d; line-height: 1.5; }
.pal-guide .ombud-block .stat-side .label strong { color: #1a2332; font-weight: 600; }
.pal-guide .ombud-block .body-side .tag { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #2d5f3f; margin-bottom: 0.5rem; }
.pal-guide .ombud-block .body-side h3 { font-family: 'Spectral', Georgia, serif; font-size: 1.4rem; font-weight: 600; color: #1a2332; margin: 0 0 0.75rem; letter-spacing: -0.02em; }
.pal-guide .ombud-block .body-side p { font-size: 0.98rem; line-height: 1.7; color: #2c3e50; margin: 0 0 0.85rem; }
.pal-guide .ombud-block .body-side p:last-child { margin-bottom: 0; }
.pal-guide .ombud-block .body-side p strong { color: #1a2332; font-weight: 600; }

/* ── Limits block (pillar) ── */
.pal-guide .limits { margin: 5rem auto; max-width: 720px; padding: 0 0 4rem; border-bottom: 1px solid rgba(26,35,50,0.08); }
.pal-guide .limits .tag { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #4a7c8c; margin-bottom: 1rem; }
.pal-guide .limits h2 { font-family: 'Spectral', Georgia, serif; font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 600; color: #1a2332; margin: 0 0 1.5rem; letter-spacing: -0.025em; }
.pal-guide .limits p { font-size: 1.02rem; line-height: 1.8; color: #2c3e50; margin: 0 0 1.25rem; }

/* ── Numbered checklist ── */
.pal-guide .checklist { max-width: 720px; margin: 5rem auto; }
.pal-guide .checklist-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #2d5f3f; margin-bottom: 1rem; }
.pal-guide .checklist h2 { font-family: 'Spectral', Georgia, serif; font-size: clamp(1.75rem, 3.5vw, 2.4rem); font-weight: 600; color: #1a2332; margin: 0 0 0.75rem; letter-spacing: -0.025em; }
.pal-guide .checklist > p { font-size: 1.02rem; line-height: 1.7; color: #6c757d; margin: 0 0 2.5rem; }
.pal-guide .checklist-steps { display: flex; flex-direction: column; gap: 0.6rem; }
.pal-guide .checklist-step { display: flex; gap: 1.25rem; padding: 1.15rem 1.5rem; background: #fff; border-radius: 12px; border: 1px solid rgba(26,35,50,0.06); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.pal-guide .checklist-step:hover { border-color: rgba(45,95,63,0.3); box-shadow: 0 4px 12px rgba(26,35,50,0.04); }
.pal-guide .checklist-step .num { flex-shrink: 0; width: 32px; height: 32px; background: #2d5f3f; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 0.88rem; }
.pal-guide .checklist-step .body { flex: 1; font-size: 0.96rem; line-height: 1.6; color: #2c3e50; }
.pal-guide .checklist-step .body strong { color: #1a2332; font-weight: 600; }

/* ── Cost preview table (cost guide) ── */
.pal-guide .cost-preview { margin: 4rem auto 5rem; max-width: 900px; padding: 0 2rem; }
.pal-guide .cost-preview .eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #c44536; margin-bottom: 1rem; }
.pal-guide .cost-preview h2 { font-family: 'Spectral', Georgia, serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; color: #1a2332; margin: 0 0 0.5rem; letter-spacing: -0.025em; }
.pal-guide .cost-preview .lead { font-size: 1rem; color: #6c757d; margin: 0 0 1.75rem; max-width: 720px; line-height: 1.65; }
.pal-guide .cost-table-wrap { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid rgba(26,35,50,0.18); box-shadow: 0 2px 4px rgba(26,35,50,0.03), 0 8px 20px rgba(26,35,50,0.06); }
.pal-guide .cost-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.pal-guide .cost-table thead th { background: #1a2332; padding: 1rem 1.25rem; text-align: left; font-family: 'Inter', sans-serif; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.9); }
.pal-guide .cost-table tbody td { padding: 1rem 1.25rem; border-bottom: 1px solid rgba(26,35,50,0.08); color: #2c3e50; }
.pal-guide .cost-table tbody tr:last-child td { border-bottom: none; }
.pal-guide .cost-table tbody tr.total td { background: #f8f6f1; color: #1a2332; font-weight: 600; border-top: 2px solid #d4a574; padding-top: 1.15rem; padding-bottom: 1.15rem; }
.pal-guide .cost-table .figure { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: #1a2332; text-align: right; }
.pal-guide .cost-table tbody tr.total .figure { color: #c44536; }
.pal-guide .cost-table .source-cell { font-size: 0.82rem; color: #95a5a6; font-style: italic; }

/* ── SDLT worked-example cards (cost guide) ── */
.pal-guide .worked-examples { margin: 2rem 0 1rem; }
.pal-guide .worked-examples .label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #c44536; margin-bottom: 0.85rem; }
.pal-guide .worked-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.pal-guide .worked-card { background: #fff; border-radius: 12px; padding: 1.25rem; border: 1px solid rgba(26,35,50,0.07); }
.pal-guide .worked-card .price { font-family: 'JetBrains Mono', monospace; font-size: 1.4rem; font-weight: 600; color: #1a2332; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.pal-guide .worked-card .scenario { font-size: 0.82rem; color: #6c757d; line-height: 1.4; margin-bottom: 0.85rem; }
.pal-guide .worked-card .sdlt-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #95a5a6; margin-bottom: 0.2rem; }
.pal-guide .worked-card .sdlt-value { font-family: 'JetBrains Mono', monospace; font-size: 1.6rem; font-weight: 600; color: #c44536; letter-spacing: -0.02em; }

/* ── Big data tables (borough + ranking) — fixed-height scroll panel ── */
.pal-guide .borough-section, .pal-guide .ranking-section { background: #fff; padding: 5rem 2rem; margin: 5rem 0; border-top: 1px solid rgba(26,35,50,0.06); border-bottom: 1px solid rgba(26,35,50,0.06); }
.pal-guide .ranking-section { padding-bottom: 3rem; margin-bottom: 2.5rem; }
.pal-guide .borough-inner, .pal-guide .ranking-inner { max-width: 1100px; margin: 0 auto; }
.pal-guide .borough-eyebrow, .pal-guide .ranking-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #2d5f3f; margin-bottom: 1rem; }
.pal-guide .borough-section h2, .pal-guide .ranking-section h2 { font-family: 'Spectral', Georgia, serif; font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 600; color: #1a2332; margin: 0 0 0.75rem; letter-spacing: -0.025em; }
.pal-guide .borough-section .lead, .pal-guide .ranking-section .lead { font-size: 1.02rem; line-height: 1.7; color: #6c757d; margin: 0 0 1.5rem; max-width: 720px; }
.pal-guide .borough-meta, .pal-guide .ranking-meta { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-bottom: 1.75rem; padding: 1.25rem 1.5rem; background: #f8f6f1; border-radius: 12px; font-size: 0.85rem; }
.pal-guide .borough-meta .item, .pal-guide .ranking-meta .item { display: flex; flex-direction: column; gap: 0.2rem; }
.pal-guide .borough-meta .item .key, .pal-guide .ranking-meta .item .key { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #95a5a6; }
.pal-guide .borough-meta .item .val, .pal-guide .ranking-meta .item .val { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: #1a2332; }
.pal-guide .borough-meta .item.dated, .pal-guide .ranking-meta .item.dated { margin-left: auto; }
.pal-guide .borough-meta .item.dated .val, .pal-guide .ranking-meta .item.dated .val { color: #2d5f3f; }
.pal-guide .borough-filters, .pal-guide .ranking-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.25rem; align-items: center; }
.pal-guide .borough-filters .filter-label, .pal-guide .ranking-filters .filter-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6c757d; margin-right: 0.5rem; }
.pal-guide .borough-filters button, .pal-guide .ranking-filters button { padding: 0.45rem 0.95rem; border-radius: 9999px; background: #fff; border: 1px solid rgba(26,35,50,0.12); font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 500; color: #1a2332; cursor: pointer; transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1); }
.pal-guide .borough-filters button:hover, .pal-guide .ranking-filters button:hover { border-color: #2d5f3f; }
.pal-guide .borough-filters button.active, .pal-guide .ranking-filters button.active { background: #2d5f3f; color: #fff; border-color: #2d5f3f; transform: scale(0.96); }
.pal-guide .borough-scroll-hint, .pal-guide .ranking-scroll-hint { font-size: 0.8rem; color: #95a5a6; margin: 0 0 1rem; font-style: italic; }
.pal-guide .borough-table-frame, .pal-guide .ranking-table-frame { position: relative; }
.pal-guide .borough-table-frame::after, .pal-guide .ranking-table-frame::after { content: ''; position: absolute; left: 1px; right: 1px; bottom: 1px; height: 56px; background: linear-gradient(to top, rgba(255,255,255,0.96), rgba(255,255,255,0)); pointer-events: none; border-radius: 0 0 14px 14px; transition: opacity 0.2s ease; }
.pal-guide .borough-table-frame.at-bottom::after, .pal-guide .ranking-table-frame.at-bottom::after { opacity: 0; }
.pal-guide .borough-table-wrap, .pal-guide .ranking-table-wrap { overflow: auto; max-height: 620px; border-radius: 14px; border: 1px solid rgba(26,35,50,0.08); background: #fff; }
.pal-guide .borough-table, .pal-guide .ranking-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.pal-guide .borough-table thead th, .pal-guide .ranking-table thead th { background: #1a2332; color: rgba(255,255,255,0.9); padding: 1rem 1.25rem; text-align: left; font-family: 'Inter', sans-serif; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; user-select: none; position: sticky; top: 0; transition: background 0.2s ease; }
.pal-guide .borough-table thead th:hover, .pal-guide .ranking-table thead th:hover { background: #2d3e50; }
.pal-guide .borough-table thead th.sortable::after, .pal-guide .ranking-table thead th.sortable::after { content: ' \21C5'; opacity: 0.4; font-size: 0.85em; }
.pal-guide .borough-table thead th.sort-asc::after, .pal-guide .ranking-table thead th.sort-asc::after { content: ' \2191'; opacity: 1; color: #d4a574; }
.pal-guide .borough-table thead th.sort-desc::after, .pal-guide .ranking-table thead th.sort-desc::after { content: ' \2193'; opacity: 1; color: #d4a574; }
.pal-guide .borough-table thead th:first-child, .pal-guide .ranking-table thead th:first-child { padding-left: 1.5rem; border-top-left-radius: 14px; }
.pal-guide .borough-table thead th:last-child, .pal-guide .ranking-table thead th:last-child { padding-right: 1.5rem; border-top-right-radius: 14px; }
.pal-guide .borough-table tbody td, .pal-guide .ranking-table tbody td { padding: 0.85rem 1.25rem; border-bottom: 1px solid rgba(26,35,50,0.05); vertical-align: middle; }
.pal-guide .ranking-table tbody td { padding: 0.8rem 1.25rem; }
.pal-guide .borough-table tbody td:first-child, .pal-guide .ranking-table tbody td:first-child { padding-left: 1.5rem; }
.pal-guide .borough-table tbody td:last-child, .pal-guide .ranking-table tbody td:last-child { padding-right: 1.5rem; }
.pal-guide .borough-table tbody tr:last-child td, .pal-guide .ranking-table tbody tr:last-child td { border-bottom: none; }
.pal-guide .borough-table tbody tr:hover, .pal-guide .ranking-table tbody tr:hover { background: rgba(45,95,63,0.03); }
.pal-guide .borough-table .rank, .pal-guide .ranking-table .rank { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: #95a5a6; font-size: 0.85rem; }
.pal-guide .borough-table .borough-name, .pal-guide .ranking-table .nb-name { font-family: 'Spectral', Georgia, serif; font-weight: 500; color: #1a2332; font-size: 1rem; letter-spacing: -0.01em; }
.pal-guide .ranking-table .borough { color: #6c757d; font-size: 0.88rem; }
.pal-guide .borough-table .zone-pill { display: inline-block; padding: 0.2rem 0.55rem; border-radius: 9999px; font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.pal-guide .borough-table .zone-pill.inner { background: rgba(74,124,140,0.12); color: #4a7c8c; }
.pal-guide .borough-table .zone-pill.outer { background: rgba(45,95,63,0.1); color: #2d5f3f; }
.pal-guide .ranking-table .zone-pill { display: inline-block; padding: 0.2rem 0.5rem; border-radius: 9999px; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 600; background: rgba(74,124,140,0.1); color: #4a7c8c; }
.pal-guide .borough-table .money { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: #1a2332; text-align: right; }
.pal-guide .borough-table .money.total { color: #c44536; }
.pal-guide .ranking-table .ha { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: #1a2332; text-align: right; }
.pal-guide .ranking-table .park { color: #6c757d; font-size: 0.86rem; }
.pal-guide .borough-table-footnote, .pal-guide .ranking-table-footnote { margin-top: 1rem; font-size: 0.82rem; color: #6c757d; line-height: 1.6; font-style: italic; padding: 0 0.25rem; }
/* Score cell with mini bar (greenest) */
.pal-guide .score-cell { min-width: 130px; }
.pal-guide .score-cell .score-row { display: flex; align-items: center; gap: 0.6rem; }
.pal-guide .score-cell .score-num { font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 0.95rem; color: #2d5f3f; min-width: 38px; }
.pal-guide .score-cell .score-track { flex: 1; height: 6px; background: rgba(45,95,63,0.1); border-radius: 9999px; overflow: hidden; }
.pal-guide .score-cell .score-fill { height: 100%; background: #2d5f3f; border-radius: 9999px; }
/* Score key / scale legend (greenest) */
.pal-guide .score-key { margin: 0 0 1.75rem; padding: 1.25rem 1.5rem; background: #f8f6f1; border-radius: 12px; border: 1px solid rgba(45,95,63,0.15); display: flex; align-items: center; gap: 1.75rem; }
.pal-guide .score-key .key-label { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #2d5f3f; flex-shrink: 0; max-width: 90px; line-height: 1.4; }
.pal-guide .score-key .key-scale { flex: 1; }
.pal-guide .score-key .key-track { position: relative; height: 10px; background: linear-gradient(to right, rgba(45,95,63,0.18), #2d5f3f); border-radius: 9999px; }
.pal-guide .score-key .key-midpoint { position: absolute; left: 50%; top: -5px; bottom: -5px; width: 2px; background: #1a2332; transform: translateX(-50%); }
.pal-guide .score-key .key-marks { display: flex; justify-content: space-between; margin-top: 0.5rem; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: #95a5a6; }
.pal-guide .score-key .key-marks .mid { color: #1a2332; font-weight: 600; }
.pal-guide .score-key .key-note { font-size: 0.85rem; color: #6c757d; line-height: 1.45; flex-shrink: 0; max-width: 210px; }

/* ── Pre-offer calculator pattern (cost guide) ── */
.pal-guide .calc-pattern { max-width: 720px; margin: 5rem auto; }
.pal-guide .calc-pattern .eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #c44536; margin-bottom: 1rem; }
.pal-guide .calc-pattern h2 { font-family: 'Spectral', Georgia, serif; font-size: clamp(1.75rem, 3.5vw, 2.4rem); font-weight: 600; color: #1a2332; margin: 0 0 0.75rem; letter-spacing: -0.025em; }
.pal-guide .calc-pattern > p { font-size: 1.02rem; line-height: 1.7; color: #6c757d; margin: 0 0 2rem; }
.pal-guide .calc-rows { background: #fff; border-radius: 14px; border: 1px solid rgba(26,35,50,0.08); padding: 0.5rem 1.5rem; }
.pal-guide .calc-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(26,35,50,0.06); }
.pal-guide .calc-row:last-child { border-bottom: none; }
.pal-guide .calc-row.total { background: #f8f6f1; margin: 0 -1.5rem; padding: 1.25rem 1.5rem; border-radius: 0 0 14px 14px; border-top: 2px solid rgba(26,35,50,0.08); border-bottom: none; }
.pal-guide .calc-row .label { display: flex; align-items: center; gap: 0.85rem; }
.pal-guide .calc-row .num { width: 26px; height: 26px; background: #f8f6f1; color: #4a7c8c; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 0.78rem; flex-shrink: 0; }
.pal-guide .calc-row.total .num { background: #c44536; color: #fff; }
.pal-guide .calc-row .text { font-size: 0.95rem; color: #2c3e50; }
.pal-guide .calc-row.total .text { color: #1a2332; font-weight: 600; }
.pal-guide .calc-row .value { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: #1a2332; font-size: 0.92rem; }
.pal-guide .calc-row.total .value { color: #c44536; font-size: 1rem; }

/* ── Five honest reads (greenest) ── */
.pal-guide .reads { max-width: 760px; margin: 2.5rem auto 3rem; }
.pal-guide .reads-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #2d5f3f; margin-bottom: 1rem; }
.pal-guide .reads h2 { font-family: 'Spectral', Georgia, serif; font-size: clamp(1.75rem, 3.5vw, 2.4rem); font-weight: 600; color: #1a2332; margin: 0 0 0.75rem; letter-spacing: -0.025em; }
.pal-guide .reads > p.intro { font-size: 1.02rem; line-height: 1.7; color: #6c757d; margin: 0 0 2rem; }
.pal-guide .read-item { display: flex; gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid rgba(26,35,50,0.08); }
.pal-guide .read-item:last-child { border-bottom: none; }
.pal-guide .read-item .marker { font-family: 'Spectral', Georgia, serif; font-size: 2.5rem; font-weight: 600; line-height: 1; color: rgba(45,95,63,0.18); flex-shrink: 0; width: 2.5rem; }
.pal-guide .read-item .read-body h3 { font-family: 'Spectral', Georgia, serif; font-size: 1.2rem; font-weight: 600; color: #1a2332; margin: 0 0 0.5rem; letter-spacing: -0.015em; }
.pal-guide .read-item .read-body p { font-size: 0.98rem; line-height: 1.7; color: #2c3e50; margin: 0; }
.pal-guide .read-item .read-body p strong { color: #1a2332; font-weight: 600; }

/* ── Appendix blocks + scenario cards + resource cards ── */
.pal-guide .appendix { margin: 3rem auto; max-width: 720px; padding: 0 0 2.5rem; border-bottom: 1px solid rgba(26,35,50,0.08); }
.pal-guide .appendix.no-border { border-bottom: none; padding-bottom: 0; }
.pal-guide .appendix .tag { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #4a7c8c; margin-bottom: 1rem; }
.pal-guide .appendix h2 { font-family: 'Spectral', Georgia, serif; font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 600; color: #1a2332; margin: 0 0 1.5rem; letter-spacing: -0.025em; }
.pal-guide .appendix p { font-size: 1rem; line-height: 1.8; color: #2c3e50; margin: 0 0 1.1rem; }
.pal-guide .appendix p strong { color: #1a2332; font-weight: 600; }
.pal-guide .appendix .doesnt-list { list-style: none; padding: 0; margin: 0; }
.pal-guide .appendix .doesnt-list li { display: flex; gap: 0.85rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(26,35,50,0.06); font-size: 0.96rem; line-height: 1.6; }
.pal-guide .appendix .doesnt-list li:last-child { border-bottom: none; }
.pal-guide .appendix .doesnt-list li::before { content: '\2014'; color: #c44536; font-weight: 600; flex-shrink: 0; }
.pal-guide .appendix .doesnt-list li strong { color: #1a2332; font-weight: 600; }
.pal-guide .appendix-resources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.pal-guide .appendix-resources a { padding: 1rem 1.25rem; background: #fff; border: 1px solid rgba(26,35,50,0.08); border-radius: 12px; text-decoration: none; color: inherit; transition: border-color 0.2s ease, transform 0.2s ease; }
.pal-guide .appendix-resources a:hover { border-color: #2d5f3f; transform: translateY(-2px); }
.pal-guide .appendix-resources a.tool-card { border-color: rgba(45,95,63,0.25); background: linear-gradient(135deg, #fff 0%, #f8fbf5 100%); }
.pal-guide .appendix-resources a .acronym { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; color: #2d5f3f; letter-spacing: 0.05em; margin-bottom: 0.25rem; display: block; }
.pal-guide .appendix-resources a.tool-card .acronym { color: #c44536; }
.pal-guide .appendix-resources a .name { font-family: 'Spectral', Georgia, serif; font-size: 1rem; font-weight: 600; color: #1a2332; letter-spacing: -0.01em; line-height: 1.3; }
.pal-guide .scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.pal-guide .scenario-card { background: #fff; border: 1px solid rgba(26,35,50,0.08); border-radius: 14px; padding: 1.5rem; box-shadow: 0 2px 4px rgba(26,35,50,0.03), 0 8px 20px rgba(26,35,50,0.05); transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, border-color 0.3s ease; }
.pal-guide .scenario-card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(26,35,50,0.06), 0 24px 48px rgba(26,35,50,0.08); border-color: #2d5f3f; }
.pal-guide .scenario-card .label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #2d5f3f; margin-bottom: 0.5rem; }
.pal-guide .scenario-card .title { font-family: 'Spectral', Georgia, serif; font-size: 1.05rem; font-weight: 600; color: #1a2332; margin: 0 0 0.6rem; line-height: 1.3; }
.pal-guide .scenario-card p { font-size: 0.88rem; line-height: 1.6; color: #6c757d; margin: 0; }

/* ── FAQ accordion ── */
.pal-guide .faq { max-width: 720px; margin: 3rem auto; }
.pal-guide .faq-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #4a7c8c; margin-bottom: 1rem; }
.pal-guide .faq h2 { font-family: 'Spectral', Georgia, serif; font-size: clamp(1.75rem, 3.5vw, 2.4rem); font-weight: 600; color: #1a2332; margin: 0 0 2.5rem; letter-spacing: -0.025em; }
.pal-guide .faq-item { border-bottom: 1px solid rgba(26,35,50,0.1); }
.pal-guide .faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0; cursor: pointer; font-family: 'Spectral', Georgia, serif; font-size: 1.12rem; font-weight: 500; color: #1a2332; letter-spacing: -0.01em; list-style: none; transition: color 0.2s ease; }
.pal-guide .faq-item summary::-webkit-details-marker { display: none; }
.pal-guide .faq-item summary:hover { color: #2d5f3f; }
.pal-guide .faq-item summary .icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: #f8f6f1; border: 1px solid rgba(26,35,50,0.08); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; color: #2d5f3f; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), background 0.3s ease, color 0.3s ease; }
.pal-guide .faq-item[open] summary .icon { transform: rotate(45deg); background: #2d5f3f; color: #fff; }
.pal-guide .faq-item .answer { padding: 0 0 1.5rem; font-size: 0.98rem; line-height: 1.75; color: #2c3e50; }

/* ── CTA ── */
.pal-guide .cta { position: relative; margin: 6rem 0 0; padding: 5rem 2rem; overflow: hidden; }
.pal-guide .cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.3) saturate(1.1); z-index: 0; }
.pal-guide .cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,35,50,0.7) 0%, rgba(45,95,63,0.4) 100%); z-index: 1; }
.pal-guide .cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; text-align: center; }
.pal-guide .cta-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #d4a574; margin-bottom: 1rem; }
.pal-guide .cta h2 { font-family: 'Spectral', Georgia, serif; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; color: #fff; margin: 0 0 1.5rem; line-height: 1.1; letter-spacing: -0.03em; }
.pal-guide .cta p { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,0.85); margin: 0 auto 2rem; max-width: 580px; }
.pal-guide .cta-button { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 1.75rem; background: #d4a574; color: #1a2332; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem; border: none; border-radius: 10px; cursor: pointer; text-decoration: none; transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s ease; box-shadow: 0 4px 12px rgba(212,165,116,0.3); }
.pal-guide .cta-button:hover { transform: scale(1.04); box-shadow: 0 6px 20px rgba(212,165,116,0.45); }
.pal-guide .cta-button:active { transform: scale(0.97); }

/* ── Buying-guide checklist email capture ── */
.pal-guide .pal-checklist-form { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; max-width: 480px; margin: 0 auto; }
.pal-guide .pal-checklist-form input[type="email"] { flex: 1 1 220px; min-width: 0; padding: 1rem 1.1rem; border: 1px solid rgba(255,255,255,0.25); border-radius: 10px; background: rgba(255,255,255,0.95); font-family: 'Inter', sans-serif; font-size: 0.95rem; color: #1a2332; }
.pal-guide .pal-checklist-form input[type="email"]:focus { outline: none; border-color: #d4a574; box-shadow: 0 0 0 3px rgba(212,165,116,0.3); }
.pal-guide .pal-checklist-form button { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 1.75rem; background: #d4a574; color: #1a2332; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem; border: none; border-radius: 10px; cursor: pointer; transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s ease; box-shadow: 0 4px 12px rgba(212,165,116,0.3); }
.pal-guide .pal-checklist-form button:hover { transform: scale(1.04); box-shadow: 0 6px 20px rgba(212,165,116,0.45); }
.pal-guide .pal-checklist-form button:active { transform: scale(0.97); }
.pal-guide .pal-checklist-form button:disabled { opacity: 0.65; cursor: default; transform: none; box-shadow: none; }
.pal-guide .pal-checklist-note { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.7); margin: 1.25rem auto 0; max-width: 460px; }
.pal-guide .pal-checklist-note a { color: #d4a574; }

/* ── Related reads grid ── */
.pal-guide .related { background: #f8f6f1; padding: 5rem 2rem 6rem; }
.pal-guide .related-inner { max-width: 1100px; margin: 0 auto; }
.pal-guide .related-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #2d5f3f; margin-bottom: 0.75rem; }
.pal-guide .related h2 { font-family: 'Spectral', Georgia, serif; font-size: clamp(1.75rem, 3.5vw, 2.4rem); font-weight: 600; color: #1a2332; margin: 0 0 0.75rem; letter-spacing: -0.025em; }
.pal-guide .related .lead { font-size: 1.02rem; color: #6c757d; margin: 0 0 3rem; max-width: 580px; }
.pal-guide .related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.pal-guide .related-card { display: block; padding: 2rem 2rem 1.75rem; background: #fff; border-radius: 16px; border: 1px solid rgba(26,35,50,0.06); text-decoration: none; color: inherit; transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, border-color 0.3s ease; }
.pal-guide .related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(26,35,50,0.06), 0 24px 48px rgba(26,35,50,0.08); border-color: #2d5f3f; }
.pal-guide .related-card.pillar-card { border-color: rgba(212,165,116,0.3); background: linear-gradient(135deg, #fffbf2 0%, #fff 100%); }
.pal-guide .related-card .badge { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #4a7c8c; margin-bottom: 0.75rem; }
.pal-guide .related-card.pillar-card .badge { color: #d4a574; }
.pal-guide .related-card h3 { font-family: 'Spectral', Georgia, serif; font-size: 1.3rem; font-weight: 600; color: #1a2332; margin: 0 0 0.75rem; letter-spacing: -0.02em; line-height: 1.25; }
.pal-guide .related-card p { font-size: 0.92rem; line-height: 1.65; color: #6c757d; margin: 0 0 1.25rem; }
.pal-guide .related-card .more { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: #2d5f3f; }

/* ── Sources block ── */
.pal-guide .sources { background: #1a2332; color: rgba(255,255,255,0.7); padding: 4rem 2rem 3rem; }
.pal-guide .sources-inner { max-width: 900px; margin: 0 auto; }
.pal-guide .sources-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #d4a574; margin-bottom: 1rem; }
.pal-guide .sources h2 { font-family: 'Spectral', Georgia, serif; font-size: 1.5rem; font-weight: 600; color: #fff; margin: 0 0 1.5rem; letter-spacing: -0.02em; }
.pal-guide .sources ul { list-style: none; padding: 0; margin: 0 0 2.5rem; }
.pal-guide .sources li { padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.9rem; line-height: 1.6; }
.pal-guide .sources li strong { color: #fff; font-weight: 500; }
.pal-guide .sources a { color: #d4a574; text-decoration: none; border-bottom: 1px dotted rgba(212,165,116,0.4); transition: border-color 0.2s ease; }
.pal-guide .sources a:hover { border-bottom-color: #d4a574; }
.pal-guide .guide-meta-bottom { padding-top: 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ── Reveal animation (progressive enhancement — only hides once JS confirms) ── */
.pal-guide--js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.pal-guide--js .reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .pal-guide *, .pal-guide *::before, .pal-guide *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Responsive — single breakpoint at 900px ── */
@media (max-width: 900px) {
  .pal-guide .hero { padding: 5rem 1.5rem 5rem; }
  .pal-guide .hero-content { padding: 1.75rem 1.5rem; }
  .pal-guide .lede { padding: 2rem 1.75rem; margin: -2rem 1rem 0; }
  .pal-guide .container { padding: 0 1.5rem; }
  .pal-guide .reform-callout, .pal-guide .fleecehold-callout { padding: 2rem 1.75rem; margin: 3rem 1rem; }
  .pal-guide .key-dates { grid-template-columns: 1fr; }
  .pal-guide .checkpoint-preview, .pal-guide .cost-preview { padding: 0 1rem; }
  .pal-guide .checkpoint-grid, .pal-guide .worked-grid, .pal-guide .scenario-grid, .pal-guide .related-grid, .pal-guide .appendix-resources { grid-template-columns: 1fr; }
  .pal-guide .ombud-block { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem; margin: 3rem 1rem; }
  .pal-guide .ombud-block .stat-side { padding-right: 0; padding-bottom: 1.5rem; border-right: none; border-bottom: 1px solid rgba(26,35,50,0.08); }
  .pal-guide .score-key { flex-direction: column; align-items: stretch; gap: 1rem; }
  .pal-guide .score-key .key-label, .pal-guide .score-key .key-note { max-width: none; }
  .pal-guide .borough-section, .pal-guide .ranking-section { padding: 3rem 1rem; }
  .pal-guide .borough-table, .pal-guide .ranking-table { font-size: 0.78rem; }
  .pal-guide .borough-table thead th, .pal-guide .ranking-table thead th, .pal-guide .borough-table tbody td, .pal-guide .ranking-table tbody td { padding: 0.6rem 0.75rem; }
  .pal-guide .borough-table thead th:first-child, .pal-guide .ranking-table thead th:first-child, .pal-guide .borough-table tbody td:first-child, .pal-guide .ranking-table tbody td:first-child { padding-left: 0.85rem; }
  .pal-guide .borough-table thead th:last-child, .pal-guide .ranking-table thead th:last-child, .pal-guide .borough-table tbody td:last-child, .pal-guide .ranking-table tbody td:last-child { padding-right: 0.85rem; }
  .pal-guide .borough-table .hide-mobile, .pal-guide .borough-table th.hide-mobile, .pal-guide .ranking-table .hide-mobile, .pal-guide .ranking-table th.hide-mobile { display: none; }
  .pal-guide .cost-table .source-cell, .pal-guide .cost-table thead th:last-child, .pal-guide .cost-table tbody td:last-child { display: none; }
  .pal-guide .score-cell { min-width: 90px; }
  .pal-guide .read-item { gap: 1rem; }
  .pal-guide .read-item .marker { font-size: 2rem; width: 1.75rem; }
}
