:root {
  --bg: #121212;
  --bg-alt: #1e1e1e;
  --card: #191919;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --ink: #e1e1e1;
  --muted: #a8a8a8;

  --teal: #288a82;
  --teal-text: #288a82;
  --teal-soft: rgba(40, 138, 130, 0.14);

  --magenta: #a83d6e;
  --magenta-hover: #bf477d;
  --magenta-text: #a83d6e;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Proza Libre", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mark: "Montserrat", var(--font-body);

  --max-width: 760px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  color: #f2f2f2;
}

h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 4.4vw, 2.5rem); }

p { margin: 0 0 1.1em; color: var(--ink); }

button { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18, 18, 18, 0.94);
  backdrop-filter: saturate(150%) blur(14px);
}

.topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.4rem 1.5rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: var(--font-mark);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  white-space: nowrap;
}

.brand-small { font-size: 0.85rem; }

.progress-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.progress-track {
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
}

.progress-bar {
  height: 100%;
  width: 0;
  background: var(--magenta);
  transition: width 0.5s var(--ease);
}

.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 4.5rem;
}

.card {
  background: var(--card);
  border: 1px solid rgba(40, 138, 130, 0.32);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9);
  animation: rise 0.6s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-media {
  position: relative;
  margin: 0;
  line-height: 0;
}

.card-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(25, 25, 25, 0) 55%, rgba(25, 25, 25, 0.75) 100%);
}

.card-media.has-text::after {
  background: linear-gradient(to bottom, rgba(18, 18, 18, 0.15) 30%, rgba(25, 25, 25, 0.92) 100%);
}

.card-media-text {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  width: min(90%, 34ch);
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.3rem, 3.2vw, 1.8rem);
  line-height: 1.3;
  text-align: center;
  color: #ffffff;
}

.card-body { padding: 2.6rem 2.4rem 2.2rem; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta-text);
  margin: 0 0 1.2em;
}

.lead {
  font-size: 1.02rem;
  color: var(--ink);
  max-width: 48ch;
}

.fineprint {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 48ch;
}

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 2rem 0 0;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  width: 100%;
  text-align: left;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  line-height: 1.55;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.option:hover { border-color: var(--teal); }

.option.selected {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: #ffffff;
}

.option-marker {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 0.35rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.option.selected .option-marker {
  border-color: var(--teal-text);
  box-shadow: inset 0 0 0 4px var(--teal-text);
}

.option-text { flex: 1; }

.field {
  display: grid;
  gap: 0.5rem;
  margin: 1.6rem 0 0;
}

.field-label {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.text-input,
.text-area,
.select-input {
  width: 100%;
  font: inherit;
  padding: 0.85em 1em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.text-area {
  resize: vertical;
  line-height: 1.7;
  min-height: 9.5rem;
}

.select-input {
  padding-right: 2.6em;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23288a82' stroke-width='1.6' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1em center;
  appearance: none;
  cursor: pointer;
}

.select-input option {
  background: var(--bg-alt);
  color: var(--ink);
}

.text-input:focus,
.text-area:focus,
.select-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(40, 138, 130, 0.28);
}

.text-input::placeholder,
.text-area::placeholder { color: #7d7d7d; }

.counter {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.85em 2.1em;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.btn-primary {
  background: var(--magenta);
  color: #ffffff;
}

.btn-primary:not(:disabled):hover { background: var(--magenta-hover); }

.btn-primary:disabled {
  background: transparent;
  color: #6f6f6f;
  border-color: var(--line-strong);
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--teal);
}

[data-screen="verzonden"] .lead { max-width: 52ch; }

.pagefooter {
  position: relative;
  z-index: 1;
  padding: 2.8rem 1.5rem 3.2rem;
  text-align: center;
  background: var(--bg-alt);
}

.pagefooter p {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.pagefooter p + p { margin-top: 0.2rem; }

@media (max-width: 560px) {
  .stage { padding: 2.5rem 1.1rem 3.5rem; }
  .card { border-radius: var(--radius-md); }
  .card-body { padding: 1.9rem 1.4rem 1.6rem; }
  .btn { padding: 0.85em 1.5em; }
  .topbar-inner { padding: 1.1rem 1.1rem 0.9rem; }
  .progress-label { font-size: 0.66rem; letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
