/* Utility pages: page title block, FAQ, prose, 404. Figma: faq page, 404 page. */

.pty-page-title { display: grid; gap: 16px; justify-items: center; padding: 48px 20px 40px; text-align: center; }
.pty-page-title h1 { margin: 0; font-family: var(--pty-font-display); font-weight: var(--pty-display-weight); font-size: var(--pty-display-xl); line-height: var(--pty-line-display); letter-spacing: var(--pty-display-tracking); }
.pty-page-title p { margin: 0; max-width: 720px; font-size: var(--pty-text-md); line-height: 22px; color: var(--pty-stone); }
@media (min-width: 1024px) { .pty-page-title { padding: 96px 48px 64px; } .pty-page-title h1 { line-height: 68px; } .pty-page-title p { font-size: var(--pty-text-lg); line-height: 26px; } }

/* FAQ */
.pty-faq__body { display: grid; gap: 32px; padding: 0 20px 48px; max-width: 1440px; margin-inline: auto; }
.pty-faq__nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
.pty-faq__nav::-webkit-scrollbar { display: none; }
.pty-faq__navlink { flex: none; padding: 10px 16px; font-size: var(--pty-text-sm); font-weight: 500; line-height: 20px; text-decoration: none; color: var(--pty-ink); border: 1px solid var(--pty-line); white-space: nowrap; }
.pty-faq__navlink.is-current { background: var(--pty-blush); border-color: var(--pty-blush); }
.pty-faq__list { display: grid; gap: 48px; }
.pty-faq__group { border-bottom: 1px solid var(--pty-line); scroll-margin-top: calc(var(--pty-header-height) + 24px); }
.pty-faq__group-title { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--pty-line); font-family: var(--pty-font-display); font-weight: var(--pty-display-weight); font-size: var(--pty-display-sm); line-height: var(--pty-line-display); letter-spacing: var(--pty-display-tracking); }
.pty-faq__item { border-top: 1px solid var(--pty-line); }
.pty-faq__item:first-of-type { border-top: 0; }
.pty-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-size: var(--pty-text-lg); font-weight: 500; line-height: 28px; }
.pty-faq__q::-webkit-details-marker { display: none; }
.pty-faq__q .pty-icon { width: 24px; height: 24px; flex: none; transition: transform var(--pty-duration-fast) var(--pty-ease); }
.pty-faq__item[open] .pty-faq__q .pty-icon { transform: rotate(45deg); }
.pty-faq__a { max-width: 720px; padding-bottom: 24px; font-size: var(--pty-text-md); line-height: 22px; color: var(--pty-stone); }
.pty-faq__a p { margin: 0 0 12px; }
.pty-faq__a p:last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
  .pty-faq__body { grid-template-columns: 288px minmax(0, 1fr); gap: 64px; padding: 0 48px 96px; align-items: start; }
  .pty-faq__nav { display: grid; gap: 4px; overflow: visible; margin: 0; padding: 0; position: sticky; top: calc(var(--pty-header-height) + 24px); }
  .pty-faq__navlink { padding: 12px 16px; font-size: var(--pty-text-md); line-height: 22px; border: 0; white-space: normal; }
  .pty-faq__navlink.is-current { background: var(--pty-blush); }
}

.pty-contact-band { display: grid; gap: 24px; justify-items: center; padding: 48px 20px; background: var(--pty-blush); text-align: center; }
.pty-contact-band h2 { margin: 0; font-family: var(--pty-font-display); font-weight: var(--pty-display-weight); font-size: var(--pty-display-md); line-height: var(--pty-line-display); letter-spacing: var(--pty-display-tracking); }
.pty-contact-band p { margin: 0; max-width: 1100px; font-size: var(--pty-text-md); line-height: 22px; color: var(--pty-stone); }
@media (min-width: 1024px) { .pty-contact-band { padding: 72px 48px; } .pty-contact-band p { font-size: var(--pty-text-lg); line-height: 26px; } }

/* Prose */
.pty-prose { max-width: 720px; margin-inline: auto; padding: 0 20px 64px; font-size: var(--pty-text-md); line-height: 22px; }
.pty-prose h2 { margin: 40px 0 12px; font-family: var(--pty-font-display); font-weight: var(--pty-display-weight); font-size: var(--pty-display-sm); line-height: var(--pty-line-display); letter-spacing: var(--pty-display-tracking); }
.pty-prose h3 { margin: 24px 0 8px; font-size: var(--pty-text-md); font-weight: 500; }
.pty-prose p, .pty-prose ul, .pty-prose ol { margin: 0 0 16px; }
.pty-prose ul { list-style: disc; padding-left: 20px; }
.pty-prose ol { list-style: decimal; padding-left: 20px; }
.pty-prose table { width: 100%; border-collapse: collapse; font-size: var(--pty-text-sm); }
.pty-prose th, .pty-prose td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--pty-line); }
.pty-prose .pty-size-table--guide { margin: 24px 0 8px; font-variant-numeric: tabular-nums; } /* Size Guide page, 5 Nov */
.pty-prose .pty-size-table--guide th { font-size: var(--pty-text-sm); font-weight: 500; letter-spacing: var(--pty-label-tracking); text-transform: uppercase; color: var(--pty-ink-soft); }
.pty-prose .pty-size-table--guide td:first-child { font-weight: 500; }
@media (min-width: 1024px) { .pty-prose { padding-bottom: 96px; font-size: var(--pty-text-lg); line-height: 26px; } }

/* 404 */
.pty-404__hero { display: grid; gap: 32px; padding: 48px 20px; max-width: 1440px; margin-inline: auto; }
.pty-404__copy { display: grid; gap: 24px; align-content: center; }
.pty-404__kicker { margin: 0; font-size: var(--pty-text-sm); font-weight: 500; line-height: 20px; letter-spacing: var(--pty-label-tracking); text-transform: uppercase; color: var(--pty-rose); }
.pty-404__copy h1 { margin: 0; font-family: var(--pty-font-display); font-weight: var(--pty-display-weight); font-size: var(--pty-display-xl); line-height: var(--pty-line-display); letter-spacing: var(--pty-display-tracking); }
.pty-404__lede { margin: 0; font-size: var(--pty-text-md); line-height: 22px; color: var(--pty-stone); }
.pty-404__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pty-404__help { margin: 0; font-size: var(--pty-text-sm); line-height: 20px; color: var(--pty-stone); }
.pty-404__arch { aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--pty-line); }
.pty-404__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 84% 50%; display: block; } /* Marty's crop 4 Nov: window sits right of centre, full height */
@media (min-width: 1024px) {
  .pty-404__hero { grid-template-columns: minmax(0, 784px) 480px; gap: 80px; justify-content: center; align-items: center; padding: 96px 48px; }
  .pty-404__copy h1 { line-height: 68px; }
  .pty-404__lede { font-size: var(--pty-text-lg); line-height: 26px; }
}
