/* ==========================================================================
   Nagekeken — beveiligingsonderzoek voor websites

   Richting: moderne security-SaaS, in lijn met wat bezoekers in deze
   categorie gewend zijn (Aikido, Vanta, SailPoint). Donkere achtergrond met
   violette gloed, gecentreerde hero, ronde vlakken, pil-knoppen.

   Waar die bedrijven een dashboard-screenshot tonen, tonen wij het rapport:
   dat ís hier het product.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg:          #0a0b14;
  --bg-raise:    #11131f;
  --panel:       #161927;
  --panel-soft:  #1c2032;
  --line:        #272c40;
  --line-soft:   #1e2233;

  --fg:          #eceef6;
  --fg-muted:    #969db6;
  --fg-dim:      #6d7490;

  --accent:      #7c5cff;
  --accent-lift: #8f74ff;
  --accent-sink: #6544e8;
  --accent-wash: rgba(124, 92, 255, 0.14);

  --goed:        #3ecf8e;
  --goed-wash:   rgba(62, 207, 142, 0.12);
  --aandacht:    #f0b429;
  --aandacht-wash: rgba(240, 180, 41, 0.12);
  --actie:       #f2555a;
  --actie-wash:  rgba(242, 85, 90, 0.12);
  --onbekend:    #8b92ab;
  --onbekend-wash: rgba(139, 146, 171, 0.12);

  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body:    "Inter", system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(1.25rem, 5vw, 2rem);
  --round:  14px;
  --round-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* De gloed achter de hero — de signatuur van deze categorie. */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 780px;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(124, 92, 255, 0.22), transparent 70%),
    radial-gradient(40% 40% at 80% 10%, rgba(62, 130, 255, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

::selection { background: var(--accent); color: #fff; }

a { color: var(--accent-lift); text-underline-offset: 0.18em; }

:focus-visible {
  outline: 2px solid var(--accent-lift);
  outline-offset: 3px;
  border-radius: 4px;
}

.sheet {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sheet--narrow { max-width: 46rem; }

/* --------------------------------------------------------------------------
   Navigatie — zwevende balk met ronde hoeken
   -------------------------------------------------------------------------- */

.topbar { padding: 1.25rem var(--gutter); }

.topbar__inner {
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 0.75rem 0.625rem 1.25rem;
  background: rgba(22, 25, 39, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 120ms ease;
}

.nav a:hover { color: var(--fg); }

@media (max-width: 52rem) {
  .nav { display: none; }
}

/* --------------------------------------------------------------------------
   Knoppen
   -------------------------------------------------------------------------- */

.button {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.375rem;
  color: #fff;
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 140ms ease, transform 140ms ease;
}

.button:hover { background: var(--accent-lift); }
.button:active { transform: translateY(1px); }
.button[disabled] { opacity: 0.55; cursor: progress; }

.button--outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}

.button--outline:hover { background: var(--panel); border-color: var(--fg-dim); }

.button--lg { padding: 0.875rem 1.75rem; font-size: 1rem; }

/* --------------------------------------------------------------------------
   Hero — gecentreerd, zoals de hele categorie
   -------------------------------------------------------------------------- */

.hero {
  text-align: center;
  padding-block: clamp(3rem, 9vw, 6rem) clamp(2.5rem, 6vw, 4rem);
}

.pill {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-lift);
  background: var(--accent-wash);
  border: 1px solid rgba(124, 92, 255, 0.28);
  border-radius: 999px;
}

h1, h2, h3 {
  font-family: var(--display);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.015em; }

.lede {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 34rem;
  margin: 1.25rem auto 0;
}

.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .lede { margin-inline: auto; }

p { margin: 0 0 1rem; }

/* --------------------------------------------------------------------------
   Scanformulier — invoer en knop als één pil, zoals Vanta's e-mailveld
   -------------------------------------------------------------------------- */

.scanform {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 30rem;
  margin: 2rem auto 1rem;
  padding: 0.375rem 0.375rem 0.375rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.scanform:focus-within { border-color: var(--accent); }

.scanform__field {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.9375rem;
  padding: 0.625rem 0;
  color: var(--fg);
  background: transparent;
  border: 0;
}

.scanform__field::placeholder { color: var(--fg-dim); }
.scanform__field:focus { outline: none; }

.microcopy {
  font-size: 0.875rem;
  color: var(--fg-dim);
}

.hero-links {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Secties
   -------------------------------------------------------------------------- */

.band { padding-block: clamp(3.5rem, 9vw, 6rem); }

.band--edge { border-top: 1px solid var(--line-soft); }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-lift);
  margin: 0 0 0.75rem;
}

/* --------------------------------------------------------------------------
   Het rapport — hier staat waar concurrenten hun dashboard neerzetten
   -------------------------------------------------------------------------- */

.showcase {
  margin-top: 3rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, var(--panel-soft), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--round-lg);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9),
              0 0 0 1px rgba(124, 92, 255, 0.06);
}

.showcase__label {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.625rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.report {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--round);
  padding: 1.25rem 1.375rem;
}

.report[hidden] { display: none; }

#report { margin-top: 2.5rem; text-align: left; }

.report__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--line);
}

