/* ---------------------------------------------------------------------------
   Velo, productsite. Dezelfde tokens als de app zelf, zodat de site en het
   product niet als twee losse dingen voelen.
   --------------------------------------------------------------------------- */

:root {
  --bg: #0c0c11;
  --bg-raised: #141419;

  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.065);
  --line: rgba(255, 255, 255, 0.07);
  --edge: rgba(255, 255, 255, 0.11);

  --text: #f4f4f6;
  --muted: #9a9aa6;
  --faint: #63636f;

  --accent: #7c6cff;
  --accent-hover: #8f81ff;
  --accent-soft: rgba(124, 108, 255, 0.16);
  --ok: #3ecf8e;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --wrap: 1080px;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
    "Segoe UI", Roboto, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, monospace;
}

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

html { scroll-behavior: smooth; scrollbar-gutter: stable; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-weight: 620;
}

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 100;
}
.skip:focus { left: 0; }

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

/* ── Knoppen ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 560;
  letter-spacing: -0.01em;
  padding: 12px 20px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset,
              0 8px 24px -10px rgba(124, 108, 255, .8);
}
.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset,
              0 14px 30px -12px rgba(124, 108, 255, .95);
}
.btn:active { transform: translateY(0); }

.btn-sm { padding: 8px 16px; font-size: 15px; }
.btn-lg { padding: 15px 26px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn-ico { opacity: .9; flex: none; }

/* ── Navigatie ───────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.stuck {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 640;
  letter-spacing: -0.02em;
  font-size: 17px;
  margin-right: auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(150deg, #8f81ff, #5b46f2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset;
  flex: none;
}
.brand-mark.small {
  width: 21px; height: 21px; border-radius: 6px;
  vertical-align: -5px; margin-right: 4px;
  display: inline-grid;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 15px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--text); }

@media (max-width: 780px) { .nav-links { display: none; } }

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 7vw, 92px);
  overflow: hidden;
}

.glow {
  position: absolute;
  top: -280px;
  left: 50%;
  translate: -50% 0;
  width: min(1100px, 130vw);
  height: 720px;
  pointer-events: none;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(124, 108, 255, .28), transparent 70%),
    radial-gradient(38% 44% at 70% 40%, rgba(62, 207, 142, .09), transparent 70%);
  filter: blur(12px);
}
.glow-b { top: auto; bottom: -420px; height: 620px; opacity: .7; }

.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: .01em;
  padding: 5px 13px 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  margin-bottom: 26px;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(62, 207, 142, .16);
}

h1 {
  font-size: clamp(46px, 7.4vw, 78px);
  letter-spacing: -0.042em;
  font-weight: 660;
}

.lede {
  margin-top: 22px;
  font-size: clamp(17px, 1.5vw, 19.5px);
  color: var(--muted);
  max-width: 30ch;
  line-height: 1.55;
}
.lede-sm { font-size: 17.5px; max-width: 40ch; }

.cta { margin-top: 34px; }
.cta-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.faint { color: var(--faint); font-size: 13px; }

/* ── Hero-demo ───────────────────────────────────────────────────────── */

.hero-demo {
  position: relative;
  padding-bottom: 54px;
}

.win {
  background: linear-gradient(180deg, #17171e, #101015);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95),
              0 2px 0 rgba(255, 255, 255, .05) inset;
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .022);
}
.tl { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.tl.r { background: #ff5f57; } .tl.y { background: #febc2e; } .tl.g { background: #28c840; }
.win-title {
  margin-left: 8px;
  font-size: 12.5px;
  color: var(--faint);
  letter-spacing: .01em;
}

.win-body { padding: 20px 22px 26px; min-height: 176px; }

.field {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--text);
  min-height: 130px;
}
.field-txt { white-space: pre-wrap; }

.caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  vertical-align: -0.18em;
  background: var(--accent);
  margin-left: 1px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

.pill {
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px 9px 13px;
  border-radius: 999px;
  background: rgba(20, 20, 26, .92);
  border: 1px solid var(--edge);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .9);
  opacity: 0;
  translate: -50% 10px;
  transition: opacity .22s ease, translate .22s ease;
}
.pill.on { opacity: 1; translate: -50% 0; }

