:root {
  --ink: #0c2a45;
  --muted: #4a6478;
  --paper: #eef3f8;
  --panel: #0d2f4a;
  --accent: #0b6bcb;
  --accent-ink: #ffffff;
  --ok: #2f9e6b;
  --warn: #d4a017;
  --line: rgba(12, 42, 69, 0.14);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --line-display: 1.5;
  --page-gutter: clamp(1.5rem, 6vw, 4rem);
  --content-max: 900px;
  --shell-max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(11, 107, 203, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(13, 47, 74, 0.1), transparent 50%),
    linear-gradient(165deg, #dce8f4 0%, var(--paper) 45%, #d0ddea 100%);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

main,
section,
ul,
li {
  overflow: visible;
}

/* Display-koppen: voldoende regelhoogte + onderruimte voor g/j/p. */
:where(h1, h2, h3, .brand, .brand-mark, .feature-list strong, .steps strong, .board-label, .content-tile h2) {
  font-family: var(--font-display);
  line-height: var(--line-display);
  letter-spacing: -0.015em;
  overflow: visible;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(12, 42, 69, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 42, 69, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 70%);
  z-index: 0;
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 22px var(--page-gutter) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  overflow: visible;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
}

.brand-site {
  font-weight: 600;
  font-style: normal;
}

.brand-wacht {
  font-weight: 800;
  font-style: italic;
}

.brand-logo {
  display: block;
  height: auto;
  object-fit: contain;
  overflow: visible;
  flex-shrink: 0;
}

.brand-logo-nav {
  width: 40px;
  height: 40px;
  padding: 3px;
  box-sizing: border-box;
  object-fit: contain;
}

.brand-mark {
  margin: 0 0 14px;
}

.brand-logo-hero {
  width: min(300px, 58vw);
  height: auto;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.topnav a:hover { color: var(--ink); }

.nav-cta {
  color: var(--ink) !important;
  font-weight: 600 !important;
}

.hero {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 48px var(--page-gutter) 72px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 80px);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 700;
  max-width: 18ch;
}

.lede {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 34ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-trust {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 40ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover { background: #0959a8; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover { background: rgba(255,255,255,0.55); }

.hero-visual {
  display: flex;
  justify-content: center;
}

.status-board {
  width: min(100%, 560px);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(13, 47, 74, 0.28));
  animation: rise-in 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.board-label,
.row text {
  fill: #d7e6e3;
  font-family: var(--font-body);
  font-size: 18px;
}

.board-label {
  font-size: 22px;
  font-weight: 700;
}

.board-label-ok {
  fill: #9fd9c4;
}

.meta {
  fill: #8eada7 !important;
  font-size: 15px !important;
}

.mail-card {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(11, 107, 203, 0.5);
  stroke-width: 1.5;
}

.mail-from {
  fill: var(--accent) !important;
  font-size: 14px !important;
  font-weight: 600;
}

.mail-subject {
  fill: #eef6f3 !important;
  font-size: 16px !important;
  font-weight: 600;
}

.mail-meta {
  fill: #8eada7 !important;
  font-size: 13px !important;
}

.dot.ok { fill: var(--ok); }
.dot.warn { fill: var(--warn); }
.dot.down { fill: #e0564c; }

.pulse-line-alert {
  stroke: #3d8fd4;
}

.row {
  opacity: 0;
  animation: fade-up 700ms ease both;
}

.row-1 { animation-delay: 200ms; }
.row-2 { animation-delay: 360ms; }
.row-3 { animation-delay: 520ms; }
.row-4 { animation-delay: 780ms; }
.row-5 { animation-delay: 980ms; }

.pulse-line {
  fill: none;
  stroke: #3aa88a;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  animation: dash 8s linear infinite;
  opacity: 0.75;
}

.section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 64px var(--page-gutter);
  overflow: visible;
}

/* Gedeelde inhoudstegel (referentie: “Sitewacht waarschuwt…”). */
.content-tile {
  width: calc(100% - (2 * var(--page-gutter)));
  max-width: var(--shell-max);
  margin: 28px auto;
  padding: 56px clamp(1.25rem, 4vw, 2.5rem);
  border-radius: 16px;
  overflow: visible;
  background:
    radial-gradient(700px 320px at 90% 10%, rgba(11, 107, 203, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(232, 241, 250, 0.9), rgba(255, 255, 255, 0.25));
  border: 1px solid rgba(11, 107, 203, 0.12);
}

.content-tile > * {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.content-tile > .product-stage {
  max-width: min(1040px, 100%);
}

.content-tile h2 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.45;
  padding-bottom: 0.12em;
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  color: var(--ink);
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.45;
  padding-bottom: 0.12em;
}

.section-lede {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 46ch;
}

.section-lede-nowrap,
.closing .section-lede {
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  white-space: nowrap;
}

.section-lede-wide {
  max-width: none;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.feature-list li {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.feature-list strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.45;
  padding-bottom: 0.14em;
}

.feature-list span { color: var(--muted); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  counter-reset: none;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.steps li.is-visible {
  opacity: 1;
  transform: none;
}

.steps li:nth-child(1) { transition-delay: 0ms; }
.steps li:nth-child(2) { transition-delay: 90ms; }
.steps li:nth-child(3) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  .steps li {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .row,
  .status-board,
  .pulse-line {
    animation: none !important;
    opacity: 1 !important;
  }
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid var(--accent);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(12, 42, 69, 0.06);
}

/* Specifieker dan .steps span, anders wint de muted kleur. */
.steps .step-num {
  color: var(--ink);
}

.steps strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.45;
  padding-bottom: 0.14em;
  margin-bottom: 4px;
}

.steps li > div > span {
  color: var(--muted);
}

.solution-cta {
  margin: 28px 0 0;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 861px) {
  .plans {
    grid-template-rows: repeat(10, auto);
    row-gap: 0;
    column-gap: 28px;
  }

  .plan {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 10;
    align-items: start;
  }

  .plan-features {
    grid-row: span 7;
    grid-template-rows: subgrid;
    align-items: start;
  }
}

.plan {
  padding: 8px 0 0;
  border-top: 2px solid var(--ink);
}

.plan-starter {
  border-top-color: var(--accent);
}

.plan h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.price {
  margin: 0 0 14px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.45;
}

.plan-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.plan-features li {
  color: var(--muted);
  padding-left: 1.1em;
  position: relative;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: var(--ok);
}

.plan-feature-missing {
  color: color-mix(in srgb, var(--muted) 72%, transparent);
}

.plan-feature-missing::before {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--muted) 45%, transparent);
  width: 0.35em;
  height: 0.35em;
}

.plan-features strong {
  color: var(--ink);
  font-weight: 600;
}

.closing {
  text-align: center;
  margin-bottom: 48px;
}

.product-stage {
  max-width: min(1040px, 100%);
  margin: 8px auto 0;
}

.product-window {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #f7faf8;
  box-shadow: 0 18px 40px rgba(16, 32, 39, 0.1);
}

.product-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #e7eeea;
  border-bottom: 1px solid var(--line);
}

.product-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b7c5bf;
}

.product-chrome span:nth-child(1) { background: #e08a7a; }
.product-chrome span:nth-child(2) { background: #d4a017; }
.product-chrome span:nth-child(3) { background: #2f9e6b; }

.product-url {
  margin: 0 0 0 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.product-shot {
  display: block;
  width: 100%;
  height: auto;
}

.product-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-summary > div {
  padding-bottom: 4px;
  border-bottom: 2px solid var(--ink);
}

.product-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.product-summary strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.3;
}

.product-summary .ok { color: var(--ok); }
.product-summary .down { color: #c4473d; }

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.product-table th,
.product-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

.product-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 0;
}

.badge.ok { color: var(--ok); }
.badge.down { color: #c4473d; }

.product-discovery {
  padding-top: 4px;
  border-top: 1px dashed var(--line);
}

.product-discovery-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.product-discovery-meta {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-discovery ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.product-discovery li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 500;
}

.product-discovery .check {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 3px;
  background: var(--ok);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.audience-list li {
  display: grid;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.audience-list strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
}

.audience-list span {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 46rem;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0 12px;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.45;
  list-style: none;
  padding: 8px 0;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 600;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  margin: 0 0 6px;
  color: var(--muted);
  max-width: 52ch;
}

.footer {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 28px var(--page-gutter) 48px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.footer a:hover { text-decoration: underline; }

/* —— Legal pages —— */
main.page-legal {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 40px var(--page-gutter) 64px;
}

.legal-doc h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0 0 8px;
}

.legal-doc h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.65rem;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
}

.legal-doc ul {
  padding-left: 1.2rem;
}

.legal-doc a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.legal-doc a:hover {
  text-decoration: underline;
}

.legal-doc .meta {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.legal-doc strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-doc h3 {
  font-size: 1.02rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

.legal-doc .table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

.legal-doc .legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal-doc .legal-table th,
.legal-doc .legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.legal-doc .legal-table th {
  color: var(--ink);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.45);
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes dash {
  to { stroke-dashoffset: -180; }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 36px;
  }

  .hero-visual { order: -1; }

  .status-board { width: min(100%, 420px); }

  .plans { grid-template-columns: 1fr; }

  .product-summary {
    grid-template-columns: 1fr;
  }

  .topnav a:not(.nav-cta) { display: none; }

  .closing .section-lede,
  .section-lede-nowrap {
    white-space: normal;
  }
}
