:root {
  color-scheme: dark;
  --bg: #050608;
  --panel: #101317;
  --panel-2: #151a1f;
  --line: rgba(229, 231, 235, 0.14);
  --line-strong: rgba(229, 231, 235, 0.24);
  --text: #f5f7fa;
  --muted: #9aa4af;
  --cyan: #39d5e5;
  --green: #6ee7a8;
  --amber: #f2b84b;
  --red: #ff6b6b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(57, 213, 229, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(57, 213, 229, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 76%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
}

.nav-link {
  color: #cbd3dc;
  font-size: 0.86rem;
  line-height: 1rem;
  transition: color 160ms ease, border-color 160ms ease;
  border-bottom: 1px solid transparent;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #ffffff;
  border-color: var(--cyan);
}

.mobile-menu {
  display: none;
}

.mobile-menu[data-open="true"] {
  display: grid;
}

.hero {
  position: relative;
  min-height: min(790px, 78svh);
  overflow: hidden;
  isolation: isolate;
  --hero-image: url("sidelab-infrastructure-hero.png");
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(5, 6, 8, 0.96) 0%, rgba(5, 6, 8, 0.75) 38%, rgba(5, 6, 8, 0.16) 64%, rgba(5, 6, 8, 0.04) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.08), #050608 99%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.eyebrow {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.display-title {
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.92;
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.96;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1;
}

.copy-lg {
  color: #cdd5dd;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  line-height: 1.72;
}

.copy {
  color: #b5bec8;
  line-height: 1.68;
}

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

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 8px;
  padding: 0.74rem 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #f5f7fa;
  color: #050608;
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(16, 19, 23, 0.72);
  color: #f5f7fa;
}

.btn-secondary:hover {
  border-color: rgba(57, 213, 229, 0.64);
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(16, 19, 23, 0.86);
}

.card-quiet {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 19, 23, 0.58);
}

.metric {
  border-left: 1px solid var(--line-strong);
  padding-left: 1rem;
}

.metric-value {
  color: #ffffff;
  font-size: clamp(1.65rem, 2.7vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dbe3ea;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.28rem 0.58rem;
  font-size: 0.75rem;
  line-height: 1;
}

.accent-cyan {
  color: var(--cyan);
}

.accent-green {
  color: var(--green);
}

.accent-amber {
  color: var(--amber);
}

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.service-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(57, 213, 229, 0.11), transparent 35%),
    linear-gradient(315deg, rgba(242, 184, 75, 0.11), transparent 36%),
    #0b0e11;
}

.timeline-item {
  position: relative;
  padding-left: 1.4rem;
}

.timeline-item::before {
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  content: "";
  background: var(--cyan);
}

.timeline-item::after {
  position: absolute;
  top: 1.15rem;
  bottom: -1.15rem;
  left: 0.225rem;
  width: 1px;
  content: "";
  background: var(--line);
}

.timeline-item:last-child::after {
  display: none;
}

.input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 6, 8, 0.74);
  color: #ffffff;
  padding: 0.85rem 0.9rem;
  outline: none;
}

.input:focus {
  border-color: rgba(57, 213, 229, 0.72);
}

.map-grid {
  background:
    linear-gradient(90deg, rgba(57, 213, 229, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(242, 184, 75, 0.07) 1px, transparent 1px),
    rgba(16, 19, 23, 0.74);
  background-size: 26px 26px;
}

@media (max-width: 767px) {
  .hero {
    min-height: auto;
  }

  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(5, 6, 8, 0.9) 0%, rgba(5, 6, 8, 0.7) 48%, #050608 100%),
      var(--hero-image);
    background-position: 58% center;
  }

  .display-title,
  .page-title {
    overflow-wrap: anywhere;
  }

  .display-title {
    font-size: clamp(2.7rem, 15vw, 4.5rem);
  }

  .page-title {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }

  main .btn {
    width: 100%;
  }

  header .btn {
    width: auto;
    min-width: 44px;
  }

  .hero-metrics {
    display: none !important;
  }
}
