/* The press kit: the policy pages' title and intro over H2 sections 40 apart, facts and downloads as
   list rows, and a screenshot grid. Smaller words are SF Pro: callout 15/20 and meta 13/18. */

.press-layout {
  padding-block: 2rem 5rem;
}

.press-article {
  max-width: 52rem;
  margin-inline: auto;
}

.press-section {
  margin-block-start: 2.5rem;
}

.press-section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.8125rem;
  letter-spacing: -0.7px;
}

.press-section p,
.press-section li {
  max-width: 68ch;
}

.press-section p {
  margin: 0 0 var(--space-md);
}

.press-section > :last-child {
  margin-bottom: 0;
}

.press-section ul {
  margin: 0 0 var(--space-md);
  padding-inline-start: 1.25rem;
}

.press-section li + li {
  margin-block-start: var(--space-sm);
}

.press-section strong {
  font-weight: 600;
}

.press-section a {
  text-decoration-color: currentColor;
}

.press-note {
  color: var(--color-ink-2);
  font-family: var(--font-system);
  font-size: 0.9375rem;
  line-height: 1.25rem;
  letter-spacing: -0.23px;
}

/* Facts: a quiet label over its value on phones, side by side on wider screens, as list rows between
   the divider's hairlines. */
.press-facts {
  margin: 0;
}

.press-facts div {
  padding-block: var(--space-sm);
  display: grid;
  gap: var(--space-2xs);
  border-block-end: var(--hairline) solid var(--color-rule-strong);
}

.press-facts div:last-child {
  border-block-end: 0;
}

.press-facts dt {
  padding-block-start: 0.1875rem;
  color: var(--color-ink-2);
  font-family: var(--font-system);
  font-size: 0.9375rem;
  line-height: 1.25rem;
  letter-spacing: -0.23px;
}

.press-facts dd {
  margin: 0;
}

/* Downloads: what the file is, then its formats. */
.press-section .press-downloads {
  padding: 0;
  list-style: none;
}

.press-downloads li {
  max-width: none;
  padding-block: var(--space-sm);
  display: grid;
  gap: var(--space-2xs);
  border-block-end: var(--hairline) solid var(--color-rule-strong);
}

.press-section .press-downloads li + li {
  margin-block-start: 0;
}

.press-downloads li > span:first-child {
  font-weight: 600;
}

.press-downloads li > span:last-child {
  color: var(--color-ink-2);
}

@media (min-width: 40rem) {
  .press-facts div {
    grid-template-columns: 10rem minmax(0, 1fr);
    gap: var(--space-md);
  }

  .press-downloads li {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-md);
  }
}

/* Screenshots: thumbnails with the app's hairline outline, each opening the full capture. */
.press-section .press-shots {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: var(--space-lg) var(--space-md);
}

.press-section .press-shots li {
  margin: 0;
}

.press-shots a {
  display: grid;
  gap: var(--space-xs);
  color: var(--color-ink-2);
  font-family: var(--font-system);
  font-size: 0.8125rem;
  line-height: 1.125rem;
  letter-spacing: -0.08px;
  text-decoration: none;
}

.press-shots a:hover span {
  color: var(--color-ink);
}

.press-shots img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  outline: var(--rule-thin) solid var(--color-hairline);
  outline-offset: calc(-1 * var(--rule-thin));
}
