/* Professional page additions. Existing site tokens, chrome, paw motion and
   theme transition remain the source of the brand. Generated into public/. */
.professional-page .page-hero { padding-bottom: 46px; }
.professional-page main > section { overflow-x: clip; }
.professional-page .paw-field { width: 100%; left: 0; transform: none; }
.professional-page .footer-inner { grid-template-columns: minmax(0, 1fr); }
.professional-page .footer nav { flex-wrap: wrap; justify-content: center; row-gap: 12px; max-width: 100%; }
.professional-page .footer p { max-width: 100%; }
.professional-page .btn-primary { background: linear-gradient(135deg, #147F78, #0E5752); color: #fff; }
.professional-page .cta-card { background: linear-gradient(135deg, #147F78, #0E5752); }
.professional-page .cta-card p { color: #fff; opacity: 1; }
.professional-page .cta-card .hero-ctas { justify-content: center; }
.pro-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 54px); align-items: center; }
.pro-hero-copy { min-width: 0; }
.professional-page .pro-hero-copy :is(h1, .kicker, .lede) { text-align: left; }
.professional-page .pro-hero-copy .hero-ctas { justify-content: flex-start; gap: 12px; }
.pro-hero-copy h1 { line-height: 1.12; }
.pro-hero-art { display: block; width: 100%; height: auto; border-radius: 30px 30px 72px 30px; box-shadow: var(--shadow); overflow: hidden; }
.pro-hero-art img { display: block; width: 100%; height: auto; }
figure.pro-hero-art { margin: 0; }
.pro-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.pro-facts > *, .pro-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 13px; color: var(--sub); border: 1px solid var(--line); background: var(--card); font-size: .86rem; font-weight: 800; }
.pro-facts > div { flex: 1 1 200px; flex-direction: column; align-items: flex-start; padding: 18px 20px; }
.pro-facts > div b { color: var(--ink); font-size: 1rem; }
.pro-facts > div span { font-weight: 500; }
.pro-jump { position: sticky; top: var(--nav-h); z-index: 35; display: flex; gap: 7px; padding: 10px max(24px, calc((100vw - 1132px) / 2)); overflow-x: auto; scrollbar-width: thin; background: var(--glass-solid); border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px -16px var(--ink); backdrop-filter: blur(16px); }
.pro-jump a { flex: 0 0 auto; color: var(--sub); font-size: .86rem; font-weight: 800; text-decoration: none; border-radius: 12px; padding: 9px 13px; }
.pro-jump a:hover, .pro-jump a:focus-visible { color: var(--teal-text); background: color-mix(in srgb, var(--teal) 10%, var(--card)); }
.professional-page :is(.section, .page-cta) { scroll-margin-top: calc(var(--nav-h) + 82px); }
.pro-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.pro-card { min-width: 0; padding: 27px; text-align: center; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 12px 30px -24px color-mix(in srgb, var(--ink) 40%, transparent); }
.pro-card > :is(img, span[aria-hidden="true"]), .pro-card .dg-emoji { display: block; width: 44px; height: 44px; object-fit: contain; margin: 0 auto 18px; }
.pro-card h3 { font-size: 1.22rem; line-height: 1.3; margin-bottom: 12px; }
.pro-card p, .pro-card li { color: var(--sub); line-height: 1.7; }
.pro-card p + p { margin-top: 12px; }
.pro-card ul { padding-left: 20px; margin-top: 12px; }
.pro-card li + li { margin-top: 8px; }
.pro-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, .38fr); gap: clamp(24px, 5vw, 60px); align-items: center; margin-top: 32px; padding: clamp(24px, 4vw, 46px); background: color-mix(in srgb, var(--teal) 5%, var(--card)); border: 1.5px solid var(--line); border-radius: 30px; }
.pro-story p { color: var(--sub); }
.pro-story p + p { margin-top: 18px; }
.pro-story h3 { margin-bottom: 14px; font-size: 1.4rem; }
.pro-story-art { display: block; width: 100%; max-width: 240px; height: auto; margin: auto; object-fit: contain; }
.pro-story-art img { display: block; width: 100%; height: auto; }
.pro-story:has(.pro-scene) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.pro-story-art:has(.pro-scene) { max-width: none; }
.pro-story-art .pro-scene { margin-top: 0; }
.pro-scene { display: block; width: 100%; height: auto; margin-top: 30px; border-radius: 28px; }
.pro-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.pro-proof-item { border-left: 3px solid var(--teal); padding: 7px 0 7px 20px; }
.pro-proof-item :is(h3, b, strong) { display: block; margin-bottom: 8px; font-size: 1.15rem; }
.pro-proof-item p { color: var(--sub); }
.pro-integration, .pro-price { margin-top: 28px; border-radius: 26px; border: 1.5px solid var(--line); padding: clamp(24px, 4vw, 40px); background: var(--card); }
.pro-integration p + p, .pro-price p + p { margin-top: 16px; }
.pro-price { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.pro-price h3 { margin: 18px 0 12px; font-size: 1.25rem; }
.pro-price .btn { margin-top: 22px; }
.pro-checks { display: grid; gap: 12px; margin-top: 20px; list-style: none; }
.pro-checks li { position: relative; padding-left: 29px; color: var(--sub); }
.pro-checks li::before { content: '✓'; position: absolute; left: 0; font-weight: 900; color: var(--teal-text); }
.section.pro-end > .prose { max-width: 880px; margin: 0 auto clamp(80px, 8vw, 100px); text-align: center; }
.pro-detail { margin-top: 24px; border: 1.5px solid var(--line); border-radius: 18px; padding: 0 22px; background: var(--card); }
.pro-detail > summary { cursor: pointer; padding-block: 18px; color: var(--ink); font-weight: 800; }
.pro-detail[open] { padding-bottom: 22px; }
.pro-detail .prose p { font-size: 1rem; }
.professional-page .section-dark .pro-detail { background: #164f4b; border-color: #36736d; }
.professional-page .section-dark .pro-detail > summary, .professional-page .section-dark .pro-facts > div b { color: #fff; }
.professional-page .section-dark :is(.pro-card, .pro-story, .pro-integration) { background: #164f4b; border-color: #36736d; }
.professional-page .section-dark :is(.pro-card p, .pro-story p, .pro-proof-item p, .pro-checks li) { color: #d4e9e6; }
.professional-page .section-dark .pro-facts > * { background: #164f4b; border-color: #36736d; color: #d4e9e6; }
@media (max-width: 960px) {
  .pro-hero-grid { grid-template-columns: 1fr; }
  .pro-hero-art { max-width: 680px; margin: 8px auto 0; }
  .pro-hero-copy { max-width: 760px; margin-inline: auto; }
  .professional-page .pro-hero-copy :is(h1, .kicker, .lede) { text-align: center; }
  .professional-page .pro-hero-copy .hero-ctas { justify-content: center; }
  .pro-facts { justify-content: center; }
  .pro-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-cards > .pro-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - 20px) / 2); justify-self: center; }
  .pro-proof { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .professional-page { --nav-h: 72px; }
  .professional-page .page-hero { padding-inline: 20px; }
  .pro-hero-art { border-radius: 22px 22px 48px 22px; }
  .pro-hero-copy h1 { font-size: clamp(2.1rem, 8vw, 3rem); }
  .pro-cards { grid-template-columns: 1fr; gap: 16px; }
  .pro-cards > .pro-card:last-child:nth-child(odd) { grid-column: auto; width: auto; justify-self: stretch; }
  .pro-card { padding: 24px; }
  .pro-story, .pro-story:has(.pro-scene), .pro-price { grid-template-columns: 1fr; border-radius: 24px; }
  .pro-story-art { max-width: 155px; }
  .pro-jump { padding-inline: 12px; }
  .pro-jump a { padding-inline: 10px; }
  .pro-facts { gap: 7px; }
  .pro-facts > * { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  /* This sheet is loaded only by the professional pages. The root element,
     rather than body, controls anchor motion in the viewport. */
  html { scroll-behavior: auto; }
}
@media print {
  .pro-jump { display: none; }
  .pro-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-card, .pro-story { break-inside: avoid; box-shadow: none; }
}
