/* Syntheca — distributeurssite
   Stijl: SWISS MINIMAL + groen/wit. Bewust NIET de Hathi-huisstijl (warm papier,
   terracotta, serif) — Syntheca is een zelfstandige Nederlandse entiteit.
   Kernmerken: veel wit, streng grid, één groen accent, sans-serif, dunne lijnen,
   cijfers/labels in tabulaire stijl. Geen frameworks, geen tracking.
   Fonts: systeem-sans (geen externe webfonts = snel & privacyvriendelijk). */

:root {
  /* Zwitsers-minimaal palet — groen/wit */
  --paper: #ffffff;
  --paper-2: #f5f7f5;      /* zeer subtiel grijsgroen voor alt-banden */
  --ink: #0d1512;          /* bijna-zwart met groene ondertoon */
  --body: #46514b;         /* gedempt groengrijs voor lopende tekst */
  --muted: #7d8781;
  --line: #e6eae7;         /* dunne haarlijn */
  --line-strong: #cfd6d1;
  --accent: #0f7a4d;       /* Syntheca-groen */
  --accent-dark: #0a5c3a;
  --accent-hover: #0a5c3a;
  --accent-light: #6fb894;
  --accent-wash: #eaf5ef;  /* zachte groene tint voor vlakken */
  --radius: 4px;           /* minimaal: strakke, bijna rechte hoeken */
  --wrap: 1120px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }

.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header — strak, wit, haarlijn */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky; top: 0; z-index: 20;
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }

/* Lockup 2 (horizontaal merkblok) — hoekig en minimal */
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.lockup-mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: var(--radius); background: var(--accent); color: #fff;
  font-weight: 700; font-size: 19px; letter-spacing: -0.02em;
}
.lockup-text { display: flex; flex-direction: column; line-height: 1.1; }
.lockup-name { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.lockup-desc { font-size: 10.5px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* Nav */
.mainnav { display: flex; gap: 26px; margin-inline-start: 16px; }
.mainnav a { color: var(--body); text-decoration: none; font-size: 14.5px; font-weight: 500; letter-spacing: 0.01em; }
.mainnav a:hover { color: var(--accent); }

.lang { display: flex; align-items: center; gap: 4px; font-size: 13px; margin-inline-start: auto; }
.lang a, .lang-current { padding: 5px 10px; border-radius: var(--radius); text-decoration: none; color: var(--body); font-weight: 600; letter-spacing: 0.04em; }
.lang a:hover { color: var(--accent); background: var(--accent-wash); }
.lang-current { color: #fff; background: var(--accent); }

/* Hero — veel wit, strakke typografie */
.hero { padding: 104px 0 80px; }
.hero-inner { max-width: 920px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-dark); background: var(--accent-wash);
  padding: 7px 12px; border-radius: var(--radius); margin: 0 0 28px;
}
h1 {
  font-weight: 600;
  font-size: clamp(2.3rem, 5.6vw, 3.9rem);
  line-height: 1.03; letter-spacing: -0.035em;
  margin: 0 0 24px; color: var(--ink);
}
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--body); max-width: 62ch; margin: 0 0 32px; }
.lead strong { color: var(--ink); font-weight: 600; }
.hero-note { font-size: 14.5px; color: var(--muted); margin: 22px 0 0; max-width: 60ch; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.center-row { justify-content: center; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  background: var(--accent); color: #fff;
  padding: 13px 22px; border-radius: var(--radius);
  transition: background .15s ease;
  border: 1px solid var(--accent); letter-spacing: 0.01em;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--accent-dark); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--accent-wash); border-color: var(--accent-light); }
.btn-lg { font-size: 1.05rem; padding: 16px 28px; }

/* Sections */
.band { padding: 76px 0; }
.band.alt { background: var(--paper-2); }
h2 {
  font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  letter-spacing: -0.025em; margin: 0 0 18px; color: var(--ink);
}
h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
.band p { color: var(--body); }
.band p strong { color: var(--ink); font-weight: 600; }
.sub { margin-top: -6px; margin-bottom: 40px; }

