/*
Theme Name: bluectnew
Theme URI: https://bluect.nl
Author: BlueCT
Description: Custom classic PHP theme for BlueCT. Content lives in SCF fields. SmartCrawl owns SEO; Forminator owns forms.
Version: 1.0.0
Text Domain: bluectnew
*/

/* Concept: "Precision commerce" — an electric-blue system on ink-on-mist, Archivo
   display over Hanken Grotesk body, hairline structure and soft ambient cards.
   Every page is a calm, honest argument that terminates in one EUR 95 deposit.
   Signature details: (1) a thin accent top-border on the elevated price card and
   a small hairline "focal" rule under every eyebrow; (2) the accent-green
   guarantee bar as the single, reserved use of the brand green. */

/* ---------- Self-hosted fonts (woff2, latin, variable) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/archivo-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/hanken-latin.woff2') format('woff2');
}
/* Matched fallback metrics so font-swap does not shift layout (CLS < 0.1) */
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial');
  size-adjust: 105%;
  ascent-override: 87.8%;
  descent-override: 21%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Hanken Fallback';
  src: local('Arial');
  size-adjust: 100%;
  ascent-override: 100%;
  descent-override: 30.3%;
  line-gap-override: 0%;
}

/* ---------- Design tokens ---------- */
:root {
  /* brand palette (verified, non-negotiable) */
  --primary: #335eea;
  --primary-dark: #1f3fb0;
  --accent: #42ba96;      /* FILL only */
  --accent-ink: #1d6b52;  /* accent TEXT */
  --ink: #0d1117;
  --muted: #5f6a7d;
  --subhead: #869ab8;     /* only on dark grounds / large */
  --tint: #edf3ff;
  --page-bg: #f9fbfd;
  --surface: #ffffff;
  --line: #dfe5f2;

  /* button tokens */
  --btn-fill: var(--primary);
  --btn-label: #ffffff;

  /* fonts */
  --font-display: 'Archivo', 'Archivo Fallback', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', 'Hanken Fallback', system-ui, sans-serif;

  /* fluid type scale */
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);   /* body min 16px */
  --step-1: clamp(1.125rem, 1.06rem + 0.35vw, 1.3125rem);
  --step-2: clamp(1.3rem, 1.18rem + 0.6vw, 1.6rem);
  --step-3: clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
  --step-4: clamp(1.9rem, 1.55rem + 1.8vw, 2.9rem);
  --step-5: clamp(2.05rem, 1.6rem + 3vw, 4.05rem);

  /* spacing */
  --space-1: .5rem;  --space-2: .75rem; --space-3: 1rem; --space-4: 1.5rem;
  --space-5: 2rem;   --space-6: 3rem;   --space-7: 4.5rem; --space-8: 7rem;

  --radius: 8px;      /* cards */
  --radius-btn: 12px; /* buttons */
  --shadow: 0 18px 40px -24px rgba(13,17,23,.28), 0 2px 8px -4px rgba(13,17,23,.12);
  --container: 1280px;
  --measure: 760px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-3);
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-weight: 600; }
h4 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0 0 var(--space-3); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a > svg, button > svg, p svg, li svg, .chip svg, label svg {
  display: inline-block; vertical-align: middle;
}
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 2px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 5vw, 2rem); }
main { display: block; }
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: var(--subhead); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--subhead); }
.section--dark a { color: #fff; }
.stack > * + * { margin-top: var(--space-3); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--primary);
  margin: 0 0 var(--space-3);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--primary); border-radius: 2px; display: inline-block; }
.section--dark .eyebrow { color: #fff; }
.section--dark .eyebrow::before { background: var(--accent); }
.lead { font-size: var(--step-1); color: var(--muted); }
.section-head { max-width: 720px; margin-bottom: var(--space-6); }

/* long-form reading measure — centered */
.prose--longform { max-width: var(--measure); margin-inline: auto; text-align: left; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin-top: var(--space-5); }
.prose p { margin-bottom: var(--space-3); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--space-3); }
.prose li { margin-bottom: .4rem; }
.prose ul li::marker { color: var(--primary); }
.prose ul ul li::marker { color: var(--subhead); }
.prose blockquote { margin: var(--space-4) 0; padding-left: var(--space-3); border-left: 3px solid var(--line); color: var(--muted); font-style: italic; }
.prose a { text-decoration: underline; }
.table-scroll { overflow-x: auto; margin: var(--space-4) 0; }
.prose table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.prose th, .prose td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; word-break: break-word; }
.prose th { font-family: var(--font-display); color: var(--ink); border-bottom: 2px solid var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 11px 22px; border-radius: var(--radius-btn); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.2; text-align: center;
  transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--btn-fill); color: var(--btn-label); }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--secondary { background: var(--tint); color: var(--primary-dark); border-color: var(--line); }
