/* language.nl — static stylesheet (no framework) */

:root {
  --radius: 0.75rem;
  --background: oklch(0.985 0.011 84);
  --foreground: oklch(0.235 0.024 60);
  --card: oklch(1 0.004 84);
  --primary: oklch(0.63 0.184 44);
  --primary-foreground: oklch(0.99 0.008 84);
  --secondary: oklch(0.941 0.026 84);
  --muted: oklch(0.951 0.018 84);
  --muted-foreground: oklch(0.52 0.026 62);
  --border: oklch(0.902 0.021 80);
  --dutch-red: oklch(0.55 0.208 27);
  --dutch-white: oklch(0.99 0.004 84);
  --dutch-blue: oklch(0.36 0.128 258);
  --shadow-card: 0 1px 2px oklch(0.3 0.03 60 / 0.06), 0 12px 30px -18px oklch(0.3 0.03 60 / 0.35);
  --gradient-warm: linear-gradient(180deg, oklch(0.985 0.011 84) 0%, oklch(0.955 0.03 74) 100%);
  --font-display: "Instrument Serif", Georgia, serif;
  --font-sans: "Work Sans", ui-sans-serif, system-ui, sans-serif;
  --maxw: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }
.wrap-narrow { max-width: 56rem; margin-inline: auto; padding-inline: 1.25rem; }
.wrap-article { max-width: 48rem; margin-inline: auto; padding-inline: 1.25rem; }

.page { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 85%, transparent);
  backdrop-filter: blur(8px);
}

/* Dutch flag: horizontal bands, red on top */
.flag-bar {
  height: 6px;
  width: 100%;
  background-image: linear-gradient(
    180deg,
    var(--dutch-red) 0 33.33%,
    var(--dutch-white) 33.33% 66.66%,
    var(--dutch-blue) 66.66% 100%
  );
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.wordmark { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.01em; }
.wordmark span { color: var(--dutch-red); }

.nav { display: flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; }
.nav a {
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid transparent;
  border-radius: 0.375rem 0.375rem 9999px 9999px;
  color: var(--muted-foreground);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav a:hover { color: var(--foreground); }
.nav a[aria-current="page"] {
  background: var(--secondary);
  color: var(--foreground);
  border-bottom-color: var(--dutch-blue);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  border-radius: 9999px;
  padding: 0.5rem 0.9rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: var(--background);
    border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav a { border-radius: 0.5rem; border-bottom: 0; padding: 0.75rem; }
  .header-inner { position: relative; }
}

/* ---------- Type helpers ---------- */
.eyebrow { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--primary); }
.kicker { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--primary); }
.lead { font-size: 1.125rem; color: var(--muted-foreground); max-width: 42rem; }
.muted { color: var(--muted-foreground); }
.h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); }
.h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
.h3 { font-size: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: color-mix(in oklab, var(--primary) 90%, black); }
.btn-ghost { background: var(--card); border: 1px solid var(--border); color: var(--foreground); }
.btn-ghost:hover { background: var(--secondary); }
.btn-sm { padding: 0.625rem 1.25rem; }

