/* Pricing page sections (B2). Ported from the reviewed draft docs/ui-audit/wordpress-drafts/vedicank-pricing.html.
 * The plan cards, billing switch, comparison table and yearly prices are plugin blocks with their own styles. */

.editor-styles-wrapper :where(.vk-phero, .vk-plans-section, .vk-cmp, .vk-bfaq, .vk-pfinal) :is(h1, h2, h3, h4, p, figure, ul) { margin: 0; }
.vk-icon-tag { --vk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315181e' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M3 12.5V4h8.5l9.5 9.5-8.5 8.5z'/%3E%3Ccircle cx='8' cy='9' r='1.5'/%3E%3C/svg%3E"); }
.vk-icon-document { --vk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315181e' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 00-2 2v14a2 2 0 002 2h10a2 2 0 002-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.has-arrow-up .wp-block-button__link::after {
	content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* small grey caps above a heading (no pill) */
:is(.vk-main, .editor-styles-wrapper) .vk-kicker { font-family: var(--vk-heading); font-weight: 600; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: #6b6d72; }

/* ---------- hero ---------- */
.vk-phero { padding: 88px 32px 56px; text-align: center; background: linear-gradient(#FAF5EE, #fff 95%); }
.vk-deco-lines.vk-deco::before { background-image: url("../images/deco-lines.svg"); }
:is(.vk-main, .editor-styles-wrapper) .vk-phero .vk-hero-title { font-size: clamp(42px, 6.2vw, 92px); line-height: 1; margin-top: 28px; }
.vk-phero .vk-lede { margin-top: 20px; }
:is(.vk-main, .editor-styles-wrapper) .vk-down { margin-top: 44px; }
.vk-down a { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font-size: 15px; color: #6b6d72; }
.vk-down a::after {
	content: ""; width: 22px; height: 22px; background: #33353a; animation: vk-bob 2s ease-in-out infinite;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes vk-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .vk-down a::after { animation: none; } }

/* ---------- plans ---------- */
.vk-plans-section { padding: 40px 32px 96px; background: #fff; }
:is(.vk-main, .editor-styles-wrapper) section.vk-plans-section { scroll-margin-top: 90px; }

/* ---------- comparison ---------- */
.vk-cmp { padding: 88px 32px 96px; background: var(--vk-cream); text-align: center; }
:is(.vk-main, .editor-styles-wrapper) .vk-cmp .vk-section-title { font-size: clamp(34px, 4.4vw, 62px); margin-top: 16px; }
.vk-cmp .vk-lede { margin-top: 14px; }

/* ---------- billing FAQ ---------- */
.vk-bfaq { padding: 96px 32px 88px; background: #fff; }
.vk-bfaq-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 9fr); gap: 40px; align-items: start; }
.vk-bfaq-intro { position: sticky; top: 110px; }
:is(.vk-main, .editor-styles-wrapper) .vk-bfaq .vk-section-title { font-size: clamp(38px, 4.4vw, 64px); margin: 26px 0 0; }
:is(.vk-main, .editor-styles-wrapper) .vk-bfaq .vk-faq-text { margin-top: 22px; }
.vk-note-box { margin-top: 34px; background: #F6F2EC; border-radius: 16px; padding: 28px; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px 20px; max-width: 470px; box-sizing: border-box; }
.vk-note-box::before { content: ""; width: 48px; height: 48px; grid-row: span 2; background: var(--vk-icon) center / contain no-repeat; }
:is(.vk-main, .editor-styles-wrapper) .vk-note-box h3 { font-family: var(--vk-heading); font-weight: 700; font-size: 23px; letter-spacing: -.02em; line-height: 1.2; color: #111; }
.vk-note-box p { font-size: 17px; line-height: 1.5; color: #6b6d72; }
.vk-note-box.is-wide { max-width: none; margin-top: 18px; padding: 22px 28px; grid-template-columns: 42px minmax(0, 1fr); column-gap: 24px; align-items: center; }
.vk-note-box.is-wide::before { width: 42px; height: 42px; }
:is(.vk-main, .editor-styles-wrapper) .vk-note-box.is-wide h3 { font-size: 20px; }
.vk-note-box.is-wide p { font-size: 16.5px; color: #55575d; }
.vk-note-box a { font-weight: 600; color: #111; text-decoration: underline; text-underline-offset: 3px; }
.vk-note-box a:hover { text-decoration-color: var(--vk-saffron); }
.vk-bfaq .vk-accordion details > .vk-yearly-prices { padding-right: 60px; }
.vk-ready { max-width: 1400px; margin: 56px auto 0; border-top: 1px solid #ebe6e0; padding-top: 30px; text-align: center; }
:is(.vk-main, .editor-styles-wrapper) .vk-ready h3 { font-family: var(--vk-heading); font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: #111; }
.vk-ready .vk-ctas { margin-top: 16px; }
.vk-ready .vk-ctas .wp-block-button__link { font-size: 18px; padding: 15px 44px; }
:is(.vk-main, .editor-styles-wrapper) .vk-ready > p { font-size: 15px; color: #6b6d72; margin-top: 16px; }

/* ---------- closing ---------- */
.vk-pfinal { padding-bottom: 96px; }
.vk-pfinal .vk-ctas { margin-top: 36px; }
:is(.vk-main, .editor-styles-wrapper) .vk-facts-row { list-style: none; padding: 0; display: flex; justify-content: center; align-items: center; margin-top: 38px; }
.vk-facts-row li { display: flex; align-items: center; gap: 14px; font-size: 17px; color: #33353a; padding: 0 32px; }
.vk-facts-row li::before { content: ""; width: 28px; height: 28px; flex: none; background: var(--vk-icon) center / contain no-repeat; }
.vk-facts-row li + li { border-left: 1px solid #ddd6ce; }
:is(.vk-main, .editor-styles-wrapper) .vk-fine { font-size: 15px; color: #6b6d72; margin-top: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
	.vk-bfaq-inner { grid-template-columns: minmax(0, 1fr); }
	.vk-bfaq-intro { position: static; }
}
@media (max-width: 760px) {
	:is(.vk-main, .editor-styles-wrapper) .vk-facts-row { flex-direction: column; gap: 14px; }
	.vk-facts-row li + li { border-left: 0; }
}
@media (max-width: 640px) {
	.vk-phero { padding: 56px 16px 48px; }
	.vk-plans-section { padding: 24px 16px 72px; }
	.vk-cmp { padding: 64px 16px 72px; }
	.vk-bfaq { padding: 64px 16px 72px; }
	.vk-bfaq .vk-accordion details > .vk-yearly-prices { padding-right: 0; }
	.vk-note-box.is-wide { padding: 20px; column-gap: 16px; }
	.vk-pfinal { padding: 72px 16px; }
}
