@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter.woff2") format("woff2");
}

:root {
  --bg: #f5f0e8;
  --text: #22201c;
  --text-soft: #6b665e;
  --line: rgba(34, 32, 28, 0.14);
  --surface: rgba(255, 255, 255, 0.55);
  --accent: #c4623f;
  --blob-1: rgba(236, 160, 120, 0.55);
  --blob-2: rgba(160, 190, 230, 0.5);
  --blob-3: rgba(205, 180, 235, 0.45);
  --vignette: rgba(120, 100, 80, 0.12);
  --grain: 0.06;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14121a;
    --text: #efe9e1;
    --text-soft: #a19b94;
    --line: rgba(239, 233, 225, 0.14);
    --surface: rgba(255, 255, 255, 0.05);
    --accent: #ec8a62;
    --blob-1: rgba(190, 90, 55, 0.38);
    --blob-2: rgba(60, 90, 170, 0.32);
    --blob-3: rgba(120, 80, 180, 0.32);
    --vignette: rgba(0, 0, 0, 0.55);
    --grain: 0.08;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 2rem 1rem 1.75rem;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-align: center;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 44rem;
}

main > * {
  animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

main > :nth-child(2) { animation-delay: 0.08s; }
main > :nth-child(3) { animation-delay: 0.16s; }
main > :nth-child(4) { animation-delay: 0.24s; }
main > :nth-child(5) { animation-delay: 0.32s; }

.mark {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--surface);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 40px -12px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.mark svg {
  width: 1.9rem;
  height: 1.9rem;
  fill: var(--accent);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0.35rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 9vw, 4.75rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.tld {
  color: var(--accent);
}

.ornament {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0 1.75rem;
}

.ornament::before,
.ornament::after {
  content: "";
  width: 3rem;
  height: 1px;
  background: var(--line);
}

.ornament span {
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--accent);
  opacity: 0.8;
}

.lead {
  margin: 0;
  max-width: 28rem;
  color: var(--text-soft);
}

footer {
  position: relative;
  z-index: 1;
  color: var(--text-soft);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

/* Zachte kleurvlakken, vignet en een vleugje korrel op de achtergrond */
.backdrop {
  position: fixed;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 20% 25%, var(--blob-1), transparent),
    radial-gradient(closest-side at 80% 75%, var(--blob-2), transparent),
    radial-gradient(closest-side at 65% 20%, var(--blob-3), transparent);
  background-size: 70% 70%, 75% 75%, 55% 55%;
  background-repeat: no-repeat;
  background-position: 0% 0%, 100% 100%, 70% 10%;
  animation: drift 40s ease-in-out infinite alternate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  background: radial-gradient(ellipse at center, transparent 45%, var(--vignette));
}

body::after {
  z-index: 2;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift {
  to {
    background-position: 15% 20%, 85% 80%, 40% 30%;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  main > *,
  .backdrop {
    animation: none;
  }
}
