/* Shared software marketplace layout for the catalogue, comparison and product pages. */
:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
main section[id] { scroll-margin-top: 100px; }
.site-header nav { gap: clamp(12px, 3vw, 30px); }
.nav-links { gap: clamp(12px, 2vw, 24px); }
.nav-links a, .nav-actions a { white-space: nowrap; }
.button.primary, .table-buy { background: #b54400; border-color: #b54400; }
.button.primary:hover, .table-buy:hover { background: #943900; }
.hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 5vw, 64px); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); overflow-wrap: anywhere; }
.grid > *, .product-grid > *, .plan-grid > *, .footer-grid > * { min-width: 0; }
.search { min-width: 0; }
.product .status { white-space: normal; text-align: right; }
.software-art {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  background-color: #14213d;
  background-image: url('/assets/software-product-art.png');
  background-size: 300% 300%;
  background-repeat: no-repeat;
}
.product .software-art { margin-bottom: 14px; }
.art-billing { background-position: 0 0; }
.art-hotel { background-position: 50% 0; }
.art-school { background-position: 100% 0; }
.art-health { background-position: 0 50%; }
.art-retail { background-position: 50% 50%; }
.art-crm { background-position: 100% 50%; }
.art-operations { background-position: 0 100%; }
.art-messaging { background-position: 50% 100%; }
.art-logistics { background-position: 100% 100%; }
.software-figure { margin: 0; padding: 12px; border: 1px solid #dbe4f0; background: #fff; border-radius: 20px; }
.software-figure figcaption { padding: 8px 4px 0; font-size: .8rem; color: #4d5d76; }
.compare-table-wrap { max-width: 100%; overflow-x: auto; }
.compare-table-wrap:focus-visible { outline-offset: 2px; }
.marketplace-footer { background: #14213d; color: #dce7fb; }
.marketplace-footer a, .marketplace-footer p { color: #dce7fb; }
.marketplace-footer .footer-grid strong { color: #fff; }
.marketplace-footer .footer-grid img { background: #fff; padding: 4px; border-radius: 5px; }
.marketplace-footer .footer-legal { border-color: #3b4c6b; }
.marketplace-footer a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 45px; }
  .product-visual { max-width: 640px; }
}
@media (max-width: 820px) {
  .site-header .nav-links, .site-header .nav-actions { display: none; }
  .site-header .nav-toggle { display: block; }
  .site-header nav { min-height: 64px; }
}
@media (max-width: 420px) {
  .catalog-tools { align-items: stretch; flex-direction: column; gap: 7px; }
  .hero .actions { align-items: stretch; flex-direction: column; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product, .button { transition: none; }
}

/* Main-site product presentation */
:root { font-family: "Segoe UI Rounded","Trebuchet MS",Verdana,sans-serif; }
.wrap { width: min(86rem, calc(100% - 40px)); }
.software-art {
    display: grid;
    place-items: center;
    aspect-ratio: auto;
    padding: clamp(10px, 2vw, 22px);
    border: 1px solid #ded4ef;
    background-color: #f4f1fa;
    background-image: none;
}
.software-art::before {
    content: "";
    display: block;
    width: min(100%, 400px);
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    background: url('/assets/software-product-art.png') no-repeat;
    background-size: 300% 300%;
    background-position: inherit;
}
.button.primary, .table-buy { background: #6d3fc4; border-color: #6d3fc4; color: #fff; }
.button.primary:hover, .table-buy:hover { background: #5a32a8; border-color: #5a32a8; }

.product p{color:#475569}
