:root {
    --green-50: #eff9f5;
    --green-100: #d8f1e6;
    --green-500: #4eb48c;
    --green-600: #42af83;
    --green-700: #358d69;
    --green-900: #245d46;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-900: #0f172a;
    --orange-500: #f97316;
}

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

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--slate-50);
    color: var(--slate-900);
    -webkit-font-smoothing: antialiased;
}

.text-accent {
    color: var(--green-600);
}

/* Coming soon */

.coming-soon {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
    background-image: radial-gradient(var(--slate-200) 1px, transparent 1px);
    background-size: 20px 20px;
}

.coming-soon__card {
    width: 100%;
    max-width: 64rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 0 0 1px rgb(15 23 42 / 0.05);
}

@media (min-width: 1024px) {
    .coming-soon__card {
        grid-template-columns: 3fr 2fr;
        align-items: center;
        padding: 3rem;
    }
}

.coming-soon__logo {
    height: 2rem;
    width: auto;
    display: block;
    margin-bottom: 2rem;
}

.coming-soon__title {
    margin: 1rem 0 0.75rem;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.coming-soon__lead {
    margin: 0 0 2rem;
    font-size: 1rem;
    line-height: 1.625;
    color: var(--slate-600);
}

.coming-soon__footer {
    margin: 0;
    font-size: 0.75rem;
    color: var(--slate-400);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.125rem 0.75rem;
    border-radius: 9999px;
    background: var(--green-50);
    color: var(--green-600);
    font-size: 0.75rem;
    font-weight: 500;
}

.pill__dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: var(--green-500);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    50% { opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
    .pill__dot { animation: none; }
}

.features {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.features__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--slate-600);
}

.features__item strong {
    display: block;
    font-weight: 600;
    color: var(--slate-900);
}

.features__icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--green-100);
    color: var(--green-600);
}

.features__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.tip {
    padding: 1.25rem;
    background: var(--slate-50);
    border-left: 4px solid var(--green-500);
    border-radius: 0 0.75rem 0.75rem 0;
}

.tip__label {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--green-600);
}

.tip__quote {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: -0.025em;
}

/* Veldtekening */

.field {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--slate-50);
    border: 2px solid var(--slate-200);
    border-radius: 0.75rem;
    box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.05);
}

.field__grid {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: radial-gradient(var(--slate-300) 1px, transparent 1px);
    background-size: 20px 20px;
}

.field__circle {
    position: absolute;
    width: 33%;
    aspect-ratio: 1;
    border: 2px solid var(--slate-300);
    border-radius: 9999px;
}

.field__line {
    position: absolute;
    height: 100%;
    width: 2px;
    background: var(--slate-300);
}

.field__arrow {
    position: absolute;
    top: 28%;
    left: 28%;
    width: 4rem;
    height: 4rem;
    color: var(--slate-400);
}

.player {
    position: absolute;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-600);
    border-radius: 9999px;
    box-shadow: 0 0 0 4px rgb(66 175 131 / 0.2);
}

.player::after {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background: #fff;
    border-radius: 9999px;
}

.cone {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--orange-500);
    border-radius: 2px;
    transform: rotate(45deg);
}

/* Algemeen */

.card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 0 0 1px rgb(15 23 42 / 0.05);
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 0;
    border-radius: 0.75rem;
    background: var(--green-600);
    color: #fff;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s;
}

.button:hover {
    background: var(--green-700);
}

.button:focus-visible {
    outline: 2px solid var(--green-600);
    outline-offset: 2px;
}

.button[hidden] {
    display: none;
}

.button svg {
    width: 1.125rem;
    height: 1.125rem;
}

.button--ghost {
    background: transparent;
    color: var(--slate-600);
}

.button--ghost:hover {
    background: var(--slate-100);
}

.about {
    padding: 1rem 1.25rem;
    background: var(--slate-50);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--slate-600);
}

.about p {
    margin: 0;
}

.about p + p {
    margin-top: 0.25rem;
}

.about .about__title {
    font-weight: 600;
    color: var(--slate-900);
}

.team {
    list-style: none;
    margin: 0.875rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

.team__member {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8125rem;
    line-height: 1.35;
}

.team__member strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-900);
}

