/*
Theme Name: WP Plugin Premium
Theme URI: https://www.wppluginpremium.com
Author: WP Plugin Premium
Author URI: https://www.wppluginpremium.com
Description: Marketing theme for WP Plugin Premium. Homepage, six product pages sharing one template, pricing and bundle templates, with HTML/CSS product mockups.
Version: 1.3.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wppp
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #0f1729;
	--ink-2: #3a4356;
	--muted: #4b5467;
	--subtle: #6b7385;
	--subtle-2: #7a808c;
	--subtle-3: #8a909c;
	--primary: #2f5bd3;
	--primary-hover: #2a51bd;
	--primary-soft: #eef2fc;
	--primary-tint: #f5f8fe;
	--primary-tint-2: #f7f9fe;
	--primary-line: #dbe3f7;
	--primary-on-dark: #9db4f5;
	--dark-2: #26314b;
	--dark-card: #18223a;
	--on-dark: #b4bccb;
	--on-dark-2: #9aa4b8;
	--border: #e6e9ee;
	--border-2: #e3e5ea;
	--border-strong: #d5dae3;
	--divider: #eceef2;
	--divider-2: #f0f1f4;
	--surface: #fff;
	--bg: #fbfbfc;
	--alt: #f3f5f9;
	--alt-2: #f8f9fb;
	--success: #1d7340;
	--success-bg: #e5f4ea;
	--warning: #935600;
	--warning-bg: #fdf1dc;
	--danger: #b3261e;
	--danger-bg: #fbe9e9;
	--star: #e8a33d;
	--highlight: #fff4c2;
	--font: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
	--mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	--shadow-card: 0 1px 2px rgba(16, 24, 40, .06);
	--shadow-window: 0 20px 50px -24px rgba(16, 24, 40, .35);
	--shadow-float: 0 1px 2px rgba(16, 24, 40, .04), 0 16px 40px -16px rgba(16, 24, 40, .22);
	--shadow-mock: 0 12px 32px -16px rgba(16, 24, 40, .18);
	--shadow-sticky: 0 -10px 24px -12px rgba(16, 24, 40, .25);
	--gutter: 80px;
	--header-h: 72px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 16px/1.55 var(--font);
	-webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; transition: opacity .15s ease, color .15s ease, background-color .15s ease; }
a:hover { opacity: .75; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
input, button, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
ul.plain { list-style: none; margin: 0; padding: 0; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow-window);
}
.mono { font-family: var(--mono); }

/* ==========================================================================
   Layout
   ========================================================================== */
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.gutter { padding-inline: var(--gutter); }
.section { padding-block: 112px; }
.section--sm { padding-block: 88px; }
.section--white { background: #fff; }
.section--dark { background: var(--ink); color: #fff; }
.bt { border-top: 1px solid var(--border); }
.bb { border-bottom: 1px solid var(--border); }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 12px); }
.grid { display: grid; grid-template-columns: var(--cols, 1fr 1fr); gap: var(--gap, 24px); }
.split { display: grid; grid-template-columns: var(--cols, minmax(0, 1fr) minmax(0, 1fr)); gap: var(--gap, 64px); align-items: center; }
.split--start { align-items: start; }
.grid > *, .split > *, .stack > *, .p-hero__inner > *, .home-hero__inner > *, .faq-layout > *, .ps > *, .price-grid > *, .review-grid > * { min-width: 0; }
#main { overflow-x: clip; }

/* ==========================================================================
   Typography
   ========================================================================== */
