@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Vollkorn:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  color-scheme: light;
  --bg: #fbf8f3;
  --bg-strong: #f4eadf;
  --ink: #21313f;
  --muted: #65727d;
  --line: #e7d7c8;
  --primary: #39870c;
  --primary-dark: #285f08;
  --accent: #00598c;
  --card: #fffdf9;
  --shadow: 0 24px 70px rgba(20, 40, 60, 0.12);
  --font-display: 'Vollkorn', Georgia, 'Times New Roman', serif;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(57, 135, 12, 0.16), transparent 34rem),
    linear-gradient(180deg, var(--bg) 0%, #fffdf9 54%, var(--bg) 100%);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: min(1360px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(33, 49, 63, 0.06);
  background: rgba(251, 248, 243, 0.82);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -0.028em;
  line-height: 1;
  color: var(--ink);
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.78;
}

.brand-accent {
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}

.footer-brand {
  font-size: 1.4rem;
}

/* ─── Top-nav links: editorial underline-from-left + active state ─── */
.main-nav {
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  letter-spacing: -0.005em;
  transition: color 0.18s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.32rem;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--ink);
}

.main-nav a.active::after {
  transform: scaleX(1);
  background: var(--accent);
  height: 1.5px;
}

/* ─── Refined nav CTA: deep-blue, soft shadow, subtle hover lift, arrow ─── */
.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.5rem 1.05rem 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 10px 24px rgba(0, 89, 140, 0.18),
    0 2px 6px rgba(0, 89, 140, 0.14);
  transition:
    transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.nav-cta::after {
  content: "\2192";
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  transform: translateX(0);
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nav-cta:hover {
  background: #004771;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 16px 32px rgba(0, 89, 140, 0.24),
    0 4px 10px rgba(0, 89, 140, 0.18);
}

.nav-cta:hover::after {
  transform: translateX(3px);
}

.nav-cta:active {
  transform: translateY(0);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: white;
  font-weight: 750;
  box-shadow: 0 16px 30px rgba(57, 135, 12, 0.22);
  cursor: pointer;
}

.button:hover {
  background: var(--primary-dark);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button.small {
  min-height: 40px;
  padding: 0.58rem 0.9rem;
  font-size: 0.92rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 850;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero {
  padding: 82px 0 54px;
}

.home-hero {
  padding: clamp(42px, 6vw, 78px) 0 52px;
}

.how-hero {
  padding: clamp(44px, 7vw, 92px) 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}

.hero-center {
  max-width: 980px;
  text-align: center;
}

.hero h1,
.section-heading h2,
.split-copy h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero h1 {
  margin-top: 1rem;
  max-width: 820px;
  font-size: clamp(3.4rem, 9vw, 7.8rem);
}

.hero-center h1 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(4rem, 9.8vw, 9rem);
}

@media (min-width: 901px) {
  .hero h1,
  .hero-center h1 {
    font-size: clamp(3.4rem, 6vw, 6rem);
    line-height: 1.02;
  }
}

.hero p {
  max-width: 690px;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.hero-center p {
  margin-inline: auto;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-center .hero-actions {
  justify-content: center;
  margin-top: 1.25rem;
}

.hero-composer-wrap {
  width: min(880px, 100%);
  margin: clamp(1.6rem, 4vw, 2.6rem) auto 0;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.4rem auto 0;
  padding: 0.4rem 0.85rem 0.4rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.6);
  border: 1px solid rgba(33, 49, 63, 0.08);
}

.hero-trust-avatars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.hero-trust-avatars li {
  margin-left: -0.45rem;
}

.hero-trust-avatars li:first-child {
  margin-left: 0;
}

.hero-trust-avatars img {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid #fffdf9;
  background: var(--bg-strong);
  box-shadow: 0 2px 6px rgba(33, 49, 63, 0.08);
}

.hero .hero-trust-text,
.hero-trust .hero-trust-text {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .hero-trust {
    padding: 0.5rem 0.85rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero .hero-trust-text,
  .hero-trust .hero-trust-text {
    white-space: normal;
    text-align: center;
    font-size: 0.7rem;
  }
}

.audience-hero {
  padding: clamp(58px, 8vw, 110px) 0 64px;
}

.audience-hero .hero-center {
  max-width: 1120px;
}

.audience-hero h1 {
  max-width: 1040px;
  font-size: clamp(3.6rem, 8vw, 8rem);
}

.audience-visual-wrap {
  width: min(1040px, 100%);
  margin: clamp(2rem, 5vw, 3.6rem) auto 0;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow);
  text-align: left;
}

.visual-label {
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  z-index: 2;
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(33, 49, 63, 0.08);
  padding: 0.42rem 0.72rem;
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.visual-metrics {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.visual-metric {
  border: 1px solid rgba(33, 49, 63, 0.08);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.82);
  padding: 1rem;
  backdrop-filter: blur(12px);
}

.visual-metric strong {
  display: block;
  color: var(--primary);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.07em;
}

.visual-metric span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.mail-stack {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 18%;
  display: grid;
  gap: 0.9rem;
}

.mail-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  padding: 1rem;
  box-shadow: 0 18px 45px rgba(33, 49, 63, 0.08);
  transform: rotate(-1deg);
}

.mail-card.active {
  margin-left: 8%;
  border-color: rgba(57, 135, 12, 0.34);
  transform: rotate(1deg);
}

.mail-card.muted {
  margin-right: 10%;
  opacity: 0.76;
}

.mail-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.mail-card strong,
.source-tile strong {
  display: block;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.15;
  margin-top: 0.25rem;
}

.mail-card p,
.source-tile p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ─────────────── /ontwikkelaars hero — Build screenshot ─────────────── */

.build-visual {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 0;
  background: transparent;
}

.build-shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-strong);
  box-shadow: 0 30px 70px -32px rgba(33, 49, 63, 0.4);
}

.build-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.build-metrics {
  margin-top: 0.2rem;
}

.quality-visual.research-visual {
  min-height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.research-flow {
  min-height: auto;
  border: 0;
  border-radius: 0;
}

.research-flow {
  display: grid;
  gap: 0;
  background: transparent;
  padding: 0;
}

.research-step {
  position: relative;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 1rem 0 1rem 3.6rem;
}

.research-step span {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: #ffd4c5;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.research-step strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.15;
}

.research-step p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.research-step.final {
  border-bottom: 0;
}

.integration-visual {
  min-height: 420px;
  background:
    radial-gradient(circle at center, rgba(0, 89, 140, 0.16), transparent 16rem),
    var(--card);
}

.integration-node {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-weight: 850;
  box-shadow: 0 16px 42px rgba(33, 49, 63, 0.1);
}

.integration-node.center {
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  background: var(--primary);
  color: white;
  transform: translate(-50%, -50%);
}

.node-a { left: 9%; top: 18%; width: 106px; height: 106px; }
.node-b { right: 10%; top: 16%; width: 96px; height: 96px; }
.node-c { left: 12%; bottom: 14%; width: 126px; height: 126px; }
.node-d { right: 13%; bottom: 14%; width: 104px; height: 104px; }
.node-e { left: 42%; top: 8%; width: 96px; height: 96px; }

.pipeline,
.source-ladder,
.kb-bars {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  top: 5.2rem;
  display: grid;
  gap: 0.7rem;
}

.pipeline span,
.source-ladder span,
.kb-bars span {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
  padding: 0.9rem 1rem;
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(33, 49, 63, 0.06);
}

.kb-bars span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: rgba(57, 135, 12, 0.12);
}

.kb-bars span {
  z-index: 1;
}

.source-tile {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.9);
  padding: 1.1rem;
}