.pill-key { font-size: 13px; color: var(--muted); }
kbd {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}

.wave { display: flex; align-items: center; gap: 3px; height: 20px; }
.wave i {
  width: 3px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
  animation: bar 900ms ease-in-out infinite;
}
.pill:not(.on) .wave i { animation-play-state: paused; }
.wave i:nth-child(1) { animation-delay: 0ms;   }
.wave i:nth-child(2) { animation-delay: 110ms; }
.wave i:nth-child(3) { animation-delay: 220ms; }
.wave i:nth-child(4) { animation-delay: 70ms;  }
.wave i:nth-child(5) { animation-delay: 300ms; }
.wave i:nth-child(6) { animation-delay: 160ms; }
.wave i:nth-child(7) { animation-delay: 40ms;  }
@keyframes bar {
  0%, 100% { height: 4px;  opacity: .55; }
  50%      { height: 17px; opacity: 1;   }
}

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .lede { max-width: 46ch; }
  .hero-demo { margin-top: 8px; }
}

/* ── Snelheidsstrip ──────────────────────────────────────────────────── */

.strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .015);
}
.strip-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-block: 30px;
}
.stat b {
  display: block;
  font-size: 24px;
  font-weight: 620;
  letter-spacing: -0.03em;
}
.stat span {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  color: var(--faint);
  line-height: 1.4;
}
@media (max-width: 760px) {
  .strip-in { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
}

/* ── Secties ─────────────────────────────────────────────────────────── */

.sec { padding-block: clamp(72px, 9vw, 118px); }
.sec-tight { padding-top: 0; }

.kicker {
  font-size: 13px;
  font-weight: 560;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.035em;
  max-width: 20ch;
}

/* ── Stappen ─────────────────────────────────────────────────────────── */

.steps {
  list-style: none;
  margin: 52px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.steps li { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.step-n {
  display: grid;
  place-items: center;
  width: 27px; height: 27px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  margin-bottom: 15px;
}
.steps h3 { font-size: 19px; letter-spacing: -0.02em; }
.steps p { margin-top: 9px; color: var(--muted); font-size: 15.5px; line-height: 1.62; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 30px; } }

/* ── Kaarten ─────────────────────────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  grid-column: span 2;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--card);
  transition: background .2s ease, border-color .2s ease;
}
.card:hover { background: var(--card-hover); border-color: var(--edge); }
.card-wide { grid-row: span 2; grid-column: span 2; }

.card-ico {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  margin-bottom: 18px;
}
.card h3 { font-size: 19.5px; letter-spacing: -0.022em; }
.card p { margin-top: 11px; color: var(--muted); font-size: 15.5px; line-height: 1.62; }
.card b { color: var(--text); font-weight: 560; }

.learn {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, .28);
}
.learn-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.learn-tag {
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  flex: none;
}
.learn-tag.bad  { color: #ff9d9f; background: rgba(255, 90, 95, .14); }
.learn-tag.good { color: var(--ok); background: rgba(62, 207, 142, .14); }
.learn .mono { font-family: var(--mono); font-size: 13.5px; color: var(--text); }
.learn-arrow {
  font-size: 12.5px;
  color: var(--faint);
  padding: 9px 0 9px 3px;
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .card, .card-wide { grid-column: auto; grid-row: auto; }
}

/* ── Privacy ─────────────────────────────────────────────────────────── */

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checks li {
  position: relative;
  padding: 15px 0 15px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 19px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: rgba(62, 207, 142, .15)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2 4.7 8.3 9.4 3.6' fill='none' stroke='%233ecf8e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 860px) { .privacy { grid-template-columns: 1fr; } }

/* ── Prijs ───────────────────────────────────────────────────────────── */

.prices {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.price {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--card);
  display: flex;
  flex-direction: column;
}
.price-now {
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  background:
    linear-gradient(180deg, rgba(124, 108, 255, .1), transparent 55%),
    var(--card);
}
.price-label {
  font-size: 12.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--faint);
}
.price-now .price-label { color: var(--accent); }
.price-amt {
  margin-top: 14px;
  font-size: 40px;
  font-weight: 640;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.price-amt span {
  display: block;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 6px;
}
.price-desc { margin-top: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.62; flex: 1; }
.price-desc + .btn, .price-desc + .price-foot { margin-top: 24px; }
.price-foot {
  font-size: 13.5px;
  color: var(--faint);
  line-height: 1.55;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────────────────────────────────── */

.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 34px 19px 0;
  position: relative;
  font-size: 17px;
  font-weight: 520;
  letter-spacing: -0.015em;
  transition: color .15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-hover); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -6px;
  border-right: 1.8px solid var(--faint);
  border-bottom: 1.8px solid var(--faint);
  rotate: 45deg;
  transition: rotate .32s cubic-bezier(.32, .72, 0, 1),
              margin-top .32s cubic-bezier(.32, .72, 0, 1),
              border-color .18s ease;
}
.faq details[open] summary::after { rotate: -135deg; margin-top: -2px; border-color: var(--accent); }
.faq p { padding: 0 8% 22px 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; margin-top: -4px; }

/* ── Slot ────────────────────────────────────────────────────────────── */

.final { position: relative; overflow: hidden; text-align: center; }
.final-in { position: relative; display: grid; justify-items: center; gap: 26px; }
.final h2 { max-width: 100%; }
.final .faint { margin-top: -12px; }

/* ── Footer ──────────────────────────────────────────────────────────── */

.foot { border-top: 1px solid var(--line); padding-block: 30px; }
.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  color: var(--muted);
}
.foot a { color: var(--muted); text-decoration: none; transition: color .15s ease; }
.foot a:hover { color: var(--text); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ── Changelog ───────────────────────────────────────────────────────────
   De lijst komt uit /api/releases, dus de opmaak moet werken met notities
   van één regel én met een volle release-note met kopjes en lijstjes.
   ------------------------------------------------------------------------ */

.sec-top { padding-top: clamp(48px, 6vw, 76px); }

.page-title {
  font-size: clamp(32px, 4.4vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-weight: 620;
  max-width: 18ch;
}

.nav-links a[aria-current="page"] { color: var(--text); }

/* Tijdlijn: één rail links, per release een stip erop. */
.rels {
  margin-top: 52px;
  position: relative;
  padding-left: 26px;
}
.rels::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--edge), transparent);
}

