/* Selected work and case study pages. Uses the FloStaq palette:
   primary #0F172A, secondary #334155, cta #0369A1, background #F8FAFC. */

/* Long-form case study text */
.cs-article {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.cs-article h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 700;
  color: #0F172A;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
}
.cs-article p,
.cs-article li {
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.cs-article p { margin-bottom: 1rem; }
.cs-article ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.cs-article li { margin-bottom: 0.625rem; }
.cs-article li::marker { color: #0369A1; }
.cs-article strong { color: #0F172A; font-weight: 600; }

/* Small print under screenshots and results */
.cs-note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #64748B;
}

/* Desktop screenshots */
.cs-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(15, 23, 42, 0.35);
}

/* Phone screenshots */
.cs-phone {
  border-radius: 28px;
  overflow: hidden;
  border: 6px solid #0F172A;
  background: #0F172A;
  box-shadow: 0 30px 60px -24px rgba(15, 23, 42, 0.45);
}
.cs-frame img,
.cs-phone img {
  display: block;
  width: 100%;
  height: auto;
}

/* Raised middle phone in a row of three */
@media (min-width: 640px) {
  .cs-phone-raised { transform: translateY(-24px); }
}

/* Lower second phone on the homepage cards */
.cs-phone-offset { transform: translateY(24px); }

@media (max-width: 639px) {
  .cs-phone { border-width: 4px; border-radius: 18px; }
}