.source-visual {
  background:
    radial-gradient(circle at 85% 20%, rgba(0, 89, 140, 0.16), transparent 12rem),
    var(--card);
}

.blog-hub {
  padding-top: clamp(48px, 7vw, 96px);
}

.blog-head {
  max-width: 900px;
  margin-bottom: 2rem;
}

.blog-head h1 {
  margin: 0.7rem 0 0;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.blog-head p {
  max-width: 720px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--ink);
  color: white;
  padding: clamp(1.3rem, 4vw, 2.2rem);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.featured-article h2 {
  margin: 0.8rem 0 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.featured-article p {
  max-width: 720px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.74);
}

.article-topics {
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.article-topics span {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.62rem 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.blog-grid {
  margin-top: 1rem;
}

.how-page {
  padding: clamp(40px, 6vw, 72px) 0 40px;
}

.how-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.kicker {
  margin: 0;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 900;
}

.how-hero-copy h1 {
  margin: 0.9rem 0 0;
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(3rem, 6.4vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.how-hero-copy .lead {
  max-width: 640px;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.how-hero-copy .button {
  margin-top: 1.6rem;
}

.evidence-panel {
  border-left: 4px solid var(--ink);
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 14px 18px 0 rgba(57, 135, 12, 0.12);
}

.evidence-panel div {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.86rem 1rem 0.86rem 1rem;
  border-bottom: 1px solid var(--line);
}

.evidence-panel div:last-child {
  border-bottom: 0;
}

.evidence-panel span {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.evidence-panel strong {
  display: block;
  grid-column: 2;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.evidence-panel p {
  grid-column: 2;
  margin-top: 0.35rem;
  color: var(--muted);
  max-width: 34rem;
  font-size: 0.92rem;
}

.how-section {
  padding: clamp(42px, 6vw, 74px) 0;
}

.how-compare {
  display: grid;
  grid-template-columns: minmax(280px, 0.5fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.compare-copy h2,
.how-final h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.5rem, 5.6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.compare-copy p,
.how-final p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.compare-grid > div {
  padding: 1.3rem;
}

.compare-grid > div + div {
  border-left: 1px solid var(--line);
  background: rgba(0, 89, 140, 0.08);
}

.compare-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.compare-grid ul {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.how-proof {
  background: var(--ink);
  color: white;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.proof-grid article {
  background: var(--ink);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.proof-grid span {
  color: #ffd4c5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 900;
}

.proof-grid strong {
  display: block;
  margin-top: 0.8rem;
  color: white;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.how-final {
  max-width: 860px;
}

.how-final .button {
  margin-top: 1.4rem;
}

.municipal-page {
  padding: clamp(44px, 6vw, 84px) 0 46px;
}

.municipal-hero-center {
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.municipal-hero-center h1 {
  margin: 0.9rem 0 0;
  max-width: 980px;
  margin-inline: auto;
  color: var(--ink);
  font-size: clamp(2.5rem, 9vw, 8.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  overflow-wrap: break-word;
  hyphens: auto;
}

@media (min-width: 901px) {
  .municipal-hero-center h1 {
    font-size: clamp(3.4rem, 6vw, 6rem);
    line-height: 1.02;
  }
}

.municipal-hero-center .lead {
  max-width: 720px;
  margin-inline: auto;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.municipal-hero-center .hero-actions {
  justify-content: center;
  margin-top: 1.45rem;
}

.inbox-proof {
  max-width: 1080px;
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  border-left: 4px solid var(--ink);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 14px 18px 0 rgba(57, 135, 12, 0.12);
}

.proof-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
}

.proof-row:last-child {
  border-bottom: 0;
}

.proof-row span {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.proof-row strong {
  display: block;
  grid-column: 2;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.proof-row p {
  grid-column: 2;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.proof-row.highlight {
  background: rgba(0, 89, 140, 0.08);
}

.municipal-band {
  background: var(--ink);
  color: white;
  padding: 1px 0;
  margin-top: clamp(56px, 8vw, 100px);
}

.home-pricing-section {
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--bg);
}

.home-pricing-shell {
  max-width: 1180px;
  margin-inline: auto;
}

.home-pricing-heading {
  max-width: 760px;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.home-pricing-heading h2 {
  margin: 0.6rem 0 0.9rem;
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 500;
}

.home-pricing-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.home-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  align-items: stretch;
}

.home-pricing-tile {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin: 0;
  padding: clamp(1.6rem, 2.8vw, 2.2rem);
  background: #fffdf9;
  border: 1px solid rgba(33, 49, 63, 0.08);
  border-radius: 20px;
  box-shadow: 0 14px 36px -28px rgba(33, 49, 63, 0.35);
}

.home-pricing-tile .tier-meta {
  display: grid;
  gap: 0.4rem;
}

.home-pricing-tile .tier-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
}

.home-pricing-tile h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 500;
}

.home-pricing-tile .tier-price {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.home-pricing-tile .tier-price strong {
  color: var(--ink);
  font-weight: 700;
}

.home-pricing-tile .tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  flex: 1;
}

.home-pricing-tile .tier-features li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink);
  font-size: 0.93rem;
  line-height: 1.45;
}

.home-pricing-tile .tier-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.home-pricing-tile .button {
  align-self: flex-start;
}

.home-pricing-tile .tier-link {
  align-self: flex-start;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.home-pricing-tile .tier-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .home-pricing-grid {
    grid-template-columns: 1fr;
  }
}

.home-proof-section {
  padding: clamp(64px, 9vw, 112px) 0;
  background: linear-gradient(180deg, var(--bg) 0%, #fffdf9 60%, var(--bg) 100%);
}

.home-proof-shell {
  max-width: 1100px;
  margin-inline: auto;
}

.home-proof-heading {
  max-width: 760px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.home-proof-heading h2 {
  margin: 0.6rem 0 0.9rem;
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 500;
}

.home-proof-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.home-proof-stats {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(33, 49, 63, 0.08);
  border-radius: 16px;
  background: rgba(33, 49, 63, 0.08);
  overflow: hidden;
}

.home-proof-stats li {
  background: #fffdf9;
  padding: clamp(1.2rem, 2.6vw, 1.8rem) clamp(1rem, 2vw, 1.6rem);
  text-align: center;
}

.home-proof-stats strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.home-proof-stats span {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.home-proof-card {
  margin: 0;
  background: #fffdf9;
  border: 1px solid rgba(33, 49, 63, 0.08);
  border-radius: 22px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.6rem;
  box-shadow: 0 20px 50px -36px rgba(33, 49, 63, 0.35);
}

.home-proof-card blockquote {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.5;
  letter-spacing: -0.005em;
  font-weight: 500;
}

.home-proof-card blockquote p {
  margin: 0;
}

.home-proof-attribution {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.home-proof-attribution .avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  background: var(--bg-strong);
  flex-shrink: 0;
}

.home-proof-attribution div {
  text-align: left;
  display: grid;
  gap: 0.1rem;
}

.home-proof-attribution strong {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.96rem;
  font-family: Inter, sans-serif;
}

.home-proof-attribution span {
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 720px) {
  .home-proof-stats {
    grid-template-columns: 1fr;
  }
  .home-proof-grid {
    grid-template-columns: 1fr;
  }
}

.municipal-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.municipal-stats div {
  background: var(--ink);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.municipal-stats strong {
  display: block;
  color: white;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.municipal-stats span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.municipal-section {
  padding: clamp(48px, 7vw, 86px) 0;
}

.municipal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
}

.municipal-section-copy h2,
.legal-order h2,
.municipal-final h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 5.8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.municipal-section-copy p,
.municipal-final p {
  max-width: 620px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.municipal-points {
  display: grid;
  border-top: 2px solid var(--ink);
}

.municipal-points article {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.municipal-points span,
.order-lines span {
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 900;
}

.municipal-points strong {
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.18;
}

.legal-order {
  background: #fffdf9;
}

.order-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.8rem;
  background: var(--line);
}

.order-lines div {
  background: #fffdf9;
  padding: 1.2rem;
}

.order-lines p {
  margin-top: 0.65rem;
  color: var(--muted);
}

.municipal-final {
  padding-top: 24px;
  text-align: center;
}

.municipal-final p {
  margin-inline: auto;
}

.municipal-final .hero-actions {
  justify-content: center;
  margin-top: 1.45rem;
}

.municipal-final .button {
  margin-top: 1.35rem;
}

.legal-order .legal-lead {
  max-width: 720px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.pain-section {
  padding: clamp(40px, 6vw, 72px) 0;
}

.pain-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  max-width: 1180px;
  margin-inline: auto;
}

.pain-intro .eyebrow {
  color: var(--muted);
}

.pain-intro .eyebrow::before {
  background: var(--muted);
}

.pain-headline {
  margin: 0.85rem 0 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.pain-body {
  margin-top: 1.05rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 540px;
}

.pain-list {
  list-style: none;
  display: grid;
  padding: 0;
  margin: 0;
}

.pain-list li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(231, 215, 200, 0.55);
  align-items: baseline;
}

.pain-list li:last-child {
  border-bottom: 1px solid rgba(231, 215, 200, 0.55);
}

.pain-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 700;
}

.pain-list li p {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.6;
  font-weight: 450;
}

.statement-section {
  padding: clamp(56px, 8vw, 100px) 0;
}

.statement-shell {
  max-width: 920px;
  margin-inline: auto;
}

.statement-headline {
  margin: 0.85rem 0 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.statement-headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.statement-body {
  margin-top: 1.4rem;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.statement-figure {
  margin: clamp(32px, 5vw, 56px) 0 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-strong);
  box-shadow: 0 24px 60px -32px rgba(33, 49, 63, 0.35);
}

.statement-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.audit-section {
  padding: clamp(56px, 8vw, 96px) 0;
  background: #fffdf9;
}

.audit-shell {
  max-width: 880px;
  margin-inline: auto;
}

.audit-headline {
  margin: 0.6rem 0 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.audit-headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.audit-body {
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.audit-body strong {
  color: var(--ink);
  font-weight: 700;
}

.audit-body em {
  font-style: italic;
  color: var(--ink);
  font-weight: 500;
}

.testimonial-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(57, 135, 12, 0.1), transparent 24rem),
    linear-gradient(180deg, var(--bg) 0%, #f4eadf 100%);
}

.testimonial-shell {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.testimonial-shell .eyebrow {
  justify-content: center;
}

.testimonial-quote {
  position: relative;
  margin: 2.2rem 0 0;
  padding: 0 0.5rem;
  border: 0;
}

.testimonial-quote .quote-mark {
  position: absolute;
  top: -1.05em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  color: var(--accent);
  font-size: clamp(6rem, 14vw, 11rem);
  line-height: 1;
  font-weight: 600;
  font-style: italic;
}

.testimonial-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.testimonial-attribution {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.testimonial-attribution .avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

img.testimonial-attribution .avatar,
.testimonial-attribution img.avatar {
  object-fit: cover;
  object-position: center 20%;
  background: var(--bg-strong);
}

.testimonial-attribution div {
  text-align: left;
  display: grid;
  gap: 0.1rem;
}

.testimonial-attribution strong {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.96rem;
  font-family: Inter, sans-serif;
}

.testimonial-attribution span {
  color: var(--muted);
  font-size: 0.86rem;
}

.testimonial-context {
  max-width: 660px;
  margin: 1.6rem auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.testimonial-context strong {
  color: var(--ink);
  font-weight: 700;
}

.integrations-section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.integrations-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.integrations-headline {
  margin: 0.6rem 0 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.integrations-copy p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
  max-width: 480px;
}

.integrations-copy .text-link {
  display: inline-block;
  margin-top: 1.2rem;
}

.integrations-stack {
  display: grid;
  gap: 1.6rem;
}

.chip-group {
  display: grid;
  gap: 0.7rem;
}

.chip-group-label {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.int-chip {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.int-chip-native {
  border-color: var(--primary);
  background: rgba(57, 135, 12, 0.08);
  color: var(--primary-dark);
}

.int-chip-quiet {
  background: transparent;
  color: var(--muted);
  border-style: dashed;
}

.pilot-section {
  background: #fffdf9;
}

.pilot-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.6rem);
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  padding-top: 2.4rem;
}

.pilot-timeline::before {
  content: "";
  position: absolute;
  top: 1.85rem;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--line);
}

.pilot-step {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.pilot-step::before {
  content: "";
  position: absolute;
  top: -2.3rem;
  left: 0;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px #fffdf9;
}

.pilot-step span {
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
}

.pilot-step strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.22;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.pilot-step p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.pilot-step.highlight::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px #fffdf9, 0 0 0 8px rgba(0, 89, 140, 0.2);
}

@media (max-width: 840px) {
  .pilot-timeline {
    grid-template-columns: 1fr;
    padding-top: 0;
    padding-left: 1.6rem;
    gap: 1.4rem;
  }
  .pilot-timeline::before {
    top: 0.6rem;
    bottom: 0.6rem;
    left: 0.4rem;
    right: auto;
    width: 1px;
    height: auto;
  }
  .pilot-step::before {
    top: 0.35rem;
    left: -1.6rem;
  }
}

.quality-engine {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  border-radius: 38px;
  padding: clamp(1rem, 4vw, 2rem);
  background:
    radial-gradient(circle at 20% 20%, rgba(57, 135, 12, 0.16), transparent 18rem),
    linear-gradient(135deg, #fffdf9 0%, #f4eadf 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quality-core {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 30px;
  background: var(--ink);
  color: white;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.quality-core span {
  color: #ffd4c5;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 850;
}

.quality-core strong {
  display: block;
  margin-top: 0.8rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.quality-core p {
  max-width: 420px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.quality-track {
  position: relative;
  display: grid;
  gap: 0.8rem;
}

.quality-track::before {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: 0.5;
}

.quality-step {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid rgba(231, 215, 200, 0.86);
  padding: 1rem;
  box-shadow: 0 14px 34px rgba(20, 40, 60, 0.06);
}

.quality-number {
  position: relative;
  z-index: 1;
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: white;
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 0.82rem;
  box-shadow: 0 10px 26px rgba(20, 40, 60, 0.08);
}

.quality-step h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.quality-step p {
  margin-top: 0.42rem;
  color: var(--muted);
}

.quality-step.featured {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.quality-step.featured .quality-number {
  color: var(--accent);
}

.quality-step.featured h3,
.quality-step.featured p {
  color: white;
}

.hero-panel,
.card,
.lead-form,
.rail,
.table-wrap,
.chat-box {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 18px 50px rgba(20, 40, 60, 0.06);
}

.hero-panel {
  border-radius: 30px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.hero-question {
  overflow: hidden;
  border: 1px solid rgba(33, 49, 63, 0.12);
  border-radius: 21px;
  background: white;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  text-align: left;
}

.hero-composer-wrap .hero-question {
  border-radius: 26px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.14);
}

.composer-field {
  padding: 0.86rem 1rem 0.58rem;
}

.hero-composer-wrap .composer-field {
  padding: 1.1rem 1.25rem 0.75rem;
}

.hero-question textarea {
  width: 100%;
  height: 30px;
  min-height: 30px;
  max-height: 220px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.96rem;
  line-height: 1.5;
  resize: none;
  outline: 0;
  overflow-y: auto;
}

.hero-composer-wrap .hero-question textarea {
  min-height: 36px;
  font-size: 1.08rem;
}

.hero-question textarea::placeholder {
  color: #9aa4ad;
}

.composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(33, 49, 63, 0.08);
  padding: 0.55rem 0.75rem;
}

.hero-composer-wrap .composer-actions {
  padding: 0.72rem 0.95rem;
}

.composer-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  min-width: 0;
}

.composer-hint-icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--accent);
}

@media (max-width: 560px) {
  .composer-hint {
    font-size: 0.9rem;
  }
  .composer-hint-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.composer-send {
  border: 0;
  cursor: pointer;
  font: inherit;
  flex: 0 0 auto;
}

.hero-composer-wrap .composer-send {
  width: 46px;
  height: 46px;
}

.composer-send {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, #003d63 100%);
  box-shadow: 0 12px 28px rgba(0, 89, 140, 0.28);
}

.composer-send svg {
  width: 19px;
  height: 19px;
}

.plot-section {
  padding-top: 16px;
}

.plot-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.canvas-shell {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.canvas-shell img {
  display: block;
  width: 100%;
  height: auto;
}

.plot-preview {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f7efe5;
  padding: 0.85rem;
}

.plot-preview.wide {
  border-radius: 34px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.map-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}

.map-canvas {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(33, 49, 63, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(33, 49, 63, 0.06) 1px, transparent 1px),
    #fbf8f3;
  background-size: 34px 34px;
}

.plot-preview.wide .map-canvas {
  min-height: clamp(340px, 32vw, 470px);
  border-radius: 26px;
  background-size: 42px 42px;
}

.map-road {
  position: absolute;
  background: rgba(101, 114, 125, 0.2);
}

.road-one {
  width: 44px;
  height: 130%;
  left: 18%;
  top: -15%;
  transform: rotate(19deg);
}

.road-two {
  width: 130%;
  height: 38px;
  left: -12%;
  top: 62%;
  transform: rotate(-8deg);
}

.plot-shape {
  position: absolute;
  left: 35%;
  top: 24%;
  width: 35%;
  height: 44%;
  display: grid;
  place-items: center;
  border: 3px solid var(--primary);
  border-radius: 24% 14% 22% 16%;
  background: rgba(57, 135, 12, 0.16);
  color: var(--primary-dark);
  font-weight: 850;
  transform: rotate(-7deg);
  box-shadow: 0 16px 36px rgba(57, 135, 12, 0.18);
}

.rule-layer {
  position: absolute;
  border-radius: 999px;
  padding: 0.42rem 0.62rem;
  color: white;
  font-size: 0.78rem;
  font-weight: 850;
  box-shadow: 0 14px 28px rgba(33, 49, 63, 0.16);
}

.layer-bbl {
  left: 10%;
  top: 14%;
  background: var(--accent);
}

.layer-plan {
  right: 8%;
  top: 18%;
  background: var(--primary);
}

.layer-local {
  right: 14%;
  bottom: 14%;
  background: #55708a;
}

.map-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  list-style: none;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.map-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.legend-dot.plan {
  background: var(--primary);
}

.legend-dot.local {
  background: #55708a;
}

.source-card {
  border-radius: 24px;
  background: var(--ink);
  color: white;
  padding: 1.25rem;
}

.source-card + .source-card {
  margin-top: 0.8rem;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
}

.source-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}

.source-card + .source-card span {
  color: var(--muted);
}

.source-card strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.18;
}

.section {
  padding: 54px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin-top: 0.7rem;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
}

.section-heading p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  border-radius: 28px;
  padding: 1.3rem;
}

.card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.card p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.card ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.card li {
  display: flex;
  gap: 0.5rem;
  color: var(--ink);
}

.card li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.stat {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 2.2rem;
  font-weight: 850;
  letter-spacing: -0.07em;
}

.text-link {
  display: inline-flex;
  margin-top: 1.1rem;
  color: var(--primary-dark);
  font-weight: 760;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: 1rem;
}

.split-copy {
  border-radius: 34px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background: var(--ink);
  color: white;
}

.split-copy h2 {
  color: white;
  font-size: clamp(2rem, 5vw, 4rem);
}

.split-copy p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.split-list {
  list-style: none;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.split-list li {
  border-radius: 18px;
  background: var(--bg);
  padding: 1rem;
  color: var(--ink);
  font-weight: 650;
}

.steps {
  counter-reset: steps;
}

.step {
  counter-increment: steps;
}

.step::before {
  content: counter(steps, decimal-leading-zero);
  display: inline-flex;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 26px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--primary-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

tr:last-child td {
  border-bottom: 0;
}

.chat-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1rem;
}

.chat-box {
  min-height: 500px;
  border-radius: 32px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  display: grid;
  align-content: start;
  gap: 1rem;
}

.message {
  max-width: 72%;
  border-radius: 22px;
  padding: 1rem;
  background: var(--bg);
}

.message.bot {
  background: var(--ink);
  color: white;
}

.chat-input {
  margin-top: auto;
  display: flex;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem;
  background: white;
}

.chat-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 0.8rem;
  font: inherit;
}

.rail {
  border-radius: 30px;
  padding: 1.2rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.72rem;
  background: var(--bg);
  color: var(--ink);
  font-weight: 650;
  font-size: 0.9rem;
}

.lead-form {
  display: grid;
  gap: 0.9rem;
  max-width: 760px;
  border-radius: 32px;
  padding: clamp(1rem, 4vw, 2rem);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 0.85rem 1rem;
}

.lead-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  color: var(--accent);
  font-weight: 750;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  max-width: 860px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  padding: 1rem 1.15rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.article-body {
  max-width: 820px;
  display: grid;
  gap: 2rem;
}

.article-body h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.article-body p + p {
  margin-top: 0.8rem;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: white;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.7fr);
  gap: 2rem;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-brand {
  color: white;
  margin-bottom: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 1360px);
  }

  .main-nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-shell {
    justify-content: space-between;
  }

  .hero-grid,
  .split-panel,
  .chat-shell,
  .footer-grid,
  .plot-section-grid,
  .quality-visual,
  .quality-visual.research-visual,
  .featured-article,
  .quality-engine,
  .how-shell,
  .how-compare,
  .compare-grid,
  .proof-grid,
  .municipal-hero,
  .municipal-stats,
  .municipal-grid,
  .order-lines,
  .pain-shell,
  .integrations-shell {
    grid-template-columns: 1fr;
  }

  .pain-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .audience-hero h1,
  .hero-center h1 {
    font-size: clamp(3.3rem, 17vw, 6rem);
  }

  .hero-visual {
    min-height: 360px;
  }

  .audience-visual-wrap {
    margin-top: 1.5rem;
  }

  .visual-metrics {
    grid-template-columns: 1fr;
  }

  .research-flow {
    min-height: auto;
  }

  .quality-core {
    min-height: auto;
  }

  .evidence-panel {
    box-shadow: 10px 14px 0 rgba(57, 135, 12, 0.12);
  }

  .compare-grid > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .municipal-points article {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .integration-node.center {
    width: 122px;
    height: 122px;
  }

  .node-a,
  .node-b,
  .node-c,
  .node-d,
  .node-e {
    width: 86px;
    height: 86px;
    font-size: 0.78rem;
  }

  .map-legend {
    grid-template-columns: 1fr;
  }

  .message {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* ─────────────── Hero variants (per-page) ─────────────── */

.hero-simple {
  padding: clamp(72px, 9vw, 120px) 0 clamp(40px, 6vw, 72px);
  text-align: center;
}

.hero-simple .hero-center {
  max-width: 760px;
  margin-inline: auto;
}

.hero-simple h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0.4rem 0 0.9rem;
  color: var(--ink);
}

.hero-simple p {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.18rem);
  line-height: 1.6;
}

.hero-simple .hero-actions {
  margin-top: 1.6rem;
  justify-content: center;
}

/* ─────────────── /bronnen hero visual ─────────────── */

.source-visual .source-stack {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.source-visual .source-stack li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(33, 49, 63, 0.1);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.85);
}

.source-visual .source-stack strong {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  font-family: Inter, sans-serif;
}

.source-visual .source-stack span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

/* ─────────────── /burger/pro-rapport hero visual ─────────────── */

.report-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-card {
  width: 100%;
  max-width: 420px;
  background: #fffdf9;
  border: 1px solid rgba(33, 49, 63, 0.1);
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 24px 60px -28px rgba(33, 49, 63, 0.35);
  display: grid;
  gap: 1rem;
}

.report-card .report-header {
  display: grid;
  gap: 0.3rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(33, 49, 63, 0.08);
}

.report-card .report-tag {
  display: inline-block;
  width: max-content;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.report-card .report-header strong {
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  font-family: Inter, sans-serif;
}

.report-card .report-body {
  display: grid;
  gap: 0.85rem;
}

.report-card .report-row {
  display: grid;
  gap: 0.18rem;
}

.report-card .report-row span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
}

.report-card .report-row p {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.report-card .report-footer {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(33, 49, 63, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
}

/* ─────────────── Mobile menu ─────────────── */

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(33, 49, 63, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.85);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  z-index: 1010;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }
}

.nav-toggle:hover {
  background: #fffdf9;
  border-color: rgba(33, 49, 63, 0.22);
}

.nav-toggle:active {
  transform: scale(0.96);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.nav-toggle-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.18s ease,
    top 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle-bar:nth-child(1) { top: 0; }
.nav-toggle-bar:nth-child(2) { top: 6px; }
.nav-toggle-bar:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* Full-screen menu — sharp edges, edge-to-edge, cream paper.
   No opacity transition on the container: it's display:none vs display:flex,
   a hard switch. All motion happens via WAAPI on the inner elements, which
   are pre-positioned above the viewport so the menu appears with nothing
   on screen, then everything drops into place with gravity. */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  flex-direction: column;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 92% 6%, rgba(0, 89, 140, 0.06), transparent 50%),
    radial-gradient(circle at 6% 96%, rgba(196, 89, 58, 0.05), transparent 50%);
  display: none;
  overflow: hidden; /* clip the off-screen items above the bar */
  /* sharp rectangles — no border-radius anywhere */
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu.is-open {
  display: flex;
}

/* Top bar — brand left, X close right */
.mobile-menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem clamp(20px, 5vw, 28px);
  min-height: 76px;
  border-bottom: 1px solid rgba(33, 49, 63, 0.08);
  flex-shrink: 0;
}

.mobile-menu-brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}

.mobile-menu-brand .brand-accent {
  font-weight: 800;
  color: var(--accent);
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(33, 49, 63, 0.12);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.mobile-menu-close:hover,
.mobile-menu-close:focus-visible {
  background: rgba(33, 49, 63, 0.05);
  border-color: rgba(33, 49, 63, 0.25);
}

.mobile-menu-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mobile-menu-close svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Nav list — full-width rows, hairline dividers, no rounded corners */
.mobile-menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(8px, 2vw, 16px) clamp(20px, 5vw, 28px);
  overflow-y: auto;
}

.mobile-menu-nav a {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: clamp(0.95rem, 2.4vw, 1.25rem) 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 5vw, 1.85rem);
  letter-spacing: -0.012em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(33, 49, 63, 0.08);
  transition: color 0.15s ease;
}

.mobile-menu-nav a:last-child {
  border-bottom: 0;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus-visible {
  color: var(--accent);
}

.mobile-menu-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mobile-menu-nav a::after {
  content: "→";
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.mobile-menu-nav a:hover::after {
  opacity: 1;
  transform: translateX(4px);
  color: var(--accent);
}

.mobile-menu-num {
  font-family: var(--how-mono, ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(33, 49, 63, 0.14);
  background: transparent;
  width: max-content;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.mobile-menu-nav a:hover .mobile-menu-num {
  color: var(--accent);
  border-color: var(--accent);
}

.mobile-menu-label {
  display: inline-block;
}

/* Active route accent */
.mobile-menu-nav a.is-active {
  color: var(--accent);
}

.mobile-menu-nav a.is-active .mobile-menu-num {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
}

.mobile-menu-nav a.is-active::after {
  content: "·";
  opacity: 1;
  transform: none;
  color: var(--accent);
  font-size: 1.6rem;
  line-height: 1;
}

/* Footer — CTA + meta line */
.mobile-menu-foot {
  flex-shrink: 0;
  padding: clamp(16px, 4vw, 24px) clamp(20px, 5vw, 28px) calc(clamp(20px, 4vw, 28px) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(33, 49, 63, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-menu-cta {
  align-self: stretch;
  text-align: center;
  font-size: 1rem;
  padding: 1rem 1.4rem;
  border-radius: 0; /* sharp */
}

.mobile-menu-meta {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-display);
}

html.mobile-menu-open,
body.mobile-menu-open {
  overflow: hidden;
}

@media (min-width: 901px) {
  .mobile-menu,
  .nav-toggle {
    display: none !important;
  }
  .mobile-menu[hidden] {
    display: none !important;
  }
  html.mobile-menu-open,
  body.mobile-menu-open {
    overflow: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bar,
  .mobile-menu,
  .mobile-menu-nav a,
  .mobile-menu-cta,
  .mobile-menu-close {
    transition-duration: 0.01ms !important;
    transition-delay: 0 !important;
  }
}

/* ════════════════════════════════════════════════════════════
   /hoe-het-werkt — editorial trust document
   Inspired by Dutch civic nota typography meets editorial long-read.
   Tokens: --ink #21313f, --muted #65727d, --accent #00598c,
           --bg #fbf8f3, --bg-strong #f4eadf, Vollkorn (display).
   ════════════════════════════════════════════════════════════ */

:root {
  --how-paper: #fffdf9;
  --how-rule: rgba(33, 49, 63, 0.12);
  --how-rule-soft: rgba(33, 49, 63, 0.07);
  --how-rule-strong: rgba(33, 49, 63, 0.25);
  --how-accent-soft: rgba(0, 89, 140, 0.08);
  --how-accent-mid: rgba(0, 89, 140, 0.18);
  --how-mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* ─────── Reveal ─────── */
@keyframes howReveal {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────── Section heads (shared) ─────── */
.how-section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}

.how-section-head .how-section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 0.85rem;
  padding: 0.18rem 0.7rem;
  border: 1px solid var(--how-accent-mid);
  border-radius: 999px;
  background: var(--how-accent-soft);
}

.how-section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 0.85rem;
}

.how-section-head h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.how-section-head p {
  margin: 0 auto;
  max-width: 600px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
}

/* ════════════ Editorial hero ════════════ */
.how-editorial {
  padding: clamp(88px, 12vw, 152px) 0 clamp(56px, 8vw, 96px);
  background: linear-gradient(180deg, var(--bg) 0%, var(--how-paper) 100%);
  border-bottom: 1px solid var(--how-rule-soft);
}

.how-editorial-shell {
  max-width: 920px;
  margin-inline: auto;
}

.how-editorial-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: clamp(1.8rem, 3vw, 2.4rem);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.how-editorial-tag {
  font-weight: 700;
  color: var(--accent);
}

.how-editorial-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.how-editorial-h1 {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.028em;
  color: var(--ink);
  max-width: 860px;
}

.how-editorial-h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.how-editorial-lead {
  margin: 0 0 clamp(2.8rem, 5vw, 3.6rem);
  max-width: 620px;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.82;
}

/* Substantive differentiator block under the hero lead — replaces the old
   decorative table-of-contents index. 2x2 on desktop, stacked on mobile.
   Hairline borders, no hover transforms, no animation. */
.how-claims {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--how-rule);
  margin-top: clamp(2rem, 4vw, 2.8rem);
}

.how-claim {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: clamp(1.4rem, 2.6vw, 2rem) 1.4rem clamp(1.4rem, 2.6vw, 2rem) 0;
  border-bottom: 1px solid var(--how-rule);
}

.how-claim:nth-child(odd) {
  border-right: 1px solid var(--how-rule);
  padding-left: 0;
  padding-right: clamp(1.4rem, 3vw, 2.4rem);
}

.how-claim:nth-child(even) {
  padding-left: clamp(1.4rem, 3vw, 2.4rem);
  padding-right: 0;
}

.how-claim-num {
  font-family: var(--how-mono, ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding-top: 0.4rem;
}

.how-claim-body h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.how-claim-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.how-claim-body p strong {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 720px) {
  .how-claims {
    grid-template-columns: 1fr;
  }
  .how-claim,
  .how-claim:nth-child(odd),
  .how-claim:nth-child(even) {
    padding: clamp(1.2rem, 4vw, 1.6rem) 0;
    border-right: 0;
  }
  .how-claim:last-child {
    border-bottom: 0;
  }
}

/* ════════════ I. Protocol — 4 steps ════════════ */
.how-protocol {
  padding: clamp(80px, 10vw, 128px) 0;
  background: var(--bg);
}

.how-protocol-shell {
  max-width: 1180px;
  margin-inline: auto;
}

.how-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
  counter-reset: how-flow;
}

/* Horizontal connector line on desktop */
.how-flow::before {
  content: "";
  position: absolute;
  top: 31px;
  left: calc(100% / 8);
  right: calc(100% / 8);
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--how-rule-strong) 0,
    var(--how-rule-strong) 4px,
    transparent 4px,
    transparent 9px
  );
  z-index: 0;
}

.how-step {
  position: relative;
  padding: 0 1.4rem;
  border-left: 1px solid var(--how-rule-soft);
  animation: howReveal 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--step-delay, 0ms);
}

/* First/last step alignment tweaks only apply on the desktop 4-column grid.
   On mobile the layout is a vertical stepper where every step needs the same
   left padding so the body clears the absolutely-positioned numeral circle. */
@media (min-width: 901px) {
  .how-step:first-child {
    border-left: 0;
    padding-left: 0;
  }
  .how-step:last-child {
    padding-right: 0;
  }
}

.how-step-rail {
  position: relative;
  z-index: 1;
  margin-bottom: 1.4rem;
}

.how-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--how-paper);
  border: 1px solid var(--how-rule-strong);
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: 0 0 0 6px var(--bg);
}

.how-step-body h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.32rem;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.how-step-body p {
  margin: 0 0 1.1rem;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ─── Screenshot gallery for the four protocol steps ─── */
.how-shots {
  padding: clamp(48px, 7vw, 90px) 0;
  background: var(--bg);
}

.how-shots-shell {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.how-shots-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 2.4vw, 2.4rem);
}

.how-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.how-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(33, 49, 63, 0.08);
}

.how-shot figcaption {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.how-shot-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .how-shots-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Audit-log figure inside Data section ─── */
.how-data-figure {
  margin: 2.4rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  grid-column: 1 / -1;
}

.how-data-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(33, 49, 63, 0.08);
}

.how-data-figure figcaption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
}

.how-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.how-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.6rem;
  border: 1px solid var(--how-rule);
  border-radius: 6px;
  background: var(--how-paper);
  color: var(--ink);
  font-family: var(--how-mono);
  font-size: 0.74rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.how-source-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.how-source-badge-strong {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.2rem 0.7rem;
}

.how-source-badge-accent {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--how-accent-soft);
}

.how-source-badge-law {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0.22rem 0.7rem;
}

/* ════════════ II. OPA/BTA sequence ════════════ */
.how-sequence {
  padding: clamp(80px, 10vw, 128px) 0;
  background: var(--how-paper);
  border-top: 1px solid var(--how-rule-soft);
  border-bottom: 1px solid var(--how-rule-soft);
}

.how-sequence-shell {
  max-width: 1100px;
  margin-inline: auto;
}

.how-sequence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}

.how-sequence-col {
  position: relative;
  padding: clamp(28px, 3.5vw, 40px);
  background: var(--bg);
  border: 1px solid var(--how-rule);
  border-radius: 4px;
}

.how-sequence-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  opacity: 0.5;
}

.how-sequence-label {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding-bottom: 1.6rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--how-rule);
}

.how-sequence-letter {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1;
}

.how-sequence-label h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.how-sequence-label p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.how-chain {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.1rem;
  position: relative;
}

.how-chain li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1rem;
  align-items: flex-start;
}

.how-chain-num {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--how-accent-soft);
  color: var(--accent);
  font-family: var(--how-mono);
  font-size: 0.84rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.how-chain li > div strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.04rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.how-chain li > div span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ════════════ III. Bewijsbaarheid table ════════════ */
.how-bewijs {
  padding: clamp(80px, 10vw, 128px) 0;
  background: var(--bg);
}

.how-bewijs-shell {
  max-width: 1080px;
  margin-inline: auto;
}

.how-bewijs-table {
  border: 1px solid var(--how-rule);
  background: var(--how-paper);
  border-radius: 4px;
  overflow: hidden;
}

.how-bewijs-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(16px, 2.4vw, 32px);
  padding: clamp(1rem, 2vw, 1.4rem) clamp(1.2rem, 2.4vw, 1.8rem);
  border-bottom: 1px solid var(--how-rule-soft);
  align-items: center;
}

.how-bewijs-row:last-child {
  border-bottom: 0;
}

.how-bewijs-row > span {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ink);
}

.how-bewijs-head {
  background: var(--ink);
  color: white;
  border-bottom-color: var(--ink);
}

.how-bewijs-head > span {
  color: white;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.88;
}

.how-bewijs-row code {
  display: inline-block;
  font-family: var(--how-mono);
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--bg);
  padding: 0.18rem 0.4rem;
  border: 1px solid var(--how-rule-soft);
  border-radius: 3px;
  word-break: break-all;
}

.how-bewijs-foot {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  font-style: italic;
}

/* ════════════ IV. Compare cards ════════════ */
.how-compare-v2 {
  padding: clamp(80px, 10vw, 128px) 0;
  background: var(--how-paper);
  border-top: 1px solid var(--how-rule-soft);
  border-bottom: 1px solid var(--how-rule-soft);
}

.how-compare-shell {
  max-width: 1180px;
  margin-inline: auto;
}

.how-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.8vw, 40px);
  align-items: stretch;
}

.how-compare-card {
  position: relative;
  padding: clamp(28px, 3.6vw, 44px);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  border: 1px solid var(--how-rule);
}

.how-compare-card-against {
  background: var(--bg-strong);
  color: var(--ink);
  opacity: 0.96;
}

.how-compare-card-against::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(33, 49, 63, 0.025) 0, rgba(33, 49, 63, 0.025) 1px, transparent 1px, transparent 8px);
  pointer-events: none;
  border-radius: inherit;
}

.how-compare-card-for {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  box-shadow: 0 30px 60px -32px rgba(33, 49, 63, 0.5);
}

.how-compare-cardhead {
  border-bottom: 1px solid var(--how-rule);
  padding-bottom: 1.2rem;
}

.how-compare-card-for .how-compare-cardhead {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.how-compare-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  border: 1px solid currentColor;
}

.how-compare-card-against .how-compare-tag {
  color: var(--muted);
  opacity: 0.85;
}

.how-compare-card-for .how-compare-tag {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.3);
}

.how-compare-cardhead h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.018em;
}

.how-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.95rem;
  font-size: 0.96rem;
  line-height: 1.55;
}

