/* Prosper website — shared styles for all pages */
:root {
  --blue: #0394e0;
  --blue-dark: #0369a1;
  --blue-light: #abd6e8;
  --blue-10: #e6f4fc;
  --orange: #f08c63;
  --green: #13b981;
  --text: #334155;
  --muted: #64748b;
  --heading: #0f172a;
  --bg: #f6f8fa;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { color: var(--heading); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 900; }
h3 { font-size: 18px; font-weight: 800; }
p { margin: 0 0 12px; }

/* ── Header / hero ── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; gap: 16px; }
.nav img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-links a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; opacity: 0.9; }
.nav-links a:hover { opacity: 1; text-decoration: underline; }
.hero-body { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center; padding: 48px 0 72px; }
.hero h1 { color: var(--white); font-size: clamp(34px, 6vw, 54px); font-weight: 900; margin-bottom: 18px; }
.hero p.lead { font-size: 19px; opacity: 0.95; max-width: 34em; margin-bottom: 28px; }
.hero-mascot { justify-self: center; height: 300px; width: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.25)); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 14px; font-weight: 800; font-size: 16px;
  text-decoration: none; transition: transform 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn-white { background: var(--white); color: var(--blue-dark); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-ghost { color: var(--white); border: 2px solid rgba(255,255,255,0.5); margin-left: 10px; }
.shape { position: absolute; border-radius: 40%; opacity: 0.12; background: var(--white); pointer-events: none; }

/* ── Sections ── */
section { padding: 72px 0; }
section.alt { background: var(--white); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.intro { max-width: 46em; color: var(--muted); font-size: 17px; margin-bottom: 36px; }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
section.alt .card { background: var(--bg); }
.card .num {
  width: 38px; height: 38px; border-radius: 12px; background: var(--blue-10); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-weight: 900; margin-bottom: 14px;
}
.card p { color: var(--muted); margin: 0; }
.icon { font-size: 26px; margin-bottom: 10px; }
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
.split img { height: 260px; width: auto; justify-self: center; }
ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 900; }
.notice { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 16px; padding: 16px 18px; color: #9a3412; font-size: 15px; }

/* ── Contact ── */
.contact-box { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: var(--white); border-radius: 28px; padding: 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.contact-box h2 { color: var(--white); }
.contact-box p { opacity: 0.95; }
.contact-details { background: rgba(255,255,255,0.12); border-radius: 18px; padding: 20px; font-size: 15px; }
.contact-details a { color: var(--white); font-weight: 700; }

/* ── Legal / support ── */
.legal { max-width: 820px; }
.legal h2 { margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal h3 { margin-top: 28px; }
.legal ul { padding-left: 22px; margin: 0 0 12px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal th { background: var(--bg); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.table-scroll { overflow-x: auto; }
details { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; margin-bottom: 10px; }
section.alt details { background: var(--bg); }
summary { font-weight: 800; color: var(--heading); cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }

/* ── Footer ── */
footer { background: #0b2540; color: #cbd5e1; padding: 40px 0; font-size: 14px; }
footer .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: #e2e8f0; text-decoration: none; margin-right: 16px; }
footer a:hover { text-decoration: underline; }
footer img { height: 34px; width: auto; margin-bottom: 12px; }

@media (max-width: 820px) {
  .hero-body, .split, .contact-box { grid-template-columns: 1fr; }
  .hero-mascot { height: 200px; order: -1; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .split img { height: 200px; }
  .contact-box { padding: 28px 22px; }
  .btn-ghost { margin-left: 0; margin-top: 10px; }
  section { padding: 52px 0; }
}

/* ── Legal pages (privacy.html, voorwaarden.html) ── */
.page-header { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: var(--white); }
.page-header .nav { padding: 18px 0; }
.page-header .nav img { height: 34px; }
.page-header .back { color: var(--white); text-decoration: none; font-weight: 700; font-size: 15px; opacity: 0.9; }
.page-header .back:hover { opacity: 1; text-decoration: underline; }
.page-header h1 { color: var(--white); font-size: clamp(30px, 5vw, 42px); font-weight: 900; padding: 24px 0 40px; margin: 0; }
.legal-page { padding: 48px 0 64px; background: var(--white); }
.legal-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.legal-cards a { text-decoration: none; color: inherit; }
.legal-cards .card:hover { border-color: var(--blue); }
@media (max-width: 820px) { .legal-cards { grid-template-columns: 1fr; } }
