/* wwwveilig.nl - colours follow the app icon (navy #0B1220, blue #3B82F6).
   No web fonts and no external requests: a security site that phones
   nobody. */

:root {
    --bg: #0B1220;
    --bg-alt: #0E1729;
    --surface: #131E35;
    --surface-2: #18253F;
    --border: #22314F;
    --text: #E7EDF8;
    --muted: #9DAAC4;
    --accent: #3B82F6;
    --accent-light: #7DB3FF;
    --accent-dark: #1D4ED8;
    --ok: #34D399;
    --error: #F87171;
    --radius: 14px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 17px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent-light); text-underline-offset: 3px; }
a:hover { color: #A9CBFF; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.skip {
    position: absolute; left: 16px; top: -60px; z-index: 10;
    background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* Header */

.site-header {
    position: sticky; top: 0; z-index: 5;
    background: rgba(11, 18, 32, .86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(34, 49, 79, .7);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand b { color: var(--accent-light); font-weight: 700; }

.site-nav { display: flex; gap: 6px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 550; font-size: .97rem; padding: 8px 12px; border-radius: 8px; }
.site-nav a:hover { color: var(--text); background: var(--surface); }
.site-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

.lang-menu { position: relative; margin-left: -18px; }
.lang-menu summary {
    display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer;
    color: var(--muted); font-weight: 600; font-size: .9rem; padding: 8px 10px; border-radius: 8px;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--text); background: var(--surface); }
.lang-menu summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-menu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-menu ul {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 170px; margin: 0; padding: 6px;
    list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6);
}
.lang-menu li a { display: block; padding: 8px 12px; border-radius: 7px; color: var(--text); text-decoration: none; font-size: .95rem; }
.lang-menu li a:hover { background: var(--surface-2); color: var(--text); }
.lang-menu li a[aria-current="true"] { color: var(--accent-light); font-weight: 650; }

/* Buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 22px; border-radius: 10px;
    font: 650 1rem/1 var(--font); text-decoration: none; cursor: pointer;
    border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -10px rgba(59, 130, 246, .8); }
.btn-primary:hover { background: #2F74EA; color: #fff; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); color: var(--text); border-color: #2D4068; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: .95rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */

.hero {
    position: relative; overflow: hidden;
    padding: 84px 0 76px;
    background:
        radial-gradient(900px 480px at 85% -10%, rgba(59, 130, 246, .22), transparent 70%),
        radial-gradient(700px 420px at -10% 110%, rgba(29, 78, 216, .16), transparent 70%);
    border-bottom: 1px solid var(--border);
}
.hero-page { padding: 72px 0 56px; }
.hero-page .hero-text { max-width: 760px; }

.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }

