/* Starachowice pilot: one traceable rule across every service channel. */
body.starachowice-page {
  --sta-ink: #172033;
  --sta-muted: #5d6878;
  --sta-coral: #ff4654;
  --sta-coral-deep: #c83240;
  --sta-rose: #fff0f1;
  --sta-paper: #ffffff;
  --sta-mist: #f5f7fa;
  --sta-line: #dbe2ea;
  --sta-green: #0c8f67;
  background: var(--sta-paper);
  color: var(--sta-ink);
  padding-bottom: 0 !important;
}

.starachowice-page .starachowice-legacy {
  display: none !important;
}

.starachowice-page .sta-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.starachowice-page .sta-kicker {
  margin: 0 0 12px;
  color: var(--sta-coral-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.starachowice-page .sta-hero {
  padding: 116px 0 54px;
  overflow: hidden;
  border-bottom: 1px solid var(--sta-line);
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 194, 198, .28), transparent 31%),
    linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}

.starachowice-page .sta-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: 54px;
  align-items: center;
}

.starachowice-page .sta-hero h1 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(42px, 4.2vw, 58px);
  font-weight: 800;
  letter-spacing: -.052em;
  line-height: .99;
  text-wrap: balance;
}

.starachowice-page .sta-hero h1 em {
  color: var(--sta-coral);
  font-style: normal;
}

.starachowice-page .sta-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--sta-muted);
  font-size: 17px;
  line-height: 1.72;
}

.starachowice-page .sta-rule-parts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.starachowice-page .sta-rule-parts li {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--sta-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .78);
}

.starachowice-page .sta-rule-parts b,
.starachowice-page .sta-rule-parts span {
  display: block;
  font-size: 13px;
  line-height: 1.4;
}

.starachowice-page .sta-rule-parts b {
  margin-bottom: 3px;
  color: var(--sta-ink);
  font-weight: 800;
}

.starachowice-page .sta-rule-parts span {
  color: var(--sta-muted);
}

.starachowice-page .sta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.starachowice-page .sta-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--sta-ink);
  border-radius: 10px;
  color: var(--sta-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, color .18s ease, background .18s ease;
}

.starachowice-page .sta-actions a:first-child {
  background: var(--sta-ink);
  color: #fff;
}

.starachowice-page .sta-actions a:hover {
  transform: translateY(-2px);
}

.starachowice-page .sta-actions a:focus-visible,
.starachowice-page .sta-jobs a:focus-visible,
.starachowice-page .sta-evidence a:focus-visible,
.starachowice-page .sta-faq a:focus-visible,
.starachowice-page .sta-faq summary:focus-visible {
  outline: 3px solid rgba(255, 70, 84, .32);
  outline-offset: 3px;
}

.starachowice-page .sta-hero__artifact {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--sta-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 22px 65px -36px rgba(23, 32, 51, .38);
}

.starachowice-page .sta-hero__artifact img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.starachowice-page .sta-hero__artifact figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 8px 2px;
  color: var(--sta-muted);
  font-size: 13px;
  line-height: 1.45;
}

.starachowice-page .sta-hero__artifact figcaption strong {
  color: var(--sta-ink);
  font-size: 14px;
}

.starachowice-page .sta-evidence,
.starachowice-page .sta-jobs,
.starachowice-page .sta-mechanism,
.starachowice-page .sta-delivery,
.starachowice-page .sta-stack,
.starachowice-page .sta-faq {
  padding: 64px 0;
  border-bottom: 1px solid var(--sta-line);
  background: var(--sta-paper);
}

.starachowice-page .sta-evidence,
.starachowice-page .sta-mechanism,
.starachowice-page .sta-stack {
  background: var(--sta-mist);
}

.starachowice-page .sta-evidence__grid,
.starachowice-page .sta-mechanism__grid,
.starachowice-page .sta-stack__grid,
.starachowice-page .sta-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 76px;
  align-items: start;
}

.starachowice-page .sta-section-head {
  display: grid;
  grid-template-columns: 180px minmax(0, 660px);
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}

.starachowice-page .sta-section-head .sta-kicker {
  margin-top: 5px;
}

.starachowice-page h2,
.starachowice-page .sta-section-head h2,
.starachowice-page .sta-evidence h2,
.starachowice-page .sta-mechanism h2,
.starachowice-page .sta-stack h2,
.starachowice-page .sta-faq h2 {
  margin: 0;
  color: var(--sta-ink);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  text-wrap: balance;
}

.starachowice-page .sta-evidence__copy > p,
.starachowice-page .sta-mechanism header > p:last-child {
  margin: 0;
  color: var(--sta-muted);
  font-size: 15px;
  line-height: 1.7;
}

