/* Kilogain — gedeelde stijl voor alle pagina's.

   Eigen ontwerp, afgeleid van de app zelf: bijna-zwart met een violette
   ondertoon, violet als accent (#AD81FE, de donkere-themakleur uit de app) en
   het blauw van de app (#6ABCE6) als tweede tint in het verloop. Eén donker
   thema: zo ziet de app er ook uit op de schermafbeeldingen.

   Het terugkerende motief is de weekstrook: zeven afgeronde balkjes, zoals op
   de consistentiekaart in de app. */

:root {
  color-scheme: dark;

  --bg: #0b0a10;
  --bg-soft: #100e16;
  --card: #15131c;
  --card-2: #1c1925;
  --card-3: #24202f;
  --line: rgba(237, 233, 247, 0.08);
  --line-2: rgba(237, 233, 247, 0.15);

  --text: #f2eff8;
  --muted: #aca6b9;
  --faint: #8a8497;

  --violet: #ad81fe;
  --violet-2: #c7adff;
  --violet-ink: #0b0614;
  --violet-soft: rgba(173, 129, 254, 0.13);
  --blue: #6abce6;
  --mint: #3ccf95;
  --amber: #ffc98b;
  --todo: #ffd166;

  --grad: linear-gradient(115deg, #6abce6 0%, #ad81fe 60%, #c7adff 100%);

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 32px);

  --font: ui-sans-serif, "Segoe UI Variable Text", "Segoe UI", system-ui,
    -apple-system, "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-sans-serif, "Segoe UI Variable Display", "Segoe UI",
    system-ui, -apple-system, "SF Pro Display", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;

  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Tot de taal geladen is, blijft de inhoud onzichtbaar: anders flitsen er
   lege koppen of sleutelnamen voorbij. site.js haalt de klasse weg, en na
   drie seconden doet een CSS-animatie dat hoe dan ook. */
html.kg-wait main,
html.kg-wait .site-foot {
  opacity: 0;
  animation: kg-show 0s 3s forwards;
}
@keyframes kg-show {
  to {
    opacity: 1;
  }
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: var(--violet-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  font-weight: 780;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

::selection {
  background: var(--violet);
  color: var(--violet-ink);
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow {
  max-width: calc(780px + 2 * var(--gutter));
}
/* Kopbalk en voet lopen op brede schermen over de volle breedte van de
   pagina; de inhoud ertussen blijft binnen --wrap. */
.site-head > .wrap,
.site-head .drawer > .wrap,
.site-foot > .wrap {
  max-width: none;
  padding: 0 max(var(--gutter), clamp(16px, 3.5vw, 64px));
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: var(--violet);
  color: var(--violet-ink);
  padding: 8px 14px;
  border-radius: 10px;
}

/* Nog in te vullen gegevens (adres, e-mail...) vallen meteen op. */
.todo {
  background: rgba(255, 209, 102, 0.14);
  color: var(--todo);
  border: 1px dashed rgba(255, 209, 102, 0.6);
  border-radius: 6px;
  padding: 0 6px;
  font-family: var(--font-mono);
  font-size: 0.88em;
}

/* ------------------------------------------------------------ knoppen */

.btn {
  --h: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--card-2);
  color: var(--text);
  font: 650 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  color: #fff;
  border-color: rgba(237, 233, 247, 0.3);
  background: var(--card-3);
  transform: translateY(-1px);
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn-primary {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--violet-ink);
}
.btn-primary:hover {
  background: var(--violet-2);
  border-color: var(--violet-2);
  color: var(--violet-ink);
}
.btn-ghost {
  background: transparent;
}
.btn-sm {
  --h: 40px;
  padding: 0 16px;
  font-size: 15px;
}
.btn[disabled],
.btn.is-off {
  opacity: 0.55;
  pointer-events: none;
}

/* Winkelknoppen: twee regels tekst, eigen icoon, geen merklogo's. */
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 20px 8px 16px;
  border-radius: 16px;
  background: var(--text);
  color: var(--violet-ink);
  text-decoration: none;
  border: 1px solid var(--text);
  transition: transform 0.15s ease, background 0.15s ease;
}
.store:hover {
  color: var(--violet-ink);
  background: #fff;
  transform: translateY(-1px);
}
.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store small {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.75;
  font-weight: 550;
}
.store b {
  display: block;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.store.is-soon {
  background: transparent;
  color: var(--muted);
  border: 1px dashed var(--line-2);
  pointer-events: none;
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ------------------------------------------------------------ kop */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 16, 0.72);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-head.is-scrolled {
  border-bottom-color: var(--line);
}
.head-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font: 800 20px/1 var(--font-display);
  letter-spacing: -0.03em;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.brand:hover {
  color: #fff;
}
.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 550;
  font-size: 15.5px;
  padding: 8px 12px;
  border-radius: 10px;
}
.main-nav a:hover {
  color: var(--text);
  background: var(--card);
}
.main-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--card-2);
}
.head-tools {
  margin-left: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  min-width: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  font: 600 14px/1 var(--font);
  cursor: pointer;
}
.icon-btn:hover {
  background: var(--card);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}
