:root {
  color-scheme: dark;
  --bg: #07080d;
  --surface: #101117;
  --surface-2: #151720;
  --text: #f4f2ed;
  --muted: #9b9da5;
  --gold: #f0a928;
  --blue: #415dff;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Noto Sans SC", system-ui, sans-serif;
  background:
    radial-gradient(circle at 78% 12%, rgba(65, 93, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 14% 18%, rgba(240, 169, 40, 0.12), transparent 24rem),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

a {
  color: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 56px;
}

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  gap: 38px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: 44px 0;
}

.eyebrow,
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-top: 16px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  margin-top: 26px;
  max-width: 650px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 760;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 169, 40, 0.58);
}

.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #101117;
}

.secondary {
  background: rgba(255, 255, 255, 0.045);
}

.hero-visual {
  position: relative;
  min-height: 480px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(16, 17, 23, 0.94), rgba(7, 8, 13, 0.96));
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(240, 169, 40, 0.34);
  border-radius: 50%;
  animation: drift 9s ease-in-out infinite alternate;
}

.orbit-one {
  width: 360px;
  height: 360px;
  right: 12%;
  top: 13%;
}

.orbit-two {
  width: 250px;
  height: 250px;
  right: 27%;
  top: 24%;
  border-color: rgba(65, 93, 255, 0.42);
  animation-delay: -2s;
}

.archive-stack {
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: 18%;
  display: grid;
  gap: 14px;
  transform: perspective(900px) rotateX(54deg) rotateZ(-13deg);
}

.archive-stack span {
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(90deg, rgba(240, 169, 40, 0.24), rgba(65, 93, 255, 0.12));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.data-ribbon {
  position: absolute;
  width: 220px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: scan 5.8s ease-in-out infinite;
}

.ribbon-one {
  top: 34%;
  left: 12%;
}

.ribbon-two {
  right: 14%;
  bottom: 30%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation-delay: -1.6s;
}

.panel {
  border: 1px solid var(--line);
  background: rgba(16, 17, 23, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
}

.summary div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.summary div:last-child {
  border-right: 0;
}

.summary strong {
  display: block;
  margin-top: 14px;
  font-size: 20px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.content-grid .panel,
.formats,
.flow {
  padding: 28px;
}

.content-grid p,
.flow li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.content-grid p {
  margin-top: 18px;
}

.formats {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2 {
  margin: 0;
}

.format-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.format-row span {
  min-height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-weight: 760;
}

.flow {
  margin-top: 18px;
}

.flow ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.flow li {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  counter-increment: step;
}

.flow li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 760;
}

@keyframes drift {
  from {
    transform: translate3d(-12px, 10px, 0) scale(0.98);
  }
  to {
    transform: translate3d(14px, -16px, 0) scale(1.02);
  }
}

@keyframes scan {
  0%,
  100% {
    transform: translateX(-18px);
    opacity: 0.32;
  }
  50% {
    transform: translateX(28px);
    opacity: 0.9;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 28px, 680px);
    padding-top: 18px;
  }

  .hero,
  .summary,
  .content-grid,
  .flow ol {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 18px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .summary div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .summary div:last-child {
    border-bottom: 0;
  }

  .format-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

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