/* Pricing-specific styles: shared navigation and other pages stay on their own tokens. */
.pricing-page .band { padding: 64px 0; }
.pricing-head { max-width: 840px; margin: 0 auto 40px; text-align: center; }
.pricing-head h1 { font-size: clamp(32px, 3.5vw, 42px); letter-spacing: -.025em; text-wrap: balance; margin: 16px 0; }
.pricing-head > p { max-width: 650px; margin: 0 auto 16px; font-size: 18px; line-height: 1.6; color: var(--text-muted); }
.pricing-page .pricing-note { font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pricing-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.pricing-card:has(input:checked) { border-color: var(--accent); }
.pricing-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.pricing-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--paper) 80%, transparent); border: 1px solid var(--surface); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 3px 8px -5px var(--text-muted); }
.pricing-icon svg { width: 24px; height: 24px; }
.pricing-card h3 { font-size: 23px; margin: 0 0 12px; }
.pricing-audience { font-size: 13px; line-height: 1.5; color: var(--text-muted); min-height: 40px; margin: 0 0 12px; }
.pricing-benefit { font-size: 15px; line-height: 1.6; min-height: 72px; margin: 0; }
.pricing-features { padding: 0; margin: 20px 0 28px; list-style: none; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0; font-size: 15px; line-height: 1.55; }
.pricing-check { display: block; width: 16px; height: 16px; flex: 0 0 16px; margin-top: calc((1em * 1.55 - 16px) / 2); color: var(--text-muted); }
.pricing-choice { display: flex; align-items: center; gap: 10px; padding: 12px; min-height: 48px; border: 1px solid var(--border); border-radius: var(--radius-md); cursor: pointer; font-size: 14px; line-height: 1.5; }
.pricing-choice:hover { border-color: var(--accent); }
.pricing-choice:has(input:checked) { background: var(--accent-tint); border-color: var(--accent); }
.pricing-choice input { appearance: none; -webkit-appearance: none; position: relative; width: 18px; height: 18px; flex: 0 0 18px; margin: 0; border: 1px solid var(--text-muted); border-radius: 5px; background: var(--surface); cursor: inherit; }
.pricing-choice input:checked { background: var(--accent); border-color: var(--accent); }
.pricing-choice input:checked::after { content: ''; position: absolute; width: 8px; height: 4px; left: 50%; top: 50%; border-left: 1.5px solid var(--surface); border-bottom: 1.5px solid var(--surface); transform: translate(-50%, -65%) rotate(-45deg); }
.pricing-page :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.pricing-included { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 0; margin-top: 8px; }
.pricing-included h2 { font-family: var(--font-text); font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.pricing-included p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 8px 0; }
.pricing-watch { flex-shrink: 0; }
.pricing-demo.bb-right { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 32px; margin-top: 12px; }
.pricing-demo h2 { font-size: 27px; margin: 12px 0; }
.pricing-demo p { font-size: 15px; line-height: 1.6; margin: 8px 0; }
.pricing-demo .btn { margin-top: 0; flex-shrink: 0; min-height: 48px; }
.pricing-section-head { margin-bottom: 28px; }
.pricing-section-head h2 { font-size: 30px; margin: 0 0 12px; }
.pricing-section-head p { color: var(--text-muted); line-height: 1.6; }
.pricing-page details { border-bottom: 1px solid var(--border); }
.pricing-page summary { position: relative; list-style: none; padding: 22px 44px 22px 4px; font-size: 16px; cursor: pointer; line-height: 1.5; }
.pricing-page details > p { padding: 0 24px 24px; max-width: 820px; line-height: 1.7; color: var(--text-muted); margin: 0; }
.pricing-trust { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.pricing-trust h3 { font-size: 22px; margin: 0 0 12px; }
.pricing-trust p { color: var(--text-muted); line-height: 1.6; max-width: 600px; }
.pricing-trust > a { flex-shrink: 0; }
@media (max-width: 960px) {
 .pricing-grid { gap: 12px; }
 .pricing-card-body { padding: 20px; }
 .pricing-card h3 { font-size: 21px; }
 .pricing-demo.bb-right, .pricing-included, .pricing-trust { align-items: stretch; flex-direction: column; gap: 20px; }
 .pricing-watch { align-self: flex-start; }
}
@media (max-width: 720px) {
 .pricing-page .band { padding: 40px 0; }
 .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
 .pricing-head { text-align: left; margin-bottom: 28px; }
 .pricing-head > p { font-size: 16px; }
 .pricing-audience, .pricing-benefit { min-height: 0; }
 .pricing-benefit { margin-top: 4px; }
 .pricing-art { max-height: 180px; }
 .pricing-features { margin: 8px 0 20px; }
 .pricing-demo.bb-right { padding: 24px; }
 .pricing-demo h2 { font-size: 25px; }
 .pricing-page summary { padding: 20px 40px 20px 0; }
}
.pricing-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.pricing-choice:has(input:disabled) { cursor: default; opacity: .65; }

/* GitBook reference: an illustration window above a quiet card body. The three
   existing Klavius crops form one ribbon at a matching aspect ratio. */
.pricing-art { display: grid; place-items: center; aspect-ratio: 798 / 465; background-color: var(--surface-sunken); background-size: cover; background-position: center; border-bottom: 1px solid var(--border); }
.pricing-art-compliance { background-image: image-set(url("brand/ribbon-how-1-1x.webp") 1x, url("brand/ribbon-how-1.webp") 2x); }
.pricing-art-delegates { background-image: image-set(url("brand/ribbon-how-2-1x.webp") 1x, url("brand/ribbon-how-2.webp") 2x); }
.pricing-art-dora { background-image: image-set(url("brand/ribbon-how-3-1x.webp") 1x, url("brand/ribbon-how-3.webp") 2x); }
.pricing-choice { background: var(--paper); transition: border-color .18s ease, background .18s ease; }
.pricing-card:has(input:checked) .pricing-icon { background: var(--surface); }
.pricing-included { padding: 28px; margin-top: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.pricing-demo.bb-right { background: var(--surface); margin-top: 24px; border-radius: var(--radius-lg); }
.pricing-page summary::-webkit-details-marker { display: none; }
.pricing-page summary::before, .pricing-page summary::after { content: ''; position: absolute; right: 12px; top: 50%; width: 12px; height: 1px; background: var(--text-muted); }
.pricing-page summary::after { transform: rotate(90deg); }
.pricing-page details[open] > summary::after { transform: rotate(0); }
.pricing-page summary:hover { color: var(--accent); }
.pricing-page details[open] > summary { color: var(--accent); }
.pricing-trust > a { display: inline-flex; padding: 10px 16px; background: var(--surface-sunken); border: 1px solid var(--border); border-radius: var(--radius-pill); font-size: 14px; }
@media (min-width: 961px) {
 .pricing-faq .shell { display: grid; grid-template-columns: 1fr 1.6fr; column-gap: 72px; }
 .pricing-faq .pricing-section-head { grid-column: 1; grid-row: 1 / span 6; }
 .pricing-faq details { grid-column: 2; }
 .pricing-faq .pricing-trust { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
 .pricing-included { padding: 24px; }
 .pricing-watch { align-self: stretch; }
 .pricing-trust > a { align-self: flex-start; }
}
@media (hover: hover) and (pointer: fine) {
 .pricing-card { transition: transform .22s ease, box-shadow .22s ease; }
 .pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -20px var(--text-muted); }
 .pricing-icon { transition: transform .22s ease; }
 .pricing-card:hover .pricing-icon { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
 .pricing-choice, .pricing-card, .pricing-icon { transition: none; }
 .pricing-card:hover, .pricing-card:hover .pricing-icon { transform: none; }
}
@media (forced-colors: active) {
 .pricing-choice input { appearance: auto; }
 .pricing-choice input::after { display: none; }
 .pricing-page summary::before, .pricing-page summary::after { background: ButtonText; }
}