.starachowice-page .sta-evidence aside {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  margin: 20px 0;
  padding: 17px 18px;
  border-left: 4px solid var(--sta-coral);
  background: var(--sta-rose);
  color: var(--sta-muted);
  font-size: 14px;
  line-height: 1.55;
}

.starachowice-page .sta-evidence aside strong {
  color: var(--sta-ink);
}

.starachowice-page .sta-evidence a,
.starachowice-page .sta-jobs a,
.starachowice-page .sta-faq a {
  color: var(--sta-coral-deep);
  font-size: 14px;
  font-weight: 800;
  text-underline-offset: 4px;
}

.starachowice-page .sta-jobs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--sta-line);
  border-radius: 18px;
  overflow: hidden;
}

.starachowice-page .sta-jobs article {
  min-width: 0;
  padding: 26px;
  background: #fff;
}

.starachowice-page .sta-jobs article + article {
  border-left: 1px solid var(--sta-line);
}

.starachowice-page .sta-jobs article > span {
  color: var(--sta-coral-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.starachowice-page .sta-jobs h3 {
  margin: 12px 0 10px;
  color: var(--sta-ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

.starachowice-page .sta-jobs p {
  min-height: 92px;
  margin: 0 0 16px;
  color: var(--sta-muted);
  font-size: 14px;
  line-height: 1.62;
}

.starachowice-page .sta-mechanism header > p:last-child {
  margin-top: 16px;
}

.starachowice-page .sta-mechanism ol,
.starachowice-page .sta-delivery__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.starachowice-page .sta-mechanism li,
.starachowice-page .sta-delivery__list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 15px;
  padding: 16px 0;
  border-top: 1px solid var(--sta-line);
}

.starachowice-page .sta-mechanism li:last-child,
.starachowice-page .sta-delivery__list li:last-child {
  border-bottom: 1px solid var(--sta-line);
}

.starachowice-page .sta-mechanism li > b,
.starachowice-page .sta-delivery__list li > b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--sta-rose);
  color: var(--sta-coral-deep);
  font-size: 13px;
}

.starachowice-page .sta-mechanism li strong,
.starachowice-page .sta-mechanism li span,
.starachowice-page .sta-delivery__list strong,
.starachowice-page .sta-delivery__list span {
  display: block;
}

.starachowice-page .sta-mechanism li strong,
.starachowice-page .sta-delivery__list strong {
  margin-bottom: 4px;
  color: var(--sta-ink);
  font-size: 15px;
  font-weight: 800;
}

.starachowice-page .sta-mechanism li span,
.starachowice-page .sta-delivery__list span {
  color: var(--sta-muted);
  font-size: 13px;
  line-height: 1.55;
}

.starachowice-page .sta-delivery__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
}

.starachowice-page .sta-stack__grid {
  align-items: center;
}

.starachowice-page .sta-stack ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--sta-line);
  border-radius: 16px;
  background: #fff;
  list-style: none;
  overflow: hidden;
}

.starachowice-page .sta-stack li {
  min-width: 0;
  padding: 16px 12px;
  text-align: center;
}

.starachowice-page .sta-stack li + li {
  border-left: 1px solid var(--sta-line);
}

.starachowice-page .sta-stack strong,
.starachowice-page .sta-stack span {
  display: block;
}

.starachowice-page .sta-stack strong {
  color: var(--sta-ink);
  font-size: 13px;
  font-weight: 800;
}

.starachowice-page .sta-stack span {
  margin-top: 4px;
  color: var(--sta-muted);
  font-size: 11px;
  line-height: 1.4;
}

.starachowice-page .sta-faq header a {
  display: inline-block;
  margin-top: 18px;
}

.starachowice-page .sta-faq details {
  border-top: 1px solid var(--sta-line);
}

.starachowice-page .sta-faq details:last-child {
  border-bottom: 1px solid var(--sta-line);
}

.starachowice-page .sta-faq summary {
  display: grid;
  min-height: 62px;
  grid-template-columns: 36px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
}

.starachowice-page .sta-faq summary::-webkit-details-marker {
  display: none;
}

.starachowice-page .sta-faq summary span {
  color: var(--sta-coral-deep);
  font-size: 12px;
  font-weight: 800;
}

