/* Publiczne strony rozwoju produktu — oszczędny, redakcyjny rytm Sponty. */
.product-updates-shell {
  width: min(100%, 1120px);
  padding-top: clamp(42px, 6vw, 86px);
}

.product-updates-page {
  min-width: 0;
}

.product-updates-hero {
  padding-bottom: clamp(34px, 5vw, 62px);
}

.product-updates-hero h1 {
  margin: 10px 0 14px;
  color: var(--navy);
  font-family: var(--font-d);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.055em;
}

.product-updates-hero h1:focus {
  outline: none;
}

.product-updates-hero > p:not(.legal-kicker) {
  max-width: 610px;
  margin: 0;
  color: var(--slate);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
}

.product-updates-tabs {
  display: flex;
  width: fit-content;
  gap: 30px;
  margin-top: 34px;
  border-bottom: 1px solid var(--line);
}

.product-updates-tabs a {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  color: var(--slate);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color .16s ease;
}

.product-updates-tabs a:hover,
.product-updates-tabs a[aria-current="page"] {
  color: var(--navy);
}

.product-updates-tabs a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--navy);
  content: "";
}

.product-updates-list {
  border-top: 1px solid var(--line);
}

.product-update-item {
  display: grid;
  grid-template-columns: minmax(130px, 210px) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 78px);
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}

.product-update-item__side {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.product-update-item__index {
  color: #b9c6d3;
  font-family: var(--font-d);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
}

.product-update-item__status,
.product-update-item__date {
  color: #48617a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.product-update-item__date {
  padding-top: 5px;
}

.product-update-item__body h2 {
  margin: 0 0 11px;
  color: var(--navy);
  font-family: var(--font-d);
  font-size: clamp(23px, 2.4vw, 30px);
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -.025em;
}

.product-update-item__body > p {
  max-width: 640px;
  margin: 0;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.72;
}

.product-update-item__details {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 24px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.product-update-item__details li {
  position: relative;
  padding-left: 15px;
  color: #425870;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.6;
}

.product-update-item__details li::before {
  position: absolute;
  top: .59em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.product-updates-note {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--slate);
  font-size: 12px;
  line-height: 1.7;
}

.product-updates-expansion {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 1.35fr);
  gap: clamp(24px, 6vw, 78px);
  margin-top: clamp(44px, 6vw, 72px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: 18px;
  background: #eaf2f8;
}

.product-updates-expansion__label {
  color: #47657f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-updates-expansion h2 {
  max-width: 320px;
  margin: 10px 0 0;
  color: var(--navy);
  font-family: var(--font-d);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.2;
  letter-spacing: -.03em;
}

.product-updates-expansion p {
  margin: 0;
  color: #425870;
  font-size: 14px;
  line-height: 1.72;
}

.product-updates-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(56px, 8vw, 96px);
  padding: 25px 0 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

.product-updates-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #aebfd0;
  text-underline-offset: 4px;
}

.product-updates-contact a:hover {
  text-decoration-color: var(--navy);
}

.product-updates-page a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}

@media (max-width: 680px) {
  .product-updates-shell {
    padding-top: 38px;
  }

  .product-updates-hero {
    padding-bottom: 34px;
  }

  .product-updates-hero h1 {
    font-size: clamp(41px, 13vw, 56px);
  }

  .product-updates-tabs {
    width: 100%;
    gap: 24px;
  }

  .product-update-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 30px 0;
  }

  .product-update-item__side {
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }

  .product-update-item__index {
    font-size: 25px;
  }

  .product-update-item__date {
    padding-top: 0;
  }

  .product-update-item__body > p {
    font-size: 14px;
  }

  .product-updates-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-updates-expansion {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 27px 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-updates-tabs a {
    transition: none;
  }
}
