/*
 * De startflow op /demo (8 november 2026): één scherm van de volle hoogte en breedte met de lucht en de wolken van de hero, in het
 * midden steeds één vraag, als een presentatie. Hoort bij resources/views/site/start.blade.php en resources/site/start.js.
 * Kleuren en letter zoals de site: navy inkt, één blauw, Plus Jakarta Sans van de eigen server.
 */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/site/fonts/plus-jakarta-sans-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/site/fonts/plus-jakarta-sans-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("/site/fonts/plus-jakarta-sans-latin-800.woff2") format("woff2"); }

:root {
  --ink: #0B1B3A; --ink-2: #3B4A68; --muted: #5F6E8C; --paper: #F6F8FC; --line: #E3E9F4;
  --blue: #2F6EF6; --blue-deep: #1E4FD6; --violet: #7A5AF8; --green: #19B36B; --red: #D92D20;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 500; color: var(--ink); background: #DCE9FF; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
[hidden] { display: none !important; }

.st { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; isolation: isolate; }

/* De lucht: hetzelfde beeld als de hero, met de wolken onderaan die langzaam heen en weer drijven. */
.st__sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.st__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st__sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, rgba(246, 248, 252, 0), rgba(246, 248, 252, .9)); }
.st__cloud { position: absolute; bottom: -16%; width: max(82vw, 760px); height: auto; z-index: 1; opacity: .95; animation: st-drift 26s ease-in-out infinite alternate; }
.st__cloud--l { left: -24%; }
.st__cloud--r { right: -24%; animation-duration: 32s; animation-direction: alternate-reverse; }
@keyframes st-drift { from { transform: translateX(-2.5%); } to { transform: translateX(2.5%); } }

/* Bovenin het logo en de weg terug. */
.st__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(1rem, 2.4vw, 1.6rem) clamp(1rem, 4vw, 2.6rem); position: relative; z-index: 2; }
.st__logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; color: var(--ink); }
.st__logo svg { width: 1.9rem; height: 1.9rem; color: var(--ink); }
.st__close { text-decoration: none; font-size: .9rem; font-weight: 600; padding: .55rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(11, 27, 58, .08); backdrop-filter: blur(8px); }
.st__close:hover { background: #fff; }

/* Het podium: alle stappen liggen op dezelfde plek, één staat aan. */
.st__stage { position: relative; z-index: 2; display: grid; place-items: center; padding: 1rem clamp(1rem, 4vw, 2.6rem) 2rem; }
.st__step { grid-area: 1 / 1; width: min(100%, 52rem); display: grid; justify-items: center; text-align: center; gap: 1.1rem; margin: 0; opacity: 0; visibility: hidden; transform: translateY(28px) scale(.985); transition: opacity .55s var(--ease), transform .7s var(--ease), visibility 0s linear .7s; pointer-events: none; }
.st__step.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease) .12s, transform .8s var(--ease) .12s, visibility 0s; pointer-events: auto; }
.st__step.is-back { transform: translateY(-28px) scale(.985); }

.st__face { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(47, 110, 246, .35), 0 16px 36px -16px rgba(42, 99, 246, .6); }
.st__kicker { margin: 0; font-weight: 600; color: var(--ink-2); font-size: clamp(1rem, .9rem + .4vw, 1.2rem); }
.st__title { margin: 0; max-width: 18ch; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; font-size: clamp(2.1rem, 1.2rem + 4vw, 4.2rem); outline: none; text-wrap: balance; }
.st__lede { margin: 0; max-width: 34rem; color: var(--ink-2); font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); line-height: 1.55; }
.st__note { margin: -.2rem 0 0; color: var(--muted); font-size: .95rem; }

