/* Hero section. Hand-written because tailwind.css is a precompiled build
   and only contains the utilities that were in use when it was generated. */

.hero-bg {
  background:
    radial-gradient(ellipse 55% 55% at 78% 48%, rgba(0, 218, 243, .13), transparent 70%),
    radial-gradient(ellipse 40% 45% at 8% 12%, rgba(149, 204, 255, .08), transparent 70%),
    linear-gradient(rgba(59, 73, 76, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 73, 76, .28) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 55% 45%, #000 25%, transparent 100%);
  mask-image: radial-gradient(ellipse 95% 85% at 55% 45%, #000 25%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-visual {
  display: none;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }

  .hero-visual {
    display: block;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 76px;
    line-height: 1.02;
  }
}

/* Pipeline diagram */

.pipeline {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  border: 1px solid #3b494c;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(25, 33, 34, .92), rgba(13, 21, 22, .92));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 60px -20px rgba(0, 218, 243, .18);
}

.pipeline-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #3b494c;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #bac9cc;
}

.pipeline-head span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dce4e5;
}

.pipeline-head span:first-child::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, .7);
}

.pipeline-body {
  padding: 24px 20px 26px;
}

.pipeline-label {
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #849396;
}

.pipeline-label b {
  margin-right: 10px;
  font-weight: 500;
  color: #00daf3;
}

.pipeline-row,
.pipeline-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pipeline-node {
  padding: 12px 14px;
  border: 1px solid #3b494c;
  border-radius: 6px;
  background: rgba(8, 15, 17, .65);
}

.pipeline-node strong {
  display: block;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  color: #dce4e5;
}

.pipeline-node span {
  font-size: 11px;
  letter-spacing: .04em;
  color: #849396;
}

.pipeline-lake {
  padding: 16px;
  border: 1px solid rgba(0, 218, 243, .45);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(0, 218, 243, .09), rgba(0, 218, 243, .02));
}

.pipeline-lake-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.pipeline-lake-head strong {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #c3f5ff;
}

.pipeline-lake-head span {
  font-size: 11px;
  letter-spacing: .04em;
  color: #bac9cc;
}

.pipeline-zones {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pipeline-zones > span:not(.material-symbols-outlined) {
  flex: 1;
  padding: 8px 0;
  border: 1px solid rgba(195, 245, 255, .18);
  border-radius: 4px;
  background: rgba(13, 21, 22, .7);
  font-size: 12px;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  color: #dce4e5;
}

.pipeline-zones .material-symbols-outlined {
  font-size: 18px;
  color: #00daf3;
}

.pipeline-links i {
  position: relative;
  width: 1px;
  height: 30px;
  margin: 4px auto;
  background: linear-gradient(#3b494c, rgba(0, 218, 243, .7));
}

.pipeline-links i::after {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00daf3;
  box-shadow: 0 0 8px #00daf3;
  animation: pipeline-flow 2.4s linear infinite;
}

.pipeline-links i:nth-child(2)::after {
  animation-delay: .8s;
}

.pipeline-links i:nth-child(3)::after {
  animation-delay: 1.6s;
}

@keyframes pipeline-flow {
  0% { transform: translateY(0); opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { transform: translateY(26px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pipeline-links i::after {
    animation: none;
    opacity: 0;
  }
}
