/*! Designed & developed by Amit Salunkhe, Satara (India) | +91 90824 37230 */
/* Inner pages (Products, CRM, Solutions, About...). Built on the homepage design language: site.css tokens + concept.css (.cx) primitives.
   Page-specific blocks are scoped to .pg so they never touch the homepage. */

/* ---------- Book a demo block (same as the homepage) ---------- */
.end { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.end-side { display: grid; gap: 20px; justify-items: start; }
.contact-row { display: flex; gap: 10px; flex-wrap: wrap; }
.form-card { padding: clamp(22px, 3vw, 32px); border-radius: 18px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-pop); }
.form-card h3 { color: var(--ink); margin-bottom: 18px; font-size: 20px; }
.end .ask { margin: 0; height: 34px; display: flex; align-items: center; gap: 10px; padding: 0 6px 0 12px; border-radius: 9px; border: 1px solid var(--line-2); box-shadow: 0 0 0 6px rgba(14,26,21,.03); background: #fff; color: var(--ink); }
.end .ask > svg { flex: none; width: 16px; height: 16px; color: var(--brand); }
.end .ask .q { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; }
.end .ask kbd { flex: none; font: 11px var(--mono); height: 24px; min-width: 24px; display: grid; place-items: center; border-radius: 6px; background: var(--sunken); border: 1px solid var(--line-2); color: var(--muted); }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--brand); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 900px) { .end { grid-template-columns: 1fr; } }