.starachowice-page .sta-faq summary strong {
  color: var(--sta-ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.starachowice-page .sta-faq summary i {
  position: relative;
  width: 18px;
  height: 18px;
}

.starachowice-page .sta-faq summary i::before,
.starachowice-page .sta-faq summary i::after {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
  background: var(--sta-coral-deep);
  content: "";
}

.starachowice-page .sta-faq summary i::after {
  transform: rotate(90deg);
  transition: transform .18s ease;
}

.starachowice-page .sta-faq details[open] summary i::after {
  transform: rotate(0);
}

.starachowice-page .sta-faq details p {
  margin: 0;
  padding: 0 34px 16px 50px;
  color: var(--sta-muted);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1023px) {
  .starachowice-page .sta-hero {
    padding-top: 112px;
  }

  .starachowice-page .sta-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .starachowice-page .sta-hero__copy {
    max-width: 720px;
  }

  .starachowice-page .sta-hero__artifact {
    max-width: 780px;
  }

  .starachowice-page .sta-evidence__grid,
  .starachowice-page .sta-mechanism__grid,
  .starachowice-page .sta-stack__grid,
  .starachowice-page .sta-faq__grid {
    gap: 42px;
  }

  .starachowice-page .sta-stack ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .starachowice-page .sta-stack li:nth-child(4),
  .starachowice-page .sta-stack li:nth-child(5) {
    border-top: 1px solid var(--sta-line);
  }

  .starachowice-page .sta-stack li:nth-child(4) {
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .starachowice-page .sta-shell {
    width: min(100% - 32px, 620px);
  }

  .starachowice-page .sta-hero {
    padding: 104px 0 42px;
  }

  .starachowice-page .sta-hero h1 {
    font-size: clamp(34px, 10.6vw, 43px);
    line-height: 1.02;
  }

  .starachowice-page .sta-lead {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.65;
  }

  .starachowice-page .sta-rule-parts {
    margin-top: 22px;
  }

  .starachowice-page .sta-rule-parts li {
    padding: 10px;
  }

  .starachowice-page .sta-rule-parts span {
    font-size: 11px;
  }

  .starachowice-page .sta-actions a {
    flex: 1 1 120px;
  }

  .starachowice-page .sta-hero__artifact {
    width: min(100%, 390px);
    margin-inline: auto;
    padding: 10px;
    border-radius: 19px;
  }

  .starachowice-page .sta-hero__grid {
    gap: 28px;
  }

  .starachowice-page .sta-hero__artifact img {
    border-radius: 13px;
  }

  .starachowice-page .sta-hero__artifact figcaption {
    display: block;
    padding: 11px 5px 2px;
  }

  .starachowice-page .sta-hero__artifact figcaption span {
    display: block;
    margin-top: 2px;
  }

  .starachowice-page .sta-evidence,
  .starachowice-page .sta-jobs,
  .starachowice-page .sta-mechanism,
  .starachowice-page .sta-delivery,
  .starachowice-page .sta-stack,
  .starachowice-page .sta-faq {
    padding: 48px 0;
  }

  .starachowice-page .sta-evidence__grid,
  .starachowice-page .sta-mechanism__grid,
  .starachowice-page .sta-stack__grid,
  .starachowice-page .sta-faq__grid,
  .starachowice-page .sta-section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .starachowice-page .sta-section-head {
    margin-bottom: 24px;
  }

  .starachowice-page h2,
  .starachowice-page .sta-section-head h2,
  .starachowice-page .sta-evidence h2,
  .starachowice-page .sta-mechanism h2,
  .starachowice-page .sta-stack h2,
  .starachowice-page .sta-faq h2 {
    font-size: 24px;
  }

  .starachowice-page .sta-evidence aside {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 15px;
  }

  .starachowice-page .sta-jobs__grid {
    grid-template-columns: 1fr;
  }

  .starachowice-page .sta-jobs article {
    padding: 21px;
  }

  .starachowice-page .sta-jobs article + article {
    border-top: 1px solid var(--sta-line);
    border-left: 0;
  }

  .starachowice-page .sta-jobs p {
    min-height: 0;
  }

  .starachowice-page .sta-delivery__list {
    grid-template-columns: 1fr;
  }

  .starachowice-page .sta-stack ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .starachowice-page .sta-stack li:nth-child(3),
  .starachowice-page .sta-stack li:nth-child(5) {
    border-left: 0;
  }

  .starachowice-page .sta-stack li:nth-child(n + 3) {
    border-top: 1px solid var(--sta-line);
  }

  .starachowice-page .sta-faq details p {
    padding-left: 0;
  }
}

@media (max-width: 359px) {
  .starachowice-page .sta-rule-parts {
    grid-template-columns: 1fr;
  }

  .starachowice-page .sta-rule-parts li {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: baseline;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .starachowice-page .sta-actions a {
    transition: none;
  }
}
