/* Cognito marketing-pagina's (Duolingo-stijl, licht) */
:root {
    color-scheme: light;
    --purple: #8a6fe0;
    --purple-dark: #6e51d1;
    --purple-deep: #5b41b5;
    --purple-tint: #f4f1fc;
    --navy: #3c3552;
    --body: #75718a;
    --line: #e5e5e5;
    --mint: #2fbd8f;
    --peach: #ff7a59;
    --gold: #e9ae22;
    --font-display: 'Fredoka', 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body); background: #fff; color: var(--body);
    line-height: 1.6; overflow-x: hidden;
}
a { text-decoration: none; color: var(--purple); }
img { max-width: 100%; height: auto; }
svg.ico { width: 1em; height: 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
[id] { scroll-margin-top: 84px; }

/* ---------- knoppen (plat vlak + harde onderrand) ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: 16px; border: 2px solid transparent;
    font-family: var(--font-display); font-weight: 600; font-size: 15px;
    letter-spacing: .8px; text-transform: uppercase; cursor: pointer;
    transition: filter .12s, transform .05s, box-shadow .05s;
}
.btn-primary {
    background: var(--purple); color: #fff;
    box-shadow: 0 4px 0 var(--purple-dark);
}
.btn-primary:hover { filter: brightness(1.07); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 0 0 var(--purple-dark); }
.btn-ghost {
    background: #fff; color: var(--purple); border-color: var(--line);
    box-shadow: 0 2px 0 var(--line);
}
.btn-ghost:hover { background: #fafafa; }
.btn-ghost:active { transform: translateY(2px); box-shadow: 0 0 0 var(--line); }
.btn-white {
    background: #fff; color: var(--purple-dark);
    box-shadow: 0 4px 0 rgba(0,0,0,.18);
}
.btn-white:hover { filter: brightness(.97); }
.btn-white:active { transform: translateY(4px); box-shadow: 0 0 0 rgba(0,0,0,.18); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-big { padding: 16px 34px; font-size: 16px; }

/* ---------- header ---------- */
header.site {
    position: sticky; top: 0; z-index: 50; background: #fff;
    border-bottom: 2px solid var(--line);
}
.header-inner {
    max-width: 1080px; margin: 0 auto; padding: 0 24px; height: 70px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-weight: 700; font-size: 24px;
    color: var(--purple); letter-spacing: .3px;
}
.brand img { width: 38px; height: 38px; }
.navlinks { display: flex; gap: 30px; align-items: center; }
.navlinks a {
    font-family: var(--font-display); font-weight: 600; font-size: 15px;
    color: var(--body); letter-spacing: .3px; transition: color .15s;
}
.navlinks a:hover, .navlinks a.active { color: var(--purple); }
nav.actions { display: flex; gap: 10px; align-items: center; }
.footer-bottom-inner .lang-switch {
    color: #cfc4f2; text-decoration: underline; text-underline-offset: 2px;
}
.footer-bottom-inner .lang-switch:hover { color: #fff; }

/* ---------- hero op de homepage: vult het hele eerste scherm ---------- */
.hero-full {
    min-height: calc(100vh - 72px);
    min-height: calc(100dvh - 72px);
    display: flex; align-items: center; justify-content: center; gap: 64px;
    padding: 24px 0; flex-wrap: wrap;
}
.hero-visual { position: relative; flex: 0 1 460px; display: flex; justify-content: center; }
.hero-disc {
    width: min(440px, 86vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
    background: var(--purple-tint); display: flex; align-items: flex-end; justify-content: center;
}
.hero-cog { width: 82%; max-height: 100%; object-fit: contain; animation: float 4.5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.chip {
    position: absolute; display: inline-flex; align-items: center; gap: 7px;
    background: #fff; border: 2px solid var(--line); border-radius: 100px;
    padding: 8px 15px; font-family: var(--font-display); font-weight: 600;
    font-size: 13.5px; color: var(--navy); box-shadow: 0 3px 0 var(--line);
    animation: float 4.5s ease-in-out infinite;
}
.chip svg { flex-shrink: 0; }
.chip-xp { top: 8%; right: 2%; color: var(--gold); animation-delay: -1.2s; }
.chip-streak { bottom: 16%; left: -4%; animation-delay: -2.6s; }
.chip-streak svg { color: var(--peach); }
.chip-done { top: 26%; left: -2%; animation-delay: -3.4s; }
.chip-done svg { color: var(--mint); }

.hero-text {
    flex: 0 1 440px; display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 28px;
}
.hero-text h1 {
    font-family: var(--font-display); font-weight: 600; color: var(--navy);
    font-size: clamp(26px, 3.4vw, 36px); line-height: 1.3; max-width: 17ch;
}
.hero-cta { display: flex; flex-direction: column; gap: 12px; width: min(330px, 100%); }
.hero-cta .btn { width: 100%; }

/* ---------- functie-strip (slider) ---------- */
.strip {
    border-top: 2px solid var(--line); border-bottom: 2px solid var(--line);
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}
.strip-inner {
    max-width: 1080px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 10px;
    overflow-x: auto; scrollbar-width: none;
    scroll-snap-type: x proximity; scroll-padding: 0 24px;
}
.strip-inner::-webkit-scrollbar { display: none; }
.strip a {
    display: flex; align-items: center; gap: 9px; padding: 18px 12px;
    font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
    letter-spacing: .8px; text-transform: uppercase; color: var(--body);
    white-space: nowrap; transition: color .15s; scroll-snap-align: start;
    flex: 0 0 auto;
}
.strip a:hover { color: var(--purple); }
.strip a svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- pagina-hero op subpagina's ---------- */
.page-hero {
    padding: 64px 0 12px; display: flex; flex-direction: column;
    align-items: center; text-align: center; gap: 16px;
}
.page-hero h1 {
    font-family: var(--font-display); font-weight: 600; color: var(--navy);
    font-size: clamp(30px, 4vw, 42px); line-height: 1.25; max-width: 20ch;
}
.page-hero p { font-size: 17px; max-width: 52ch; }

/* ---------- secties ---------- */
section.block { padding: 64px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-head h2 {
    font-family: var(--font-display); font-weight: 600; color: var(--navy);
    font-size: clamp(24px, 3vw, 32px);
}
.section-head p { margin-top: 10px; font-size: 16px; }

section.split {
    display: flex; align-items: center; justify-content: center; gap: 64px;
    padding: 72px 0; flex-wrap: wrap;
}
section.split .copy { flex: 0 1 440px; }
section.split .copy h2 {
    font-family: var(--font-display); font-weight: 600; color: var(--purple);
    font-size: clamp(26px, 3.2vw, 34px); line-height: 1.25; margin-bottom: 16px;
}
section.split .copy p { font-size: 16.5px; max-width: 48ch; }
section.split .art { flex: 0 1 360px; display: flex; justify-content: center; }
.art-disc {
    width: min(320px, 78vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
    background: var(--purple-tint); display: flex; align-items: flex-end; justify-content: center;
}
.art-disc img { width: 80%; max-height: 100%; object-fit: contain; }
.split-actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }

/* ---------- kaarten ---------- */
.page-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px;
}
.page-cards.cards-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
    background: #fff; border: 2px solid var(--line); border-radius: 16px;
    box-shadow: 0 3px 0 var(--line); padding: 26px;
    display: flex; flex-direction: column; gap: 10px;
}
a.card { transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--line); }
.card .ico {
    width: 46px; height: 46px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; margin-bottom: 6px;
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 17.5px; color: var(--navy); }
.card p { font-size: 14.5px; }
.card .more {
    margin-top: auto; padding-top: 8px; font-family: var(--font-display); font-weight: 600;
    font-size: 13px; letter-spacing: .8px; text-transform: uppercase; color: var(--purple);
}

/* Getinte kaarten (functie-overzicht) — zachte kleurvlakken i.p.v. wit */
.card.tint-purple { background: #f4f1fc; border-color: #ddd3f6; box-shadow: 0 3px 0 #ddd3f6; }
.card.tint-mint   { background: #e9f8f2; border-color: #c6ecdd; box-shadow: 0 3px 0 #c6ecdd; }
.card.tint-peach  { background: #fff1ec; border-color: #ffd6c8; box-shadow: 0 3px 0 #ffd6c8; }
.card.tint-gold   { background: #fdf6e4; border-color: #f3e2b3; box-shadow: 0 3px 0 #f3e2b3; }
.card[class*="tint-"] .ico { background: #fff !important; }
.card[class*="tint-"] h3 { font-size: 18px; }
.card[class*="tint-"]:hover { transform: translateY(-3px); }

/* XP-tegels */
.xp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.xp-tile {
    border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 3px 0 var(--line);
    padding: 30px 24px; text-align: center; background: #fff;
}
.xp-tile b {
    display: block; font-family: var(--font-display); font-weight: 700;
    font-size: 38px; color: var(--purple); line-height: 1.1; margin-bottom: 8px;
}
.xp-tile span { font-size: 14.5px; }

/* widget-tegels */
.widget-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; flex: 0 1 400px; }
.widget-tile {
    display: flex; align-items: center; gap: 11px; padding: 15px 17px;
    border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 3px 0 var(--line);
    font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--navy);
    background: #fff;
}
.widget-tile svg { width: 21px; height: 21px; flex-shrink: 0; }

/* ---------- paarse band ---------- */
.band {
    background: linear-gradient(135deg, var(--purple-deep), var(--purple));
    border-radius: 28px; padding: 54px; color: #fff; position: relative; overflow: hidden;
    display: flex; align-items: center; gap: 44px; flex-wrap: wrap;
}
.band::after {
    content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
    background: rgba(255,255,255,.08); top: -150px; right: -110px;
}
.band img { width: 200px; position: relative; z-index: 1; }
.band .copy { flex: 1 1 320px; position: relative; z-index: 1; }
.band h2 {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px;
}
.band p { opacity: .9; max-width: 52ch; font-size: 15.5px; }
.band .actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.band a.alt { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer (speels, paars vlak met golf, à la Duolingo) ---------- */
footer.site { margin-top: 72px; }
.footer-wave { color: var(--purple-deep); line-height: 0; }
.footer-wave svg { display: block; width: 100%; height: 68px; }
.footer-main {
    background: linear-gradient(180deg, var(--purple-deep), #4a3494);
    color: #cfc4f2; position: relative;
}
.footer-cog {
    position: absolute; top: -96px; right: 6%; width: 130px; height: auto;
    animation: float 4.5s ease-in-out infinite; pointer-events: none;
}
.footer-grid {
    max-width: 1080px; margin: 0 auto; padding: 48px 24px 36px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 36px 24px;
}
.footer-col h4 {
    font-family: var(--font-display); font-weight: 600; font-size: 14px;
    color: #fff; margin-bottom: 14px; letter-spacing: 1px; text-transform: uppercase;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #cfc4f2; font-size: 14.5px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14.5px; }
.footer-col p a { color: #fff; font-weight: 700; }
.footer-brand {
    display: flex; align-items: center; gap: 9px; font-family: var(--font-display);
    font-weight: 700; font-size: 20px; color: #fff; margin-bottom: 12px;
}
.footer-bottom-inner {
    max-width: 1080px; margin: 0 auto; padding: 18px 24px 26px;
    border-top: 1px solid rgba(255,255,255,.18);
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    font-size: 13.5px; color: #cfc4f2;
}
.footer-bottom-inner a { color: #fff; }
.footer-bottom-inner a:hover { text-decoration: underline; }
@media (max-width: 700px) { .footer-cog { width: 92px; top: -68px; } }

/* ---------- download: platformkaarten ---------- */
.dl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.dl-card {
    background: #fff; border: 2px solid var(--line); border-radius: 16px;
    box-shadow: 0 3px 0 var(--line); padding: 34px 28px;
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
}
.dl-card .ico {
    width: 62px; height: 62px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; margin-bottom: 4px;
}
.dl-card .ico svg { width: 30px; height: 30px; }
.dl-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--navy); }
.dl-card p { font-size: 14.5px; }
.dl-card .btn { margin-top: 14px; }
.dl-card small { font-size: 12.5px; color: var(--body); }

/* ---------- checklist in twee kolommen ---------- */
.check-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px 32px; max-width: 820px; margin: 0 auto;
}
.check-grid li {
    list-style: none; display: flex; align-items: flex-start; gap: 11px;
    font-size: 15.5px; color: var(--navy); font-weight: 600;
}
.check-grid li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--mint); margin-top: 3px; }
.check-grid li small { display: block; font-weight: 400; color: var(--body); font-size: 14px; }

/* ---------- stappen ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step {
    border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 3px 0 var(--line);
    padding: 28px 24px; background: #fff;
}
.step i {
    display: flex; align-items: center; justify-content: center; font-style: normal;
    width: 40px; height: 40px; border-radius: 50%; background: var(--purple-tint);
    color: var(--purple); font-family: var(--font-display); font-weight: 700;
    font-size: 18px; margin-bottom: 14px;
}
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 17.5px; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
    border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 3px 0 var(--line);
    background: #fff; padding: 0 22px; overflow: hidden;
}
.faq summary {
    cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
    gap: 14px; padding: 17px 0; font-family: var(--font-display); font-weight: 600;
    font-size: 16px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; width: 10px; height: 10px; flex-shrink: 0;
    border-right: 2.5px solid var(--purple); border-bottom: 2.5px solid var(--purple);
    transform: rotate(45deg); transition: transform .2s; margin-right: 4px;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { padding: 0 0 18px; font-size: 15px; }

/* ---------- widget-showcase met wisselanimatie ---------- */
.wshow { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.wshow .widget-tile { will-change: transform; }
@keyframes tile-pop {
    0% { transform: scale(.55); opacity: 0; }
    65% { transform: scale(1.07); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
    .wshow .widget-tile.pop { animation: tile-pop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
}

/* ---------- helpdesk ---------- */
/* Geen overflow:hidden (de zoek-dropdown steekt eronderuit); de sier-cirkel
   rechtsboven zit daarom in de achtergrond i.p.v. in een ::after. */
.hd-hero {
    background:
        radial-gradient(circle 170px at calc(100% - 60px) 20px, rgba(255,255,255,.08) 0 169px, transparent 170px),
        linear-gradient(135deg, var(--purple-deep), var(--purple));
    border-radius: 28px; padding: 56px 44px 52px; margin-top: 36px;
    color: #fff; position: relative; text-align: center;
}
.hd-hero h1 {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(28px, 3.6vw, 38px); line-height: 1.25;
    position: relative; z-index: 1;
}
.hd-hero > p {
    opacity: .9; max-width: 52ch; margin: 10px auto 0; font-size: 15.5px;
    position: relative; z-index: 1;
}
.hd-hero-sm { padding: 28px; margin-top: 28px; }
.hd-search {
    display: flex; gap: 12px; justify-content: center; align-items: stretch;
    max-width: 660px; margin: 28px auto 0; position: relative; z-index: 2; flex-wrap: wrap;
}
.hd-hero-sm .hd-search { margin-top: 0; }
.hd-search-box { position: relative; flex: 1 1 340px; text-align: left; }
.hd-mag {
    position: absolute; left: 17px; top: 27px; transform: translateY(-50%);
    width: 20px; height: 20px; color: var(--body); pointer-events: none;
}
.hd-input {
    width: 100%; min-height: 54px; padding: 14px 18px 14px 48px;
    border: 2px solid transparent; border-radius: 16px;
    font-family: var(--font-body); font-size: 15.5px; color: var(--navy);
    background: #fff; box-shadow: 0 4px 0 rgba(0,0,0,.18); outline: none;
}
.hd-input::placeholder { color: var(--body); }
.hd-input:focus { border-color: var(--gold); }
.hd-search .btn { flex: 0 0 auto; }
.hd-results {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 60;
    background: #fff; border: 2px solid var(--line); border-radius: 16px;
    box-shadow: 0 14px 34px rgba(60,53,82,.22); overflow: hidden auto; max-height: 400px;
}
.hd-results a { display: block; padding: 12px 18px; border-bottom: 1px solid #f0eef8; }
.hd-results a:last-child { border-bottom: 0; }
.hd-results a:hover, .hd-results a.sel { background: var(--purple-tint); }
.hd-result-c {
    display: block; font-family: var(--font-display); font-weight: 600;
    font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; color: var(--purple);
}
.hd-result-t {
    display: block; font-family: var(--font-display); font-weight: 600;
    font-size: 15.5px; color: var(--navy); margin-top: 1px;
}
.hd-result-t mark { background: rgba(138,111,224,.16); color: inherit; border-radius: 4px; padding: 0 1px; }
.hd-result-s {
    display: block; font-size: 13px; color: var(--body); margin-top: 2px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hd-empty { padding: 15px 18px; font-size: 14px; color: var(--body); }
.hd-empty a { font-weight: 700; }
.hd-chips {
    display: flex; gap: 8px 10px; justify-content: center; align-items: center; flex-wrap: wrap;
    margin-top: 18px; position: relative; z-index: 1; font-size: 13.5px;
}
.hd-chips span { opacity: .75; }
.hd-chips a {
    background: rgba(255,255,255,.14); color: #fff; border-radius: 100px; padding: 6px 14px;
    font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .3px;
    transition: background .15s;
}
.hd-chips a:hover { background: rgba(255,255,255,.26); }

.hd-cat-links { list-style: none; margin-top: 6px; display: flex; flex-direction: column; gap: 8px; }
.hd-cat-links a { display: flex; align-items: baseline; gap: 8px; font-weight: 600; font-size: 14px; color: var(--navy); }
.hd-cat-links a::before { content: "\203A"; color: var(--purple); font-weight: 700; }
.hd-cat-links a:hover { color: var(--purple); }

.hd-article { max-width: 740px; margin: 0 auto; padding: 44px 0 8px; }
.hd-crumbs {
    display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
    font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
    letter-spacing: .8px; text-transform: uppercase; color: var(--body);
}
.hd-article h1 {
    font-family: var(--font-display); font-weight: 600; color: var(--navy);
    font-size: clamp(26px, 3.4vw, 34px); line-height: 1.25; margin-bottom: 18px;
}
.hd-body p { margin-bottom: 14px; font-size: 15.5px; }
.hd-body h2 { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 20px; margin: 26px 0 10px; }
.hd-body ul, .hd-body ol { margin: 0 0 16px 24px; font-size: 15.5px; }
.hd-body li { margin-bottom: 8px; }
.hd-body strong { color: var(--navy); }
.hd-body a { font-weight: 600; }
.hd-body code {
    font-size: .9em; background: var(--purple-tint); border-radius: 6px;
    padding: 2px 6px; color: var(--purple-deep);
}
.hd-body p.hd-tip {
    background: var(--purple-tint); border: 2px solid #ddd3f6; border-radius: 16px;
    padding: 13px 18px; font-size: 14.5px;
}
.hd-related { max-width: 740px; margin: 36px auto 0; }
.hd-related h2 { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 19px; margin-bottom: 14px; }
.hd-related ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px 28px; }
.hd-related a { display: flex; align-items: baseline; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.hd-related a::before { content: "\203A"; color: var(--purple); font-weight: 700; }
.hd-related a:hover { color: var(--purple); }
@media (max-width: 700px) {
    .hd-hero { padding: 40px 20px 36px; margin-top: 20px; }
    .hd-hero-sm { padding: 22px 16px; }
    .hd-search .btn { flex: 1 1 100%; }
    .hd-article { padding-top: 32px; }
}

/* ---------- scroll-reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-cog, .chip { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- responsief ---------- */
@media (max-width: 860px) {
    .navlinks { display: none; }
    .hero-full { min-height: 0; padding: 36px 0 48px; gap: 36px; }
    .hero-visual, .hero-text,
    section.split .copy, section.split .art {
        flex: 0 1 auto; width: 100%; max-width: 100%; min-width: 0;
    }
    .page-hero { padding: 44px 0 8px; }
    section.split { padding: 52px 0; gap: 36px; }
    section.split .copy { text-align: center; }
    section.split .copy p { margin: 0 auto; }
    .split-actions { justify-content: center; }
    section.block { padding: 48px 0; }
    .band { padding: 36px 28px; justify-content: center; text-align: center; }
    .band .actions { justify-content: center; }
    .widget-grid { flex-basis: 100%; }
}
@media (max-width: 520px) {
    .header-inner { height: 60px; }
    .brand { font-size: 20px; }
    .brand img { width: 30px; height: 30px; }
    .actions .btn-ghost { display: none; }
    .actions .btn-sm { padding: 9px 14px; font-size: 12.5px; }
    .chip { font-size: 12.5px; padding: 7px 12px; }
    .chip-streak { left: 0; } .chip-done { left: 0; } .chip-xp { right: 0; }
}
