/*
Theme Name: Pseudonymizer
Theme URI: https://pseudonymizer.eu
Author: Litic AI
Author URI: https://litic.ai
Description: Custom klassiek thema voor pseudonymizer.eu (richting C "Clean Room"): monochroom met signaalgroen, Inter + DM Mono, geen build-stap, fonts self-hosted.
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 8.1
License: Proprietary
Text Domain: pseudonymizer
*/

/* =========================================================
   Tokens (richting C). Bump PZ_VERSION in functions.php bij elke wijziging.
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-2: #f5f5f4;
  --fg: #111111;
  --fg-2: #2a2a28;
  --muted: #5f5f5c;
  --faint: #8a8a86;
  --line: #e6e6e3;
  --line-2: #d9d9d6;
  /* Accentkleur (historische tokennaam --green): sinds 2026-10-29 het logoblauw #0a358b in plaats van
     signaalgroen; tint = 10 % op wit, dark = hover, on-dark = leesbare variant op de donkere footer. */
  --green: #0a358b;
  --green-tint: #e7ebf5;
  --green-dark: #072566;
  --green-on-dark: #9db9f0;
  --footer: #0a0a0a;
  --footer-fg: #9a9a96;
  --footer-line: #2a2a28;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1160px;
  --wrap-narrow: 760px;
  --gutter: clamp(16px, 4vw, 32px);
  --r-pill: 999px;
  --r-card: 14px;
  --r-lg: 18px;
  --section: 112px;
}
@media (max-width: 860px) { :root { --section: 72px; } }

