/* Sorted Run: the app icon, the App Store badge, the two device blocks
   and the price list. Builds on trust.css. */

/* The app icon with the corner shape iOS gives it. The icon is white, so a
   fine rule marks its edge on the white page. */
.app-logo {
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 1.75rem;
  border-radius: 22.5%;
  border: 1px solid var(--line);
}
/* Apple's badge, unchanged, with a quarter of its height as clear space. */
.store-badge {
  display: inline-block;
  margin: 1.75rem 0 0 -0.625rem;
  padding: 0.625rem;
}
.store-badge img {
  display: block;
  width: auto;
  height: 2.75rem;
}

/* The product page lets the device blocks run wider than the text column. */
.privacy-content.has-devices {
  max-width: none;
}
.has-devices > section {
  max-width: 72ch;
}
.has-devices > .devices {
  max-width: none;
}

/* One device per block on the quiet grey panel: the title and one line on
   one side, the device on the other. The second block is mirrored. Apple's
   frames are shown as delivered: no shadow, no tilt, no motion. */
.device-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem clamp(2rem, 6vw, 6rem);
  margin-top: 1.5rem;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 8vw, 8rem);
  border-radius: var(--radius);
  background: var(--panel-deep);
}
/* web-h1: Light, 48/56, on phones 34/40. */
.device-text h3 {
  max-width: 12ch;
  font-size: clamp(2.125rem, 3.4vw, 3rem);
  font-weight: 300;
  line-height: 1.167;
  letter-spacing: -0.02em;
}
.privacy-content .device-text p {
  max-width: 28ch;
  margin-top: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.6;
}
.device-figure {
  display: flex;
  justify-content: center;
}
.device-figure img {
  display: block;
  max-width: 100%;
  height: auto;
}
.device-phone img {
  width: 16.25rem;
}
.device-watch img {
  width: 13.75rem;
}
.device-block.is-mirrored .device-figure {
  order: -1;
}

/* Prices: label on the left, amount on the right, on the fine rules. */
.privacy-summary.prices li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
}
.prices span {
  color: var(--muted);
}

/* Phones: the text above the device. */
@media (max-width: 760px) {
  .device-block {
    grid-template-columns: minmax(0, 1fr);
    padding: 2.5rem 1.5rem 3rem;
  }
  .device-block.is-mirrored .device-figure {
    order: 0;
  }
  .privacy-content .device-text p {
    font-size: 1.0625rem;
  }
  .device-phone img {
    width: 15rem;
  }
  .device-watch img {
    width: 12rem;
  }
}
/* The address is too long for one of the footer's two columns on phones. */
@media (max-width: 700px) {
  .site-footer > a[href^="mailto:"] {
    grid-column: 1 / -1;
  }
}
