/*
Theme Name: Ranking Builder Site
Description: Lekki, edytowalny motyw strony sprzedażowej wtyczki Ranking Builder. Bez page buildera i bez funkcji wtyczki.
Version: 2.0.2
Requires at least: 6.4
Requires PHP: 8.1
Author: Ranking Builder
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ranking-builder-site
*/

/* ---------- Tokens ---------- */
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url('assets/InterVariable.woff2?v=1.3.0') format('woff2'); }

:root {
	--blue: #245edb;
	--navy: #14263d;
	--green: #23734e;
	--text: #2b3a4d;
	--muted: #5a6779;
	--soft: #f5f7fb;
	--tint: color-mix(in srgb, var(--blue) 8%, #fff);
	--line: #e2e8f0;
	--white: #fff;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(20, 38, 61, .05), 0 2px 8px rgba(20, 38, 61, .04);
	--shadow: 0 1px 2px rgba(20, 38, 61, .04), 0 12px 32px rgba(20, 38, 61, .08);
	--shadow-lg: 0 2px 4px rgba(20, 38, 61, .04), 0 30px 70px rgba(20, 38, 61, .16);
	--font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--header-height: 72px;
	--admin-height: 0px;
	--anchor-offset: calc(var(--header-height) + var(--admin-height) + 16px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--anchor-offset); }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--blue); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a, button, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--navy); font-weight: 650; line-height: 1.15; letter-spacing: -.03em; margin: 0 0 18px; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.06; letter-spacing: -.04em; }
h2 { font-size: clamp(30px, 3.2vw, 44px); }
h3 { font-size: 20px; letter-spacing: -.015em; line-height: 1.3; }
p { margin: 0 0 18px; }
figure { margin: 0; }
ul, ol { padding-left: 24px; }
.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; }

