/* PAL voor de klas: public site and login pages.
   Brand colours sampled from the PAL artwork (login_pg_*.webp).
   Fonts are self-hosted (SIL Open Font License, see ../fonts/). */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-latin-400-normal.e1b3b5908c9c.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/lato-latin-400-italic.efee2d080d7b.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-latin-700-normal.de69cf9e514d.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.e1180918b873.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.b1b7dd5dbcea.woff2") format("woff2"); }

:root {
  --pal-blue: #0070B0;
  --pal-red: #D01040;
  --pal-yellow: #F0B010;
  --pal-green: #008050;
  --pal-navy: #1D2B6B;
  --pal-sky: #EEF6F8;
  --pal-cream: #FFF7E0;
  --text: #1E2433;
  --text-muted: #3A4458;
  --text-soft: #4A5468;
  --line: #E3EAF0;
  --field: #C9D6E0;
  --font-body: "Lato", "Segoe UI", system-ui, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--text); background: #FFFFFF; }
img { max-width: 100%; height: auto; }
a { color: var(--pal-blue); }
a:hover { color: var(--pal-navy); }
:focus-visible { outline: 3px solid var(--pal-yellow); outline-offset: 2px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 1; color: var(--pal-navy); }
.section-title { font-size: 48px; }
.lead-text { font-size: 19px; color: var(--text-muted); }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--pal-red); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; border: 2px solid transparent; border-radius: 10px; padding: 13px 24px; cursor: pointer; }
.btn-pill { border-radius: 999px; }
.btn-blue { background: var(--pal-blue); color: #FFFFFF; }
.btn-blue:hover { background: #005C91; color: #FFFFFF; }
.btn-navy { background: var(--pal-navy); color: #FFFFFF; }
.btn-navy:hover { background: #131D4B; color: #FFFFFF; }
.btn-green { background: var(--pal-green); color: #FFFFFF; }
.btn-green:hover { background: #006640; color: #FFFFFF; }
.btn-yellow { background: var(--pal-yellow); color: var(--pal-navy); }
.btn-yellow:hover { background: #D99E0C; color: var(--pal-navy); }
.btn-outline-light { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.btn-sm { padding: 9px 16px; }

/* Header */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.site-logo img { display: block; height: 48px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.site-nav a.nav-link { color: var(--text); text-decoration: none; font-weight: 700; }
.site-nav a.nav-link:hover { color: var(--pal-blue); }

/* Messages */
.site-messages .alert { padding: 14px 24px; text-align: center; font-weight: 700; }
.alert-success { background: #DDF2E8; color: #00592F; }
.alert-info { background: #DCEBF6; color: #0B4C7A; }
.alert-warning { background: #FFF3CC; color: #6B4E00; }
.alert-danger, .alert-error { background: #FBE1E8; color: #8A0B2C; }

/* Forms */
.field-label { font-weight: 700; font-size: 15px; }
.field { width: 100%; font: inherit; padding: 13px 16px; border: 2px solid var(--field); border-radius: 10px; background: #FFFFFF; color: var(--text); }
.field:focus { border-color: var(--pal-blue); outline: none; box-shadow: 0 0 0 3px rgba(0, 112, 176, 0.2); }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; }
.form-row .field { flex: 1 1 240px; min-width: 0; }
.form-note { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--text-soft); }
.form-note svg { flex: 0 0 auto; margin-top: 2px; }
.antispam-widget { display: flex; justify-content: flex-start; }
.errorlist { list-style: none; margin: 0; padding: 0; color: #8A0B2C; font-size: 14px; }

/* Hero (students) */
.hero { background: var(--pal-sky); overflow: hidden; }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-title { font-size: 68px; line-height: 0.98; }
.hero-lead { font-size: 20px; color: var(--text-muted); max-width: 34em; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { background: #FFFFFF; border: 2px solid var(--pal-blue); border-radius: 999px; padding: 6px 16px; font-weight: 700; }
.facts li:nth-child(1) { border-color: var(--pal-yellow); }
.facts li:nth-child(3) { border-color: var(--pal-green); }
.signup-card { margin-top: 6px; background: #FFFFFF; border-radius: 16px; padding: 20px; box-shadow: 0 10px 30px rgba(29, 43, 107, 0.10); display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.hero-art { flex: 1 1 420px; min-width: 0; position: relative; height: 520px; }
.hero-art .shape { position: absolute; }
.hero-art .shape-blue { inset: 0 0 auto 8%; height: 72%; background: var(--pal-blue); clip-path: polygon(0 18%, 100% 0, 100% 82%, 0 100%); }
.hero-art .shape-red { left: 0; top: 46%; width: 58%; height: 50%; background: var(--pal-red); clip-path: polygon(0 0, 100% 22%, 86% 100%, 0 88%); }
.hero-art .shape-yellow { right: 2%; bottom: 0; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--pal-yellow); }
.hero-art .shape-green { left: 4%; top: 6%; width: 18%; height: 30%; background: var(--pal-green); border-radius: 0 0 120px 0; }
.hero-art .hero-photo { position: absolute; left: 16%; top: 14%; width: 72%; height: 66%; object-fit: cover; border-radius: 20px; border: 6px solid #FFFFFF; box-shadow: 0 16px 40px rgba(29, 43, 107, 0.25); }

/* Partners strip */
.partners { border-bottom: 1px solid var(--line); }
.partners .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 48px; padding-top: 22px; padding-bottom: 22px; }
.partners-label { font-size: 14px; color: var(--text-soft); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.partners img { height: 40px; width: auto; }

/* Sections */
.section { padding: 88px 0; }
.section-sky { background: var(--pal-sky); }
.section-dark { background: var(--pal-navy); color: #FFFFFF; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin-bottom: 40px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.step { background: var(--pal-sky); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.step strong { font-size: 18px; }
.step span.step-text { color: var(--text-muted); font-size: 15px; }
.num { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #FFFFFF; background: var(--pal-blue); flex: 0 0 auto; }
.num-red { background: var(--pal-red); }
.num-yellow { background: var(--pal-yellow); color: var(--pal-navy); }
.num-green { background: var(--pal-green); }
.num-navy { background: var(--pal-navy); }

/* Tasks + benefits */
.tasks-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.tasks-col { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.tasks-col .section-title { color: var(--pal-yellow); }
.tasks-col .lead-text { color: #DCE6F2; }
.task-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.task-card { background: rgba(255, 255, 255, 0.08); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.benefits { flex: 1 1 380px; min-width: 0; background: #FFFFFF; color: var(--text); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.benefits .display { font-size: 36px; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 10px; }
.check-list svg { flex: 0 0 auto; margin-top: 3px; }

/* Requirements with photo */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split-photo { flex: 1 1 420px; min-width: 0; height: 380px; object-fit: cover; border-radius: 20px; }
.split-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.req-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.req-list li { background: var(--pal-sky); border-radius: 12px; padding: 14px 18px; }
.req-list span { display: block; color: var(--text-muted); }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 2px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--text-muted); }

/* Closing call to action */
.cta-band { position: relative; overflow: hidden; background: var(--pal-blue); color: #FFFFFF; padding: 72px 0; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: var(--pal-yellow); }
.cta-band::after { content: ""; position: absolute; left: -40px; bottom: -80px; width: 340px; height: 160px; background: var(--pal-red); clip-path: polygon(0 30%, 100% 0, 85% 100%, 0 100%); }
.cta-band .container { position: relative; z-index: 1; max-width: 900px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.cta-band .display { color: #FFFFFF; font-size: 54px; }
.cta-band p { font-size: 19px; color: #E6F1F8; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-green { background: var(--pal-green); }
.cta-green::before, .cta-green::after { display: none; }
.cta-green a { color: #FFFFFF; font-weight: 700; }

/* Footer */
.site-footer { background: var(--pal-navy); color: #DCE6F2; font-size: 15px; }
.site-footer a { color: #DCE6F2; }
.site-footer a:hover { color: #FFFFFF; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 40px; justify-content: space-between; padding-top: 48px; padding-bottom: 40px; }
.footer-cols > div, .footer-cols > nav { display: flex; flex-direction: column; gap: 6px; }
.footer-about { flex: 1 1 320px; min-width: 0; max-width: 520px; }
.footer-cols strong { color: #FFFFFF; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.footer-bottom .container { padding-top: 16px; padding-bottom: 16px; font-size: 13px; color: #B9C6DA; }

/* School page */
.hero-dark { position: relative; overflow: hidden; background: var(--pal-navy); color: #FFFFFF; }
.hero-dark::before { content: ""; position: absolute; right: -80px; top: -40px; width: 520px; height: 360px; background: var(--pal-blue); clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 70%); }
.hero-dark::after { content: ""; position: absolute; right: 120px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; background: var(--pal-yellow); }
.hero-dark .container { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero-dark .eyebrow { color: var(--pal-yellow); }
.hero-dark .hero-title { color: #FFFFFF; font-size: 66px; }
.hero-dark .hero-lead { color: #DCE6F2; }
.inquiry-card { flex: 1 1 360px; min-width: 0; background: #FFFFFF; color: var(--text); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25); }
.inquiry-card > strong { font-size: 20px; color: var(--pal-navy); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.why-card { border-top: 6px solid var(--pal-blue); background: var(--pal-sky); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.why-card:nth-child(2) { border-top-color: var(--pal-red); }
.why-card:nth-child(3) { border-top-color: var(--pal-yellow); }
.why-card:nth-child(4) { border-top-color: var(--pal-green); }
.why-card strong { font-size: 19px; color: var(--pal-navy); }
.why-card span { color: var(--text-muted); }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 20px; }
.timeline .rail { display: flex; flex-direction: column; align-items: center; }
.timeline .rail::after { content: ""; width: 3px; flex: 1 1 auto; background: var(--field); }
.timeline li:last-child .rail::after { display: none; }
.timeline .num { width: 48px; height: 48px; font-size: 24px; }
.timeline .tl-body { padding-bottom: 28px; }
.timeline strong { font-size: 20px; color: var(--pal-navy); }
.timeline p { margin-top: 4px; color: var(--text-muted); }
.pricing-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.badge-yellow { background: var(--pal-yellow); color: var(--pal-navy); font-weight: 800; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; padding: 6px 18px; border-radius: 999px; }
.pricing { display: flex; flex-wrap: wrap; gap: 20px; margin: 32px 0 20px; }
.price-card { flex: 1 1 340px; min-width: 0; border: 3px solid var(--field); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.price-card-featured { border-color: var(--pal-blue); }
.price-card > strong { font-size: 20px; color: var(--pal-navy); }
.price-card-featured > strong { color: var(--pal-blue); }
.price { font-family: var(--font-display); font-weight: 800; font-size: 56px; color: var(--pal-navy); line-height: 1; }
.price-card span { color: var(--text-muted); }
.note-box { background: var(--pal-sky); border-radius: var(--radius); padding: 20px 24px; color: var(--text-muted); }
.note-box strong { color: var(--pal-navy); }

/* Plain content pages (privacy, 429) */
.page { padding: 64px 0 88px; }
.page .container { max-width: 860px; }
.page h1 { font-size: 56px; margin-bottom: 24px; }
.page p { margin-bottom: 1em; }
.page .lead { font-size: 19px; }

/* Login and other account pages */
.auth-layout { min-height: 100vh; display: flex; flex-wrap: wrap; }
.auth-art { flex: 1 1 520px; min-width: 0; min-height: 320px; position: relative; overflow: hidden; background: var(--pal-blue); }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.auth-panel { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 48px 24px; }
.auth-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 22px; }
.auth-box .site-logo img { height: 56px; }
.auth-title { font-size: 46px; }
.auth-intro { color: var(--text-muted); }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.auth-field-head a { font-size: 14px; }
.auth-form .btn { margin-top: 6px; width: 100%; }
.auth-footer { border-top: 1px solid var(--line); padding-top: 18px; color: var(--text-muted); font-size: 15px; }
.auth-footer a { font-weight: 700; }
.auth-messages .alert { border-radius: 10px; padding: 12px 16px; text-align: left; font-weight: 700; }
.auth-help { font-size: 13px; color: var(--text-soft); }
.auth-help ul { margin: 0.25em 0 0; padding-left: 1.2em; }

@media (max-width: 860px) {
  .auth-art { flex-basis: 100%; min-height: 0; height: 180px; }
  .auth-art img { object-position: left top; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero .container, .hero-dark .container { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
  .hero-title, .hero-dark .hero-title { font-size: 46px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 38px; }
  .cta-band .display { font-size: 40px; }
  .hero-art { height: 300px; }
  .task-grid { grid-template-columns: minmax(0, 1fr); }
  .split-photo { height: 240px; }
  .site-logo img { height: 40px; }
  .site-nav { gap: 6px 16px; font-size: 15px; }
  .site-nav .nav-optional { display: none; }
}
