/* The Hoest site. Everything else is Moey UI: nothing here restyles a Moey class. */

/* the logo: black on a light page, white on a dark one, like in the app */
.hoest-logo { flex: none; fill: currentColor; }

/* "Skip to content": only shown when reached with the Tab key */
.hoest-skip {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2000;
  padding: 0.5rem 0.875rem;
  color: var(--mo-bg-body);
  background: var(--mo-fg-body);
  border-radius: var(--mo-radius-control);
  transform: translateY(-200%);
}
.hoest-skip:focus { transform: none; }

/* a picture of the app: a thin line around it, so a light picture stands out on a light page */
.hoest-shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--mo-border-color);
  border-radius: var(--mo-radius-card);
}
.prose .hoest-shot { margin-block: 0 1.25em; }

/* the docs: the menu on one side from 1024px, "On this page" on the other from 1280px */
.hoest-docs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-block: 2rem 4rem;
}
.hoest-docs-side { position: sticky; top: 5rem; align-self: start; max-height: calc(100dvh - 6rem); overflow-y: auto; }
@media (width >= 1024px) {
  .hoest-docs { grid-template-columns: 13rem minmax(0, 1fr); gap: 3rem; }
}
@media (width >= 1280px) {
  .hoest-docs { grid-template-columns: 13rem minmax(0, 1fr) 13rem; }
}
