/* ==========================================================================
   cloud-pages.css — AWS, Azure, and Google Cloud marketplace pages.
   These pages use the homepage system (home.css, trust.css, pages.css).
   This file adds only the parts that those files do not have.
   ========================================================================== */

/* The marketplace picture in a product panel. The picture has its own frame. */
.hp .tour-vis.center > img { width: 100%; max-width: 600px; }
.hp .tour-text > p + p { margin-top: 14px; }
.hp .tour-text a:not(.link):not(.btn) { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(61, 75, 202, 0.3); text-underline-offset: 3px; }

/* Listing types: the facts for the selected type sit in a sheet on the right. */
.hp .tour-vis .sheet { width: 100%; max-width: 460px; }
.hp .tour-vis .sheet dl > div:first-child { border-top: 0; padding-top: 0; }
.hp .tour-vis .sheet dl > div:last-child { padding-bottom: 0; }
.hp .kinds .tour-panel { min-height: 0; }
.hp .kinds .tour-text h3 { max-width: 18ch; }

/* Technical steps: API names in the text. */
.hp code { padding: 2px 6px; border-radius: 6px; background: var(--blue-tint); font: 500 0.88em/1.3 ui-monospace, "SF Mono", Menlo, monospace; color: var(--blue-deep); overflow-wrap: anywhere; }
.hp .ledger p a, .hp .deal li a, .hp .prose a, .hp .note a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(61, 75, 202, 0.3); text-underline-offset: 3px; }
.hp .ledger p a:hover, .hp .deal li a:hover, .hp .prose a:hover { text-decoration-color: currentColor; }
.hp .ledger .aside { font-size: 15.5px; color: var(--ink-mute); }
.hp .prose:has(+ .prose) { margin-bottom: 16px; }
.hp .compare-scroll + .prose { margin-top: 40px; }
.hp .prose strong { color: var(--ink); font-weight: 600; }

/* Checklist download: the form sits beside its description. */
.hp .gate .ask { position: static; }
.hp .gate .ask .state a { font-weight: 600; }

/* Two-column fact tables fit a phone without a horizontal scroll. */
.hp #terms table { min-width: 0; }

@media (max-width: 900px) {
  .hp .tour-vis.center { min-height: 0; }
}
@media (max-width: 560px) {
  .hp .tour-vis .sheet dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .hp #terms :is(th, td) { padding: 16px 12px 16px 0; }
  .hp #terms tbody th { width: 40%; }
}