.burger {
  display: none;
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .head-tools {
    margin-left: auto;
  }
  .burger {
    display: inline-flex;
  }
  .head-dl {
    display: none;
  }
}

/* Uitklapmenu op smalle schermen */
.drawer {
  display: none;
  border-top: 1px solid var(--line);
  padding: 10px 0 18px;
}
.drawer.is-open {
  display: block;
}
.drawer a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  border-bottom: 1px solid var(--line);
}
.drawer .btn {
  margin-top: 16px;
  width: 100%;
}
@media (min-width: 961px) {
  .drawer {
    display: none !important;
  }
}

/* ------------------------------------------------------------ taalkiezer */

.lang-dialog {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--card);
  color: var(--text);
  padding: 0;
  width: min(760px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 48px));
  box-shadow: var(--shadow);
}
.lang-dialog::backdrop {
  background: rgba(5, 4, 9, 0.7);
  backdrop-filter: blur(4px);
}
.lang-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 8px;
}
.lang-dialog h2 {
  font-size: 20px;
  margin: 0;
}
.lang-grid {
  list-style: none;
  margin: 0;
  padding: 10px 14px 22px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  grid-auto-rows: 1fr;
  gap: 4px;
}
.lang-grid li {
  display: flex;
}
/* Elke knop zo hoog als een naam over twee regels (Português (Brasil)),
   zodat er overal evenveel ruimte tussen de talen zit. */
.lang-grid button {
  width: 100%;
  min-height: calc(2 * 1.2em + 24px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font: 550 15px/1.2 var(--font);
  cursor: pointer;
  text-align: left;
}
.lang-grid button:hover {
  background: var(--card-2);
}
.lang-grid button[aria-current="true"] {
  border-color: var(--violet);
  background: var(--violet-soft);
}
.lang-grid .code {
  font: 600 11px/1 var(--font-mono);
  color: var(--faint);
  text-transform: uppercase;
}

/* ------------------------------------------------------------ secties */

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}
.section-tight {
  padding: clamp(40px, 6vw, 72px) 0;
}
.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 650 13px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-2);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 6px;
  border-radius: 3px;
  background: var(--grad);
}
.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 62ch;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}
.center {
  text-align: center;
}

/* Weekstrook: zeven balkjes. De gevulde balkjes zijn trainingsdagen. */
.weekstrip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  width: 168px;
}
.weekstrip i {
  height: 8px;
  border-radius: 4px;
  background: var(--card-3);
}
.weekstrip i.on {
  background: var(--amber);
}