/* ---------- Shared inner-page rhythm ---------- */
.pg {
  .pg-sec { padding: 64px 0 24px; }
  .pg-sec .sec-head { margin-bottom: 36px; }
  .pg-sec .sec-head.center .lead { max-width: 640px; }
  @media (max-width: 960px) { .pg-sec { padding: 44px 0 16px; } .pg-sec .sec-head { margin-bottom: 28px; } }

  /* Page hero: centred copy, product window below */
  .crumb-top { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
  .crumb-top a:hover { color: var(--ink); }
  .crumb-top i { font-style: normal; color: var(--faint); }
}

/* ===================== PRODUCTS OVERVIEW ===================== */
.pg {
  /* Hero window: real portal screen with two live cards on top */
  .shot-win .win-bar .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
  .shot-win .live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--brand-ink); font-weight: 500; }
  .shot { aspect-ratio: 16 / 9.4; overflow: hidden; background: var(--sunken); }
  .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
  .float-card { position: absolute; z-index: 3; width: 268px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-pop); }
  .float-card.fc-1 { left: -36px; bottom: 54px; }
  .fc-h { display: flex; align-items: center; gap: 10px; }
  .fc-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
  .fc-h b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
  .fc-h small { display: block; font-size: 12px; color: var(--muted); }
  .fc-row { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--sunken); font-size: 12.5px; color: var(--muted); }
  .fc-row b { color: var(--ink); font-weight: 600; }
  @media (max-width: 1180px) { .float-card.fc-1 { left: 16px; bottom: 16px; } }
  @media (max-width: 760px) { .float-card { display: none; } }

  /* Core products: 2 x 2 cards with a real screen crop */
  .core { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .core-card { display: flex; flex-direction: column; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .3s var(--ease-out); }
  .core-card:hover { border-color: rgba(14, 26, 21, .22); box-shadow: var(--shadow-pop); transform: translateY(-2px); }
  .core-top { padding: 24px 26px 20px; display: grid; gap: 12px; }
  .core-name { display: flex; align-items: center; gap: 10px; }
  .core-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
  .core-name h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
  .core-name .st { margin-left: auto; }
  .core-top p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
  .core-list { list-style: none; padding: 0; margin: 2px 0 0; display: grid; gap: 7px; }
  .core-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
  .core-list li svg { width: 15px; height: 15px; margin-top: 2px; color: var(--brand); flex: none; }
  .core-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--ink); }
  .core-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
  .core-card:hover .core-link svg { transform: translateX(3px); }
  .core-shot { margin: auto 18px 0; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 12px 12px 0 0; overflow: hidden; height: 210px; background: var(--sunken); }
  .core-shot img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease-out); transform-origin: top left; }
  .core-card:hover .core-shot img { transform: scale(1.03); }
  @media (max-width: 900px) { .core { grid-template-columns: 1fr; } .core-shot { height: 180px; } }

  /* Module explorer: team filter on the left, 15 tiles on the right */
  .mx { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: start; }
  .mx-rail { position: sticky; top: 132px; display: grid; gap: 4px; padding: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); }
  .mx-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 40px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-align: left; transition: background .2s, color .2s; }
  .mx-btn span { font: 12px var(--mono); color: var(--faint); }
  .mx-btn:hover { background: var(--sunken); }
  .mx-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
  .mx-btn[aria-pressed="true"] span { color: rgba(255, 255, 255, .6); }
  .mx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .mt { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); transition: opacity .3s, border-color .25s, box-shadow .25s, transform .3s var(--ease-out); }
  a.mt:hover { border-color: rgba(14, 26, 21, .22); box-shadow: var(--shadow-pop); }
  .mt.off { opacity: .32 !important; }
  .mt-h { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
  .mt-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--sunken); color: var(--ink-2); border: 1px solid var(--line); flex: none; }
  .mt-ico svg { width: 16px; height: 16px; }
  .mt-h b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
  .mt-h .tag { margin-left: auto; white-space: nowrap; font: 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
  .mt p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); flex: 1; }
  .mt-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 12.5px; color: var(--muted); }
  .mt-foot .lv { display: inline-flex; align-items: center; gap: 7px; }
  .mt-foot .lv .live-dot { width: 6px; height: 6px; }
  .mt-foot b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
  .mt-foot .go { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
  @media (max-width: 1100px) { .mx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 860px) {
    .mx { grid-template-columns: 1fr; }
    .mx-rail { position: static; display: flex; overflow-x: auto; scrollbar-width: none; padding: 6px; }
    .mx-rail::-webkit-scrollbar { display: none; }
    .mx-btn { flex: none; height: 36px; gap: 8px; }
    .mt.off { display: none; }
  }
  @media (max-width: 560px) { .mx-grid { grid-template-columns: 1fr; } }

  /* One record across modules */
  .flow { position: relative; padding: 28px 28px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); }
  .flow-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; font-size: 13px; color: var(--muted); }
  .flow-head .car { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 10px; background: var(--sunken); color: var(--ink); font-weight: 500; }
  .flow-head .car span { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); }
  .flow-head .mono { color: var(--muted); }
  .flow-head .st { margin-left: auto; }
  .flow-track { position: relative; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .flow-rail { position: absolute; left: calc(100% / 18); right: calc(100% / 18); top: 13px; height: 2px; background: var(--line-2); border-radius: 2px; }
  .flow-fill { position: absolute; inset: 0; background: var(--brand); transform-origin: left; transform: scaleX(0); border-radius: 2px; }
  .fs { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 0 4px; }
  .fs .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--line-2); color: var(--faint); transition: background .3s, border-color .3s, color .3s; }
  .fs .dot svg { width: 14px; height: 14px; }
  .fs.on .dot { background: var(--brand); border-color: var(--brand); color: #fff; }
  .fs b { font-size: 13px; font-weight: 600; line-height: 1.25; }
  .fs small { font: 10.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); line-height: 1.3; }
  .flow-note { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--ink-2); }
  .flow-note span { display: inline-flex; align-items: center; gap: 8px; }
  .flow-note svg { width: 15px; height: 15px; color: var(--brand); }
  @media (max-width: 900px) {
    .flow { padding: 22px 18px; }
    .flow-track { grid-template-columns: 1fr; gap: 14px; }
    .flow-rail { left: 13px; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; }
    .flow-fill { transform-origin: top; transform: scaleY(0); }
    .fs { flex-direction: row; text-align: left; gap: 12px; }
    .fs small { margin-left: auto; }
  }

  /* Start small, add later */
  .steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .s3 { padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); display: grid; gap: 10px; align-content: start; }
  .s3 .n { font: 12px var(--mono); color: var(--brand-ink); letter-spacing: .06em; }
  .s3 h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
  .s3 p { margin: 0; font-size: 14.5px; color: var(--muted); }
  .s3 .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
  .s3 .chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; background: var(--sunken); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
  .s3 .chip.add { background: transparent; border-style: dashed; color: var(--muted); }
  .every { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; padding: 16px; border-radius: 14px; background: var(--sunken); }
  .every small { font: 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
  .every span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 8px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
  .every span svg { width: 15px; height: 15px; color: var(--brand-ink); }
  @media (max-width: 900px) { .steps3 { grid-template-columns: 1fr; } }
}
.pg .shot-win .hide-sm { white-space: nowrap; }
@media (max-width: 760px) { .pg .shot-win .hide-sm { display: none; } }