.container { max-width: 1240px; padding: 0 32px; margin: 0 auto; }
.section { padding: 112px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 760px; margin-bottom: 56px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading.centered .section-intro { margin-left: auto; margin-right: auto; }
.eyebrow { font-size: 13px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; font-weight: 650; color: var(--blue); margin-bottom: 14px; }
.eyebrow--pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--tint); letter-spacing: .02em; text-transform: none; font-size: 14px; }
.section-intro { max-width: 62ch; color: var(--muted); font-size: 19px; line-height: 1.6; margin-bottom: 0; }
.icon { width: 24px; height: 24px; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.skip-link { position: fixed; left: 16px; top: -120px; z-index: 100; background: #fff; padding: 12px 20px; border: 2px solid var(--blue); }
.skip-link:focus { top: 12px; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }

/* ---------- Buttons ---------- */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 12px; text-decoration: none; font-size: 16px; font-weight: 600; line-height: 1.3; text-align: center; transition: background-color .16s, border-color .16s, color .16s, box-shadow .16s, transform .16s; }
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button .icon { width: 18px; height: 18px; }
.button--primary { color: #fff; background: var(--blue); box-shadow: 0 1px 2px rgba(20, 38, 61, .12), 0 8px 20px color-mix(in srgb, var(--blue) 28%, transparent); }
.button--primary:hover { background: color-mix(in srgb, var(--blue) 85%, #000); color: #fff; }
.button--secondary { color: var(--navy); background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.button--secondary:hover { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); color: var(--blue); }
.button--ghost { color: var(--navy); background: transparent; border-color: var(--line); min-height: 42px; padding: 8px 16px; font-size: 15px; }
.button--ghost:hover { color: var(--blue); border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
.button--light { color: var(--navy); background: #fff; }
.button--light:hover { background: #eef3fb; color: var(--navy); }
.button--ghost-light { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .35); }
.button--ghost-light:hover { border-color: #fff; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Announcement & header ---------- */
.announcement { background: var(--navy); color: #dbe5f3; font-size: 14px; }
.announcement-inner { display: flex; justify-content: center; align-items: center; gap: 6px 16px; flex-wrap: wrap; min-height: 42px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.announcement a { color: #fff; font-weight: 600; text-decoration: none; }
.announcement a:hover { text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(20, 38, 61, .05); }
.admin-bar .site-header { top: 32px; }
.rb-js .admin-bar .site-header { top: var(--admin-height); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; color: var(--navy); text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 10px; }
.brand-mark .icon { width: 22px; height: 22px; stroke-width: 2; }
.brand-logo { max-width: 230px; max-height: 44px; width: auto; }
.primary-nav { display: flex; gap: 28px; align-items: center; }
.nav-list { display: flex; gap: 4px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-list a { font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; }
.nav-list a:hover { color: var(--blue); background: var(--soft); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-actions .button--primary { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; background: radial-gradient(900px 480px at 85% 10%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%), radial-gradient(700px 400px at 0% 100%, color-mix(in srgb, var(--green) 9%, transparent), transparent 70%), linear-gradient(#fff, var(--soft)); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(20, 38, 61, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 38, 61, .045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .highlight { color: var(--blue); }
.hero-description { font-size: 20px; line-height: 1.6; color: var(--muted); max-width: 56ch; margin-bottom: 32px; }
.hero .actions .button { min-height: 56px; padding: 14px 26px; font-size: 17px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.hero-points .icon { width: 18px; height: 18px; color: var(--green); stroke-width: 2.4; }
.hero-visual { position: relative; }
.demo-badge { position: absolute; left: 18px; bottom: -14px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 13px; font-weight: 500; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

.browser { border-radius: 14px; background: #fff; border: 1px solid rgba(20, 38, 61, .1); box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1600px) rotateY(-4deg) rotateX(2deg); transition: transform .4s ease; }
.hero-visual:hover .browser { transform: none; }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 11px 14px; background: #f3f5f9; border-bottom: 1px solid var(--line); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d5dbe4; }
.browser-dots i:first-child { background: #f87171; }
.browser-dots i:nth-child(2) { background: #fbbf24; }
.browser-dots i:nth-child(3) { background: #34d399; }
.browser-url { flex: 1; max-width: 340px; margin: 0 auto; padding: 4px 12px; border-radius: 7px; background: #fff; color: var(--muted); font-size: 12.5px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid var(--line); }
.browser-body { background: #111827; }
.browser-body .product-picture img { width: 100%; }

/* ---------- Compatibility ---------- */
.compat { padding: 34px 0; border-bottom: 1px solid var(--line); background: #fff; }
.compat-title { text-align: center; font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.compat-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
.compat-list li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--navy); background: var(--soft); }

/* ---------- Product tour ---------- */
.product-picture { display: block; overflow: hidden; }
.product-picture img { width: 100%; height: auto; }
.gallery-toolbar { display: flex; justify-content: center; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.gallery-tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; }
.gallery-tabs[hidden], .gallery-panel[hidden], .layout-controls[hidden], .layout-description[hidden] { display: none; }
.gallery-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px; background: transparent; color: var(--muted); border: 0; border-radius: 10px; font-size: 15px; font-weight: 600; }
.gallery-tabs button:hover { color: var(--navy); }
.gallery-tabs button[aria-selected=true] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.gallery-tabs .icon { width: 19px; height: 19px; }
.layout-controls { display: flex; gap: 12px; align-items: center; }
.layout-label { font-size: 15px; color: var(--muted); font-weight: 500; }
.layout-switch { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.layout-switch button { min-height: 38px; padding: 6px 14px; background: transparent; color: var(--muted); border: 0; border-radius: 8px; font-size: 15px; font-weight: 600; }
.layout-switch button[aria-pressed=true] { background: var(--navy); color: #fff; }
.layout-description { font-size: 15px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.gallery-context { margin: 0 0 18px; max-width: 700px; }
.gallery-context h3 { font-size: 21px; margin: 0 0 6px; }
.gallery-context p { color: var(--muted); margin: 0; }
.rb-js .gallery-context h3 { display: none; }
.gallery-panel { margin: 0 0 40px; scroll-margin-top: var(--anchor-offset); }
.product-gallery:has(.gallery-tabs:not([hidden])) .gallery-panel { margin-bottom: 0; }
.product-shot { display: block; position: relative; width: 100%; text-align: left; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #fff, var(--soft)); box-shadow: var(--shadow); cursor: zoom-in; color: var(--navy); }
.product-shot:disabled { cursor: default; opacity: 1; }
.product-shot .product-picture { border-radius: 10px; border: 1px solid var(--line); background: #fff; }
@media (min-width: 768px) { .product-shot .product-picture.is-tall { max-height: 780px; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); } }
.product-shot-hint { position: absolute; top: 30px; right: 30px; z-index: 1; display: flex; align-items: center; gap: 7px; padding: 8px 12px; min-height: 40px; background: rgba(255, 255, 255, .95); color: var(--navy); border-radius: 9px; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); font-size: 14px; font-weight: 600; pointer-events: none; }
.product-shot:disabled .product-shot-hint { display: none; }
.demo-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; margin-top: 32px; padding: 26px 30px; border-radius: var(--radius); background: var(--tint); }
.demo-notes { margin: 0; font-size: 15px; color: var(--muted); max-width: 60ch; }
.demo-live { display: flex; align-items: center; gap: 16px; }
.demo-live p { margin: 0; font-size: 14px; color: var(--muted); max-width: 26ch; }

.product-lightbox { padding: 0; border: 0; border-radius: 14px; width: min(1200px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); color: var(--navy); background: #fff; box-shadow: 0 25px 90px rgba(0, 0, 0, .35); overflow: hidden; }
.product-lightbox[open] { display: flex; flex-direction: column; }
.product-lightbox::backdrop { background: rgba(9, 18, 32, .82); }
.product-lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; flex-shrink: 0; border-bottom: 1px solid var(--line); }
.product-lightbox-toolbar h2 { font-size: 18px; margin: 0; }
.product-lightbox-close { display: flex; align-items: center; justify-content: center; background: #f2f5f9; color: var(--navy); border: 0; border-radius: 8px; width: 44px; height: 44px; flex-shrink: 0; }
.product-lightbox-close:hover { background: #e3eaf4; }
.product-lightbox-scroll { overflow: auto; overscroll-behavior: contain; min-height: 0; padding: 20px; background: #eaf0f7; }
.product-lightbox-scroll img { display: block; width: 100%; height: auto; margin: 0 auto; }
.product-lightbox-open { overflow: hidden; }

/* ---------- Features (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bento-card { position: relative; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.bento-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.bento-card h3 { margin: 18px 0 8px; }
.bento-card p { margin: 0; color: var(--muted); font-size: 16px; }
.bento-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--tint); color: var(--blue); }
.bento-icon .icon { width: 24px; height: 24px; }
.bento-card--featured { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-items: start; background: linear-gradient(135deg, var(--navy), color-mix(in srgb, var(--navy) 70%, var(--blue))); border-color: transparent; color: #c9d6e8; }
.bento-card--featured > :not(.json-sample) { grid-column: 1; }
.bento-card--featured h3 { color: #fff; font-size: 23px; }
.bento-card--featured p { color: #c9d6e8; font-size: 17px; }
.bento-card--featured .bento-icon { background: rgba(255, 255, 255, .12); color: #fff; }
.json-sample { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; padding: 20px 22px; border-radius: 12px; background: rgba(5, 12, 24, .55); border: 1px solid rgba(255, 255, 255, .1); color: #d8e3f3; font: 13.5px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; white-space: pre; }
.j-k { color: #93c5fd; }
.j-s { color: #86efac; }
.j-n { color: #fcd34d; }
.j-p { color: #94a3b8; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 0; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 32px; left: 16%; right: 16%; border-top: 2px dashed var(--line); }
.steps li { position: relative; text-align: center; padding: 0 12px; }
.step-icon { position: relative; display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 18px; background: #fff; color: var(--blue); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step-icon .icon { width: 28px; height: 28px; }
.step-number { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0 auto; max-width: 34ch; }
.steps-link { text-align: center; margin: 40px 0 0; }

/* ---------- Audiences ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.audience-card { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.audience-card h3 { margin: 18px 0 8px; }
.audience-card p { margin: 0; color: var(--muted); }

/* ---------- Trust / methodology ---------- */
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.trust .section-intro { margin-bottom: 32px; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.trust-list li { display: flex; gap: 16px; }
.trust-list .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: color-mix(in srgb, var(--green) 14%, #fff); color: var(--green); stroke-width: 2.6; margin-top: 1px; }
.trust-list h3 { font-size: 18px; margin: 0 0 4px; }
.trust-list p { margin: 0; color: var(--muted); font-size: 16px; }
.trust-example { padding: 34px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.editorial-label { display: inline-flex; padding: 6px 12px; border-radius: 8px; background: color-mix(in srgb, var(--green) 13%, #fff); color: color-mix(in srgb, var(--green) 80%, #000); font-weight: 650; font-size: 14px; margin-bottom: 18px; }
.trust-caption { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.trust-example .trust-example-title { font-size: 22px; font-weight: 650; color: var(--navy); letter-spacing: -.02em; margin-bottom: 10px; }
.trust-example > p { color: var(--muted); font-size: 16px; }
.trust-bars { display: grid; gap: 12px; margin: 22px 0; }
.trust-bar { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; font-size: 14px; color: var(--navy); font-weight: 500; }
.trust-meter { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.trust-meter i { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.example-source { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line); }
.example-source .icon { width: 18px; height: 18px; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial { display: flex; flex-direction: column; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.testimonial blockquote { margin: 0 0 22px; font-size: 17px; color: var(--navy); }
.testimonial blockquote p::before { content: '„'; }
.testimonial blockquote p::after { content: '”'; }
.testimonial figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: 15px; color: var(--muted); }
.testimonial figcaption strong { color: var(--navy); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.plan--featured { border: 2px solid var(--blue); box-shadow: 0 24px 60px color-mix(in srgb, var(--blue) 18%, transparent); padding: 33px 29px 27px; }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 5px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 650; }
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan-scope { font-size: 15px; color: var(--muted); min-height: 50px; margin-bottom: 18px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; color: var(--navy); }
.plan-price strong { font-size: 52px; line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.plan-price > span { font-size: 22px; font-weight: 600; }
.plan-regular { width: 100%; color: var(--muted); font-size: 16px; }
.plan-term { font-size: 15px; color: var(--muted); margin: 6px 0 0; }
.plan-per-site { display: inline-flex; align-self: flex-start; margin: 12px 0 0; padding: 4px 10px; border-radius: 8px; background: color-mix(in srgb, var(--green) 12%, #fff); color: color-mix(in srgb, var(--green) 80%, #000); font-size: 14px; font-weight: 600; }
.plan-cta { margin-top: auto; width: 100%; }
.plan > :nth-last-child(3) { margin-bottom: 26px; }
.plan-renewal { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.plan-shared { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.plan-includes, .guarantee { padding: 30px; border-radius: 20px; border: 1px solid var(--line); background: var(--soft); }
.plan-includes h3, .guarantee h3 { font-size: 18px; margin-bottom: 16px; }
.plan-includes ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; list-style: none; padding: 0; margin: 0; }
.plan-includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--navy); }
.plan-includes .icon { width: 20px; height: 20px; color: var(--green); stroke-width: 2.4; margin-top: 2px; }
.guarantee { background: color-mix(in srgb, var(--green) 7%, #fff); border-color: color-mix(in srgb, var(--green) 22%, #fff); }
.guarantee-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--green); margin-bottom: 14px; }
.guarantee h3 { margin-bottom: 8px; }
.guarantee p { font-size: 15px; color: var(--text); margin-bottom: 10px; }
.guarantee a { font-size: 15px; font-weight: 600; }
.guarantee .guarantee-questions { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--green) 20%, #fff); }
.pricing-notes { max-width: 860px; margin: 28px auto 0; text-align: center; font-size: 14px; color: var(--muted); }
.pricing-notes p { margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 72px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--anchor-offset) + 16px); }
.faq-intro .section-intro { margin-bottom: 26px; font-size: 18px; }
.faq-list { display: grid; gap: 12px; }
.faq-list > details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s; }
.faq-list > details[open] { box-shadow: var(--shadow); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; color: var(--navy); font-size: 17px; font-weight: 600; line-height: 1.45; min-height: 44px; }
.faq-list summary::after { content: ''; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6779' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; font-size: 16px; color: var(--muted); }
.faq-answer p:last-child { margin: 0; }

/* ---------- Final CTA ---------- */
.final-section { padding: 0 0 112px; }
.faq + .final-section { padding-top: 0; background: linear-gradient(var(--soft) 50%, #fff 50%); }
.final-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: center; padding: 64px; border-radius: 28px; background: radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--blue) 55%, transparent), transparent 70%), var(--navy); color: #c9d6e8; }
.final-banner h2 { color: #fff; margin-bottom: 12px; }
.final-banner p { margin: 0; font-size: 18px; max-width: 52ch; }
.final-banner .button { min-height: 54px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 25; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 16px; background: rgba(20, 38, 61, .96); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); transform: translateY(140%); transition: transform .25s ease; }
.sticky-cta .button { min-height: 44px; padding: 8px 16px; font-size: 15px; box-shadow: none; white-space: nowrap; flex-shrink: 0; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 32px; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 36ch; }
.site-footer h2 { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin: 8px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 6px; }
.site-footer li a { color: var(--muted); text-decoration: none; font-size: 15px; display: inline-flex; min-height: 32px; align-items: center; }
.site-footer li a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------- Subpages ---------- */
.page-head { padding: 72px 0 44px; background: linear-gradient(#fff, var(--soft)); border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.page-head h1 { font-size: clamp(34px, 4vw, 48px); max-width: 22ch; }
.page-head p { color: var(--muted); max-width: 65ch; font-size: 18px; margin: 0; }
.page-shell { padding-bottom: 96px; }
.content { max-width: 800px; overflow-wrap: anywhere; }
.content h2 { font-size: 28px; margin: 44px 0 18px; scroll-margin-top: var(--anchor-offset); }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 22px; margin-top: 28px; }
.content p, .content li { font-size: 17px; line-height: 1.75; }
.content li { margin: 8px 0; }
.content pre { overflow-x: auto; padding: 20px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.content code { font-size: .92em; }
.content table { width: 100%; border-collapse: collapse; }
.content td, .content th { padding: 12px; border: 1px solid var(--line); text-align: left; }
.content .wp-block-image { margin: 30px 0; }
.content a { overflow-wrap: anywhere; }
.docs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; }
.docs-nav { position: sticky; top: calc(var(--anchor-offset) + 8px); align-self: start; max-height: calc(100vh - 140px); overflow-y: auto; padding-right: 8px; }
.docs-nav h2 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.docs-nav ul { list-style: none; padding: 0; margin: 0; }
.docs-nav a { display: block; color: var(--muted); font-size: 14px; padding: 7px 12px; border-left: 2px solid var(--line); text-decoration: none; }
.docs-nav a:hover, .docs-nav a.active { color: var(--blue); border-color: var(--blue); background: var(--soft); }
.docs-nav details > summary { display: none; }
.notice-box { padding: 22px 26px; background: var(--soft); border-left: 3px solid var(--blue); border-radius: 0 12px 12px 0; font-size: 16px; margin-bottom: 32px; }
.notice-box p:last-child { margin: 0; }
.legal-notice { background: #fff8e8; border-left-color: #8a5c00; color: #674500; }
.legal-toc { background: var(--soft); padding: 24px 30px; border-radius: 14px; margin-bottom: 32px; }
.legal-toc h2 { font-size: 18px; margin: 0 0 12px; }
.legal-toc ul { margin: 0; }
.legal-toc li { font-size: 15px; margin: 6px 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.contact-info h2 { font-size: 24px; margin-top: 36px; }
.contact-email { display: inline-flex; gap: 12px; align-items: center; font-size: 19px; font-weight: 600; overflow-wrap: anywhere; min-height: 44px; }
.contact-form { padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.contact-form h2 { font-size: 24px; }
.form-field { margin: 0 0 20px; }
.form-field label { display: block; font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 12px 14px; background: #fff; border: 1px solid #b8c3d1; border-radius: 10px; font-size: 16px; min-height: 48px; color: var(--text); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue); }
.form-field textarea { min-height: 170px; resize: vertical; }
.form-field [aria-invalid=true] { border-color: #8c3020; }
.field-error { font-size: 14px; color: #8c3020; margin: 8px 0 0; }
.form-privacy { font-size: 14px; color: var(--muted); line-height: 1.65; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 18px 22px; border-radius: 10px; background: #edf6f0; color: #1c563c; margin-bottom: 25px; font-size: 16px; }
.form-alert.error { background: #fff2ee; color: #7d3020; }
.cf7-panel .wpcf7, .cf7-panel .wpcf7 form { margin: 0; }
.cf7-panel .form-field p { margin: 0; }
.cf7-panel .form-field label { display: block; }
.cf7-panel .wpcf7-form-control-wrap { display: block; }
.cf7-panel .wpcf7-not-valid { border-color: #8c3020; }
.cf7-panel .wpcf7-not-valid-tip { color: #8c3020; font-size: 14px; margin-top: 8px; }
.cf7-panel .wpcf7-response-output { padding: 16px; margin: 22px 0 0 !important; border-radius: 10px; font-size: 16px; }
.cf7-panel form.sent .wpcf7-response-output { background: #edf6f0; color: #1c563c; border-color: var(--green); }
.cf7-panel form.invalid .wpcf7-response-output, .cf7-panel form.failed .wpcf7-response-output { color: #7d3020; background: #fff2ee; border-color: #8c3020; }
.cf7-panel input[type=submit] { white-space: normal; }
.cf7-panel .wpcf7-spinner { vertical-align: middle; }
.thanks-layout { max-width: 850px; }
.thanks-layout .content > ol { counter-reset: thanks; list-style: none; padding: 0; margin: 0 0 40px; }
.thanks-layout .content > ol > li { counter-increment: thanks; position: relative; padding: 4px 0 24px 62px; margin: 0; }
.thanks-layout .content > ol > li::before { content: counter(thanks); position: absolute; top: 4px; left: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--tint); color: var(--blue); display: grid; place-items: center; font-size: 17px; font-weight: 650; }
.thanks-layout .content > ol > li strong { display: block; color: var(--navy); font-size: 21px; font-weight: 650; line-height: 1.3; margin-bottom: 8px; }
.thanks-layout .content > ol > li span { display: block; color: var(--muted); font-size: 17px; line-height: 1.65; }
.changelog .content h2 { font-size: 26px; }
.error-page { min-height: 50vh; }
.post-list article { padding: 30px 0; border-bottom: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (min-width: 1024px) and (max-width: 1199px) {
	.container { padding: 0 28px; }
	.nav-list a { padding: 0 8px; font-size: 14px; }
	.primary-nav { gap: 16px; }
	.button--ghost { display: none; }
	.hero-grid { gap: 40px; }
	.plan { padding-left: 24px; padding-right: 24px; }
	.final-banner { padding: 48px; }
}

@media (max-width: 1023px) {
	:root { --header-height: 64px; }
	.header-inner { min-height: 64px; flex-wrap: wrap; gap: 0; }
	.nav-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--navy); }
	.hamburger { width: 17px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
	.hamburger::before { content: ''; position: absolute; width: 17px; height: 2px; top: 3px; background: currentColor; }
	.primary-nav { display: none; width: 100%; padding: 8px 0 22px; flex-direction: column; align-items: stretch; gap: 16px; }
	.primary-nav.is-open { display: flex; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; min-height: 48px; }
	.nav-list a:hover { background: transparent; }
	.nav-actions { flex-direction: column; align-items: stretch; }
	.nav-actions .button { min-height: 48px; }
	html:not(.rb-js) .nav-toggle { display: none; }
	html:not(.rb-js) .primary-nav { display: flex; }
	.section { padding: 80px 0; }
	.section-heading { margin-bottom: 40px; }
	.hero { padding: 48px 0 72px; }
	.hero-grid { grid-template-columns: 1fr; gap: 48px; }
	.hero-copy { max-width: 720px; }
	.hero-visual { max-width: 760px; width: 100%; margin: 0 auto; }
	.browser { transform: none; }
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bento-card--featured { grid-column: 1 / -1; }
	.audience-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
	.demo-footer { grid-template-columns: 1fr; }
	.trust-grid { grid-template-columns: 1fr; gap: 48px; }
	.pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 28px; }
	.plan-scope { min-height: 0; }
	.plan-shared { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; margin-top: 28px; }
	.faq-grid { grid-template-columns: 1fr; gap: 32px; }
	.faq-intro { position: static; }
	.final-banner { grid-template-columns: 1fr; padding: 48px 40px; }
	.final-section { padding-bottom: 80px; }
	.footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
	.footer-brand { grid-column: 1 / -1; }
	.docs-layout { grid-template-columns: 1fr; gap: 28px; }
	.docs-nav { position: static; max-height: none; padding: 0; }
	.docs-nav details > summary { display: flex; min-height: 48px; align-items: center; color: var(--navy); font-size: 17px; font-weight: 600; }
	.docs-nav details > summary::after { content: '+'; margin-left: auto; }
	.docs-nav details[open] > summary::after { content: '−'; }
	.docs-nav h2 { display: none; }
	.docs-nav ul { background: var(--soft); padding: 10px 16px; border-radius: 12px; }
	.contact-grid { gap: 40px; }
	.sticky-cta { display: flex; }
	body:has(.sticky-cta) .site-footer { padding-bottom: 96px; }
}

@media (max-width: 767px) {
	body { font-size: 16px; }
	.container { padding: 0 20px; }
	.section { padding: 64px 0; }
	.section-heading { margin-bottom: 32px; }
	.section-intro { font-size: 17px; }
	h1 { font-size: clamp(34px, 9vw, 42px); }
	h2 { font-size: clamp(27px, 7vw, 32px); }
	.announcement { font-size: 13px; }
	.eyebrow--pill { border-radius: 12px; font-size: 13px; }
	.hero { padding: 36px 0 56px; }
	.hero-description { font-size: 17px; margin-bottom: 26px; }
	.hero .actions { flex-direction: column; }
	.hero .actions .button { width: 100%; }
	.hero-points { flex-direction: column; gap: 8px; margin-top: 22px; }
	.browser-bar { padding: 8px 10px; }
	.browser-dots i { width: 9px; height: 9px; }
	.browser-url { font-size: 11px; }
	.compat { padding: 26px 0; }
	.compat-list li { font-size: 13px; padding: 6px 12px; }
	.gallery-toolbar { flex-direction: column; align-items: stretch; }
	.gallery-tabs { display: grid; grid-template-columns: 1fr 1fr; }
	.gallery-tabs button { font-size: 14px; padding: 8px 6px; }
	.layout-controls { justify-content: center; }
	.product-shot { padding: 8px; border-radius: 14px; }
	.product-shot .product-picture { border-radius: 8px; }
	.product-shot .product-picture.is-tall-mobile { max-height: 620px; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
	.product-shot-hint { top: 16px; right: 16px; padding: 6px 9px; min-height: 34px; font-size: 13px; }
	.demo-footer { padding: 22px; grid-template-columns: 1fr; }
	.demo-live { width: 100%; flex-direction: column; align-items: stretch; }
	.demo-live p { max-width: none; text-align: center; }
	.demo-live .button { width: 100%; }
	.product-lightbox { width: calc(100% - 20px); max-height: calc(100dvh - 24px); border-radius: 10px; }
	.product-lightbox-toolbar { padding: 10px 12px; }
	.product-lightbox-scroll { padding: 10px; }
	.bento { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.bento-card { padding: 24px; }
	.bento-card--featured { display: block; }
	.json-sample { margin-top: 20px; font-size: 12px; padding: 16px; }
	.steps { grid-template-columns: 1fr; gap: 36px; }
	.steps::before { display: none; }
	.audience-card { padding: 24px; }
	.trust-example { padding: 24px; }
	.trust-bar { grid-template-columns: 1fr; gap: 6px; }
	.plan { padding: 30px 22px 24px; }
	.plan--featured { padding: 29px 21px 23px; }
	.plan-includes, .guarantee { padding: 24px; }
	.plan-includes ul { grid-template-columns: 1fr; }
	.faq-list summary { font-size: 16px; padding: 18px; gap: 14px; }
	.faq-answer { padding: 0 18px 18px; font-size: 15.5px; }
	.final-banner { padding: 36px 24px; border-radius: 22px; }
	.final-banner .actions { flex-direction: column; }
	.final-banner .button { width: 100%; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-bottom { flex-direction: column; }
	.page-head { padding: 44px 0 30px; margin-bottom: 36px; }
	.page-head p { font-size: 17px; }
	.page-shell { padding-bottom: 56px; }
	.content h2 { font-size: 25px; }
	.content h3 { font-size: 21px; }
	.contact-grid { grid-template-columns: 1fr; gap: 32px; }
	.contact-form { padding: 24px 20px; }
	.contact-email { font-size: 17px; }
	.notice-box { padding: 20px; }
	.legal-toc { padding: 22px; }
	.thanks-layout .content > ol > li { padding-left: 52px; }
	.thanks-layout .content > ol > li::before { width: 34px; height: 34px; }
	.cf7-panel .button { width: 100%; }
}

@media (max-width: 359px) {
	.container { padding: 0 16px; }
	.footer-grid { grid-template-columns: 1fr; }
	.gallery-tabs { grid-template-columns: 1fr; }
}

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

@media print {
	.site-header, .announcement, .site-footer, .actions, .docs-nav, .contact-form, .sticky-cta, .gallery-toolbar, .product-lightbox, .product-shot-hint { display: none !important; }
	.page-head { padding: 0; }
	.content { max-width: none; }
	.gallery-panel[hidden] { display: block; }
	.product-shot { padding: 0; box-shadow: none; }
	details > * { display: block !important; }
}
