/* Get Started page — extends self-hosted.css step/code-block primitives */

.gs-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-top: .75rem;
  padding: .625rem .75rem;
  border-radius: .5rem;
  background: rgba(var(--primary, 8, 70, 166), .06);
  border: 1px solid rgba(var(--primary, 8, 70, 166), .18);
  font-size: .8125rem;
  line-height: 1.5;
  color: rgb(var(--text-secondary));
}

.gs-note svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: .1rem;
  stroke: var(--accent, #0b64ea);
  fill: none;
}

.gs-note code {
  font-family: var(--font-mono);
  font-size: .8em;
  background: rgba(var(--text-primary), .06);
  padding: .05rem .3rem;
  border-radius: .25rem;
}

.gs-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .gs-projects-grid { grid-template-columns: 1fr 1fr; }
}

.gs-project-card {
  border: 1px solid rgb(var(--border));
  border-radius: .625rem;
  padding: 1rem 1.1rem;
  background: rgb(var(--background));
}

.gs-project-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .4rem;
}

.gs-project-title {
  font-size: .9375rem;
  font-weight: 600;
  color: rgb(var(--text-primary));
  margin: 0;
}

.gs-project-desc {
  font-size: .8125rem;
  color: rgb(var(--text-secondary));
  line-height: 1.5;
  margin: 0;
}

.gs-project-copy {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border: 1px solid rgb(var(--border));
  background: transparent;
  color: rgb(var(--text-secondary));
  font-size: .75rem;
  font-weight: 500;
  padding: .25rem .55rem;
  border-radius: .375rem;
  cursor: pointer;
}

.gs-project-copy:hover { color: var(--accent, #0b64ea); border-color: var(--accent, #0b64ea); }
.gs-project-copy.copied { color: var(--accent, #0b64ea); border-color: var(--accent, #0b64ea); }

.gs-project-copy svg { width: .8rem; height: .8rem; }

/* ---- mobile ---- */
@media (max-width: 640px) {
  /* Header: five actions + brand don't fit in 375px. Drop the text links and the
     Beta badge (Tour is one tap away via the logo); keep CTA, theme toggle, sign in. */
  .wb-topbar { gap: .5rem; padding: 0 .75rem; }
  .wb-topbar-actions { gap: .375rem; }
  .wb-topbar-actions > .nav-link:not(.nav-link-boxed) { display: none; }
  .wb-topbar .nav-beta { display: none; }
  .wb-topbar-actions .nav-link-boxed { padding: 0 .65rem; }
  .wb-topbar .btn-primary { padding: .4rem .7rem; }

  /* Copy button sits above the code instead of covering its first line. */
  .sh-code-block { padding-top: 2.5rem; }

  /* Key names + descriptions as flowing text instead of stacked flex columns. */
  .sh-prereq-list li { display: block; line-height: 1.5; }
  .sh-prereq-list li svg { display: inline-block; vertical-align: -.1em; margin-right: .35rem; }

  .gs-project-head { flex-wrap: wrap; }
}