/* Skye groet je, groot in het midden. */
.st__greetface { width: clamp(6.5rem, 5rem + 6vw, 10rem); aspect-ratio: 1; border-radius: 50%; padding: 5px; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 30px 70px -30px rgba(42, 99, 246, .7); }
.st__greetface img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; display: block; }
.st__greet { margin: 0; max-width: 14ch; font-weight: 800; letter-spacing: -.04em; line-height: 1.02; font-size: clamp(2.6rem, 1.4rem + 6.4vw, 6.2rem); outline: none; text-wrap: balance; }
.st__greet .w { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(8px); transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i) * 110ms + .25s); }
.st__step.is-on .st__greet .w { opacity: 1; transform: none; filter: none; }
.st__step--greet .st__greetface { transform: scale(.8); opacity: 0; transition: transform .8s cubic-bezier(.34, 1.56, .64, 1) .1s, opacity .5s ease .1s; }
.st__step--greet.is-on .st__greetface { transform: none; opacity: 1; }

/* Velden: groot, rustig, één pil per veld. */
.st__fields { display: flex; gap: .7rem; width: min(100%, 34rem); }
.st__fields--stack { flex-direction: column; }
.st__fields--row .st__input { flex: 1 1 0; min-width: 0; }
.st__fields--row .st__input--short { flex: 0 0 38%; }
.st__input { width: 100%; font: 600 clamp(1.2rem, 1rem + .9vw, 1.6rem)/1.3 "Plus Jakarta Sans", system-ui, sans-serif; color: var(--ink); text-align: center; padding: 1rem 1.4rem; border-radius: 999px; border: 1px solid rgba(11, 27, 58, .1); background: rgba(255, 255, 255, .9); box-shadow: 0 1px 2px rgba(11, 27, 58, .06), 0 18px 40px -24px rgba(42, 99, 246, .45); outline: none; transition: border-color .2s, box-shadow .2s; }
.st__input::placeholder { color: #93A0BA; font-weight: 500; }
.st__input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 110, 246, .18), 0 18px 40px -24px rgba(42, 99, 246, .45); background: #fff; }
.st__input[aria-invalid="true"] { border-color: var(--red); }
.st__pw { position: relative; display: block; width: 100%; }
.st__pw .st__input { padding-right: 5.5rem; }
.st__toggle { position: absolute; right: .55rem; top: 50%; transform: translateY(-50%); font: 600 .85rem/1 inherit; font-family: inherit; color: var(--ink-2); background: #F1F4FA; border: 0; border-radius: 999px; padding: .55rem .8rem; cursor: pointer; }
.st__found { margin: -.2rem 0 0; font-weight: 600; color: var(--green); }
.st__error { margin: -.2rem 0 0; font-weight: 600; color: var(--red); max-width: 34rem; }
.st__terms { display: flex; gap: .6rem; align-items: flex-start; text-align: left; max-width: 34rem; color: var(--ink-2); font-size: .95rem; line-height: 1.5; cursor: pointer; }
.st__terms input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--blue); flex: none; }
.st__terms a { color: var(--ink); text-decoration-color: rgba(11, 27, 58, .35); text-underline-offset: 3px; }

