:root {
  color-scheme: dark;
  --bg: #071015;
  --panel: #101b23;
  --panel-2: #14252e;
  --line: #2f5964;
  --text: #eef8fb;
  --muted: #9ab9c0;
  --cyan: #5ee8ff;
  --amber: #ffbf55;
  --red: #ff6262;
  --green: #8ee391;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background:
    linear-gradient(rgba(94, 232, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 232, 255, .04) 1px, transparent 1px),
    radial-gradient(circle at 78% 8%, rgba(255, 191, 85, .12), transparent 28rem),
    #071015;
  background-size: 42px 42px, 42px 42px, auto, auto;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: white; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(13rem, auto) 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: .85rem clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(94, 232, 255, .25);
  background: rgba(7, 16, 21, .92);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  width: max-content;
  max-width: 100%;
  min-height: 3rem;
  color: var(--text);
  font: 800 1rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}
.brand:hover { color: white; }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 3rem;
  flex: 0 0 auto;
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: .22rem .08rem .18rem;
  border: 1px solid rgba(94, 232, 255, .28);
  background:
    linear-gradient(90deg, rgba(255, 98, 98, .16), transparent 34%),
    linear-gradient(180deg, rgba(94, 232, 255, .18), transparent 62%);
  clip-path: polygon(0 23%, 13% 0, 73% 0, 100% 38%, 82% 100%, 15% 100%, 0 78%);
}
.brand-glyph {
  position: relative;
  z-index: 1;
  width: 4.4rem;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 .45rem rgba(94, 232, 255, .26));
}
.brand-glyph-shell {
  fill: rgba(7, 16, 21, .95);
  stroke: rgba(94, 232, 255, .82);
  stroke-width: 2.2;
}
.brand-glyph-face {
  fill: rgba(16, 27, 35, .92);
  stroke: rgba(255, 191, 85, .85);
  stroke-width: 1.4;
}
.brand-glyph-cut {
  fill: url(#brand-core);
  opacity: .94;
}
.brand-glyph-six,
.brand-glyph-scar {
  fill: none;
  stroke: #ff6262;
  stroke-width: 3.2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.brand-glyph-scar {
  stroke: #5ee8ff;
  stroke-width: 1.9;
  opacity: .8;
}
.brand-type {
  display: grid;
  gap: .05rem;
  min-width: 0;
}
.brand-name {
  color: white;
  font-size: clamp(1.02rem, 1.5vw, 1.34rem);
  line-height: 1;
  text-shadow: 0 0 1rem rgba(94, 232, 255, .34);
}
.brand-sub {
  color: var(--amber);
  font-size: .58rem;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.site-header nav { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.site-header nav a, .status-light {
  border: 1px solid rgba(94, 232, 255, .28);
  border-radius: 6px;
  padding: .42rem .7rem;
  background: rgba(16, 27, 35, .74);
  color: var(--text);
  font: 700 .78rem ui-monospace, SFMono-Regular, Menlo, monospace;
}
.status-light { color: var(--green); white-space: nowrap; }
.shell {
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 2rem);
}
.sidebar {
  align-self: start;
  position: sticky;
  top: 5rem;
  max-height: calc(100vh - 6rem);
  overflow: auto;
  border: 1px solid rgba(94, 232, 255, .22);
  border-radius: 8px;
  padding: .85rem;
  background: rgba(16, 27, 35, .78);
}
.sidebar-title {
  margin-bottom: .7rem;
  color: var(--amber);
  font: 800 .78rem ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}
details { border-top: 1px solid rgba(94, 232, 255, .13); padding: .45rem 0; }
summary {
  cursor: pointer;
  color: white;
  font: 800 .82rem ui-monospace, SFMono-Regular, Menlo, monospace;
}
details a {
  display: block;
  margin: .28rem 0 0 .7rem;
  padding: .22rem .4rem;
  border-radius: 5px;
  color: var(--muted);
  font-size: .9rem;
}
details a[aria-current="page"] { color: var(--bg); background: var(--cyan); font-weight: 800; }
main { min-width: 0; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 44%);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  min-height: 58vh;
  padding-bottom: 1.5rem;
}
.hero h1 {
  margin: 0;
  color: white;
  font-size: clamp(2.25rem, 3.8vw, 4.7rem);
  line-height: .98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.hero p { max-width: 58rem; color: var(--muted); font-size: 1.12rem; }
.kicker {
  color: var(--amber) !important;
  font: 800 .82rem ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}
figure { margin: 0; }
img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(94, 232, 255, .25);
  border-radius: 8px;
  background: #081015;
}
figcaption {
  margin-top: .45rem;
  color: var(--muted);
  font: 700 .78rem ui-monospace, SFMono-Regular, Menlo, monospace;
}
.mission-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin: 0 0 1rem;
}
.mission-strip div, .panel, .related {
  border: 1px solid rgba(94, 232, 255, .2);
  border-radius: 8px;
  background: rgba(16, 27, 35, .76);
}
.mission-strip div { padding: .85rem; }
.mission-strip strong {
  display: block;
  color: var(--amber);
  font: 800 .76rem ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}
.mission-strip span { color: var(--muted); font-size: .92rem; }
.panel { margin: 1rem 0; padding: clamp(1rem, 2vw, 1.35rem); }
h2 {
  margin: 0 0 .45rem;
  color: white;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: 0;
}
.panel p { margin: 0; color: #d6e7eb; }
.panel ul {
  margin: .85rem 0 0;
  padding-left: 1.2rem;
  color: #d6e7eb;
}
.panel li { margin: .35rem 0; }
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.2rem 0;
}
.related { padding: 1rem; }
.related div, .link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: .7rem;
}
.link-cards { margin-top: .9rem; }
.related a, .link-cards a {
  display: block;
  min-height: 6rem;
  padding: .85rem;
  border: 1px solid rgba(94, 232, 255, .2);
  border-radius: 7px;
  background: rgba(7, 16, 21, .8);
  color: white;
}
.related span, .link-cards span {
  display: block;
  color: var(--amber);
  font: 800 .72rem ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  padding: 1.3rem clamp(1rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(94, 232, 255, .22);
  color: var(--muted);
  background: #050b0f;
}
.hosted-page {
  min-height: 52vh;
  padding: clamp(1rem, 3vw, 2rem) 0;
}
.hosted-page h1 {
  margin: 0 0 1rem;
  color: white;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr; }
  .brand { width: 100%; }
  .brand-mark { width: 3.9rem; height: 2.65rem; }
  .brand-glyph { width: 3.85rem; }
  .site-header nav { justify-content: start; }
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: relative; top: auto; max-height: none; }
  .hero, .mission-strip, .image-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
}