.btn--secondary:hover { background: #e2ebff; color: var(--primary-dark); }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--line); }
.btn--ghost:hover { background: var(--tint); color: var(--primary-dark); }
.btn--lg { font-size: 1.0625rem; padding: 14px 28px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.text-link { font-weight: 500; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.micro { font-size: .9rem; color: var(--muted); margin-top: var(--space-2); }

/* ---------- Header ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: .75rem 1rem; z-index: 2000; border-radius: 0 0 var(--radius) 0; }
.skip-link:focus { left: 0; }

.utility-bar { display: none; background: var(--ink); color: var(--subhead); font-size: .85rem; }
.utility-bar .container { display: flex; justify-content: flex-end; gap: var(--space-4); padding-block: .4rem; }
.utility-bar a { color: #fff; display: inline-flex; align-items: center; gap: .4rem; }
@media (min-width: 900px) { .utility-bar { display: block; } }

.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: .85rem; }
.brand { display: inline-flex; align-items: center; flex-direction: column; align-items: flex-start; gap: 2px; }
.brand img, .brand svg.brand-mark { height: clamp(30px, 4vw, 44px); width: auto; max-width: 190px; object-fit: contain; }
.brand .slogan { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.nav-menu { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1rem; white-space: nowrap; padding: .4rem 0; position: relative; }
.nav-menu a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--primary); transition: width .22s ease; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--primary); text-decoration: none; }
.nav-menu a:hover::after, .nav-menu a[aria-current="page"]::after { width: 100%; }
.header-cta { display: inline-flex; }

.nav-toggle, .drawer-close { display: none; }
.nav-toggle {
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius-btn);
  width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.nav-overlay { display: none; }

/* header CTA must never coexist with the mobile sticky checkout bar */
@media (max-width: 879px) { .header-cta { display: none; } }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px); height: 100dvh;
    background: var(--ink); color: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: calc(var(--space-6)) var(--space-5) calc(var(--space-6) + env(safe-area-inset-bottom));
    transform: translateX(100%); transition: transform .28s ease; overflow-y: auto;
    overscroll-behavior: contain; z-index: 995;
  }
  body.nav-open .primary-nav { transform: translateX(0); }
  body.nav-open .site-header { z-index: 1000; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu li { border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-menu li > a { color: #fff; display: block; padding: .95rem 0; font-size: 1.15rem; }
  .nav-menu a::after { display: none; }
  .header-cta.header-cta--drawer { display: inline-flex; margin-top: var(--space-4); }
  .drawer-close {
    display: inline-flex; position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px;
    align-items: center; justify-content: center; background: transparent; border: 1px solid rgba(255,255,255,.25);
    border-radius: var(--radius-btn); color: #fff; cursor: pointer;
  }
  body.nav-open .nav-overlay { display: block; position: fixed; inset: 0; background: rgba(13,17,23,.5); z-index: 990; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 981px) {
  .header-cta--drawer { display: none; }
}

/* ---------- Hero (type-led) ---------- */
.hero { padding-block: clamp(3rem, 8vw, 6rem); background:
  radial-gradient(1100px 520px at 78% -10%, rgba(51,94,234,.12), transparent 60%),
  radial-gradient(760px 420px at 8% 8%, rgba(66,186,150,.08), transparent 55%),
  var(--page-bg); }
.hero .container { max-width: 960px; margin-inline: 0; }
.hero h1 { margin-bottom: var(--space-4); }
.hero .hero-sub { font-size: var(--step-1); color: var(--muted); max-width: 640px; }
.hero .hero-sub .price-note { display: block; margin-top: var(--space-2); color: var(--ink); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); align-items: center; }
.hero-micro { margin-top: var(--space-3); font-size: .95rem; color: var(--muted); max-width: 560px; }
.service-area-line { margin-top: var(--space-3); font-size: .95rem; color: var(--muted); display: inline-flex; align-items: flex-start; gap: .45rem; white-space: normal; }
.service-area-line svg { flex: none; margin-top: 3px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--surface); border-block: 1px solid var(--line); }
.trust-strip ul { list-style: none; margin: 0; padding: var(--space-4) 0; display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); justify-content: center; }
.trust-strip li { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 500; font-size: .98rem; }
.trust-strip svg { color: var(--primary); flex: none; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: var(--space-4); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); box-shadow: var(--shadow); }
.card h3 { color: var(--ink); }
.card--link { position: relative; transition: transform .18s ease, box-shadow .2s ease; }
.card--link:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -24px rgba(13,17,23,.34); }
.card--link .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* numbered steps */
.steps { display: grid; gap: var(--space-4); grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); position: relative; box-shadow: var(--shadow); }
.step .num { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--primary); line-height: 1; letter-spacing: -0.04em; }
.step h3 { margin-top: var(--space-2); }
.section--dark .step { background: #151b26; border-color: #232c3b; }
.section--dark .step .num { color: #24304a; }

/* problem band */
.problem-copy p { color: var(--muted); }
.problem-copy .closing { font-family: var(--font-display); color: var(--ink); font-size: var(--step-2); font-weight: 600; }

/* ---------- Guarantee bar (the single reserved use of accent green) ---------- */
.guarantee-bar {
  background: var(--accent); color: var(--ink);
  border-radius: var(--radius); padding: var(--space-4) var(--space-5);
  display: flex; align-items: center; gap: var(--space-3); font-weight: 500; font-size: 1.05rem;
}
.guarantee-bar .g-badge { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; background: rgba(255,255,255,.35); color: var(--accent-ink); }
.guarantee-bar strong { color: var(--ink); }

/* ---------- Price cards ---------- */
.price-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(3, 1fr); align-items: start; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); box-shadow: var(--shadow); position: relative; }
.price-card.is-featured { border-top: 4px solid var(--accent); }
.price-card .badge { position: absolute; top: -14px; left: var(--space-5); background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .04em; padding: .35rem .8rem; border-radius: 999px; }
.price-card h3 { color: var(--ink); margin-bottom: var(--space-2); }
.price { display: flex; flex-direction: column; margin-bottom: var(--space-3); }
.price .excl { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); color: var(--ink); line-height: 1.05; letter-spacing: -0.03em; }
.price .incl { font-size: .9rem; color: var(--muted); margin-top: 2px; }
.price .unit { font-size: .85rem; color: var(--muted); }
.price-card ul { list-style: none; margin: 0 0 var(--space-4); padding: 0; }
.price-card li { display: flex; gap: .5rem; padding: .35rem 0; color: var(--muted); }
.price-card li svg { color: var(--primary); flex: none; margin-top: 4px; }
.care-line { margin-top: var(--space-4); font-size: 1rem; color: var(--ink); font-weight: 500; }

