/* Praatofferte public site. Mobile first; one family (Archivo, variable width). */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2-variations"),
       url("/assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --blauw: #1D2B45;      /* werkblauw: text, structure */
  --blauw-2: #2A3D5F;
  --geel: #F2C230;       /* duimstok: main action only */
  --geel-2: #E3B31C;
  --rood: #C4372C;       /* live indicator only */
  --papier: #FFFFFF;
  --mist: #F5F6F8;
  --grafiet: #2B3036;
  --zacht: #5B6470;
  --lijn: #D9DDE3;
  --wrap: 1120px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 420;
  color: var(--grafiet);
  background: var(--papier);
}
img, svg { max-width: 100%; }
a { color: var(--blauw); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--blauw-2); }
:focus-visible { outline: 3px solid var(--geel); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--papier); padding: 8px 12px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }

h1, h2, h3 {
  color: var(--blauw);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
h3 { font-size: 1.3rem; font-stretch: 86%; line-height: 1.15; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); line-height: 1.5; }
.fine { font-size: 0.9rem; color: var(--zacht); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--geel); color: var(--blauw); border-color: var(--geel); }
.btn-primary:hover { background: var(--geel-2); border-color: var(--geel-2); color: var(--blauw); }
.btn-ghost { background: transparent; color: var(--blauw); border-color: var(--blauw); }
.btn-ghost:hover { background: var(--mist); color: var(--blauw); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 0.95rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--lijn);
  padding-top: env(safe-area-inset-top);
}
.header-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--blauw);
  font-weight: 800;
  font-stretch: 80%;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.logo-mark { width: 34px; height: 34px; flex: none; }
.nav-desktop { display: none; gap: 26px; margin-left: 12px; }
.nav-desktop a, .link-login { color: var(--grafiet); text-decoration: none; font-weight: 600; }
.nav-desktop a:hover, .link-login:hover { color: var(--blauw); text-decoration: underline; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.hide-mobile { display: none; }

.nav-mobile { position: relative; }
.nav-mobile summary {
  list-style: none;
  width: 44px;
  height: 44px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 8px;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span { width: 22px; height: 2.5px; background: var(--blauw); border-radius: 2px; }
.nav-mobile[open] summary { background: var(--mist); }
.nav-mobile nav {
  position: absolute;
  right: 0;
  top: 52px;
  width: min(86vw, 300px);
  background: var(--papier);
  border: 1px solid var(--lijn);
  border-radius: 10px;
  padding: 8px;
  display: grid;
  box-shadow: 0 12px 28px rgba(29, 43, 69, 0.14);
}
.nav-mobile nav a { padding: 13px 12px; border-radius: 6px; text-decoration: none; font-weight: 600; color: var(--grafiet); }
.nav-mobile nav a:hover { background: var(--mist); }

/* ------------------------------------------------------------ hero */
.hero { padding: 36px 0 56px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }

/* The one loud element: a folding-rule edge over "what you say" -> "your quote". */
.demo { margin: 0; border: 2px solid var(--blauw); border-radius: 14px; overflow: hidden; background: var(--papier); }
.ruler {
  height: 30px;
  background-color: var(--geel);
  background-image:
    repeating-linear-gradient(90deg, var(--rood) 0 2px, transparent 2px 100px),
    repeating-linear-gradient(90deg, var(--blauw) 0 2px, transparent 2px 50px),
    repeating-linear-gradient(90deg, var(--blauw) 0 1.5px, transparent 1.5px 10px);
  background-size: 100% 17px, 100% 13px, 100% 7px;
  background-position: 49px 0, 0 0, 0 0;
  background-repeat: no-repeat;
  border-bottom: 2px solid var(--blauw);
}
.demo-body { padding: 18px 18px 20px; }
.demo-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--zacht);
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rood);
  box-shadow: 0 0 0 0 rgba(196, 55, 44, 0.5);
  animation: luistert 1.8s ease-out infinite;
}
@keyframes luistert {
  0% { box-shadow: 0 0 0 0 rgba(196, 55, 44, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(196, 55, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 55, 44, 0); }
}
.speech {
  margin: 0 0 22px;
  padding: 14px 16px;
  background: var(--mist);
  border-left: 4px solid var(--geel);
  border-radius: 0 8px 8px 0;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--grafiet);
}
.demo-lines { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.demo-lines td { padding: 10px 0; border-bottom: 1px solid var(--lijn); vertical-align: top; }
.demo-lines .num { text-align: right; white-space: nowrap; padding-left: 12px; font-variant-numeric: tabular-nums; }
.demo-lines tfoot td { border-bottom: 0; border-top: 2px solid var(--blauw); font-weight: 800; color: var(--blauw); padding-top: 12px; }
.demo-note { margin: 14px 0 0; font-size: 0.9rem; color: var(--zacht); }

/* ------------------------------------------------------------ bands and sections */
.band { background: var(--mist); border-block: 1px solid var(--lijn); padding: 14px 0; }
.band p { margin: 0; max-width: none; }
.section { padding: 64px 0; }
.section-tight { padding: 36px 0 72px; }
.section-intro { font-size: 1.08rem; margin-bottom: 28px; }

.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 30px; counter-reset: stap; }
.steps li { counter-increment: stap; }
.steps li::before {
  content: counter(stap);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--geel);
  color: var(--blauw);
  font-weight: 800;
  font-size: 1.25rem;
}
.steps p { margin: 0; }

