/* Summary: styles for the loadiq.nl homepage (logo, name, one line). Colours follow the LoadiQ house style: accent
   #004F80, logo blue #1188DC, the light and dark surfaces of the apps. System fonts only, nothing external: the server
   sends a strict Content-Security-Policy (default-src 'self'), so no inline styles or scripts either.
   Keywords: css, homepage, logo, dark mode, loadiq.nl */

:root {
  --bg: #FFFFFF;
  --bg-glow: #E6F1FA;
  --text: #1A1A1A;
  --text-dim: #5A5A5A;
  --accent: #004F80;
  --grid: rgba(0, 79, 128, .06);
  --mark-shadow: rgba(17, 136, 220, .28);
  --font: "Segoe UI", "Segoe UI Variable", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #252526;
    --bg-glow: #2F3A45;
    --text: #E6E6E6;
    --text-dim: #AEAEAE;
    --accent: #4DA6DF;
    --grid: rgba(77, 166, 223, .05);
    --mark-shadow: rgba(17, 136, 220, .35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font: 16px/1.5 var(--font);
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, var(--bg-glow), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  text-align: center;
}

/* The LoadiQ mark only; the name is real text below it, so it stays sharp and follows light and dark. */
.mark {
  width: clamp(96px, 22vw, 136px);
  height: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 14px 28px var(--mark-shadow));
  animation: mark-in .7s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes mark-in {
  from { opacity: 0; transform: scale(.6); }
  to { opacity: 1; transform: scale(1); }
}

.wordmark {
  margin: 0;
  font-size: clamp(40px, 9vw, 72px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  animation: fade-up .7s .25s cubic-bezier(.2, .8, .2, 1) both;
}

.tagline {
  margin: 16px 0 0;
  color: var(--text-dim);
  font-size: clamp(16px, 2.4vw, 19px);
  max-width: 34ch;
  text-wrap: balance;
  animation: fade-up .7s .37s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.footer {
  padding: 24px 16px 32px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}
.footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .mark, .wordmark, .tagline { animation: none; }
}
