/* devices: one purchase across iPhone, iPad and Mac. The open iPhone Duo is the large thing, its fold marked
 * above the real screen (never drawn over it); then a ledger of what each device adds, two by two. */
.devices-head { display: grid; gap: var(--space-5); max-width: 44rem; margin-bottom: var(--space-8); }

/* The fold mark: a mono readout and a hairline tick centred on the screenshot, which is the whole inner display,
 * so the fold sits at exactly half its width. */
.devices-duo { position: relative; padding-top: var(--space-7); max-width: 52rem; }
.devices-fold { position: absolute; top: 0; left: 50%; translate: -50% 0; display: grid; justify-items: center;
  gap: var(--space-1); color: var(--ink-2); line-height: 1; }
.devices-fold::after { content: ""; width: var(--rule); height: var(--space-5); background: var(--ink-2); }
.devices-screen { position: relative; }
.devices-screen::after { content: ""; position: absolute; left: 50%; top: 100%; width: var(--rule); height: var(--space-5);
  background: var(--ink-2); }
.devices-duo figcaption { margin-top: var(--space-4); max-width: min(34em, calc(50% - var(--space-5))); }

.devices-ledger { margin: var(--space-9) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-7); }
.devices-ledger > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--space-4);
  padding-block: var(--space-4); border-top: var(--rule) solid var(--vein); }
.devices-ledger dt { font: 500 var(--text-xl) / 1.1 var(--font-display); }
.devices-ledger dd { margin: 0; color: var(--ink-2); }

@media (max-width: 860px) {
  .devices-ledger { grid-template-columns: minmax(0, 1fr); margin-top: var(--space-8); }
  .devices-duo figcaption { max-width: 30em; }
  .devices-screen::after { display: none; }
}
@media (max-width: 420px) {
  .devices-ledger > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
}
