:root {
  --background: #070a12;
  --foreground: #f4f7ff;
  --muted: #9aa6bd;
  --line: rgba(155, 171, 205, 0.16);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background-color: var(--background);
  background-image:
    radial-gradient(circle at 76% 8%, rgba(94, 232, 209, 0.11), transparent 25rem),
    radial-gradient(circle at 12% 18%, rgba(124, 140, 255, 0.15), transparent 30rem),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  color: var(--foreground);
  font-family: var(--sans);
}

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

main {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(146, 160, 255, 0.55);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(124, 140, 255, 0.28), rgba(94, 232, 209, 0.08));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14), 0 10px 28px rgba(70, 81, 190, 0.22);
  color: #dfe3ff;
  font-family: var(--mono);
}

.source-link {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  transition: color 160ms ease;
}

.source-link:hover,
.source-link:focus-visible {
  color: #fff;
}

.hero {
  position: relative;
  padding: 110px 0 120px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-kicker {
  color: #aab5cb;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 20, 34, 0.66);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5ee8d1;
  box-shadow: 0 0 15px #5ee8d1;
}

.hero h1 {
  max-width: 900px;
  margin: 28px 0 24px;
  font-size: clamp(64px, 10vw, 132px);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #9ca8ff 8%, #5ee8d1 74%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero > p {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.runtime-line {
  position: absolute;
  right: 0;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8692aa;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.runtime-line span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(8, 12, 22, 0.7);
}

.runtime-line b {
  color: #5ee8d1;
  font-weight: 400;
}

.gallery {
  padding: 92px 0 110px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 9px 0 0;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.section-heading p {
  margin: 0;
}

.section-heading > p {
  padding-bottom: 8px;
  color: #77849d;
  font-family: var(--mono);
  font-size: 12px;
}

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

.card {
  --accent: #7c8cff;
  position: relative;
  display: flex;
  min-height: 380px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 75% 38%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 44%),
    linear-gradient(145deg, rgba(19, 27, 47, 0.9), rgba(9, 13, 24, 0.94));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover,
.card:focus-visible {
  z-index: 1;
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 56%, transparent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.09);
  outline: none;
}

.card.violet { --accent: #a18aff; }
.card.rose { --accent: #ff728d; }
.card.cyan { --accent: #5ee8d1; }
.card.lime { --accent: #b7ef6f; }
.card.blue { --accent: #67a7ff; }
.card.amber { --accent: #ffc46b; }

.card-top {
  display: flex;
  justify-content: space-between;
  color: #7f8ba3;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-kind {
  color: color-mix(in srgb, var(--accent) 80%, white);
}

.card-mark {
  display: grid;
  width: 104px;
  height: 104px;
  margin: 44px auto 38px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 28px;
  background: color-mix(in srgb, var(--accent) 10%, rgba(4, 7, 13, 0.88));
  box-shadow: 0 0 50px color-mix(in srgb, var(--accent) 18%, transparent), inset 0 1px rgba(255, 255, 255, 0.1);
  color: color-mix(in srgb, var(--accent) 80%, white);
  font-family: var(--mono);
  font-size: 34px;
}

.card-copy {
  margin-top: auto;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 590;
  letter-spacing: -0.035em;
}

.card p {
  min-height: 66px;
  margin: 0;
  color: #8e9ab1;
  font-size: 14px;
  line-height: 1.55;
}

.launch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: #dbe1ef;
  font-family: var(--mono);
  font-size: 12px;
}

.launch span {
  color: var(--accent);
  font-size: 17px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 31px 0 42px;
  border-top: 1px solid var(--line);
  color: #65718a;
  font-family: var(--mono);
  font-size: 11px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .runtime-line {
    position: static;
    margin-top: 44px;
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 28px, 1240px);
  }

  .nav {
    min-height: 72px;
  }

  .source-link {
    font-size: 11px;
  }

  .hero {
    padding: 78px 0 72px;
  }

  .hero h1 {
    font-size: clamp(56px, 19vw, 82px);
  }

  .runtime-line {
    flex-wrap: wrap;
    gap: 7px;
  }

  .gallery {
    padding: 66px 0 76px;
  }

  .section-heading,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 350px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card {
    transition: none;
  }
}
