  /* ── Page-local rhythm ────────────────────────────────────────────────
     One scale, one set of spacing tokens. Every step is structurally
     identical — only its body differs. */

  /* Step list — slightly larger, with consistent vertical rhythm */
  .install-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 24px 0 0;
  }
  .install-step {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 16px;
    align-items: start;
    padding: 20px 22px;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    background: var(--paper);
  }
  .install-step .num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--brippo-blue-50);
    color: var(--brippo-blue-600);
    border: 1px solid var(--brippo-blue-100);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    display: grid; place-items: center;
    flex-shrink: 0;
  }
  .install-step .body { min-width: 0; }

  /* One canonical step heading — same size, weight, and rhythm on every step */
  .install-step h3 {
    margin: 4px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-900);
    letter-spacing: -0.005em;
    line-height: 1.4;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  /* Optional pill — same shape and weight as other tags in the system */
  .install-step .opt-tag {
    font-family: var(--font-sans);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--ink-100);
    color: var(--ink-600);
    padding: 2px 8px;
    border-radius: 999px;
    line-height: 1.4;
  }
  /* One canonical paragraph rhythm inside a step */
  .install-step p {
    margin: 8px 0 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ink-700);
  }
  /* Code block — consistent top spacing in every step */
  .install-step .code {
    margin-top: 14px;
  }
  /* Sub-section inside a step (used in step 3) — same heading scale */
  .install-step .substep {
    margin-top: 16px;
  }
  .install-step .substep > h4 {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-800);
    letter-spacing: -0.005em;
  }
  .install-step .substep ol {
    margin: 0;
    padding-left: 20px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ink-700);
  }
  .install-step .substep ol li { margin: 2px 0; }
  /* Mini section divider for the "Magento Community 2.3+" subhead */
  .install-step .variant-head {
    margin-top: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-500);
  }
  /* Callout sits at the bottom of step 3, with consistent top margin */
  .install-step .callout { margin: 16px 0 0; }

  /* Compact pill switcher — anchored to the top-right corner of the
     step body so it doesn't wrap below the title regardless of title
     length. Used in step 2 (Magento Community / Adobe Commerce). */
  .install-step .body.with-corner-switcher { position: relative; }
  .install-step .body.with-corner-switcher > h3 {
    padding-right: 290px;
  }
  .install-step .content-tabs.compact.in-corner {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 3px;
    border-radius: 7px;
    z-index: 2;
  }
  .install-step .content-tabs.compact.in-corner .tab-btn {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .install-step .content-tabs.compact.in-corner .edition-mark {
    height: 11px;
    width: auto;
    flex-shrink: 0;
  }
  /* On narrow screens, drop the switcher to normal flow above the title */
  @media (max-width: 820px) {
    .install-step .content-tabs.compact.in-corner {
      position: static;
      margin: 0 0 12px;
    }
    .install-step .body.with-corner-switcher > h3 {
      padding-right: 0;
    }
  }

  /* Screenshot frame — mirrors the demo-thumb treatment from the demo page */
  .screenshot-frame {
    margin-top: 16px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--ink-200);
    box-shadow: var(--shadow-md);
    background: #fff;
  }
  .screenshot-frame img {
    display: block;
    width: 100%;
    height: auto;
  }
  .screenshot-caption {
    margin-top: 10px;
    font-size: 12px;
    color: var(--ink-500);
    font-style: italic;
  }
