/* Pricing pages extend the public service pages' typography and tier cards. */
.p-price .p-container { width: min(100% - 2 * var(--s-gutter), 1080px); margin-inline: auto; }
.p-hero { padding-block: 80px 44px; }
.p-hero h1 { max-width: 22ch; }
.p-hero .s-lead { max-width: 68ch; }
.p-hero .s-actions { margin-top: 4px; }
.p-section { padding-block: 76px; scroll-margin-top: 100px; }
.p-head { max-width: 72ch; margin-bottom: 32px; }
.p-head p { margin-top: 16px; }
.p-price .w-tiers { max-width: none; }
.s-page.p-price .w-pricing__note { max-width: 76ch; text-align: left; margin-inline: 0; }
/* Otsikko ja leipäteksti yhdessä palstassa, ei rinnakkain eikä viivoin eroteltuna. */
.p-editorial { display: grid; gap: 20px; }
.p-editorial > * { max-width: 76ch; }
.p-editorial h2 { max-width: 28ch; text-wrap: balance; }
.p-copy { display: grid; gap: 20px; }
.p-copy p { max-width: 68ch; }
.p-link { font-weight: 700; text-decoration: underline; text-decoration-color: #d9a3b9; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.p-link:hover { text-decoration-color: #a34162; }
.p-factors { display: grid; gap: 24px; }
.p-price.s-page .p-factors h3 { font-size: 22px; line-height: 1.35; }
.p-factors p { margin-top: 8px; }
.p-ledger { margin-top: 12px; }
.p-ledger { display: grid; gap: 10px; }
.p-ledger > div { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.p-ledger dd { font-weight: 700; color: var(--s-ink); text-align: right; font-variant-numeric: tabular-nums; }
.p-ledger dt { color: var(--s-ink-2); }
.p-return { background: var(--s-surface); }
.p-price .p-note { font-size: 15px; line-height: 1.6; color: var(--s-ink-3); }
.p-price .p-close { padding-block: 64px 80px; }
.p-price .p-close .s-cta { padding: 48px; }
.p-price .p-close h2 { grid-column: 1 / -1; grid-row: 1; }
.p-related { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 24px; font-size: 15px; }
.p-price main ::selection { background: #fbd4e4; color: var(--s-ink); }
@media (max-width: 767px) {
  .p-hero { padding-block: 48px 32px; }
  .p-hero h1 { max-width: 100%; }
  .p-section { padding-block: 48px; }
  .p-head { margin-bottom: 24px; }
  .p-price .w-tiers { max-width: none; }
  .p-price .p-close { padding-block: 40px 48px; }
  .p-price .p-close .s-cta { padding: 28px; }
  .p-ledger > div { gap: 16px; font-size: 16px; }
}
@media (max-width: 600px) {
  .p-hero .s-actions { display: flex; flex-direction: column; width: 100%; }
  .s-page.p-price .p-hero .s-btn { width: 100%; white-space: nowrap; padding-inline: 16px; }
}