/* ------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding: clamp(40px, 7vw, 90px) 0 clamp(56px, 8vw, 110px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto 35%;
  height: 900px;
  background: radial-gradient(
      closest-side,
      rgba(173, 129, 254, 0.28),
      transparent 70%
    ),
    radial-gradient(
      closest-side at 30% 70%,
      rgba(106, 188, 230, 0.16),
      transparent 70%
    );
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  margin-bottom: 22px;
}
.hero .lead {
  margin-bottom: 30px;
}
.demo-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 460px;
  margin-top: 18px;
  padding: 14px 18px 14px 14px;
  border-radius: 20px;
  border: 1px solid rgba(173, 129, 254, 0.55);
  background: linear-gradient(135deg, rgba(173, 129, 254, 0.24), rgba(173, 129, 254, 0.08));
  box-shadow: 0 10px 30px -12px rgba(173, 129, 254, 0.55);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.demo-cta:hover {
  border-color: var(--violet);
  background: linear-gradient(135deg, rgba(173, 129, 254, 0.32), rgba(173, 129, 254, 0.12));
}
.demo-cta-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--violet);
  color: var(--violet-ink);
}
.demo-cta-ico svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}
.demo-cta b {
  display: block;
  font-size: 17px;
  font-weight: 750;
}
.demo-cta small {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  color: var(--muted);
}
.demo-cta-arrow {
  flex: none;
  width: 20px;
  height: 20px;
  margin-left: auto;
  color: var(--violet-2);
}
.hero-note {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--faint);
}
.hero-note a {
  color: var(--muted);
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}
.facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.facts svg {
  width: 18px;
  height: 18px;
  color: var(--violet);
}

.hero-phones {
  position: relative;
  height: clamp(520px, 56vw, 660px);
}
.hero-phones .phone {
  position: absolute;
  width: clamp(230px, 22vw, 290px);
}
.hero-phones .phone:first-child {
  left: 4%;
  top: 0;
  z-index: 2;
}
.hero-phones .phone:last-child {
  right: 2%;
  top: 70px;
  transform: rotate(4deg);
  opacity: 0.96;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-phones {
    height: 520px;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }
  .hero-phones .phone {
    width: 230px;
  }
}
@media (max-width: 480px) {
  .hero-phones {
    height: 440px;
  }
  .hero-phones .phone {
    width: 190px;
  }
  .hero-phones .phone:last-child {
    top: 50px;
  }
}

/* ------------------------------------------------------------ telefoon */

