:root {
  --md-text-font: "Inter", "Noto Sans SC", system-ui, sans-serif;
  --md-code-font: "JetBrains Mono", "Cascadia Code", monospace;
  --vllm-ink: #111827;
  --vllm-slate: #334155;
  --vllm-muted: #64748b;
  --vllm-line: #e2e8f0;
  --vllm-paper: #f8fafc;
  --vllm-accent: #3b82f6;
  --md-primary-fg-color: #111827;
  --md-primary-fg-color--light: #334155;
  --md-primary-fg-color--dark: #0f172a;
  --md-accent-fg-color: #2563eb;
  --md-typeset-a-color: #2563eb;
}

[data-md-color-scheme="slate"] {
  --vllm-ink: #f8fafc;
  --vllm-slate: #dbe4ef;
  --vllm-muted: #94a3b8;
  --vllm-line: #263244;
  --vllm-paper: #121923;
  --md-primary-fg-color: #0f172a;
  --md-primary-fg-color--light: #1e293b;
  --md-primary-fg-color--dark: #090f1a;
  --md-accent-fg-color: #60a5fa;
  --md-typeset-a-color: #60a5fa;
}

.md-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background: #111827;
  box-shadow: none;
}

.md-tabs {
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: #111827;
}

.md-grid {
  max-width: 78rem;
}

.md-content__inner {
  padding-bottom: 3rem;
}

.md-content__inner > h1:first-child {
  display: none;
}

.md-typeset h1 {
  font-weight: 760;
  letter-spacing: -0.025em;
}

.md-typeset h2 {
  border-bottom: 1px solid var(--vllm-line);
  padding-bottom: 0.4rem;
}

.md-typeset img {
  border: 1px solid var(--vllm-line);
  border-radius: 0.55rem;
  box-shadow: 0 0.35rem 1.1rem rgba(15, 23, 42, 0.07);
}

.vllm-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(21rem, 1.06fr);
  align-items: center;
  gap: 1.8rem;
  overflow: hidden;
  min-height: 31rem;
  margin: 0 0 1rem;
  padding: 3.5rem 3.4rem 0;
  border: 1px solid var(--vllm-line);
  border-radius: 0.8rem;
  background: var(--vllm-paper);
}

.vllm-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(100, 116, 139, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 116, 139, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
  content: "";
  pointer-events: none;
}

.vllm-hero::after {
  position: absolute;
  top: 0;
  left: 3.4rem;
  width: 4.5rem;
  height: 3px;
  background: var(--vllm-accent);
  content: "";
}

.vllm-hero > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.vllm-hero__copy {
  align-self: center;
  padding-bottom: 3.5rem;
}

.vllm-eyebrow {
  margin: 0 0 1rem !important;
  color: #2563eb;
  font-family: var(--md-code-font);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.vllm-hero h1 {
  margin: 0 !important;
  color: var(--vllm-ink);
  font-size: clamp(2rem, 3.05vw, 3.15rem);
  font-weight: 780;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.vllm-title-primary {
  display: inline-block;
  color: var(--vllm-ink);
  font-size: 0.74em;
  white-space: nowrap;
}

.vllm-title-gradient {
  color: var(--vllm-slate);
  overflow-wrap: anywhere;
}

.vllm-lead {
  max-width: 19rem;
  margin: 1.4rem 0 1.65rem !important;
  color: var(--vllm-muted);
  font-size: 0.86rem;
  line-height: 1.85 !important;
}

.vllm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.vllm-actions .md-button {
  margin: 0;
  border-color: #cbd5e1;
  border-radius: 0.42rem;
  color: var(--vllm-slate);
  font-size: 0.68rem;
}

.vllm-actions .md-button:hover {
  border-color: var(--vllm-accent);
  background: rgba(59, 130, 246, 0.07);
  color: var(--vllm-ink);
}

.vllm-actions .md-button--primary {
  border-color: var(--vllm-ink);
  background: var(--vllm-ink);
  color: var(--vllm-paper);
}

.vllm-actions .md-button--primary:hover {
  border-color: var(--vllm-accent);
  background: var(--vllm-accent);
  color: #111827;
}

.vllm-mascot {
  position: relative;
  align-self: end;
  height: 29rem;
}

.vllm-mascot img {
  position: absolute;
  right: -3rem;
  bottom: 0.6rem;
  width: 28rem;
  max-width: none;
  height: auto;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 1.1rem 1.1rem rgba(15, 23, 42, 0.12));
  box-shadow: none;
}

.vllm-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 2.2rem;
}

.vllm-topics span,
.article-kicker {
  border: 1px solid var(--vllm-line);
  border-radius: 0.35rem;
  background: var(--vllm-paper);
  color: var(--vllm-muted);
  font-family: var(--md-code-font);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.vllm-topics span {
  padding: 0.3rem 0.62rem;
}

.article-kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.45rem;
  border-color: rgba(59, 130, 246, 0.38);
  background: rgba(59, 130, 246, 0.07);
  color: #2563eb;
}

.md-typeset .grid.cards > ul > li {
  overflow: hidden;
  border-color: var(--vllm-line);
  border-radius: 0.55rem;
  background: var(--md-default-bg-color);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.md-typeset .grid.cards > ul > li:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.58);
  box-shadow: 0 0.6rem 1.5rem rgba(15, 23, 42, 0.08);
}

@media screen and (max-width: 76em) {
  .vllm-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(19rem, 1.05fr);
    padding-right: 1.5rem;
    padding-left: 2.4rem;
  }

  .vllm-mascot img {
    right: -3.5rem;
    width: 27rem;
  }
}

@media screen and (max-width: 52em) {
  .vllm-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 2.5rem 1.4rem 0;
  }

  .vllm-hero::after {
    left: 1.4rem;
  }

  .vllm-hero__copy {
    padding-bottom: 0;
  }

  .vllm-lead {
    max-width: none;
  }

  .vllm-hero h1 {
    font-size: 2.3rem;
  }

  .vllm-title-primary {
    font-size: 0.75em;
  }

  .vllm-mascot {
    width: 100%;
    height: 20rem;
  }

  .vllm-mascot img {
    right: 50%;
    bottom: 0;
    width: min(34rem, 118vw);
    height: auto;
    transform: translateX(50%);
  }
}

@media screen and (max-width: 30em) {
  .vllm-hero h1 {
    font-size: 2rem;
  }

  .vllm-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .vllm-actions .md-button {
    text-align: center;
  }

  .vllm-mascot {
    height: 17rem;
  }

  .vllm-mascot img {
    width: 29rem;
    height: auto;
  }
}

@media screen and (min-width: 60em) {
  .md-typeset p,
  .md-typeset li {
    line-height: 1.85;
  }
}
