@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
:root {
  --paper: #EFF4FB;
  --paper-card: #DCE6F5;
  --ink: #041432;
  --muted: #577999;
  --line: #80A8D1;
  --orange: #1FAD34;
  --grid: rgba(4, 20, 50, 0.06);
  --shadow: rgba(4, 20, 50, 0.15);
  --display-font: "Poppins", sans-serif;
--body-font: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
}

.quickscan-page {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(rgba(27, 73, 63, 0.2) 0.7px, transparent 0.7px),
    var(--paper);
  background-size: 7px 7px;
}

.page-width {
  display: flex;
  flex-direction: column;
  width: min(100% - 8rem, 1312px);
  min-height: 100vh;
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.site-header {
  padding: 2rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.7rem;
  color: var(--paper);
  background: var(--ink);
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: -0.12em;
  transform: rotate(-6deg);
  box-shadow: 5px 5px 0 var(--orange);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.brand:hover .brand-mark {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 4px 7px 0 var(--orange);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.brand-copy strong {
  font-family: var(--display-font);
  font-size: 0.95rem;
}

.brand-copy small,
.header-note,
.eyebrow,
.browser-bar,
.browser-heading p,
.status-pill,
.chart-footer,
.preview-label,
.site-footer {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: bold;
}

.header-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.orange-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
}

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.8fr);
  align-items: center;
  gap: 5rem;
  padding: 6rem 0;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 2rem;
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: bold;
}

.eyebrow-line {
  width: 2.5rem;
  height: 1px;
  background: var(--ink);
}

h1 {
  max-width: 700px;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(3.6rem, 9vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: -0.09em;
}

h1 span {
  position: relative;
  display: inline-block;
  color: #577999;
}

h1 span::after {
  position: absolute;
  right: 0.1em;
  bottom: -0.1em;
  left: 0.03em;
  height: 0.12em;
  content: "";
  border-radius: 999px;
  background: var(--ink);
  transform: rotate(-2deg);
}

.intro {
  max-width: 510px;
  margin: 2.5rem 0 0;
  font-family: var(--display-font);
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  font-weight: bold;
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.question-list {
  max-width: 660px;
  margin-top: 2.75rem;
}

.quickscan-question {
  margin: 0;
  padding: 1.5rem 0 1.75rem;
  border: 0;
  border-top: 1px solid var(--line);
}

.quickscan-question:last-child {
  padding-bottom: 0;
}

.quickscan-question legend {
  max-width: 620px;
  padding: 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 1.05rem;
  font-weight: bold;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.question-number {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--orange);
  font-family: monospace;
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.answer-option {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.25rem 1.25rem 0 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.85rem;
}

.answer-option input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--orange);
}

.answer-option:hover {
  color: var(--ink);
}

.question-feedback {
  max-width: 620px;
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--ink);
  color: var(--ink);
  background: rgba(251, 247, 239, 0.78);
}

.question-feedback:empty {
  display: none;
}

.question-feedback strong {
  display: block;
  font-family: var(--display-font);
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

.question-feedback p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.question-feedback.feedback--strong {
  border-left-color: var(--ink);
}

.question-feedback.feedback--improve {
  border-left-color: var(--orange);
}

.question-feedback.feedback--important {
  border-left-color: #b44c32;
}

/*
  Vraag 4 heeft meerdere antwoordmogelijkheden.
  De opties lopen daarom op kleine schermen vanzelf door naar een nieuwe regel.
*/
.quickscan-question:nth-child(4) .answer-option {
  display: flex;
  width: fit-content;
  max-width: 100%;
}

.supporting-copy {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 660px;
  margin: 3rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.supporting-copy span {
  color: var(--ink);
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: bold;
}

.preview {
  position: relative;
  width: 100%;
  max-width: 610px;
  margin: 0 auto;
}

.outline-circle,
.orange-circle {
  position: absolute;
  z-index: 0;
  display: block;
  border-radius: 50%;
}

.outline-circle {
  top: 2rem;
  left: -1.5rem;
  width: 6rem;
  height: 6rem;
  border: 1px solid rgba(228, 109, 69, 0.4);
}

.orange-circle {
  right: -2rem;
  bottom: 1.25rem;
  width: 9rem;
  height: 9rem;
  background: var(--orange);
}

.browser-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(27, 73, 63, 0.17);
  border-radius: 1.35rem;
  background: var(--paper-card);
  box-shadow: 18px 22px 0 rgba(27, 73, 63, 0.09), 0 28px 60px var(--shadow);
  transform: rotate(2.4deg);
  transition: transform 500ms ease, box-shadow 500ms ease;
}

.browser-card:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: 18px 26px 0 rgba(27, 73, 63, 0.1), 0 34px 66px rgba(27, 73, 63, 0.16);
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.75rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: monospace;
  font-size: 0.6rem;
}