.eyebrow { font-size: 14px; font-weight: 700; color: var(--primary); letter-spacing: .06em; text-transform: uppercase; }
.section--dark .eyebrow, .eyebrow--dark { color: var(--primary-on-dark); }
.eyebrow-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.h2 { margin: 0; font-size: 44px; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
.h2--sm { font-size: 40px; line-height: 1.12; }
.h3 { margin: 0; font-size: 32px; line-height: 1.15; letter-spacing: -.015em; font-weight: 700; }
.h3--sm { font-size: 30px; }
.lead { margin: 0; color: var(--muted); font-size: 18px; }
.lead--17 { font-size: 17px; }
.section--dark .lead { color: var(--on-dark); }
.muted { color: var(--muted); }
.kicker { font-size: 14px; font-weight: 700; color: var(--primary); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head__aside { margin: 0; max-width: 400px; color: var(--muted); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.section-head--center .stack { align-items: center; }

/* ==========================================================================
   Buttons, pills, tags
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 15px 24px; border-radius: 9px; border: 1px solid transparent;
	font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2;
	cursor: pointer; white-space: nowrap; text-align: center;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { opacity: 1; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.btn--secondary:hover { background: var(--alt-2); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1d2740; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #eceff4; }
.btn--ghost-dark { color: #dfe4ee; border-color: #34405c; }
.btn--ghost-dark:hover { background: rgba(255, 255, 255, .06); }
.btn--md { padding: 13px 20px; }
.btn--sm { padding: 11px 18px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.link-arrow { font-weight: 600; color: var(--primary); white-space: nowrap; }
.section--dark .link-arrow { color: var(--primary-on-dark); }

.pill { display: inline-flex; align-self: flex-start; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--border-strong); padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.pill--primary { color: #fff; background: var(--primary); border-color: var(--primary); }
.pill--dark { color: #dfe4ee; border-color: #34405c; }
.pill-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pro-tag { font-size: 11.5px; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 2px 7px; border-radius: 5px; letter-spacing: 0; text-transform: none; }
.hl { color: var(--ink); background: var(--highlight); padding: 0 4px; border-radius: 3px; font-weight: 700; }
.stars { color: var(--star); letter-spacing: 1px; }
.rating { display: flex; align-items: center; gap: 8px; }
.rating b:not(.hl) { color: var(--ink); }

/* ==========================================================================
   Header, navigation, switcher
   ========================================================================== */
.announce { background: var(--ink); color: #fff; font-size: 14px; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px var(--gutter); position: relative; text-align: center; }
.announce a { color: var(--primary-on-dark); font-weight: 600; text-decoration: underline; }
.announce__close { position: absolute; right: var(--gutter); background: none; border: 0; color: var(--on-dark-2); font-size: 18px; cursor: pointer; line-height: 1; padding: 4px; }

.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--border); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--gutter); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; white-space: nowrap; }
.brand:hover { opacity: 1; }
.brand__mark { width: 30px; height: 30px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.main-nav { align-self: stretch; display: flex; }
.main-nav > ul { height: 100%; align-items: stretch; display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_item > a, .main-nav .is-active > a { color: var(--primary); }
.header-actions { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; }
.header-actions .signin { padding: 9px 14px; color: var(--ink-2); }
.btn--header { padding: 10px 18px; border-radius: 8px; font-size: 15px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border-strong); background: #fff; border-radius: 8px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-drawer { position: fixed; left: 0; right: 0; bottom: 0; top: var(--drawer-top, var(--header-h)); z-index: 55; background: #fff; padding: 24px var(--gutter) 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s; }
.mobile-drawer.is-open { transform: none; visibility: visible; transition: transform .2s ease; }
.mobile-drawer ul { list-style: none; margin: 0 0 24px; padding: 0; }
.mobile-drawer li a { display: block; padding: 14px 0; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--divider); }
.mobile-drawer .drawer-sub { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin: 8px 0 4px; }
.mobile-drawer .drawer-plugins a { font-size: 16px; font-weight: 500; padding: 10px 0; }
.mobile-drawer .btn { width: 100%; margin-top: 10px; }

.switcher { background: #fff; border-bottom: 1px solid var(--border); }
.switcher__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.switcher__inner::-webkit-scrollbar { display: none; }
.switcher a { padding: 14px 10px 12px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--muted); border-bottom: 2px solid transparent; }
.switcher a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); }

/* ==========================================================================
   Product hero
   ========================================================================== */
