/* ─────────────────────────────────────────────────────────────────────────
   Section: Feature: Documents — Call-Out (Figma 2225:2760, arrow 2225:2804)

   Everything inside the group is sized from the ribbon's font size (1em):
   x positions are % of the ribbon width, y offsets and sizes are em.
   Desktop base: ribbon type 62px, ribbon w1136. Values are Figma px / 62.
   Mobile base (Connections mobile spec): ribbon type 30px, ribbon w324.
   ───────────────────────────────────────────────────────────────────────── */

.section-docs-callout__group {
  width: 20.25rem; /* 324 */
  max-width: 100%;
  font-size: 1.875rem; /* 30 */
  gap: 0.7333em; /* 22 */
}

.section-docs-callout__ribbon h2 {
  font-size: 1em;
  line-height: 1.1em; /* 33 */
}

/* ── Strike over "shared loosely." ─────────────────────────────────────── */
.section-docs-callout__word {
  position: relative;
  display: inline-block;
}

/* Blob 10: 426.6 x 26.1 box at ribbon x686.5 / y35.5. Placed against the
   word box, matched to Figma's render: 4 left of the box, which sits 10
   below the ribbon's line top (inline-block baseline alignment). */
.section-docs-callout__strike {
  position: absolute;
  left: -0.0645em; /* -4 / 62 */
  top: 0.4116em; /* (35.52 - 10) / 62 */
  width: 6.8809em; /* 426.62 / 62 */
  height: 0.4205em; /* 26.07 / 62 */
  container-type: size;
  pointer-events: none;
}

/* The export is the vertical 14.46 x 426.4 shape; Figma rotates it
   -91.56deg and mirrors it to lie across the box. */
.section-docs-callout__strike img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 55.4375cqh; /* 14.46 */
  height: 99.95cqw; /* 426.4 */
  max-width: none;
  transform: translate(-50%, -50%) rotate(-91.56deg) scaleX(-1);
}

/* ── Note + underline (mobile: centred under the ribbon) ────────────────── */
.section-docs-callout__notes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
}

.section-docs-callout__note {
  margin: 0;
  font-size: 0.5437em; /* 16.31 — Connections mobile note size */
  line-height: 0.8069;
  text-align: center;
  transform: rotate(1.5deg);
}

.section-docs-callout__line {
  width: 35%;
  height: auto;
  transform: rotate(1.5deg);
}

/* Arrow: shown with the desktop composition only (no mobile frame to place it) */
.section-docs-callout__arrow {
  display: none;
}

/* ── Desktop ────────────────────────────────────────────────────────────── */
@media (width >= 64rem) {
  .section-docs-callout__group {
    width: max-content;
    font-size: min(3.875rem, 4.3056vw); /* 62 at 1440 */
    gap: 0;
  }

  .section-docs-callout__ribbon h2 {
    line-height: 1.2097em; /* 75 */
    white-space: nowrap;
  }

  /* Notes area: from the ribbon's bottom (y95) to the underline's bottom
     (y289.1) = 194.1 */
  .section-docs-callout__notes {
    display: block;
    height: 3.1306em;
  }

  /* Box w742.8 centred 740.4 from the ribbon's left (65.18%); rotated box
     top = bbox top 148.35 + (114.82 - 95.41) / 2 = 158.06 below the ribbon
     top, minus the ribbon (95) = 63.06 */
  .section-docs-callout__note {
    position: absolute;
    left: 32.49%; /* 65.18% - 65.38% / 2 */
    top: 1.2106em; /* 63.06 + 12: Chrome sets Rock Salt 12 higher in its line box than Figma — matched to Figma's render */
    width: 65.38%; /* 742.77 / 1136 */
    font-size: 0.8065em; /* 50 */
    line-height: 0.92; /* 46 / 50 */
  }

  /* line-6: 219.67 x 20.36 at ribbon x491.76 / y265.87 (bbox 643.53 / 1601
     plus the rotation inset), minus the ribbon (95) = 170.87 */
  .section-docs-callout__line {
    position: absolute;
    left: 43.29%; /* 491.76 / 1136 */
    top: 2.7559em;
    width: 19.34%; /* 219.67 / 1136 */
    height: 0.3283em; /* 20.36 */
  }

  /* Icon-Arrow-Up: Figma box 67x63 at ribbon x822 (72.36%). The export is
     the upright 22x70 arrow; rotated 42deg and mirrored (head up and right,
     pointing at "shared loosely") it fills that box. Vertical position
     matched to Figma's render, which draws it ~50px above the layer box. */
  .section-docs-callout__arrow {
    position: absolute;
    display: block;
    left: 72.36%;
    top: -0.1452em;
    width: 1.0806em; /* 67 */
    height: 1.0161em; /* 63 */
  }

  .section-docs-callout__arrow img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.3548em; /* 22 */
    height: 1.129em; /* 70 */
    max-width: none;
    transform: translate(-50%, -50%) rotate(42deg) scaleY(-1);
  }
}
