/* Product solution pages: shared product-page rhythm, scoped to these two routes. */
.ps-page { color: var(--ink); }
.ps-page .ps-wrap { width: 100%; max-width: calc(var(--site-content-max) + 2 * var(--site-gutter)); margin-inline: auto; padding-inline: var(--site-gutter); }
.ps-page figure { margin: 0; }
.ps-page img { display: block; width: 100%; height: auto; }
.ps-page h1, .ps-page h2, .ps-page h3 { margin-top: 0; color: var(--ink); }
.ps-page h1 { max-width: 620px; margin-bottom: 24px; font-size: clamp(38px, 4.2vw, 64px); line-height: 1.08; letter-spacing: -.035em; }
.ps-page h2 { margin-bottom: 16px; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; letter-spacing: -.025em; }
.ps-page h3 { margin-bottom: 12px; font-size: 21px; line-height: 1.3; letter-spacing: -.015em; }
.ps-page p { line-height: 1.65; color: var(--muted); }
.ps-page [id] { scroll-margin-top: 112px; }
.ps-page .detail-return-nav { padding-block: 4px; }
.ps-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px); padding-top: 28px; padding-bottom: 64px; }
.ps-hero-copy { padding-block: 24px; }
.ps-page .ps-lead { max-width: 460px; margin: 0 0 30px; font-size: 20px; }
.ps-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.ps-actions .button { white-space: normal; }
.ps-actions .text-link, .ps-resource-line .text-link, .ps-choice > .text-link { display: inline-flex; min-height: 44px; align-items: center; }
.ps-hero-media img { aspect-ratio: 1.18; object-fit: contain; background: var(--soft); border-radius: var(--radius-md); }
.ps-page figcaption { margin-top: 12px; max-width: 65ch; color: var(--muted); font-size: 14px; line-height: 1.5; }
.ps-section { padding-block: var(--space-section-compact); }
.ps-heading { max-width: 740px; margin-bottom: 32px; }
.ps-heading > p { margin: 0; max-width: 65ch; font-size: 18px; }
.ps-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 44px 28px; }
.ps-choice { min-width: 0; }
.ps-choice > figure img { aspect-ratio: 1.15; object-fit: contain; background: var(--soft); border-radius: var(--radius-sm); }
.ps-choice h3 { margin-top: 20px; }
.ps-choice p { margin: 0 0 16px; }
.ps-choice .ps-check { font-size: 15px; }
.ps-check strong { font-weight: var(--weight-label); color: var(--ink); }
.ps-choice > .text-link { display: inline-block; margin-top: 4px; font-size: 15px; }
.ps-band { width: 100%; max-width: none; background: var(--soft); }
.ps-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding-block: var(--space-section-compact); }
.ps-split > figure img { aspect-ratio: 1.1; object-fit: contain; background: var(--paper); border-radius: var(--radius-sm); }
.ps-split > div > p { max-width: 65ch; }
.ps-notes { display: grid; gap: 24px; margin: 28px 0; }
.ps-notes dt { margin-bottom: 6px; font-weight: var(--weight-heading); font-size: 18px; }
.ps-notes dd { margin: 0; color: var(--muted); line-height: 1.65; max-width: 65ch; }
.ps-materials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ps-materials > div { border-top: 1px solid var(--line); padding-top: 22px; }
.ps-materials p { margin: 0; }
.ps-resource-line { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 32px; }
.ps-page .ps-note { max-width: 75ch; margin: 28px 0 0; font-size: 14px; }
.ps-category-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.ps-category-links > a { display: block; padding-block: 12px; }
.ps-category-links strong { display: block; margin-bottom: 10px; color: var(--ink); font-size: 21px; line-height: 1.3; }
.ps-category-links span { color: var(--muted); line-height: 1.65; }
.ps-category-links a:hover strong { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.ps-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 0; margin: 0; list-style: none; counter-reset: ps-step; }
.ps-steps li { padding-top: 22px; border-top: 2px solid var(--accent); counter-increment: ps-step; }
.ps-steps li::before { content: counter(ps-step, decimal-leading-zero); display: block; margin-bottom: 18px; color: var(--accent); font-size: 15px; font-weight: var(--weight-label); }
.ps-steps p { margin: 0; }
.ps-reference-details { margin: 20px 0 16px; border-block: 1px solid var(--line); }
.ps-reference-details summary { padding: 14px 28px 14px 0; font-size: 15px; }
.ps-reference-details img { aspect-ratio: 1.2; object-fit: contain; background: var(--soft); margin-bottom: 16px; }
.ps-reference-details > p { font-size: 15px; margin: 0 0 16px; }
.ps-split--scope { align-items: start; }
.ps-split--scope .ps-notes { margin-top: 0; }
.ps-case { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.ps-case figure img { aspect-ratio: 1.2; object-fit: contain; background: var(--soft); border-radius: var(--radius-sm); }
.ps-case > div > p { max-width: 65ch; }
.ps-faq { display: grid; grid-template-columns: .7fr 1fr; gap: 64px; padding-top: 16px; padding-bottom: var(--space-section-compact); }
.ps-faq h2 { max-width: 360px; }
.ps-faq-list { min-width: 0; }
.ps-faq details { border-bottom: 1px solid var(--line); }
.ps-page summary { position: relative; cursor: pointer; list-style: none; color: var(--ink); font-weight: var(--weight-label); line-height: 1.4; }
.ps-faq summary { padding: 20px 32px 20px 0; font-size: 17px; }
.ps-page summary::-webkit-details-marker { display: none; }
.ps-page summary::after { content: '+'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 23px; font-weight: 400; }
.ps-page details[open] > summary::after { content: '−'; }
.ps-faq details p { margin: 0 32px 22px 0; }
.ps-contact { width: 100%; max-width: none; padding-block: var(--space-section-compact); background: var(--soft); border-block: 1px solid var(--line); }
.ps-contact-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
.ps-contact h2 { max-width: 650px; }
.ps-contact p { max-width: 620px; margin: 0; }
.ps-contact .ps-actions { flex-direction: column; align-items: stretch; gap: 12px; }
.ps-page a:focus-visible, .ps-page summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: var(--radius-sm); }
.ps-page ::selection { background: var(--accent); color: var(--white); }
@media (max-width: 1100px) {
  .ps-hero { gap: 32px; }
  .ps-split, .ps-case, .ps-faq { gap: 40px; }
  .ps-contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .ps-contact .ps-actions { flex-direction: row; }
}
@media (max-width: 820px) {
  .ps-hero { padding-top: 16px; padding-bottom: 40px; gap: 28px; }
  .ps-page h1 { font-size: 42px; }
  .ps-page .ps-lead { font-size: 18px; }
  .ps-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .ps-choices--three .ps-choice:last-child { grid-column: 1 / -1; max-width: 520px; }
  .ps-split, .ps-case { grid-template-columns: 1fr; gap: 28px; }
  .ps-split > figure, .ps-case > figure { max-width: 620px; }
  .ps-split--scope .ps-notes { margin-bottom: 0; }
  .ps-materials { grid-template-columns: 1fr; gap: 24px; }
  .ps-materials > div { max-width: 65ch; }
  .ps-category-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
  .ps-faq { grid-template-columns: 1fr; gap: 20px; }
  .ps-steps { gap: 24px; }
  .ps-steps h3 { font-size: 18px; }
}
@media (max-width: 600px) {
  .ps-page .detail-return-nav { font-size: 12px; padding-block: 0; gap: 9px; }
  .ps-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 16px; }
  .ps-hero-copy { padding-block: 0; }
  .ps-page h1 { font-size: 38px; max-width: 370px; margin-bottom: 16px; }
  .ps-page .ps-lead { font-size: 17px; margin-bottom: 20px; }
  .ps-hero .ps-actions { gap: 14px 20px; }
  .ps-hero .button { padding-inline: 18px; font-size: 14px; }
  .ps-hero .text-link { font-size: 14px; }
  .ps-hero-media img { aspect-ratio: 1.3; }
  .ps-choices, .ps-steps { grid-template-columns: 1fr; gap: 36px; }
  .ps-choices--three .ps-choice:last-child { grid-column: auto; max-width: none; }
  .ps-heading > p { font-size: 17px; }
  .ps-category-links { gap: 12px 24px; }
  .ps-category-links strong { font-size: 19px; }
  .ps-category-links span { font-size: 15px; }
  .ps-case figure img { aspect-ratio: 1.15; }
  .ps-faq summary { font-size: 16px; }
  .ps-contact .ps-actions { flex-direction: column; align-items: stretch; }
  .ps-contact .button { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-page *, .ps-page *::before, .ps-page *::after { animation: none; transition: none; scroll-behavior: auto; }
}

/* Keep the structural reference near the title on narrow screens. */
.ps-page--custom .ps-hero-media img { aspect-ratio: 4 / 3; object-fit: contain; }
@media (max-width: 600px) {
  .ps-page--custom .ps-hero-copy { display: contents; }
  .ps-page--custom .ps-hero h1 { order: 0; margin-bottom: 0; }
  .ps-page--custom .ps-hero-media { order: 1; }
  .ps-page--custom .ps-hero .ps-lead { order: 2; margin-bottom: 0; }
  .ps-page--custom .ps-hero .ps-actions { order: 3; }
}