.section-dark { background: var(--blauw); color: #D5DBE6; }
.section-dark h2 { color: var(--papier); }
.split { display: grid; gap: 28px; }
.facts { margin: 0; display: grid; gap: 22px; }
.facts div { border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 16px; }
.facts dt { color: var(--papier); font-weight: 750; font-size: 1.12rem; margin-bottom: 4px; }
.facts dd { margin: 0; max-width: 60ch; }

.trades { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.trades li { border: 1.5px solid var(--lijn); border-radius: 999px; padding: 8px 15px; font-weight: 600; color: var(--blauw); }

.section-cta { background: var(--geel); }
.section-cta .btn-primary { background: var(--blauw); border-color: var(--blauw); color: var(--papier); }
.section-cta .btn-primary:hover { background: var(--blauw-2); border-color: var(--blauw-2); }
.cta-block p { font-size: 1.12rem; color: var(--blauw); }

/* ------------------------------------------------------------ subpages */
.page-hero { background: var(--mist); border-bottom: 1px solid var(--lijn); padding: 44px 0 20px; }
.plans { display: grid; gap: 16px; margin-bottom: 14px; }
.plan {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
  border: 1.5px solid var(--lijn);
  border-radius: 12px;
  background: var(--papier);
}
.plan h3 { margin-bottom: 6px; }
.plan-recommended { border: 2px solid var(--blauw); }
.plan-badge {
  align-self: flex-start;
  margin: 0 0 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--geel);
  color: var(--blauw);
  font-size: 0.82rem;
  font-weight: 700;
}
.plan-price { margin: 0; color: var(--zacht); }
.plan-price span { font-size: 2.7rem; font-weight: 800; font-stretch: 78%; color: var(--blauw); margin-right: 4px; }
.plan-users { margin: 4px 0 18px; }
.plan .btn { margin-top: auto; }
.h-small { font-size: 1.5rem; margin-top: 44px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 32px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid var(--blauw);
  border-bottom: 2.5px solid var(--blauw);
  transform: rotate(-45deg);
}

.faq-item { border-bottom: 1px solid var(--lijn); }
.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 40px 18px 0;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--blauw);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 12px;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--blauw);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding-bottom: 12px; }

.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; color: var(--blauw); }
.contact-form input, .contact-form textarea {
  font: inherit;
  font-weight: 420;
  color: var(--grafiet);
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--lijn);
  border-radius: 8px;
  background: var(--papier);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blauw); outline: none; box-shadow: 0 0 0 3px rgba(242, 194, 48, 0.55); }
.contact-form .btn { justify-self: start; }
.form-status { min-height: 1.5em; margin: 0; font-weight: 600; }
.form-status.is-error { color: var(--rood); }
.form-status.is-ok { color: #1E6B3A; }

.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--blauw); color: #C3CBDA; padding: 40px 0 104px; }
.footer-row { display: grid; gap: 18px; }
.brand-footer { color: var(--papier); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-footer nav a { color: var(--papier); text-decoration: none; font-weight: 600; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .fine { color: #AEB8C9; margin: 0; }

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--lijn);
}
.mobile-cta .btn { width: 100%; }

/* ------------------------------------------------------------ larger screens */
@media (min-width: 600px) {
  .demo-body { padding: 22px 24px 24px; }
  .checklist { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  body { font-size: 18px; }
  .nav-desktop { display: flex; }
  .nav-mobile, .mobile-cta { display: none; }
  .hide-mobile { display: inline-flex; }
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .section { padding: 96px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .split { grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .site-footer { padding-bottom: 40px; }
  .footer-row { grid-template-columns: auto 1fr; align-items: center; }
  .site-footer .fine { grid-column: 1 / -1; }
}

/* Pricing: one package, two periods, and what more users cost. */
.plan-users { margin-bottom: 6px; }
.plan-note { margin: 0 0 18px; font-size: 0.92rem; color: var(--zacht); }
.table-scroll { overflow-x: auto; margin-bottom: 8px; }
.price-table { width: 100%; max-width: 560px; border-collapse: collapse; }
.price-table th, .price-table td { padding: 11px 16px 11px 0; border-bottom: 1px solid var(--lijn); text-align: left; }
.price-table th { color: var(--blauw); font-size: 0.95rem; font-weight: 700; }
.price-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 860px) {
  .plans.plans-two { grid-template-columns: repeat(2, minmax(0, 380px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot { animation: none; }
  .btn { transition: none; }
}