.rel { position: relative; padding-bottom: 46px; }
.rel:last-child { padding-bottom: 0; }
.rel::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--faint);
  box-shadow: 0 0 0 4px var(--bg);
}
.rel:first-child::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--accent-soft);
}

.rel-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
.rel-tag {
  font-size: 24px;
  font-weight: 620;
  letter-spacing: -0.03em;
}
.rel-badge {
  font-size: 11px;
  font-weight: 560;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 9px;
}
.rel-head time { font-size: 14px; color: var(--faint); margin-left: auto; }

.rel-body { margin-top: 14px; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.rel-body h3 {
  margin: 22px 0 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.rel-body h3:first-child { margin-top: 0; }
.rel-body p { margin: 0 0 10px; }
.rel-body p:last-child { margin-bottom: 0; }
.rel-body ul { margin: 0 0 10px; padding-left: 0; list-style: none; }
.rel-body li { position: relative; padding-left: 20px; margin-bottom: 5px; }
.rel-body li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--faint);
}
.rel-body strong { color: var(--text); font-weight: 560; }
.rel-body code {
  font-family: var(--mono);
  font-size: 13.5px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.rel-body a { color: var(--accent); }

.rel-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.rel-dl:hover { background: var(--card-hover); color: var(--text); border-color: var(--accent); }

.rel-loading, .rel-fail { color: var(--faint); font-size: 15px; }
.rel-fail a { color: var(--accent); }

@media (max-width: 620px) {
  .rel-head time { margin-left: 0; width: 100%; }
}
