/* Shared shell for every dwagenvoort.nl page. One stylesheet, no build step:
   the deploy publishes exactly what is committed, so anything that needs
   compiling would need a toolchain on the VPS that deliberately is not there. */

:root {
  color-scheme: light dark;
  --bg: #f5f3ee;
  --ink: #20342e;
  --muted: #566961;
  --accent: #a97945;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14201c;
    --ink: #eceae4;
    --muted: #9fb0a8;
    --accent: #c99a63;
  }
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
}

main {
  width: min(100% - 3rem, 42rem);
  padding: clamp(2rem, 7vw, 5rem) 0;
}

.rule {
  width: 3rem;
  height: 3px;
  margin-bottom: 2rem;
  background: var(--accent);
}

.domain {
  margin: 0 0 1.25rem;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.message {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}

a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: .2em; }

/* The Mijn Traject pages use the same published stylesheet on their own host. */
.document { width: min(100% - 2.5rem, 52rem); line-height: 1.65; }
.document h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); max-width: 18ch; }
.document h2 { margin: 2.5rem 0 .5rem; font-size: clamp(1.35rem, 3vw, 1.65rem); line-height: 1.3; }
.document p { margin: 1rem 0; }
.document code { font-size: .9em; overflow-wrap: anywhere; }
.site-nav { display: flex; gap: 1rem; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 4rem; }
.site-nav .brand { font-weight: 750; text-decoration: none; }
.site-links { display: flex; gap: 1.5rem; }
.eyebrow { color: var(--muted); text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; font-weight: 700; }
.lede { font-size: clamp(1.1rem, 2.4vw, 1.3rem); max-width: 45rem; }
.updated { color: var(--muted); }
.link-cards { display: grid; gap: 1rem; margin-top: 2.5rem; }
.link-cards a { display: grid; gap: .25rem; padding: 1.1rem 1.25rem; border: 1px solid var(--muted); border-radius: .6rem; text-decoration: none; }
.link-cards a:hover, .link-cards a:focus-visible { border-color: var(--accent); outline-color: var(--accent); }
.link-cards span { color: var(--muted); }
.site-footer { margin-top: 4rem; padding-top: 1.25rem; border-top: 1px solid var(--muted); font-size: .9rem; color: var(--muted); }
.site-footer p { margin: .5rem 0 0; }