/* Roles */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; border: 1px solid var(--line); }
.role { background: var(--paper); padding: 30px; }
.role + .role { border-left: 1px solid var(--line); }
.role-sub { font-size: 12px; margin: 0 0 14px; color: var(--accent-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.role ul { margin: 0; padding-left: 18px; color: var(--body); }
.role li { margin-bottom: 6px; }

/* Comparison table — strak, haarlijnen */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare {
  width: 100%; border-collapse: collapse; margin-top: 8px;
  background: var(--paper);
  font-size: 0.97rem; border: 1px solid var(--line);
}
.compare th, .compare td { text-align: left; padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 11.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.compare tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.compare td { color: var(--body); }
.compare .hl { background: var(--accent-wash); color: var(--ink); font-weight: 600; border-left: 2px solid var(--accent); }
.compare thead .hl { color: var(--accent-dark); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }
.fineprint { font-size: 13.5px; color: var(--muted); margin-top: 16px; }

/* Proofs — driekoloms grid met haarlijnen */
.proofs { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.proofs li { background: var(--paper); padding: 30px 26px; border-bottom: 1px solid var(--line); }
.proofs li + li { border-left: 1px solid var(--line); }
.proof-num { display: block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 14px; letter-spacing: 0.08em; }
.proofs h3 { font-size: 1.12rem; font-weight: 600; }
.proofs p { margin: 0; }

/* Interval toggle (monthly / yearly) — minimaal, strak */
.interval-toggle {
  display: inline-flex; gap: 2px; margin: 18px auto 4px; padding: 3px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  position: relative; left: 50%; transform: translateX(-50%);
}
.interval-toggle button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 14.5px; font-weight: 600; color: var(--body);
  padding: 9px 18px; border-radius: 3px; display: inline-flex; align-items: center; gap: 8px;
}
.interval-toggle button:hover { color: var(--ink); }
.interval-toggle button.is-active { background: var(--accent); color: #fff; }
.interval-toggle .save {
  font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 3px;
  background: var(--accent-wash); color: var(--accent-dark);
}
.interval-toggle button.is-active .save { background: rgba(255,255,255,0.22); color: #fff; }

/* Plans (Stripe) — strak grid, geen ronde vormen */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 22px; border: 1px solid var(--line); }
.plan {
  position: relative; background: var(--paper);
  padding: 30px 24px; display: flex; flex-direction: column;
  border-left: 1px solid var(--line);
}
.plan:first-child { border-left: 0; }
.plan-featured { background: var(--accent-wash); }
.plan-badge {
  position: absolute; top: 0; left: 0;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 12px; letter-spacing: 0.06em; text-transform: uppercase;
}
.plan-featured h3 { margin-top: 22px; }
.plan h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 20px; }
.plan-price .amount { font-size: 2.05rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-price .per { font-size: 13.5px; color: var(--muted); }
.plan-features { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.plan-features li { color: var(--body); font-size: 14.5px; padding: 7px 0 7px 22px; position: relative; }
.plan-features li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan-cta { width: 100%; text-align: center; margin-top: auto; }
.price-foot { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 24px; }
.price-foot p { margin: 0 0 10px; }
.price-foot a { color: var(--accent-dark); font-weight: 600; }

/* FAQ — strakke haarlijnen */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; font-weight: 600; color: var(--ink); padding: 18px 0;
  list-style: none; font-size: 1.0rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: inline-end; color: var(--accent); font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 20px; color: var(--body); }

/* CTA block */
.cta { padding: 96px 0; background: var(--paper); border-top: 1px solid var(--line); }
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--body); }
.cta .btn-lg { margin-top: 20px; }
.cta .fineprint a { color: var(--accent-dark); }

/* Footer — donkergroen, strak */
.site-footer { background: #0d1512; color: #c4ccc7; padding: 56px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.foot-brand { font-weight: 700; margin: 0 0 8px; color: #fff; font-size: 1.05rem; letter-spacing: -0.01em; }
.site-footer p { color: #9ba49e; margin: 0 0 10px; font-size: 15px; }
.foot-head { font-weight: 700; color: #fff; margin-bottom: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: var(--accent-light); text-decoration: none; font-size: 15px; }
.site-footer a:hover { text-decoration: underline; }
.foot-legal { font-size: 13px; border-top: 1px solid #24302b; padding-top: 20px; color: #7d8781; }
.muted { color: #6f7973; font-size: 13px; }

/* Pending state: link not resolvable yet */
.btn.is-pending, .btn[aria-disabled="true"] {
  background: repeating-linear-gradient(45deg, #cfd6d1, #cfd6d1 10px, #bec7c1 10px, #bec7c1 20px);
  border-color: #bec7c1; color: #46514b; pointer-events: none;
}

/* Focus */
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

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

@media (max-width: 900px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan:nth-child(3) { border-left: 0; }
  .plan { border-top: 1px solid var(--line); }
  .plan:nth-child(-n+2) { border-top: 0; }
  .mainnav { display: none; }
}
@media (max-width: 820px) {
  .roles { grid-template-columns: 1fr; }
  .role + .role { border-left: 0; border-top: 1px solid var(--line); }
  .proofs { grid-template-columns: 1fr; }
  .proofs li + li { border-left: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 52px; }
  .band, .cta { padding: 56px 0; }
  .plans { grid-template-columns: 1fr; }
  .plan { border-left: 0; }
}

/* Kennisbank & blog — lijsten */
.doclist { list-style: none; margin: 0; padding: 0; }
.doclist li { border-top: 1px solid var(--line); }
.doclist li:last-child { border-bottom: 1px solid var(--line); }
.doclist a { display: block; padding: 22px 4px; color: inherit; text-decoration: none; }
.doclist a:hover h3, .doclist a:hover { color: var(--accent-dark); }
.doclist h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.doclist p { margin: 0; color: var(--body); }
.doclist .meta { margin-top: 8px; color: var(--muted); font-size: 13px; letter-spacing: 0.02em; }

/* Artikel (kennisbank/blog detail) */
.article { max-width: 720px; }
.article h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; letter-spacing: -0.02em; }
.article h2 { margin-top: 40px; font-size: 22px; }
.article p, .article ul, .article ol { color: var(--body); }
.article .note {
  border-left: 3px solid var(--accent); background: var(--accent-wash);
  padding: 14px 18px; margin: 22px 0; border-radius: var(--radius); font-size: 15px;
}
.article .backlink { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-size: 14px; }
.article .backlink:hover { color: var(--accent-dark); }

/* Mobiel taalkeuzemenu binnen de rand (bug-fix) */
@media (max-width: 560px) {
  .header-inner { flex-wrap: wrap; }
  .lang { margin-left: auto; }
}
