/* Is je website veilig? — one stylesheet, system fonts, no build step.
   Colours and sizes follow DESIGN-SYSTEM.md from the original export. */

:root {
  --navy: #121845;
  --orange: #cc3300;
  --orange-hover: #a52c04;
  --text: #303448;
  --muted: #5c6071;
  --surface: #f3f3f3;
  --surface-section: #f0f0f2;
  --line: #d7d8df;
  --field: #6c6e7d;
  --focus: #0072c6;

  --good: #23643e;   --good-bg: #edf4ee;   --good-edge: #237044;
  --warn: #805e11;   --warn-bg: #faf2df;   --warn-edge: #90680c;
  --bad: #a22a15;    --bad-bg: #fbe9e5;    --bad-edge: #a22a15;
  --unknown: #5f6576; --unknown-bg: #f0f0f2; --unknown-edge: #697085;

  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: 36px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--navy); font: 17px/1.55 var(--sans); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.3; margin: 0 0 .5em; }
h1 { font-size: 43px; line-height: 1.16; letter-spacing: -.5px; }
h2 { font-size: 30px; }
h3 { font-size: 23px; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
code, pre { font-family: var(--mono); font-size: 14px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
input:focus-visible, textarea:focus-visible { outline-width: 2px; outline-offset: 2px; }

.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #fff; padding: 8px 12px; }

/* Header and footer */
.masthead { border-bottom: 1px solid var(--line); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; min-height: 84px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 24px/1.2 var(--serif); }
.mark { width: 42px; height: 38px; fill: var(--orange); flex: none; }
.masthead nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.masthead nav a { text-decoration: none; font-weight: 700; font-size: 16px; padding-block: 4px; border-bottom: 3px solid transparent; }
.masthead nav a:hover { border-color: var(--orange); color: var(--navy); }
.footer { background: var(--navy); color: #dfe2ee; margin-top: 80px; padding: 40px 0; font-size: 15px; }
.footer a { color: #fff; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px 48px; flex-wrap: wrap; }
.footer__inner p { max-width: 640px; margin: 0; }

/* Buttons and forms */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px;
  border: 1px solid var(--orange); border-radius: 3px; background: var(--orange); color: #fff;
  font: 700 16px/1.3 var(--sans); cursor: pointer; text-decoration: none;
}
.button:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: #fff; }
.button:disabled { opacity: .75; cursor: progress; }
.button--secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.button--secondary:hover { background: var(--surface-section); color: var(--navy); border-color: var(--navy); }
label { display: block; font-weight: 700; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%; min-height: 51px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 3px;
  font: 17px/1.4 var(--sans); color: var(--navy); background: #fff;
}
select {
  width: 100%; min-height: 51px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 3px;
  font: 17px/1.4 var(--sans); color: var(--navy); background: #fff;
}
.optional { font-weight: 400; color: var(--muted); }

/* Hero + URL form */
.hero { background: var(--navy); color: #fff; padding: 64px 0 120px; }
.hero h1 { font-size: 49px; letter-spacing: -.7px; }
.hero__lead { max-width: 660px; font-size: 18px; line-height: 1.65; color: #dfe2ee; margin: 0; }
.hero__panel { margin-top: -79px; }
.scan { background: #fff; padding: 28px; box-shadow: 0 5px 7px #1218451c; border: 1px solid var(--line); }
.scan__row { display: flex; gap: 12px; }
.scan__row input { flex: 1; }
.scan__error { color: var(--bad); font-weight: 700; margin: 12px 0 0; }
.scan__note { color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.scan.is-busy input { opacity: .6; }
.scan--compact { box-shadow: none; padding: 0; border: 0; background: transparent; }

/* Sections */
.section { padding-top: 64px; }
.section__intro { max-width: 680px; color: var(--text); }
.band { background: var(--surface-section); margin-top: 64px; padding: 56px 0; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.tiles, .cards { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tiles a, .cards a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 21px; background: var(--surface); border-top: 3px solid transparent; text-decoration: none; }
.tiles a:hover, .cards a:hover { border-color: var(--orange); color: var(--navy); }
.tiles span, .cards span { color: var(--muted); font-size: 15px; }
.cards strong { font: 21px/1.3 var(--serif); }
.sample { background: #fff; border-top: 5px solid var(--navy); box-shadow: 0 5px 7px #1218451c; }
.sample__plain, .sample__tech { padding: 20px 24px; }
.sample__tech { background: var(--surface); }
.sample p { margin: 6px 0 0; color: var(--text); }
.sample code { display: block; margin-top: 6px; overflow-wrap: anywhere; }
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 40px 18px 0; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 8px; top: 12px; color: var(--orange); font-size: 26px; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--text); }

/* Side-by-side explanations: plain language left, developer right */
.side-by-side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.side-by-side > div { min-width: 0; }
.side-by-side__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.plain p { color: var(--text); }
.tech { background: var(--surface); padding: 16px 20px; }
.tech p { font-size: 15px; color: var(--text); margin-bottom: .5em; }
.tech pre { background: #fff; border: 1px solid var(--line); padding: 12px 14px; margin: 0 0 1em; white-space: pre-wrap; overflow-wrap: anywhere; }
.explainer { border-top: 1px solid var(--line); padding: 32px 0; scroll-margin-top: 16px; }
.explainer h3 a { text-decoration: none; }
.explainer h3 a:hover { text-decoration: underline; }

/* Report */
.report-head { background: var(--navy); color: #fff; padding: 48px 0; }
.report-head__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.report-head h1 { overflow-wrap: anywhere; margin-bottom: 4px; }
.report-head__kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: #b9bdd3; margin: 0; }
.report-head__meta { color: #dfe2ee; font-size: 15px; }
.counts { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.grade { background: #fff; color: var(--navy); min-width: 170px; padding: 18px 28px; text-align: center; border-top: 6px solid var(--orange); }
.grade__number { display: block; font: 72px/1 var(--serif); }
.grade__number.is-fail { color: var(--bad); }
.grade__label { font-weight: 700; }
.grade__none { margin: 0; max-width: 200px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 3px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.badge--good { color: var(--good); background: var(--good-bg); }
.badge--warn { color: var(--warn); background: var(--warn-bg); }
.badge--bad { color: var(--bad); background: var(--bad-bg); }
.badge--unknown { color: var(--unknown); background: var(--unknown-bg); }
.report-tools { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-block: 32px; }
.share { flex: 1 1 420px; max-width: 640px; }
.share__row { display: flex; gap: 12px; }
.share__row input { flex: 1; font-size: 15px; color: var(--text); background: var(--surface); }
.finding { border: 1px solid var(--line); border-left: 5px solid var(--unknown-edge); margin-bottom: 12px; }
.finding--good { border-left-color: var(--good-edge); }
.finding--warn { border-left-color: var(--warn-edge); }
.finding--bad { border-left-color: var(--bad-edge); }
.finding summary { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; align-items: baseline; padding: 18px 48px 18px 20px; cursor: pointer; list-style: none; position: relative; }
.finding summary::-webkit-details-marker { display: none; }
.finding summary .badge { justify-self: start; }
.finding summary::after { content: '+'; position: absolute; right: 18px; top: 12px; color: var(--orange); font-size: 26px; }
.finding[open] summary::after { content: '–'; }
.finding__title { font-weight: 700; font-size: 18px; }
.finding__summary { grid-column: 2; color: var(--text); }
.finding .side-by-side { padding: 0 20px 20px; }
.disclaimer { color: var(--muted); font-size: 15px; margin-top: 24px; max-width: 760px; }
.finding__more { font-size: 15px; }
.inside { margin-top: 32px; padding: 28px; background: var(--surface); border-top: 5px solid var(--navy); }
.inside h2 { font-size: 27px; }
.inside p, .inside li { color: var(--text); }
.inside ul { padding-left: 20px; margin: 0 0 20px; }
.inside li { margin-bottom: 6px; }
.inside__more { margin-left: 16px; }
.services { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.services li { padding: 18px 21px; background: var(--surface); font-weight: 700; }
.lead { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 48px 0 0; padding: 32px; border-top: 5px solid var(--navy); box-shadow: 0 5px 7px #1218451c; border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead p { color: var(--text); }
.lead__form input, .lead__form textarea, .lead__form select { margin-bottom: 16px; }
.lead__done { background: var(--good-bg); color: var(--good); font-weight: 700; padding: 20px; align-self: start; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 20px; color: var(--text); }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Articles and pages */
.prose { max-width: 70ch; color: var(--text); }
.prose h2 { margin-top: 1.6em; color: var(--navy); }
.prose h3 { margin-top: 1.3em; color: var(--navy); }
.prose li { margin-bottom: .4em; }
.prose code { background: var(--surface); padding: 1px 5px; }
.prose pre { background: var(--surface); padding: 14px 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--orange); font-size: 19px; color: var(--navy); }
.prose table { border-collapse: collapse; margin: 1.5em 0; width: 100%; font-size: 15px; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 12px 8px 0; vertical-align: top; }
.crumbs, .byline { color: var(--muted); font-size: 15px; }
.cta { margin-top: 56px; padding: 28px; background: var(--surface); border-top: 5px solid var(--orange); max-width: 820px; }
.cta h2 { font-size: 27px; }
.cta p { color: var(--text); }
.cta--top { margin-top: 24px; }
.section--tight { padding-top: 40px; }

@media (max-width: 850px) {
  :root { --gutter: 24px; }
  .two-col, .lead, .side-by-side { grid-template-columns: 1fr; }
  .hero h1 { font-size: 43px; }
}
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  h1, .hero h1 { font-size: 34px; line-height: 1.2; }
  h2 { font-size: 27px; }
  .hero { padding: 40px 0 90px; }
  .hero__lead { font-size: 16px; }
  .hero__panel { margin-top: -53px; }
  .scan { padding: 20px; }
  .scan__row, .share__row { flex-direction: column; }
  .logo { font-size: 19px; }
  .mark { width: 33px; height: 30px; }
  .finding summary { grid-template-columns: 1fr; padding-left: 16px; }
  .finding__summary { grid-column: 1; }
  .finding .side-by-side { padding: 0 16px 16px; }
  .lead { padding: 20px; }
  .grade { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .masthead nav, .report-tools, #contact, .footer, .hero__panel, .cta { display: none; }
  .report-head, .footer { background: none; color: #000; }
}