/* add-on table */
.addon-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.addon-table th, .addon-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.addon-table th { font-family: var(--font-display); color: var(--ink); background: var(--tint); }
.addon-table td .incl { color: var(--muted); font-size: .9rem; }
.addon-table tr:last-child td { border-bottom: 0; }

/* dual-btw price atom */
.price-dual { display: inline-flex; flex-direction: column; }
.price-dual .excl { font-weight: 600; color: var(--ink); }
.price-dual .incl { color: var(--muted); font-size: .82em; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4) var(--space-5); margin-bottom: var(--space-3); }
.faq summary { font-family: var(--font-display); font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; transition: transform .2s ease; color: var(--primary); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details > *:not(summary) { margin-top: var(--space-3); }

/* ---------- Proof / work cases ---------- */
.case-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; }
.case-media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-media .wordmark-fallback { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.03em; opacity: .92; padding: 1rem; text-align: center; }
.case-body { padding: var(--space-5); }
.case-body .client { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: var(--step-1); margin-bottom: var(--space-2); }
.case-body .caption { color: var(--muted); }
.case-body .role { color: var(--ink); font-weight: 500; margin-top: var(--space-2); }

/* quality-gate artefact */
.qc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.qc-list li { display: flex; gap: .6rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3) var(--space-4); color: var(--ink); font-weight: 500; }
.qc-list svg { color: var(--accent-ink); flex: none; }