/* Knoppen: pillen zoals op de site, de hoofdknop navy, de laatste stap blauw. */
.st__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: .4rem; }
.st__btn { display: inline-flex; align-items: center; gap: .7rem; font: 700 1.05rem/1 "Plus Jakarta Sans", system-ui, sans-serif; color: #fff; background: var(--ink); border: 0; border-radius: 999px; padding: .95rem .95rem .95rem 1.5rem; text-decoration: none; cursor: pointer; box-shadow: 0 0 0 4px rgba(11, 27, 58, .08), 0 18px 34px -18px rgba(11, 27, 58, .6); transition: transform .2s var(--ease), box-shadow .2s; }
.st__btn:hover { transform: translateY(-2px); }
.st__btn--accent { background: var(--blue); box-shadow: 0 0 0 4px rgba(47, 110, 246, .2), 0 20px 40px -18px rgba(47, 110, 246, .75); }
.st__btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.st__arrow { width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.st__arrow svg { width: .85rem; height: .85rem; }
.st__hint { color: var(--muted); font-size: .85rem; }

/* Keuzes: twee grote kaarten, en rijen tegels die vanzelf doorgaan. */
.st__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; width: min(100%, 46rem); margin-top: .6rem; }
.st__choice { display: grid; justify-items: start; gap: .5rem; text-align: left; font-family: inherit; color: var(--ink); background: rgba(255, 255, 255, .92); border: 1px solid rgba(11, 27, 58, .08); border-radius: 1.6rem; padding: 1.5rem; cursor: pointer; box-shadow: 0 1px 2px rgba(11, 27, 58, .05), 0 24px 50px -30px rgba(42, 99, 246, .55); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.st__choice:hover, .st__choice:focus-visible { transform: translateY(-6px); border-color: rgba(47, 110, 246, .35); box-shadow: 0 1px 2px rgba(11, 27, 58, .05), 0 32px 60px -28px rgba(42, 99, 246, .6); outline: none; }
.st__choice b { font-size: 1.35rem; letter-spacing: -.02em; font-weight: 800; }
.st__choice span:not(.st__icon) { color: var(--ink-2); line-height: 1.5; }
.st__icon { width: 3rem; height: 3rem; border-radius: .95rem; display: grid; place-items: center; color: #fff; margin-bottom: .4rem; }
.st__icon svg { width: 1.4rem; height: 1.4rem; }
.st__icon--blue { background: linear-gradient(180deg, #6E9BFF, #2A63F6); box-shadow: 0 8px 18px -10px #2A63F6; }
.st__icon--green { background: linear-gradient(180deg, #4ED38F, #12A05C); box-shadow: 0 8px 18px -10px #12A05C; }
.st__tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; width: min(100%, 46rem); margin-top: .4rem; }
.st__tile { font: 600 1.05rem/1.2 "Plus Jakarta Sans", system-ui, sans-serif; color: var(--ink); background: rgba(255, 255, 255, .92); border: 1px solid rgba(11, 27, 58, .08); border-radius: 999px; padding: 1rem 1.5rem; cursor: pointer; box-shadow: 0 14px 30px -22px rgba(42, 99, 246, .55); transition: transform .2s var(--ease), border-color .2s, background .2s; }
.st__tile:hover, .st__tile:focus-visible { transform: translateY(-3px); border-color: rgba(47, 110, 246, .45); outline: none; }
.st__tile.is-picked { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Onderin: terug en de stappen als stipjes. */
.st__foot { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(1rem, 4vw, 2.6rem) clamp(1rem, 3vw, 1.8rem); min-height: 3.5rem; }
.st__back { justify-self: start; font: 600 .95rem/1 "Plus Jakarta Sans", system-ui, sans-serif; color: var(--ink-2); background: rgba(255, 255, 255, .7); border: 1px solid rgba(11, 27, 58, .08); border-radius: 999px; padding: .65rem 1.1rem; cursor: pointer; }
.st__back:hover { background: #fff; color: var(--ink); }
.st__dots { grid-column: 2; display: flex; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.st__dots li { width: .5rem; height: .5rem; border-radius: 999px; background: rgba(11, 27, 58, .18); transition: width .4s var(--ease), background .4s; }
.st__dots li.is-done { background: rgba(47, 110, 246, .55); }
.st__dots li.is-on { width: 1.6rem; background: var(--blue); }

.st__noscript { position: relative; z-index: 3; margin: 0 auto 2rem; max-width: 34rem; text-align: center; background: #fff; padding: 1rem 1.2rem; border-radius: 1rem; }

@media (max-width: 40rem) {
  .st__choices { grid-template-columns: 1fr; }
  .st__choice { padding: 1.2rem; }
  .st__close { font-size: .8rem; padding: .5rem .8rem; }
  .st__hint { display: none; }
  .st__fields--row { flex-direction: column; }
  .st__fields--row .st__input--short { flex-basis: auto; }
  .st__cloud { width: 120vw; bottom: -8%; }
  .st__cloud--l { left: -60%; }
  .st__cloud--r { right: -60%; }
}

@media (prefers-reduced-motion: reduce) {
  .st__cloud { animation: none; }
  .st__step, .st__step.is-on, .st__greet .w, .st__step--greet .st__greetface { transition: none !important; transform: none !important; filter: none !important; }
  .st__greet .w { opacity: 1; }
}