.team__avatar {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: var(--green-100);
    font-weight: 600;
    color: var(--green-700);
}

/* Enquête */

.survey {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1rem 2rem;
    background-image: radial-gradient(var(--slate-200) 1px, transparent 1px);
    background-size: 20px 20px;
}

.survey__top,
.survey__layout {
    width: 100%;
    max-width: 72rem;
}

.survey__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.survey__logo {
    display: block;
    height: 2rem;
    width: auto;
}

.survey__layout {
    display: grid;
    gap: 1.5rem;
}

.survey__form {
    display: grid;
    gap: 1.5rem;
    min-width: 0;
}

@media (min-width: 1024px) {
    .survey {
        padding-top: 2.5rem;
    }

    .survey__layout {
        grid-template-columns: 18.5rem 1fr;
        align-items: start;
    }
}

.survey--steps .step:not(.is-active) {
    display: none;
}

/* Trainingsschema (voortgang) */

.plan {
    padding: 1.25rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 0 0 1px rgb(15 23 42 / 0.05);
}

@media (min-width: 1024px) {
    .plan {
        position: sticky;
        top: 1.5rem;
    }
}

.plan__title {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--green-600);
}

.plan__meta {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    color: var(--slate-500);
}

.plan__list {
    list-style: none;
    margin: 1.25rem 0 1rem;
    padding: 0;
    display: grid;
    gap: 0.625rem;
}

/* Zelfde opbouw als de tijdlijn van een training: minuten, streepje, oefening */
.plan__item {
    display: flex;
    gap: 0.625rem;
}

@media (max-width: 1023px) {
    .survey--steps .plan__item:not(.is-active) {
        display: none;
    }
}

.plan__when {
    flex-shrink: 0;
    width: 4.75rem;
    padding-top: 0.5rem;
    text-align: right;
}

.plan__time {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate-900);
}

.plan__phase {
    display: block;
    font-size: 0.5625rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    color: var(--slate-500);
}

.plan__track {
    position: relative;
    flex-shrink: 0;
    width: 0.25rem;
    border-radius: 9999px;
    background: var(--slate-100);
    transition: background-color 0.2s;
}

.plan__dot {
    position: absolute;
    top: 0.875rem;
    left: -0.25rem;
    width: 0.75rem;
    height: 0.75rem;
    border: 2px solid #fff;
    border-radius: 9999px;
    background: var(--slate-300);
    transition: background-color 0.2s;
}

.plan__card {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--slate-100);
    border-radius: 0.75rem;
    background: #fff;
    transition: border-color 0.2s, background-color 0.2s;
}

.plan__name {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--slate-900);
}

.plan__item.is-done .plan__dot {
    background: #85d0b4;
}

.plan__item.is-active .plan__track {
    background: var(--green-100);
}

.plan__item.is-active .plan__dot {
    background: var(--green-500);
}

.plan__item.is-active .plan__card {
    border-color: var(--green-100);
    background: rgb(239 249 245 / 0.5);
    box-shadow: 0 0 0 1px rgb(66 175 131 / 0.1);
}

.plan__item.is-active .plan__name {
    color: #133628;
}

.plan__progress {
    height: 0.375rem;
    overflow: hidden;
    background: var(--slate-100);
    border-radius: 9999px;
}

.plan__bar {
    width: 0;
    height: 100%;
    background: var(--green-500);
    border-radius: 9999px;
    transition: width 0.3s ease;
}

/* Stappen */

.step {
    display: grid;
    gap: 1.5rem;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .step {
        padding: 2.5rem;
    }
}

.step__kicker {
    margin: 0 0 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--green-600);
}

.step__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.step__title:focus {
    outline: none;
}

.step__title--hero {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    line-height: 1.15;
}

.step__lead {
    margin: 0;
    font-size: 1rem;
    line-height: 1.625;
    color: var(--slate-600);
}

.step__lead strong {
    color: var(--slate-900);
}

.step__questions {
    display: grid;
    gap: 2rem;
}

.step__nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.survey--steps .step__nav {
    padding-top: 1.5rem;
    border-top: 1px solid var(--slate-100);
}

.step__nav .button:not(.button--ghost) {
    margin-left: auto;
}

.facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .facts {
        grid-template-columns: repeat(3, 1fr);
    }
}

.facts__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--slate-600);
}

.facts__item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-900);
}

/* Vragen */

.question {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.question__label {
    display: block;
    margin-bottom: 0.625rem;
    padding: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--slate-900);
}

.question__required {
    display: inline-block;
    margin-left: 0.375rem;
    padding: 0.0625rem 0.5rem;
    border-radius: 9999px;
    background: var(--slate-100);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--slate-500);
    vertical-align: 0.125rem;
}

.question__help {
    margin: -0.375rem 0 0.75rem;
    font-size: 0.8125rem;
    color: var(--slate-500);
}

.question__errors {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #dc2626;
}

.question-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 640px) {
    .question-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
}

.input {
    width: 100%;
    padding: 0.6875rem 0.875rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    background: #fff;
    font: inherit;
    font-size: 0.9375rem;
    color: var(--slate-900);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.input::placeholder {
    color: var(--slate-400);
}

.input:focus {
    outline: none;
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px var(--green-100);
}

.input--textarea {
    min-height: 6rem;
    resize: vertical;
}

.question--error .input {
    border-color: #dc2626;
}

.options {
    display: grid;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .options {
        grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    }
}

.option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    background: #fff;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--slate-600);
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}

.option:hover {
    border-color: var(--slate-300);
    background: var(--slate-50);
}

.option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.option:has(input:checked) {
    border-color: var(--green-600);
    background: var(--green-50);
    color: var(--slate-900);
    font-weight: 500;
}

.option:has(input:focus-visible) {
    outline: 2px solid var(--green-600);
    outline-offset: 2px;
}

.option__mark {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 1.125rem;
    height: 1.125rem;
    border: 1.5px solid var(--slate-300);
    background: #fff;
    transition: border-color 0.15s, background-color 0.15s;
}

.option__mark--radio {
    border-radius: 9999px;
}

.option__mark--checkbox {
    border-radius: 0.3125rem;
}

.option input:checked + .option__mark {
    border-color: var(--green-600);
    background: var(--green-600);
}

.option input:checked + .option__mark--radio::after {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: #fff;
}

.option input:checked + .option__mark--checkbox::after {
    content: '';
    width: 0.3125rem;
    height: 0.5625rem;
    margin-top: -0.125rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.option--consent {
    align-items: flex-start;
}

.option--consent .option__mark {
    margin-top: 0.0625rem;
}

/* Kern: uitleg + voorbeeldtraining */

.concept {
    display: grid;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--slate-100);
}

@media (min-width: 1100px) {
    .concept {
        grid-template-columns: 1.15fr 1fr;
        align-items: start;
    }
}

.concept .features {
    margin: 1.5rem 0;
}

.not-list {
    padding: 1rem 1.25rem;
    border: 1px dashed var(--slate-300);
    border-radius: 0.75rem;
}

.not-list__title {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
}

.not-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--slate-600);
}

.not-list li::before {
    content: '✕';
    margin-right: 0.5rem;
    font-weight: 600;
    color: var(--orange-500);
}

.example {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 25px -10px rgb(15 23 42 / 0.15);
}

@media (min-width: 1100px) {
    .example {
        transform: rotate(1deg);
    }
}

.example__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.example__tag {
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    background: var(--green-50);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green-700);
}

.example__duration {
    font-size: 0.75rem;
    color: var(--slate-500);
}

.example__title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.field--small {
    aspect-ratio: 16 / 10;
}

.example__facts {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.example__facts div {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 0.5rem;
}

.example__facts dt {
    font-weight: 500;
    color: var(--slate-500);
}

.example__facts dd {
    margin: 0;
}

.example .tip__quote {
    font-size: 1rem;
}

/* Bedankt */

.thanks {
    width: 100%;
    max-width: 40rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .thanks {
        padding: 3rem;
    }
}

.thanks .about {
    margin-bottom: 1.5rem;
}

.thanks__check {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: var(--green-100);
    color: var(--green-600);
}

.thanks__check svg {
    width: 1.5rem;
    height: 1.5rem;
}

.about .thanks__link {
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--green-700);
    word-break: break-all;
}