/* ---------- CTA band (no dead ends) ---------- */
.cta-band { background: var(--ink); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; max-width: 760px; margin-inline: auto; }
.cta-band p { color: var(--subhead); }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-4); }
.cta-band .guarantee-bar { max-width: 620px; margin: var(--space-4) auto 0; }
.cta-band .phone-link { color: #fff; font-family: var(--font-display); font-weight: 600; }

/* ---------- Checkout ---------- */
.checkout-wrap { display: grid; gap: var(--space-6); grid-template-columns: 1fr 1fr; align-items: start; }
.checkout-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); box-shadow: var(--shadow); }
.checkout-card .step-line { font-size: .9rem; color: var(--muted); margin-bottom: var(--space-2); }
.checkout-card .step-indicator { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin-bottom: var(--space-4); }
.field { margin-bottom: var(--space-3); }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .98rem; margin-bottom: .35rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; line-height: 1.4;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(51,94,234,.18); }
.field .err-msg { display: none; color: #b3261e; font-size: .88rem; margin-top: .3rem; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field.has-error .err-msg { display: block; }
details.optional-fields { margin-bottom: var(--space-3); }
details.optional-fields > summary { font-family: var(--font-display); font-weight: 600; color: var(--primary); cursor: pointer; padding: .5rem 0; }

.consent { display: flex; gap: .75rem; align-items: flex-start; margin: var(--space-4) 0; }
.consent .box-wrap { position: relative; padding: 12px; margin: -12px; flex: none; }
.consent input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--primary); }
.consent label { font-size: 14px; color: var(--ink); line-height: 1.5; }
.consent label a { text-decoration: underline; }

