:root {
  color-scheme: dark;
  --bg: #050806;
  --bg-soft: #080d09;
  --panel: #0a100c;
  --text: #f1f4f7;
  --muted: #afbdc8;
  --muted-soft: #7e8c93;
  --lime: #9eff00;
  --lime-bright: #bdff53;
  --lime-dim: #70bd00;
  --line: rgba(158, 255, 0, .13);
  --content: 1280px;
  --page-gutter: clamp(24px, 7.1vw, 112px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 77% 12%, rgba(109, 187, 0, .055), transparent 32%),
              linear-gradient(180deg, #060907 0%, #040705 55%, #050806 100%);
}
a { color: inherit; text-decoration: none; }
.site-shell { width: 100%; overflow: hidden; }
.section-wrap { width: min(100% - var(--page-gutter) * 2, var(--content)); margin-inline: auto; }
.section-divider { border-top: 1px solid var(--line); }

.site-header {
  width: min(100% - var(--page-gutter) * 2, var(--content));
  height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(191, 255, 160, .09);
  position: relative;
  z-index: 5;
}
.brand { display: inline-flex; align-items: center; gap: 15px; font-size: 25px; letter-spacing: -.8px; line-height: 1; font-weight: 800; }
.brand-mark { flex: 0 0 auto; width: 30px; height: 30px; }
.brand-accent { color: var(--lime); }
.site-nav { display: flex; align-items: center; gap: clamp(13px, 2vw, 28px); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.05px; }
.site-nav a { position: relative; color: #d2dbe0; transition: color .25s ease; }
.site-nav a::after { position: absolute; content: ""; left: 0; bottom: -9px; width: 100%; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--lime-bright); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.nav-separator { color: var(--lime-dim); opacity: .9; }

h1, h2, p { margin-top: 0; }
.accent-rule { display: block; width: 32px; height: 2px; background: var(--lime); box-shadow: 0 0 14px rgba(158,255,0,.3); }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 3px; }

@media (min-width: 901px) {
  .site-header { height: 84px; border-bottom: 0; }
  .brand { gap: 11px; font-weight: 650; }
}

@media (max-width: 900px) {
  :root { --page-gutter: clamp(22px, 5.5vw, 48px); }
}

@media (max-width: 640px) {
  :root { --page-gutter: 22px; }
  html { scroll-padding-top: 70px; }
  .site-header { height: 70px; }
  .brand { gap: 11px; font-size: 22px; }
  .brand-mark { width: 25px; height: 27px; }
  .site-nav { gap: 9px; font-size: 8px; letter-spacing: .55px; }
  .site-nav a::after { bottom: -7px; }
  .nav-separator { opacity: .55; }
}

@media (max-width: 360px) {
  :root { --page-gutter: 17px; }
  .site-nav { gap: 6px; font-size: 7.2px; }
  .brand { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
