:root {
  color-scheme: dark;
  font-family: "SFMono-Regular", "Roboto Mono", "Courier New", monospace;
  background: #070b0e;
  color: #f4f7f8;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  background: #070b0e;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vw, 64px) 20px;
  isolation: isolate;
  background-image:
    linear-gradient(rgba(4, 8, 11, 0.08), rgba(4, 8, 11, 0.42)),
    url("assets/observatory-tech-bg.png");
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(7, 12, 16, 0.08) 0 30%, rgba(3, 6, 9, 0.5) 100%);
}

.hero__inner {
  width: min(1180px, 100%);
  display: grid;
  justify-items: center;
}

.masthead {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
}

.eyebrow {
  margin: 0 0 5px;
  color: #8fd9e8;
  font-size: 0.72rem;
  line-height: 1.2;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 4.4rem);
  font-weight: 630;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro {
  width: min(780px, 100%);
  margin: 20px auto 26px;
  color: #b6c2c8;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(0.96rem, 1.7vw, 1.18rem);
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
}

.observatory-mark {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  color: #dce8ec;
}

.observatory-mark__dome {
  position: absolute;
  left: 8px;
  top: 13px;
  width: 38px;
  height: 21px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 38px 38px 0 0;
}

.observatory-mark__base {
  position: absolute;
  left: 5px;
  top: 35px;
  width: 44px;
  border-top: 2px solid currentColor;
  box-shadow: 0 7px 0 -1px currentColor;
}

.observatory-mark__signal {
  position: absolute;
  right: 0;
  top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #79d189;
  box-shadow: 0 0 12px rgba(121, 209, 137, 0.9);
}

.dashboard-link {
  display: block;
  width: min(1080px, 100%);
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  outline: none;
}

.dashboard-preview {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 192, 205, 0.45);
  border-radius: 8px;
  background: #0a1014;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.dashboard-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1265 / 712;
  object-fit: cover;
}

.dashboard-preview figcaption {
  position: absolute;
  inset: auto 0 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  background: rgba(5, 10, 13, 0.9);
  border-top: 1px solid rgba(148, 192, 205, 0.28);
  backdrop-filter: blur(8px);
}

.status,
.open-label {
  font-size: clamp(0.68rem, 1.2vw, 0.82rem);
  line-height: 1.2;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #b9c5ca;
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #79d189;
  box-shadow: 0 0 10px rgba(121, 209, 137, 0.9);
}

.open-label {
  color: #9ee7f2;
}

.dashboard-link:hover .dashboard-preview,
.dashboard-link:focus-visible .dashboard-preview {
  transform: translateY(-4px);
  border-color: #9ee7f2;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58), 0 0 30px rgba(65, 171, 191, 0.13);
}

.dashboard-link:focus-visible {
  box-shadow: 0 0 0 3px #070b0e, 0 0 0 5px #9ee7f2;
}

.signals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-top: 22px;
  color: #82949d;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.signals span::before {
  content: "+";
  margin-right: 8px;
  color: #e0ac59;
}

@media (max-width: 620px) {
  .hero {
    align-items: start;
    padding: 28px 14px 30px;
    background-position: 45% center;
  }

  .masthead {
    width: 100%;
    align-items: flex-start;
    gap: 12px;
  }

  .observatory-mark {
    width: 42px;
    height: 42px;
    transform: scale(0.78);
    transform-origin: left top;
  }

  .intro {
    margin-top: 16px;
    text-align: left;
  }

  .dashboard-preview figcaption {
    position: static;
    min-height: 46px;
    padding: 10px 12px;
  }

  .status {
    display: none;
  }

  .open-label {
    width: 100%;
    text-align: center;
  }

  .signals {
    gap: 8px 14px;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-preview {
    transition: none;
  }
}