.trust-block { margin: var(--space-4) 0; }
.trust-block .three { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.trust-block .three li { display: flex; gap: .5rem; align-items: center; color: var(--ink); font-weight: 500; font-size: .95rem; }
.trust-block .three svg { color: var(--accent-ink); flex: none; }
.pay-marks { display: flex; align-items: center; gap: .6rem; margin-bottom: var(--space-2); }
.pay-marks .ideal { font-family: var(--font-display); font-weight: 700; color: #cc0066; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .3rem .6rem; font-size: 1rem; }
.pay-marks .mark { font-size: .85rem; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: .3rem .5rem; }
.mollie-line { font-size: .95rem; color: var(--ink); font-weight: 500; margin-bottom: var(--space-2); }
.no-charge-line { font-size: 1rem; color: var(--ink); font-weight: 600; margin-bottom: var(--space-3); }
.release-line, .keep-line { font-size: .95rem; color: var(--muted); margin-bottom: var(--space-2); }
.error-summary { display: none; background: #fdecea; border: 1px solid #f3b9b3; color: #7a1b14; border-radius: var(--radius); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-3); }
.error-summary.is-visible { display: block; }
#pay-error:empty { display: none; }
#pay-error { background: #fdecea; border: 1px solid #f3b9b3; color: #7a1b14; border-radius: var(--radius); padding: var(--space-3); margin-bottom: var(--space-3); }
.checkout-guarantee { background: var(--accent); color: var(--ink); border-radius: var(--radius); padding: var(--space-4); margin-bottom: var(--space-4); font-weight: 500; }

/* checkout supporting column */
.checkout-support .support-step { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: var(--space-3); }
.checkout-support .support-step svg { color: var(--primary); flex: none; margin-top: 3px; }
.checkout-support .strip { font-family: var(--font-display); font-weight: 600; color: var(--ink); background: var(--tint); border-radius: var(--radius); padding: var(--space-3) var(--space-4); margin: var(--space-4) 0; }
.checkout-support .proof { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); background: var(--surface); }

/* ---------- Sticky mobile checkout bar ---------- */
.sticky-checkout { display: none; }
@media (max-width: 879px) {
  .sticky-checkout {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
    background: var(--surface); border-top: 1px solid var(--line);
    padding: .55rem clamp(1rem, 4vw, 1.25rem);
    padding-bottom: calc(.55rem + env(safe-area-inset-bottom));
    max-height: 73px; box-shadow: 0 -8px 24px -16px rgba(13,17,23,.4);
  }
  .sticky-checkout.is-hidden { display: none; }
  .sticky-checkout .sc-price { display: flex; flex-direction: column; line-height: 1.15; }
  .sticky-checkout .sc-price .amt { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
  .sticky-checkout .sc-price .gtee { font-size: .74rem; color: var(--accent-ink); font-weight: 600; }
  .sticky-checkout .btn { padding: .7rem 1.1rem; white-space: nowrap; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--subhead); padding-block: var(--space-7) var(--space-5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: var(--space-3); }
.site-footer a { color: var(--subhead); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.footer-brand img, .footer-brand svg.brand-mark { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--space-3); }
.footer-legal-links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: var(--space-6); padding-top: var(--space-4); font-size: .85rem; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: space-between; }
.site-footer .btn--primary { color: #fff; }
.site-footer .nap { color: var(--subhead); font-style: normal; }
.site-footer .nap a { color: #fff; }

/* ---------- Forminator styling ---------- */
.forminator-custom-form input[type=text], .forminator-custom-form input[type=email],
.forminator-custom-form input[type=tel], .forminator-custom-form input[type=url],
.forminator-custom-form input[type=number], .forminator-custom-form textarea, .forminator-custom-form select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem;
}
.forminator-custom-form input:focus, .forminator-custom-form textarea:focus, .forminator-custom-form select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(51,94,234,.18);
}
.forminator-custom-form label { font-weight: 600; color: var(--ink); }
.forminator-custom-form .forminator-button, .forminator-custom-form button[type=submit] {
  background: var(--btn-fill); color: var(--btn-label); font-family: var(--font-display); font-weight: 600;
  border: 0; border-radius: 999px; padding: 12px 28px; cursor: pointer;
}
.forminator-custom-form .forminator-button:hover, .forminator-custom-form button[type=submit]:hover { background: var(--primary-dark); }
.form-placeholder { background: var(--tint); border: 1px dashed var(--line); border-radius: var(--radius); padding: var(--space-5); color: var(--muted); }

/* ---------- DRAFT band / booking ---------- */
.draft-band { background: #fff7e6; border: 1px solid #f0d089; color: #6b4e12; border-radius: var(--radius); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-5); font-weight: 500; }
.booking-slots { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-4) 0; }
.booking-slots .slot { border: 1.5px solid var(--line); border-radius: var(--radius); padding: .8rem 1.2rem; font-family: var(--font-display); font-weight: 600; color: var(--ink); background: var(--surface); }
.disabled-note { font-size: .95rem; color: var(--muted); margin-top: var(--space-2); }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 var(--space-4) var(--space-5); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 999px; background: var(--primary); }
.timeline .when { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.timeline .who { color: var(--muted); }

/* utility */
.center { text-align: center; }
.mt-6 { margin-top: var(--space-6); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-6); align-items: center; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { display: inline-flex; align-items: center; gap: .4rem; background: var(--tint); color: var(--primary-dark); border-radius: 999px; padding: .35rem .85rem; font-size: .9rem; font-weight: 500; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .price-grid, .steps { grid-template-columns: 1fr; }
  .checkout-wrap { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .qc-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .hero { text-align: left; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .trust-strip ul { justify-content: flex-start; }
  .section { padding-block: clamp(3rem, 8vw, 4.5rem); }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}

/* patch P-QA1: force long-form prose centering (QA gate) */
.prose--longform { margin-inline: auto !important; }

/* patch P-QA1b: a section-head wrapping long-form prose centers as a column */
.section-head:has(> .prose--longform) { margin-inline: auto; }

/* ==========================================================================
   [revision-1] Owner revision round, 2026-08-08
   Boxed hero, imagery, showcase sections, entrance animations, hosting cards.
   Animation law: content is VISIBLE by default. Animations only ADD motion via
   a .reveal class that JS applies AFTER confirming IntersectionObserver support.
   No rule ever hides content before scroll. prefers-reduced-motion respected.
   ========================================================================== */

/* ---------- 3. BOXED HERO (contained panel on large screens) ---------- */
.hero {
  position: relative;
  background: none;
  padding-block: clamp(1.25rem, 2.5vw, 2rem) clamp(2rem, 4vw, 3rem);
}
.hero > .container { max-width: var(--container); margin-inline: auto; }
.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(1100px 460px at 88% -12%, rgba(51,94,234,.13), transparent 62%),
    radial-gradient(760px 420px at 6% 108%, rgba(66,186,150,.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--tint) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 32px 70px -46px rgba(13,17,23,.42), 0 2px 10px -6px rgba(13,17,23,.10);
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3.75rem);
}
/* subtle mesh grain, purely decorative */
.hero-panel::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(51,94,234,.055) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
  pointer-events: none;
}
.hero-panel > * { position: relative; z-index: 1; }

.hero-grid { display: grid; gap: clamp(1.75rem, 4vw, 3.25rem); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }
.hero-panel .hero-copy { max-width: 40rem; }
.hero-panel h1 { margin-bottom: var(--space-4); }
.hero-panel .hero-sub { max-width: 34rem; }

/* framed browser mock for the hero image */
.hero-shot {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 28px 56px -34px rgba(13,17,23,.46);
}
.hero-shot .bar {
  display: flex; align-items: center; gap: 6px;
  padding: .55rem .8rem;
  background: #f2f5fb;
  border-bottom: 1px solid var(--line);
}
.hero-shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: #d5dced; display: block; }
.hero-shot img { width: 100%; height: auto; display: block; }
@media (max-width: 999px) { .hero-media { display: none; } }

/* inner heroes on subpages keep the panel but stay compact */
.hero--compact .hero-panel { padding-block: clamp(1.75rem, 4vw, 3rem); }

/* ---------- 6. STATS BAND (animated counters) ---------- */
.stats-band { background: var(--surface); border-block: 1px solid var(--line); }
.stats-grid {
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(2, 1fr);
  padding-block: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 860px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding-inline: var(--space-2); }
.stat .n {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  color: var(--primary); letter-spacing: -0.04em; line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stat .l { display: block; margin-top: .5rem; color: var(--muted); font-size: .97rem; line-height: 1.45; }

/* ---------- 9. CASE GALLERY ---------- */
.case-gallery { display: grid; gap: var(--space-4); margin: var(--space-5) 0; }
@media (min-width: 760px) { .case-gallery { grid-template-columns: repeat(2, 1fr); } }
.case-gallery figure {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface); box-shadow: var(--shadow);
}
.case-gallery img { width: 100%; height: auto; display: block; }
.case-gallery figcaption { padding: .7rem 1rem; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
.case-gallery .wide { grid-column: 1 / -1; }

/* ---------- 6. PERSON BLOCK (/over-bluect/) ---------- */
.person {
  display: grid; gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
}
@media (min-width: 820px) { .person { grid-template-columns: 260px 1fr; } }
.person-photo {
  border-radius: 16px; overflow: hidden; background: var(--tint);
  aspect-ratio: 3 / 4; max-width: 260px;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.person-name { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); color: var(--ink); letter-spacing: -0.03em; }
.person-role { color: var(--primary); font-weight: 500; margin-bottom: var(--space-3); }
.person blockquote { margin: 0; font-size: var(--step-1); color: var(--ink); line-height: 1.6; border-left: 3px solid var(--accent); padding-left: var(--space-4); }

/* ---------- 7. HOSTING PACKAGE CARDS ---------- */
.hosting-grid { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
@media (min-width: 900px) { .hosting-grid { grid-template-columns: repeat(3, 1fr); } }
.hosting-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-5); box-shadow: var(--shadow); position: relative;
  display: flex; flex-direction: column;
}
.hosting-card.is-featured { border-top: 4px solid var(--accent); }
.hosting-card h3 { color: var(--ink); margin-bottom: var(--space-2); }
.hosting-card .hp-year { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); color: var(--ink); letter-spacing: -0.03em; }
.hosting-card .hp-month { display: block; color: var(--muted); font-size: .95rem; margin-top: .15rem; }
.hosting-card .hp-detail { margin-top: var(--space-3); color: var(--muted); }
.hosting-card ul { list-style: none; margin: var(--space-3) 0 0; padding: 0; }
.hosting-card li { display: flex; gap: .5rem; padding: .35rem 0; color: var(--muted); }
.hosting-card li svg { color: var(--primary); flex: none; margin-top: 4px; }
.hosting-note {
  margin-top: var(--space-5); padding: var(--space-4) var(--space-5);
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink);
}
.hosting-note strong { color: var(--ink); }
.free-flag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(66,186,150,.14); color: var(--accent-ink);
  border: 1px solid rgba(66,186,150,.35);
  font-weight: 600; font-size: .95rem;
  padding: .45rem .85rem; border-radius: 999px; margin-bottom: var(--space-3);
}