.phone {
  position: relative;
  border-radius: 38px;
  padding: 9px;
  background: linear-gradient(160deg, #2a2633, #121017 60%);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.phone img,
.phone .phone-screen {
  width: 100%;
  height: auto;
  aspect-ratio: 412 / 915;
  object-fit: cover;
  object-position: top;
  border-radius: 30px;
  background: #0a0a0c;
}
.phone-screen {
  overflow: hidden;
  position: relative;
}

/* ------------------------------------------------------------ strook */

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-grid > div {
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}
.strip-grid > div:first-child {
  border-left: 0;
}
.strip b {
  display: block;
  font: 800 clamp(1.7rem, 3vw, 2.3rem) / 1 var(--font-display);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.strip span {
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 760px) {
  .strip-grid {
    grid-template-columns: 1fr 1fr;
  }
  .strip-grid > div:nth-child(3) {
    border-left: 0;
  }
  .strip-grid > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/* ------------------------------------------------------------ uitgelicht */

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.showcase + .showcase {
  margin-top: clamp(72px, 10vw, 140px);
}
.showcase.flip .showcase-media {
  order: 2;
}
.showcase-media {
  position: relative;
  display: flex;
  justify-content: center;
}
.showcase-media::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(173, 129, 254, 0.2),
    transparent
  );
  filter: blur(20px);
}
.showcase-media .phone {
  width: min(310px, 78%);
}
.showcase-media .phone.small {
  position: absolute;
  width: min(210px, 50%);
  right: 0;
  bottom: -30px;
  transform: rotate(3deg);
}
.showcase h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
}
@media (max-width: 860px) {
  .showcase {
    grid-template-columns: 1fr;
  }
  .showcase.flip .showcase-media {
    order: 0;
  }
  .showcase-media .phone.small {
    display: none;
  }
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.ticks li {
  position: relative;
  padding-left: 36px;
  color: var(--muted);
}
.ticks li b {
  color: var(--text);
  font-weight: 650;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 7px;
  background: var(--violet-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C7ADFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

/* ------------------------------------------------------------ kaarten */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cards.two {
  grid-template-columns: repeat(2, 1fr);
}
.cards.four {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 960px) {
  .cards,
  .cards.four {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .cards,
  .cards.two,
  .cards.four {
    grid-template-columns: 1fr;
  }
}
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  margin: 0;
}
.card p + p {
  margin-top: 10px;
}
a.card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.card .more {
  display: inline-block;
  margin-top: 14px;
  color: var(--violet-2);
  font-weight: 600;
  font-size: 15px;
}
.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--violet-soft);
  color: var(--violet-2);
  margin-bottom: 18px;
}
.icon-tile svg {
  width: 24px;
  height: 24px;
}
.card .num {
  font: 800 15px/1 var(--font-mono);
  color: var(--violet-2);
  margin-bottom: 14px;
  display: block;
}

/* ------------------------------------------------------------ stappen */

.steps {
  counter-reset: stap;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  counter-increment: stap;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
}
.steps li::before {
  content: counter(stap, decimal-leading-zero);
  display: block;
  font: 800 14px/1 var(--font-mono);
  color: var(--violet-2);
  margin-bottom: 18px;
}
.steps h3 {
  margin-bottom: 8px;
}
.steps p {
  color: var(--muted);
  margin: 0;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------ Premium */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
}
.plan.is-best {
  border-color: var(--violet);
  background: linear-gradient(180deg, rgba(173, 129, 254, 0.12), transparent 55%),
    var(--card);
}
.plan-tag {
  align-self: flex-start;
  font: 700 12px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet-ink);
  background: var(--violet);
  border-radius: 999px;
  padding: 7px 10px;
  margin-bottom: 18px;
}
.plan-tag.muted {
  background: var(--card-3);
  color: var(--muted);
}
.plan h3 {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 650;
  margin-bottom: 12px;
}
.price {
  font: 800 clamp(2.2rem, 4vw, 2.8rem) / 1 var(--font-display);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.price small {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.per-month {
  color: var(--violet-2);
  font-weight: 600;
  margin-top: 10px;
}
.plan p {
  color: var(--muted);
  margin: 16px 0 0;
  font-size: 15.5px;
}
.plan .ticks {
  margin-top: 22px;
  font-size: 15.5px;
}

.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--violet-soft);
  border: 1px solid rgba(173, 129, 254, 0.35);
  border-radius: var(--r);
  padding: 18px 20px;
  color: var(--text);
}
.notice svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--violet-2);
  margin-top: 2px;
}
.notice p {
  margin: 0;
}

/* Vergelijkingstabel gratis / Premium */
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  font-size: 16px;
}
.compare th,
.compare td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare tr:last-child td {
  border-bottom: 0;
}
.compare thead th {
  font: 700 13px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--card-2);
}
.compare td:not(:first-child),
.compare th:not(:first-child) {
  text-align: center;
  width: 120px;
}
.compare .group td {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--violet-2);
  font-size: 14px;
}
.yes,
.no {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  vertical-align: middle;
}
.yes {
  background: var(--violet)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0614' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.no {
  background: var(--card-3);
  width: 12px;
  height: 3px;
  border-radius: 2px;
}
@media (max-width: 560px) {
  .compare th,
  .compare td {
    padding: 13px 12px;
    font-size: 15px;
  }
  .compare td:not(:first-child),
  .compare th:not(:first-child) {
    width: 72px;
  }
}

/* ------------------------------------------------------------ uitklapvragen */

.qa {
  border-top: 1px solid var(--line);
}
.qa details {
  border-bottom: 1px solid var(--line);
}
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  font-weight: 650;
  font-size: 17.5px;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--card-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C7ADFF' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E")
    center / 13px no-repeat;
  transition: transform 0.2s ease;
}
.qa details[open] summary::after {
  transform: rotate(45deg);
}
.qa .answer {
  padding: 0 2px 22px;
  color: var(--muted);
  max-width: 70ch;
}
.qa .answer p:last-child,
.qa .answer ol:last-child,
.qa .answer ul:last-child {
  margin-bottom: 0;
}
.qa .answer ol,
.qa .answer ul {
  padding-left: 1.25em;
  margin: 0 0 1em;
}
.qa .answer li {
  margin-bottom: 6px;
}
.qa .answer b,
.qa .answer strong {
  color: var(--text);
}

