.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 200;
  transform: translateY(-150%);
  background: var(--bg-surface);
  color: var(--text-base);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
}

.skip:focus {
  transform: none;
}

.portal-copy > * + * {
  margin-top: 1rem;
}

.portal-copy h2,
.portal-copy h3 {
  color: var(--text-base);
  font-family: Outfit, sans-serif;
}

.portal-copy h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
}

.portal-copy h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.portal-copy a {
  color: rgb(var(--accent));
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.portal-copy a.btn-accent {
  color: var(--on-accent);
  background: rgb(var(--accent-strong));
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
}

.portal-copy a.btn-accent:hover {
  color: var(--on-accent);
  background: rgb(var(--accent-press));
}

.portal-copy a.btn-accent:focus-visible {
  color: var(--on-accent);
  outline: 2px solid rgb(var(--accent));
  outline-offset: 2px;
}

.portal-copy button.btn-accent:disabled {
  color: var(--text-base);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-control);
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  cursor: not-allowed;
  opacity: 1;
}

.catalog-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
  padding: 0;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border-surface);
  border-radius: 1rem;
  background: var(--bg-surface);
}

.catalog-card img {
  width: 100%;
  height: 10rem;
  object-fit: contain;
}

.portal-copy .catalog-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-base);
}

.catalog-card p {
  margin: 0;
  max-width: 65ch;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.portal-copy ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.portal-copy ol {
  list-style: decimal;
  padding-left: 1.25rem;
}

.portal-copy li + li {
  margin-top: 0.35rem;
}