.how-compare-list li {
  position: relative;
  padding-left: 1.6rem;
}

.how-compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.8rem;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.how-compare-card-against .how-compare-list li strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

.how-compare-card-for .how-compare-list {
  color: rgba(255, 255, 255, 0.84);
}

.how-compare-card-for .how-compare-list li strong {
  color: white;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

/* ════════════ V. Data, audit ════════════ */
.how-data {
  padding: clamp(80px, 10vw, 128px) 0;
  background: var(--bg);
}

.how-data-shell {
  max-width: 1080px;
  margin-inline: auto;
}

.how-data-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.how-data-copy p {
  margin: 0 0 1.1rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
}

.how-data-copy p:last-child {
  margin-bottom: 0;
}

.how-data-copy p strong {
  font-weight: 700;
}

.how-data-pills {
  list-style: none;
  padding: clamp(20px, 2.4vw, 28px);
  margin: 0;
  background: var(--how-paper);
  border: 1px solid var(--how-rule);
  border-radius: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
}

.how-data-pills::before {
  content: "Garanties";
  position: absolute;
  top: -0.65rem;
  left: 1.2rem;
  padding: 0 0.5rem;
  background: var(--bg);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.how-data-pills li {
  padding: 0.4rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--how-rule-soft);
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--ink);
  font-family: var(--how-mono);
}