.report__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0;
}

.report__subject {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--fg-dim);
}

.finding {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.finding:last-of-type { border-bottom: 0; padding-bottom: 0.25rem; }

.finding__name { grid-column: 1; }

.verdict {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: end;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.verdict--ok          { color: var(--goed);     background: var(--goed-wash); }
.verdict--warning     { color: var(--aandacht); background: var(--aandacht-wash); }
.verdict--error       { color: var(--actie);    background: var(--actie-wash); }
.verdict--unreachable { color: var(--onbekend); background: var(--onbekend-wash); }

.finding__summary {
  grid-column: 1;
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

/* Overzichtsrij: in één oogopslag de stand van alle vier de controles. */
.overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 1rem 0 0.5rem;
}

@media (min-width: 40rem) {
  .overview { grid-template-columns: repeat(4, 1fr); }
}

.tile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

.tile__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.tile__dot--ok          { background: var(--goed); }
.tile__dot--warning     { background: var(--aandacht); }
.tile__dot--error       { background: var(--actie); }
.tile__dot--unreachable { background: var(--onbekend); }

/* Technische waarde op één regel: alleen waar de waarde zelf tekst is. */
.meta {
  grid-column: 1 / -1;
  margin: 0.625rem 0 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--fg-dim);
  overflow-x: auto;
  white-space: nowrap;
}

/* Bevindingen als badges in plaats van een muur monospace. */
.chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  border-radius: 6px;
  border: 1px solid transparent;
}

.chip::before { font-family: var(--body); font-weight: 700; }

.chip--have {
  color: var(--goed);
  background: var(--goed-wash);
  border-color: rgba(62, 207, 142, 0.25);
}

.chip--have::before { content: "\2713"; }

.chip--miss {
  color: var(--actie);
  background: var(--actie-wash);
  border-color: rgba(242, 85, 90, 0.25);
}

.chip--miss::before { content: "\00d7"; }

.report__note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--fg-dim);
}

@media (max-width: 26rem) {
  .finding { grid-template-columns: 1fr; }
  .verdict {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    order: -1;
    margin-bottom: 0.375rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  #report .finding {
    animation: rise 340ms cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(8px); }
  }
}

/* --------------------------------------------------------------------------
   Vervolgstap
   -------------------------------------------------------------------------- */

.next {
  margin-top: 1.5rem;
  padding: 1.5rem;
  text-align: left;
  background: var(--accent-wash);
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: var(--round);
}

.next[hidden] { display: none; }

.next h2 { font-size: 1.375rem; }
.next p { margin: 0.625rem 0 1.25rem; color: var(--fg-muted); }

/* --------------------------------------------------------------------------
   Kaartenraster
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 46rem) {
  .cards--2 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 60rem) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  padding: 1.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--round);
}

.card h3 { margin-bottom: 0.625rem; }

.card p { margin: 0; color: var(--fg-muted); font-size: 0.9375rem; }

.card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--accent-lift);
  background: var(--accent-wash);
  border-radius: 999px;
}

.marklist { margin: 0; padding: 0; list-style: none; }

.marklist li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

.marklist li::before {
  position: absolute;
  left: 0;
  top: 0.5rem;
  font-weight: 700;
}

.marklist--do li::before    { content: "\2713"; color: var(--goed); }
.marklist--never li::before { content: "\00d7"; color: var(--actie); }

/* --------------------------------------------------------------------------
   Lopende band met de controles die we uitvoeren.
   Geen partnerlogo's: we werken met niemand samen, dus staan hier de
   headers, records en paden die de scanner echt nakijkt.
   -------------------------------------------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  animation: slide 42s linear infinite;
}

.marquee--reverse .marquee__track {
  animation-direction: reverse;
  animation-duration: 52s;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}

.tech {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--fg-muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tech__kind {
  font-family: var(--body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-lift);
}

/* --------------------------------------------------------------------------
   Afwisselende blokken: per controle wat we zoeken en waarom
   -------------------------------------------------------------------------- */

