:root {
  color-scheme: dark;
  --bg: #08090b;
  --bg-2: #101114;
  --panel: #17181c;
  --panel-2: #22242a;
  --text: #f4f1ea;
  --muted: #b8b2a4;
  --quiet: #817a6d;
  --line: #363941;
  --line-strong: #5a606b;
  --accent: #ff5a3d;
  --cyan: #18d4c3;
  --amber: #f5c84b;
  --red: #ff6b6b;
  --green: #60d394;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 90, 61, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 212, 195, 0.03) 1px, transparent 1px),
    var(--bg);
  background-size: 56px 56px;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(90, 96, 107, 0.72);
  background: rgba(8, 9, 11, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--accent);
  background: var(--panel);
  font-size: 13px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

nav a {
  min-height: 44px;
  padding: 12px 13px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: calc(100vh - 72px);
  padding: clamp(36px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(28px, 4vw, 48px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 18%, rgba(24, 212, 195, 0.14), transparent 28%),
    linear-gradient(120deg, rgba(8, 9, 11, 0.94), rgba(16, 17, 20, 0.82));
}

.hero-grid {
  position: absolute;
  inset: 72px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  opacity: 0.36;
  pointer-events: none;
}

.hero-grid span {
  border-right: 1px solid rgba(255, 90, 61, 0.1);
  border-bottom: 1px solid rgba(24, 212, 195, 0.08);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding-top: clamp(18px, 5vh, 56px);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7.6vw, 116px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 28px;
  color: #e6e1d6;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--text);
  background: rgba(247, 242, 232, 0.05);
  font-weight: 800;
  text-decoration: none;
}

.button::after {
  margin-left: 8px;
  content: "->";
  color: var(--accent);
}

.button.primary {
  border-color: var(--accent);
  color: #090a0c;
  background: var(--accent);
}

.button.primary::after {
  color: #090a0c;
}

.button.subtle {
  color: var(--muted);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 820px;
}

.proof-strip span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #e6e1d6;
  background: rgba(23, 24, 28, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.release-board {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(100%, 1060px);
  margin-top: clamp(38px, 6vw, 86px);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(17, 18, 22, 0.94);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.release-board::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(24, 212, 195, 0.09) 48%, transparent 74%);
  animation: board-busy-sweep 3s ease-in-out infinite;
  pointer-events: none;
}

.board-header,
.signal-grid,
.pipeline {
  position: relative;
  z-index: 1;
  display: grid;
}

.board-header {
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.board-label {
  margin-bottom: 5px;
  color: var(--quiet);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.board-header h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 34px);
}

.board-status {
  padding: 8px 10px;
  border: 1px solid var(--amber);
  border-radius: 999px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.busy-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(24, 212, 195, 0.35);
  background: rgba(24, 212, 195, 0.08);
}

.busy-status-orbit {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(24, 212, 195, 0.6);
  border-radius: 999px;
  animation: status-orbit 1.2s linear infinite;
}

.busy-status-orbit::after {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(24, 212, 195, 0.86);
}

.busy-status strong,
.busy-status small {
  display: block;
}

.busy-status strong {
  color: var(--cyan);
}

.busy-status small {
  color: #e6e1d6;
}

.busy-status-bars {
  display: grid;
  gap: 5px;
  width: min(260px, 28vw);
  margin-left: auto;
}

.busy-status-bars span {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 90, 61, 0.2), rgba(24, 212, 195, 0.82), rgba(245, 200, 75, 0.36));
  transform-origin: left;
  animation: status-bars 1.5s ease-in-out infinite;
}

.busy-status-bars span:nth-child(2) {
  width: 78%;
  animation-delay: 0.18s;
}

.busy-status-bars span:nth-child(3) {
  width: 55%;
  animation-delay: 0.36s;
}

.pipeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stage {
  position: relative;
  min-height: 142px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}

.stage:last-child {
  border-right: 0;
}

.stage::after {
  position: absolute;
  right: -1px;
  top: 38px;
  width: 44px;
  height: 1px;
  content: "";
  background: var(--line-strong);
}

.stage:last-child::after {
  display: none;
}

.stage-dot {
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--quiet);
}

.stage strong,
.stage small {
  display: block;
}

.stage strong {
  margin-bottom: 7px;
}

.stage small {
  color: var(--muted);
}

.stage.done .stage-dot {
  background: var(--green);
}

.stage.active .stage-dot {
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(24, 212, 195, 0.14);
  animation: active-build-pulse 1.35s ease-in-out infinite;
}

.stage.active {
  background: linear-gradient(180deg, rgba(24, 212, 195, 0.09), transparent);
}

.stage.active::before {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  height: 4px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: active-build-line 1.35s ease-in-out infinite;
}

.stage.blocked .stage-dot {
  background: var(--red);
}

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

.signal-grid div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

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

.signal-grid span,
.signal-grid strong {
  display: block;
}

.signal-grid span {
  margin-bottom: 5px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-grid strong {
  font-size: 24px;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.section:nth-of-type(odd) {
  background: var(--bg-2);
}

.section-kicker {
  max-width: 920px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-kicker.compact {
  max-width: 760px;
}

.section-kicker p:not(.eyebrow) {
  max-width: 680px;
  font-size: 18px;
}

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

.feature {
  min-height: 248px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-index {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--cyan);
  font-weight: 900;
}

.feature p {
  margin-bottom: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.timeline {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.timeline li > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--accent);
  font-weight: 900;
}

.timeline p {
  margin-bottom: 0;
}

.integration-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.integration-strip div {
  min-height: 142px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

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

.integration-strip strong,
.integration-strip span {
  display: block;
}

.integration-strip strong {
  margin-bottom: 34px;
  color: var(--text);
  font-size: 22px;
}

.integration-strip span {
  color: var(--muted);
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.architecture-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.architecture-grid ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.final-cta {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(255, 90, 61, 0.09), transparent 38%),
    var(--bg);
}

.final-cta h2 {
  max-width: 980px;
}

@keyframes active-build-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 7px rgba(24, 212, 195, 0.14);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 13px rgba(24, 212, 195, 0.04);
    transform: scale(1.18);
  }
}

@keyframes active-build-line {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleX(0.35);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes board-busy-sweep {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes status-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes status-bars {
  0%,
  100% {
    opacity: 0.45;
    transform: scaleX(0.58);
  }
  45% {
    opacity: 1;
    transform: scaleX(1);
  }
}

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

@media (max-width: 980px) {
  .feature-grid,
  .pipeline,
  .integration-strip,
  .architecture-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .stage,
  .integration-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stage:last-child,
  .integration-strip div:last-child {
    border-bottom: 0;
  }

  .stage::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  nav a {
    padding-left: 0;
    padding-right: 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .button {
    width: 100%;
  }

  .board-header,
  .busy-status,
  .signal-grid,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .busy-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .busy-status-bars {
    width: 100%;
    margin-left: 0;
  }

  .board-status {
    justify-self: start;
  }

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

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

  .feature {
    min-height: 0;
  }
}