/* ════════════ Inline "wet verandert" callout ════════════ */
.how-change {
  padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 112px);
  background: var(--bg);
}

.how-change-shell {
  max-width: 920px;
  margin-inline: auto;
}

.how-change-quote {
  position: relative;
  padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px) clamp(48px, 6vw, 72px);
  background: var(--how-paper);
  border-left: 4px solid var(--accent);
  border-radius: 0 4px 4px 0;
}

.how-change-quote::before {
  content: "?";
  position: absolute;
  top: 12px;
  left: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.22;
}

.how-change-q {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  line-height: 1.3;
  color: var(--ink);
}

.how-change-a {
  margin: 0;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink);
  opacity: 0.84;
}

.how-change-a em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

/* ════════════ Responsive: tablet ════════════ */
@media (max-width: 900px) {
  .how-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .how-flow::before {
    top: 0;
    bottom: 0;
    left: 30px;
    right: auto;
    width: 1px;
    height: auto;
    background: repeating-linear-gradient(
      to bottom,
      var(--how-rule-strong) 0,
      var(--how-rule-strong) 4px,
      transparent 4px,
      transparent 9px
    );
  }
  .how-step {
    padding: 0 0 2.4rem 76px;
    border-left: 0;
    position: relative;
  }
  .how-step:last-child {
    padding-bottom: 0;
  }
  .how-step-rail {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }

  .how-sequence-grid {
    grid-template-columns: 1fr;
  }

  .how-compare-grid {
    grid-template-columns: 1fr;
  }

  .how-data-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════ Responsive: phone ════════════ */
@media (max-width: 560px) {
  .how-editorial-h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .how-editorial-index li {
    grid-template-columns: 48px 1fr;
    gap: 0.85rem;
    font-size: 0.88rem;
  }

  /* Protocol flow: shrink the rail + numeral so the body has room to breathe */
  .how-flow::before {
    left: 22px;
  }

  .how-step {
    padding: 0 0 2rem 58px;
  }

  .how-step-num {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
    box-shadow: 0 0 0 4px var(--bg);
  }

  .how-step-rail {
    margin-bottom: 1rem;
  }

  .how-step-body h3 {
    font-size: 1.18rem;
    letter-spacing: -0.008em;
    margin-bottom: 0.55rem;
  }

  .how-step-body p {
    font-size: 0.94rem;
    line-height: 1.55;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }

  /* Source-badge row: allow wrapping cleanly on narrow widths */
  .how-source-row {
    gap: 0.35rem;
  }

  .how-source-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }

  .how-bewijs-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .how-bewijs-head {
    display: none;
  }
  .how-bewijs-row > span:nth-child(2)::before {
    content: "Bron · ";
    color: var(--muted);
    font-style: italic;
    font-family: var(--font-display);
  }
  .how-bewijs-row > span:nth-child(3)::before {
    content: "Herleidbaar · ";
    color: var(--muted);
    font-style: italic;
    font-family: var(--font-display);
  }
}

