/**
 * Shared case study layout (AppStudio)
 */
:root{
  --cs-ink:#0b1220;
  --cs-muted:#5b6475;
  --cs-blue:#0057ff;
  --cs-soft:#f3f6fb;
  --cs-line:rgba(11,18,32,.1);
  --cs-max:920px;
  --cs-font:'Poppins',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
}
.cs,.cs *{ box-sizing:border-box; }
.cs{
  font-family:var(--cs-font);
  color:var(--cs-ink);
  background:#fff;
  line-height:1.65;
  overflow-x:clip;
}
.cs a{ text-decoration:none; }
.cs img{ max-width:100%; height:auto; display:block; }
.cs-wrap{
  width:100%;
  max-width:var(--cs-max);
  margin:0 auto;
  padding:0 24px;
}
.cs-hero{
  position:relative;
  color:#fff;
  background:#0b1220;
  padding:100px 0 72px;
  overflow:hidden;
}
.cs-hero-media{
  position:absolute;
  inset:0;
  z-index:0;
}
.cs-hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.45;
}
.cs-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(8,12,22,.55) 0%, rgba(8,12,22,.88) 100%);
}
.cs-hero-inner{ position:relative; z-index:1; }
.cs-label{
  margin:0 0 14px;
  font-size:12px;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(255,255,255,.65);
}
.cs-hero h1{
  margin:0 0 18px;
  font-size:clamp(30px,4.2vw,46px);
  font-weight:700;
  letter-spacing:-0.03em;
  line-height:1.15;
  max-width:760px;
}
.cs-hero-lead{
  margin:0 0 28px;
  font-size:17px;
  line-height:1.7;
  color:rgba(255,255,255,.85);
  max-width:640px;
}
.cs-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 24px;
  font-size:13px;
  color:rgba(255,255,255,.7);
}
.cs-meta strong{ color:#fff; font-weight:600; }
.cs-section{ padding:64px 0; border-bottom:1px solid var(--cs-line); }
.cs-section h2{
  margin:0 0 16px;
  font-size:clamp(24px,3vw,32px);
  font-weight:600;
  letter-spacing:-0.025em;
}
.cs-section p{
  margin:0 0 14px;
  font-size:15.5px;
  color:var(--cs-muted);
  max-width:720px;
}
.cs-section ul{
  margin:16px 0 0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
  max-width:720px;
}
.cs-section li{
  position:relative;
  padding-left:28px;
  font-size:15px;
  color:var(--cs-ink);
  line-height:1.55;
}
.cs-section li::before{
  content:"";
  position:absolute;
  left:0;
  top:.4em;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#dce9ff;
  box-shadow:inset 0 0 0 1px rgba(0,87,255,.25);
}
.cs-section li::after{
  content:"";
  position:absolute;
  left:4px;
  top:.55em;
  width:5px;
  height:8px;
  border-right:1.5px solid var(--cs-blue);
  border-bottom:1.5px solid var(--cs-blue);
  transform:rotate(45deg);
}
.cs-stats{
  background:var(--cs-soft);
  border-bottom:1px solid var(--cs-line);
  padding:56px 0;
}
.cs-stats-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.cs-stat{
  background:#fff;
  border:1px solid var(--cs-line);
  border-radius:12px;
  padding:22px 20px;
}
.cs-stat strong{
  display:block;
  font-size:clamp(22px,2.4vw,28px);
  font-weight:700;
  letter-spacing:-0.03em;
  color:var(--cs-ink);
  margin-bottom:8px;
}
.cs-stat span{
  font-size:13.5px;
  line-height:1.5;
  color:var(--cs-muted);
}
.cs-close{
  background:#0b1220;
  color:#fff;
  padding:56px 0;
}
.cs-close-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:24px 40px;
}
.cs-close h2{
  margin:0 0 8px;
  font-size:clamp(22px,2.6vw,30px);
  font-weight:600;
  letter-spacing:-0.025em;
}
.cs-close p{
  margin:0;
  font-size:15px;
  color:rgba(255,255,255,.68);
  max-width:480px;
}
.cs-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
  font-size:14px;
  font-weight:600;
  color:#0b1220 !important;
  background:#fff;
  padding:14px 22px;
  border-radius:2px;
}
.cs-cta::after{ content:"\2192"; }
.cs-cta:hover{ background:#e8edf5; }
.cs-back{
  display:inline-block;
  margin-bottom:20px;
  font-size:13px;
  font-weight:600;
  color:rgba(255,255,255,.75);
}
.cs-back:hover{ color:#fff; }
header{ position:relative; z-index:50; }
@media (max-width:800px){
  .cs-stats-grid{ grid-template-columns:1fr; }
  .cs-hero{ padding:80px 0 56px; }
  .cs-wrap{ padding:0 16px; }
  .cs-close-inner{ flex-direction:column; align-items:flex-start; }
}