/* ---------- 12. SERVICE PAGE (M365) ---------- */
.svc-grid { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
@media (min-width: 820px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
.svc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-5); box-shadow: var(--shadow);
}
.svc-card .ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--tint); color: var(--primary); margin-bottom: var(--space-3);
}
.svc-card h3 { color: var(--ink); }
.svc-card .prijs { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); color: var(--primary); letter-spacing: -0.03em; margin: var(--space-2) 0; }

/* ---------- 13. NAV DROPDOWN (Diensten) ---------- */
.nav-menu { position: relative; }
.nav-menu li.menu-item-has-children { position: relative; }
.nav-menu .sub-menu {
  list-style: none; margin: 0; padding: .5rem;
  position: absolute; top: 100%; left: 0; z-index: 60;
  min-width: 250px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 22px 48px -26px rgba(13,17,23,.4);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-menu li.menu-item-has-children:hover > .sub-menu,
.nav-menu li.menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu a { display: block; padding: .6rem .75rem; border-radius: 8px; color: var(--ink); font-weight: 500; }
.nav-menu .sub-menu a:hover { background: var(--tint); color: var(--primary); text-decoration: none; }
.nav-menu li.menu-item-has-children > a::after {
  content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .45em;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
/* mobile drawer: dropdowns are always open, no hover needed */
@media (max-width: 899px) {
  .nav-menu .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: .25rem 0 .5rem .5rem; padding-left: .75rem;
    min-width: 0;
  }
  .nav-menu li.menu-item-has-children > a::after { display: none; }
}

/* ---------- 6. ENTRANCE ANIMATIONS ----------
   Content is visible by default. JS adds .reveal-on only when IO is supported,
   which is the ONLY state that can dim/offset an element, and it always
   resolves to .is-in on intersect. Nothing can stay hidden. */
.reveal-on { opacity: 0; transform: translateY(14px); }
.reveal-on.is-in {
  opacity: 1; transform: none;
  transition: opacity .62s cubic-bezier(.22,.61,.36,1), transform .62s cubic-bezier(.22,.61,.36,1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on, .reveal-on.is-in { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- footer legal line ---------- */
.footer-legal-meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.footer-legal-meta span { white-space: nowrap; }

/* ---------- [revision-1] INTAKE FORM (item 5) ---------- */
.intake-wrap { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; }
@media (min-width: 940px) { .intake-wrap { grid-template-columns: 320px 1fr; } }

.intake-aside {
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-5); position: sticky; top: 1.5rem;
}
@media (max-width: 939px) { .intake-aside { position: static; } }
.intake-aside h3 { color: var(--ink); margin-bottom: var(--space-2); }
.intake-aside p { color: var(--muted); }
.intake-aside .btn { width: 100%; justify-content: center; margin-top: var(--space-2); }
.intake-points { list-style: none; margin: var(--space-4) 0 0; padding: 0; }
.intake-points li { display: flex; gap: .5rem; padding: .35rem 0; color: var(--ink); font-size: .96rem; }
.intake-points svg { color: var(--primary); flex: none; margin-top: 3px; }

.intake-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 3.5vw, 2.25rem); box-shadow: var(--shadow);
  display: grid; gap: var(--space-4);
}
.intake-form .field { display: grid; gap: .4rem; }
.intake-form label { font-weight: 600; color: var(--ink); font-size: .97rem; }
.intake-form label .opt { font-weight: 400; color: var(--muted); font-size: .87rem; margin-left: .35rem; }
.intake-form input,
.intake-form textarea,
.intake-form select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: .85rem 1rem; min-height: 52px;
}
.intake-form textarea { min-height: 118px; resize: vertical; line-height: 1.55; }
.intake-form select { min-height: 52px; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235f6a7d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.75rem; }
.intake-form input:focus-visible,
.intake-form textarea:focus-visible,
.intake-form select:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-color: var(--primary); }
.intake-form .help { font-size: .88rem; color: var(--muted); }
.intake-form .err { font-size: .9rem; color: #b32d2e; font-weight: 500; display: none; }
.intake-form .field.has-error input,
.intake-form .field.has-error textarea { border-color: #b32d2e; }
.intake-form .field.has-error .err { display: block; }
.intake-form button[type="submit"] { justify-self: start; }
@media (max-width: 640px) { .intake-form button[type="submit"] { justify-self: stretch; width: 100%; } }
.intake-micro { font-size: .9rem; color: var(--muted); margin: 0; }

/* honeypot: off-screen but not display:none, so bots still fill it */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.intake-status { display: none; padding: var(--space-3) var(--space-4); border-radius: 10px; font-weight: 500; }
.intake-status.is-error { display: block; background: #fdeceb; color: #8a2321; border: 1px solid #f3c4c2; }
.intake-status.is-ok { display: block; background: rgba(66,186,150,.12); color: var(--accent-ink); border: 1px solid rgba(66,186,150,.35); }
.intake-form.is-sending { opacity: .65; pointer-events: none; }

/* success panel replacing the form */
.intake-done {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow);
}
.intake-done h3 { color: var(--ink); }

/* ---------- [revision-1] Visual corrections after live review ---------- */

/* Logo: the scraped SVG carries its own outer frame; give it room and never
   let a container border double it up. */
.brand { border: 0 !important; }
.brand img, .brand svg.brand-mark {
  height: clamp(34px, 4.2vw, 46px);
  width: auto; max-width: 210px;
  object-fit: contain; border: 0;
}
.footer-brand img { max-width: 190px; }

/* Kill the stray marker some menu items render under the parent link.
   The chevron is drawn by our ::after rule only. */
.nav-menu li.menu-item-has-children > a::before { content: none !important; }
.nav-menu .sub-menu::before,
.nav-menu .sub-menu::after { content: none !important; }
.nav-menu li > a::marker { content: none; }
.nav-menu li { list-style: none; }

/* Hero panel: when a hero has no media column, the copy should not leave a
   dead half. Center-constrain it instead of stretching to the panel edge. */
.hero-panel:not(:has(.hero-media)) .hero-copy,
.hero--compact .hero-panel > .eyebrow ~ *,
.hero--compact .hero-panel { }
.hero--compact .hero-panel h1 { max-width: 22ch; }
.hero--compact .hero-panel .hero-sub { max-width: 60ch; }

/* Intake + service heroes: two-column so the panel reads as designed. */
.hero-split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 1000px) { .hero-split { grid-template-columns: 1.05fr .95fr; } }
.hero-facts {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1.25rem, 3vw, 1.9rem);
  backdrop-filter: blur(6px);
}
.hero-facts h3 { font-size: var(--step-1); color: var(--ink); margin-bottom: var(--space-3); }
.hero-facts ul { list-style: none; margin: 0; padding: 0; }
.hero-facts li { display: flex; gap: .6rem; padding: .45rem 0; color: var(--ink); font-size: .98rem; line-height: 1.5; }
.hero-facts li svg { color: var(--primary); flex: none; margin-top: 4px; }
@media (max-width: 999px) { .hero-facts { margin-top: var(--space-4); } }

