:root {
  --brand-blue: #0a84ff;
  --brand-gray: #4a4a4a;
  --bg-page: #f2f2f2;
  --bg-card: #ffffff;
  --text-main: #1a1a1a;
}

html.dark {
  --bg-page: #0f1114;
  --bg-card: #171b22;
  --text-main: #e8eaef;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate {
  animation: fade-up 0.85s ease-out both;
}

.hero-animate-delay-1 {
  animation-delay: 0.12s;
}

.hero-animate-delay-2 {
  animation-delay: 0.24s;
}

.hero-animate-delay-3 {
  animation-delay: 0.36s;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s ease-out,
    transform 0.65s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.circuit-line {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 36rem;
}

.circuit-line--stretch {
  max-width: none;
}

.circuit-line .node {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: var(--brand-blue);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.25);
}

.circuit-line .track {
  flex: 1;
  height: 2px;
  background: var(--brand-blue);
  min-width: 1.5rem;
}

.circuit-line .track.short {
  flex: 0 0 3.5rem;
}

html.dark .circuit-line .node {
  box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.35);
}