/* ------------------------------------------------------------ helpcentrum */

.help-search {
  position: relative;
  max-width: 620px;
  margin: 28px 0 0;
}
.help-search svg {
  position: absolute;
  left: 18px;
  top: 50%;
  translate: 0 -50%;
  width: 20px;
  height: 20px;
  color: var(--faint);
}
.help-search input {
  width: 100%;
  height: 58px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--text);
  font: 500 17px/1 var(--font);
  padding: 0 20px 0 52px;
}
.help-search input:focus {
  outline: none;
  border-color: var(--violet);
}
.help-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 48px;
  align-items: start;
}
.help-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 2px;
}
.help-toc a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 550;
  font-size: 15.5px;
}
.help-toc a:hover {
  background: var(--card);
  color: var(--text);
}
.help-toc a[aria-current="true"] {
  background: var(--violet-soft);
  color: var(--text);
  box-shadow: inset 3px 0 0 var(--violet);
}
.help-toc svg {
  width: 18px;
  height: 18px;
  color: var(--violet-2);
}
.help-cat + .help-cat {
  margin-top: 56px;
}
.help-cat h2 {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.help-cat h2 .icon-tile {
  margin: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.help-empty {
  color: var(--muted);
  padding: 30px 0;
}
@media (max-width: 900px) {
  .help-layout {
    grid-template-columns: 1fr;
  }
  .help-toc {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}
mark {
  background: rgba(173, 129, 254, 0.3);
  color: inherit;
  border-radius: 3px;
}

/* ------------------------------------------------------------ pagina-kop */

.page-hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 48px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -60%;
  width: 70%;
  height: 700px;
  background: radial-gradient(
    closest-side,
    rgba(173, 129, 254, 0.18),
    transparent 70%
  );
  pointer-events: none;
}
.page-hero .wrap {
  position: relative;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  max-width: 18ch;
}
.page-hero .lead {
  margin-top: 6px;
}

/* ------------------------------------------------------------ lange tekst */

.prose {
  max-width: 760px;
}
.prose h2 {
  font-size: 1.45rem;
  margin-top: 2.2em;
  scroll-margin-top: 96px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 1.1rem;
  margin-top: 1.6em;
}
.prose p,
.prose li {
  color: #d7d2e2;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1.1em;
}
.prose li {
  margin-bottom: 7px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.4em;
  font-size: 15.5px;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
}
.prose th {
  color: var(--muted);
  font-weight: 650;
}
.legal-meta {
  color: var(--faint);
  font-size: 15px;
  margin-bottom: 30px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 56px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 96px;
  font-size: 14.5px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.legal-toc b {
  display: block;
  font: 700 12px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}
.legal-toc a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding: 5px 0;
}
.legal-toc a:hover {
  color: var(--text);
}
.legal-toc a[aria-current="true"] {
  color: var(--violet-2);
  font-weight: 600;
  margin-left: -19px;
  padding-left: 17px;
  border-left: 2px solid var(--violet);
}
@media (max-width: 960px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    display: none;
  }
}

/* ------------------------------------------------------------ nieuws */

.timeline {
  position: relative;
  max-width: 820px;
}
.release {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 32px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.release-date {
  font: 650 14px/1.4 var(--font-mono);
  color: var(--violet-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.release h2 {
  font-size: 1.45rem;
}
.release ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.release li b {
  display: block;
  color: var(--text);
  margin-bottom: 2px;
}
.release li span {
  color: var(--muted);
}
@media (max-width: 700px) {
  .release {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ------------------------------------------------------------ formulieren */

.form {
  display: grid;
  gap: 18px;
}
.field label {
  display: block;
  font-weight: 650;
  font-size: 15px;
  margin-bottom: 8px;
}
.field .hint {
  display: block;
  color: var(--faint);
  font-size: 14px;
  margin-top: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  background: var(--bg-soft);
  color: var(--text);
  font: 500 16px/1.4 var(--font);
  border-radius: 14px;
  padding: 14px 16px;
}
.field textarea {
  min-height: 170px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 15px;
}
.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--violet);
  flex: none;
}
.form-status {
  display: none;
  border-radius: var(--r);
  padding: 20px;
  background: var(--violet-soft);
  border: 1px solid rgba(173, 129, 254, 0.35);
}
.form-status.is-on {
  display: block;
}
.form-status.is-error {
  background: rgba(255, 100, 100, 0.08);
  border-color: rgba(255, 120, 120, 0.4);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.side-list {
  display: grid;
  gap: 14px;
}

/* ------------------------------------------------------------ demo */

.demo-stage {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
}
.demo-phone {
  width: 360px;
  max-width: 100%;
  margin: 0 auto;
}
.demo-phone .phone-screen {
  display: grid;
  place-items: center;
}
.demo-phone iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 412px;
  max-width: none;
  height: 915px;
  border: 0;
  transform-origin: 0 0;
  transform: scale(var(--demo-scale, 0.83));
  /* Donker, ook voor de allereerste pixel van het iframe. */
  background: #0b0a10;
  color-scheme: dark;
}
.demo-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 26px;
  text-align: center;
  background: linear-gradient(180deg, rgba(11, 10, 16, 0.3), rgba(11, 10, 16, 0.92) 55%);
}
.demo-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: saturate(0.9) brightness(0.7);
}
.demo-cover p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 900px) {
  .demo-stage {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------ slot-CTA */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 72px);
  background: radial-gradient(
      120% 140% at 100% 0%,
      rgba(173, 129, 254, 0.35),
      transparent 60%
    ),
    radial-gradient(90% 120% at 0% 100%, rgba(106, 188, 230, 0.18), transparent 60%),
    var(--card);
  border: 1px solid var(--line-2);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.cta-band h2 {
  margin-bottom: 12px;
}
.cta-band p {
  color: var(--muted);
  margin: 0;
}
.cta-band .store-row {
  justify-content: flex-end;
}
@media (max-width: 860px) {
  .cta-band {
    grid-template-columns: 1fr;
  }
  .cta-band .store-row {
    justify-content: flex-start;
  }
}

/* ------------------------------------------------------------ taal-wolk */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.chips li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 15px;
}

/* ------------------------------------------------------------ pers */

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.asset-grid figure {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
}
.asset-grid img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}
.asset-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 860px) {
  .asset-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.facts-table {
  width: 100%;
  border-collapse: collapse;
}
.facts-table th,
.facts-table td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.facts-table th {
  width: 38%;
  color: var(--muted);
  font-weight: 550;
  padding-right: 20px;
}
.quote-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  color: #d7d2e2;
}

