/* Pricing sub-page (live clone) - page CSS
 * ============================================================================================
 * One stylesheet for all 14 www.applicaa.com/pricing/<slug> clones (they are one Webflow layout
 * duplicated 14 times). Visuals from live, type and colour from the design system.
 *
 * SCOPE: everything under `.live-pricing-sub` (the page root). The configurator's own styling is
 * the pricing tool's stylesheet (`/prototypes/pricing/page.css`, CMS `/r/77`), scoped under
 * `.pricing-page`, which this page puts on the configurator panel only - so neither file can
 * reach the other's markup.
 *
 * GEOMETRY: live's container is 1224px, which is the design system's own `.page-container`, so
 * this page deliberately does NOT load `_shared/page-shared.css` (that file narrows it to the
 * 2026-08 package's 1200px).
 *
 * Measured on live 2026-11-21 (headless Chromium, 1440 and 390); each value is noted where used.
 * ============================================================================================ */

/* ── Vertical rhythm ──────────────────────────────────────────────────────────────────────
   Literal per-section padding, named by px (prototypes/WORKFLOW.md §3). Live hero = section
   48/48 + an 80px inner top pad (40px at phone width), i.e. 128/48 and 88/48. */
.live-pricing-sub .dc-py-128-48 { padding-top: 128px; padding-bottom: 48px; }
.live-pricing-sub .dc-py-0-48   { padding-top: 0;     padding-bottom: 48px; }
.live-pricing-sub .dc-py-48     { padding-top: 48px;  padding-bottom: 48px; }

@media (max-width: 767px) {
  .live-pricing-sub .dc-py-128-48 { padding-top: 88px; }
  .live-pricing-sub .dc-py-0-48   { padding-bottom: 12px; }   /* live .pricing-section, phone */
}

/* ── 1 · Hero ─────────────────────────────────────────────────────────────────────────────
   Live: a top-down wash of #2AABEC at 40% → transparent. The nearest brand hue is
   product-sky (#35A7E7); the same mix the CMS /pricing re-skin used. var() because a
   gradient has no utility (coding-standards §2). */
.live-pricing-sub .dc-hero-wash {
  background-image: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--color-product-sky) 40%, transparent),
    transparent
  );
}

/* ── 2 · Configurator panel ───────────────────────────────────────────────────────────────
   Panel geometry is `.lv-pricing-panel` in /prototypes/live/pricing/pricing-tool.css §L (shared
   with /pricing). Nothing page-specific here. */

/* ── 3 · Customer Success Managers ────────────────────────────────────────────────────────
   Live: two 600px columns, 24px gap; right column centres two 220px price lists, 16px apart.
   Below 992px it stacks and centres (live's `tablet-column` + `center`). */
.live-pricing-sub .dc-csm {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.live-pricing-sub .dc-csm > * { flex: 1 1 0; min-width: 0; }
.live-pricing-sub .dc-csm-lists {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.live-pricing-sub .dc-csm-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 220px;
}
/* The independent variant's single list carries a sentence for a heading; live widens it. */
.live-pricing-sub .dc-csm-list-wide { width: 100%; max-width: 360px; }

.live-pricing-sub .dc-price-list {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);   /* live: a faint 0 2px 4px drop; nearest DS elevation */
  padding-block: 2px;
}
.live-pricing-sub .dc-price-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 10px;
}
.live-pricing-sub .dc-price-row + .dc-price-row { border-top: 1px solid var(--color-rule); }

/* Headings: zero-specificity margin defaults so a utility still wins (WORKFLOW §4b trap 1). */
:where(.live-pricing-sub .dc-csm h2, .live-pricing-sub .dc-csm h3) { margin: 0; }

@media (max-width: 991px) {
  .live-pricing-sub .dc-csm { flex-direction: column; text-align: center; }
  .live-pricing-sub .dc-csm > * { flex: none; width: 100%; }
  .live-pricing-sub .dc-price-list { text-align: left; }
}
@media (max-width: 480px) {
  .live-pricing-sub .dc-csm-lists { gap: 16px; }
  .live-pricing-sub .dc-csm-list { width: auto; flex: 1 1 0; min-width: 0; }
}