/* Chevron on dropdown parents must sit inline with the label, not on its own
   line (display:block made it render as a stray diamond under the link). */
.nav-menu li.menu-item-has-children > a {
  display: inline-flex !important;
  align-items: center;
  gap: .1rem;
}
.nav-menu li.menu-item-has-children > a::after {
  display: inline-block !important;
  width: .42em; height: .42em;
  margin-left: .45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-top: 0; border-left: 0;
  transform: translateY(-2px) rotate(45deg);
  flex: none;
}

/* ---------- [revision-1] Final header corrections ---------- */

/* The theme's nav rule sets .nav-menu a{display:block}, which pushed the
   chevron pseudo-element onto its own line where it read as a stray diamond.
   Draw the chevron on the LI instead, so the anchor's display is irrelevant. */
.nav-menu li.menu-item-has-children > a::after,
.nav-menu li.menu-item-has-children > a::before { content: none !important; }

.nav-menu li.menu-item-has-children { display: inline-flex; align-items: center; gap: .3rem; }
.nav-menu li.menu-item-has-children::after {
  content: "";
  width: .4em; height: .4em;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  flex: none;
  pointer-events: none;
}
.nav-menu li.menu-item-has-children:hover::after,
.nav-menu li.menu-item-has-children:focus-within::after { border-color: var(--primary); }

