/* patchitfast.eu — Fase 0 one-pager
   Signatuur: de patch-als-diff. Context-regels (grijs) tot de regel die
   het fixt (oranje "+"). Gebruikt waar het echt een sequentie is. */

:root {
  --bg: #0E0F12;
  --bg-surface: #16181D;
  --bg-surface-2: #1D2027;
  --border: #2A2E37;
  --text: #F5F6F8;
  --text-dim: #A7ACB6;
  --text-mute: #6B7280;
  --accent: #FF5A1F;
  --accent-tint: rgba(255, 90, 31, 0.14);

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-gap: clamp(3.5rem, 9vw, 6.5rem);
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-dim);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }

p { margin: 0 0 1rem; max-width: 60ch; }

.mono { font-family: var(--font-mono); }

.accent { color: var(--accent); }

a { color: inherit; }

a.link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.2em;
}

a.link:hover { color: var(--accent); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 0.75rem 1rem;
  z-index: 10;
}
.skip:focus { left: var(--gutter); }

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

/* --- sticky top bar --- */
.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--gutter);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.bar__mark {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  font-size: 1rem;
  text-decoration: none;
}

/* --- route-pad als nav: leest als een terminal-cd, geen generieke navbar --- */
.route {
  order: 3;
  flex-basis: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
}
@media (min-width: 40rem) {
  .route { order: 0; flex-basis: auto; }
}
.route__seg { color: var(--text-mute); text-decoration: none; }
.route__seg:hover { color: var(--accent); }
.route__seg--active { color: var(--accent); }
.route__sep { color: var(--border); }

/* --- taalwissel: zelfde stille mono-stijl als de route-pad --- */
.lang {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  order: 1;
}
.lang__seg { color: var(--text-mute); text-decoration: none; }
.lang__seg:hover { color: var(--accent); }
.lang__seg--active { color: var(--text); cursor: default; }

.bar__cta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.bar__cta:hover { border-color: var(--accent); color: var(--accent); }

section, .footer {
  padding: var(--section-gap) var(--gutter);
  max-width: 64rem;
  margin: 0 auto;
}

/* --- kicker / terminal line --- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1.25rem;
}
.kicker code { color: var(--text-dim); text-transform: none; letter-spacing: normal; }

.pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
}

/* --- command-eyebrow: de terminal-ruggegraat van elke sectie --- */
.cmd {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-mute);
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- hero: live scan-console, de verdict wordt de kop --- */
.hero { padding-top: clamp(2.5rem, 8vw, 5.5rem); }
.hero__sub { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--text-dim); }

