/* =========================================================
   HOMEPAGE CONVERSION LAYER — 26 November 2026
   Extends home-uplift.css for the category-first homepage:
   screenshot-led feature rows, problem↔solution pairs,
   staged replacement, flipped CTAs. Scoped to this page.
   ========================================================= */
.home-uplift .hc-features {
  --hc-feature-spacing: clamp(24px, 3vw, 36px);
  padding-block: clamp(36px, 4vw, 56px);
  scroll-margin-top: 120px;
}
.hc-features .hu-section-intro { display: block; margin-bottom: 24px; }
.hc-features .hu-section-intro h2 { margin-bottom: 8px; }
.hc-features .hu-section-intro > p:last-child { margin-bottom: 0; }
.home-uplift .hc-features .hu-eyebrow { margin-bottom: 8px; }

/* --- Featured product rows ---------------------------------------- */
.hc-tile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 44px; align-items: start; }
.hc-tile + .hc-tile { margin-top: var(--hc-feature-spacing); padding-top: var(--hc-feature-spacing); border-top: 1px solid #dbe5ee; }
.hc-tile--reverse .hc-tile-copy { order: 2; }
.hc-tile--reverse .mk-shot { order: 1; }
.hc-tile-copy { padding-top: 16px; }
.hc-tile-copy .hu-fine { color: #475569; }
.hc-tile-copy .hc-plan-note { margin-bottom: 24px; }
.hc-tile-copy .he-button { padding-inline: 22px; }
.hc-tile-copy .he-button span[aria-hidden] { font-size: 17px; line-height: 1; }
.hc-tile .mk-shot { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #fff; border: 1px solid #dbe5ee; border-radius: 6px; box-shadow: none; transform: none; margin: 0; overflow: hidden; }
.hc-tile .mk-shot-bar > span:first-child { white-space: nowrap; }
.hc-tile .mk-shot-link { background: var(--hu-pale, #f0f4f8); }
.hc-tile .mk-shot-link img { aspect-ratio: auto; object-fit: contain; }
.hc-tile .mk-enlarge { position: static; display: table; margin: 6px 12px 6px auto; }
.hc-tile .mk-shot figcaption { padding: 10px 12px; }

@media (max-width: 1100px) {
  .hc-tile { grid-template-columns: 1fr; }
  .hc-tile-copy { padding-top: 0; }
  .hc-tile--reverse .hc-tile-copy { order: 0; }
}

/* --- Compact capability grid --------------------------------------- */
.hc-capability-grid { margin-top: var(--hc-feature-spacing); padding-top: var(--hc-feature-spacing); border-top: 1px solid #dbe5ee; }
.hc-capability-grid ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hc-capability-grid li > a { display: block; height: 100%; padding: 18px 20px; border: 1px solid #dbe5ee; border-radius: 6px; background: #fff; text-decoration: none; }
.hc-capability-grid li > a:hover { background: #f0f4f8; border-color: #0086a6; }
.hc-capability-grid li > a:focus-visible { outline-offset: 2px; }
.hc-capability-grid li > a strong { color: #0b233a; font-size: 16px; letter-spacing: -.01em; }
.hc-capability-grid li > a span { display: block; margin-top: 6px; color: #475569; font-size: 13px; line-height: 1.55; }
.hc-capability-more { margin-top: 18px; color: #475569; font-size: 14px; line-height: 1.65; }
@media (max-width: 800px) { .hc-capability-grid ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hc-capability-grid ul { grid-template-columns: 1fr; } }

/* --- Problem ↔ Solution pairs ------------------------------------- */
.hc-problems { background: #fff; }
.hc-problems .hu-section-intro > p { max-width: 480px; justify-self: end; }
.hc-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hc-pair { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #dbe5ee; border-radius: 7px; background: #fff; overflow: hidden; }
.hc-pair-problem { padding: 26px 34px 26px 26px; z-index: 1; }
.hc-pair-problem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(240, 244, 248, 0) calc(50% - 30px), rgba(240, 244, 248, 0.85) calc(50% - 12px), rgba(240, 244, 248, 0.85) calc(50% + 30px), rgba(240, 244, 248, 0) calc(50% + 12px)); pointer-events: none; }
.hc-pair-problem > * { position: relative; }
.hc-pair-problem h3 { font-size: 21px; }
.hc-pair-problem p:not(.hu-eyebrow) { color: #475569; font-size: 15px; }
.hc-pair-problem .hu-eyebrow { color: #7b4b00; margin-bottom: 10px; }
.hc-pair-solution { padding: 26px 26px 26px 34px; z-index: 2; border-radius: 0 7px 7px 0; background: rgba(240, 244, 248, 0.85); }
.hc-pair-solution .hu-eyebrow { color: #075b78; margin-bottom: 10px; }
.hc-pair-solution p:not(.hu-eyebrow) { color: #334155; font-size: 15px; }
.hc-pair .hc-pivot { position: absolute; left: 50%; top: 26px; transform: translateX(-50%); z-index: 3; width: 30px; height: 30px; display: grid; place-items: center; background: #00d4ff; color: #062238; border-radius: 50%; font-size: 15px; box-shadow: 0 0 0 4px #fff; }
@media (max-width: 700px) {
  .hc-pairs { grid-template-columns: 1fr; }
  .hc-pair { grid-template-columns: 1fr; }
  .hc-pair-problem { padding: 22px 22px 14px 22px; }
  .hc-pair-problem::after { content: none; }
  .hc-pair-solution { padding: 18px 22px 22px 22px; border-radius: 0 0 7px 7px; border-top: 2px solid #dbe5ee; }
  .hc-pair .hc-pivot { top: auto; bottom: 47px; transform: rotate(90deg); width: 26px; height: 26px; box-shadow: 0 0 0 3px #fff; }
}

/* --- Staged replacement ------------------------------------------- */
.hc-replace { background: #fff; }
.hc-replace .hu-section-intro > p { max-width: 480px; justify-self: end; }
.hc-replace-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: stage; }
.hc-replace-stage { position: relative; padding: 28px 26px 30px; border: 1px solid #cbd5e1; border-radius: 7px; background: #fff; }
.hc-replace-stage:nth-child(2n) { background: #f6f9fc; }
.hc-replace-stage h3 { font-size: 19px; line-height: 1.35; margin-bottom: 0; }
.hc-replace-stage .hc-arrow { color: #0086a6; font-size: 24px; line-height: 1; margin: 14px 0; }
.hc-replace-stage p:not(.hu-eyebrow):not(.hc-arrow) { color: #475569; font-size: 14.5px; }
.hc-replace-stage .hu-link { margin-top: 14px; }
@media (max-width: 1100px) { .hc-replace-stages { grid-template-columns: 1fr; } }
.hc-switching { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px 56px; margin-top: 64px; padding-top: 44px; border-top: 1px solid #cbd5e1; }
.hc-switching h3 { font-size: 24px; margin-bottom: 14px; }
.hc-switching-copy > p { color: #475569; }
.hc-switching .hu-link-row { margin-top: 18px; }
@media (max-width: 900px) { .hc-switching { grid-template-columns: minmax(0, 1fr); } }
.hc-switching-credentials .he-credentials--compact > .container { padding-inline: 0; }
.hc-switching-credentials .he-credentials-list { flex-wrap: wrap; }
.hc-switching-credentials .he-credential strong { color: #0b233a; }
.hc-switching-credentials .he-credential p { color: #475569; }
.hc-switching-credentials .he-credential-mark { color: #006b88; border-color: #006b88; }

/* --- Plan cards / CTA refinements ---------------------------------- */
.hu-plans .hc-plan-button { color: #062238 !important; }