/* ---------- Hero ---------- */
.hero { background-image: var(--gradient-warm); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; padding-block: 4rem; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1fr 1fr; padding-block: 6rem; }
}
.hero h1 { margin-top: 1rem; font-size: clamp(2.5rem, 7vw, 3.75rem); }
.hero h1 em { color: var(--primary); }
.hero-img { border-radius: 1.5rem; border: 1px solid var(--border); object-fit: cover; width: 100%; aspect-ratio: 4 / 3; max-height: 30rem; align-self: center; box-shadow: var(--shadow-card); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- Sections & grids ---------- */
.section { padding-block: 4rem; }
.band { border-block: 1px solid var(--border); background: color-mix(in oklab, var(--secondary) 40%, transparent); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.link-more { font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.link-more:hover { text-decoration: underline; }

.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Cards ---------- */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease;
}
.card:hover { transform: translateY(-4px); }
.card h3 { margin-top: 0.75rem; font-size: 1.5rem; line-height: 1.25; }
.card .card-desc { margin-top: 0.75rem; flex: 1; font-size: 0.9rem; color: var(--muted-foreground); }
.card .card-meta { margin-top: 1.25rem; font-size: 0.75rem; color: var(--muted-foreground); }

.pill { display: inline-block; border-radius: 9999px; border: 1px solid var(--border); padding: 0.25rem 0.75rem; font-size: 0.75rem; color: var(--muted-foreground); }
.pill-solid { border: 0; background: var(--secondary); color: var(--foreground); font-weight: 500; border-radius: 0.375rem; padding: 0.15rem 0.5rem; font-size: 0.7rem; }

.card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.card-top h3 { margin-top: 0; }
.badges { display: flex; gap: 0.375rem; margin-left: auto; flex-wrap: wrap; }

.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.25rem 0 0; }
.spec dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-foreground); }
.spec dd { margin: 0.25rem 0 0; font-size: 0.9rem; }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.affiliate-note { margin-top: 0.75rem; font-size: 0.7rem; color: var(--muted-foreground); }
.card .btn { margin-top: 1.5rem; }

/* ---------- Panels ---------- */
.panel { border: 1px solid var(--border); background: var(--card); border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow-card); }
.panel-split { display: grid; gap: 1.5rem; }
@media (min-width: 860px) {
  .panel-split { grid-template-columns: 1.6fr 1fr; align-items: center; gap: 2.5rem; }
}
.app-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.app-pills .btn { width: 100%; }
@media (min-width: 860px) { .app-pills .btn { width: auto; } }

/* ---------- Ad slots ---------- */
.ad {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px dashed var(--border);
  background: color-mix(in oklab, var(--muted) 60%, transparent);
  border-radius: 0.75rem;
}
.ad span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--muted-foreground); }
.ad-leaderboard { height: 8rem; }
.ad-rectangle { height: 16rem; }
.ad-inline { height: 6rem; }

/* ---------- Blog list ---------- */
.post-list { list-style: none; margin: 2.5rem 0 0; padding: 0; border-block: 1px solid var(--border); }
.post-list li + li { border-top: 1px solid var(--border); }
.post-list a { display: block; padding-block: 1.75rem; transition: background-color 0.15s ease; }
.post-list a:hover { background: color-mix(in oklab, var(--secondary) 40%, transparent); }
.post-list h2 { margin-top: 0.5rem; font-size: clamp(1.5rem, 3vw, 1.875rem); }
.post-list a:hover h2 { color: var(--primary); }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.75rem; color: var(--muted-foreground); }

/* ---------- Article ---------- */
.article { padding-block: 4rem; }
.article h1 { margin-top: 0.75rem; font-size: clamp(2.25rem, 6vw, 3rem); }
.article .body { margin-top: 2.5rem; font-size: 1.125rem; line-height: 1.75; }
.article .body p + p, .article .body .ad { margin-top: 1.5rem; }
.article .back { font-size: 0.875rem; color: var(--primary); }
.article .back:hover { text-decoration: underline; }
.article section { margin-top: 4rem; }
.related { list-style: none; margin: 1rem 0 0; padding: 0; }
.related li + li { margin-top: 1rem; }
.related a { font-size: 1.125rem; }
.related a:hover { color: var(--primary); }
.divider-top { border-top: 1px solid var(--border); padding-top: 2.5rem; }

.checklist { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted-foreground); }
.checklist li + li { margin-top: 0.75rem; }
.checklist strong { color: var(--foreground); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 5rem; border-top: 1px solid var(--border); background: color-mix(in oklab, var(--secondary) 40%, transparent); }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-title { font-family: var(--font-display); font-size: 1.25rem; }
.footer-title span { color: var(--dutch-red); }
.footer-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }
.footer-links { list-style: none; margin: 0.75rem 0 0; padding: 0; font-size: 0.9rem; }
.footer-links li + li { margin-top: 0.5rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 1.25rem; text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }
