.p505-tool .button:not(.secondary) { background: #f5b82e; color: #101010; }
.p505-tool .button:not(.secondary):hover { background: #edab19; }
.p505-crumb { padding-top: 22px; color: #52525b; font-size: 14px; }
.p505-crumb span { margin-inline-start: 5px; }
.p505-tool .p505-tool-hero { padding-top: clamp(28px,5vw,64px); }
.p505-tool .p505-tool-hero h1 { font-size: clamp(34px,5vw,64px); }
.p505-tool-main { min-width: 0; }
.p505-tool-section { padding-block: clamp(22px,4vw,54px); }
.p505-tool-section h2 { margin-bottom: 18px; }
.p505-tool-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.p505-tool-gallery figure { min-width: 0; background: #f2f1ed; }
.p505-tool-gallery img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.p505-tool-gallery figcaption { padding: 10px 12px; font-size: 15px; }
.p505-tool-flow { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; background: #f8f7f4; padding-inline: clamp(14px,4vw,44px); }
.p505-tool-flow li { margin-block: 7px; }
.p505-tool-faq details { border-bottom: 1px solid #e5e5e5; padding-block: 12px; }
.p505-tool-faq details p { margin: 8px 0 0 16px; max-width: 75ch; }
.p505-tool-cta { background: #f8f7f4; padding: clamp(16px,4vw,36px); margin-bottom: 34px; }
.p505-tool-cta h2 { margin: 18px 0 12px; font-size: clamp(22px,3vw,30px); }
.p505-tool-cta nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.p505-tool-cta nav a { text-decoration: underline; text-underline-offset: 3px; }
.p505-tool .header .navigation { overflow-wrap: anywhere; }
.p505-tool .footer nav { row-gap: 7px; }
@media (width < 768px) {
  .p505-tool-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .p505-tool-series { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 69%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .p505-tool-series figure { scroll-snap-align: start; }
  .p505-tool-flow { grid-template-columns: minmax(0,1fr); }
  .p505-tool .actions .button { max-width: 140px; white-space: normal; }
}
@media (768px <= width <= 1050px) {
  .p505-tool .header .navigation { white-space: normal; }
}
