/* SlaagMeester — basis styling */
:root {
  --bg: #ffffff;
  --text: #1a2233;
  --muted: #5b6775;
  --accent: #2f7df4;       /* zacht blauw */
  --accent-2: #2bbf86;     /* zacht groen */
  --card: #f6f9fc;
  --border: #e6ecf2;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 16px rgba(20, 40, 80, 0.06);
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.brand-logo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.brand-logo img {
  height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
@media (max-width: 600px) {
  .brand-logo img { height: 26px; }
}
.nav a {
  color: var(--muted);
  font-weight: 500;
  margin-left: 18px;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--accent); text-decoration: none; }

/* Hero */
.hero {
  padding: 56px 0 40px;
  text-align: center;
}
.hero img.mascot {
  width: 140px;
  margin: 0 auto 20px;
}
.hero h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.hero p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 24px;
}
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.store-btn {
  display: inline-flex;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.store-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.store-btn img {
  display: block;
  height: 48px;
  width: auto;
}

/* Section base */
section.block {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
section.block h2 {
  font-size: 1.5rem;
  margin: 0 0 8px;
  text-align: center;
}
section.block p.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 620px;
}

/* Card grid */
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.card .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #22c55e;
  margin-bottom: 12px;
}
.cols-4 .card:nth-child(1) .icon { background: rgba(34, 197, 94, 0.4); }
.cols-4 .card:nth-child(2) .icon { background: rgba(34, 197, 94, 0.6); }
.cols-4 .card:nth-child(3) .icon { background: rgba(34, 197, 94, 0.8); }
.cols-4 .card:nth-child(4) .icon { background: rgba(34, 197, 94, 1);   }

/* Mascots */
.mascots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 720px) {
  .mascots { grid-template-columns: repeat(5, 1fr); }
}
.mascot-card {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 12px;
}
.mascot-card img {
  width: 90px;
  height: 90px;
  margin: 0 auto 10px;
  object-fit: contain;
}
.mascot-card h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}
.mascot-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Footer */
.site-footer {
  background: #f9fbfd;
  border-top: 1px solid var(--border);
  padding: 36px 0 28px;
  margin-top: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer nav {
  margin-bottom: 14px;
}
.site-footer nav a {
  margin: 0 10px;
  color: var(--muted);
}
.site-footer nav a:hover { color: var(--accent); }
.site-footer .small { font-size: 0.82rem; opacity: 0.8; }

/* Article (legal/support pages) */
.article {
  padding: 40px 0 20px;
  max-width: 760px;
  margin: 0 auto;
}
.article h1 {
  font-size: 1.8rem;
  margin: 0 0 8px;
}
.article p.lead-meta {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 0.92rem;
}
.article h2 {
  font-size: 1.2rem;
  margin: 28px 0 8px;
}
.article p, .article li { color: #2a3344; }
.article ul { padding-left: 20px; }
.back-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.95rem;
}

/* Utilities */
.center { text-align: center; }
