.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  align-items: center;
  gap: 42px;
  padding: 74px 0 86px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 79, 94, 0.26);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 630px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.terminal {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 20, 17, 0.16);
  border-radius: 18px;
  background: #15171d;
  color: #e6edf3;
  box-shadow: var(--shadow);
}

.terminal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  color: #9ba6b6;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
}

.terminal pre {
  min-height: 470px;
  max-height: 64vh;
  margin: 0;
  overflow: auto;
  padding: 20px;
}

.terminal code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #dbe7ff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.65;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 12px 32px rgba(45, 33, 22, 0.07);
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.steps a {
  color: var(--accent-dark);
  font-weight: 700;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.note-card {
  border: 1px solid rgba(255, 79, 94, 0.22);
  border-radius: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 12px 32px rgba(45, 33, 22, 0.07);
}

.note-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.note-card p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .terminal pre {
    min-height: 360px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 620px) {
  .hero {
    min-height: auto;
    padding: 46px 0 58px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .actions,
  .actions .btn {
    width: 100%;
  }

  .terminal {
    border-radius: 14px;
  }

  .terminal pre {
    min-height: 300px;
    max-height: 420px;
    padding: 14px;
  }

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

  .steps li {
    min-height: auto;
  }
}