/* ════════════ Extra-narrow safety net (≤380px) ════════════ */
@media (max-width: 380px) {
  .how-step {
    padding-left: 52px;
  }
  .how-flow::before {
    left: 20px;
  }
  .how-step-num {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-step {
    animation: none !important;
  }
}

/* ════════════════════════════════════════════════════════════
   Homepage editorial sections (Gemeenten-style vocabulary)
   ════════════════════════════════════════════════════════════ */

/* Editorial stats band on the homepage — Vollkorn italic display numerals on
   dark ink. Three columns desktop, stacked on phone. Hairline dividers. */
.home-stats-band {
  margin-top: clamp(56px, 8vw, 100px);
  background: var(--ink);
  color: white;
  padding: 1px 0;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.home-stats > article {
  background: var(--ink);
  padding: clamp(2rem, 4.4vw, 3.2rem) clamp(1.4rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.home-stat-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: white;
}

.home-stat-num sup {
  font-size: 0.42em;
  vertical-align: super;
  margin-left: 0.06em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

.home-stat-word {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.6vw, 1.34rem);
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.55);
}

.home-stat-explain {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 30ch;
}

@media (max-width: 720px) {
  .home-stats {
    grid-template-columns: 1fr;
  }
  .home-stats > article {
    padding: clamp(1.6rem, 6vw, 2rem) clamp(1.2rem, 5vw, 1.8rem);
  }
}

.home-audiences-section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.home-audiences-shell {
  max-width: 1180px;
  margin-inline: auto;
}

.home-audiences-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
  align-items: stretch;
  margin-top: clamp(40px, 5vw, 64px);
}

.audience-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 0;
  padding: clamp(28px, 3.4vw, 40px);
  background: #fffdf9;
  border: 1px solid rgba(33, 49, 63, 0.1);
  border-radius: 4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.audience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  opacity: 0.45;
  transition: opacity 0.25s ease;
}

.audience-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px -32px rgba(33, 49, 63, 0.4);
}

.audience-card:hover::before {
  opacity: 0.9;
}

.audience-card-featured {
  background: var(--bg-strong);
}

.audience-card-featured::before {
  background: var(--ink);
  opacity: 0.85;
}

.audience-card-head {
  display: grid;
  gap: 0.45rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(33, 49, 63, 0.08);
}

.audience-card-tag {
  display: inline-block;
  width: max-content;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.audience-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.audience-card h3 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.audience-card-body {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.audience-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  flex: 1;
}

.audience-card-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--ink);
}

.audience-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.8rem;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
}

.audience-card-link {
  align-self: flex-start;
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}

.audience-card-link:hover {
  color: var(--ink);
}

@media (max-width: 900px) {
  .home-audiences-grid {
    grid-template-columns: 1fr;
  }
}