@media (max-width: 899px) {
  .nav-menu li.menu-item-has-children { display: block; }
  .nav-menu li.menu-item-has-children::after { display: none; }
}

/* Footer logo: the blanket invert filter turned the blue "CT" pill white,
   which erased the white "CT" letters inside it. Keep the brand mark in its
   own colours; the dark footer already gives it enough contrast. */
.footer-brand img, .footer-brand svg.brand-mark { filter: none !important; }
.footer-brand {
  display: inline-block;
  background: #fff;
  padding: .55rem .85rem;
  border-radius: 10px;
  margin-bottom: var(--space-3);
}
.footer-brand img { margin-bottom: 0; }

/* ---------- [revision-1] Accessibility corrections (QA_C) ---------- */

/* The free-months flag sits inside .section--dark on the home page, where the
   accent-ink label fell to 2.37:1 against the dark ground. Give it its own
   light-on-dark treatment there instead of inheriting the light-ground one. */
.section--dark .free-flag {
  background: rgba(66,186,150,.18);
  border-color: rgba(66,186,150,.45);
  color: #7ee0bd;            /* 8.6:1 on #142929 */
}
.section--dark .free-flag svg { color: #7ee0bd; }

/* Inline links inside muted paragraphs need a non-colour affordance:
   axe requires 3:1 against surrounding text OR a distinguishing style. */
.intake-micro a,
.hosting-note a,
.prose--longform p a,
.hero-micro a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.intake-micro a:hover,
.hosting-note a:hover,
.prose--longform p a:hover,
.hero-micro a:hover { text-decoration-thickness: 2px; }
