.cookbook-header {
  max-width: 980px;
}

.hero-terminal {
  margin: 28px 0 10px;
  border: 1px solid rgba(122, 162, 247, 0.24);
  background: #10131a;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  border-radius: 8px;
  overflow: hidden;
}

.term-top {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: #151927;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.term-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff6b6b;
}

.term-top span:nth-child(2) {
  background: #f9c74f;
}

.term-top span:nth-child(3) {
  background: #52b788;
}

.hero-terminal pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
}

.hero-terminal code {
  color: #d6deff;
  font-size: 0.98rem;
}

.note-panel {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(137, 180, 250, 0.24);
  border-radius: 8px;
  background: rgba(137, 180, 250, 0.06);
}

.legacy-pocket {
  display: none;
}

.offscreen-note {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.probe-alt {
  width: 1px;
  height: 1px;
  opacity: 0;
}

.stealth-link {
  position: absolute;
  left: -10000px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 760px) {
  .hero-terminal pre {
    padding: 16px;
  }

  .hero-terminal code {
    font-size: 0.86rem;
  }
}
