/* Tijdelijke landingspagina mifavit.nl. Kleuren en typografie uit de MifaVit-huisstijl
   (mifavit-next, apps/marketing/src/styles.css: 'Natural Light'). */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fraunces-latin-600-normal.woff2") format("woff2");
}

:root {
  --linnen: hsl(40 30% 97%);
  --inkt: hsl(150 22% 13%);
  --salie: hsl(135 21% 93%);
  --font-display: "Fraunces", ui-serif, Georgia, serif;
}

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

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

body {
  background-color: var(--linnen);
  background-image: radial-gradient(60rem 40rem at 50% 38%, var(--salie), transparent 70%);
  color: var(--inkt);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  padding: 3rem 1.25rem 4rem;
  text-align: center;
}

.logo {
  display: block;
  width: min(68vw, 22rem);
  height: auto;
  animation: rijs-op 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

h1 {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.625rem, 1.1rem + 2.2vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
  animation: rijs-op 0.7s 0.12s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes rijs-op { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .logo, h1 { animation: none; }
}