/* ------------------------------------------------------------ voet */

.site-foot {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 64px 0 30px;
  margin-top: clamp(40px, 6vw, 80px);
  font-size: 15px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.foot-grid h2 {
  font: 700 12px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}
.foot-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.foot-grid a {
  color: var(--muted);
  text-decoration: none;
}
.foot-grid a:hover {
  color: var(--text);
}
.foot-about p {
  color: var(--muted);
  max-width: 32ch;
  margin-top: 14px;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}
.foot-bottom p {
  margin: 0;
}
@media (max-width: 960px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-about {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------ 404 */

.nf {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.nf .big {
  font: 800 clamp(5rem, 16vw, 9rem) / 1 var(--font-display);
  letter-spacing: -0.06em;
}

/* ------------------------------------------------------------ beweging */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .store,
  a.card {
    transition: none;
  }
}

/* De voorplaat van de demo ligt als eigen laag boven de schermafbeelding. */
.demo-cover {
  z-index: 1;
  isolation: isolate;
}

/* Tabellen in lange teksten mogen op een smal scherm opzij scrollen in
   plaats van de kolommen tot één woord per regel te knijpen. */
@media (max-width: 620px) {
  .prose table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .prose td {
    white-space: normal;
    min-width: 140px;
  }
}

/* Een rasterkolom groeit standaard mee met zijn breedste inhoud. Zonder
   dit duwde een brede tabel in het privacybeleid de hele pagina opzij. */
.legal-layout > *,
.help-layout > *,
.contact-grid > *,
.showcase > * {
  min-width: 0;
}

/* ------------------------------------------------------------ vlaggen */

.flag {
  width: 22px;
  height: 15px;
  flex: none;
  border-radius: 3px;
  /* Een dun randje, anders verdwijnen witte vlakken (Finland, Polen) in
     de lichte knop en zwarte (Duitsland) in de donkere achtergrond. */
  box-shadow: 0 0 0 1px rgba(237, 233, 247, 0.22);
  overflow: hidden;
}
#lang-flag {
  display: inline-flex;
}
.lang-grid button {
  justify-content: flex-start;
}
.lang-grid .name {
  flex: 1;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chips .flag {
  width: 18px;
  height: 12px;
}

/* ------------------------------------------------------------ gsm */

/* Categorieën in het helpcentrum openen onder de kopbalk (en op gsm ook
   onder de balk met categorieën), niet erachter. */
.help-cat {
  scroll-margin-top: 110px;
}

@media (max-width: 900px) {
  .help-layout {
    gap: 20px;
  }
  /* De inhoudstafel wordt een veegbare balk die onder de kopbalk blijft
     staan; de categorie waarin je leest licht op en schuift mee in beeld. */
  .help-toc {
    position: sticky;
    top: 72px;
    z-index: 20;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter));
    padding: 10px var(--gutter);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .help-toc::-webkit-scrollbar {
    display: none;
  }
  .help-toc a {
    flex: none;
    white-space: nowrap;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-size: 14.5px;
  }
  .help-toc a[aria-current="true"] {
    box-shadow: none;
    border-color: var(--violet);
  }
  .help-cat {
    scroll-margin-top: 140px;
  }
}

@media (max-width: 560px) {
  /* Winkelknoppen over de volle breedte: groter tikvlak, rustiger beeld. */
  .store-row {
    flex-direction: column;
    align-items: stretch;
  }
  .store-row .store {
    width: 100%;
  }
  /* Genoeg tikruimte tussen de links in de voet en bij de persbestanden. */
  .foot-grid ul {
    gap: 2px;
  }
  .foot-grid a {
    display: inline-block;
    padding: 8px 0;
  }
  .asset-grid figcaption a {
    padding: 10px 0 10px 8px;
  }
}

/* ------------------------------------------------------------ functies */

/* Inhoudsbalk met de vier hoofdstukken: blijft onder de kopbalk staan. */
.fx-nav {
  position: sticky;
  top: 72px;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.fx-nav .wrap {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 10px;
  padding-bottom: 10px;
}
.fx-nav .wrap::-webkit-scrollbar {
  display: none;
}
.fx-nav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.fx-nav a:hover {
  color: var(--text);
  background: var(--card);
}
.fx-nav a[aria-current="true"] {
  color: var(--text);
  background: var(--violet-soft);
  border-color: var(--violet);
}
.fx-num {
  font: 700 13px/1 var(--font-mono);
  color: var(--violet-2);
}
.fx-chapter {
  scroll-margin-top: 130px;
}
.fx-chapter + .fx-chapter {
  border-top: 1px solid var(--line);
}
.fx-chapter-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.fx-chapter-head .fx-num {
  font-size: 15px;
}
.fx-chapter-title {
  margin: 0;
  font: 800 clamp(2rem, 4.4vw, 3.4rem)/1.05 var(--font-display);
  letter-spacing: -0.035em;
}
.fx-chapter .showcase {
  scroll-margin-top: 130px;
}
@media (max-width: 860px) {
  /* Op gsm staan twee schermen naast elkaar in plaats van over elkaar. */
  .fx-chapter .showcase-media {
    gap: 12px;
  }
  .fx-chapter .showcase-media .phone {
    width: min(280px, 72%);
  }
  .fx-chapter .showcase-media .phone.small {
    display: block;
    position: static;
    transform: none;
  }
  .fx-chapter .showcase-media:has(.phone.small) .phone {
    width: calc(50% - 6px);
  }
}

/* Tabbladen van de app: de iconen zijn uit de app zelf geknipt
   (img/tabs/*.png, wit met doorzichtigheid) en krijgen hier hun kleur. */
.tab-ico {
  display: inline-block;
  flex: none;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.fx-nav a .tab-ico {
  color: var(--violet-2);
}
.fx-chapter-head {
  align-items: center;
  gap: 20px;
}
.fx-chapter-head .lead {
  margin: 10px 0 0;
  max-width: 62ch;
}
.fx-tab {
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--violet-soft);
  border: 1px solid rgba(173, 129, 254, 0.35);
  color: var(--violet-2);
}
.fx-tab .tab-ico {
  width: 32px;
  height: 32px;
}
.fx-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0;
}
.prem {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet-2);
  font: 700 11.5px/1.5 var(--font-mono);
  letter-spacing: 0.04em;
  vertical-align: 1px;
}
.fx-prem-note {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: -20px;
  margin-bottom: 40px;
}
@media (max-width: 560px) {
  .fx-chapter-head {
    align-items: flex-start;
    gap: 14px;
  }
  .fx-tab {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
  .fx-tab .tab-ico {
    width: 24px;
    height: 24px;
  }
}

/* Op gsm (en in Safari) werd de wazige gloed achter de telefoons een
   zichtbare lichtvlek: daar zonder gloed. */
@media (max-width: 860px) {
  .showcase-media::before {
    display: none;
  }
}

/* Demo: de voorplaat blijft tijdens het laden liggen, met een balkje. */
.demo-phone .phone-screen {
  background: #0b0a10;
}
.demo-cover {
  transition: opacity 0.4s ease;
}
.demo-cover.is-gone {
  opacity: 0;
  pointer-events: none;
}
.demo-cover.is-loading .btn {
  cursor: progress;
  opacity: 1;
}
.demo-cover.is-loading .btn svg {
  display: none;
}
.demo-cover.is-loading .btn::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: kg-spin 0.8s linear infinite;
}
.demo-cover.is-loading p {
  visibility: hidden;
}
@keyframes kg-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Duurt het laden lang, dan komt de uitleg wél in beeld. */
.demo-cover.is-loading.is-slow p {
  visibility: visible;
}

/* Perskit op gsm: lange woorden ("Herunterladen", "Завантажити") duwden de
   twee kolommen breder dan het scherm. */
.asset-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 860px) {
  .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.asset-grid figcaption {
  flex-wrap: wrap;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Heel smalle telefoons (320–420 px): lange woorden en adressen mogen
   afbreken in plaats van de pagina opzij te duwen. */
.demo-stage > * {
  min-width: 0;
}
@media (max-width: 420px) {
  h1,
  h2,
  h3,
  label,
  td,
  th,
  .facts-table td {
    overflow-wrap: anywhere;
  }
  .prose {
    min-width: 0;
  }
  .prose table {
    max-width: 100%;
  }
}

/* Demo: de telefoon heeft een vaste breedte van 360 px, en die bepaalde op
   een smal scherm de hele kolom; formuliervelden idem via lange labels. */
.demo-phone {
  width: min(360px, 100%);
}
@media (max-width: 900px) {
  .demo-stage {
    grid-template-columns: minmax(0, 1fr);
  }
}
.form {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 420px) {
  p,
  li,
  .hint {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 420px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* De demo is er voor computers en tablets. Op een telefoon (smal, of een
   liggende telefoon) verdwijnen de knoppen ernaartoe; de demopagina zelf
   toont daar een uitleg in plaats van de startknop. Zelfde grens als
   KLEIN_SCHERM in js/site.js. */
@media (max-width: 700px), (pointer: coarse) and (max-height: 500px) {
  .alleen-groot {
    display: none !important;
  }
}