.p-hero { background: #fff; }
.p-hero__inner { padding-top: 72px; padding-bottom: 104px; display: grid; grid-template-columns: minmax(0, 1fr) var(--visual, 540px); gap: 56px; align-items: center; }
.p-hero__copy { display: flex; flex-direction: column; gap: 24px; }
.breadcrumb { font-size: 14px; color: var(--subtle); }
.breadcrumb .sep { margin: 0 6px; }
.breadcrumb [aria-current] { color: var(--ink); }
.p-hero__name { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.p-hero__by { font-size: 14px; color: var(--subtle); }
.p-hero h1 { margin: 0; font-size: var(--h1, 58px); line-height: var(--h1-lh, 1.04); letter-spacing: var(--h1-ls, -.025em); font-weight: 700; }
.p-hero__lead { margin: 0; font-size: 19px; color: var(--muted); max-width: 540px; }
.trust-row { display: flex; gap: 8px 20px; align-items: center; flex-wrap: wrap; font-size: 14.5px; color: var(--muted); }
.p-hero--dark { background: var(--ink); color: #fff; }
.p-hero--dark .p-hero__inner { padding-top: 80px; gap: 48px; }
.p-hero--dark .breadcrumb, .p-hero--dark .p-hero__by, .p-hero--dark .trust-row { color: var(--on-dark-2); }
.p-hero--dark .breadcrumb [aria-current] { color: #fff; }
.p-hero--dark .p-hero__lead { color: var(--on-dark); }

.hero-visual { position: relative; height: var(--h, 620px); }
.hv-bg { position: absolute; inset: 40px -24px -24px 60px; border-radius: 20px; background: var(--primary-soft); }
.hv-a { position: absolute; right: 0; top: 0; }
.hv-b { position: absolute; left: 0; bottom: 0; }

/* ==========================================================================
   Mockups (HTML/CSS product UI)
   ========================================================================== */
.mock { background: #fff; border: 1px solid var(--border-2); border-radius: 10px; overflow: hidden; font-size: 12px; line-height: 1.35; color: #1d2330; }
.mock--float { box-shadow: var(--shadow-float); }
.mock--shadow { box-shadow: var(--shadow-mock); }
.mock--col { display: flex; flex-direction: column; }
.mock__bar { height: 28px; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid var(--divider); background: var(--alt-2); flex-shrink: 0; }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: #dfe2e8; flex-shrink: 0; }
.mock__url { margin-left: 8px; font-size: 10px; color: var(--subtle-3); font-family: var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__bar--lg { height: 30px; padding: 0 12px; }
.mock__bar--lg .mock__url { font-size: 10.5px; }
.mock-stage { background: var(--alt); border-radius: 20px; padding: var(--pad, 28px); }
.mock-scroll { min-width: 0; }
.ph { background: repeating-linear-gradient(45deg, #eef0f3 0 5px, #e4e7eb 5px 10px); }
.ph--dark { background: repeating-linear-gradient(45deg, #3a4150 0 5px, #2e3442 5px 10px); }
.line { height: 6px; border-radius: 3px; background: #eef0f3; }
.badge { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; white-space: nowrap; justify-self: start; align-self: flex-start; }
.b-warn { background: var(--warning-bg); color: var(--warning); }
.b-ok { background: var(--success-bg); color: var(--success); }
.b-info { background: var(--primary-soft); color: var(--primary); }
.b-danger { background: var(--danger-bg); color: var(--danger); }
.b-neutral { background: var(--divider-2); color: #6b7280; }
.b-purple { background: #f1ecfb; color: #6a3fc1; }
.b-dark { background: var(--divider-2); color: var(--ink-2); }
.toggle { width: 26px; height: 15px; border-radius: 99px; background: var(--primary); position: relative; flex-shrink: 0; display: inline-block; }
.toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.toggle--lg { width: 30px; height: 17px; }
.toggle--lg::after { width: 13px; height: 13px; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.toggle--off { background: var(--border-strong); }
.toggle--off::after { right: auto; left: 2px; }
.chk { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #cfd3da; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.chk--on { background: var(--primary); border-color: var(--primary); color: #fff; font-size: 9px; }
.av { width: 22px; height: 22px; border-radius: 50%; background: #e8ebf0; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.field { border: 1px solid var(--border-2); border-radius: 6px; padding: 6px 9px; }
.label-xs { font-size: 10.5px; font-weight: 600; color: var(--subtle-2); }
.label-xs--b { font-weight: 700; color: var(--subtle-3); }
.meta { color: var(--subtle-2); font-size: 11px; }
.mrow { display: flex; align-items: center; gap: 10px; border: 1px solid var(--divider); border-radius: 8px; padding: 8px 10px; }
.bar-track { height: 7px; border-radius: 4px; background: #eef0f3; overflow: hidden; display: block; }
.bar-track > span { display: block; height: 100%; background: var(--primary); }
.stat { border: 1px solid var(--divider); border-radius: 8px; padding: 10px 12px; }
.stat__l { color: var(--subtle-2); font-size: 11px; }
.stat__v { font-size: 20px; font-weight: 700; }
.chip { font-size: 14px; font-weight: 500; border: 1px solid var(--border-strong); border-radius: 99px; padding: 5px 12px; color: var(--ink-2); background: #fff; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.code-chip { font-family: var(--mono); font-size: 14px; border: 1px solid #cdd9f6; background: var(--primary-tint); color: #24438f; border-radius: 8px; padding: 6px 11px; }
.tabs-mini { display: flex; gap: 14px; font-size: 11.5px; color: var(--subtle-2); border-bottom: 1px solid var(--divider); }
.tabs-mini span:first-child { color: var(--primary); font-weight: 600; padding-bottom: 7px; border-bottom: 2px solid var(--primary); }
.phone { width: 260px; height: 540px; border-radius: 36px; border: 9px solid var(--ink); background: #fff; overflow: hidden; position: relative; font-size: 11.5px; line-height: 1.35; box-shadow: 0 24px 48px -20px rgba(16, 24, 40, .45); }
.shoe { background: #f5f6f8 center/contain no-repeat; }

/* ==========================================================================
   Content blocks
   ========================================================================== */
.card { background: #fff; border: 1px solid var(--border); border-radius: 16px; }

.ps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ps__col { border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.ps__col--before { background: #fff; border: 1px solid var(--border); }
.ps__col--after { background: var(--ink); color: #fff; }
.ps__label { font-size: 14px; font-weight: 700; color: var(--subtle); letter-spacing: .04em; text-transform: uppercase; }
.ps__col--after .ps__label { color: var(--primary-on-dark); }
.ps__item { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.ps__col--before .ps__item { color: var(--ink-2); }
.ps__icon { width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; background: var(--alt); color: var(--subtle-3); }
.ps__col--after .ps__icon { background: var(--primary); color: #fff; }

.journey { position: relative; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: var(--gap, 16px); list-style: none; margin: 0; padding: 0; }
.journey::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: var(--primary-line); }
.journey__step { position: relative; display: flex; flex-direction: column; gap: 12px; }
.journey__num { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); color: var(--primary); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.journey__t { font-size: 17px; font-weight: 700; }
.journey__d { font-size: 14.5px; color: var(--muted); }

.flow { position: relative; display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: var(--gap, 10px); list-style: none; margin: 0; padding: 0; }
.flow--circles::before { content: ""; position: absolute; left: 20px; right: 20px; top: 19px; height: 2px; background: var(--dark-2); }
.flow__step { position: relative; display: flex; flex-direction: column; gap: 12px; }
.flow__num { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); border: 2px solid var(--primary); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.flow__step:last-child .flow__num { background: var(--primary); }
.flow__card { background: var(--dark-card); border: 1px solid var(--dark-2); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.flow__t { font-size: 15px; font-weight: 700; line-height: 1.25; }
.flow__d { font-size: 13px; color: var(--on-dark-2); }
.flow__ex { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--primary-on-dark); }
.flow__n { font-size: 12px; font-weight: 700; color: var(--primary-on-dark); display: flex; justify-content: space-between; }
.flow__n span { color: #4a5775; }

.check-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--gap, 12px 32px); list-style: none; margin: 0; padding: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs, 15.5px); color: var(--ink-2); }
.check::before { content: "✓"; color: var(--primary); font-weight: 700; }
.check-grid--dark .check { color: #dfe4ee; }
.check-grid--dark .check::before { color: var(--primary-on-dark); }
.ticks { display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--ink-2); list-style: none; margin: 0; padding: 0; }
.ticks li::before { content: "✓ "; }

.feature-box { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 40px 44px; display: flex; flex-direction: column; gap: 24px; }
.feature-box--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.feature-box--outline { background: transparent; border-color: var(--dark-2); }
.feature-box__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.feature-box__title { font-size: 20px; font-weight: 700; }
.feature-box__sub { color: var(--on-dark-2); font-size: 15px; }

.showcase-copy { display: flex; flex-direction: column; gap: 18px; }

/* ==========================================================================
   Comparison table
   ========================================================================== */
.compare-wrap { border: 1px solid var(--border); border-radius: 16px; background: #fff; overflow: clip; }
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 13px; text-align: center; border-bottom: 1px solid #eef0f4; font-weight: 400; }
.compare th:first-child, .compare td:first-child { text-align: left; padding-left: 28px; }
.compare thead th { background: #f5f7fa; border-bottom: 1px solid var(--border); padding: 20px; vertical-align: bottom; position: sticky; top: var(--sticky-top, var(--header-h)); z-index: 2; }
.compare thead th:first-child { padding-left: 28px; font-weight: 700; }
.compare thead th.c-pro { background: var(--primary-soft); }
.compare .th-name { display: block; font-weight: 700; }
.compare .th-sub { display: block; font-size: 14px; color: var(--muted); }
.compare .c-pro .th-name { color: var(--primary); }
.compare col.c-plan { width: 220px; }
.compare td.c-pro { background: var(--primary-tint-2); color: var(--primary); font-weight: 600; }
.compare .yes { font-weight: 700; color: var(--ink); }
.compare .no { font-weight: 700; color: #b5bbc6; }
.compare .txt { font-weight: 500; color: var(--ink-2); }
.compare .group td { background: #f5f7fa; font-size: 13px; font-weight: 700; color: var(--subtle); letter-spacing: .06em; padding-block: 14px; text-transform: uppercase; }
.compare .never td { color: var(--muted); padding-block: 12px; }
.compare .never td + td { font-size: 14px; color: var(--subtle); }
.compare tfoot td { border-bottom: 0; padding: 20px; }
.compare tfoot td.c-pro { background: var(--primary-tint-2); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--gap, 20px); width: 100%; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.price-card--lite { border: 1px dashed #cfd5df; background: var(--bg); }
.price-card--featured { border: 2px solid var(--primary); padding: 27px; box-shadow: 0 20px 40px -24px rgba(47, 91, 211, .45); }
.price-card__badge { position: absolute; top: -13px; left: 27px; background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.price-card__name { font-size: 18px; font-weight: 700; margin: 0; }
.price-card__for { color: var(--muted); font-size: 14.5px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price__amount { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.price__unit { color: var(--muted); font-size: 14.5px; }
.price-card__list { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; color: var(--ink-2); list-style: none; margin: 0; padding: 0; }
.price-card__list li::before { content: "✓ "; }
.price-card .btn { padding: 12px; }
.price-grid--home { --cols: 3; --gap: 24px; }
.price-grid--home .price-card { padding: 32px; gap: 20px; }
.price-grid--home .price-card--featured { padding: 31px; }
.price-grid--home .price-card__badge { left: 31px; }
.price-grid--home .price-card__name { font-size: 19px; }
.price-grid--home .price-card__for, .price-grid--home .price__unit { font-size: 15px; }
.price-grid--home .price__amount { font-size: 44px; }
.price-grid--home .price-card__list { font-size: 15px; gap: 10px; }
.price-grid--home .price-card .btn { padding: 13px; }
.price-note { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; font-size: 15px; color: var(--muted); text-align: center; }
.price-note a { color: var(--primary); font-weight: 600; }
.segmented { display: inline-flex; padding: 4px; background: #f0f2f6; border-radius: 10px; gap: 4px; }
.segmented button { border: 0; cursor: pointer; padding: 9px 20px; border-radius: 7px; font: 600 15px var(--font); background: transparent; color: #667085; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16, 24, 40, .12); }
.price-fade { transition: opacity .2s ease; }

/* ==========================================================================
   Reviews, FAQ, CTA, newsletter
   ========================================================================== */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.review--alt { background: var(--bg); }
.review__head { display: flex; justify-content: space-between; align-items: center; }
.review__stars { color: var(--star); letter-spacing: 2px; }
.review__quote { margin: 0; font-size: 17px; line-height: 1.5; }
.review__who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review__name { font-weight: 600; font-size: 15px; }
.review__role { color: var(--subtle); font-size: 14px; }
.version-pill { font-size: 12.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--border-strong); padding: 2px 8px; border-radius: 99px; }

.faq-layout { display: grid; grid-template-columns: var(--cols, 340px minmax(0, 1fr)); gap: var(--gap, 64px); }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item summary { display: flex; justify-content: space-between; gap: 24px; font-size: 18px; font-weight: 600; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--primary); font-size: 22px; line-height: 1; flex-shrink: 0; width: 16px; text-align: center; }
.faq-icon::before { content: "+"; }
.faq-item[open] .faq-icon::before { content: "–"; }
.faq-item p { margin: 12px 0 0; color: var(--muted); max-width: 640px; }
.faq-item[open] p { animation: wpp-fade .2s ease; }
.faq-intro a { color: var(--primary); font-weight: 600; }
@keyframes wpp-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.final-cta { background: var(--ink); color: #fff; border-radius: 24px; padding: 72px 64px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.final-cta h2 { margin: 0; font-size: 48px; line-height: 1.08; letter-spacing: -.02em; font-weight: 700; max-width: 780px; }
.final-cta p { margin: 0; color: var(--on-dark); font-size: 18px; max-width: 580px; }
.final-cta .btn-row { margin-top: 8px; justify-content: center; }

.newsletter { background: var(--primary-soft); border-radius: 20px; padding: 48px 56px; display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.newsletter__title { font-size: 26px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.newsletter__form { display: flex; gap: 8px; }
.newsletter__form input[type="email"] { width: 280px; padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: 9px; background: #fff; font-size: 15px; }
.newsletter__msg { font-size: 14px; font-weight: 600; color: var(--success); margin-top: 8px; }

/* ==========================================================================
   Homepage
   ========================================================================== */
.home-hero { background: #fff; }
.home-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 540px; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.home-hero h1 { margin: 0; font-size: 60px; line-height: 1.04; letter-spacing: -.025em; font-weight: 700; }
.hero-badge { align-self: flex-start; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--primary); background: var(--primary-soft); padding: 6px 12px; border-radius: 99px; }
.hero-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); }
.stats__item { padding: 32px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.stats__item:first-child { padding-left: var(--gutter); }
.stats__item:last-child { padding-right: var(--gutter); border-right: 0; }
.stats__v { font-size: 28px; font-weight: 700; }
.stats__v.hl-box { font-family: var(--mono); background: var(--highlight); align-self: flex-start; padding: 0 6px; border-radius: 4px; }
.stats__l { font-size: 14.5px; color: var(--muted); }

.plugin-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.plugin-card__visual { background: var(--alt); padding: 32px 56px 0; height: 300px; border-bottom: 1px solid var(--border); overflow: hidden; }
.plugin-card__visual > div { height: 320px; }
.plugin-card--sm .plugin-card__visual { padding: 28px 28px 0; height: 240px; }
.plugin-card--sm .plugin-card__visual > div { height: 212px; }
.plugin-card__body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plugin-card--sm .plugin-card__body { padding: 24px 28px 28px; gap: 8px; }
.plugin-card__tag { font-size: 13.5px; font-weight: 600; color: var(--primary); }
.plugin-card__name { font-size: 24px; font-weight: 700; letter-spacing: -.01em; margin: 0; line-height: 1.25; }
.plugin-card--sm .plugin-card__name { font-size: 21px; }
.plugin-card__desc { margin: 0; color: var(--muted); }
.plugin-card--sm .plugin-card__desc { font-size: 15px; }
.plugin-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; border-top: 1px solid #eef0f4; font-size: 14.5px; }
.plugin-card__foot .price-hint { color: var(--muted); }
.plugin-card__foot .price-hint b { color: var(--ink); }
.plugin-card__links { display: flex; gap: 16px; }

.ai-card { background: var(--ink); color: #fff; border-radius: 16px; padding: 36px 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.ai-card:hover { opacity: 1; background: #141d33; }
.ai-card__new { font-size: 12.5px; font-weight: 700; background: var(--primary); padding: 3px 9px; border-radius: 99px; }
.scope-chip { border: 1px solid var(--primary); background: #1b2745; padding: 5px 10px; border-radius: 6px; font-family: var(--mono); font-size: 12.5px; color: #dfe4ee; }

.bundle-band { background: var(--ink); color: #fff; border-radius: 24px; padding: 64px; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: center; }
.bundle-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 8px 0 0; padding: 0; list-style: none; }
.bundle-list li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; }
.bundle-list li::before { content: "✓"; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); font-size: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bundle-price { background: #fff; color: var(--ink); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }

.why-item { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 2px solid var(--ink); }
.why-item__t { font-size: 19px; font-weight: 700; margin: 0; }
.why-item p { margin: 0; color: var(--muted); }

.about-card { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 48px; }
.photo-ph { height: 340px; border-radius: 14px; background: repeating-linear-gradient(45deg, #f1f3f6 0 10px, #e9ecf0 10px 20px); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; color: var(--subtle-2); overflow: hidden; }
.photo-ph img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Generic pages
   ========================================================================== */
.page-hero { background: #fff; border-bottom: 1px solid var(--border); }
.page-hero__inner { padding-top: 72px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 14px; max-width: 900px; }
.page-hero h1 { margin: 0; font-size: 48px; line-height: 1.08; letter-spacing: -.02em; }
.prose { max-width: 760px; font-size: 17px; }
.prose h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.015em; margin: 48px 0 12px; }
.prose h3 { font-size: 22px; margin: 32px 0 8px; }
.prose a { color: var(--primary); text-decoration: underline; }
.prose p, .prose ul, .prose ol { color: var(--ink-2); }
.prose img { border-radius: 12px; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--primary); color: var(--muted); }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--alt); padding: 1px 5px; border-radius: 4px; }
.prose pre { background: var(--ink); color: #dfe4ee; padding: 20px; border-radius: 12px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.post-list { display: grid; gap: 24px; }
.post-card { padding: 28px; }
.post-card h2 { margin: 0 0 6px; font-size: 24px; }
.pagination-wrap { margin-top: 40px; }
.pagination-wrap .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination-wrap .page-numbers { padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; }
.pagination-wrap .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.wp-block-button__link { background: var(--primary); color: #fff; border-radius: 9px; padding: 13px 22px; font-weight: 600; text-decoration: none !important; }
.prose .wp-block-button__link { color: #fff; }
.alignwide { max-width: 1120px; }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 9px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 64px var(--gutter) 40px; background: var(--ink); color: var(--on-dark); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-title { color: #fff; font-weight: 600; font-size: 15px; margin: 0; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin: 0; max-width: 300px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #243049; font-size: 14px; display: flex; justify-content: space-between; }

/* Sticky demo bar (Sticky Action Banner page) */
.demo-bar { position: sticky; bottom: 0; z-index: 40; background: var(--ink); color: #fff; border-top: 1px solid var(--dark-2); box-shadow: 0 -12px 30px -12px rgba(15, 23, 41, .45); }
.demo-bar[hidden] { display: none; }
.demo-bar__inner { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.demo-bar__mark { width: 34px; height: 34px; border-radius: 8px; background: var(--primary); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.demo-bar__text { flex: 1; min-width: 0; }
.demo-bar__text small { display: block; color: var(--on-dark-2); font-size: 13.5px; }
.demo-bar .btn { padding: 10px 18px; border-radius: 8px; font-size: 15px; }
.demo-bar__close { border: 0; background: transparent; color: var(--on-dark-2); font-size: 20px; cursor: pointer; padding: 4px 6px; }

/* Sticky banner examples */
.ex-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.ex-tab { cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; font: 600 15px var(--font); border: 1px solid var(--border-strong); background: #fff; color: var(--ink); transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.ex-tab__tag { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: #f0f2f6; color: var(--muted); }
.ex-tab__tag--pro { background: var(--primary); color: #fff; }
.ex-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ex-tab[aria-selected="true"] .ex-tab__tag:not(.ex-tab__tag--pro) { background: var(--dark-2); color: var(--on-dark); }
[data-when][hidden], [data-cart-panel][hidden] { display: none !important; }
.opt-btn { cursor: pointer; padding: 6px 14px; border-radius: 99px; font: 600 14px var(--font); border: 1px solid var(--border-strong); background: #fff; color: var(--ink); }
.opt-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ==========================================================================
   Product-specific components
   ========================================================================== */
.arrow-steps { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr); align-items: stretch; }
.arrow-steps__arrow { display: flex; align-items: center; justify-content: center; color: #9aa3b2; font-size: 20px; }
.targeting__row { display: grid; grid-template-columns: 260px 40px minmax(0, 1fr) 40px 300px; align-items: center; }
.targeting__head { font-size: 12.5px; font-weight: 700; color: var(--subtle); letter-spacing: .04em; }
.targeting__arrow { text-align: center; color: #9aa3b2; font-size: 20px; }
.sticky-pin { position: absolute; right: -14px; background: #fff; border: 1px solid var(--border-2); border-radius: 99px; padding: 4px 10px; font-size: 11px; font-weight: 600; color: var(--primary); box-shadow: 0 6px 16px -8px rgba(16, 24, 40, .3); }

.code-panel { background: #141c2e; border: 1px solid var(--dark-2); border-radius: 12px; overflow: hidden; font-family: var(--mono); font-size: 12px; line-height: 1.6; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6); color: #dfe4ee; min-width: 0; }
.code-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--dark-2); font-family: var(--font); font-size: 12px; color: var(--on-dark-2); }
.code-panel__scope { font-weight: 600; color: var(--primary-on-dark); background: #1b2745; padding: 2px 8px; border-radius: 5px; font-family: var(--mono); font-size: 11px; }
.code-panel__body { padding: 14px 16px; overflow-x: auto; white-space: nowrap; }

.arch-node { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.arch-label { font-size: 12px; font-weight: 700; color: var(--subtle); letter-spacing: .06em; }
.arch-tag { font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--alt); padding: 4px 9px; border-radius: 6px; }
.arch-arrow { display: flex; justify-content: center; color: #9aa3b2; font-size: 20px; padding: 6px 0; }
.scope-chip--pro { border: 1px dashed #4a5775; background: transparent; color: var(--on-dark-2); }
.lite-flow { display: grid; grid-template-columns: 44px minmax(0, 1fr) 220px; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid #eef0f4; }
.lite-flow__ex { justify-self: end; font-size: 11.5px; text-align: right; }
.diff > div { display: grid; grid-template-columns: 40px 16px 1fr; padding: 0 12px; white-space: pre; }
.diff--del { background: #fdecec; color: #8a1c1c; }
.diff--add { background: #e8f6ee; color: #155f34; }

/* ==========================================================================
   Mega menu
   ========================================================================== */
.main-nav > ul > li { display: flex; align-items: center; }
.has-mega > a { display: inline-flex; align-items: center; gap: 6px; }
.has-mega > a::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
.has-mega:hover > a::after, .has-mega.is-open > a::after { transform: translateY(1px) rotate(-135deg); }
.mega { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px); width: min(960px, calc(100vw - 48px)); padding-top: 8px; opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s; z-index: 70; font-weight: 400; color: var(--ink); }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .15s ease, transform .15s ease; }
.has-mega.is-closed .mega { opacity: 0; visibility: hidden; }
.mega__inner { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-window); padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
.mega__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); padding: 0 12px 8px; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 10px; transition: background-color .15s ease; }
.mega__item:hover, .mega__item:focus-visible { background: var(--alt); opacity: 1; }
.mega__item[aria-current="page"] { background: var(--primary-soft); }
.mega__name { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.mega__tag { display: block; font-size: 13.5px; color: var(--subtle); margin-top: 2px; }
.mega__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 12px 12px 0; padding-top: 16px; border-top: 1px solid var(--divider); font-size: 14px; color: var(--muted); }
.mega__foot b { color: var(--ink); }
.mega__bundle { background: var(--ink); color: #fff; border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.mega__bundle:hover { opacity: 1; background: #141d33; }
.mega__bundle-title { font-size: 18px; font-weight: 700; line-height: 1.25; }
.mega__bundle-price { font-size: 32px; font-weight: 700; letter-spacing: -.02em; margin-top: auto; }
.mega__bundle-price small { font-size: 14px; font-weight: 500; color: var(--on-dark); }
.mega__bundle-cta { font-weight: 600; color: var(--primary-on-dark); }
.mono-tile { width: 36px; height: 36px; border-radius: 9px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; letter-spacing: .02em; }
.mono-tile--sm { width: 24px; height: 24px; border-radius: 6px; font-size: 9.5px; }
.mono-tile--dark { background: var(--ink); color: #fff; }
.mono-tile--primary { background: var(--primary); color: #fff; }

/* Plugin picker (tier pricing) */
.pricing-block { --gap: 28px; align-items: center; width: 100%; }
.pricing-block .price-grid { margin-top: 12px; }
.plugin-picker { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; max-width: 900px; }
.plugin-picker[hidden], .price-card__plugin[hidden] { display: none; }
.plugin-picker__note { margin: 0; color: var(--muted); }
.plugin-picker__note b { color: var(--ink); }
.plugin-picker__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.picker-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; border: 1px solid var(--border-strong); background: #fff; color: var(--ink); font: 600 14px var(--font); cursor: pointer; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.picker-chip:hover { background: var(--alt-2); }
.picker-chip[aria-checked="true"] { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; }
.picker-chip--static { cursor: default; }
.picker-chip--static:hover { background: #fff; }
.price-card__plugin { font-size: 14px; color: var(--muted); margin-top: 4px; min-height: 21px; }
.price-card__plugin b { color: var(--ink); font-weight: 600; }

/* Price per plugin table */
.price-matrix td { vertical-align: middle; }
.price-matrix th[scope="row"] { font-weight: 400; }
.pm-plugin { display: flex; gap: 12px; align-items: center; }
.pm-plugin__name { display: block; font-weight: 600; }
.pm-plugin__lite { display: block; font-size: 13px; color: var(--subtle); }
.pm-price { display: block; font-weight: 700; font-size: 17px; color: var(--ink); }
.pm-price small { font-weight: 500; font-size: 13px; color: var(--muted); }
.pm-save { display: block; font-size: 12.5px; font-weight: 600; color: var(--success); }
.pm-buy { display: inline-block; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--primary); }
.price-matrix tfoot td, .price-matrix tfoot th { background: var(--primary-tint); border-top: 2px solid var(--primary); padding: 16px 13px; }
.price-matrix tfoot th { padding-left: 28px; }

/* ==========================================================================
   Docs
   ========================================================================== */
.docs-search { margin-top: 8px; max-width: 560px; }
.docs-search input { width: 100%; padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: 10px; background: #fff; font-size: 16px; }
.docs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.docs-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.docs-card[hidden] { display: none; }
.docs-card__head { display: flex; gap: 14px; align-items: center; }
.docs-card__title { margin: 0; font-size: 19px; line-height: 1.25; }
.docs-card__tag { font-size: 13.5px; font-weight: 600; color: var(--primary); }
.docs-card__links { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid #eef0f4; font-size: 15px; }
.docs-card__links a { color: var(--ink-2); }
.docs-card__links a::before { content: "→ "; color: var(--subtle-3); }
.docs-card .link-arrow { margin-top: auto; }

.docs-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding-top: 56px; padding-bottom: 112px; align-items: start; }
.docs-aside { position: sticky; top: calc(var(--sticky-top, var(--header-h)) + 24px); display: flex; flex-direction: column; gap: 28px; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
.docs-toc__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-bottom: 8px; }
.docs-toc ul { display: flex; flex-direction: column; border-left: 2px solid var(--border); }
.docs-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14.5px; color: var(--muted); }
.docs-toc a.is-active { color: var(--primary); border-left-color: var(--primary); font-weight: 600; }
.docs-toc--others ul { border-left: 0; }
.docs-toc--others a { padding-left: 0; margin-left: 0; }
.docs-content { max-width: 800px; }
.docs-section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--sticky-top, var(--header-h)) + 24px); }
.docs-section > h2:first-child { margin-top: 0; }
.docs-content h3 { font-size: 18px; margin: 0 0 4px; }
.docs-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.docs-table th, .docs-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #eef0f4; vertical-align: top; }
.docs-table thead th { background: #f5f7fa; font-size: 13px; font-weight: 700; color: var(--subtle); text-transform: uppercase; letter-spacing: .04em; }
.docs-table tbody th { width: 30%; font-weight: 600; color: var(--ink); }
.docs-table tr:last-child > * { border-bottom: 0; }
.docs-steps { display: flex; flex-direction: column; gap: 4px; margin: 16px 0 0; }
.docs-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid #eef0f4; }
.docs-steps li:last-child { border-bottom: 0; }
.docs-steps p { margin: 0; }
.docs-steps__n { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--primary); color: var(--primary); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.docs-dl { margin: 16px 0 0; display: flex; flex-direction: column; }
.docs-dl > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid #eef0f4; }
.docs-dl dt { font-weight: 600; }
.docs-dl dd { margin: 0; color: var(--ink-2); }
.docs-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.docs-note { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.docs-note p { margin: 0; font-size: 15px; }
.docs-more summary { cursor: pointer; font-weight: 600; color: var(--primary); }
.docs-content .check-grid { margin: 16px 0 0; padding: 0; }
.docs-content .faq-item p { font-size: 16px; }
.docs-help { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--primary-soft); border-radius: 16px; padding: 24px 28px; }

/* ==========================================================================
   Support
   ========================================================================== */
.support-card { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.support-card:hover { opacity: 1; border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.support-card .link-arrow { margin-top: auto; padding-top: 8px; }
.ticket-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row > [hidden] { display: none; }
.field-group { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-group label, .field-group legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 0; }
.field-group .optional { font-weight: 400; color: var(--subtle); }
.ticket-form input[type="text"], .ticket-form input[type="email"], .ticket-form input[type="url"], .ticket-form select, .ticket-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 9px; background: #fff; font-size: 15px; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.ticket-form textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.ticket-form input:focus, .ticket-form select:focus, .ticket-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47, 91, 211, .15); }
.ticket-form input[type="file"] { font-size: 14px; padding: 10px; border: 1px dashed var(--border-strong); border-radius: 9px; background: var(--bg); }
.field-hint { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.field-hint a { color: var(--primary); font-weight: 600; }
.seg-radio { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-radio label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: 9px; font-weight: 500; cursor: pointer; font-size: 15px; }
.seg-radio label:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.seg-radio input { accent-color: var(--primary); margin: 0; }
.check-field { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.check-field input { margin-top: 4px; accent-color: var(--primary); }
.check-field a { color: var(--primary); text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 12px; padding: 16px 20px; font-size: 15px; }
.notice--ok { background: var(--success-bg); color: #14532d; border: 1px solid #bfe3cc; }
.notice--error { background: var(--danger-bg); color: #7f1d1d; border: 1px solid #f3c7c4; }
.support-aside { position: sticky; top: calc(var(--sticky-top, var(--header-h)) + 24px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
	:root { --gutter: 40px; }
	.p-hero__inner, .home-hero__inner { grid-template-columns: minmax(0, 1fr); }
	.hero-visual { height: auto; display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
	.hv-bg { display: none; }
	.hv-a, .hv-b { position: relative; inset: auto; max-width: 100%; }
	.hv-a { width: 100% !important; }
	.hv-fill { height: 460px !important; }
	.split, .ps, .about-card, .bundle-band, .ai-card { grid-template-columns: minmax(0, 1fr); }
	.split > .split__visual-first { order: -1; }
	.section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
	.section-head--center { align-items: center; }
	.grid.md-2, .price-grid, .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.price-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid.md-1, .review-grid { grid-template-columns: minmax(0, 1fr); }
	.journey { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
	.journey::before, .flow--circles::before { display: none; }
	.flow { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
	.faq-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stats__item { padding: 28px var(--gutter) !important; border-bottom: 1px solid var(--border); }
	.stats__item:nth-child(2n) { border-right: 0; }
	.newsletter { flex-direction: column; align-items: flex-start; }
	.main-nav, .header-actions .signin, .header-actions .btn--header { display: none; }
	.nav-toggle { display: inline-flex; }
	.ai-card .ai-card__side { align-items: flex-start !important; }
	.h2 { font-size: 38px; }
	.arrow-steps { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.arrow-steps__arrow { transform: rotate(90deg); height: 28px; }
	.targeting__row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
	.targeting__head { display: none; }
	.targeting__arrow { transform: rotate(90deg); }
	.sticky-pin { display: none; }
	.mega { display: none; }
	.docs-grid { grid-template-columns: 1fr 1fr; }
	.docs-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; }
	.docs-aside { position: static; max-height: none; }
	.docs-toc--others { display: none; }
	.support-aside { position: static; }
	.p-hero--dark .code-panel { max-width: 640px; }
}

@media (max-width: 767px) {
	:root { --gutter: 24px; --header-h: 64px; }
	.section { padding-block: 72px; }
	.h2, .h2--sm { font-size: 32px; }
	.h3 { font-size: 26px; }
	.p-hero__inner { padding-top: 40px; padding-bottom: 64px; }
	.p-hero h1 { font-size: min(var(--h1, 58px), 38px); }
	.home-hero__inner { padding-top: 48px; padding-bottom: 64px; }
	.home-hero h1, .page-hero h1 { font-size: 38px; }
	.grid, .grid.md-2, .price-grid, .price-grid--home, .check-grid, .journey, .footer-grid, .stats, .bundle-list { grid-template-columns: minmax(0, 1fr); }
	.stats__item { border-right: 0; }
	.btn-row .btn, .final-cta .btn { width: 100%; }
	.final-cta { padding: 48px 24px; border-radius: 20px; }
	.final-cta h2 { font-size: 32px; }
	.bundle-band, .about-card { padding: 32px 24px; }
	.feature-box { padding: 28px 24px; }
	.feature-box__head { flex-direction: column; align-items: flex-start; }
	.ps__col { padding: 28px 24px; }
	.newsletter { padding: 32px 24px; }
	.newsletter__form { flex-direction: column; width: 100%; }
	.newsletter__form input[type="email"] { width: 100%; }
	.plugin-card__visual { padding: 24px 20px 0; }
	.mock-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.mock-scroll > * { min-width: 640px; }
	.mock-stage { --pad: 16px !important; border-radius: 16px; }
	.hv-fill { height: 420px !important; }
	.hero-visual .phone { width: 240px; }
	.compare-wrap { overflow-x: auto; }
	.compare { min-width: 620px; }
	.compare thead th { position: static; }
	.compare th:first-child, .compare td:first-child { position: sticky; left: 0; background: #fff; z-index: 1; padding-left: 16px; }
	.compare thead th:first-child, .compare .group td:first-child { background: #f5f7fa; }
	.compare col.c-plan { width: 150px; }
	.price-matrix { min-width: 560px; }
	.price-matrix col.c-plan { width: 110px; }
	.price-matrix tfoot th { padding-left: 16px; }
	.pm-plugin .mono-tile { display: none; }
	.demo-bar__inner { flex-wrap: wrap; }
	.demo-bar__text small { display: none; }
	.site-footer { padding-top: 48px; }
	.lite-flow { grid-template-columns: 40px minmax(0, 1fr); }
	#docs .card { padding: 24px !important; }
	.docs-grid, .docs-cards, .form-row { grid-template-columns: minmax(0, 1fr); }
	.docs-dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.docs-help { flex-direction: column; align-items: flex-start; }
	.docs-table { display: block; overflow-x: auto; }
	.home-hero .hv-a, .home-hero .hv-b { height: 300px !important; }
	.lite-flow__ex { grid-column: 2; justify-self: start; text-align: left; }
	.announce__close { right: 8px; }
	.announce__inner { padding-right: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
