/* Press kit (/press, /press/de). Page-only rules live here so the shared
   styles.css (and its ?v= slug on every page) stays untouched; all colors come
   from the tokens in styles.css. Breakpoints match the site's three. */

.press-main {
  width: min(960px, calc(100% - 128px));
  margin: 0 auto;
  padding: 56px 0 96px;
}

.press-intro h1 {
  margin: 0;
  font-family: var(--heading);
  font-size: 45.95px;
  font-weight: 400;
  line-height: 1.24;
}

.press-intro h1 span {
  color: var(--teal);
}

.press-main p,
.press-main li,
.press-facts dd {
  font-family: var(--reading);
  font-size: 17px;
  line-height: 27px;
}

.press-main p {
  max-width: 70ch;
  color: var(--muted);
}

.press-lead {
  margin: 14px 0 0;
}

.press-intro .download-button {
  margin-top: 22px;
  padding: 0 26px;
}

.press-section {
  margin-top: 52px;
}

.press-section h2 {
  margin: 0 0 14px;
  font-family: var(--heading);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
}

.press-section h2 span {
  color: var(--teal);
}

.press-section a:not(.download-button) {
  color: var(--focus);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.press-section ul {
  max-width: 70ch;
  margin: 14px 0 0;
  padding-left: 1.35rem;
}

.press-section li + li {
  margin-top: 8px;
}

/* Fact sheet */
.press-facts {
  display: grid;
  grid-template-columns: minmax(150px, max-content) 1fr;
  gap: 12px 28px;
  margin: 0;
  padding: 26px 28px;
  border-radius: 17px;
  background: var(--card-light);
}

.press-facts dt {
  color: var(--ink);
  font-family: var(--heading);
  font-size: 19px;
  line-height: 27px;
}

.press-facts dd {
  margin: 0;
  color: var(--muted);
}

/* Copy-ready boilerplate */
.press-boilerplate {
  margin-top: 18px;
  padding: 22px 24px;
  border-left: 4px solid var(--focus);
  border-radius: 0 14px 14px 0;
  background: var(--card-light);
}

.press-boilerplate p {
  margin: 0;
  color: var(--ink);
}

.press-boilerplate p + p {
  margin-top: 12px;
}

/* Founder */
.press-founder {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* The <picture> is display: contents, so its <source>s would otherwise take
   flex gap slots before the photo. */
.press-founder source {
  display: none;
}

.press-founder img {
  flex: 0 0 auto;
  width: 160px;
  height: auto;
  aspect-ratio: 767 / 1027;
  border-radius: 16px;
  object-fit: cover;
}

.press-founder blockquote {
  margin: 0;
}

.press-founder blockquote p {
  margin: 0;
  color: var(--ink);
  font-style: italic;
}

.press-founder-cite,
.press-founder-bio {
  margin-top: 12px;
}

/* Downloads */
/* Compound selectors so the grid wins over the generic .press-section ul/li
   rules (bullet padding, 70ch cap, list spacing). */
.press-section .press-assets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: none;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.press-section .press-assets li + li {
  margin-top: 0;
}

.press-asset {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 17px;
  background: var(--card);
}

.press-asset-preview {
  display: flex;
  height: 220px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: var(--card-light);
}

.press-asset-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.press-asset-preview.is-dark {
  background: var(--video-panel);
}

.press-asset-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 18px;
}

.press-asset-body h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
}

.press-asset-body p {
  margin: 4px 0 0;
  font-size: 15px !important;
  line-height: 22px !important;
}

.press-asset-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: auto;
  padding-top: 10px;
}

.press-asset-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-family: var(--reading);
  font-size: 16px;
}

.press-note {
  margin-top: 18px !important;
  font-size: 15px !important;
  line-height: 24px !important;
}

/* Tablet */
@media (min-width: 701px) and (max-width: 1023px) {
  .press-main {
    width: calc(100% - 64px);
  }

  .press-section .press-assets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 700px) {
  .press-main {
    width: calc(100% - 48px);
    padding: 36px 0 72px;
  }

  .press-intro h1 {
    font-size: 34px;
  }

  .press-main p,
  .press-main li,
  .press-facts dd {
    font-size: 16px;
    line-height: 24px;
  }

  .press-section h2 {
    font-size: 26px;
  }

  .press-facts {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 20px;
  }

  .press-facts dd + dt {
    margin-top: 12px;
  }

  .press-founder {
    flex-direction: column;
    gap: 18px;
  }

  .press-founder img {
    width: 128px;
  }

  .press-section .press-assets {
    grid-template-columns: 1fr;
  }
}
