body.how-to-use-hub-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

body.kotopy-shell.how-to-use-hub-page > main {
  background: #fff;
  flex: 1 1 auto;
  padding-block: 0;
}

body.kotopy-shell--app.how-to-use-hub-page .kotopy-app-content {
  padding-inline: 0;
}

body.kotopy-shell--public.how-to-use-hub-page > footer {
  margin-top: 0 !important;
}

body.kotopy-guide-page .howto-hub {
  min-width: 0;
}

body.kotopy-guide-page .howto-hub-header {
  border-bottom: 1px solid var(--guide-line);
  padding-bottom: 24px;
}

body.kotopy-guide-page .howto-hub-header h1 {
  color: var(--guide-ink);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
}

body.kotopy-guide-page .howto-hub-header p {
  font-size: 1.125rem;
  margin: 0;
}

body.kotopy-guide-page .howto-welcome {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  padding: 32px 0;
}

body.kotopy-guide-page .howto-welcome .howto-eyebrow {
  color: var(--guide-blue);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

body.kotopy-guide-page .howto-welcome h2 {
  color: var(--guide-ink);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 24px;
}

body.kotopy-guide-page .howto-welcome-copy > p {
  max-width: 28em;
}

body.kotopy-guide-page .howto-primary-link {
  align-items: center;
  background: var(--guide-blue);
  border: 2px solid var(--guide-blue);
  border-radius: 4px;
  color: #fff !important;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  gap: 24px;
  justify-content: center;
  margin-top: 16px;
  min-height: 48px;
  padding: 12px 24px;
  text-decoration: none !important;
  width: min(100%, 336px);
}

body.kotopy-guide-page .howto-primary-link:hover {
  background: #064b86;
  border-color: #064b86;
}

body.kotopy-guide-page .howto-preview {
  margin: 0;
  min-width: 0;
}

body.kotopy-guide-page .howto-preview img {
  border: 1px solid var(--guide-line);
  display: block;
  height: auto;
  width: 100%;
}

body.kotopy-guide-page .howto-preview figcaption {
  color: var(--guide-muted);
  font-size: .875rem;
  line-height: 1.5;
  margin-top: 8px;
}

body.kotopy-guide-page .howto-reading-note {
  align-items: start;
  border-top: 1px solid var(--guide-line);
  display: flex;
  gap: 24px;
  padding: 24px 0 0;
}

body.kotopy-guide-page .howto-reading-note svg {
  color: var(--guide-blue);
  fill: none;
  flex: 0 0 48px;
  height: 40px;
  stroke: currentColor;
  stroke-width: 2;
  width: 48px;
}

body.kotopy-guide-page .howto-reading-note p {
  margin: 0 0 4px;
}

body.kotopy-guide-page .howto-reading-note strong {
  color: var(--guide-ink);
}

body.kotopy-guide-page .howto-reading-note a {
  color: var(--guide-blue);
  text-decoration: underline;
}

@media (max-width: 600px) {
  body.kotopy-guide-page .howto-welcome {
    grid-template-columns: minmax(0, 1fr);
  }
}
