/* Buttons */
.pb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px;
	border: 1px solid transparent; border-radius: 999px;
	font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; text-align: center;
	transition: transform .15s ease, background .15s ease, color .15s ease;
}
.pb-btn:hover { transform: translateY(-1px); }
.pb-btn--primary { background: var(--pb-orange); color: var(--pb-navy); }
.pb-btn--primary:hover { background: var(--pb-orange-hover); color: var(--pb-navy); }
.pb-btn--dark { background: var(--pb-navy); color: #fff; }
.pb-btn--dark:hover { background: var(--pb-navy-2); color: #fff; }
.pb-btn--white { background: #fff; color: var(--pb-navy); }
.pb-btn--white:hover { background: var(--pb-bg); color: var(--pb-navy); }
.pb-btn--ghost { background: transparent; color: var(--pb-navy); border-color: var(--pb-muted); }
.pb-btn--ghost:hover { background: var(--pb-bg); color: var(--pb-navy); }
.pb-btn--block { width: 100%; }
.pb-btn--lg { min-height: 52px; padding: 12px 26px; font-size: 16px; }
.pb-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.pb-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--pb-orange-dark); }
.pb-arrow:hover { text-decoration: underline; }
.pb-arrow .pb-icon { transition: transform .15s ease; }
.pb-arrow:hover .pb-icon { transform: translateX(3px); }

/* Small pieces */
.pb-eyebrow { font-family: var(--pb-font); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pb-orange-dark); }
.pb-section--dark .pb-eyebrow { color: #FFB08C; }
.pb-badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--pb-bg-2); color: var(--pb-navy); white-space: nowrap; }
.pb-badge--soon { background: #EEF0FF; color: #3730A3; }
.pb-badge--brand { background: var(--pb-orange); color: var(--pb-navy); }
.pb-badge--pop { background: var(--pb-navy); color: #fff; }
.pb-chip { display: inline-flex; flex: none; align-items: center; justify-content: center; border-radius: 10px; background: var(--pb-bg-2); color: var(--pb-navy); }
.pb-muted { color: var(--pb-muted); }
.pb-lead { font-size: 18px; line-height: 1.6; color: var(--pb-body); }

/* Layout blocks */
.pb-section { padding-block: 88px; }
.pb-section--tight { padding-block: 56px; }
.pb-section--alt { background: var(--pb-bg); }
.pb-section--dark { background: var(--pb-navy); color: #fff; }
.pb-section--dark a:not(.pb-btn) { color: #FFB08C; }
.pb-section__head { max-width: 720px; margin-bottom: 40px; }
.pb-section__head--center { margin-inline: auto; text-align: center; }
.pb-section__head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 10px; }
.pb-section__head p { margin-top: 14px; font-size: 17px; color: var(--pb-body); }
.pb-section--dark .pb-section__head p { color: #B7C3D3; }
.pb-grid { display: grid; gap: 20px; }
.pb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .pb-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pb-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.pb-section { padding-block: 56px; }
	.pb-grid--2, .pb-grid--3, .pb-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.pb-card { display: block; background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius-m); padding: 24px; color: var(--pb-navy); text-decoration: none; }
a.pb-card { transition: transform .2s ease, box-shadow .2s ease; }
a.pb-card:hover { transform: translateY(-3px); box-shadow: var(--pb-shadow); color: var(--pb-navy); }
.pb-card h3 { font-size: 19px; }
.pb-card p { margin-top: 8px; color: var(--pb-body); font-size: 15px; }

/* Page hero used by inner pages */
.pb-hero { padding-block: 72px 56px; background: linear-gradient(180deg, var(--pb-bg) 0%, #fff 100%); }
.pb-hero h1 { font-size: clamp(34px, 5.4vw, 56px); max-width: 20ch; margin-top: 12px; }
.pb-hero .pb-lead { margin-top: 18px; max-width: 62ch; }
.pb-hero .pb-btn-row { margin-top: 28px; }
.pb-hero--center { text-align: center; }
.pb-hero--center h1, .pb-hero--center .pb-lead { margin-inline: auto; }
.pb-hero--center .pb-btn-row { justify-content: center; }

.pb-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--pb-muted); }
.pb-breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--pb-muted); }
.pb-breadcrumb a { color: var(--pb-body); text-decoration: none; display: inline-block; padding-block: 4px; }
.pb-breadcrumb a:hover { text-decoration: underline; }
.pb-breadcrumb span { display: inline-block; padding-block: 4px; }

/* Long-form content written in the editor */
.pb-prose { font-size: 17px; line-height: 1.7; color: var(--pb-body); }
.pb-prose > * + * { margin-top: 1.1em; }
.pb-prose h2 { font-size: 28px; color: var(--pb-navy); margin-top: 1.8em; }
.pb-prose h3 { font-size: 21px; color: var(--pb-navy); margin-top: 1.5em; }
.pb-prose h4 { font-size: 18px; color: var(--pb-navy); margin-top: 1.4em; }
.pb-prose ul, .pb-prose ol { padding-left: 1.3em; }
.pb-prose li + li { margin-top: .4em; }
.pb-prose a { font-weight: 500; }
.pb-prose img { border-radius: var(--pb-radius); }
.pb-prose figcaption { font-size: 14px; color: var(--pb-muted); margin-top: 8px; text-align: center; }
.pb-prose blockquote { border-left: 4px solid var(--pb-orange); padding: 4px 0 4px 20px; color: var(--pb-navy); font-size: 19px; }
.pb-prose code { background: var(--pb-bg-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; color: var(--pb-navy); }
.pb-prose pre { background: var(--pb-navy); color: #E6EDF7; padding: 18px 20px; border-radius: var(--pb-radius); overflow-x: auto; font-size: 14px; line-height: 1.6; }
.pb-prose code, .pb-prose pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.pb-prose pre code { background: none; padding: 0; color: inherit; }
.pb-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pb-prose th, .pb-prose td { border: 1px solid var(--pb-line); padding: 10px 12px; text-align: left; }
.pb-prose th { background: var(--pb-bg); color: var(--pb-navy); }
.pb-prose hr { border: 0; border-top: 1px solid var(--pb-line); margin-block: 2em; }
.pb-scroll { overflow-x: auto; }

/* Forms */
.pb-field { display: flex; flex-direction: column; gap: 6px; }
.pb-field label, .pb-label { font-weight: 600; font-size: 14px; }
.pb-input, .pb-prose input[type="text"], .pb-prose input[type="email"], .pb-prose textarea,
.pb-footer__form input[type="email"], .pb-footer__form input[type="text"] {
	min-height: 46px; padding: 10px 14px; border: 1px solid var(--pb-muted); border-radius: var(--pb-radius); background: #fff; color: var(--pb-navy); width: 100%;
}
.pb-search { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; max-width: 560px; }
.pb-search .pb-field { flex: 1 1 240px; }

/* Plan cards */
.pb-plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.pb-plan { position: relative; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius-l); padding: 28px; }
.pb-plan--popular { border: 2px solid var(--pb-navy); box-shadow: var(--pb-shadow); }
.pb-plan h3 { font-size: 20px; }
.pb-plan > .pb-badge { align-self: flex-start; }
.pb-plan__price { font-family: var(--pb-font-head); font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.pb-plan__price span { font-family: var(--pb-font); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--pb-muted); }
.pb-plan__list { display: grid; gap: 10px; font-size: 15px; color: var(--pb-body); }
.pb-plan__list li { display: flex; gap: 10px; align-items: flex-start; }
.pb-tick { display: inline-flex; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--pb-orange-tint); color: var(--pb-orange-dark); align-items: center; justify-content: center; }
.pb-plan .pb-btn { margin-top: auto; }
.pb-plan__note { font-size: 13px; color: var(--pb-muted); }

/* FAQ accordion */
.pb-faq { max-width: 800px; margin-inline: auto; border-top: 1px solid var(--pb-line); }
.pb-faq__item { border-bottom: 1px solid var(--pb-line); }
.pb-faq__q { font-family: var(--pb-font); font-size: 17px; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.pb-faq__btn { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; background: none; border: 0; text-align: left; font: inherit; color: var(--pb-navy); }
.pb-faq__btn .pb-icon { transition: transform .2s ease; }
.pb-faq__btn[aria-expanded="true"] .pb-icon { transform: rotate(180deg); }
.pb-faq__q--static { padding: 20px 4px 0; }
.pb-faq__a { padding: 0 4px 20px; color: var(--pb-body); font-size: 16px; line-height: 1.65; }
.pb-faq__q--static + .pb-faq__a { padding-top: 8px; }

/* Plugin cards */
.pb-pcard { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.pb-pcard__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pb-pcard h2, .pb-pcard h3 { font-size: 20px; }
.pb-pcard h2 a, .pb-pcard h3 a { color: var(--pb-navy); text-decoration: none; }
.pb-pcard h2 a::after, .pb-pcard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--pb-radius-m); }
.pb-pcard { position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.pb-pcard:hover { transform: translateY(-3px); box-shadow: var(--pb-shadow); }
.pb-pcard:focus-within { box-shadow: var(--pb-shadow); }
.pb-pcard__meta { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--pb-navy); }

/* Stats and testimonials */
.pb-stats { display: flex; flex-wrap: wrap; gap: 12px 36px; }
.pb-stats div { display: flex; flex-direction: column; }
.pb-stats dt { font-size: 14px; color: var(--pb-muted); order: 2; }
.pb-stats dd { margin: 0; font-family: var(--pb-font-head); font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.pb-quote { display: flex; flex-direction: column; gap: 16px; }
.pb-quote blockquote { font-size: 17px; line-height: 1.6; color: var(--pb-navy); }
.pb-quote figcaption { font-size: 14px; color: var(--pb-muted); }
.pb-quote figcaption strong { color: var(--pb-navy); display: block; }

/* Call-to-action band */
.pb-cta { background: var(--pb-navy); color: #fff; border-radius: 28px; padding: 56px 40px; text-align: center; }
.pb-cta h2 { font-size: clamp(28px, 4vw, 40px); }
.pb-cta p { margin: 14px auto 0; max-width: 56ch; color: #B7C3D3; font-size: 17px; }
.pb-cta .pb-btn-row { justify-content: center; margin-top: 28px; }
.pb-cta .pb-btn--ghost { color: #fff; border-color: var(--pb-muted); }
.pb-cta .pb-btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
@media (max-width: 760px) { .pb-cta { padding: 40px 22px; border-radius: 20px; } }

/* Dark surfaces need a light focus ring */
.pb-section--dark :focus-visible, .pb-cta :focus-visible, .pb-promo :focus-visible, .pb-mega__bundle :focus-visible {
	outline-color: #fff; box-shadow: 0 0 0 5px var(--pb-navy);
}

/* Decorative product card in the hero */
.pb-mock { justify-self: center; width: min(340px, 100%); background: #fff; border: 1px solid var(--pb-line); border-radius: 22px; box-shadow: var(--pb-shadow-l); overflow: hidden; transform: rotate(2deg); }
.pb-mock__img { position: relative; height: 190px; background: linear-gradient(135deg, #FFE7D6, #FFC857 60%, #FF9D7A); }
.pb-mock__flag { position: absolute; left: 14px; top: 14px; background: var(--pb-navy); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 4px 9px; border-radius: 999px; }
.pb-mock__body { display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.pb-mock__title { font-weight: 600; }
.pb-mock__price s { color: var(--pb-muted); }
.pb-mock__price b { font-size: 20px; }
.pb-mock__save { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; background: var(--pb-orange-tint); color: var(--pb-orange-dark); font-weight: 600; font-size: 14px; padding: 6px 10px; border-radius: 999px; }
.pb-mock__btn { margin-top: 6px; text-align: center; background: var(--pb-navy); color: #fff; font-weight: 600; padding: 11px; border-radius: 999px; font-size: 14px; }
@media (max-width: 860px) { .pb-mock { transform: none; } }

/* Numbered steps and icon cards */
.pb-why h3 { margin-top: 16px; }
.pb-why .pb-arrow { margin-top: 6px; }
.pb-steps { margin: 0; padding: 0; list-style: none; }
.pb-steps li { padding: 28px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius-m); }
.pb-steps__n { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--pb-navy); color: #fff; align-items: center; justify-content: center; font-weight: 700; }
.pb-steps h3 { margin-top: 16px; font-size: 20px; }
.pb-steps p { margin-top: 8px; color: var(--pb-body); }
.pb-empty { max-width: 560px; margin-inline: auto; padding: 56px 24px; text-align: center; border: 1px dashed var(--pb-muted); border-radius: var(--pb-radius-l); }
.pb-empty h2 { font-size: 26px; }
.pb-empty p { margin-top: 12px; color: var(--pb-body); }
.pb-empty .pb-btn { margin-top: 10px; }
.pb-docs-search { margin-top: 28px; display: flex; justify-content: center; }
.pb-docs-search .pb-search { width: 100%; text-align: left; }
.pb-filter { margin-bottom: 28px; }
.pb-filter ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pb-filter a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--pb-muted); border-radius: 999px; color: var(--pb-navy); text-decoration: none; font-weight: 500; font-size: 15px; }
.pb-filter a:hover { background: var(--pb-bg); }
.pb-filter a[aria-current="page"] { background: var(--pb-navy); border-color: var(--pb-navy); color: #fff; }
