/* bizzcms-site additions on top of the NextSaaS template CSS (nextsaas.css). Keep this small;
   use the template's classes first. */

/* BizzCMS logo in the template's header, mobile menu and footer */
.bz-brand { display: inline-flex; align-items: center; gap: 10px; }
.bz-brand img { width: auto; height: 40px; }
.bz-brand span { font-family: var(--font-inter-tight), 'Inter Tight', sans-serif; font-size: 28px; font-weight: 400; letter-spacing: -.02em; color: #1a1a1c; }
.bz-brand span b { font-weight: inherit; color: #086568; }

/* Mobile menu (the template opens it with GSAP) */
aside.sidebar { transform: translateX(-100%); transition: transform .45s cubic-bezier(.22,1,.36,1), visibility 0s linear .45s; }
/* The template ships the panel as invisible + pointer-events-none; open overrides both (closing hides it after the slide). */
aside.sidebar.bz-open { transform: none; visibility: visible !important; pointer-events: auto !important; transition: transform .45s cubic-bezier(.22,1,.36,1), visibility 0s; }

/* Reveal on scroll (replaces GSAP). Visible without JS and with reduced motion. */
.bz-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.bz-js [data-reveal].bz-in { opacity: 1; transform: none; }
.bz-js header [data-reveal] { transform: none; }
@media (prefers-reduced-motion: reduce) { .bz-js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* FAQ panels animate their height from public/js/site.js */
[data-faq-content] { overflow: hidden; }

/* Blog article body: the template styles h3/h4/p only; CMS posts use h2, lists, quotes and code too. */
.blog-details-markdown { max-width: 860px; margin-inline: auto; }
.blog-details-markdown h2 { font-size: var(--text-heading-5); line-height: var(--text-heading-5--line-height); font-weight: 500; color: color-mix(in oklab, var(--color-background-14) 90%, transparent); margin: 48px 0 12px; }
.blog-details-markdown h2:first-child { margin-top: 0; }
.blog-details-markdown p { margin-top: 16px; font-size: 17px; line-height: 1.7; }
.blog-details-markdown h2 + p, .blog-details-markdown h3 + p { margin-top: 8px; }
.blog-details-markdown h3:not(:first-child) { margin-top: 40px; }
.blog-details-markdown :is(ul, ol) { margin: 16px 0 0; padding-left: 22px; display: grid; gap: 8px; color: color-mix(in oklab, var(--color-background-14) 70%, transparent); font-size: 17px; line-height: 1.6; }
.blog-details-markdown ul { list-style: disc; } .blog-details-markdown ol { list-style: decimal; }
.blog-details-markdown li::marker { color: #086568; }
.blog-details-markdown a { color: #086568; text-decoration: underline; text-underline-offset: 3px; }
.blog-details-markdown strong { font-weight: 600; color: color-mix(in oklab, var(--color-background-14) 90%, transparent); }
.blog-details-markdown code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: #e7eeec; color: #064e50; }
.blog-details-markdown pre { margin-top: 20px; padding: 18px 20px; border-radius: 14px; background: #102f31; color: #e7f5ef; overflow-x: auto; }
.blog-details-markdown pre code { padding: 0; background: none; color: inherit; }
.blog-details-markdown blockquote { margin-top: 24px; padding: 4px 0 4px 20px; border-left: 3px solid #c4f56a; font-size: 19px; color: color-mix(in oklab, var(--color-background-14) 85%, transparent); }
.blog-details-markdown img { margin-top: 24px; border-radius: 16px; max-width: 100%; height: auto; }

/* Hero checks: teal check marks, upright text, one row (wraps on phones) */
.bz-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 1024px) { .bz-checks { justify-content: flex-start; } }
.bz-checks li { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-inter-tight), 'Inter Tight', sans-serif; font-size: 15px; font-weight: 500; color: #3d4f4e; }
.bz-checks svg { width: 18px; height: 18px; padding: 3px; border-radius: 999px; background: #086568; color: #c4f56a; flex: none; }

/* Icons inside the template's pill buttons (Explore Features →, Get the Code + GitHub) */
.bz-btn-ico { display: inline-block; width: 16px; height: 16px; margin-left: 6px; vertical-align: -2px; }

/* Hero background: the template's "insurance" glow (soft pink and violet; Ivan 2026-10-08, after lime was "too much green") instead of the
   saas demo's rainbow (Ivan, 2026-10-08). Swap the file name to change it. */
main > section:first-child[class*="hero-bg.png"] { background-image: url(/img/home/hero-bg-glow.png) !important; }

/* How-it-works cards: room for a heading plus two lines of text (template box is 95px). */
#process [class*="group/process-card"] > div[class*="h-[95px]"] { height: 112px; }
#process [class*="group/process-card"]:hover > div[class*="h-[95px]"] { height: 160px; }

/* Benefits: paragraph under the teal card heading and under the tall card heading. */
.bz-benefit-note { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: rgb(255 255 255 / .82); }
.bz-benefit-text { margin: 0; font-size: 16px; line-height: 1.55; color: rgb(13 13 18 / .62); }
/* Teal "Free & Open Source" card: heading + text only (the small Licence/MIT box no longer fits). */
.bz-benefit-note + div { display: none !important; }
/* Same checks in the dark call-to-action block */
.bz-checks-dark { justify-content: center !important; }
.bz-checks-dark li { color: rgb(255 255 255 / .88); }
.bz-checks-dark svg { background: #c4f56a; color: #064e50; }

/* GitHub mark inside the round pill of every "Get the Code" button (replaces the template's chevrons there). */
.bz-pill-gh { width: 22px; height: 22px; }

/* Call to action: install command with a Copy button (like SonicJS, with the command that works for BizzCMS). */
.bz-cmd { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 560px; margin: 0 auto 22px; padding: 12px 12px 12px 18px; border-radius: 12px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); }
.bz-cmd code { font: 500 14px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; color: #e7f5ef; white-space: nowrap; overflow-x: auto; }
.bz-cmd-prompt { color: rgb(255 255 255 / .45); margin-right: 6px; }
.bz-cmd-copy { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 6px 10px; border-radius: 8px; font-size: 13px; color: rgb(255 255 255 / .7); background: transparent; border: 0; cursor: pointer; }
.bz-cmd-copy:hover { color: #c4f56a; background: rgb(255 255 255 / .06); }
.bz-cmd-copy svg { width: 15px; height: 15px; }

/* /brand: logo downloads (same structure as bizinly.com/brand and store4.com/brand, BizzCMS design) */
.bz-brand-crumb { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #5d7472; }
.bz-brand-page h1 { margin: 14px 0 18px; }
.bz-brand-lead { max-width: 760px; font-size: 18px; line-height: 1.6; color: rgb(13 13 18 / .62); }
.bz-canvas-switch { display: inline-flex; gap: 6px; margin: 28px 0 40px; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid #e3e9e7; }
.bz-canvas-switch button { padding: 9px 16px; border-radius: 9px; font-size: 14px; font-weight: 500; color: #3d4f4e; background: transparent; border: 0; cursor: pointer; }
.bz-canvas-switch button[aria-pressed="true"] { background: #086568; color: #fff; }
.bz-brand-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.bz-brand-card { overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid #e3e9e7; }
.bz-brand-art { display: grid; place-items: center; height: 280px; margin: 0; background: #f6f8f7; border-bottom: 1px solid #e3e9e7; transition: background .3s; }
.bz-brand-art img { width: 150px; height: auto; }
.bz-brand-art-dark { background: #102f31; }
.bz-brand-copy { padding: 24px; }
.bz-brand-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #086568; }
.bz-brand-copy h3 { margin: 10px 0 8px; font-size: 22px; }
.bz-brand-copy > p:not(.bz-brand-label) { font-size: 15px; line-height: 1.55; color: rgb(13 13 18 / .6); min-height: 48px; }
.bz-brand-files { display: flex; gap: 8px; margin: 20px 0 16px; }
.bz-brand-file { padding: 8px 14px; border-radius: 9px; font-size: 13px; font-weight: 600; color: #fff; background: #086568; }
.bz-brand-file:hover { background: #064e50; }
.bz-brand-preview { display: flex; align-items: center; padding: 16px 18px; border-radius: 12px; background: #f3f5f4; }
.bz-brand-preview-dark { background: #102f31; }
.bz-brand-preview img { height: 34px; width: auto; }
.bz-brand-notes { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; margin-top: 72px; }
.bz-brand-notes h2 { font-size: 34px; line-height: 1.2; }
.bz-brand-notes p { margin-bottom: 14px; font-size: 16px; line-height: 1.6; color: rgb(13 13 18 / .62); }
.bz-brand-kit { font-weight: 600; color: #086568; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 767px) { .bz-brand-notes { grid-template-columns: 1fr; } }
/* Light / dark canvas */
.bz-brand-page .bz-on-dark { display: none; }
.bz-brand-page[data-canvas="dark"] .bz-on-light { display: none; }
.bz-brand-page[data-canvas="dark"] .bz-on-dark { display: inline-block; }
.bz-brand-page[data-canvas="dark"] .bz-brand-art, .bz-brand-page[data-canvas="dark"] .bz-brand-preview { background: #102f31; }

/* Stat numbers in the feature card are paragraphs now (not headings); same look as before. */
p.bz-stat { color: rgb(0 0 0); }

/* Integration section: three AI cards above the logo tiles (AI CMS, MCP, automation). */
.bz-ai-cards { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 8px 0 56px; }
@media (max-width: 1023px) { .bz-ai-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.bz-ai-card { padding: 28px; border-radius: 20px; background: #fff; text-align: left; transition: transform .3s, box-shadow .3s; }
.bz-ai-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgb(16 47 49 / .08); }
.bz-ai-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #086568; color: #c4f56a; }
.bz-ai-ico svg { width: 22px; height: 22px; }
.bz-ai-card h3 { margin: 18px 0 8px; font-size: 22px; line-height: 1.3; }
.bz-ai-card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgb(13 13 18 / .62); }

/* Pricing: cards grow with the notes but stay the same height in a row; VAT line under the cards. */
#pricing [class*="h-[612px]"] { height: auto; min-height: 612px; }
.bz-price-note { margin: 20px 0 0; font-size: 13px; line-height: 1.55; color: rgb(13 13 18 / .55); }
.bz-price-vat { margin-top: 28px; text-align: center; font-size: 14px; color: rgb(13 13 18 / .55); }

/* Benefits "Lightweight by Design": longer copy, so the bar chart is shorter and stays inside the card. */
#benefits [class*="h-[396px]"] { overflow: hidden; }
#benefits [class*="h-[396px]"] svg[data-feature-chart] { height: 150px; }

/* Legal pages (/cookies) */
.bz-legal { max-width: 860px; }
.bz-legal h1 { margin: 14px 0 18px; }
.bz-legal h2 { margin: 40px 0 10px; font-size: 26px; }
.bz-legal p { margin-top: 12px; font-size: 16.5px; line-height: 1.7; color: rgb(13 13 18 / .68); }
.bz-legal a { color: #086568; text-decoration: underline; text-underline-offset: 3px; }
.bz-legal table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: 14px; overflow: hidden; }
.bz-legal th, .bz-legal td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #e3e9e7; }
.bz-legal th { font-weight: 600; background: #f3f5f4; }
.bz-legal code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: #e7eeec; color: #064e50; }