.browser-dots {
  display: flex;
  gap: 0.4rem;
}

.browser-dots span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(27, 73, 63, 0.3);
}

.browser-dots span:first-child {
  background: var(--orange);
}

.browser-content {
  position: relative;
  min-height: 390px;
  padding: 2.5rem 2.5rem;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 22px 22px;
}

.browser-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.browser-heading p {
  margin: 0;
  color: var(--muted);
  font-family: monospace;
  font-size: 0.65rem;
  font-weight: bold;
}

.browser-heading h2 {
  margin: 0.75rem 0 0;
  font-family: var(--display-font);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.status-pill {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(244, 238, 227, 0.68);
  font-family: monospace;
  font-size: 0.55rem;
  font-weight: bold;
}

.chart-area {
  position: absolute;
  inset: 10rem 2.5rem 2.5rem;
}

.chart-area svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
}

.chart-line-secondary {
  stroke: var(--orange);
  stroke-dasharray: 5 7;
  stroke-width: 2;
  opacity: 0.65;
}

.chart-point {
  fill: var(--orange);
  stroke: var(--paper-card);
  stroke-width: 5;
  animation: pulse-point 2.6s ease-in-out infinite;
}

.chart-label {
  position: absolute;
  top: 30%;
  left: 65%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.6rem;
  color: var(--paper-card);
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--orange);
  font-size: 0.62rem;
  font-weight: bold;
}

.chart-footer {
  position: absolute;
  right: 2.5rem;
  bottom: 1.25rem;
  left: 2.5rem;
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(27, 73, 63, 0.15);
  color: var(--muted);
  font-family: monospace;
  font-size: 0.55rem;
  font-weight: bold;
}

.preview-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  margin: -1.4rem 2rem 0 auto;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  color: var(--paper-card);
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--orange);
  font-family: monospace;
  font-size: 0.6rem;
  font-weight: bold;
}

.site-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  padding: 1.25rem 0;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: bold;
}

@keyframes pulse-point {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.13); opacity: 0.82; }
}

@media (max-width: 900px) {
  .page-width { width: min(100% - 3rem, 680px); }
  .hero {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 5rem 0;
  }
  .preview { max-width: 610px; }
}

@media (max-width: 560px) {
  .page-width { width: min(100% - 2rem, 420px); }
  .site-header { padding: 1.25rem 0; }
  .header-note, .footer-middle { display: none; }
  .hero { gap: 3rem; padding: 4rem 0; }
  .eyebrow { margin-bottom: 1.5rem; font-size: 0.58rem; }
  .intro { margin-top: 2rem; }
  .supporting-copy { margin-top: 2.5rem; }
  .browser-bar { padding: 0.9rem 1rem; font-size: 0.48rem; }
  .browser-content { min-height: 300px; padding: 2rem 1.25rem; }
  .browser-heading h2 { font-size: 1.5rem; }
  .chart-area { inset: 8.5rem 1.25rem 2.25rem; }
  .chart-footer { right: 1.25rem; left: 1.25rem; }
  .preview-label { margin-right: 1rem; font-size: 0.52rem; }
  .orange-circle { right: -1rem; width: 6rem; height: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.advice-button {
  margin-top: 16px;
}
.advice-button,
.result-button {
  background: #1FAD34;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.advice-button {
  background: transparent;
  color: #1FAD34;
  border: 2px solid #1FAD34;
  padding: 8px 16px;
  font-size: 13px;
}