/* Case-study pages: extends ../insights/article.css (site chrome + article layout). */

    .cs .ar-meta {
      gap: 8px;
    }

    .cs-hero {
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }

    .cs-headline {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 6px 14px;
      margin: 8px 0 8px;
      padding: 22px 24px;
      border-radius: 20px;
      background: var(--page);
      border: 1px solid var(--line);
    }

    .cs-headline strong,
    .cs-stat strong {
      background: linear-gradient(110deg, #b8321f 0%, #cd3e2d 35%, #e26c49 80%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 800;
      line-height: 1;
      letter-spacing: -.04em;
    }

    .cs-headline strong {
      font-size: clamp(40px, 6vw, 56px);
    }

    .cs-headline span {
      color: var(--text);
      font-size: 18px;
      font-weight: 700;
    }

    .cs-snapshot {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 22px;
    }

    .cs-snapshot div {
      padding: 16px 18px;
      border-radius: 16px;
      border: 1px solid var(--line);
    }

    .cs-snapshot dt,
    .cs-compare .cs-row-head span {
      color: var(--green);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .cs-snapshot dd {
      margin-top: 4px;
      color: var(--text);
      font-size: 15px;
      line-height: 1.5;
      font-weight: 600;
    }

    .cs-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
      gap: 12px;
      margin-bottom: 22px;
    }

    .cs-stat {
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding: 20px 18px;
      border-radius: 18px;
      background: var(--page);
      border: 1px solid var(--line);
    }

    .cs-stat strong {
      font-size: 38px;
    }

    .cs-stat span {
      color: var(--text);
      font-size: 15px;
      font-weight: 700;
      line-height: 1.3;
    }

    .cs-stat small {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }

    .cs-compare {
      margin-bottom: 22px;
      border: 1px solid var(--line);
      border-radius: 18px;
      overflow: hidden;
    }

    .cs-row {
      display: grid;
      grid-template-columns: 1fr 1.3fr 1.3fr;
      gap: 14px;
      padding: 14px 18px;
      font-size: 15px;
      line-height: 1.5;
    }

    .cs-row + .cs-row {
      border-top: 1px solid var(--line);
    }

    .cs-row-head {
      background: var(--page);
    }

    .cs-row span:last-child {
      color: var(--text);
      font-weight: 600;
    }

    .cs-quote {
      margin: 8px 0 22px;
      padding: 22px 26px;
      border-left: 4px solid var(--green);
      border-radius: 0 18px 18px 0;
      background: var(--green-light);
    }

    .ar-body .cs-quote p {
      margin: 0;
      color: var(--text);
      font-size: 19px;
      font-style: italic;
      line-height: 1.6;
    }

    .cs-quote cite {
      display: block;
      margin-top: 10px;
      color: var(--green);
      font-size: 14px;
      font-style: normal;
      font-weight: 700;
    }

    .cs-figure {
      margin: 40px 0 8px;
    }

    .cs-figure img {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      border-radius: 24px;
      border: 1px solid var(--line);
    }

    .cs-cta {
      margin-top: 56px;
      padding: 32px;
      border-radius: 24px;
      background: var(--dark);
      color: var(--white);
    }

    .ar-body .cs-cta h2 {
      margin-top: 0;
      color: var(--white);
    }

    .ar-body .cs-cta p {
      color: rgba(255, 255, 255, .75);
    }

    .cs-cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      padding: 7px 7px 7px 22px;
      border-radius: 999px;
      background: linear-gradient(110deg, #b8321f 0%, #cd3e2d 45%, #e26c49 100%);
      color: var(--white);
      font-size: 15px;
      font-weight: 700;
      transition: box-shadow .3s ease, transform .3s ease;
    }

    .cs-cta-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 28px -14px rgba(205, 62, 45, .7);
    }

    .cs-cta-btn span {
      display: grid;
      place-items: center;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--white);
      color: var(--green);
    }

    .ar-body .cs-note {
      margin-top: 18px;
      color: #8a8a8a;
      font-size: 13px;
      text-align: center;
    }

    @media (max-width: 700px) {
      .cs-snapshot {
        grid-template-columns: 1fr;
      }

      .cs-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .cs-stat strong {
        font-size: 30px;
      }

      .cs-row-head {
        display: none;
      }

      .cs-row {
        grid-template-columns: 1fr;
        gap: 4px;
      }

      .cs-row span::before {
        content: attr(data-label) ": ";
        color: var(--muted);
        font-weight: 600;
      }

      .cs-quote {
        padding: 18px 20px;
      }

      .ar-body .cs-quote p {
        font-size: 17px;
      }

      .cs-cta {
        padding: 24px 20px;
      }

      .cs-cta-btn {
        width: 100%;
        justify-content: space-between;
      }

      .cs-figure img {
        border-radius: 18px;
      }
    }
