:root {
  color-scheme: light;
  --page: #f9f8f4;
  --white: #ffffff;
  --ink: #20253d;
  --ink-soft: #444b64;
  --muted: #737990;
  --purple: #6253db;
  --purple-deep: #4334b5;
  --purple-light: #eceafd;
  --lime: #d4f498;
  --line: #e8e6ee;
  --green: #65ab7b;
  --yellow: #e7ae58;
  --tile-gray: #a8adb9;
  --radius-lg: 24px;
  --shadow: 0 24px 70px rgba(43, 36, 100, .11);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #f2a645; outline-offset: 4px; }
::selection { background: var(--lime); color: var(--ink); }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.site-wrap > main { flex: 1; }
.skip-link { position: absolute; z-index: 100; top: -100px; left: 12px; background: var(--ink); color: white; padding: 10px 16px; border-radius: 0 0 10px 10px; }
.skip-link:focus { top: 0; }

/* Navigatie */
.site-header { background: rgba(249,248,244,.96); border-bottom: 1px solid rgba(226,224,233,.8); position: relative; z-index: 20; }
.header-inner { min-height: 89px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand-mark { width: 45px; height: 45px; background: var(--purple); color: #fff; display: grid; place-items: center; border-radius: 13px; font-weight: 900; font-size: 26px; letter-spacing: -.11em; position: relative; box-shadow: 0 6px 13px rgba(98,83,219,.17); }
.brand-mark span { transform: translateX(-2px); }
.brand-mark i { display: block; width: 9px; height: 9px; position: absolute; border-radius: 50%; background: var(--lime); right: 4px; top: 4px; }
.brand-name { font-weight: 850; font-size: 23px; letter-spacing: -.055em; }
.brand-name > span { color: var(--purple); }
.brand-name small { font-size: 14px; letter-spacing: -.03em; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 29px; }
.main-nav > a { color: #555b72; font-size: 14px; font-weight: 750; transition: color .18s ease; white-space: nowrap; }
.main-nav > a:hover, .main-nav > a.is-active { color: var(--purple); }
.main-nav > a.nav-cta { background: var(--ink); color: white; border-radius: 12px; padding: 11px 17px; margin-left: 3px; }
.main-nav > a.nav-cta:hover { background: var(--purple); }
.main-nav > a.nav-cta span { margin-left: 6px; }
.nav-toggle { display: none; background: white; border: 1px solid var(--line); color: var(--ink); border-radius: 12px; padding: 7px 12px; cursor: pointer; font-size: 14px; font-weight: 750; }
.hamburger { display: flex; flex-direction: column; gap: 4px; }
.hamburger i { background: currentColor; display: block; width: 18px; height: 2px; border-radius: 2px; }

/* Algemene onderdelen */
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 13px 22px; font-size: 14px; font-weight: 800; border-radius: 13px; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--purple); box-shadow: 0 9px 20px rgba(98,83,219,.2); }
.button-primary:hover { background: var(--purple-deep); box-shadow: 0 12px 24px rgba(98,83,219,.25); }
.button-text { padding-inline: 5px; color: var(--ink); }
.button-text:hover { color: var(--purple); }
.button-outline { border: 1px solid #d7d3eb; background: white; }
.button-outline:hover { border-color: var(--purple); }
.button-light { background: white; color: var(--ink); white-space: nowrap; }
.button-light:hover { background: var(--lime); }
.section-space { padding: 96px 0; }
.section-eyebrow { color: var(--purple); letter-spacing: .13em; text-transform: uppercase; font-weight: 850; font-size: 12px; margin-bottom: 12px; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { letter-spacing: -.045em; line-height: 1.15; }
h2 { font-size: clamp(31px, 3.4vw, 43px); font-weight: 850; }
h3 { font-size: 22px; font-weight: 800; }
.section-heading { margin-bottom: 39px; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading h2 span, .how-copy h2 span { color: var(--purple); }
.section-heading p { margin: 0; color: var(--muted); font-size: 16px; }
.centered { text-align: center; }

/* Intro */
.hero-section { overflow: hidden; position: relative; background: radial-gradient(circle at 78% 36%, #f0efff 0%, transparent 42%), radial-gradient(circle at 10% 85%, #f5f8df 0%, transparent 35%), var(--page); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr); align-items: center; gap: 76px; padding-top: 78px; padding-bottom: 88px; }
.hero-copy { padding-bottom: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; background: #efecfd; color: var(--purple-deep); padding: 8px 13px; border-radius: 999px; font-size: 12px; font-weight: 850; letter-spacing: .02em; }
.eyebrow-star { font-size: 16px; }
.hero-copy h1 { margin: 22px 0 21px; font-size: clamp(47px, 5.3vw, 72px); line-height: 1.08; font-weight: 900; letter-spacing: -.065em; max-width: 650px; }
.word-underline { color: var(--purple); position: relative; white-space: nowrap; }
.word-underline::after { content: ''; height: 11px; border-radius: 50%; background: #d4ef9c; position: absolute; bottom: -8px; left: 3%; width: 92%; transform: rotate(-3deg); z-index: -1; }
.hero-lead { max-width: 485px; font-size: 18px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 27px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-proof { margin-top: 27px; color: #6a7082; font-size: 13px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.proof-dot { display: inline-grid; place-items: center; background: #ddf4dc; color: #338748; width: 21px; height: 21px; border-radius: 50%; font-size: 12px; }
.proof-separator { color: #a1a4ae; }
.hero-game { position: relative; display: flex; justify-content: center; padding: 22px 5px; }
.hero-game::before { content: ''; width: 470px; aspect-ratio: 1; border-radius: 47% 53% 59% 41%; position: absolute; top: 6%; left: 3%; background: #e6e3fc; transform: rotate(14deg); }
.game-spark { position: absolute; color: var(--purple); z-index: 2; }
.spark-left { font-size: 47px; left: 0; top: 12%; transform: rotate(-20deg); }
.spark-right { font-size: 40px; right: 3%; bottom: 6%; color: #e5ae68; transform: rotate(17deg); }
.game-card { width: min(100%, 426px); padding: 26px 31px 21px; border: 1px solid rgba(235,233,243,.96); border-radius: 25px; background: white; position: relative; z-index: 1; box-shadow: var(--shadow); transform: rotate(2deg); }
.game-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.game-label { font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; color: #737891; }
.small-pulse { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: var(--green); }
.game-top-icon { color: var(--purple); font-size: 22px; }
.game-card-title { font-weight: 850; text-align: center; letter-spacing: -.035em; font-size: 25px; line-height: 1.25; }
.game-card-subtitle { color: #858a99; font-size: 13px; text-align: center; margin-top: 6px; margin-bottom: 24px; }
.word-grid { display: flex; flex-direction: column; gap: 8px; max-width: 334px; margin: 0 auto; }
.word-row { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; }
.tile { display: grid; place-items: center; aspect-ratio: 1; font-size: clamp(20px, 2.3vw, 27px); font-weight: 850; color: white; border-radius: 8px; }
.tile-right { background: var(--green); box-shadow: inset 0 -3px 0 rgba(0,0,0,.08); }
.tile-present { background: var(--yellow); }
.tile-wrong { background: #a5aab7; }
.tile-empty { background: #f3f3f7; border: 2px solid #e9e9ef; }
.game-success { margin-top: 21px; background: #eaf8e9; border-radius: 10px; text-align: center; padding: 11px 7px; font-size: 13px; font-weight: 850; color: #347849; }
.game-success span { margin-right: 4px; }
.game-preview-label { text-align: center; margin-top: 11px; font-size: 10px; font-weight: 600; color: #9b9eaa; }

/* Vandaag */
.today-strip { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.today-inner { display: flex; align-items: center; min-height: 110px; gap: 18px; }
.today-icon { background: #fff0d6; color: #e8a43c; font-size: 31px; display: grid; place-items: center; border-radius: 14px; width: 54px; height: 54px; flex: 0 0 54px; }
.today-description { min-width: 195px; }
.today-kicker { display: block; font-size: 11px; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; }
.today-description strong { font-size: 15px; letter-spacing: -.02em; }
.today-facts { display: flex; gap: 35px; border-left: 1px solid var(--line); padding-left: 35px; margin-left: 10px; }
.today-facts > div { display: flex; flex-direction: column; }
.today-facts strong { font-size: 23px; font-weight: 850; line-height: 1.3; }
.today-facts span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.today-tag { margin-left: auto; white-space: nowrap; color: #6a5fc7; background: #f1efff; border-radius: 999px; padding: 7px 12px; font-size: 11px; font-weight: 850; }

/* Spelvormen */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.feature-card { border-radius: var(--radius-lg); padding: 26px 27px 28px; display: flex; flex-direction: column; min-height: 364px; overflow: hidden; transition: transform .2s ease; }
.feature-card:hover { transform: translateY(-4px); }
.feature-card-purple { background: #eceafa; }
.feature-card-peach { background: #fff0e6; }
.feature-card-mint { background: #eaf6e8; }
.feature-illustration { height: 108px; display: flex; justify-content: center; align-items: center; gap: 7px; }
.feature-illustration span { width: 58px; height: 59px; display: grid; place-items: center; background: var(--purple); color: white; border-radius: 11px; font-size: 30px; font-weight: 900; box-shadow: 0 5px 0 rgba(78,61,175,.13); }
.feature-illustration span:first-child { transform: rotate(-10deg); }
.feature-illustration span:last-child { transform: rotate(9deg); }
.feature-illustration-time span { background: #f1b475; color: #704221; }
.feature-illustration-time span:last-child { font-size: 35px; }
.feature-illustration-star span { background: #8bc59c; color: white; }
.feature-illustration-star span:last-child { background: #c7e5a4; color: #3a8054; }
.feature-tag { display: inline-block; align-self: start; border-radius: 999px; padding: 4px 11px; background: rgba(255,255,255,.76); font-weight: 850; font-size: 11px; color: #676184; margin-top: 8px; }
.feature-card h3 { margin: 16px 0 10px; }
.feature-card p { margin-bottom: 18px; color: #555b6d; font-size: 14px; line-height: 1.75; }
.feature-detail { margin-top: auto; border-top: 1px solid rgba(68,63,79,.1); padding-top: 14px; font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: space-between; gap: 5px; }

/* Uitleg */
.how-section { background: white; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.how-copy h2 { max-width: 420px; }
.how-copy p { color: var(--muted); max-width: 460px; line-height: 1.8; margin-bottom: 25px; }
.how-steps { display: flex; flex-direction: column; gap: 10px; }
.how-step { display: flex; align-items: flex-start; gap: 20px; background: #f8f7fc; border: 1px solid #f0eef6; border-radius: 17px; padding: 20px 22px; }
.step-number { font-size: 16px; font-weight: 900; color: var(--purple); background: white; width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 44px; border-radius: 12px; }
.how-step h3 { font-size: 17px; margin: 1px 0 5px; }
.how-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* Ranglijstbanner */
.ranks-teaser { padding-top: 75px; padding-bottom: 105px; }
.ranking-banner { background: #4e45ba; color: white; border-radius: 28px; padding: 43px 49px; display: flex; align-items: center; gap: 30px; box-shadow: 0 23px 44px rgba(79,64,175,.16); position: relative; overflow: hidden; }
.ranking-banner::after { content: '✳'; color: rgba(255,255,255,.08); font-size: 190px; position: absolute; right: -25px; top: -75px; pointer-events: none; }
.ranking-banner > * { position: relative; z-index: 1; }
.ranking-medal { width: 79px; height: 79px; flex: 0 0 79px; background: rgba(255,255,255,.13); border-radius: 20px; display: grid; place-items: center; font-size: 40px; }
.ranking-banner .section-eyebrow { color: var(--lime); }
.ranking-banner h2 { margin-bottom: 7px; font-size: 29px; }
.ranking-banner p { margin: 0; color: #e5e1ff; max-width: 540px; font-size: 14px; }
.ranking-banner .button { margin-left: auto; }

/* Overige pagina's */
.page-hero { background: radial-gradient(circle at 88% 12%, #e7e4fb 0%, transparent 33%), #f2f0fc; border-bottom: 1px solid #e7e2f5; }
.page-hero-inner { padding-block: 69px 73px; }
.page-hero h1 { font-weight: 900; font-size: clamp(38px,4.8vw,61px); margin: 10px 0 18px; }
.page-hero h1 span { color: var(--purple); }
.page-hero p { color: #60647b; font-size: 18px; line-height: 1.7; max-width: 680px; margin: 0; }
.page-hero .button { margin-top: 27px; }
.page-section { min-height: 430px; }
.narrow-content { max-width: 825px; }
.narrow-content > h2 { font-size: 27px; margin: 40px 0 12px; }
.narrow-content > h2:first-child { margin-top: 0; }
.narrow-content > p { color: #545b71; line-height: 1.9; margin-bottom: 16px; }
.info-highlight { display: flex; gap: 18px; align-items: flex-start; border-radius: 17px; background: #ebecfd; padding: 21px 23px; margin-bottom: 36px; }
.info-highlight-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 11px; color: white; background: var(--purple); font-size: 21px; }
.info-highlight strong { font-size: 16px; }
.info-highlight p { margin: 4px 0 0; color: #626783; font-size: 14px; }
.rules-table-wrap { border: 1px solid var(--line); border-radius: 17px; background: white; overflow-x: auto; margin: 24px 0; }
.rules-table { width: 100%; border-collapse: collapse; text-align: left; }
.rules-table th { background: #f5f4fa; font-size: 13px; color: #62667b; }
.rules-table th,.rules-table td { padding: 14px 19px; border-bottom: 1px solid #efedf4; }
.rules-table tr:last-child td { border-bottom: none; }
.rules-table td { font-weight: 650; font-size: 14px; }
.example-score { border-radius: 17px; padding: 21px 26px; background: #f0efdb; margin: 26px 0 40px; }
.example-score > span { font-size: 12px; font-weight: 850; color: #666948; text-transform: uppercase; letter-spacing: .08em; }
.example-score div { display: flex; align-items: baseline; gap: 14px; margin-top: 5px; flex-wrap: wrap; }
.example-score strong { font-size: 26px; }
.example-score div strong:last-child { color: #4d7848; }
.example-score small { display: block; color: #727658; }
.color-key { background: white; padding: 20px 23px; border: 1px solid var(--line); border-radius: 18px; display: grid; gap: 14px; }
.color-key > div { display: flex; gap: 15px; align-items: center; }
.color-key p { margin: 0; color: #5c6375; font-size: 14px; }
.key-tile { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; color: white; font-weight: 850; }
.key-right { background: var(--green); }
.key-present { background: var(--yellow); }
.key-wrong { background: var(--tile-gray); }
.fine-print { margin-top: 31px; padding-top: 17px; border-top: 1px solid var(--line); font-size: 13px; }
.leaderboard-empty { border: 1px dashed #d0c9e9; border-radius: 25px; background: white; padding: 55px 25px; text-align: center; }
.empty-icon { font-size: 56px; margin-bottom: 5px; }
.leaderboard-empty h2 { font-size: 29px; margin-bottom: 13px; }
.leaderboard-empty p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.leaderboards-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 26px; }
.leaderboard-type { background: #eeecfa; border-radius: 18px; padding: 25px 21px; }
.board-emoji { font-size: 31px; display: block; margin-bottom: 16px; }
.leaderboard-type h3 { font-size: 19px; margin-bottom: 9px; }
.leaderboard-type p { margin: 0; color: #63677a; font-size: 13px; line-height: 1.7; }
.leaderboards-note { color: var(--muted); text-align: center; font-size: 13px; margin: 27px auto 0; max-width: 640px; }

/* Footer */
.site-footer { background: #22253b; color: #fff; }
.footer-inner { padding-block: 53px 44px; display: flex; justify-content: space-between; align-items: start; gap: 30px; }
.footer-brand { font-weight: 850; letter-spacing: -.04em; font-size: 25px; }
.footer-brand span { color: #afa7ff; }
.footer-inner p { color: #aeb2c2; font-size: 13px; margin: 5px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; padding-top: 12px; }
.footer-links a { font-size: 13px; color: #d5d6e0; font-weight: 650; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid #393b4c; padding-block: 18px 24px; display: flex; justify-content: space-between; gap: 15px; color: #989bac; font-size: 11px; }
.footer-bottom span span { color: #f8c89a; }

@media (max-width: 1100px) {
  .hero-grid { gap: 38px; }
  .today-facts { gap: 18px; padding-left: 20px; }
  .today-tag { display: none; }
  .ranking-banner { flex-wrap: wrap; }
  .ranking-banner .button { margin-left: 109px; }
}
@media (max-width: 820px) {
  .header-inner { min-height: 76px; }
  .nav-toggle { display: flex; align-items: center; gap: 10px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 15px 24px 24px; box-shadow: 0 14px 26px rgba(25,23,54,.08); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 10px; }
  .main-nav > a.nav-cta { text-align: center; margin: 11px 0 0; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 63px; padding-bottom: 65px; }
  .hero-copy { text-align: center; }
  .hero-copy h1,.hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions,.hero-proof { justify-content: center; }
  .hero-game { max-width: 510px; margin: 0 auto; width: 100%; }
  .hero-game::before { left: 4%; }
  .today-inner { gap: 12px; flex-wrap: wrap; padding: 22px 0; }
  .today-facts { flex: 1 0 100%; border-left: none; padding-left: 0; border-top: 1px solid var(--line); margin: 8px 0 0; padding-top: 16px; justify-content: space-between; }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-card:last-child { grid-column: 1/-1; }
  .how-grid { gap: 42px; }
  .leaderboards-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .container { width: min(100% - 32px, 480px); }
  .brand-name { font-size: 21px; }
  .brand-mark { width: 41px; height: 41px; }
  .hero-grid { padding-top: 48px; gap: 34px; }
  .hero-copy h1 { font-size: clamp(43px, 11vw, 59px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button-text { min-height: 44px; }
  .hero-proof { margin-top: 16px; }
  .hero-game { padding: 12px 10px; }
  .hero-game::before { width: 105%; }
  .game-card { padding: 20px 21px; }
  .word-grid { gap: 6px; }
  .word-row { gap: 6px; }
  .game-card-subtitle { margin-bottom: 18px; }
  .tile { font-size: clamp(18px,6vw,27px); }
  .today-icon { width: 46px; height: 46px; flex-basis: 46px; }
  .today-description strong { font-size: 14px; }
  .today-facts { gap: 8px; }
  .today-facts strong { font-size: 21px; }
  .today-facts span { font-size: 10px; white-space: normal; }
  .today-facts > div { max-width: 35%; }
  .section-space { padding: 63px 0; }
  .feature-grid { grid-template-columns: 1fr; gap: 15px; }
  .feature-card,.feature-card:last-child { grid-column: auto; min-height: auto; }
  .feature-illustration { height: 95px; }
  .how-grid { grid-template-columns: 1fr; gap: 33px; }
  .ranking-banner { padding: 29px 26px; gap: 19px; }
  .ranking-medal { height: 63px; width: 63px; flex-basis: 63px; font-size: 33px; }
  .ranking-banner h2 { font-size: 27px; }
  .ranking-banner .button { margin-left: 0; width: 100%; }
  .footer-inner,.footer-bottom { flex-direction: column; gap: 22px; }
  .footer-links { flex-direction: column; gap: 10px; padding-top: 0; }
  .footer-bottom { gap: 7px; }
  .page-hero-inner { padding-block: 48px; }
  .page-hero p { font-size: 16px; }
  .narrow-content > h2 { font-size: 24px; margin-top: 31px; }
  .rules-table th,.rules-table td { padding: 12px 11px; }
  .leaderboards-grid { grid-template-columns: 1fr; }
  .leaderboard-empty { padding: 38px 19px; }
  .leaderboard-empty h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,.feature-card { transition: none; }
}
