/* Get Started installation gateway. Extends home.css. */

.gs-hero {
  padding-bottom: 20px;
}

.gs-hero h1 {
  max-width: 14em;
  margin-bottom: 0;
}

.gs-hero .hero-body {
  margin-bottom: 22px;
}

.gs-product-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  row-gap: 8px;
  margin: 14px 0 0;
  padding: 0;
}

.gs-product-nav > span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.gs-product-nav > span > span {
  margin: 0 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.gs-product-nav a {
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.gs-product-nav a:hover,
.gs-product-nav a:focus {
  color: var(--blue-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.gs-product-nav a:focus-visible {
  outline: 3px solid rgba(21, 101, 192, 0.45);
  outline-offset: 3px;
  border-radius: 4px;
}

.gs-section {
  padding: 56px 0;
}

.gs-section--soft {
  background: var(--soft);
}

.gs-heading {
  max-width: 40rem;
  margin-bottom: 28px;
}

.gs-heading h2 {
  font-size: clamp(28px, 3.2vw, 36px);
  margin-bottom: 10px;
}

.gs-heading p,
.gs-path p,
.gs-note {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.gs-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gs-methods--single {
  grid-template-columns: minmax(0, 28rem);
}

.gs-method h3,
.gs-path h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.gs-kicker {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.gs-path p code,
.gs-note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

.gs-path .gs-note {
  margin-top: 12px;
  font-size: 14.5px;
}

.gs-method p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.gs-method .btn {
  margin-top: 16px;
}

.gs-fine {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.gs-account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.gs-account a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.gs-account a svg {
  width: 16px;
  height: 16px;
}

.gs-account a:hover svg,
.gs-account a:focus-visible svg {
  transform: translateX(3px);
}

.gs-note {
  max-width: 44rem;
  margin: 22px 0 0;
}

.gs-note a {
  font-weight: 600;
}

.gs-relation {
  padding: 8px 0 4px;
}

.gs-relation p {
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.gs-relation strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy-deep);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.gs-paths {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.gs-path {
  min-width: 0;
  padding: 20px 20px 16px;
  border-radius: 12px;
}

.gs-path--preferred {
  background: #f3f7fc;
}

.gs-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
  vertical-align: 2px;
}

.gs-path .gs-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
}

.gs-path .gs-doc-link svg {
  width: 16px;
  height: 16px;
}

.gs-path .gs-doc-link:hover svg,
.gs-path .gs-doc-link:focus-visible svg {
  transform: translateX(3px);
}

.gs-help {
  padding: 36px 28px;
  text-align: center;
  background: var(--soft);
  border-radius: 12px;
}

.gs-help h2 {
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 10px;
}

.gs-help p {
  max-width: 36rem;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 16px;
}

.gs-terminal {
  width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}

.gs-terminal-header {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 14px;
  background: #1f2937;
}

.gs-terminal-controls {
  display: flex;
  gap: 6px;
}

.gs-terminal-controls span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.gs-terminal-controls span:nth-child(1) {
  background: #b56b6b;
}

.gs-terminal-controls span:nth-child(2) {
  background: #b59a62;
}

.gs-terminal-controls span:nth-child(3) {
  background: #6d9a78;
}

.gs-terminal-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: #cbd5e1;
}

.gs-copy {
  margin-left: auto;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #cbd5e1;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.gs-copy:hover,
.gs-copy:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.gs-copy:focus-visible,
.gs-method .btn:focus-visible,
.gs-doc-link:focus-visible,
.gs-account a:focus-visible,
.gs-help .btn:focus-visible {
  outline: 3px solid rgba(21, 101, 192, 0.45);
  outline-offset: 2px;
}

.gs-terminal pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  background: #111827;
  border: 0;
  border-radius: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #e5e7eb;
  text-align: left;
  white-space: pre;
}

.gs-terminal pre code {
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  white-space: pre;
}

.gs-terminal .tok-cmd,
.gs-terminal .tok-sub {
  color: #93c5fd;
  font-weight: 600;
}

.gs-terminal .tok-flag {
  color: #7dcec4;
}

.gs-terminal .tok-cmt {
  color: #94a3b8;
}

#report-designer,
#report-server,
#geojibe {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

@media (max-width: 800px) {
  .gs-methods,
  .gs-methods--single,
  .gs-paths {
    grid-template-columns: 1fr;
  }

  .gs-section {
    padding: 44px 0;
  }
}
