

/* ---------- Facts: one card with four columns ---------- */
.showcase-main[data-product-view]:not(.app-showcase) > .showcase-container[aria-label="Product details"] { padding-block: clamp(8px, 2vw, 24px); }

/* Pages with three facts (product-generic.php) use three columns, not four. */

/* Wide screens only: a last row with one or two cards spreads across the
   full width. Narrower grids have two or one columns and fill evenly. */

.showcase-main[data-product-view]:not(.app-showcase) .wms-price-grid:has(> :only-child) { display: block; max-width: 560px; margin-inline: auto; }
.showcase-main[data-product-view]:not(.app-showcase) .wms-price-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }

@media (max-width: 960px) {
  
  
  
  
  
  .showcase-main[data-product-view]:not(.app-showcase) .wms-price-grid:has(> :nth-child(2):last-child) { grid-template-columns: 1fr; }
}

/* ---------- Features pages: the same look as the product pages ---------- */
main.wms-features-page {
  background:
    radial-gradient(900px 520px at 0% 0%, rgba(67, 214, 149, .10), transparent 60%),
    radial-gradient(800px 480px at 100% 30%, rgba(59, 130, 246, .06), transparent 60%),
    #f7f9fa;
}
.wms-features-page > .wms-container > .wms-section-head { max-width: 760px; margin-bottom: clamp(20px, 3vw, 36px); }
.wms-features-page > .wms-container > .wms-section-head h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.03em; }
.wms-features-page > .wms-container > .wms-section-head p { max-width: 60ch; color: #55666c; font-size: 1.08rem; line-height: 1.65; }
.wms-features-page .wms-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  background: rgba(67, 214, 149, .12); color: #156b45; letter-spacing: .12em; line-height: 1.3;
}
.wms-features-page .wms-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.wms-features-page .wms-feature-row {
  margin-top: clamp(18px, 2.4vw, 28px); padding: clamp(18px, 2vw, 28px); border: 0; border-radius: 28px; background: #fff;
  box-shadow: 0 1px 2px rgba(19, 34, 42, .04), 0 18px 40px -26px rgba(19, 34, 42, .35), 0 0 0 1px rgba(19, 34, 42, .08);
}
.wms-features-page .wms-feature-row h2 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.02em; margin-top: 14px; }
.wms-features-page .wms-feature-row p { color: #55666c; line-height: 1.65; }
.wms-features-page .wms-feature-figure {
  padding: clamp(16px, 2vw, 26px) clamp(16px, 2vw, 26px) 0; border: 0; border-radius: 22px; box-shadow: none;
  background:
    radial-gradient(520px 320px at 20% 0%, rgba(67, 214, 149, .25), transparent 65%),
    radial-gradient(420px 300px at 100% 100%, rgba(96, 165, 250, .18), transparent 60%),
    linear-gradient(160deg, #17323d, #0b161c);
}
/* The whole screenshot, at most at its real size. */
.wms-features-page .wms-feature-figure img { border-radius: 14px; }
.wms-features-page .wms-feature-figure figcaption { padding: 14px 4px 16px; border-top: 0; color: #c2d1cd; }
.wms-features-page .wms-feature-figure .wms-icon-button { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); }
.wms-features-page .wms-feature-row-text { background: linear-gradient(160deg, #17323d, #0b161c); color: #eef5f2; }
.wms-features-page .wms-feature-row-text h2 { color: #fff; }
.wms-features-page .wms-feature-row-text p { color: #c2d1cd; }
.wms-features-page .wms-feature-row-text a { color: #43d695; }
.wms-features-page .wms-feature-row-text .wms-eyebrow { color: #43d695; background: rgba(67, 214, 149, .14); }

/* ==========================================================================
   Scheduler user guides: the product chips, then a dark title card, as on the
   Fiction Editor guide. The steps themselves are styled by Scheduler Core.
   ========================================================================== */
.wms-guide-page.is-scheduler-guide .wms-guide-products { margin: 1.5rem 0 1rem; }
.wms-guide-hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 28px;
  margin: 8px 0 22px; padding: 40px 44px; border-radius: 26px; color: #eef5f2;
  background:
    radial-gradient(700px 320px at 0% 0%, rgba(67, 214, 149, .2), transparent 60%),
    radial-gradient(600px 300px at 100% 120%, rgba(243, 201, 105, .18), transparent 60%),
    linear-gradient(160deg, #17323d, #0b161c 70%);
  box-shadow: 0 30px 60px -36px rgba(11, 22, 28, .7);
}
.wms-guide-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%); pointer-events: none; }
.wms-guide-hero > * { position: relative; z-index: 1; }
.wms-guide-hero-mark { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 22px; background: rgba(255, 255, 255, .08); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.wms-guide-hero-mark img { display: block; width: 52px; height: 52px; object-fit: contain; border-radius: 12px; }
.wms-guide-hero .wms-brand-on-light { display: none !important; }
.wms-guide-hero .wms-brand-on-dark { display: block !important; }
.wms-guide-hero-eyebrow { margin: 0 0 6px; color: #6ee7b0; font: 700 12px/1 var(--showcase-body); letter-spacing: .16em; text-transform: uppercase; }
.wms-guide-hero h1 { margin: 0 0 10px; color: #fff; font: 600 clamp(28px, 3.6vw, 42px)/1.1 var(--showcase-display); letter-spacing: -.015em; }
.wms-guide-hero-copy > p:not(.wms-guide-hero-eyebrow) { margin: 0 0 16px; max-width: 62ch; color: #c5d3d0; font-size: 1.04rem; line-height: 1.6; }
.wms-guide-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wms-guide-hero-meta li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #dbe6e2; font-size: .84rem; font-weight: 600; }
.wms-guide-hero-meta .wms-icon { width: 15px; height: 15px; color: #6ee7b0; }
@media (max-width: 700px) {
  .wms-guide-hero { grid-template-columns: 1fr; gap: 18px; padding: 28px 22px; border-radius: 20px; }
  .wms-guide-hero-mark { width: 64px; height: 64px; border-radius: 16px; }
  .wms-guide-hero-mark img { width: 38px; height: 38px; }
}
@media print { .wms-guide-hero { background: none; box-shadow: none; color: #000; padding: 0; } .wms-guide-hero h1, .wms-guide-hero-copy > p:not(.wms-guide-hero-eyebrow) { color: #000; } .wms-guide-hero-mark, .wms-guide-hero-meta, .wms-guide-hero::after { display: none; } }