/* ===================== INNER-PAGE LAYOUT (reads as an inner page, not the homepage) ===================== */
.pg {
  /* Page hero: a quiet band, copy on the left, product on the right */
  .ph { position: relative; padding: 40px 0 56px; background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
  .ph::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: none; /* hero grid lines removed (client, 14 Nov) */
    background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 90% at 80% 20%, #000, transparent 75%); mask-image: radial-gradient(70% 90% at 80% 20%, #000, transparent 75%); opacity: .55; }
  .ph-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
  .ph-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
  .ph-h1 { margin: 0; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
  .ph-h1 .dim { display: block; color: #808A84; }
  .ph .lead { max-width: 500px; }
  .ph .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
  .ph-facts { display: flex; gap: 0; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line-2); width: 100%; max-width: 500px; }
  .ph-facts div { flex: 1; padding: 14px 16px 0 0; }
  .ph-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
  .ph-facts dt { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .ph-facts dd { margin: 4px 0 0; font-size: 28px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
  .ph-visual { position: relative; }
  .ph-visual .shot { aspect-ratio: 16 / 10.5; }
  .ph-visual .float-card.fc-1 { left: -28px; bottom: -22px; }
  @media (max-width: 960px) {
    .ph { padding: 28px 0 40px; }
    .ph-grid { grid-template-columns: 1fr; }
    .ph-visual .float-card { display: none; }
  }

  /* In-page menu under the header */
  .subnav { position: sticky; top: 64px; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .subnav.stuck { background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 0 6px 18px -14px rgba(14, 26, 21, .35); }
  .subnav-in { display: flex; align-items: center; gap: 20px; height: 52px; }
  .sn-title { font-size: 14px; font-weight: 600; color: var(--ink); padding-right: 20px; border-right: 1px solid var(--line-2); }
  .sn-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .sn-links::-webkit-scrollbar { display: none; }
  .sn-links a { flex: none; height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 8px; font-size: 13.5px; color: var(--muted); transition: background .2s, color .2s; }
  .sn-links a:hover { color: var(--ink); background: var(--sunken); }
  .sn-links a.on { color: var(--ink); background: var(--sunken); text-shadow: 0 0 .4px currentColor; box-shadow: inset 0 0 0 1px var(--line-2); } /* weight stays 400 so the row never changes width */
  .sn-cta { margin-left: auto; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .subnav.stuck .sn-cta { opacity: 1; pointer-events: auto; }
  @media (max-width: 760px) { .sn-title, .sn-cta { display: none; } .subnav-in { height: 48px; } }
  /* Safari / iPhone (client, 14 Nov): the sticky bar shook while scrolling. Own GPU layer, and no live blur on touch screens. */
  .subnav { -webkit-transform: translateZ(0); transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  @media (hover: none), (pointer: coarse) { .subnav, .subnav.stuck { -webkit-backdrop-filter: none; backdrop-filter: none; background: color-mix(in srgb, var(--surface) 97%, transparent); } }

  /* Section heads: heading left, description right */
  .pg-sec { padding: 72px 0 8px; }
  .pg-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .pg-head .eyebrow { margin-bottom: 14px; }
  .pg-h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
  .pg-h2 .dim { color: #808A84; }
  .pg-head .lead { max-width: 520px; font-size: 16.5px; justify-self: end; }
  @media (max-width: 860px) { .pg-sec { padding: 48px 0 8px; } .pg-head { grid-template-columns: 1fr; align-items: start; } .pg-head .lead { justify-self: start; } }
}

/* Client rule: every heading on two lines (first line ink, second line olive grey) */
h1 .l1, h1 .l2, h2 .l1, h2 .l2 { display: block; }
h1 .l2, h2 .l2 { color: #808A84; }
@media (min-width: 1000px) {
  .pg .ph-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
  .pg .ph-h1 { font-size: clamp(36px, 3.5vw, 50px); white-space: nowrap; }
  .pg .pg-h2 { white-space: nowrap; }
  .pg .ph .lead { max-width: 580px; }
}

/* One-record loop: the current step gets a soft ring and a darker label */
.pg .fs .dot { transition: background .3s, border-color .3s, color .3s, box-shadow .35s; }
.pg .fs.now .dot { box-shadow: 0 0 0 6px var(--glow); transform: scale(1.08); }
.pg .fs b, .pg .fs small { transition: color .3s; }
.pg .fs:not(.on) b { color: var(--muted); }
.pg .fs.now small { color: var(--brand-ink); }

/* Products hero: live window with module tabs and stacked real screens */
.pg .shot-win .win-bar { gap: 12px; }
.pg .vtabs { display: flex; gap: 2px; margin-left: auto; padding: 3px; border-radius: 9px; background: var(--sunken); }
.pg .vt { position: relative; height: 26px; padding: 0 10px; border-radius: 7px; font-size: 12px; font-weight: 500; color: var(--muted); overflow: hidden; transition: background .2s, color .2s; white-space: nowrap; }
.pg .vt:hover { color: var(--ink); }
.pg .vt.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1), 0 0 0 1px var(--line); }
.pg .vt i { position: absolute; left: 8px; right: 8px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.pg .shot-win .win-bar .right { margin-left: 0; }
.pg #heroShot { position: relative; }
.pg #heroShot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; will-change: opacity, transform; }
.pg #heroShot img:not(.on) { opacity: 0; }
.pg .float-card { pointer-events: none; }
@media (max-width: 760px) { .pg .vtabs { margin-left: auto; } .pg .vt { padding: 0 8px; font-size: 11.5px; } .pg .shot-win .live { display: none; } }
.pg .shot-win .crumbs { white-space: nowrap; min-width: 0; overflow: hidden; }
.pg .float-card .fc-row span, .pg .float-card .fc-row b { white-space: nowrap; }

/* Products hero: coded sample screens (same as the DMS page), drawn at 760 px and scaled to fit */
.pg .hs-box { position: relative; aspect-ratio: 760 / 470; overflow: hidden; background: var(--surface); }
.pg .hs-canvas { position: absolute; left: 0; top: 0; width: 760px; height: 470px; transform-origin: 0 0; }

/* ============ Before & after: strike table (shared by every page; same as the used-car page) ============ */
.pg {
}

/* ===== Problem cards for pages that tell the problem with their own story (CRM, Service, Used Car), 13 Nov.
   Same look as the light-red .mk-soft cards on the other product pages. Markup: ul.p2-grid.pg-pains > li.pain2.pg-pain ===== */
body main .pains2 .p2-grid.pg-pains { width: 100%; max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; justify-content: stretch; text-align: left; }
body main .pg-pains .pain2.pg-pain { height: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; border-radius: 16px; background: #FFF4F1; border: 1px solid #F7D9D1; box-shadow: none; white-space: normal; transition: background .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease); }
body main .pg-pains .pain2.pg-pain:hover { background: #FFEDE8; border-color: #EDB9AB; box-shadow: 0 14px 30px -20px rgba(194, 65, 12, .45); transform: translateY(-2px); }
body main .pg-pains .pg-pain .p2-ico { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 4px; background: #fff; border: 1px solid #F3CFC5; color: #C2410C; }
body main .pg-pains .pg-pain .p2-ico svg { width: 18px; height: 18px; }
body main .pg-pains .pg-pain b { font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
body main .pg-pains .pg-pain p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #5B4A45; }
body main .pains2:has(.pg-pains) { margin-top: 40px; align-items: stretch; }
body main .pains2:has(.pg-pains) .p2-h { align-self: flex-start; }
@media (max-width: 960px) { body main .pains2 .p2-grid.pg-pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { body main .pains2 .p2-grid.pg-pains { grid-template-columns: minmax(0, 1fr); } }

/* ===== Inner-page hero: one rule for every page except the homepage (client, 13 Nov) =====
   Shorter hero, copy and visual start at the top, so the breadcrumb and the title sit at the same place on
   every page: breadcrumb 28px under the header, title 14px under the breadcrumb. */
@media (min-width: 961px) {
  body main.pg .ph { padding: 28px 0 40px; }
  body main.pg.mk-float .ph { padding-bottom: 64px; }
  body main.pg .ph .ph-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: clamp(32px, 4vw, 64px); }
  body main.pg .ph .ph-copy { gap: 16px; }
  body main.pg .ph .ph-h1 { font-size: clamp(36px, 3.4vw, 50px); white-space: normal; }
  body main.pg .ph .ph-h1 .l1, body main.pg .ph .ph-h1 .l2 { white-space: nowrap; }
  body main.pg.mk-float .ph-visual > .ph-card { bottom: -28px; }
  body main .crumb-top { margin: 0 0 -2px; }
}
/* Hero breadcrumb and title sat tight under the header (client, 14 Nov): only the left copy column moves down.
   28px hero padding + 32px here = 60px from the header to the breadcrumb. The visual on the right does not move. */
@media (min-width: 961px) {
  html body main .ph .ph-copy { padding-top: 32px; }
}
@media (min-width: 961px) {
  /* shorter hero: the screen column has a fixed width, so the screen (16:10) does not grow tall with the page */
  body main.pg .ph .ph-grid { grid-template-columns: minmax(0, 1fr) minmax(0, calc(560px + var(--grow) * .4)); }
  body main.pg.mk-float .ph { padding-bottom: 52px; }
  body main.pg.mk-float .ph-visual > .ph-card { bottom: -20px; }
}