/* =========================================================
   Basis
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-wrap: pretty; }
body.nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--fg); }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--fg); color: #fff; padding: 8px 14px; border-radius: var(--r-pill); }
.skip:focus { left: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.center { text-align: center; }
.mono { font-family: var(--font-mono); font-size: 12px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.accent { color: var(--green); }
.small { font-size: 13px; }
.label { letter-spacing: .06em; text-transform: uppercase; }

/* Typografie */
.eyebrow { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--green); font-weight: 500; }
.h1 { margin: 22px 0 0; font-size: clamp(42px, 6vw, 68px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
.h1-sm { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.08; }
.h1-article { font-size: clamp(34px, 4.8vw, 52px); line-height: 1.05; max-width: 20ch; margin-inline: auto; }
.h2 { margin: 14px 0 0; font-size: clamp(30px, 3.6vw, 38px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.lead { margin: 16px 0 0; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 60ch; }
.lead-center { margin-inline: auto; text-align: center; }
.body { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Knoppen en pillen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--r-pill); font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background-color .15s, color .15s, border-color .15s; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--fg); color: #fff; }
.btn-primary:hover { background: var(--green); color: #fff; }
.btn-ghost { background: var(--bg); color: var(--fg); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-light { background: #fff; color: var(--fg); }
.btn-light:hover { background: var(--green); color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 6px 12px; font-family: var(--font-mono); font-size: 12px; color: var(--fg); background: var(--bg); text-decoration: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; flex-shrink: 0; }
.dot-grey { background: #b5b5b1; }
.chip { font-family: var(--font-mono); font-size: .86em; color: var(--green); background: var(--green-tint); border-radius: var(--r-pill); padding: 2px 8px; white-space: nowrap; }
.hl { background: var(--bg-2); border-radius: 4px; padding: 1px 4px; box-shadow: inset 0 -2px 0 var(--line-2); }
.card { background: var(--bg-2); border-radius: var(--r-card); }

/* =========================================================
   Header
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.logo { display: block; width: auto; }
.brand .logo { height: 36px; } /* even hoog als de taalwissel */
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-menu a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--r-pill); color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-menu a:hover, .nav-menu a[aria-current] { color: var(--fg); background: var(--bg-2); }
.nav-mobile { display: none; }
.nav-mobile-lang { display: none; }
.actions { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: var(--r-pill); overflow: hidden; font-family: var(--font-mono); font-size: 12px; }
.lang a { padding: 8px 12px; line-height: 18px; color: var(--muted); text-decoration: none; } /* 18 + 16 + 2 rand = 36 px */
.lang a[aria-current] { background: var(--fg); color: #fff; }
.login { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; }
.login:hover { color: var(--fg); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); cursor: pointer; }
@media (max-width: 860px) {
  /* Geen backdrop-filter op mobiel: die maakt de header het containing block van de fixed .nav,
     waardoor het geopende menu in de 72 px van de header zelf werd geklemd. */
  .site-header { backdrop-filter: none; background: var(--bg); }
  .nav { display: none; position: fixed; inset: 72px 0 0 0; background: var(--bg); padding: 16px var(--gutter) 32px; overflow: auto; z-index: 49; }
  .nav.open { display: block; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-menu a { min-height: 48px; font-size: 17px; }
  .nav-mobile { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
  .login, .actions .btn { display: none; }
  .menu-btn { display: inline-flex; }
  /* Schijf van het beeldmerk even groot als de menuknop (44 px): de schijf is 616/655 van de logohoogte. */
  .brand .logo { height: 46.8px; }
}
@media (max-width: 430px) {
  .actions .lang { display: none; }
  .nav-mobile-lang { display: flex; margin-top: 16px; }
}

/* =========================================================
   Hero + demo
   ========================================================= */
.hero { padding: 96px 0 72px; }
@media (max-width: 860px) { .hero { padding: 56px 0 48px; } }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero .h1 { max-width: 16ch; }
.hero .pill { color: var(--green); } /* statuspil in het accentblauw */
.hero .lead { text-align: center; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.micro { margin: 20px 0 0; color: var(--green); }
.demo-wrap { max-width: calc(900px + 2 * var(--gutter)); margin-top: 64px; }
.demo { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 24px 60px -36px rgba(0,0,0,.25); }
.demo-top { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
.demo-status { margin-left: auto; position: relative; display: block; width: 126px; height: 28px; }
.demo-status > span { position: absolute; inset: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-pill); }
.status-orig { background: var(--bg-2); color: var(--muted); }
.status-safe { background: var(--green-tint); color: var(--green); }
.demo-body { position: relative; padding: 32px 28px; font-size: 17px; line-height: 1.8; color: var(--fg-2); overflow: hidden; }
.demo-sizer { margin: 0; visibility: hidden; }
.demo-layer { margin: 0; position: absolute; left: 28px; right: 28px; top: 32px; }
.demo-scan { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(180deg, rgba(10,53,139,0) 0%, rgba(10,53,139,.14) 50%, rgba(10,53,139,0) 100%); pointer-events: none; }
.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--faint); }
.demo-status-line { position: relative; display: block; height: 18px; flex: 1; }
.demo-status-line > span { position: absolute; inset: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes pz-orig { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes pz-safe { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pz-scan { 0% { transform: translateY(-40%); opacity: 0; } 6% { opacity: 1; } 40% { transform: translateY(560%); } 48%, 100% { opacity: 0; } }
.demo-orig { animation: pz-orig 6.4s ease-in-out infinite; }
.demo-safe { animation: pz-safe 6.4s ease-in-out infinite; }
.demo-scan { animation: pz-scan 6.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .demo-orig { animation: none; opacity: 0; } .demo-safe { animation: none; opacity: 1; } .demo-scan { display: none; } }
@media (max-width: 600px) { .demo-body { padding: 24px 18px; font-size: 15px; } .demo-layer { left: 18px; right: 18px; top: 24px; } }

/* Trust-strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-inner { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--green); } /* trust-regel in het logoblauw */
.trust-inner > span { display: flex; align-items: center; gap: 8px; }

/* =========================================================
   Secties, lijsten, pagina's
   ========================================================= */
.section { padding: var(--section) 0; }
.section-tight { padding: 48px 0 var(--section); }
.section-grey { background: var(--bg-2); }
.page-head { padding: 72px 0 0; }
@media (max-width: 860px) { .page-head { padding-top: 40px; } }
.row { display: flex; flex-wrap: wrap; gap: 16px 32px; padding: 22px 0; border-top: 1px solid var(--line); }
.post-list { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); margin-top: 24px; }
.post-row { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 24px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; align-items: baseline; }
.post-row:hover .h3 { color: var(--green); }
.post-date { flex: 0 0 150px; color: var(--faint); }
.post-main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.post-main .h3 { font-size: 22px; }
.post-meta { flex: 0 0 150px; text-align: right; }
@media (max-width: 700px) { .post-meta { text-align: left; } }
.pagination { display: flex; gap: 8px; margin-top: 32px; font-family: var(--font-mono); font-size: 13px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill); text-decoration: none; }
.pagination .current { background: var(--fg); color: #fff; border-color: var(--fg); }

/* Artikel */
.article-head { padding: 80px 0 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
@media (max-width: 860px) { .article-head { padding-top: 48px; } }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 24px; color: var(--muted); }
.author { display: inline-flex; align-items: center; gap: 10px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--fg); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; font-family: var(--font-mono); }
.avatar-lg { width: 56px; height: 56px; font-size: 16px; }
.article-figure { margin: 0 auto; max-width: calc(1000px + 2 * var(--gutter)); }
.article-figure img { width: 100%; border-radius: var(--r-lg); background: var(--bg-2); }
.article-figure figcaption { padding: 12px 0 0; text-align: center; color: var(--muted); }
.article .prose { margin-top: 48px; }
.author-box { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.author-box > div { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.back { margin-top: 32px; }
.back a { text-decoration: none; font-weight: 600; color: var(--green); }

/* Prose (artikelen en standaardpagina's) */
.prose { font-size: 18px; line-height: 1.75; color: var(--fg-2); }
.prose > * { margin: 0 0 24px; }
.prose h2 { margin: 48px 0 14px; font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; color: var(--fg); }
.prose h3 { margin: 36px 0 10px; font-size: 21px; font-weight: 600; letter-spacing: -.015em; color: var(--fg); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose blockquote { margin: 32px 0; padding: 0; border: 0; font-size: 26px; line-height: 1.35; color: var(--fg); font-weight: 600; letter-spacing: -.02em; }
.prose a { color: var(--green); }
.prose img { border-radius: var(--r-card); }
.prose figure { margin-inline: 0; }
.prose figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 8px; }
.prose code { font-family: var(--font-mono); font-size: .9em; background: var(--bg-2); border-radius: 6px; padding: 1px 6px; }
.prose pre { padding: 20px 22px; background: var(--fg); color: var(--line); border-radius: var(--r-card); overflow-x: auto; font-family: var(--font-mono); font-size: 13px; line-height: 1.65; }
.prose pre code { background: transparent; padding: 0; color: inherit; font-size: inherit; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.prose th { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* FAQ (details) */
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 18px; letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq summary .ic { transition: transform .2s; }
.faq details p { margin: 0 0 24px; color: var(--muted); line-height: 1.6; max-width: 62ch; }

/* CTA-band */
.cta-band { background: var(--fg); color: #fff; padding: 96px 0; }
.cta-band .h2 { color: #fff; margin: 0; font-size: 44px; }
.cta-band .lead { color: #b5b5b1; }
.cta-band .mono { color: var(--faint); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--footer); color: var(--footer-fg); padding: 64px 0 32px; border-top: 1px solid var(--footer-line); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.foot-brand .logo { height: 24px; align-self: flex-start; }
.foot-tagline { margin: 0; font-size: 14px; line-height: 1.6; max-width: 30ch; }
.foot-news { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col h3 { margin: 0; font-size: 12px; font-weight: 500; color: #fff; }
.foot-col a { color: var(--footer-fg); text-decoration: none; font-size: 14px; }
.foot-col a:hover { color: #fff; }
.foot-col .muted { color: #6f6f6b; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--footer-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: #6f6f6b; }
.foot-bottom a { color: inherit; }
.foot-meta { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-meta .accent { color: var(--green-on-dark); }
.foot-langs a { color: inherit; text-decoration: none; }
.foot-langs a[aria-current] { color: #fff; }
.foot-langs a + a::before { content: " · "; color: #6f6f6b; }

/* =========================================================
   Homepage-secties (fase 3)
   ========================================================= */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 56px; align-items: center; }
.split-top { align-items: start; }
.lead-sm { font-size: 17px; }
.h3-lg { font-size: 20px; }
.h3-xl { font-size: 22px; }
.card-pad { padding: 32px; }
.card-white { background: var(--bg); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card-link { margin-top: auto; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--green); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.statement { margin: 24px 0 0; font-size: 17px; line-height: 1.55; color: var(--fg); letter-spacing: -.01em; }
.center-col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.section-line { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.more { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--green); }
.ink { color: var(--fg); }
.dot-ink { background: var(--fg); }

/* Hoe het werkt + diagram */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px; }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.pipeline { margin-top: 64px; background: var(--bg); border-radius: var(--r-lg); padding: 32px; }
.pipeline-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); }
.pipeline-row { display: flex; flex-wrap: wrap; gap: 16px 0; margin-top: 28px; }
.node { flex: 1 1 150px; min-width: 150px; display: flex; flex-direction: column; gap: 10px; padding: 0 16px; border-left: 1px solid var(--line); }
.node strong { font-size: 15px; letter-spacing: -.01em; }

/* Functies */
.feature-list { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.feature-title { flex: 0 0 200px; font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.feature .body { flex: 1 1 240px; min-width: 0; }

/* Voor wie, privacy */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; margin-top: 48px; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px; margin-top: 40px; }
.point { display: flex; flex-direction: column; gap: 8px; }
.note { margin-top: 28px; }
.guar { padding: 28px 32px; font-size: 13px; display: flex; flex-direction: column; }
.guar-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.guar-row:last-child { border-bottom: 0; }
.guar-head { padding-top: 0; padding-bottom: 16px; font-weight: 500; }
.guar-row .ink, .guar-row .accent { display: flex; align-items: center; gap: 8px; text-align: right; }

/* Prijzen */
.pricing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.billing { display: flex; border: 1px solid var(--line-2); border-radius: var(--r-pill); overflow: hidden; background: var(--bg); font-size: 13px; }
.billing button { min-height: 44px; padding: 0 18px; border: 0; background: var(--bg); color: var(--fg); font-family: inherit; font-weight: 500; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 8px; border-radius: var(--r-pill); }
.billing button[aria-pressed="true"] { background: var(--fg); color: #fff; }
.billing button[aria-pressed="true"] .accent { color: var(--green-on-dark); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; margin-top: 48px; align-items: stretch; }
.plan { background: var(--bg); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-badge { font-size: 11px; border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 4px 10px; color: var(--green); white-space: nowrap; }
.plan-tag { margin-top: 6px; }
.plan-price-row { display: flex; align-items: baseline; gap: 8px; }
.plan-price { font-size: 44px; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-credits, .plan-billed { margin: 0; }
.plan-billed { margin-top: -8px; }
.plan-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--fg-2); }
.plan-features li { display: flex; gap: 10px; align-items: center; }
.plan .btn { margin-top: auto; }
.plan-dark { background: var(--fg); color: #fff; }
.plan-dark .h3, .plan-dark .plan-price { color: #fff; }
.plan-dark .body { color: #b5b5b1; }
.plan-dark .plan-badge { color: var(--green-on-dark); border-color: #3a3a38; }
.plan-dark .plan-credits { color: var(--green-on-dark); }
.plan-dark .plan-features { color: var(--line); }
.plan-dark .dot { background: var(--green-on-dark); }
.plan-dark .faint { color: #8a8a86; }
.pricing-notes { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Testimonials */
.quote { margin: 28px 0 0; font-size: 30px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; max-width: 28ch; }
.quotes-small { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; margin-top: 40px; width: 100%; }
.quote-small { margin: 0; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.quote-small blockquote { margin: 0; font-size: 17px; line-height: 1.5; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 40px; }
.logos img { height: 32px; width: auto; opacity: .7; filter: grayscale(1); }

/* FAQ en afsluiting */
.faq { margin-top: 36px; border-bottom: 1px solid var(--line); }
.faq-a { padding-bottom: 24px; color: var(--muted); line-height: 1.6; max-width: 62ch; }
.faq-a p { margin: 0 0 12px; }
.faq-a p:last-child { margin: 0; }
.cta-band .btn { margin-top: 8px; }
@media (max-width: 860px) { .quote { font-size: 24px; } .cta-band .h2 { font-size: 32px; } }

/* =========================================================
   Pagina's (fase 4): prijzen, doelgroep, contact, docs, juridisch
   ========================================================= */
.page-head-center { padding-bottom: 8px; }
.pricing-head-compact { justify-content: center; }
.wrap-wide { max-width: 1280px; }

/* Contact */
.contact-form .h3 { margin-bottom: 4px; }
.contact-side { display: flex; flex-direction: column; gap: 28px; }
.contact-block { display: flex; flex-direction: column; gap: 8px; }
.contact-big { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.contact-big a { text-decoration: none; }
.pz-gf { margin-top: 16px; }
.pz-gf .gform_wrapper.gravity-theme .gfield_label, .pz-gf label { font-size: 14px; font-weight: 600; color: var(--fg); }
.pz-gf input[type="text"], .pz-gf input[type="email"], .pz-gf textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font-family: inherit; font-size: 15px; background: var(--bg); color: var(--fg); }
.pz-gf textarea { min-height: 140px; border-radius: 14px; }
.pz-gf input:focus, .pz-gf textarea:focus { outline: 2px solid var(--fg); outline-offset: 1px; border-color: var(--fg); }
.pz-gf .gform_button, .pz-gf input[type="submit"], .pz-gf button[type="submit"] { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: var(--r-pill); border: 0; background: var(--fg); color: #fff; font-family: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.pz-gf .gform_button:hover { background: var(--green); }
.pz-gf .gfield_required { color: var(--green); }
.pz-gf .gfield_error input, .pz-gf .gfield_error textarea { border-color: #b3261e; }
.pz-gf .validation_message, .pz-gf .gform_validation_errors { color: #b3261e; font-size: 13px; }
.pz-gf .gform_confirmation_message { padding: 18px 20px; border-radius: var(--r-card); background: var(--green-tint); color: var(--green-dark); font-size: 15px; }
.pz-gf .ginput_container_consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }

/* Docs */
.docs-bar { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.docs-bar-inner { min-height: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 8px; padding-bottom: 8px; }
.crumbs { display: flex; gap: 8px; }
.crumbs a { color: inherit; text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-line { border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 3px 10px; }
.docs-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 40px; padding-bottom: 80px; }
.docs-side { flex: 1 1 220px; max-width: 260px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 88px; }
.docs-side > a { display: block; padding: 8px 12px; border-radius: var(--r-pill); color: var(--muted); text-decoration: none; font-size: 14px; }
.docs-side > a:hover { background: var(--bg-2); color: var(--fg); }
.docs-side > a.is-on { background: var(--fg); color: #fff; }
.docs-toc { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.docs-toc h3 { margin: 0 12px 8px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.docs-toc-list { display: flex; flex-direction: column; }
.docs-toc-list a { display: block; padding: 6px 12px; font-size: 13px; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; }
.docs-toc-list a:hover { color: var(--fg); }
.docs-toc-list a.is-on { color: var(--green); border-left-color: var(--green); }
.docs-main { flex: 999 1 560px; min-width: 0; max-width: 760px; }
.docs-main .h1 { margin-top: 12px; }
.docs-prose { margin-top: 32px; font-size: 16px; }
.docs-prose h2 { font-size: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.docs-prose h3 { font-size: 17px; }
.docs-prose code { color: var(--green-dark); }
.docs-prose pre { font-size: 13px; }
.docs-prose pre code { color: inherit; }
.docs-prose .table-wrap { overflow-x: auto; margin: 0 0 24px; }
.docs-prose table { display: table; min-width: 100%; }
.docs-prose blockquote { font-size: 15px; font-weight: 400; letter-spacing: 0; padding: 14px 18px; background: var(--green-tint); color: var(--green-dark); border-radius: 12px; }
.docs-prose blockquote p { margin: 0; }
.docs-card { text-decoration: none; color: inherit; }
.docs-card:hover .h3 { color: var(--green); }
.docs-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.docs-foot a { color: var(--green); text-decoration: none; }
.docs-foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 860px) { .docs-side { position: static; max-width: none; } .docs-toc { display: none; } }

/* Juridisch */
.legal-prose { font-size: 16px; }
.legal-prose h2 { font-size: 21px; margin-top: 40px; }
.legal-prose h3 { font-size: 17px; margin-top: 28px; } /* archief van eerdere versies: artikelkoppen onder de versiekop */
.legal-prose ul { padding-left: 20px; }
.legal-prose li { margin: 8px 0; }

/* ---------- Fase 5: media-navigatie, podcast, video, artikel-extra's, nieuwsbrief ---------- */
.media-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.media-nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; background: var(--bg); }
.media-nav a:hover { color: var(--fg); border-color: var(--fg); }
.media-nav a.is-on { background: var(--fg); color: #fff; border-color: var(--fg); }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cat-pills .pill { color: var(--muted); }
.cat-pills .pill:hover { color: var(--fg); border-color: var(--fg); }
.cat-pills .pill.is-on { background: var(--green-tint); border-color: var(--green-tint); color: var(--green-dark); }
.apps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.apps .btn-sm { min-height: 36px; padding: 0 14px; gap: 6px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }

/* Podcast: overzicht en aflevering */
.pod-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.pod-hero-cover { flex: 0 0 240px; }
.pod-hero-main { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.pod-hero-main .h1 { margin: 0; }
.pod-cover { width: 100%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.pod-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pod-cover-fallback { display: flex; flex-direction: column; justify-content: space-between; padding: 22px; font-size: 12px; color: var(--fg); }
.pod-feature { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-bottom: 48px; }
.pod-feature-cover { flex: 0 0 240px; }
.pod-feature-main { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.pod-feature-main .h2 { margin: 0; }
.pod-feature-main .h2 a { color: inherit; text-decoration: none; }
.pod-feature-main .h2 a:hover { color: var(--green); }
.pod-list { margin-top: 0; }
.pod-row { align-items: center; }
.pod-nr { flex: 0 0 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--bg-2); color: var(--fg); font-size: 12px; overflow: hidden; }
.pod-nr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pod-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 48px; padding-bottom: 80px; }
.pod-main { flex: 999 1 520px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 40px; }
.pod-side { flex: 1 1 260px; max-width: 320px; display: flex; flex-direction: column; gap: 32px; }
.pod-block .prose { margin-top: 16px; }
.pod-chapters { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; }
.pod-chapters li { display: flex; gap: 16px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.pod-chapters li:last-child { border-bottom: 1px solid var(--line); }
.pod-chapter { border: 0; background: none; padding: 0; font-family: var(--font-mono); font-size: 13px; color: var(--green); cursor: pointer; }
.pod-chapter:hover { text-decoration: underline; }
.pod-transcript { margin-top: 16px; padding: 0 22px; }
.pod-transcript summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
.pod-transcript summary::-webkit-details-marker { display: none; }
.pod-transcript summary svg { transition: transform .2s; }
.pod-transcript[open] summary svg { transform: rotate(45deg); }
.pod-transcript .prose { padding-bottom: 22px; font-size: 16px; }
.pod-about { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.pod-about a { color: var(--green); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pod-more-list { display: flex; flex-direction: column; margin-top: 12px; }
.pod-ep { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.pod-ep:last-child { border-bottom: 1px solid var(--line); }
.pod-ep .pod-nr { flex-basis: 48px; height: 48px; }
.pod-ep > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pod-ep .h3 { font-size: 15px; }
.pod-ep:hover .h3 { color: var(--green); }
.pod-more .more { display: inline-block; margin-top: 14px; }
.try-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* Speler: assets/media.js bouwt .pz-player rond <audio class="pz-audio"> */
.pod-player { width: 100%; margin-top: 4px; }
.pod-player audio { width: 100%; }
.pz-player { background: var(--bg-2); border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.pz-player audio { display: none; }
.pp-top { display: flex; align-items: center; gap: 16px; }
.pp-play { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--fg); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .15s; }
.pp-play:hover { transform: scale(1.05); }
.pp-play svg { margin-left: 2px; }
.pz-player.playing .pp-play svg { margin-left: 0; }
.pp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pp-bar { position: relative; height: 6px; border-radius: 3px; background: var(--line-2); cursor: pointer; }
.pp-bar:focus-visible { outline: 2px solid var(--fg); outline-offset: 6px; }
.pp-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: var(--green); }
.pp-fill::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--green); transform: translateY(-50%); opacity: 0; transition: opacity .15s; }
.pp-bar:hover .pp-fill::after, .pz-player.playing .pp-fill::after { opacity: 1; }
.pp-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pp-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pp-ctl button, .pp-ctl a { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--bg); color: var(--fg); font-family: var(--font-mono); font-size: 12px; cursor: pointer; text-decoration: none; }
.pp-ctl button:hover, .pp-ctl a:hover { border-color: var(--fg); }
.pp-speed.fast { background: var(--green-tint); border-color: var(--green-tint); color: var(--green-dark); }
.pp-self { margin-left: auto; font-size: 11px; color: var(--faint); }
@media (max-width: 560px) { .pz-player { padding: 16px; } .pp-self { display: none; } .pod-hero-cover, .pod-feature-cover { flex-basis: 160px; } }

/* Video */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; margin-top: 32px; }
.video-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.video-card:hover .h3 { color: var(--green); }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--fg); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-badge { position: absolute; left: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--fg); display: grid; place-items: center; }
.video-badge svg { margin-left: 2px; }
.video-dur { position: absolute; right: 12px; bottom: 14px; font-size: 12px; color: #fff; background: rgba(0, 0, 0, .6); border-radius: var(--r-pill); padding: 3px 8px; }
.video-poster-empty { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #1b1b1a, #2f2f2d); }
.video-wrap { margin-top: 32px; }
.video-embed { position: relative; margin: 0; }
.video-embed .video-poster, .video-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; object-fit: cover; background: var(--fg); border: 0; }
.video-embed .video-poster-empty { aspect-ratio: 16 / 9; height: auto; border-radius: 18px; }
.video-play { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; background: rgba(0, 0, 0, .18); border-radius: 18px; }
.video-play:hover { background: rgba(0, 0, 0, .3); }
.video-play-btn { width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--fg); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.video-play-btn svg { margin-left: 4px; }
.video-embed figcaption { margin-top: 10px; font-size: 12px; }
.video-embed.is-loaded .video-play, .video-embed.is-loaded .video-poster, .video-embed.is-loaded figcaption { display: none; }
.video-yt { margin-top: 24px; }

/* Artikel-extra's: inhoudsopgave, vertaling, categorieën, gerelateerd */
.toc { margin: 0 0 32px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-2); }
.toc .eyebrow { margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.toc a { color: var(--fg); text-decoration: none; }
.toc a:hover { color: var(--green); }
.prose h2[id] { scroll-margin-top: 88px; }
.translation-note { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 24px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--green-tint); color: var(--green-dark); font-size: 14px; font-weight: 600; text-decoration: none; }
.translation-note:hover { background: var(--green); color: #fff; }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; }
.article-tags .pill:hover { border-color: var(--fg); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; margin-top: 36px; }
.related-card { text-decoration: none; color: inherit; background: var(--bg); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.related-card .h3 { font-size: 20px; }
.related-card:hover .h3 { color: var(--green); }

/* Nieuwsbrief (Gravity Forms, één rij: e-mail + knop) */
.newsletter .wrap { max-width: 720px; }
.newsletter-inner { display: flex; flex-direction: column; gap: 14px; text-align: center; align-items: center; }
.newsletter-inner .h2 { margin: 0; }
.newsletter-inner .body { max-width: 48ch; }
.newsletter .pz-gf { width: 100%; max-width: 480px; margin-top: 8px; }
.news-form .gform_wrapper form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; justify-content: center; }
.news-form .gform_wrapper .gform-body, .news-form .gform_wrapper .gform_body { flex: 1 1 220px; min-width: 0; }
.news-form .gform_wrapper .gform_footer { flex: 0 0 auto; margin: 0; padding: 0; }
.news-form .gform_wrapper .gfield { margin: 0; }
.news-form .gform_wrapper .gform_required_legend, .news-form .gform_wrapper .gfield_label { display: none; }
.news-form input[type="email"] { border-radius: var(--r-pill); padding: 0 18px; min-height: 48px; }
.news-form .gform_wrapper .gform_validation_errors, .news-form .gform_wrapper .validation_message { flex-basis: 100%; text-align: left; }
.news-form .gform_wrapper .gform_confirmation_message { width: 100%; text-align: left; }
.news-form-dark { margin-top: 0; }
.news-form-dark input[type="email"] { background: #1a1a19; border-color: var(--footer-line); color: #fff; }
.news-form-dark input[type="email"]::placeholder { color: var(--footer-fg); }
.news-form-dark input[type="email"]:focus { outline-color: #fff; border-color: #fff; }
.news-form-dark .gform_button { background: #fff; color: var(--fg); }
.news-form-dark .gform_button:hover { background: var(--green); color: #fff; }
.news-form-dark .gform_wrapper form { justify-content: flex-start; }
.news-form-dark .gform_wrapper .gform_confirmation_message { background: #1a1a19; color: var(--green-on-dark); }
.foot-news .label { font-size: 12px; color: var(--footer-fg); }
.foot-news-link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--footer-line); border-radius: var(--r-pill); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.foot-news-link:hover { border-color: #fff; }

/* ---------- Fase 6: assistent (bubbel rechtsonder of inline via [pz_assistant]) ---------- */
.pza-launch { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--fg); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .15s, background-color .15s; }
.pza-launch:hover { transform: scale(1.05); background: var(--green); }
.pza-launch span { display: grid; place-items: center; }
.pza-launch .pza-ic-close, .pz-assistant.is-open .pza-launch .pza-ic-open { display: none; }
.pz-assistant.is-open .pza-launch .pza-ic-close { display: grid; }
.pza-panel { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .16); display: flex; flex-direction: column; overflow: hidden; }
.pza-panel[hidden] { display: none; }
.pz-assistant[data-mode="bubble"] .pza-panel { position: fixed; right: 20px; bottom: 88px; z-index: 60; width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100vh - 120px)); }
.pz-assistant-inline { margin: 32px 0; }
.pz-assistant-inline .pza-panel { height: 560px; max-width: 720px; }
.pza-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pza-mark { width: 32px; height: 32px; display: grid; place-items: center; flex: none; } /* het beeldmerk (favicon.svg) */
.pza-mark .logo-mark { width: 32px; height: 32px; }
.pza-title { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.pza-title strong { font-size: 15px; }
.pza-title .mono { font-size: 11px; color: var(--green); }
.pza-close { border: 0; background: none; color: var(--muted); cursor: pointer; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.pza-close:hover { background: var(--bg-2); color: var(--fg); }
.pza-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.pza-msg { max-width: 92%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.pza-msg p { margin: 0; font-size: 14.5px; line-height: 1.55; white-space: pre-line; }
.pza-msg-bot { align-self: flex-start; }
.pza-msg-bot p { background: var(--bg-2); border-radius: 16px 16px 16px 4px; padding: 12px 14px; }
.pza-msg-user { align-self: flex-end; align-items: flex-end; }
.pza-msg-user p { background: var(--fg); color: #fff; border-radius: 16px 16px 4px 16px; padding: 12px 14px; }
.pza-msg.is-pending p { color: var(--muted); animation: pza-pulse 1.2s ease-in-out infinite; }
@keyframes pza-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.pza-sources { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pza-sources-label { font-size: 11px; color: var(--faint); margin-right: 2px; }
.pza-source { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 3px 10px; font-family: var(--font-mono); font-size: 11px; color: var(--fg); text-decoration: none; background: var(--bg); }
.pza-source::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
a.pza-source:hover { border-color: var(--fg); }
.pza-cta { min-height: 36px; }
.pza-chips, .pza-followups { display: flex; flex-wrap: wrap; gap: 6px; }
.pza-chip, .pza-followup { border: 1px solid var(--line-2); background: var(--bg); border-radius: var(--r-pill); padding: 6px 12px; font-family: inherit; font-size: 13px; color: var(--fg); cursor: pointer; text-align: left; }
.pza-chip:hover, .pza-followup:hover { border-color: var(--fg); }
.pza-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 16px 8px; border-top: 1px solid var(--line); }
.pza-field { flex: 1; resize: none; border: 1px solid var(--line-2); border-radius: 16px; padding: 10px 14px; font: inherit; font-size: 14px; line-height: 1.4; max-height: 120px; background: var(--bg); color: var(--fg); }
.pza-field:focus { outline: 2px solid var(--fg); outline-offset: 1px; border-color: var(--fg); }
.pza-send { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--fg); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .15s; }
.pza-send:not(:disabled):hover { background: var(--green); }
.pza-send:disabled { opacity: .5; cursor: default; }
.pza-micro { margin: 0; padding: 0 16px 12px; font-size: 11px; line-height: 1.45; color: var(--faint); }
@media (max-width: 560px) {
  .pz-assistant[data-mode="bubble"] .pza-panel { right: 0; bottom: 0; width: 100vw; height: 90vh; border-radius: 18px 18px 0 0; }
  .pz-assistant.is-open .pza-launch { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pza-launch { transition: none; } .pza-msg.is-pending p { animation: none; } }
@media print { .pz-assistant { display: none; } }
