:root {
  color-scheme: dark;
  --bg: #080908;
  --panel: #10130f;
  --text: #f4f1e8;
  --muted: #aaa493;
  --line: rgba(244, 241, 232, 0.16);
  --accent: #ffb454;
  --accent-2: #8fd18f;
  --shadow: rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 180, 84, 0.14), transparent 28rem),
    linear-gradient(180deg, #080908 0%, #0f120d 46%, #080908 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  color: var(--text);
  background: rgba(8, 9, 8, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  display: inline-block;
  background: var(--accent);
  box-shadow: 0 0 1.4rem rgba(255, 180, 84, 0.85);
  transform: rotate(45deg);
}

nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  color: var(--muted);
  font-size: 0.92rem;
}

nav a:hover {
  color: var(--text);
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 7rem clamp(1rem, 6vw, 5rem) 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
}

.hero-grid {
  position: absolute;
  inset: 0;
}

.scanline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 58%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  animation: sweep 4.5s ease-in-out infinite;
  opacity: 0.75;
}

.artifact {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(5rem, 12vw, 9rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 180, 84, 0.36);
  color: var(--accent);
  background: rgba(16, 19, 15, 0.72);
  box-shadow: 0 1.5rem 4rem var(--shadow);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 700;
  transform: rotate(45deg);
  animation: float 7s ease-in-out infinite;
}

.artifact::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border: 1px solid rgba(143, 209, 143, 0.24);
}

.artifact-src { right: 15%; top: 20%; }
.artifact-arch { right: 30%; bottom: 20%; animation-delay: -1s; }
.artifact-deb { right: 8%; bottom: 30%; animation-delay: -2s; }
.artifact-rpm { right: 22%; top: 48%; animation-delay: -3s; }

.artifact span,
.artifact {
  text-align: center;
}

.hero-copy {
  position: relative;
  max-width: 48rem;
  animation: enter 900ms ease both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(4rem, 12vw, 10rem);
}

h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.lede {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.1rem;
  border: 1px solid var(--line);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 180, 84, 0.7);
}

.primary {
  background: var(--accent);
  color: #151009;
  border-color: transparent;
}

.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.about,
.packages,
.boundary,
.pipeline {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.about,
.packages {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 34rem);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.about p:last-child,
.boundary p {
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

.rail {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.rail div {
  min-height: 15rem;
  padding: 1.35rem;
  border-right: 1px solid var(--line);
  transition: background 180ms ease, transform 180ms ease;
}

.rail div:hover {
  background: rgba(255, 180, 84, 0.06);
  transform: translateY(-4px);
}

.rail span {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
}

.rail strong {
  display: block;
  margin-top: 4rem;
  font-size: 1.45rem;
}

.rail p,
.document p,
.document li {
  color: var(--muted);
  line-height: 1.7;
}

.package-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.package-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

code {
  color: var(--accent-2);
  font-family: "SFMono-Regular", Consolas, monospace;
}

.boundary {
  min-height: 70svh;
  display: grid;
  align-content: center;
  gap: 1.5rem;
  background:
    linear-gradient(135deg, rgba(255, 180, 84, 0.08), transparent 42%),
    #0d100c;
}

.boundary p {
  max-width: 56rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 6vw, 5rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.simple-page {
  min-height: 100svh;
}

.document {
  width: min(56rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 9rem 0 5rem;
}

.document h1 {
  max-width: 13ch;
  font-size: clamp(3.2rem, 9vw, 7rem);
}

.document h2 {
  margin-top: 3rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.document ul,
.document ol {
  padding-left: 1.25rem;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(-1rem);
  }
}

@keyframes sweep {
  0%, 100% {
    transform: translateX(-2rem);
  }
  50% {
    transform: translateX(2rem);
  }
}

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

@media (max-width: 820px) {
  .topbar {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero {
    padding-top: 6rem;
  }

  .artifact {
    opacity: 0.35;
  }

  .about,
  .packages {
    grid-template-columns: 1fr;
  }

  .rail {
    grid-template-columns: 1fr;
  }

  .rail div {
    min-height: 11rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .rail strong {
    margin-top: 2rem;
  }

  .package-list li,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
