/* MyBusinessPartner.io theme - main styles */
:root {
	--blue: #0B48AA;
	--blue-dark: #082F70;
	--blue-ink: #061D46;
	--blue-soft: #E8EFFB;
	--green: #279F52;
	--green-dark: #1E7B40;
	--green-soft: #E4F5EA;
	--orange: #F28923;
	--orange-dark: #D9710C;
	--orange-soft: #FDEBD9;
	--ink: #0E1726;
	--text: #1F2937;
	--muted: #5B6575;
	--line: #DDE3EE;
	--bg-alt: #F4F7FC;
	--radius: 14px;
	--shadow: 0 12px 34px rgba(11, 40, 90, .10);
	--shadow-lg: 0 24px 60px rgba(11, 40, 90, .18);
	--font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { overflow-x: clip; margin: 0; font-family: var(--font); color: var(--text); font-size: 17px; line-height: 1.65; background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.18; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: linear-gradient(135deg, var(--blue-ink), var(--blue-dark)); color: #D6E2F6; }
.section.dark h2, .section.dark h3 { color: #fff; }
.spaced { margin-top: 72px; }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.eyebrow.green { color: var(--green); }
.eyebrow.orange { color: var(--orange); }
.section.dark .eyebrow:not(.orange) { color: #8FB4F0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: .98rem; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; font-family: var(--font); }
.btn:hover { transform: translateY(-1px); }
.btn .ico { width: 18px; height: 18px; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(242, 137, 35, .35); }
.btn-accent:hover { background: var(--orange-dark); color: #fff; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--blue); }
.text-link { font-weight: 700; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.site-brand img, .custom-logo { width: 288px; max-width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu a { display: block; padding: 10px 12px; color: var(--ink); font-weight: 600; font-size: .96rem; border-radius: 8px; }
.primary-nav .menu a:hover { color: var(--blue); background: var(--blue-soft); }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-parent > a, .primary-nav .current_page_parent > a, .primary-nav .current-menu-ancestor > a { color: var(--blue); }
.primary-nav .menu-item-has-children > a::after { content: ''; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { font-weight: 700; color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; transition: .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle .bars::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 96px; background: radial-gradient(1200px 500px at 85% -10%, var(--blue-soft), transparent 70%), radial-gradient(800px 400px at -10% 110%, var(--green-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; font-size: clamp(2.1rem, 3.6vw, 3.05rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px; }
.hero-actions.center { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points .ico { width: 18px; height: 18px; color: var(--green); stroke-width: 2.6; }
.hero-visual { position: relative; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.float-card .ico { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: var(--green-soft); color: var(--green); }
.float-card strong { display: block; font-size: 1.1rem; color: var(--ink); line-height: 1.2; }
.float-card span { font-size: .8rem; color: var(--muted); }
.fc-1 { left: -28px; bottom: 36px; }
.fc-2 { right: -18px; top: -22px; }
.fc-2 .ico { background: var(--orange-soft); color: var(--orange); }

/* Screenshot frame */
.shot { margin: 0; }
.shot-frame { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #EEF2F8; border-bottom: 1px solid var(--line); }
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: #F26B5B; }
.shot-bar span:nth-child(2) { background: #F5BF4F; }
.shot-bar span:nth-child(3) { background: #3FC163; }
.shot-bar em { margin-left: 12px; font-style: normal; font-size: .74rem; color: var(--muted); background: #fff; padding: 2px 12px; border-radius: 20px; }
.shot-zoom { display: block; cursor: zoom-in; }
.shot figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); text-align: center; }
.section.dark .shot figcaption { color: #AFC3E6; }

/* Trades strip */
.trades-strip { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-title { text-align: center; font-weight: 700; color: var(--muted); font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.trade-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.trade-chips li { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 40px; background: var(--bg-alt); border: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: .93rem; }
.trade-chips .ico { width: 18px; height: 18px; color: var(--blue); }

/* Section heads */
.section-head { margin-bottom: 52px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; gap: 20px; }

/* Grids & cards */
.card-grid { display: grid; gap: 24px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature-card, .trade-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover, .trade-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-card p, .trade-card p { color: var(--muted); margin: 0; font-size: .98rem; }
.feature-card.problem { border-top: 4px solid var(--orange); }
.trade-card h3 { font-size: 1.08rem; }
.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; background: var(--blue-soft); color: var(--blue); margin-bottom: 18px; }
.icon-badge .ico { width: 26px; height: 26px; }
.icon-badge.green { background: var(--green-soft); color: var(--green); }
.icon-badge.orange { background: var(--orange-soft); color: var(--orange); }
.icon-badge.big { width: 72px; height: 72px; border-radius: 18px; }
.icon-badge.big .ico { width: 36px; height: 36px; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.split.reverse .split-copy { order: 2; }
.split.reverse .split-media { order: 1; }
.h2-sm { font-size: 1.6rem; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 11px; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23279F52' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.section.dark .check-list li::before { background-color: rgba(255, 255, 255, .12); }

/* Steps row */
.steps-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps-row li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; }
.steps-row .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 16px; }
.steps-row li:nth-child(2) .num { background: var(--green); }
.steps-row li:nth-child(3) .num { background: var(--orange); }
.steps-row li:nth-child(4) .num { background: var(--blue-ink); }
.steps-row p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Quote band */
.quote-band { background: var(--blue); color: #fff; padding: 72px 0; }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 700; line-height: 1.45; color: #fff; }
.quote-band cite { font-style: normal; color: #A8C4F2; font-weight: 600; }

/* Post cards */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--blue-soft), var(--green-soft)); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-placeholder { display: grid; place-items: center; height: 100%; }
.post-card-placeholder img { width: 90px; height: 90px; object-fit: contain; opacity: .9; }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 1.2rem; }
.post-card-body h3 a { color: var(--ink); }
.post-card-body h3 a:hover { color: var(--blue); }
.post-card-body p { color: var(--muted); font-size: .96rem; }
.post-card-body .text-link { margin-top: auto; }
.post-meta { font-size: .85rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 60%, #0A3B86 100%); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(39, 159, 82, .45), transparent 70%); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #C9D9F3; margin: 0; max-width: 620px; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* Page hero */
.page-hero { padding: 78px 0 64px; background: radial-gradient(900px 380px at 90% 0%, var(--blue-soft), transparent 70%), linear-gradient(180deg, #F7FAFE, #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; font-size: clamp(2rem, 4vw, 3.1rem); }
.page-hero .lead { max-width: 760px; margin: 0; }
.post-hero .eyebrow a { color: var(--blue); }

/* Subnav */
.subnav { position: sticky; top: 78px; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .subnav { top: 110px; }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav a { white-space: nowrap; padding: 8px 14px; border-radius: 8px; font-weight: 700; font-size: .9rem; color: var(--muted); }
.subnav a:hover, .subnav a.active { background: var(--blue-soft); color: var(--blue); }
.subnav .subnav-guide { margin-left: auto; color: var(--green-dark); display: inline-flex; align-items: center; gap: 6px; }
.subnav .ico { width: 16px; height: 16px; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.road-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px dashed #C4CFE2; border-radius: 12px; padding: 18px; font-weight: 600; color: var(--ink); }
.road-item .ico { width: 22px; height: 22px; flex-shrink: 0; color: var(--orange); }

/* About */
.stat-stack { display: grid; gap: 18px; }
.stat { background: var(--blue); color: #fff; border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow); }
.stat.green { background: var(--green); }
.stat.orange { background: var(--orange); }
.stat strong { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1.1; }
.stat span { font-weight: 600; opacity: .92; }
.timeline { list-style: none; padding: 0; margin: 24px 0 0; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li::before { content: ''; position: absolute; left: -9px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.timeline strong { display: block; color: var(--ink); }
.timeline span { color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; margin-bottom: 28px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px 32px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-size: .78rem; font-weight: 800; padding: 5px 14px; border-radius: 20px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.plan h2 { font-size: 1.5rem; margin-bottom: 4px; }
.plan-desc { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan-price strong { font-size: 2.8rem; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.plan-price span { color: var(--muted); font-weight: 600; }
.plan-users { color: var(--green-dark); font-weight: 700; font-size: .92rem; margin-bottom: 22px; }
.plan .check-list { margin-top: 26px; font-size: .96rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table-wrap th, .table-wrap td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap th { background: var(--bg-alt); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table-wrap tr:last-child td { border-bottom: 0; }
.compare td.cell-mark, .compare th:not(:first-child) { text-align: center; }
.compare .yes .ico { width: 22px; height: 22px; color: var(--green); stroke-width: 2.8; display: inline-block; }
.compare .no { color: #B4BCC9; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: '-'; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* New business */
.launch-plan { padding-left: 22px; margin: 22px 0 0; }
.launch-plan li { margin-bottom: 14px; }
.checklist-grid { list-style: none; padding: 0; margin: 30px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; text-align: left; }
.checklist-grid li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: 10px; padding: 14px 16px 14px 46px; position: relative; color: #fff; font-weight: 600; }
.checklist-grid li::before { content: ''; position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--orange); }
.muted-light { color: #9DB2D6; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px; box-shadow: var(--shadow); }
.contact-form .form-row { margin-bottom: 18px; }
.contact-form .form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; font-weight: 700; color: var(--ink); font-size: .93rem; }
.contact-form input, .contact-form select, .contact-form textarea, .search-form input { display: block; width: 100%; margin-top: 7px; padding: 12px 14px; border: 1.5px solid #CAD3E2; border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus, .search-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.req { color: var(--orange-dark); }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.notice.success { background: var(--green-soft); color: var(--green-dark); }
.notice.error { background: #FBE3E3; color: #A32020; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; margin-bottom: 22px; }
.info-card ul { list-style: none; padding: 0; margin: 0; }
.info-card li { display: flex; gap: 14px; margin-bottom: 18px; }
.info-card li .ico { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.info-card li span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.info-card.blue { background: var(--blue); border-color: var(--blue); color: #D6E2F6; }
.info-card.blue h3 { color: #fff; }

/* User guide */
.guide-layout { display: grid; grid-template-columns: 270px 1fr; gap: 56px; align-items: start; }
.guide-toc { position: sticky; top: 100px; }
.admin-bar .guide-toc { top: 132px; }
.guide-toc-inner { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-height: calc(100vh - 130px); overflow: auto; }
.guide-toc h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.guide-toc ol { padding-left: 20px; margin: 0 0 20px; font-size: .94rem; }
.guide-toc li { margin-bottom: 6px; }
.guide-toc a { color: var(--ink); font-weight: 600; }
.guide-toc a:hover, .guide-toc a.active { color: var(--blue); }
.guide-section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.guide-section:last-of-type { border-bottom: 0; }
.guide-section h2 { display: flex; align-items: center; gap: 14px; font-size: 1.8rem; }
.gnum { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--blue); color: #fff; font-size: 1.05rem; flex-shrink: 0; }
.guide-section h3 { margin-top: 1.6em; color: var(--blue); }
.guide-section .shot { margin: 28px 0; }
.guide-steps { counter-reset: g; list-style: none; padding: 0; }
.guide-steps li { counter-increment: g; position: relative; padding: 2px 0 12px 46px; }
.guide-steps li::before { content: counter(g); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.callout { background: var(--blue-soft); border-left: 4px solid var(--blue); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 22px 0; }
.callout.green { background: var(--green-soft); border-left-color: var(--green); }

/* Entry content */
.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { border-left: 4px solid var(--green); margin: 1.5em 0; padding: .4em 1.4em; color: var(--ink); font-size: 1.1rem; }
.entry-content img { border-radius: 10px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { border: 1px solid var(--line); padding: 10px; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, .wp-element-caption { font-size: .9rem; color: var(--muted); }

/* Blog */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.widget { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; }
.widget-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.widget li:last-child { border-bottom: 0; }
.widget-cta { background: var(--blue); border-color: var(--blue); color: #D6E2F6; }
.widget-cta .widget-title { color: #fff; }
.search-form { display: flex; gap: 8px; }
.search-form input { margin: 0; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 9px 15px; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }
.post-thumb img { border-radius: var(--radius); margin-top: 40px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin: 48px 0; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 700; }
.post-tags a { display: inline-block; background: var(--bg-alt); padding: 4px 12px; border-radius: 20px; font-size: .85rem; margin: 0 6px 6px 0; }
.empty-state { text-align: center; padding: 40px; border: 1px dashed var(--line); border-radius: var(--radius); }
.comment-list { list-style: none; padding: 0; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 10px; border: 1.5px solid #CAD3E2; border-radius: 8px; font: inherit; }
.comment-form .submit { background: var(--blue); color: #fff; border: 0; padding: 12px 22px; border-radius: 10px; font-weight: 700; cursor: pointer; }

/* Footer */
.site-footer { background: var(--blue-ink); color: #A9B8D3; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.footer-brand img { width: 240px; margin-bottom: 18px; }
.footer-brand .tagline { color: var(--orange); font-weight: 800; letter-spacing: .04em; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 18px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #D6E2F6; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: .88rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(6, 18, 40, .9); display: grid; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 96vw; max-height: 90vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox-close { position: absolute; top: 16px; right: 22px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Grid children may shrink */
.hero-grid > *, .split > *, .guide-layout > *, .blog-layout > *, .contact-grid > *, .footer-grid > * { min-width: 0; }

/* Icons default */
.ico { width: 22px; height: 22px; flex-shrink: 0; }

/* Responsive */
@media (max-width: 1100px) {
	.primary-nav .menu a { padding: 10px 8px; font-size: .92rem; }
	.card-grid.four { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
	.nav-toggle { display: block; }
	.primary-nav { position: fixed; inset: 78px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 20px 24px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; gap: 16px; }
	.admin-bar .primary-nav { top: 124px; }
	.nav-open .primary-nav { transform: none; visibility: visible; }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav .menu a { font-size: 1.1rem; padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.nav-actions { flex-direction: column; align-items: stretch; }
	.hero-grid, .split, .contact-grid, .guide-layout, .blog-layout { grid-template-columns: 1fr; gap: 40px; }
	.split.reverse .split-copy { order: 1; }
	.split.reverse .split-media { order: 2; }
	.card-grid.three, .plans, .roadmap { grid-template-columns: 1fr 1fr; }
	.steps-row { grid-template-columns: 1fr 1fr; }
	.plan.featured { transform: none; }
	.cta-inner { flex-direction: column; align-items: flex-start; }
	.guide-toc { position: static; }
	.guide-toc-inner { max-height: none; }
	.subnav { top: 78px; }
	.fc-1 { left: 10px; bottom: -20px; }
	.fc-2 { right: 10px; top: -20px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.section { padding: 64px 0; }
	.card-grid.two, .card-grid.three, .card-grid.four, .plans, .roadmap, .steps-row, .checklist-grid, .footer-grid { grid-template-columns: 1fr; }
	.contact-form .form-row.two { grid-template-columns: 1fr; }
	.contact-form-card { padding: 26px; }
	.split-head { flex-direction: column; align-items: flex-start; }
	.float-card { display: none; }
	.site-brand img, .custom-logo { width: 228px; }
	.admin-bar .site-header { top: 0; }
}


/* ===== Built for Scalability / Customer Size (v1.1) ===== */
.size-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.size-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px 34px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.size-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.size-card.small { border-top: 5px solid var(--green); }
.size-card.established { border-top: 5px solid var(--blue); }
.size-card h3 { font-size: 1.55rem; margin-bottom: 6px; }
.size-card .size-sub { color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.size-card .deploy-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; padding: 0; list-style: none; }
.size-card .deploy-tags li { font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 20px; background: var(--blue-soft); color: var(--blue); }
.size-card.small .deploy-tags li { background: var(--green-soft); color: var(--green-dark); }
.size-card .check-list { flex: 1; }
.size-card .btn { align-self: flex-start; margin-top: 22px; }
.scale-path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 46px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.scale-path > div { padding: 26px 28px; border-right: 1px solid var(--line); }
.scale-path > div:last-child { border-right: 0; }
.scale-path .step-label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.scale-path h4 { margin: 0 0 6px; font-size: 1.1rem; color: var(--ink); }
.scale-path p { margin: 0; color: var(--muted); font-size: .95rem; }
.size-switch { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.size-switch .btn.is-current { pointer-events: none; opacity: .55; }
@media (max-width: 980px) {
  .size-cards, .scale-path { grid-template-columns: 1fr; }
  .scale-path > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .scale-path > div:last-child { border-bottom: 0; }
}

/* v5.196 header buttons: one line, same size, never squeezed */
.nav-actions { flex-shrink: 0; gap: 10px; }
.nav-actions .btn { white-space: nowrap; flex-shrink: 0; padding: 11px 18px; line-height: 1.2; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.nav-actions .nav-signup { margin-right: 0; background: #fff; }
@media (max-width: 1280px) { .nav-actions .btn { padding: 10px 14px; font-size: 15px; } }

/* v5.196 menu on one line, lined up with the buttons */
@media (min-width: 1025px) {
  .primary-nav .menu { align-items: center; }
  .primary-nav .menu > li > a { white-space: nowrap; padding: 10px 10px; }
}
@media (min-width: 1025px) and (max-width: 1280px) { .primary-nav .menu > li > a { padding: 10px 7px; } .primary-nav { gap: 14px; } }


/* ===== v1.2 All-in-one modules + full feature list ===== */
.allinone .section-head { max-width: 980px; }
.allinone-lead { font-size: 1.12rem; line-height: 1.75; color: var(--ink); }
.module-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 36px; }
.module-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.module-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); color: var(--ink); }
.module-card .icon-badge { margin-bottom: 14px; }
.module-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.module-card p { color: var(--muted); font-size: .94rem; margin: 0 0 14px; flex: 1; }
.module-more { font-weight: 800; font-size: .9rem; color: var(--blue); }
.fcards { margin-top: 56px; }
.fcard h3 { font-size: 1.15rem; }
.check-list.compact { margin-top: 10px; font-size: .95rem; color: var(--muted); }
.check-list.compact li { margin-bottom: 8px; padding-left: 28px; }
.check-list.compact li::before { width: 18px; height: 18px; top: 3px; background-size: 11px; }
.shot-frame img { display: block; width: 100%; height: auto; }
@media (max-width: 1100px) { .module-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .module-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .module-grid { grid-template-columns: 1fr; } }


/* ===== v1.3 One-line headings ===== */
.site-main h1, .site-main h2, .site-main h3, main h1, main h2, main h3 { max-width: none; }
.hero-head { grid-column: 1 / -1; }
.hero-head h1 { margin-bottom: 10px; }
.hero-sub { font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 700; color: var(--ink); margin: 0 0 8px; }
h1.fit-one, h2.fit-one, h3.fit-one { white-space: nowrap; }
h1.fit-wrap, h2.fit-wrap, h3.fit-wrap { white-space: normal; text-wrap: balance; }


/* ===== v1.4 Quick Start Guide ===== */
.qs-wrap { max-width: 900px; }
.qs-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.qs-steps { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.qs-step { display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 18px; }
.qs-num { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }
.qs-body { flex: 1; min-width: 0; }
.qs-body h2 { font-size: 1.45rem; margin: 6px 0 8px; }
.qs-body p { margin: 0 0 10px; color: var(--ink); }
.qs-tip { background: #F1F5F9; border-left: 4px solid var(--blue); padding: 10px 14px; border-radius: 6px; font-size: .95rem; }
.qs-help { text-align: center; margin-top: 40px; padding: 34px 26px; border-radius: var(--radius); background: #F1F5F9; }
.qs-help h2 { margin-bottom: 8px; }
@media (max-width: 600px) { .qs-step { padding: 20px 18px; gap: 14px; } .qs-num { flex-basis: 38px; height: 38px; font-size: 1.05rem; } }


/* ===== v1.5 Integrations page ===== */
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.int-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.int-logo { height: 64px; display: flex; align-items: center; margin-bottom: 18px; }
.int-logo img { max-height: 48px; max-width: 200px; width: auto; height: auto; }
.int-card .eyebrow { margin-bottom: 4px; }
.int-card h2 { font-size: 1.5rem; margin: 0 0 10px; }
.int-card > p { color: var(--ink); margin: 0 0 12px; }
.int-where { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.int-legal { margin-top: 26px; font-size: .85rem; color: var(--muted); text-align: center; }
.int-req { max-width: 820px; }
.int-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.int-note { border-radius: 8px; padding: 14px 18px; margin-bottom: 18px; font-weight: 600; }
.int-note.ok { background: #ECFDF5; border: 1px solid #A7F3D0; color: #14532D; }
.int-note.bad { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
@media (max-width: 980px) { .int-grid { grid-template-columns: 1fr; } }


/* ===== v1.6 Tighter vertical spacing between sections ===== */
.section { padding: 52px 0; }
.page-hero { padding: 52px 0 44px; }
.hero { padding: 60px 0 64px; }
.cta-band { padding: 52px 0; }
.section-head { margin-bottom: 32px; }
.fcards { margin-top: 36px; }
.module-grid { margin-top: 28px; }
@media (max-width: 760px) {
	.section { padding: 40px 0; }
	.page-hero { padding: 40px 0 34px; }
	.hero { padding: 44px 0 48px; }
	.cta-band { padding: 40px 0; }
	.section-head { margin-bottom: 24px; }
}

/* v1.6.1 Blog card titles stay on one line */
.post-card-body h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-card-body h3 a { display: inline; }


/* ---------- Hero v2: full-platform message ---------- */
.hero-head { grid-column: 1 / -1; }
.hero-head h1 { margin-bottom: 8px; font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.hero-head .hero-sub { margin: 0; font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 700; color: var(--blue); }
@media (min-width: 1025px) { .hero-head h1, .hero-head .hero-sub, .cycle-copy h2 { white-space: nowrap; } }
.hero-flow { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; }
.hero-flow li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px 7px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 12px rgba(11, 40, 90, .06); font-weight: 700; font-size: 1.02rem; color: var(--ink); white-space: nowrap; position: relative; }
.hero-flow li span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 800; }
.hero-flow li:nth-child(1) span, .hero-flow li:nth-child(5) span { background: var(--orange); }
.hero-flow li:nth-child(3) span { background: var(--green); }
.hero-flow li + li::before { content: "\2192"; position: absolute; left: -23px; font-size: 1.15rem; top: 50%; transform: translateY(-50%); color: #8FA3C4; font-weight: 800; }
.hero-flow li + li { margin-left: 30px; }
.hero-maker { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 7px 15px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-weight: 800; font-size: .95rem; }
.hero-maker .ico { width: 18px; height: 18px; color: var(--green); }
.hero-copy .hero-actions { margin-top: 22px; }

/* ---------- Sales cycle section ---------- */
.cycle { background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.cycle-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.cycle-grid > * { min-width: 0; }
.cycle-copy h2 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); margin-bottom: 18px; }
.cycle-copy p { margin: 0 0 16px; }
.cycle-copy .btn { margin-top: 10px; }
.cycle-svg { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; font-family: var(--font); }
@media (max-width: 980px) { .cycle-grid { grid-template-columns: 1fr; gap: 36px; } .cycle-svg { max-width: 440px; } }

@media (max-width: 640px) {
	.hero-flow { gap: 8px 0; margin-top: 18px; }
	.hero-flow li { font-size: .84rem; padding: 5px 11px 5px 5px; gap: 6px; }
	.hero-flow li span { width: 20px; height: 20px; font-size: .68rem; }
	.hero-flow li + li { margin-left: 20px; }
	.hero-flow li + li::before { left: -16px; font-size: 1rem; }
	.hero-maker { font-size: .86rem; padding: 6px 12px; }
}
