:root {
  --void: #06080e;
  --ink: #0c1220;
  --panel: #111827;
  --steel: #8f9bb0;
  --mist: #c5cedc;
  --blade: #eef2f8;
  --crimson: #c23b3b;
  --ember: #e0703c;
  --line: rgba(143, 155, 176, 0.2);
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--blade);
  font-family: var(--font-body);
  background: var(--void);
  line-height: 1.5;
}

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

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.86em;
  color: var(--mist);
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 18% 10%, rgba(194, 59, 59, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 88% 30%, rgba(48, 72, 130, 0.28), transparent 50%),
    linear-gradient(180deg, #0a0f1a 0%, var(--void) 45%, #0b0a10 100%);
}

.veil {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

.blade-beam {
  position: absolute;
  top: -10%;
  left: 58%;
  width: 2px;
  height: 70vh;
  background: linear-gradient(180deg, rgba(224, 112, 60, 0.55), transparent 70%);
  transform: rotate(18deg);
  filter: blur(0.5px);
  animation: pulse-beam 6s ease-in-out infinite;
}

@keyframes pulse-beam {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.8;
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 8, 14, 0.72);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-mark {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--crimson), var(--ember));
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.logo-text {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.9rem;
  color: var(--steel);
}

.nav-links a:hover {
  color: var(--blade);
}

.hero {
  min-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(3rem, 10vh, 6rem) clamp(1.25rem, 4vw, 3rem) 4rem;
  max-width: 52rem;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 1rem;
  animation: rise 0.8s ease both;
}

.brand-hero {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: rise 0.9s 0.08s ease both;
}

.tagline {
  margin: 1.35rem 0 0;
  max-width: 34rem;
  color: var(--mist);
  font-size: 1.05rem;
  animation: rise 0.9s 0.16s ease both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
  animation: rise 0.9s 0.24s ease both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.3rem;
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: 0.03em;
  border: 1px solid var(--line);
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.cta:hover {
  transform: translateY(-1px);
}

.cta.primary {
  background: linear-gradient(135deg, #a52e2e, var(--crimson) 55%, #d45a35);
  border-color: transparent;
  color: #fff;
}

.cta.primary:hover {
  filter: brightness(1.06);
}

.cta.secondary {
  background: rgba(17, 24, 39, 0.65);
}

.cta.secondary:hover {
  border-color: var(--steel);
}

.cta.disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.sys-note {
  margin-top: 1rem;
  color: var(--steel);
  font-size: 0.85rem;
  animation: rise 0.9s 0.3s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 4.5rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-head p {
  margin: 0;
  color: var(--steel);
}

.feature-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-rail li {
  background: rgba(12, 18, 32, 0.85);
  padding: 1.35rem 1.2rem;
  display: grid;
  gap: 0.4rem;
}

.feature-rail .k {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.feature-rail .v {
  color: var(--steel);
  font-size: 0.9rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.dl-card {
  background: rgba(12, 18, 32, 0.72);
  border: 1px solid var(--line);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dl-card.featured {
  border-color: rgba(194, 59, 59, 0.45);
  box-shadow: 0 0 0 1px rgba(194, 59, 59, 0.12) inset;
}

.dl-card h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.dl-meta {
  margin: 0;
  color: var(--steel);
  font-size: 0.85rem;
}

.steps,
.steps-note {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--mist);
  font-size: 0.88rem;
}

.steps-note {
  padding-left: 0;
  color: var(--steel);
}

.steps li + li {
  margin-top: 0.35rem;
}

.road {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
}

.road li {
  padding: 1rem 1.15rem;
  border-left: 2px solid var(--crimson);
  background: rgba(17, 24, 39, 0.55);
  color: var(--mist);
}

.road strong {
  color: var(--blade);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  display: block;
  margin-bottom: 0.25rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: var(--steel);
  font-size: 0.82rem;
}

.footer .ver {
  margin: 0;
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  .feature-rail,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blade-beam,
  .eyebrow,
  .brand-hero,
  .tagline,
  .cta-row,
  .sys-note {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
