:root {
  --checkpoint-void: #0a0d10;
  --checkpoint-panel: #12171c;
  --checkpoint-raised: #161c22;
  --checkpoint-line: #232b32;
  --checkpoint-bright: #343e47;
  --checkpoint-soft: #9aa3ab;
  --checkpoint-faint: #5b6670;
  --checkpoint-amber: #ffb248;
  --checkpoint-cyan: #57d6d0;
  --checkpoint-red: #ff5d6c;
}

* {
  box-sizing: border-box;
}

.static-shell-body {
  max-width: none !important;
  min-width: 320px;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  color: #ecefef !important;
  background: var(--checkpoint-void) !important;
  background-image: repeating-linear-gradient(
    180deg,
    rgb(255 255 255 / 1.2%) 0,
    rgb(255 255 255 / 1.2%) 1px,
    transparent 1px,
    transparent 3px
  ) !important;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.static-shell-body > main {
  width: min(1180px, calc(100% - 4rem));
  max-width: none;
  margin: 0 auto;
  padding: 5rem 0 4rem;
}

.static-shell-body h1,
.static-shell-body h2,
.static-shell-body h3,
.static-shell-body h4 {
  color: #ecefef !important;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.static-shell-body h1 {
  max-width: 20ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.static-shell-body h2 {
  border-color: var(--checkpoint-line) !important;
}
.static-shell-body p,
.static-shell-body li,
.static-shell-body small {
  color: var(--checkpoint-soft);
}
.static-shell-body a {
  color: var(--checkpoint-cyan);
}

.static-shell-body article,
.static-shell-body section article {
  color: #ecefef;
  background: var(--checkpoint-panel) !important;
  border-color: var(--checkpoint-line) !important;
}

.static-shell-body .note {
  padding: 1rem 1.2rem;
  color: #ecefef;
  background: rgb(255 178 72 / 8%);
  border-color: var(--checkpoint-amber) !important;
}

.static-shell-body code {
  color: #ffd9a0;
  background: var(--checkpoint-raised) !important;
}

.static-shell-body pre {
  color: #ecefef;
  background: #0d1114 !important;
  border-color: var(--checkpoint-line) !important;
}

.static-site-ticker {
  overflow: hidden;
  margin: 0;
  padding: 8px 0;
  color: var(--checkpoint-faint);
  line-height: normal;
  white-space: nowrap;
  background: #000;
  border-bottom: 1px solid var(--checkpoint-line);
}

.static-site-ticker .ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: checkpoint-ticker 34s linear infinite;
}

.static-site-ticker .ticker-track span {
  margin-right: 44px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.static-site-ticker .ticker-track b {
  color: var(--checkpoint-amber);
}

@keyframes checkpoint-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.static-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 1rem 0;
  color: #ecefef;
  line-height: normal;
  background: rgb(10 13 16 / 86%);
  border-bottom: 1px solid var(--checkpoint-line);
  backdrop-filter: blur(10px);
}

.static-site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: #ecefef;
  font-weight: 700;
  text-decoration: none;
}

.static-site-header .brand .radar {
  display: block;
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  overflow: hidden;
  color: var(--checkpoint-amber);
  background: transparent;
  border-radius: 0;
}

.static-site-header .radar svg {
  width: 100%;
  height: 100%;
}
.static-site-header .sweep-ring {
  transform-origin: center;
  animation: checkpoint-pulse 2.4s ease-out infinite;
}

@keyframes checkpoint-pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.6);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}

.static-site-header .brand .brand-name {
  display: block;
  width: auto;
  height: auto;
  color: #ecefef;
  background: transparent;
  border-radius: 0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
  line-height: normal;
  letter-spacing: 0.02em;
}

.static-site-header .site-nav,
.static-site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin: 0;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.static-site-header .site-nav a,
.static-site-footer a {
  color: var(--checkpoint-soft);
  text-decoration: none;
  font-size: 0.84rem;
}

.static-site-header .site-nav a:hover {
  color: #ecefef;
}

.static-site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 4rem));
  margin: 3rem auto 0;
  padding: 2rem 0;
  color: var(--checkpoint-faint);
  border-top: 1px solid var(--checkpoint-line);
  font:
    0.86rem "SFMono-Regular",
    Consolas,
    monospace;
}

.static-site-footer p {
  margin: 0;
  color: var(--checkpoint-faint);
}
.static-site-footer a:hover {
  color: var(--checkpoint-amber);
}

@media (max-width: 900px) {
  .static-site-header,
  .static-site-footer,
  .static-shell-body > main {
    width: min(100% - 2.75rem, 720px);
  }
  .static-site-header .site-nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .static-site-header,
  .static-site-footer,
  .static-shell-body > main {
    width: calc(100% - 2rem);
  }
  .static-shell-body > main {
    padding-top: 3.25rem;
  }
  .static-site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .static-site-ticker .ticker-track,
  .static-site-header .sweep-ring {
    animation: none;
  }
}
