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

:root {
    --bg: #f4f6f1;
    --surface: #ffffff;
    --surface-2: #eaeee6;
    --ink: #0b1020;
    --ink-soft: #4b5563;
    --line: rgba(11, 16, 32, 0.08);
    --blue: #1f6fd1;
    --drop: #7cc8f2;
    --lime: #d4ff5c;
    --radius: 28px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b1020;
        --surface: #131a2e;
        --surface-2: #1a2340;
        --ink: #eef2ff;
        --ink-soft: #9aa6c2;
        --line: rgba(255, 255, 255, 0.08);
        --blue: #4f97ff;
    }
}

html { overflow-x: clip; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; color: var(--blue); }

/* Nav */
nav { position: sticky; top: 16px; z-index: 50; margin-top: 16px; }
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 10px 10px 16px;
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid var(--line);
    border-radius: 999px;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.25rem;
    letter-spacing: -0.03em; text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 0.92rem; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }

/* Breadcrumb */
.crumbs { font-size: 0.85rem; color: var(--ink-soft); margin-top: 40px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 28px 0 64px; }
.hero h1 {
    font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
    font-weight: 800; letter-spacing: -0.04em; line-height: 1;
    font-size: clamp(2.6rem, 7vw, 5rem);
    margin-bottom: 22px; max-width: 14em;
}
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--ink-soft); max-width: 34em; margin-bottom: 32px; }
.hero .note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 14px; }

.store-badges { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.app-store-badge { display: inline-block; transition: transform 0.25s ease; }
.app-store-badge:hover { transform: translateY(-3px); }
.app-store-badge img { height: 54px; width: auto; display: block; }

/* Sections */
section { padding: 56px 0; }
h2 {
    font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
    letter-spacing: -0.035em; line-height: 1.05;
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    margin-bottom: 18px;
}
section > .wrap > p { color: var(--ink-soft); max-width: 40em; margin-bottom: 14px; font-size: 1.05rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px;
}
.card h3 {
    font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700;
    font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 6px;
}
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card .tag {
    display: inline-block; margin-top: 10px; font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    background: var(--lime); color: #0b1020; padding: 3px 9px; border-radius: 999px;
}

.steps { counter-reset: step; list-style: none; display: grid; gap: 12px; margin-top: 24px; max-width: 44em; }
.steps li {
    counter-increment: step; position: relative; padding: 18px 20px 18px 64px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px; color: var(--ink-soft);
}
.steps li strong { color: var(--ink); }
.steps li::before {
    content: counter(step); position: absolute; left: 18px; top: 16px;
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: var(--ink); color: var(--bg); font-weight: 700; font-size: 0.9rem;
}

/* FAQ */
.faq { margin-top: 24px; display: grid; gap: 10px; max-width: 50em; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--ink-soft); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-soft); margin-top: 10px; }

/* Other platform */
.other {
    display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
    background: var(--ink); color: var(--bg); border-radius: var(--radius); padding: 28px 32px;
}
.other h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0; }
.other a {
    text-decoration: none; font-weight: 600; background: var(--lime); color: #0b1020;
    padding: 12px 20px; border-radius: 999px;
}

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; margin-top: 40px; font-size: 0.92rem; color: var(--ink-soft); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .mail { color: var(--blue); }

@media (max-width: 860px) {
    .grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .nav-links a:not(.keep) { display: none; }
    .grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .other { padding: 24px; }
}

/* Weerkennis articles */
.article-hero { padding-bottom: 32px; }
.article-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); max-width: 18em; }
.prose { max-width: 760px; padding-bottom: 24px; font-size: 1.07rem; }
.prose h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin: 44px 0 14px; }
.prose h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue); text-underline-offset: 3px; }
.prose .tldr {
    background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue);
    border-radius: 16px; padding: 18px 22px; margin-bottom: 8px;
}
.prose .callout {
    background: var(--surface-2); border-radius: 22px; padding: 22px 26px; margin: 32px 0;
}
.prose .callout h3 { margin-top: 0; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 0.97rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; }
.link-card { text-decoration: none; display: block; transition: transform 0.2s ease, border-color 0.2s ease; }
.link-card:hover { transform: translateY(-3px); border-color: var(--blue); }
