.is-home .vp-layout {
  padding-top: var(--vp-nav-height);
}

.is-home .vp-content {
  margin-left: 0;
}

.is-home .vp-nav {
  background: color-mix(in srgb, var(--ide-bg) 88%, transparent);
}

.is-home .vp-docs-link {
  display: none;
}

.is-home .vp-brand-divider {
  display: none;
}

.is-home .vp-mobile-menu-btn {
  display: none;
}

.home {
  --home-ink: var(--ide-text-primary);
  --home-muted: var(--ide-text-secondary);
  --home-line: var(--ide-border);
  --home-accent: #7c3aed;
  overflow: hidden;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  min-height: calc(100vh - var(--vp-nav-height));
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 40px;
  box-sizing: border-box;
}

.home-alpha-badge {
  display: inline-flex;
  margin: 0 0 28px;
  padding: 6px 9px;
  color: #9a5700;
  background: color-mix(in srgb, #f59e0b 14%, transparent);
  border: 1px solid color-mix(in srgb, #f59e0b 42%, transparent);
  border-radius: 4px;
  font: 600 12px/1.2 var(--font-family-mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.dark .home-alpha-badge {
  color: #f6b94d;
}

.home h1 {
  max-width: 680px;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(56px, 7.2vw, 104px);
  font-weight: 650;
  line-height: .94;
  letter-spacing: -.065em;
}

.home-lede {
  max-width: 620px;
  margin: 32px 0 0;
  color: var(--home-muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.52;
  letter-spacing: -.02em;
}

.home-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
}

.home-primary,
.home-secondary {
  font-weight: 650;
  text-decoration: none;
}

.home-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  color: white;
  background: var(--home-accent);
  border: 1px solid var(--home-accent);
  border-radius: 6px;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--home-accent) 22%, transparent);
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--home-accent) 30%, transparent);
}

.home-primary svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.home-secondary {
  color: var(--home-ink);
  border-bottom: 1px solid var(--home-line);
}

.home-secondary:hover {
  border-color: var(--home-ink);
}

.home-requirement {
  margin: 18px 0 0;
  color: var(--home-muted);
  font: 12px/1.5 var(--font-family-mono);
}

.home-console {
  position: relative;
  color: #f7f7f8;
  background: #111114;
  border: 1px solid #29292e;
  border-radius: 10px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .28);
}

.home-console::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18px -18px -18px 18px;
  border: 1px solid color-mix(in srgb, var(--home-accent) 40%, transparent);
  border-radius: 10px;
}

.home-console-bar,
.home-console-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font: 11px/1.4 var(--font-family-mono);
  letter-spacing: .04em;
}

.home-console-bar {
  color: #a8a8b3;
  border-bottom: 1px solid #29292e;
}

.home-console-live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7ce9ab;
}

.home-console-live i {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.home-console-body {
  padding: 8px 18px;
}

.home-console-step {
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  gap: 14px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #29292e;
}

.home-console-step:last-child {
  border: 0;
}

.home-step-number {
  color: #71717c;
  font: 11px var(--font-family-mono);
}

.home-console-step strong,
.home-console-step code {
  display: block;
}

.home-console-step strong {
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
}

.home-console-step code {
  color: #91919c;
  background: none;
  padding: 0;
  font-size: 12px;
}

.home-check {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #7ce9ab;
  border: 1px solid #2d6845;
  border-radius: 50%;
  font-size: 12px;
}

.home-console-result {
  color: #b9b9c2;
  background: #18181c;
  border-top: 1px solid #29292e;
  border-radius: 0 0 10px 10px;
}

.home-console-result span:last-child {
  color: #7ce9ab;
}

.home-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1160px;
  margin: 0 auto;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-proof > div {
  padding: 56px 44px 60px;
  border-right: 1px solid var(--home-line);
}

.home-proof > div:last-child {
  border: 0;
}

.home-proof span,
.home-start > p {
  color: var(--home-accent);
  font: 600 11px/1 var(--font-family-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-proof h2 {
  margin: 26px 0 12px;
  color: var(--home-ink);
  font-size: 22px;
  letter-spacing: -.025em;
}

.home-proof p {
  margin: 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.65;
}

.home-start {
  max-width: 880px;
  margin: 0 auto;
  padding: 120px 40px 140px;
  text-align: center;
}

.home-start h2 {
  margin: 24px 0 40px;
  color: var(--home-ink);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -.055em;
}

.home-command {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.home-command code {
  width: 100%;
  box-sizing: border-box;
  padding: 19px 22px;
  overflow-x: auto;
  color: #ededf0;
  background: #111114;
  border: 1px solid #29292e;
  border-radius: 7px;
  text-align: left;
  white-space: nowrap;
}

.home-command code span {
  margin-right: 10px;
  color: #7ce9ab;
}

.home-command a {
  color: var(--home-ink);
  font-weight: 650;
  text-decoration: none;
}

.home-command a:hover {
  color: var(--home-accent);
}

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 88px;
    padding-bottom: 100px;
  }

  .home-hero-copy {
    max-width: 720px;
  }

  .home-console {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  .is-home .vp-nav-actions > a,
  .is-home .vp-nav-actions > button[onclick="openSearchModal()"] {
    display: none;
  }

  .home-hero {
    gap: 56px;
    padding: 64px 22px 80px;
  }

  .home h1 {
    font-size: clamp(48px, 16vw, 68px);
  }

  .home-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .home-console::before {
    display: none;
  }

  .home-proof {
    grid-template-columns: 1fr;
    margin: 0 22px;
  }

  .home-proof > div {
    padding: 38px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .home-proof > div:last-child {
    border-bottom: 0;
  }

  .home-start {
    padding: 96px 22px 110px;
  }
}