.eyebrow {
    display: inline-block; margin-bottom: 18px;
    color: var(--accent-light); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.accent {
    background: linear-gradient(100deg, var(--accent-light), var(--accent) 60%, #6D9BFF);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--muted); font-size: 1.17rem; max-width: 600px; }
.platforms { color: var(--muted); font-size: .95rem; margin-top: 24px; padding-left: 14px; border-left: 3px solid var(--accent); }

/* Hero mock-ups (decorative, aria-hidden) */

.hero-visual { position: relative; min-height: 400px; }
.hero-visual-single { display: flex; justify-content: center; align-items: center; }

.mock {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid #2A3B5E; border-radius: 18px;
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.mock-vault { position: absolute; left: 0; top: 18px; width: 82%; padding: 0 0 16px; }
.mock-head { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.mock-head .dot { width: 9px; height: 9px; border-radius: 50%; background: #2C3D60; }
.mock-url { margin-left: 10px; font-size: .78rem; color: var(--muted); background: var(--bg); padding: 3px 10px; border-radius: 6px; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(34, 49, 79, .6); }
.mock-ico {
    flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
    background: rgba(59, 130, 246, .16); color: var(--accent-light); font-weight: 700; font-size: .9rem;
}
.mock-name { flex: 1; min-width: 0; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.mock-name small { display: block; color: var(--muted); font-weight: 400; font-size: .78rem; }
.mock-pw { color: #50628A; letter-spacing: 1px; font-size: .8rem; }
.mock-lock { margin: 14px 16px 0; font-size: .78rem; color: var(--ok); display: flex; align-items: center; gap: 8px; }
.mock-lock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .15); }

.mock-phone { position: absolute; right: 0; bottom: 0; width: 240px; padding: 22px 18px 18px; border-radius: 28px; text-align: center; }
.mock-label { color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin: 0 0 4px; }
.mock-app { font-weight: 700; font-size: 1.05rem; margin: 0 0 10px; }
.mock-hint { color: var(--muted); font-size: .8rem; line-height: 1.4; margin: 0 0 14px; }
.mock-numbers { display: flex; justify-content: center; gap: 10px; margin-bottom: 16px; }
.mock-numbers span {
    width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
    background: var(--bg); border: 1px solid var(--border); font-weight: 750; font-size: 1.2rem;
}
.mock-numbers .is-picked { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 18px -6px rgba(59, 130, 246, .9); }
.mock-approve { background: rgba(52, 211, 153, .14); color: var(--ok); border-radius: 10px; padding: 9px; font-weight: 650; font-size: .9rem; }

.mock-phone-codes { position: relative; width: 300px; text-align: left; padding: 24px 20px 12px; }
.mock-phone-codes .mock-label { margin-bottom: 12px; }
.mock-code { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.mock-code-name { color: var(--muted); font-size: .8rem; grid-column: 1 / -1; }
.mock-code-digits { font: 750 1.75rem/1.1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .04em; color: var(--text); }
.mock-bar { align-self: center; width: 46px; height: 5px; border-radius: 3px; background: var(--bg); overflow: hidden; }
.mock-bar i { display: block; height: 100%; width: 64%; background: var(--accent); border-radius: 3px; }

/* Sections */

.section { padding: 84px 0; }
.section-tight { padding: 56px 0 84px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.07rem; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px;
}
.card p { color: var(--muted); }
.card-product { display: flex; flex-direction: column; padding: 32px; }
.card-product:hover { border-color: #2D4068; }
.card-icon {
    width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
    display: grid; place-items: center;
    background: linear-gradient(160deg, rgba(125, 179, 255, .22), rgba(29, 78, 216, .22));
    border: 1px solid rgba(125, 179, 255, .25);
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-product h3 { font-size: 1.4rem; }

.checks { list-style: none; padding: 0; margin: 4px 0 24px; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.checks li::before {
    content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px;
    border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg);
}

.more { margin-top: auto; font-weight: 650; text-decoration: none; }
.more::after { content: " \2192"; }

.point { padding: 4px 0; }
.point p { color: var(--muted); }
.point-num {
    display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; margin-bottom: 16px;
    background: rgba(59, 130, 246, .15); color: var(--accent-light); font-weight: 750;
}

.key-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.key-card p:last-child { color: var(--muted); margin: 0; }
.key-card-strong { border-color: rgba(59, 130, 246, .55); background: linear-gradient(180deg, rgba(59, 130, 246, .12), var(--surface) 70%); }
.key-what { color: var(--accent-light); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }

.note {
    margin-top: 28px; padding: 24px 26px; border-radius: var(--radius);
    background: rgba(59, 130, 246, .07); border: 1px solid rgba(59, 130, 246, .3);
}
.note h3 { margin-bottom: 6px; }
.note p { margin: 0; color: #C3CEE3; }

.features .feature { padding: 22px 0 0; border-top: 2px solid var(--border); }
.feature p { color: var(--muted); margin: 0; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.steps li::before {
    content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px;
    border-radius: 50%; background: var(--accent); color: #fff; font-weight: 750;
}
.steps p { color: var(--muted); margin: 0; }

.cta {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    padding: 40px; border-radius: 20px;
    background:
        radial-gradient(600px 300px at 100% 0, rgba(59, 130, 246, .25), transparent 70%),
        var(--surface);
    border: 1px solid #2A3B5E;
}
.cta > div:first-child { max-width: 640px; }
.cta p { color: var(--muted); margin: 0; }
.cta .actions { margin-top: 0; flex: none; }

/* Contact */

.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contact-aside { display: grid; gap: 22px; }
.contact-aside h2 { font-size: 1.15rem; }
.contact-aside p:last-child { margin-bottom: 0; }
.mail-link { font-size: 1.15rem; font-weight: 650; word-break: break-all; }
address { font-style: normal; color: var(--muted); }

/* Running text: the privacy statement */

/* On the children, so the text lines up with the hero instead of centring. */
.prose > * { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; }
.prose p, .prose li { color: #C3CEE3; }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose address { margin-bottom: 1em; }
.updated { color: var(--muted); font-size: .92rem; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 20px; min-width: 0; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 7px; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border-radius: 10px;
    background: var(--bg); color: var(--text); border: 1px solid #2A3B5E;
    font: 400 1rem/1.4 var(--font);
}
.field textarea { resize: vertical; min-height: 160px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 130, 246, .3); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .9rem; margin: 6px 0 0; }
.form-privacy { color: var(--muted); font-size: .9rem; }
.field-hint { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }

.captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; }
.captcha-img { border-radius: 10px; border: 1px solid #2A3B5E; max-width: 100%; height: auto; }
.field .captcha-input { max-width: 210px; text-transform: uppercase; letter-spacing: .2em; font-weight: 650; }

/* Honeypot: out of sight for people, still in the form for bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { border-radius: 10px; padding: 14px 18px; margin-bottom: 22px; }
.notice p { margin: 0; }
.notice-error { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .45); color: #FECACA; }
.notice-ok { background: rgba(52, 211, 153, .08); border: 1px solid rgba(52, 211, 153, .4); padding: 26px; margin: 0; }
.notice-ok h2 { font-size: 1.4rem; }
.notice-ok p { color: #C3CEE3; margin-bottom: .6em; }
.notice-ok p:last-child { margin: 0; }

/* Footer */

.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: var(--bg-alt); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); margin: 12px 0 0; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--text); text-decoration: none; margin-bottom: 8px; font-size: .97rem; }
.footer-cols a:hover { color: var(--accent-light); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent-light); }

/* Narrow screens */

@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { min-height: 380px; max-width: 520px; width: 100%; }
    .grid-3, .steps { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .header-inner { height: auto; flex-wrap: wrap; gap: 0 12px; padding-top: 12px; }
    /* Row 1: logo and login. Row 2: the menu (scrolls sideways) and the language
       menu at its end, outside the scroller so its list is not clipped. The
       basis keeps the menu off row 1 and leaves room for the language menu. */
    .header-login { order: 1; margin-left: auto; }
    .site-nav { order: 3; flex: 1 1 calc(100% - 84px); min-width: 0; margin: 6px 0 0 -7px; padding-bottom: 8px; gap: 2px; overflow-x: auto; scrollbar-width: none; }
    .lang-menu { order: 4; align-self: flex-start; margin: 6px -6px 0 0; }
    .lang-menu summary { padding: 8px 6px; font-size: .88rem; }
    .site-nav a { flex: none; white-space: nowrap; padding: 8px 7px; font-size: .88rem; }
    .hero { padding: 56px 0 56px; }
    .hero-page { padding: 48px 0 40px; }
    .section { padding: 60px 0; }
    .section-tight { padding: 36px 0 60px; }
    .grid-2, .grid-3, .steps, .field-row { grid-template-columns: 1fr; }
    .cta { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
    .card, .card-product, .contact-form-wrap { padding: 24px 20px; }
    .footer-cols { gap: 32px; }
}

@media (max-width: 600px) {
    /* Stacked instead of overlapping, so the phone does not hide the vault. */
    .hero-visual { min-height: 0; display: flex; flex-direction: column; align-items: flex-end; }
    .mock-vault { position: relative; top: 0; width: 100%; }
    .mock-phone { position: relative; margin-top: -12px; width: 230px; padding: 18px 14px 14px; }
    .mock-phone-codes { margin-top: 0; width: 100%; max-width: 320px; }
}

@media (max-width: 460px) {
    .mock-numbers span { width: 48px; height: 48px; }
    .actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: no-preference) {
    .mock-bar i { animation: totp 30s linear infinite; }
}
@keyframes totp { from { width: 100%; } to { width: 0; } }
