/* www.ovxov.com - global base styles */
:root {
  --bg: #1a2230;
  --surface: #232d3f;
  --surface-hover: #2d384c;
  --border: #3d4a5c;
  --text: #e8edf4;
  --muted: #9aa5b4;
  --accent: #58a6ff;
  --accent-dim: #388bfd66;
  --ok: #3fb950;
  --warn: #d29922;
  --err: #f85149;
  --mark-bg: #264f78;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "Consolas", "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  padding: 1.3rem calc(1.25rem + 5ch);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.12em;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.site-nav__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.12em 0.38em 0.14em;
  background: #a8e8f0;
  color: #0f1c20;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.site-nav__brand-text {
  color: var(--text);
  font-weight: 700;
}

.site-nav__brand:hover {
  text-decoration: none;
  color: var(--text);
}

.site-nav__brand:hover .site-nav__brand-mark {
  color: #0f1c20;
  background: #a8e8f0;
}

.site-nav__brand:hover .site-nav__brand-text {
  color: var(--text);
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  font-size: 0.9rem;
}

.site-nav__links li {
  margin: 0;
}

.site-nav__links a {
  color: var(--muted);
  padding: 0.25rem 0;
}

.site-nav__links a:hover {
  color: var(--text);
}

.site-nav__links a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

.site-footer {
  padding: 1.75rem 1.25rem 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.site-footer__tagline {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}

.site-footer__meta {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.85;
}

.site-footer__meta a {
  color: var(--muted);
}

.site-footer__meta a:hover {
  color: var(--accent);
}

.site-footer__nav {
  margin: 0.65rem 0 0.5rem;
  font-size: 0.78rem;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.45rem;
  justify-content: center;
  align-items: center;
}

.site-footer__nav a {
  color: var(--muted);
  padding: 0.15rem 0;
}

.site-footer__nav a:hover {
  color: var(--accent);
}

.site-footer__sep {
  color: var(--border);
  user-select: none;
  pointer-events: none;
}
