/* =====================================================================
   DV Soft - products listing (/products) and product pages (/products/{slug})
   Layout modelled on microsoft.com product pages; Microsoft blue is
   replaced by DV Soft purple (--brand). Each product's --accent is used
   only inside its visuals (art panels, mock windows, icon tiles).
   Builds on the site.css building blocks (.band*, .mcard*, .mgrid*, .btn*).
   pl-* = listing, pd-* = product page, ptile = product card.
   ===================================================================== */

html { scroll-padding-top: calc(var(--header-h) + 72px); }

.product-page, .ptile, .pl-table tr, .pl-art-app {
  --accent-ink: color-mix(in srgb, var(--accent) 72%, #000);
  --accent-soft: color-mix(in srgb, var(--accent) 10%, #fff);
  --accent-line: color-mix(in srgb, var(--accent) 22%, #fff);
}

/* Section heads: left aligned, Microsoft style */
.pl-head, .pd-head { max-width: 980px; margin: 0 0 clamp(24px, 1vw + 18px, 36px); }
.pl-head h2, .pd-head h2 { margin-bottom: 10px; }
.pl-head .eyebrow, .pd-head .eyebrow { margin-bottom: 8px; }
.pl-head .section-lead, .pd-head .section-lead { max-width: 720px; }
.pd-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.pd-head-row h2 { margin-bottom: 0; }

@keyframes pd-fade-up { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes pd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* =====================================================================
   Product card (.ptile) - media-top card, used on both pages
   ===================================================================== */
.ptile.product-card, .ptile { position: relative; padding: 10px; border: 0; }
.ptile::before { display: none !important; }
.ptile-media {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius-media, 16px);
  background:
    radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 62%),
    linear-gradient(155deg, color-mix(in srgb, var(--accent) 16%, #fff), color-mix(in srgb, var(--accent) 5%, #fff));
}
.ptile-win {
  position: absolute; left: 11%; right: 11%; top: 15%; bottom: -14%;
  display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 10px;
  box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--accent) 60%, rgba(16, 14, 24, .55)), 0 1px 3px rgba(16, 14, 24, .08);
  transition: transform .45s var(--ease);
}
.ptile:hover .ptile-win { transform: translateY(-5px); }
.ptile-bar { flex: none; display: flex; gap: 4px; padding: 7px 9px; border-bottom: 1px solid #efedf3; }
.ptile-bar i { width: 6px; height: 6px; border-radius: 50%; background: #e3e0ea; }
.ptile-app { flex: 1; display: grid; grid-template-columns: 28% minmax(0, 1fr); min-height: 0; }
.ptile-side { display: flex; flex-direction: column; gap: 7px; padding: 9px 8px; background: color-mix(in srgb, var(--accent) 6%, #fff); border-right: 1px solid #f0eef4; }
.ptile-logo { display: grid; place-items: center; width: 22px; height: 22px; margin-bottom: 3px; border-radius: 6px; color: #fff; font-size: .58rem; background: var(--accent); }
.ptile-side s { display: block; height: 5px; border-radius: 3px; background: #e6e3ec; }
.ptile-side s.on { background: color-mix(in srgb, var(--accent) 55%, #fff); }
.ptile-side s:nth-child(4) { width: 75%; }
.ptile-main { display: flex; flex-direction: column; gap: 8px; padding: 9px; min-width: 0; }
.ptile-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ptile-kpis u { position: relative; display: block; height: 26px; border-radius: 6px; background: #faf9fb; box-shadow: inset 0 0 0 1px #eeecf1; }
.ptile-kpis u::after { content: ""; position: absolute; left: 6px; bottom: 6px; width: 52%; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--accent) 60%, #fff); }
.ptile-chart { flex: 1; display: flex; align-items: flex-end; gap: 4px; min-height: 28px; }
.ptile-chart s { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #fff)); opacity: .8; }
.ptile-chart s:nth-child(even) { opacity: .5; }

.ptile-body { display: flex; flex-direction: column; flex: 1; padding: 22px 18px 12px; }
.ptile-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ptile-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px; font-size: 1.05rem; color: var(--accent-ink); background: #fff; border: 1px solid #e7e3ec; box-shadow: 0 1px 2px rgba(16, 14, 24, .05); object-fit: contain; }
.ptile-cat { font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); text-align: right; }
.ptile .ptile-title { position: static; font-size: clamp(1.3rem, 1.12rem + .45vw, 1.5rem); line-height: 1.25; margin: 0 0 8px; }
.ptile-title a { color: var(--ink); }
.ptile-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ptile-title a:hover { color: var(--ink); }
.ptile-title a:focus-visible { outline: none; }
.ptile-title a:focus-visible::after { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--radius-card, 24px); }
.ptile-tagline { font-size: 1rem; font-weight: 600; line-height: 1.45; color: var(--text); margin: 0 0 8px; }
.ptile-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; font-size: .98rem; line-height: 1.55; color: var(--text-2); margin: 0 0 16px; }
.ptile-price { margin: auto 0 14px; padding-top: 4px; font-size: .93rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ptile-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid #efebf3; }
.ptile-more { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 600; color: var(--brand); }
.ptile-more .chev { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 4px; font-size: .68rem; color: #fff; background: var(--brand); transition: background-color .2s ease, transform .2s var(--ease); }
.ptile:hover .ptile-more { text-decoration: underline; text-underline-offset: 3px; }
.ptile:hover .chev { background: var(--brand-hover, #4c1f5d); transform: translateX(2px); }
.ptile-ext { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--brand); }
.ptile-ext i { font-size: .72em; }
.ptile-ext:hover { color: var(--brand-hover, #4c1f5d); text-decoration: underline; text-underline-offset: 3px; }
.ptile .chip-soon { position: relative; z-index: 2; }
.ptile.is-hidden { display: none; }

.ptile-compact .ptile-title { font-size: 1.2rem !important; }
.ptile-compact .ptile-tagline { font-size: .95rem; font-weight: 400; color: var(--text-2); margin-bottom: 14px; }
.ptile-compact .ptile-body { padding: 18px 14px 10px; }
.ptile-compact .ptile-head { margin-bottom: 12px; }
.ptile-compact .ptile-icon { width: 40px; height: 40px; font-size: .95rem; }

.ptile-custom { --accent: #602874; }
.ptile-custom .ptile-media { display: grid; place-items: center; background: radial-gradient(70% 90% at 100% 0%, rgba(96, 40, 116, .16), transparent 70%), linear-gradient(155deg, #efe6f5, #f8f4fa); }
.ptile-custom-art { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; font-size: 1.9rem; color: var(--brand); background: #fff; box-shadow: var(--shadow-card); }
.ptile-custom .ptile-actions { border-top: 0; padding-top: 0; margin-top: auto; justify-content: flex-start; gap: 16px; }
.ptile-custom:hover { transform: none; box-shadow: var(--shadow-card); }

/* =====================================================================
   /products - listing
   ===================================================================== */
.pl-hero {
  position: relative; overflow: hidden;
  padding: clamp(16px, 1vw + 10px, 24px) 0 clamp(24px, 2vw + 12px, 40px);
  background: linear-gradient(180deg, var(--tint-lavender, #f6f1f9) 0%, var(--tint-lavender-3, #faf7fc) 70%, #fff 100%);
}
.pl-hero .breadcrumbs, .pd-hero .breadcrumbs { margin-bottom: clamp(16px, 1.5vw + 8px, 32px); }
.pl-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 4vw + 8px, 72px); align-items: center; }
.pl-hero h1 { font-size: clamp(2.3rem, 1.4rem + 2.6vw, 3.5rem); margin: 0 0 20px; }
.pl-hero .lead { max-width: 580px; margin: 0 0 28px; }
.pl-hero-proof { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 24px 0 0; padding: 0; font-size: .92rem; color: var(--text-2); }
.pl-hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.pl-hero-proof i { color: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
  .pl-hero-copy > *, .pd-hero-copy > * { animation: pd-fade-up .55s var(--ease) both; }
  .pl-hero-copy > :nth-child(2), .pd-hero-copy > :nth-child(2) { animation-delay: .05s; }
  .pl-hero-copy > :nth-child(3), .pd-hero-copy > :nth-child(3) { animation-delay: .1s; }
  .pl-hero-copy > :nth-child(n+4), .pd-hero-copy > :nth-child(n+4) { animation-delay: .15s; }
  .pl-hero-art, .pd-art { animation: pd-fade-up .7s var(--ease) .1s both; }
}

.pl-hero-art { position: relative; padding: 36px 36px 44px 0; }
.pl-art-back {
  position: absolute; inset: 0 0 0 14%; border-radius: 28px;
  background: radial-gradient(80% 90% at 100% 0%, rgba(96, 40, 116, .18), transparent 70%), linear-gradient(155deg, #ece1f3, #f8f4fa);
}
.pl-art-win { position: relative; overflow: hidden; background: #fff; border-radius: 14px; box-shadow: 0 25.6px 57.6px rgba(16, 14, 24, .14), 0 4.8px 14.4px rgba(16, 14, 24, .08); }
.pl-art-bar, .pd-win-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #faf9fb; border-bottom: 1px solid #efedf2; }
.dots { display: inline-flex; gap: 5px; flex: none; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #e1dee8; }
.pl-art-url, .pd-win-url { flex: 1; min-width: 0; max-width: 300px; margin: 0 auto; padding: 4px 12px; border-radius: 6px; background: #fff; border: 1px solid #ebe8f0; font-size: .74rem; color: var(--subtle); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-art-url i, .pd-win-url i { margin-right: 6px; color: var(--success); }
.pl-art-body { padding: 20px; }
.pl-art-title { margin: 0 0 14px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.pl-art-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pl-art-app { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid #eeebf2; }
.pl-art-app b { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; font-size: .95rem; color: #fff; background: var(--accent); box-shadow: 0 6px 14px -8px var(--accent); }
.pl-art-app > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.pl-art-app strong { font-size: .86rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-art-app small { font-size: .72rem; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-art-app.is-support { background: #f3faf6; border-color: #d5eee1; }
.pl-art-float, .pd-float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  border-radius: 12px; background: #fff; box-shadow: var(--shadow-card-hover, 0 6px 14px rgba(16, 14, 24, .13)); font-size: .76rem; line-height: 1.35; color: var(--muted);
}
.pl-art-float strong, .pd-float strong { display: block; font-size: .85rem; color: var(--ink); }
.pl-art-float { left: -18px; bottom: 6px; }
.pl-art-float-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: #fff; background: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
  .pl-art-float, .pd-float-a { animation: pd-float 7s ease-in-out 1s infinite; }
  .pd-float-b { animation: pd-float 8s ease-in-out -3s infinite; }
}

/* Catalogue band sits right under the hero */
.pl-catalog { padding-top: clamp(16px, 1.5vw + 8px, 32px); }

/* Category filter: Microsoft pill tabs */
.pl-filter .filter-bar { gap: 8px; margin-bottom: 24px; }
.pl-filter .filter-chip, .pl-filter .filter-chip:hover {
  min-height: 42px; padding: 9px 22px; border: 0; border-radius: 999px;
  font-size: .95rem; font-weight: 600; color: var(--ink); background: var(--tint-lavender-2, #f1eaf6);
}
.pl-filter .filter-chip:hover { background: #e8dcf0; color: var(--ink); }
.pl-filter .filter-chip[aria-pressed="true"] { color: #fff; background: var(--brand); }
.pl-filter .filter-count { display: inline-grid; place-items: center; min-width: 24px; height: 22px; margin-left: 6px; padding: 0 7px; border-radius: 99px; font-size: .78rem; font-variant-numeric: tabular-nums; color: var(--brand); background: #fff; }
.pl-filter .filter-chip[aria-pressed="true"] .filter-count { color: var(--brand); }
html:not(.js-on) .pl-filter { display: none; } /* group filter needs JS; both groups show anyway */

/* Product groups: "Industry solutions" + "Business operations" */
.pl-groups { display: grid; gap: clamp(40px, 3vw + 16px, 64px); }
.pl-group[hidden] { display: none; }
.pl-group { scroll-margin-top: calc(var(--header-h, 72px) + 16px); }
.pl-group-head { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 clamp(18px, 1vw + 12px, 28px); padding-bottom: 16px; border-bottom: 1px solid #ece4f1; }
.pl-group-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px; font-size: 1.05rem; color: var(--brand); background: var(--tint-lavender, #f6f1f9); }
.pl-group-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 4px; font-size: clamp(1.4rem, 1.15rem + .7vw, 1.85rem); }
.pl-group-count { font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.pl-group-lead { max-width: 720px; margin: 0; font-size: 1rem; line-height: 1.55; color: var(--text-2); }
@media (min-width: 1101px) {
  .pl-grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
  .pl-grid-4 { gap: 20px; }
  .pl-grid-4 .ptile .ptile-title { font-size: clamp(1.2rem, .9rem + .45vw, 1.35rem); }
  .pl-grid-4 .ptile-body { padding: 20px 14px 10px; }
}
@media (min-width: 641px) and (max-width: 1100px) { .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Compare products table */
.pl-table-wrap { position: relative; overflow: hidden; background: #fff; border-radius: var(--radius-card, 24px); box-shadow: var(--shadow-card); }
.pl-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.pl-table th, .pl-table td { padding: 16px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid #eee9f2; }
.pl-table thead th { padding-top: 16px; padding-bottom: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); background: #fff; }
.pl-table tbody tr:last-child > * { border-bottom: 0; }
.pl-table tbody tr { transition: background-color .15s ease; }
.pl-table tbody tr:hover { background: var(--tint-lavender-3, #faf7fc); }
.pl-table tbody th { font-weight: 400; width: 30%; }
.pl-prod { display: flex; align-items: center; gap: 14px; }
.pl-prod-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 10px; font-size: 1rem; color: #fff; background: var(--accent); }
.pl-prod > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.pl-prod a { font-size: 1.04rem; font-weight: 600; color: var(--ink); }
.pl-prod a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.pl-prod small, .pl-dep small { display: block; font-size: .84rem; color: var(--muted); }
.pl-table td { color: var(--text-2); }
.pl-table td strong { font-weight: 600; color: var(--ink); white-space: nowrap; }
.pl-dep { display: inline-flex; align-items: flex-start; gap: 10px; color: var(--ink); font-weight: 600; }
.pl-dep i { margin-top: 4px; color: var(--brand); }
.pl-dep small { font-weight: 400; }
.pl-go { text-align: right !important; white-space: nowrap; }
.pl-table tbody tr.pl-table-group, .pl-table tbody tr.pl-table-group:hover { background: var(--tint-lavender, #f6f1f9); }
.pl-table .pl-table-group th { width: auto; padding-top: 10px; padding-bottom: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700, #43194f); }
.pl-table .pl-table-group i { margin-right: 8px; color: var(--brand); }

/* Team band (shared with product pages) */
.pl-team-grid, .pd-team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(36px, 4vw + 8px, 72px); align-items: center; }
.pl-team h2, .pd-team h2 { color: #fff; margin-bottom: 16px; }
.pl-team-copy > p:not([class]), .pd-team-grid > div > p:not([class]) { color: rgba(255, 255, 255, .8); font-size: 1.05rem; margin-bottom: 24px; }
.pl-team-status { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; font-weight: 600; color: #fff; }
.pl-team-list, .pd-team-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.pl-team-list li, .pd-team-list li { padding: 24px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .2s ease, border-color .2s ease; }
.pl-team-list li:hover, .pd-team-list li:hover { background: rgba(255, 255, 255, .08); border-color: rgba(227, 205, 238, .3); }
.pl-team-icon, .pd-team-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 10px; font-size: 1rem; color: #fff; background: #7a3d91; }
.pl-team-list h3, .pd-team-list h3 { margin: 18px 0 6px; font-size: 1.1rem; color: #fff; }
.pl-team-list p, .pd-team-list p { margin: 0; font-size: .95rem; line-height: 1.55; color: rgba(255, 255, 255, .76); }

/* Custom builds */
.pl-custom-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 3vw, 48px); align-items: center; padding: clamp(24px, 2vw + 16px, 44px); border-radius: var(--radius-card, 24px); background: #fff; box-shadow: var(--shadow-card); }
.pl-custom-card h2 { margin-bottom: 14px; }
.pl-custom-card p { color: var(--text-2); font-size: 1.05rem; margin-bottom: 24px; }
.pl-custom-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 172px), 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.pl-custom-services a, .pl-custom-services a:hover { text-decoration: none; }
.pl-custom-services a { display: flex; align-items: center; gap: 10px; height: 100%; padding: 12px 14px; border-radius: 12px; font-size: .95rem; font-weight: 600; color: var(--ink); background: var(--tint-lavender-3, #faf7fc); border: 1px solid #eee6f3; transition: background-color .15s ease, border-color .15s ease; }
.pl-custom-services a:hover { background: var(--tint-lavender, #f6f1f9); border-color: #ddcbe6; color: var(--brand); }
.pl-custom-services i { width: 18px; text-align: center; color: var(--brand); }

.catalog-empty { max-width: 640px; margin: 0 auto; padding: clamp(32px, 4vw + 12px, 56px); text-align: center; background: #fff; border-radius: var(--radius-card, 24px); box-shadow: var(--shadow-card); }
.catalog-empty .icon-badge { margin: 0 auto 20px; }
.catalog-empty p { color: var(--text-2); margin-bottom: 24px; }
.catalog-empty .btn-row { justify-content: center; }

/* =====================================================================
   /products/{slug} - product page
   ===================================================================== */

/* ---- Hero ---- */
.pd-hero {
  position: relative; overflow: hidden;
  padding: clamp(16px, 1vw + 10px, 24px) 0 clamp(40px, 3vw + 16px, 64px);
  background: linear-gradient(180deg, var(--tint-lavender, #f6f1f9) 0%, var(--tint-lavender-3, #faf7fc) 68%, #fff 100%);
}
.pd-hero .breadcrumbs a:hover { color: var(--brand); }
.pd-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 4vw + 8px, 64px); align-items: center; }
.pd-hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.pd-hero-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; font-size: 1.2rem; color: var(--accent-ink); background: #fff; border: 1px solid var(--accent-line); box-shadow: 0 1px 2px rgba(16, 14, 24, .05); object-fit: contain; }
.pd-hero-cat { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.pd-hero h1 { font-size: clamp(2.3rem, 1.5rem + 2.5vw, 3.5rem); margin: 0 0 18px; }
.pd-h1-sub { display: block; margin-top: 12px; font-size: .5em; font-weight: 600; line-height: 1.28; letter-spacing: -.01em; color: #3a3346; }
.pd-hero .lead { max-width: 600px; margin: 0 0 28px; }
.pd-hero .hero-actions { gap: 12px; }
.pd-hero-demo { margin-top: 18px; }
.pd-hero-demo i { font-size: .7em; }
.pd-hero-img { width: 100%; border-radius: 16px; box-shadow: 0 25.6px 57.6px rgba(16, 14, 24, .16), 0 4.8px 14.4px rgba(16, 14, 24, .1); background: #fff; }

/* Layered product visual */
.pd-art { position: relative; padding: 28px 28px 40px; }
.pd-art-back {
  position: absolute; inset: 0 0 0 9%; border-radius: 28px;
  background:
    radial-gradient(85% 90% at 100% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 68%),
    linear-gradient(155deg, color-mix(in srgb, var(--accent) 17%, #fff), color-mix(in srgb, var(--accent) 5%, #fff));
}
.pd-art-back::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(color-mix(in srgb, var(--accent) 28%, transparent) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 55%); mask-image: linear-gradient(200deg, #000, transparent 55%); }
.pd-win { position: relative; overflow: hidden; background: #fff; border-radius: 14px; font-size: .8rem; box-shadow: 0 25.6px 57.6px color-mix(in srgb, var(--accent) 22%, rgba(16, 14, 24, .14)), 0 4.8px 14.4px rgba(16, 14, 24, .1); }
.pd-win-body { display: grid; grid-template-columns: 164px minmax(0, 1fr); min-height: 330px; }
.pd-win-side { padding: 14px 10px; background: color-mix(in srgb, var(--accent) 5%, #fff); border-right: 1px solid #efedf2; }
.pd-win-brand { display: flex; align-items: center; gap: 8px; padding: 2px 8px 14px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.pd-win-brand i { color: var(--accent); }
.pd-win-brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-win-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pd-win-side li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; font-weight: 500; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-win-side li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: color-mix(in srgb, var(--accent) 35%, #fff); }
.pd-win-side li.is-active { background: #fff; color: var(--accent-ink); box-shadow: 0 1px 2px rgba(16, 14, 24, .08), inset 3px 0 0 var(--accent); }
.pd-win-side li.is-active::before { background: var(--accent); }
.pd-win-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; }
.pd-win-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pd-win-head > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.pd-win-head strong { font-size: .95rem; color: var(--ink); }
.pd-win-head small { font-size: .7rem; color: var(--subtle); }
.pd-win-head em, .pd-win-rows em { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; font-style: normal; font-size: .66rem; font-weight: 600; color: var(--success); background: var(--success-bg); white-space: nowrap; }
.pd-win-head em i { font-size: .42rem; }
.pd-win-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pd-win-kpis > div { min-width: 0; padding: 10px 12px; border: 1px solid #eeecf1; border-radius: 10px; }
.pd-win-kpis small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: 2.7em; margin-bottom: 4px; font-size: .66rem; line-height: 1.35; color: var(--subtle); }
.pd-win-kpis strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.08rem; font-weight: 600; color: var(--accent-ink); letter-spacing: -.01em; }
.pd-win-chart { flex: 1; display: flex; align-items: flex-end; gap: 6px; min-height: 112px; padding: 12px; border: 1px solid #eeecf1; border-radius: 10px; background: linear-gradient(180deg, transparent 0 24%, #f6f5f8 24% 25%, transparent 25% 49%, #f6f5f8 49% 50%, transparent 50% 74%, #f6f5f8 74% 75%, transparent 75%); }
.pd-win-chart span { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #fff)); opacity: .55; transform-origin: bottom; }
.pd-win-chart span:last-child { opacity: .95; }
@media (prefers-reduced-motion: no-preference) {
  .pd-win-chart span { animation: pd-grow .9s var(--ease) both; }
  .pd-win-chart span:nth-child(n+4) { animation-delay: .1s; }
  .pd-win-chart span:nth-child(n+7) { animation-delay: .2s; }
  .pd-win-chart span:nth-child(n+10) { animation-delay: .3s; }
}
@keyframes pd-grow { from { transform: scaleY(.2); } to { transform: none; } }
.pd-win-rows { display: grid; gap: 6px; }
.pd-win-rows > div { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #eeecf1; border-radius: 8px; }
.pd-win-rows b { flex: none; width: 20px; height: 20px; border-radius: 5px; background: var(--accent-soft); }
.pd-win-rows span { flex: 1; height: 7px; border-radius: 4px; background: #f0eef3; }
.pd-win-rows em.is-pending { color: var(--warn); background: var(--warn-bg); }
.pd-float-a { left: 0; bottom: 10px; }
.pd-float-b { right: 0; top: 4px; }
.pd-float-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; color: #fff; background: var(--accent); }
.pd-float-icon.is-green { background: #13855c; }
.pd-spark { display: flex; align-items: flex-end; gap: 3px; height: 18px; margin-top: 3px; }
.pd-spark i { width: 6px; border-radius: 1px; background: color-mix(in srgb, var(--accent) 70%, #fff); }
.pd-spark i:last-child { background: var(--accent); }

/* ---- Sticky in-page navigation ---- */
.pd-subnav { position: sticky; top: var(--header-h); z-index: 90; background: #fff; border-top: 1px solid #ece8f0; border-bottom: 1px solid #ece8f0; transition: box-shadow .2s ease; }
.pd-subnav.is-stuck { box-shadow: 0 4px 12px -6px rgba(16, 14, 24, .14); }
.pd-subnav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 58px; }
.pd-subnav-links { position: relative; scroll-snap-type: x proximity; display: flex; gap: 4px; min-width: 0; margin: 0 0 0 -14px; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pd-subnav-links::-webkit-scrollbar { display: none; }
.pd-subnav-links a, .pd-subnav-links a:hover { text-decoration: none; }
.pd-subnav-links li { scroll-snap-align: start; }
.pd-subnav-links a { position: relative; display: block; padding: 18px 14px; font-size: .96rem; font-weight: 600; line-height: 1.2; color: var(--text-2); white-space: nowrap; }
.pd-subnav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: transparent; transition: background-color .2s ease; }
.pd-subnav-links a:hover { color: var(--brand); }
.pd-subnav-links a[aria-current] { color: var(--ink); }
.pd-subnav-links a[aria-current]::after { background: var(--brand); }
.pd-subnav-cta { flex: none; }

/* ---- Highlights strip ---- */
.pd-stats { padding: clamp(28px, 2vw + 16px, 48px) 0 0; }
.pd-stats + .band { padding-top: clamp(40px, 2.5vw + 24px, 64px); }
.pd-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.pd-stat-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pd-stat-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pd-stat-grid.cols-1 { grid-template-columns: minmax(0, 1fr); }
.pd-stat-grid li { padding: 6px clamp(16px, 2vw, 32px); border-left: 1px solid #e6e1eb; }
.pd-stat-grid li:first-child { padding-left: 0; border-left: 0; }
.pd-stat-grid strong { display: block; margin-bottom: 8px; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.85rem); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pd-stat-grid span { display: block; font-size: .97rem; line-height: 1.45; color: var(--text-2); }
.pd-stat-grid strong span { display: inline; font-size: inherit; color: inherit; line-height: inherit; }

/* ---- Overview ---- */
.pd-overview-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(36px, 4vw + 8px, 80px); align-items: start; }
.pd-overview-grid.is-single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.pd-overview h2 { margin-bottom: 18px; }
.pd-prose p { font-size: 1.06rem; line-height: 1.7; color: var(--text-2); }
.pd-prose p:first-child { font-size: 1.18rem; line-height: 1.6; color: var(--ink); }
.pd-audience { padding: clamp(22px, 2vw + 12px, 32px); border-radius: var(--radius-card, 24px); background: var(--tint-lavender-3, #faf7fc); border: 1px solid #f0e9f4; }
.pd-side-title { margin: 0 0 16px; font-size: 1.3rem; }
.pd-audience-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.pd-audience-list li { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.pd-audience-list div > strong { display: block; margin-bottom: 2px; font-size: 1rem; color: var(--ink); }
.pd-audience-list div > span { display: block; font-size: .93rem; line-height: 1.5; color: var(--text-2); }
.pd-tile-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px; font-size: 1.02rem; color: var(--accent-ink); background: var(--accent-soft); }
.pd-audience-list .pd-tile-icon { width: 38px; height: 38px; font-size: .9rem; }

/* ---- Features: alternating rows ---- */
.pd-frow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 3vw + 8px, 64px); align-items: center; margin-bottom: clamp(32px, 2.5vw + 16px, 56px); }
.pd-frow:last-child { margin-bottom: 0; }
.pd-frow.is-flip .pd-frow-media { order: 2; }
.pd-frow-copy h3 { margin: 16px 0 10px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; }
.pd-frow-copy p { max-width: 520px; margin: 0; font-size: 1.08rem; line-height: 1.65; color: var(--text-2); }
.pd-frow-copy .pd-tile-icon { width: 52px; height: 52px; border-radius: 12px; font-size: 1.2rem; background: #fff; box-shadow: var(--shadow-card); }

.pd-fart {
  position: relative; overflow: hidden; aspect-ratio: 16 / 11; border-radius: var(--radius-card, 24px);
  background:
    radial-gradient(80% 90% at 100% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 66%),
    linear-gradient(155deg, color-mix(in srgb, var(--accent) 15%, #fff), color-mix(in srgb, var(--accent) 5%, #fff));
}
.pd-fart.is-alt { background: radial-gradient(80% 90% at 0% 100%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 66%), linear-gradient(205deg, color-mix(in srgb, var(--accent) 14%, #fff), color-mix(in srgb, var(--accent) 5%, #fff)); }

/* Generated screens (includes/product-art.php: product_feature_art / product_module_art) */
.pma { display: block; width: 100%; height: 100%; }
.pma-win { transition: transform .45s var(--ease); }
.pd-frow:hover .pma-win, .pd-mod:hover .pma-win, .ptile-custom:hover .pma-win { transform: translateY(-4px); }

.pd-sub-title { margin: clamp(8px, 1vw, 16px) 0 20px; font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); }
.pd-fcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pd-fcards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pd-fcards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pd-fcards.cols-1 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.pd-fcard { padding: 24px 22px; border-radius: var(--radius-card, 24px); background: #fff; box-shadow: var(--shadow-card); transition: box-shadow .25s ease, transform .25s var(--ease); }
.pd-fcard:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.pd-fcard h4 { margin: 16px 0 6px; font-size: 1.12rem; line-height: 1.3; }
.pd-fcard p { margin: 0; font-size: .97rem; line-height: 1.55; color: var(--text-2); }

/* ---- Modules (media cards) ---- */
.pd-mod-media { aspect-ratio: 2 / 1; }
/* 3 per row on a 6-track grid; a short last row (1 or 2 left over) is spread so
   no card is orphaned: 7 = 3+2+2, 8 = 3+3+2, 5 = 3+2. */
@media (min-width: 961px) {
  .mgrid.pd-mod-grid.fit3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pd-mod-grid.fit3 > * { grid-column: span 2; }
  .pd-mod-grid.fit3 > :nth-child(3n+1):nth-last-child(2), .pd-mod-grid.fit3 > :nth-child(3n+1):nth-last-child(2) + *,
  .pd-mod-grid.fit3 > :nth-child(3n+1):nth-last-child(4), .pd-mod-grid.fit3 > :nth-child(3n+1):nth-last-child(4) ~ * { grid-column: span 3; }
}
@media (min-width: 961px) and (max-width: 1080px) {
  .mgrid.mgrid-4.pd-mod-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .mgrid-4.pd-mod-grid > * { grid-column: span 2; }
  .mgrid-4.pd-mod-grid > :nth-child(3n+1):nth-last-child(2), .mgrid-4.pd-mod-grid > :nth-child(3n+1):nth-last-child(2) + *,
  .mgrid-4.pd-mod-grid > :nth-child(3n+1):nth-last-child(4), .mgrid-4.pd-mod-grid > :nth-child(3n+1):nth-last-child(4) ~ * { grid-column: span 3; }
}
.pd-mod-grid:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 8px; }
.pd-mod .mcard-body { padding: 18px 14px 12px; }
.pd-mod .mcard-title { font-size: 1.14rem; margin-bottom: 6px; }
.pd-mod .mcard-text { font-size: .95rem; margin: 0; }

/* ---- Dedicated team ---- */
.pd-journey { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 24px; padding: 0; }
.pd-journey li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 6px; border-radius: 99px; font-size: .84rem; font-weight: 500; color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.pd-journey li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .7rem; font-weight: 600; color: #fff; background: #7a3d91; }

/* ---- Steps ---- */
.pd-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.pd-steps.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pd-steps.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.pd-steps.cols-1 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.pd-steps li { position: relative; padding: 24px 22px; border-radius: var(--radius-card, 24px); background: #fff; box-shadow: var(--shadow-card); }
.pd-step-num { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; border-radius: 50%; font-size: .95rem; font-weight: 600; color: #fff; background: var(--brand); }
.pd-steps h3 { margin-bottom: 8px; font-size: 1.14rem; }
.pd-steps p { margin: 0; font-size: .97rem; line-height: 1.55; color: var(--text-2); }

/* ---- Plans ---- */
.pd-toggle { justify-content: flex-start; margin: -4px 0 24px; }
.pd-toggle .billing-toggle-inner { background: #fff; border-color: #e6e0ec; }
.pd-toggle button[aria-pressed="true"] { color: #fff; background: var(--brand); box-shadow: none; }
.pd-toggle button[aria-pressed="true"] .save { color: #fff; background: rgba(255, 255, 255, .2); }
.pd-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.pd-plan-grid.cols-1 { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
.pd-plan-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; }
.pd-plan-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pd-plan { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-card, 24px); background: #fff; box-shadow: var(--shadow-card); }
.pd-plan.is-popular { box-shadow: 0 0 0 2px var(--brand), var(--shadow-card-hover); }
.pd-plan-flag { margin: 0; padding: 9px 16px; font-size: .9rem; font-weight: 600; line-height: 1.4; text-align: center; color: var(--brand); background: var(--tint-lavender-2, #f1eaf6); }
.pd-plan.is-popular .pd-plan-flag { color: #fff; background: var(--brand); }
.pd-plan-flag.is-empty { background: transparent; }
.pd-plan-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.pd-plan-grid.cols-4 .pd-plan-body { padding: 22px 22px 24px; }
.pd-plan h3 { margin: 0 0 8px; font-size: 1.4rem; }
.pd-plan-desc { min-height: 3.1em; margin: 0 0 16px; font-size: 1rem; line-height: 1.55; color: var(--text-2); }
.pd-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.pd-plan-amount { font-size: clamp(2rem, 1.6rem + 1vw, 2.6rem); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pd-plan-amount.is-custom { font-size: clamp(1.6rem, 1.4rem + .6vw, 1.95rem); }
.pd-plan-per { font-size: 1rem; font-weight: 600; color: var(--text-2); }
.pd-plan-sub { min-height: 1.45em; margin: 6px 0 0; font-size: .9rem; font-weight: 600; color: var(--ink); }
.pd-plan-tax { margin: 2px 0 0; font-size: .8rem; color: var(--muted); }
.pd-plan-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.pd-plan-actions .btn { flex: 1 1 auto; }
.pd-plan-hl { margin: 0 0 10px; padding-top: 18px; border-top: 1px solid #ece8f0; font-size: 1rem; font-weight: 600; color: var(--ink); }
.pd-checks { display: grid; gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; }
.pd-checks li { position: relative; padding-left: 28px; font-size: .96rem; line-height: 1.5; color: var(--text-2); }
.pd-checks li::before { content: ""; position: absolute; left: 3px; top: .36em; width: 13px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.pd-plan-support { display: flex; align-items: center; gap: 8px; margin: auto 0 0; padding-top: 16px; border-top: 1px dashed #e4dfe9; font-size: .88rem; font-weight: 600; color: var(--success); }
.pd-plans-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; margin: 20px 0 0; font-size: .93rem; color: var(--text-2); }
.pd-plans-note a { font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* Compare plans table */
.pd-compare { margin-top: clamp(40px, 2.5vw + 24px, 64px); }
.pd-compare-title { margin: 0 0 20px; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); }
.pd-table-wrap { position: relative; padding: 4px 24px 20px; border-radius: var(--radius-card, 24px); background: #fff; box-shadow: var(--shadow-card); }
.pd-table-wrap:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.pd-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: .97rem; }
.pd-table th, .pd-table td { padding: 12px 14px; text-align: left; vertical-align: middle; border-bottom: 1px solid #eee9f2; }
.pd-table thead th, .pd-table .pd-table-corner { position: sticky; top: calc(var(--header-h) + 58px); z-index: 2; padding-top: 18px; padding-bottom: 14px; vertical-align: bottom; background: #fff; border-bottom: 1px solid #d9d2e0; }
.pd-table .pd-table-corner { width: 34%; }
.pd-table-badge { display: inline-block; margin-bottom: 8px; padding: 2px 9px; border-radius: 4px; font-size: .74rem; font-weight: 600; color: #fff; background: var(--brand); }
.pd-table-plan { display: block; font-size: 1.12rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.pd-table-price { display: block; margin-top: 4px; font-size: .95rem; font-weight: 600; color: var(--text-2); }
.pd-table-price small { margin-left: 3px; font-size: .82rem; font-weight: 400; }
.pd-table .pd-table-group > * { padding: 22px 14px 10px; border-bottom: 1px solid #d9d2e0; }
.pd-table-group th { padding: 22px 14px 10px; font-size: 1.1rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid #d9d2e0; }
.pd-table tbody th[scope="row"] { font-weight: 400; color: var(--text); }
.pd-table td { color: var(--text-2); }
.pd-table tbody tr:not(.pd-table-group):hover > * { background: var(--tint-lavender-3, #faf7fc); }
.pd-yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .68rem; color: #fff; background: var(--brand); }
.pd-no { display: inline-block; width: 14px; height: 2px; border-radius: 1px; vertical-align: middle; background: #bdb6c6; }
.pd-table-muted { font-size: .92rem; color: var(--muted); }
.pd-table tfoot td { padding-top: 18px; border-bottom: 0; }

/* ---- FAQ ---- */
.pd-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(32px, 4vw + 8px, 80px); align-items: start; }
.pd-faq-grid .pd-head { position: sticky; top: calc(var(--header-h) + 84px); margin: 0; }
.pd-faq-help { margin-top: 24px; padding: 20px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); }
.pd-faq-help strong { display: block; margin-bottom: 4px; color: var(--ink); }
.pd-faq-help p { margin-bottom: 16px; font-size: .95rem; color: var(--text-2); }
.pd-faq-list { border-top: 1px solid #ddd6e3; }
.pd-faq-list details { border-bottom: 1px solid #ddd6e3; }
.pd-faq-list summary { position: relative; display: block; padding: 18px 44px 18px 0; cursor: pointer; list-style: none; font-size: 1.1rem; font-weight: 600; line-height: 1.45; color: var(--ink); }
.pd-faq-list summary::-webkit-details-marker { display: none; }
.pd-faq-list summary i { position: absolute; right: 6px; top: 50%; margin-top: -8px; font-size: .9rem; color: var(--brand); transition: transform .25s var(--ease); }
.pd-faq-list details[open] summary i { transform: rotate(180deg); }
.pd-faq-list summary:hover { color: var(--brand); }
.pd-faq-list summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.pd-faq-list details > p { margin: 0; padding: 0 44px 20px 0; font-size: 1.02rem; line-height: 1.65; color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) { .pd-faq-list details[open] > p { animation: pd-fade-up .3s var(--ease) both; } }

.pd-final { padding-top: clamp(32px, 2vw + 20px, 56px); padding-bottom: clamp(40px, 3vw + 20px, 72px); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
  .pd-plan-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
  .pd-fcards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-steps.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pl-hero-grid, .pd-hero-grid, .pd-overview-grid, .pd-frow, .pl-team-grid, .pd-team-grid, .pd-faq-grid, .pl-custom-card { grid-template-columns: minmax(0, 1fr); }
  .pl-hero-art { max-width: 640px; }
  .pd-frow.is-flip .pd-frow-media { order: 0; }
  .pd-frow-media { max-width: 640px; }
  .pd-faq-grid .pd-head { position: static; }
  /* 3 plans on tablets: two up, the third centred under them */
  .pd-plan-grid.cols-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pd-plan-grid.cols-3 > * { grid-column: span 2; }
  .pd-plan-grid.cols-3 > :nth-child(3):last-child { grid-column: 2 / span 2; }
  .pd-hero-media { max-width: 580px; }
  .pd-fcards.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Compare table scrolls sideways; plan column headers stop being sticky. */
  .pd-table-wrap { overflow-x: auto; padding: 4px 0 16px; -webkit-overflow-scrolling: touch; }
  .pd-table { min-width: 720px; }
  .pd-table.cols-2 { min-width: 560px; }
  .pd-table thead th, .pd-table .pd-table-corner { position: static; }
  .pd-table tr > :first-child { position: sticky; left: 0; z-index: 1; padding-left: 18px; background: #fff; border-right: 1px solid #eee9f2; }
  .pd-table tbody tr:not(.pd-table-group):hover > * { background: #fff; }
  .pd-table .pd-table-group th { white-space: nowrap; }
  .pd-table .pd-table-corner { width: 200px; }
}
@media (max-width: 860px) {
  /* Products comparison becomes stacked cards. */
  .pl-table, .pl-table tbody, .pl-table tr, .pl-table th, .pl-table td { display: block; width: auto; }
  .pl-table thead { display: none; }
  .pl-table tbody tr { padding: 20px; border-bottom: 1px solid #eee9f2; }
  .pl-table tbody tr:last-child { border-bottom: 0; }
  .pl-table th, .pl-table td { padding: 0; border: 0; }
  .pl-table tbody th { width: auto; margin-bottom: 14px; }
  .pl-table tbody tr.pl-table-group { padding: 10px 20px; }
  .pl-table .pl-table-group th { margin: 0; }
  .pl-table td { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 6px 0; font-size: .94rem; }
  .pl-table td::before { content: attr(data-label); font-size: .76rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
  .pl-table td.pl-go { display: block; padding-top: 12px; text-align: left !important; }
  .pl-table td strong { white-space: normal; }
}
@media (max-width: 720px) {
  .pd-stat-grid.cols-4, .pd-stat-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  /* Compact cards: icon beside the text instead of above it */
  .pd-fcard, .pd-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .pd-fcard > :not(.pd-tile-icon), .pd-steps li > :not(.pd-step-num) { grid-column: 2; }
  .pd-fcard .pd-tile-icon, .pd-step-num { grid-row: 1 / span 2; margin: 0; width: 40px; height: 40px; }
  .pd-fcard h4, .pd-steps h3 { margin: 2px 0 4px; }
  .pd-fcards, .pd-steps { gap: 12px; }
  .pd-frow { gap: 20px; }
  .pd-frow-copy h3 { margin-top: 12px; }
  .pd-stat-grid li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .pd-steps-band .pd-steps:not(.cols-1), .pd-fcards.cols-2, .pd-fcards.cols-3, .pd-fcards.cols-4 { grid-template-columns: minmax(0, 1fr); }
  .pd-plan-grid.cols-2, .pd-plan-grid.cols-3, .pd-plan-grid.cols-4 { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .pd-plan-grid.cols-3 > *, .pd-plan-grid.cols-3 > :nth-child(3):last-child { grid-column: auto; }
  .pd-plan-flag.is-empty { display: none; }
  .pd-plan-desc { min-height: 0; }
  .pl-team-list, .pd-team-list { grid-template-columns: minmax(0, 1fr); }
  .pd-subnav-inner { gap: 12px; }
  .pl-filter { margin: 0 calc(var(--gutter) * -1); }
  .pl-filter .filter-bar { flex-wrap: nowrap; overflow-x: auto; padding: 2px var(--gutter) 6px; margin-bottom: 24px; scrollbar-width: none; }
  .pl-filter .filter-bar::-webkit-scrollbar { display: none; }
  .pl-filter .filter-chip { flex: none; }
}
@media (max-width: 600px) {
  .pd-subnav-cta { display: none; }
  .pd-subnav-links { margin-left: -12px; }
  .pd-subnav-links a, .pd-subnav-links a:hover { text-decoration: none; }
.pd-subnav-links a { padding: 16px 12px; font-size: .92rem; }
  .pd-subnav-links a::after { left: 12px; right: 12px; }
  .pl-custom-services { grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); }
  .pl-custom-services a { padding: 10px 12px; font-size: .9rem; }
  .pd-win-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .pd-win-side { display: none; }
  .pd-win-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-win-kpis > div:nth-child(3) { display: none; }
  .pd-art { padding: 20px 14px 30px; }
  .pd-art-back { left: 0; }
  .pd-float-b { display: none; }
  .pd-float-a { left: -4px; bottom: 0; }
  .pl-hero-art { padding: 24px 16px 34px 0; }
  .pl-art-back { left: 8%; }
  .pl-art-float { left: -6px; bottom: 0; }
  .pl-art-body { padding: 14px; }
  .pl-art-grid { gap: 8px; }
  .pl-art-app { padding: 10px; gap: 10px; }
  .pl-art-app b { width: 34px; height: 34px; font-size: .85rem; }
  .pd-hero .hero-actions .btn, .pl-hero .hero-actions .btn { flex: 1 1 auto; }
  .pd-table-wrap { border-radius: 16px; }
}
@media (max-width: 640px) {
  /* Modules and related products scroll sideways instead of stacking ~350px cards */
  .mgrid.pd-mod-grid, .pd-related .mgrid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 340px); gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scrollbar-width: thin;
  }
  .pd-mod-grid > *, .pd-related .mgrid > * { scroll-snap-align: start; }
  .pd-mod-grid .mcard:hover, .pd-related .mcard:hover { transform: none; }
}
@media (max-width: 420px) {
  .pd-plan-actions .btn { flex-basis: 100%; }
  .pl-table td { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .pl-hero-copy > *, .pd-hero-copy > *, .pl-hero-art, .pd-art, .pl-art-float, .pd-float, .pd-win-chart span { animation: none !important; }
  .ptile-win, .pma-win { transition: none; }
}

/* =====================================================================
   Built & executed: in-house team (product pages) + strip (/products)
   ===================================================================== */
.pl-strip { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin: 0 0 clamp(32px, 2vw + 16px, 48px); padding: 16px 24px; border-radius: 16px; background: var(--tint-lavender, #f6f1f9); border: 1px solid #ece2f2; }
.pl-strip-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px; font-size: 1.05rem; color: #fff; background: var(--brand); }
.pl-strip p { flex: 1 1 420px; margin: 0; font-size: 1rem; line-height: 1.5; color: var(--text-2); }
.pl-strip strong { color: var(--ink); font-weight: 600; }
.pl-strip .link-arrow { flex: none; }

.pd-promise { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 24px; padding: 0; }
.pd-promise li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; font-size: .9rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.pd-promise i { color: #c9a6db; }
.pd-journey-label, .pd-roles-label { margin: 0 0 12px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #e3cdee; }
.pd-roles { padding: clamp(20px, 2vw + 8px, 28px); border-radius: var(--radius-card, 24px); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.pd-roles-list { list-style: none; margin: 0; padding: 0; }
.pd-roles-list li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.pd-roles-list li:first-child { border-top: 0; padding-top: 6px; }
.pd-roles-list li:last-child { padding-bottom: 0; }
.pd-roles-list h3 { margin: 0 0 4px; font-size: 1.06rem; color: #fff; }
.pd-roles-list p { margin: 0; font-size: .95rem; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.pd-team-icon.is-green { background: #13855c; }

/* Shared dashboard art (includes/product-art.php) */
.ptile-media.has-art > svg, .pd-art-frame > svg { display: block; width: 100%; height: 100%; }
.pd-art-frame { position: relative; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 25.6px 57.6px color-mix(in srgb, var(--accent) 22%, rgba(16, 14, 24, .14)), 0 4.8px 14.4px rgba(16, 14, 24, .1); }
.pd-art-frame > svg { height: auto; }
