/* Design shared by individual case pages other than Customers.ai. */
.case-main.case-unified{background:#f0f1f5;width:100%;align-self:stretch;min-width:0}
.case-unified .case-hero{background:#0f0f0f}
.case-unified .case-hero-row,.case-unified .case-hero-info{display:contents}
.case-unified .case-back-icon{display:none}
.case-unified .case-back{font-size:.94rem;letter-spacing:-.02em;line-height:1.3;color:rgba(255,255,255,.6)}
.case-unified .case-content>.case-container{width:calc(100% - 64px);max-width:1280px;margin-inline:auto}
.case-unified .caption,.case-unified .case-gallery figcaption{font-size:13.6px}
.case-unified .case-stats{border:1px solid rgba(34,34,34,.15);gap:3px;background:transparent}
.case-unified .case-stats>div{padding:24px 12px;background:#fff;transition:background-color .4s cubic-bezier(.12,.23,.5,1)}
.case-unified .case-stats>div:hover{background:#f0f1f5}
.case-unified .case-heading>small{display:inline-flex;align-items:center;justify-self:start;gap:8px;max-width:100%;color:#494f5b}
.case-unified .bv-section-label-icon{width:20px;height:20px;flex:0 0 20px;display:block;object-fit:contain}
.case-unified .case-heading h2{color:#6b7280}
.case-unified .case-scope{border:1px solid rgba(34,34,34,.15)}
.case-unified .case-scope .case-card{padding:24px;background:#fff;transition:background-color .4s cubic-bezier(.12,.23,.5,1)}
.case-unified .case-scope .case-card:hover{background:#f0f1f5}
.case-unified .case-category{display:flex;align-items:center;gap:7px;color:#494f5b;font-size:10px;font-family:'InterSite Bold',Arial,sans-serif;font-weight:700;text-transform:none}
.case-unified .case-scope .case-card h3{font-size:1.2rem;color:#0f0f0f}
.case-unified .case-scope .case-card p{font-size:1rem;line-height:1.5;color:#3d4452}
.case-unified .case-service a{color:#4f46e5;font-family:'InterSite Regular',Arial,sans-serif;font-weight:400;font-size:.88rem;display:inline-flex;align-items:center;gap:3px}
.case-unified .case-approach li h3{font-size:1.1rem;color:#494f5b;margin:0}
.case-unified .case-approach li p{font-size:1rem;line-height:1.5;color:#494f5b}
.case-unified .case-approach li>span{font-family:'InterSite Bold',sans-serif;font-weight:700;font-size:1.2rem;color:#999;letter-spacing:0;line-height:1.2}
.case-unified .case-results .case-card{padding:24px;border-radius:16px;background:#fafafa;transition:background-color .25s ease-in-out,transform .25s ease-in-out}
.case-unified .case-results .case-card:hover{background:#f0f1f5;transform:translateY(-3px)}
.case-unified .case-results .case-card h3{font-size:1.1rem;color:#0f0f0f}
.case-unified .case-results .case-card p{font-size:1.1rem;line-height:1.5;color:#3d4452}
.case-unified .case-testimonial{background:#0f0f0f;border-radius:20px;padding:24px;overflow:hidden}
.case-unified .case-testimonial blockquote{font-size:1.25rem;line-height:1.6;color:#d4d4d4}
.case-unified .case-testimonial>div:first-child>strong{font-size:.9rem;line-height:1.6}
.case-unified .review-metrics span{font-family:'InterSite Regular',sans-serif;font-weight:400;font-size:.7rem;line-height:1.6;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.7);margin-top:0}
.case-unified .case-next small{font-family:'InterSite Regular',Arial,sans-serif;font-size:.75rem;letter-spacing:-.01em;line-height:1.3;color:#3d4452}
.case-unified .case-next strong{font-family:'InterSite Bold',Arial,sans-serif;font-size:1rem;letter-spacing:-.03em;line-height:1.3;color:#0f0f0f}
@media(min-width:701px){
.case-unified .case-approach ol{display:flex;flex-direction:column;gap:24px;padding:32px 0}
.case-unified .case-approach li{margin:0;padding:0 0 24px;align-items:center;gap:8px;border-bottom:1px solid #999}
.case-unified .case-approach li>span{flex:0 0 40px}
.case-unified .case-testimonial{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:72px;align-items:center}
.case-unified .review-metrics{border-left:1px solid #292929;padding-left:24px}
.case-unified .quote-mark{font-size:4rem;line-height:1.2;color:#d4d4d4}
.case-unified .review-metrics strong{font-family:'InterSite Bold',sans-serif;font-weight:700;font-size:2rem;line-height:1.6;letter-spacing:0;color:#fff}
.case-unified .review-metrics>div{display:flex;flex-direction:column;gap:4px}
.case-unified .case-next{width:100%;height:100px;box-sizing:border-box;padding:24px;gap:0;transition:background-color .2s ease-out,transform .2s ease-out}
.case-unified .case-next:hover{background:#fafafa;transform:translateY(-3px)}
}
@media(min-width:1024px){
.case-unified .case-hero{padding:48px 32px 64px}
.case-unified .case-hero>.case-container{width:100%;max-width:1280px;margin-inline:auto}
.case-unified .case-hero-row{display:flex;align-items:flex-start;gap:10px;padding:48px 0 24px}
.case-unified .case-hero-info{display:block}
.case-unified .case-back{display:inline-flex;align-items:center;gap:6px;padding:0;margin:0;border-radius:6px;font-family:'InterSite Regular',sans-serif;font-weight:400}
.case-unified .case-back:hover{background:rgba(255,255,255,.2)}
.case-unified .case-back-mobile-arrow{display:none}
.case-unified .case-back-icon{display:block;width:10.238px;height:15.471px}
.case-unified .case-tags{gap:12px;margin:0;padding-bottom:24px}
.case-unified .case-tags span{padding:5px 12px;border-radius:6px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.2);font-family:'InterSite Regular',sans-serif;font-weight:400;font-size:.65rem;line-height:1.2;color:#888}
.case-unified .case-hero h1{font-size:4rem;line-height:1.08;letter-spacing:-.02em;margin-bottom:0}
.case-unified .case-hero p{margin-top:12px;font-size:1.125rem;line-height:1.5;color:#c4c5cd}
.case-unified .case-heading h2{font-size:48px;line-height:1.2;letter-spacing:-.04em}
.case-unified .case-heading>small{font-size:.88rem}
.case-unified .case-stats strong{font-size:3rem}
.case-unified .case-stats span{font-size:.75rem}
.case-unified .case-approach{grid-template-columns:minmax(0,1fr) 400px;gap:40px}
.case-unified .case-approach .case-notes{width:400px;height:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:0;padding:32px 20px 20px}
}
@media(max-width:700px){.case-unified .case-content>.case-container{width:calc(100% - 40px)}.case-unified .case-testimonial{gap:20px}}
@media(prefers-reduced-motion:reduce){.case-unified .case-heading h2{color:#0f0f0f}.case-unified .case-results .case-card,.case-unified .case-next{transition:none}.case-unified .case-results .case-card:hover,.case-unified .case-next:hover{transform:none}}

.case-unified .case-category .case-icon{width:24px;height:24px;object-fit:contain;flex:none}
.case-unified .case-results .case-icon{display:block;width:24px;height:24px;object-fit:contain;margin-bottom:16px}


/* BV_CASE_PHONE_SYNC_V1 — copied from the approved Customers.ai Phone rules.
   Scoped to the nine case-unified pages only. No markup, media, nav or JS changes. */
@media (max-width: 809.98px) {
  /* Hero and tags */
  .case-unified .case-back { display: flex; align-items: center; gap: .25em; width: fit-content; }
  .case-unified .case-back-mobile-arrow { display: block; flex-shrink: 0; }
  .case-unified .case-hero { padding: 96px 16px 48px; }
  .case-unified .case-hero > .case-container { width: 100%; margin: 0; }
  .case-unified .case-hero h1 { font-size: 32px; line-height: 1.1; }
  .case-unified .case-hero p { color: #C4C5CD; }
  .case-unified .case-tags { margin-bottom: 16px; }
  .case-unified .case-tags span {
    color: #888888;
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .20);
  }

  /* Three stats as three horizontal rows */
  .case-unified .case-stats {
    display: flex; flex-direction: column; gap: 2px;
    border-radius: 16px; background: #F0F1F5;
  }
  .case-unified .case-stats > div {
    display: flex; align-items: center; gap: 16px;
    padding: 16px; text-align: left; border: 0;
  }
  .case-unified .case-stats strong {
    flex: 1 1 0; min-width: 0;
    font-family: 'InterSite Bold', sans-serif; font-weight: 700;
    font-size: 1.31rem; line-height: 1.2; color: #0F0F0F;
  }
  .case-unified .case-stats span {
    flex: 1 1 0; min-width: 0; margin: 0;
    font-family: 'InterSite Regular', sans-serif; font-weight: 400;
    font-size: .75rem; line-height: 1.2; color: #666B73;
  }
  .case-unified .case-stats + .case-section { margin-top: 24px; }

  /* Scope cards and their existing per-project Phosphor icons */
  .case-unified .case-scope { grid-template-columns: minmax(0, 1fr); }
  .case-unified .case-scope .case-card { padding: 16px; }
  .case-unified .case-category {
    color: #494F5B; font-size: 10.4px;
    font-family: 'InterSite Regular', sans-serif; font-weight: 400;
  }
  .case-unified .case-category .case-icon { width: 14px; height: 14px; }
  .case-unified .case-scope .case-service { margin: 14px 0 0; }

  /* Approach: index above the heading, dividers between steps */
  .case-unified .case-approach { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .case-unified .case-approach ol { display: flex; flex-direction: column; gap: 24px; }
  .case-unified .case-approach li {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 4px; margin: 0; padding: 0 0 24px;
    border-bottom: 1px solid rgba(34, 34, 34, .18);
  }
  .case-unified .case-approach li:last-child { border-bottom: 0; padding-bottom: 0; }

  /* Three results as compact vertical cards */
  .case-unified .case-results { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .case-unified .case-results .case-card { min-height: 0; padding: 16px; }
  .case-unified .case-results .case-icon { width: 20px; height: 20px; margin-bottom: 8px; }

  /* Testimonial: compact metric rows, only where existing */
  .case-unified .case-testimonial { grid-template-columns: minmax(0, 1fr); gap: 16px; padding:16px; }
  .case-unified .case-testimonial blockquote { margin: 16px 0 20px; font-size: 17.6px; }
  .case-unified .review-metrics {
    display: flex; flex-direction: column; flex-wrap: nowrap; gap: 14px;
  }
  .case-unified .review-metrics:empty { display: none; }
  .case-unified .review-metrics > div {
    display: flex; align-items: baseline; gap: 16px; margin: 0;
  }
  .case-unified .review-metrics strong {
    font-size: 1.3rem; line-height: 1.6; white-space: nowrap;
  }
  .case-unified .review-metrics span { font-size: 11.2px; line-height: 1.4; }
}

.case-unified .case-back-phone-icon{display:none}
@media(max-width:809.98px){.case-unified .case-back-mobile-arrow{display:none}.case-unified .case-back-phone-icon{display:block;flex-shrink:0}}

@media(max-width:809.98px){.case-unified .case-next{padding:16px}}

@media(max-width:809.98px){.case-unified .case-next{height:auto;min-height:0;padding:16px;gap:12px}.case-unified .case-next svg{flex:0 0 auto}.case-unified .case-next>span{min-width:0;overflow-wrap:anywhere}.case-unified .case-previous+.case-next{margin-top:12px}}

@media(min-width:810px){.case-unified .case-next{display:inline-flex;vertical-align:top;width:calc((100% - 24px)/2);height:auto;min-height:100px;gap:12px}.case-unified .case-previous+.case-next{margin-left:24px}.case-unified .case-previous>span{text-align:right}.case-unified .case-next>span{min-width:0;overflow-wrap:anywhere}.case-unified .case-next svg{flex:0 0 auto}}
