:root {
  --paper: #fbfaf8;
  --surface: #fff;
  --ink: #111111;
  --body: #171717;
  --muted: #202020;
  --line: #e4e3df;
  --hover: #eef3f8;
  --accent: #276352;
  --accent-hover: #1e5042;
  --accent-soft: #eaf2ed;
  --blue: #345f92;
  --blue-soft: #edf2f8;
  --violet: #69518f;
  --violet-soft: #f0edf6;
  --focus: var(--accent);
  --page-width: 1184px;
  --gutter: 32px;
  --heading-font: 'Space Grotesk', 'DM Sans', sans-serif;
}

/* Lucide 0.468.0, ISC license. Masks inherit color without editing SVG paths. */
.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: currentColor;
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
  pointer-events: none;
}
.icon--cpu { --icon: url('/assets/icons/lucide/cpu.svg'); }
.icon--shield-check { --icon: url('/assets/icons/lucide/shield-check.svg'); }
.icon--code-xml { --icon: url('/assets/icons/lucide/code-xml.svg'); }
.icon--book-open { --icon: url('/assets/icons/lucide/book-open.svg'); }
.icon--list-checks { --icon: url('/assets/icons/lucide/list-checks.svg'); }
.icon--arrow-right { --icon: url('/assets/icons/lucide/arrow-right.svg'); }
.icon--download { --icon: url('/assets/icons/lucide/download.svg'); }
.icon--chevron-down { --icon: url('/assets/icons/lucide/chevron-down.svg'); }
.icon--check { --icon: url('/assets/icons/lucide/check.svg'); }
.icon--circuit-board { --icon: url('/assets/icons/lucide/circuit-board.svg'); }

body > header {
  width: 100%;
  max-width: var(--page-width);
  min-height: 88px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 20px;
}
.brand {
  font-family: var(--heading-font);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.6px;
  white-space: nowrap;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: var(--muted);
}
header nav a { position: relative; padding: 10px 0; transition: color .15s ease; }
header nav a:hover, header nav a[aria-current] { color: var(--ink); }
header nav a[aria-current]::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}
.gallery-entry {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 9px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .15s ease;
}
.gallery-entry .icon { color: var(--accent); }
.gallery-entry:hover, .gallery-entry:active { text-decoration-color: var(--accent); }
@media (max-width: 650px) {
  :root { --gutter: 24px; }
  body > header { min-height: 80px; flex-wrap: wrap; padding-block: 16px; gap: 8px 20px; }
  header nav { gap: 22px; }
}
@media (max-width: 360px) {
  :root { --gutter: 20px; }
  body > header { flex-direction: column; align-items: flex-start; justify-content: center; min-height: 112px; }
  header nav { gap: 16px; }
}
