/* SignalTerrain public product landing — not the application */

.st-landing {
  margin: 0;
  min-height: 100vh;
  color: #e8eef7;
  background: #070c14;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

.st-landing a {
  color: inherit;
}

.st-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #121a2b;
  color: #e8eef7;
  padding: 0.5rem 0.75rem;
  z-index: 20;
}

.st-skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.st-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: calc(0.85rem + env(safe-area-inset-top, 0px)) clamp(1rem, 4vw, 2rem) 0.85rem;
}

.st-brand-mark {
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
  font-size: 1.05rem;
}

.st-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-left: auto;
}

.st-top nav a {
  text-decoration: none;
  color: #9aa8bd;
  font-size: 0.92rem;
  font-weight: 500;
}

.st-top nav a:hover,
.st-top nav a:focus-visible {
  color: #5eead4;
  outline: none;
}

.st-hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.st-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 480px at 15% 20%, rgba(61, 139, 253, 0.18), transparent 55%),
    radial-gradient(700px 420px at 90% 10%, rgba(94, 234, 212, 0.12), transparent 50%),
    linear-gradient(180deg, #0a101a 0%, #070c14 70%);
}

.st-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 139, 253, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 139, 253, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 92%);
  opacity: 0.55;
  animation: st-grid-drift 28s linear infinite;
}

.st-hero__content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0 calc(3rem + env(safe-area-inset-bottom, 0px));
  animation: st-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.st-hero__brand {
  margin: 0 0 0.55rem;
  font-size: clamp(2.5rem, 8vw, 4.8rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: #f4f7fc;
}

.st-hero__mission {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5eead4;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.st-hero h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #d7e2f2;
}

.st-hero__support {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: #9aa8bd;
  line-height: 1.55;
  font-size: 1.02rem;
}

.st-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.st-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  border: 1px solid #2a3b55;
  text-decoration: none;
  font-weight: 600;
  color: #d7e2f2;
  background: transparent;
}

.st-cta--primary {
  background: color-mix(in srgb, #3d8bfd 88%, #fff);
  color: #071018;
  border-color: transparent;
}

.st-cta:hover,
.st-cta:focus-visible {
  border-color: #5eead4;
  outline: none;
}

.st-section {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.st-section + .st-section {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.st-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d7c93;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.st-section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  font-weight: 600;
}

.st-section > p,
.st-prose {
  margin: 0;
  max-width: 40rem;
  color: #9aa8bd;
  line-height: 1.55;
}

.st-split {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 860px) {
  .st-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }

  .st-split--flip .st-split__copy {
    order: 2;
  }

  .st-split--flip .st-split__media {
    order: 1;
  }
}

.st-figure {
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 4px 16px 16px 4px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.st-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.st-figure figcaption {
  padding: 0.55rem 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6d7c93;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.st-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.st-list li {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: rgba(14, 22, 38, 0.65);
  color: #c5d0e0;
  line-height: 1.45;
}

.st-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #f0f4fa;
}

.st-steps {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  counter-reset: st-step;
}

.st-steps li {
  counter-increment: st-step;
  position: relative;
  padding: 0.85rem 0.95rem 0.85rem 3.1rem;
  border-left: 2px solid rgba(94, 234, 212, 0.35);
  background: linear-gradient(90deg, rgba(94, 234, 212, 0.06), transparent 55%);
}

.st-steps li::before {
  content: counter(st-step);
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: #071018;
  background: #5eead4;
}

.st-steps strong {
  display: block;
  margin-bottom: 0.2rem;
}

.st-steps p {
  margin: 0;
  color: #9aa8bd;
  line-height: 1.45;
}

.st-sources {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

@media (min-width: 720px) {
  .st-sources {
    grid-template-columns: 1fr 1fr;
  }
}

.st-source {
  padding: 0.9rem 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: rgba(11, 18, 32, 0.7);
}

.st-source h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.st-source p {
  margin: 0;
  color: #9aa8bd;
  font-size: 0.92rem;
  line-height: 1.45;
}

.st-roadmap {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.st-roadmap li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.st-roadmap__phase {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5eead4;
  min-width: 6.5rem;
  padding-top: 0.2rem;
}

.st-roadmap p {
  margin: 0;
  color: #c5d0e0;
  line-height: 1.45;
}

.st-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: #6d7c93;
  max-width: 40rem;
  line-height: 1.45;
}

.st-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding: 2rem clamp(1rem, 4vw, 2rem) calc(2rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  color: #9aa8bd;
}

.st-footer p {
  margin: 0.35rem 0;
}

.st-footer a {
  color: #5eead4;
  text-decoration: none;
  margin: 0 0.45rem;
}

.st-footer a:hover,
.st-footer a:focus-visible {
  text-decoration: underline;
  outline: none;
}

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

@keyframes st-grid-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, 32px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-hero__content,
  .st-hero__media::after {
    animation: none;
  }
}
