:root {
  --bg: #050913;
  --bg-soft: #091322;
  --blue: #006fb3;
  --blue-bright: #35b9ff;
  --cyan: #82e7ff;
  --text: #edf8ff;
  --muted: #a4b7c6;
  --line: rgb(255 255 255 / 12%);
  --panel: rgb(255 255 255 / 7%);
  --panel-strong: rgb(0 111 179 / 30%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgb(0 111 179 / 35%), transparent 26rem),
    linear-gradient(135deg, #040711 0%, #081a2b 48%, #03060d 100%);
}

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

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  padding: 28px clamp(20px, 5vw, 76px) 96px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.72;
}

.hero__glow--one {
  top: 150px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgb(53 185 255 / 48%), transparent 67%);
}

.hero__glow--two {
  bottom: 30px;
  left: -140px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgb(0 111 179 / 64%), transparent 70%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: max-content;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: min(184px, 42vw);
  height: auto;
}

.nav__links {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav__links a:hover,
.strip a:hover,
.note a:hover,
.card a:hover {
  color: var(--cyan);
}

.hero__content {
  position: relative;
  align-self: center;
  padding-top: 72px;
}

.hero__content::before {
  position: absolute;
  right: clamp(-180px, -8vw, -42px);
  bottom: clamp(-80px, -6vw, -28px);
  z-index: -1;
  width: clamp(200px, 32vw, 420px);
  aspect-ratio: 1;
  content: "";
  background: rgb(53 185 255 / 4%);
  filter: drop-shadow(0 0 44px rgb(255 255 255 / 18%));
  mask: url("assets/bluecat-logo-symbol.svg") center / contain no-repeat;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 10vw, 8.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero__lead {
  max-width: 690px;
  margin-bottom: 34px;
  color: #d5ecfa;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.button--primary {
  border-color: transparent;
  color: #001521;
  background: linear-gradient(135deg, var(--cyan), var(--blue-bright));
  box-shadow: 0 16px 48px rgb(53 185 255 / 28%);
}

.button--ghost {
  background: rgb(255 255 255 / 8%);
  backdrop-filter: blur(18px);
}

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

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero__meta span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 6%);
}

.hero__meta strong {
  color: var(--text);
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: rgb(2 8 18 / 72%);
  backdrop-filter: blur(22px);
}

.strip a {
  padding: 24px;
  border-right: 1px solid var(--line);
  color: #d8eefa;
  font-weight: 800;
  text-align: center;
}

.strip a:last-child {
  border-right: 0;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 108px clamp(20px, 5vw, 56px);
}

.section__heading {
  max-width: 820px;
  margin-bottom: 34px;
}

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

.card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, var(--panel), rgb(255 255 255 / 3%));
}

.card--bright {
  background:
    radial-gradient(circle at 20% 0%, rgb(130 231 255 / 22%), transparent 18rem),
    linear-gradient(145deg, var(--panel-strong), rgb(255 255 255 / 5%));
}

.card--outline {
  border-color: rgb(130 231 255 / 42%);
}

.card__index {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-weight: 900;
}

.card p a {
  color: #d9f5ff;
  text-decoration: underline;
  text-decoration-color: rgb(130 231 255 / 34%);
  text-underline-offset: 0.22em;
}

.card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.card__links a {
  padding: 7px 10px;
  border: 1px solid rgb(130 231 255 / 20%);
  border-radius: 999px;
  color: #c8e8f7;
  background: rgb(130 231 255 / 7%);
  font-size: 0.82rem;
  font-weight: bold;
}

.card__links a:hover {
  border-color: rgb(130 231 255 / 50%);
  background: rgb(130 231 255 / 13%);
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  align-items: center;
  gap: 44px;
}

.install__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
}

.install__panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, var(--panel), rgb(255 255 255 / 3%));
}

.install__panel a {
  color: #d9f5ff;
  text-decoration: underline;
  text-decoration-color: rgb(130 231 255 / 34%);
  text-underline-offset: 0.22em;
}

.install__panel code {
  color: #daf6ff;
}

.install__panel .terminal {
  margin-top: 18px;
}

.terminal {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #020711;
  box-shadow: 0 32px 100px rgb(0 0 0 / 36%);
}

.terminal__bar {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 5%);
}

.terminal__bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blue-bright);
}

pre {
  margin: 0;
  padding: 26px;
  overflow-x: auto;
  color: #daf6ff;
  font: 0.98rem/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.note {
  max-width: 960px;
  margin-bottom: 64px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 0%, rgb(0 111 179 / 30%), transparent 20rem),
    rgb(255 255 255 / 5%);
}

.note a {
  color: var(--cyan);
  font-weight: 900;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding-bottom: 76px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__content {
    padding-top: 78px;
  }

  .strip,
  .grid,
  .install__grid,
  .section--split {
    grid-template-columns: 1fr;
  }

  .strip a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .strip a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .nav__links {
    width: 100%;
    justify-content: space-between;
  }

  .actions .button {
    width: 100%;
  }

  .card {
    min-height: 220px;
  }

  .card__index {
    margin-bottom: 32px;
  }
}