.console {
  max-width: 44rem;
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.02), 0 24px 60px -30px rgba(0,0,0,0.9);
}
/* console die ná een cta/intro volgt (sub-pagina's) i.p.v. vóór de h1 (home) */
.console--follow { margin-top: clamp(2rem, 5vw, 3rem); }
.console__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.console__dots { display: inline-flex; gap: 0.35rem; flex: none; }
.console__dots i {
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--border);
}
.console__cmd {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.console__live {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.console__out { list-style: none; margin: 0; padding: 0.4rem 0; }
.rl {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.4rem 1rem;
  font-size: clamp(0.8rem, 2.4vw, 0.92rem);
}
.rl__key { flex: none; color: var(--text-mute); }
.rl__key::after { content: ' ·····'; color: var(--border); letter-spacing: 0.1em; }
.rl__val { color: var(--text-dim); }
.rl__val--crit { color: var(--accent); }
.rl--crit { background: var(--accent-tint); }
.rl--crit .rl__val { color: var(--accent); font-weight: 600; }
.rl__flag { flex: none; color: var(--accent); font-weight: 800; width: 0.6rem; }
.console__verdict {
  margin: 0;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--accent-tint);
  color: var(--accent);
  font-size: clamp(0.85rem, 2.6vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.console__verdict::after {
  content: '_';
  margin-left: 0.25rem;
  animation: blink 1.1s step-end infinite;
}

/* typing-reveal: default alles zichtbaar (no-JS / reduced-motion); is-typing animeert */
.console.is-typing .console__out li,
.console.is-typing .console__verdict { opacity: 0; transform: translateY(3px); }
.console.is-typing .console__out li.is-on,
.console.is-typing .console__verdict.is-on {
  opacity: 1; transform: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .console__verdict::after { animation: none; }
}

.hero__label {
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  margin: 0 0 0.6rem;
}
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.75rem;
}
.hero__exchange {
  margin: 0;
  max-width: 48ch;
  font-size: 0.92rem;
  color: var(--text-dim);
}

/* --- buttons --- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 0.4rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 85%, white); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* --- case-strip (diff) --- */
.case {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: none;
}
.case > * { max-width: 64rem; margin-left: auto; margin-right: auto; }

.diff {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  max-width: 28rem;
}
.diff__line {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.diff__line:last-child { border-bottom: none; }
.diff__line--ctx { color: var(--text-mute); }
.diff__line--add { color: var(--accent); background: var(--accent-tint); font-weight: 700; }
.diff__gutter { color: inherit; opacity: 0.7; width: 1.25rem; flex: none; }

/* --- probleem: korter dan de generieke section-gap — sobere secties (cmd+kop+
   tekst, geen console/diff/tiers-blok) lezen anders stil met de volle 6.5rem --- */
.problem { padding-top: clamp(2rem, 5vw, 3.25rem); padding-bottom: clamp(2rem, 5vw, 3.25rem); }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.tag {
  font-size: 0.8rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}

/* --- ladder als console-selector: één keuzevlak, geen 3 losse prijskaarten --- */
.ladder__sub { color: var(--text-dim); max-width: 60ch; margin: 0; }
.plan__unit { font-size: 0.78rem; color: var(--text-mute); font-weight: 400; }

.tiers {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  overflow: hidden;
}
.tiers__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.1rem;
  padding: 1.15rem 1.3rem;
  border-bottom: 1px solid var(--border);
}
.tiers__row:last-child { border-bottom: none; }
.tiers__row--featured { background: var(--bg-surface-2); box-shadow: inset 3px 0 0 var(--accent); }
.tiers__mark { flex: none; width: 1.4rem; color: var(--text-mute); font-size: 0.85rem; }
.tiers__row--featured .tiers__mark { color: var(--accent); }
.tiers__body { flex: 1 1 15rem; display: flex; flex-direction: column; gap: 0.25rem; }
.tiers__name { color: var(--text); font-weight: 700; font-size: 1.05rem; }
.tiers__badge {
  font-size: 0.65rem;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  vertical-align: middle;
  margin-left: 0.3rem;
  font-weight: 600;
}
.tiers__desc { font-size: 0.9rem; color: var(--text-dim); }
.tiers__price { flex: none; color: var(--text); font-size: 1.05rem; }
.tiers__go { flex: none; }

/* --- tier-keuze in checkout-formulier --- */
.tier { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.tier legend { color: var(--text); font-size: 0.9rem; font-weight: 600; padding: 0; margin-bottom: 0.2rem; }
.tier__opt {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
}
.tier__opt input { flex: none; margin: 0; accent-color: var(--accent); }
.tier__name { flex: 1; color: var(--text); font-weight: 600; }
.tier__price { color: var(--text-dim); font-size: 0.9rem; }
.tier__opt:has(input:checked) { border-color: var(--accent); background: var(--bg-surface-2); }

/* --- roi (rekensom) --- */
.sum {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  max-width: 34rem;
}
.sum__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.sum__line:last-child { border-bottom: none; }
.sum__line--ctx { color: var(--text-mute); }
.sum__line--add { color: var(--accent); background: var(--accent-tint); font-weight: 700; }
.sum__label { flex: 1; }
.sum__amount { white-space: nowrap; }
.sum__unit { font-size: 0.78rem; color: var(--text-mute); font-weight: 400; }
.sum__line--add .sum__unit { color: inherit; opacity: 0.8; }
.roi__punch { margin-top: 1.25rem; font-size: 1.05rem; color: var(--text); }
.roi__cta { margin-top: 1.5rem; }

/* --- epiphany-bridge: full-bleed band met één uitgelicht inzicht (de menselijke beat) --- */
.story {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: none;
}
.story > * { max-width: 64rem; margin-left: auto; margin-right: auto; }
.story__epiphany {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.75rem auto 0;
  color: var(--text);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
}

/* --- perks: hergebruikt de patch-als-diff-signatuur (de oranje "+") als opsomming --- */
.perks {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 44rem;
}
.perks li { display: flex; gap: 0.75rem; align-items: baseline; color: var(--text-dim); }
.perks li::before {
  content: '+';
  flex: none;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--accent);
}

/* --- offer-stack: label + no-brainer-anker onder de tiers --- */
.ladder__stack-label {
  margin: 1.75rem 0 0;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
}
.ladder__anchor {
  margin: 1.5rem 0 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0.4rem;
  background: var(--bg-surface);
  color: var(--text);
  font-size: 1rem;
  max-width: 44rem;
}

/* --- garantie-kaarten (gebruiken .compare__grid voor de 2-koloms layout) --- */
.guarantee__card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 1.4rem 1.5rem;
}
.guarantee__card--seal { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.guarantee__name { display: block; margin-bottom: 0.5rem; color: var(--text); font-weight: 700; font-size: 1.05rem; }
.guarantee__card p { margin: 0; color: var(--text-dim); max-width: none; }

/* --- founding-programma --- */
.founding__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.founding__give {
  margin: 1.5rem 0 1.75rem;
  color: var(--text);
  max-width: 60ch;
}

/* --- compare (2 kolommen, bv. fout vs. goed) --- */
.compare__grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) {
  .compare__grid { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
}

/* --- CRA --- */
.cra__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

/* --- lead form --- */
.lead { max-width: 36rem; }
.lead__sub { color: var(--text-dim); }
form { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { color: var(--text); font-size: 0.9rem; font-weight: 600; }
.field input[type="email"],
.field input[type="text"] {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  color: var(--text);
  font: inherit;
  padding: 0.75rem 0.9rem;
}
.field input::placeholder { color: var(--text-mute); }
.field--check { flex-direction: row; align-items: flex-start; gap: 0.6rem; }
.field--check label { font-weight: 400; font-size: 0.9rem; }
.field--check input { margin-top: 0.3rem; accent-color: var(--accent); }
form .btn--primary { align-self: flex-start; }
[data-status] { min-height: 1.2em; font-size: 0.9rem; color: var(--text-mute); margin: 0; }

/* --- faq --- */
.faq__list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.faq details {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
}
.faq summary {
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--accent); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0.75rem 0 0; }

/* --- CVE-ticker: dunne stocktracker-balk boven de header --- */
.ticker {
  display: flex;
  align-items: center;
  height: 2.1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.ticker[hidden] { display: none; }
.ticker__label {
  flex: none;
  margin: 0;
  padding: 0 0.9rem;
  border-right: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.ticker__rail {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding-left: 0.9rem;
  animation: ticker-scroll 42s linear infinite;
}
.ticker__rail:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  white-space: nowrap;
}
.ticker__item a { text-decoration: none; }
.ticker__item a:hover { color: var(--accent); }
.ticker__item--kev { color: var(--accent); }
.ticker__source { color: var(--text-mute); }
.ticker__tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}
.ticker__sep { color: var(--border); margin: 0 1rem; }

/* --- footer --- */
.footer {
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-mute);
}
.footer p { margin: 0 0 0.4rem; max-width: none; }