.feature {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 52rem) {
  .feature { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .feature--flip .feature__text { order: 2; }
}

.feature__text p { color: var(--fg-muted); margin-bottom: 0; }
.feature__text h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.875rem; }

.mock {
  padding: 1rem;
  background: linear-gradient(180deg, var(--panel-soft), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--round);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}

.mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.875rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

.mock__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

.mock__row + .mock__row { border-top: 1px solid var(--line-soft); }

.mock__state { font-family: var(--body); font-size: 0.75rem; font-weight: 600; }
.mock__state--ok   { color: var(--goed); }
.mock__state--warn { color: var(--aandacht); }
.mock__state--bad  { color: var(--actie); }

/* --------------------------------------------------------------------------
   Vragen — uitklapbaar
   -------------------------------------------------------------------------- */

.qa { display: grid; gap: 0.625rem; }

.qa details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--round);
  overflow: hidden;
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary::after {
  content: "+";
  flex: none;
  font-family: var(--body);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent-lift);
  transition: transform 160ms ease;
}

.qa details[open] summary::after { transform: rotate(45deg); }

.qa summary:hover { background: var(--panel-soft); }

.qa details > p {
  margin: 0;
  padding: 0 1.5rem 1.375rem;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Prijs
   -------------------------------------------------------------------------- */

.pricecard {
  max-width: 30rem;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--panel-soft), var(--panel));
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: var(--round-lg);
  box-shadow: 0 30px 80px -40px rgba(124, 92, 255, 0.5);
}

.pricecard__amount {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricecard__unit {
  display: block;
  margin: 0.5rem 0 1.75rem;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

.pricecard .marklist { text-align: left; margin-bottom: 1.75rem; }

/* --------------------------------------------------------------------------
   Formulier
   -------------------------------------------------------------------------- */

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  max-width: 34rem;
  margin: 2.5rem auto 0;
}

.field { display: flex; flex-direction: column; gap: 0.5rem; }

.field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
}

.field input, .field textarea {
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  color: var(--fg);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 100%;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea { min-height: 7rem; resize: vertical; }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.formstate {
  max-width: 34rem;
  margin: 1.25rem auto 0;
  font-size: 0.9375rem;
}

.formstate[hidden] { display: none; }

.formstate--busy { color: var(--fg-muted); }
.formstate--done { color: var(--goed); font-weight: 600; }
.formstate--fail { color: var(--actie); }

.notice {
  max-width: 34rem;
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--round);
  font-size: 0.9375rem;
  color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   Doorlopende tekst
   -------------------------------------------------------------------------- */

.prose { max-width: 40rem; }
.prose p { color: var(--fg-muted); }

.prose h2 {
  font-size: 1.375rem;
  margin: 2.5rem 0 0.75rem;
}

.prose h2:first-of-type { margin-top: 2rem; }

.prose code {
  font-family: var(--mono);
  font-size: 0.875em;
  padding: 0.15em 0.4em;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
}

/* --------------------------------------------------------------------------
   Voettekst
   -------------------------------------------------------------------------- */

.footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line-soft);
  padding-block: 2.5rem 3.5rem;
  font-size: 0.9375rem;
  color: var(--fg-dim);
}

.footer__cols {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 2.5rem;
}

@media (min-width: 52rem) {
  .footer__cols { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 3rem; }
}

.footer__brand p {
  max-width: 22rem;
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
}

.footer__head {
  margin: 0 0 0.875rem;
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
}

.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li + li { margin-top: 0.5rem; }

.footer a { color: var(--fg-muted); text-decoration: none; }
.footer a:hover { color: var(--fg); }

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-soft);
}

.footer__legal { font-size: 0.875rem; }
