/*
 * Colors are matched to the blog's palette (vault-tech-blog/public/index.css
 * custom properties: --dark, --secondary, --tertiary, --light, --darkgray).
 *
 * Light is the default and applies whenever the OS has no dark preference
 * set (including "no preference"). No JS or manual toggle: the dark block
 * below only overrides these variables when the OS explicitly reports
 * prefers-color-scheme: dark - this is a plain conditional CSS block, not
 * automatic color conversion. Nothing is computed/inverted; every dark
 * value is written out explicitly, same as the light ones.
 */
:root {
  color-scheme: light dark;
  --bg: #f8f9fa;
  --text: #4e4e4e;
  --heading: #0f5b8d;
  --link: #219ebc;
  --link-hover: #8ecae6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --text: #d4d4d4;
    --heading: #58a6ff;
    --link: #79c0ff;
    --link-hover: #ff7b72;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  padding: 1.5rem;
  background: var(--bg);
  color: var(--text);
}

.page {
  max-width: 32rem;
  text-align: center;
}

.name {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
  color: var(--heading);
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  opacity: 0.8;
  margin: 0 0 1.5rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.links a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.15s ease;
}

.links a:hover,
.links a:focus-visible {
  color: var(--link-hover);
}
