/* SEOIndia Theme — Main Stylesheet
 * Design system inspired by the Next.js platform: clean, professional, AI-modern.
 * Mobile-first, accessible (WCAG AA), CLS-safe, light DOM.
 * DEPLOY_MARKER: 2026-05-19-test-001
 */

/* ============ Design Tokens ============ */
:root {
	--si-primary: #4f46e5;
	--si-primary-dark: #4338ca;
	--si-primary-light: #818cf8;
	/* Accent aligned to the logo "India" gradient (indigo → violet → pink),
	   replacing the off-brand cyan so colours are consistent site-wide. */
	--si-accent: #7c3aed;
	--si-success: #10b981;
	--si-warning: #f59e0b;
	--si-danger: #ef4444;
	--si-info: #3b82f6;

	/* EP-5 design system — brand gradient family (logo + dashboards) */
	--si-violet: #7c3aed;
	--si-pink: #db2777;
	--si-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
	--si-gradient-soft: linear-gradient(135deg, rgba(79,70,229,.08), rgba(124,58,237,.08));
	/* India accent palette — used sparingly for trust / CTA highlights */
	--si-saffron: #ff8a33;
	--si-saffron-dark: #ea7a1f;
	--si-green: #15803d;
	--si-green-light: #16a34a;
	/* Spacing scale (4/8pt) for consistent rhythm in EP-6 */
	--si-space-1: .25rem; --si-space-2: .5rem; --si-space-3: .75rem;
	--si-space-4: 1rem; --si-space-5: 1.5rem; --si-space-6: 2rem; --si-space-8: 3rem;

	--si-fg: #0f172a;
	--si-fg-muted: #475569;
	--si-fg-subtle: #64748b;
	--si-bg: #ffffff;
	--si-bg-alt: #f8fafc;
	--si-bg-elev: #ffffff;
	--si-border: #e2e8f0;
	--si-border-strong: #cbd5e1;

	--si-radius-sm: .375rem;
	--si-radius: .5rem;
	--si-radius-lg: .75rem;
	--si-radius-xl: 1rem;
	--si-radius-2xl: 1.5rem;

	--si-shadow-sm: 0 1px 2px rgba(15,23,42,.04);
	--si-shadow: 0 4px 12px rgba(15,23,42,.08);
	--si-shadow-lg: 0 12px 30px rgba(15,23,42,.10);

	--si-container: 1200px;
	--si-container-wide: 1320px;
	--si-container-narrow: 880px;
	--si-gutter: clamp(1rem, 3vw, 1.75rem);

	--si-font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--si-font-mono: ui-monospace, SFMono-Regular, "Cascadia Code", Menlo, Consolas, monospace;

	--si-step--1: clamp(.875rem,.85rem + .2vw,.95rem);
	--si-step-0: clamp(1rem,.95rem + .25vw,1.1rem);
	--si-step-1: clamp(1.125rem,1.05rem + .35vw,1.25rem);
	--si-step-2: clamp(1.375rem,1.25rem + .5vw,1.6rem);
	--si-step-3: clamp(1.75rem,1.5rem + .75vw,2.1rem);
	--si-step-4: clamp(2.25rem,1.85rem + 1.5vw,3rem);
	--si-step-5: clamp(2.75rem,2.2rem + 2.25vw,4rem);

	--si-transition: 180ms cubic-bezier(.4,0,.2,1);
}

@media (prefers-color-scheme: dark) {
	:root[data-theme="auto"] {
		--si-fg: #f1f5f9;
		--si-fg-muted: #cbd5e1;
		--si-fg-subtle: #94a3b8;
		--si-bg: #0b1220;
		--si-bg-alt: #111827;
		--si-bg-elev: #131c2e;
		--si-border: #1f2937;
		--si-border-strong: #374151;
	}
}

/* ============ EP-5 Design-System utilities (additive, opt-in) ============ */
.si-ds-gradient-text { background: var(--si-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.si-ds-gradient-bg { background: var(--si-gradient); color: #fff; }
.si-ds-trust { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; line-height: 1.4; }
.si-ds-trust--saffron { background: rgba(255,138,51,.14); color: var(--si-saffron-dark); }
.si-ds-trust--green { background: rgba(21,128,61,.12); color: var(--si-green); }
.si-ds-btn-accent { display: inline-flex; align-items: center; gap: .4rem; background: var(--si-saffron); color: #fff; border: 0; border-radius: var(--si-radius); padding: .7rem 1.3rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: var(--si-transition); }
.si-ds-btn-accent:hover { background: var(--si-saffron-dark); color: #fff; }
.si-ds-card { background: var(--si-bg-elev); border: 1px solid var(--si-border); border-radius: var(--si-radius-lg); box-shadow: var(--si-shadow-sm); padding: var(--si-space-5, 1.5rem); }
@media (prefers-reduced-motion: reduce) { .si-ds-btn-accent { transition: none; } }

/* ============ EP-6 global polish — additive states + a11y, zero layout changes ============ */
/* :where() = 0 specificity, so these only fill gaps and never override existing rules. */
html { scroll-behavior: smooth; }
::selection { background: rgba(79,70,229,.16); }
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
	outline: 2px solid var(--si-primary); outline-offset: 2px; border-radius: var(--si-radius-sm);
}
:where(.btn, .btn-primary, .btn-secondary, .btn-ghost, .btn-cta-header) { transition: transform var(--si-transition), box-shadow var(--si-transition), filter var(--si-transition); }
:where(.btn, .btn-primary, .btn-secondary):hover { transform: translateY(-1px); }
:where(.card, .dash-card, .si-ds-card, .testimonial) { transition: transform var(--si-transition), box-shadow var(--si-transition); }
:where(.card, .testimonial):hover { transform: translateY(-2px); box-shadow: var(--si-shadow); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	:where(.btn, .btn-primary, .btn-secondary, .card, .testimonial):hover { transform: none; }
}
@media (pointer: fine) {
	::-webkit-scrollbar { width: 10px; height: 10px; }
	::-webkit-scrollbar-thumb { background: var(--si-border-strong, #cbd5e1); border-radius: 999px; border: 2px solid var(--si-bg, #fff); }
	::-webkit-scrollbar-track { background: transparent; }
}

/* ============ Reset / Base ============ */
*, *::before, *::after { box-sizing: border-box; }
/* overflow-x: clip (NOT hidden) prevents any wide child from creating a
   horizontal scrollbar / inflated mobile layout viewport — which was pushing
   the fixed Aria bubble off-screen and mis-centering the exit popup — WITHOUT
   creating a scroll container (so the sticky header keeps working). */
html { -webkit-text-size-adjust: 100%; tab-size: 4; overflow-x: clip; }
body { margin: 0; font-family: var(--si-font); font-size: var(--si-step-0); color: var(--si-fg); background: var(--si-bg); line-height: 1.6; overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; display: block; }
iframe, embed, object, table, pre { max-width: 100%; }
a { color: var(--si-primary); text-decoration: none; transition: color var(--si-transition); }
a:hover { color: var(--si-primary-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--si-primary); outline-offset: 2px; border-radius: var(--si-radius-sm); }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--si-fg); margin: 0 0 .75em; letter-spacing: -.01em; }
h1 { font-size: var(--si-step-5); letter-spacing: -.02em; }
h2 { font-size: var(--si-step-4); letter-spacing: -.015em; }
h3 { font-size: var(--si-step-3); }
h4 { font-size: var(--si-step-2); }
h5 { font-size: var(--si-step-1); }
h6 { font-size: var(--si-step-0); text-transform: uppercase; letter-spacing: .05em; }

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.5em; margin: 0 0 1em; }
li { margin-bottom: .35em; }

blockquote { margin: 1.5em 0; padding: 1em 1.25em; border-left: 4px solid var(--si-primary); background: var(--si-bg-alt); border-radius: var(--si-radius); color: var(--si-fg-muted); font-style: italic; }
code, pre, kbd { font-family: var(--si-font-mono); font-size: .9em; }
code { background: var(--si-bg-alt); padding: .15em .4em; border-radius: var(--si-radius-sm); border: 1px solid var(--si-border); }
pre { background: #0f172a; color: #f1f5f9; padding: 1rem; border-radius: var(--si-radius); overflow-x: auto; }
pre code { background: transparent; padding: 0; border: 0; color: inherit; }

hr { border: 0; border-top: 1px solid var(--si-border); margin: 2.5rem 0; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem 1rem; border-bottom: 1px solid var(--si-border); text-align: left; }
th { font-weight: 600; background: var(--si-bg-alt); }

/* ============ Layout ============ */
.skip-link { position: absolute; left: -9999px; }
.container { width: 100%; max-width: var(--si-container); margin: 0 auto; padding: 0 var(--si-gutter); }
.container.is-wide { max-width: var(--si-container-wide); }
.container.is-narrow { max-width: var(--si-container-narrow); }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section.is-tight { padding: clamp(2rem, 5vw, 4rem) 0; }
.section.is-alt { background: var(--si-bg-alt); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--si-primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; padding: .375rem .85rem; background: color-mix(in srgb, var(--si-primary) 12%, transparent); border-radius: 999px; }

.grid { display: grid; gap: clamp(1rem, 3vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--auto-lg { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }

@media (max-width: 960px) {
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
}

.text-center { text-align: center; }
.text-muted { color: var(--si-fg-muted); }
.text-subtle { color: var(--si-fg-subtle); }
.lead { font-size: var(--si-step-1); color: var(--si-fg-muted); }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; font-size: .95rem; padding: .75rem 1.4rem; border-radius: var(--si-radius); border: 1px solid transparent; cursor: pointer; transition: all var(--si-transition); white-space: nowrap; text-align: center; line-height: 1.2; }
.btn-primary { background: var(--si-primary); color: #fff; }
.btn-primary:hover { background: var(--si-primary-dark); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--si-primary) 35%, transparent); transform: translateY(-1px); }
.btn-secondary { background: var(--si-bg); color: var(--si-fg); border-color: var(--si-border-strong); }
.btn-secondary:hover { background: var(--si-bg-alt); color: var(--si-primary); border-color: var(--si-primary); }
.btn-ghost { background: transparent; color: var(--si-fg); }
.btn-ghost:hover { background: var(--si-bg-alt); }
.btn-accent { background: var(--si-accent); color: #fff; }
.btn-accent:hover { background: color-mix(in srgb, var(--si-accent) 90%, #000); color: #fff; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-block { display: flex; width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ============ Top announcement bar ============ */
.site-topbar { background: linear-gradient(135deg, #0f172a, #1e293b); color: #cbd5e1; font-size: 13px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.site-topbar .container { display: flex; justify-content: center; align-items: center; }
.site-topbar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.site-topbar a:hover { color: var(--si-accent); }
@media (max-width: 640px) { .site-topbar { font-size: 11.5px; padding: 6px 0; } }

/* ============ Modern Sticky Header ============ */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(15,23,42,.06); transition: background .2s, box-shadow .2s; }
.site-header.is-scrolled { background: rgba(255,255,255,.96); box-shadow: 0 1px 12px rgba(15,23,42,.06); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 72px; gap: 2rem; }
.header-brand .brand-link { display: inline-flex; }
.header-brand .brand-logo { height: 38px; width: auto; display: block; }

/* Primary nav */
.header-nav { display: flex; justify-content: center; }
/* Overlay-only chrome — hidden on desktop, shown inside the mobile overlay. */
.nav-overlay-head, .nav-cta-mobile { display: none; }
.main-menu, .menu-mega { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: .15rem; }
.main-menu > li, .menu-mega > li { position: relative; list-style: none; }
.main-menu > li > a, .menu-mega > li > a { display: inline-flex; align-items: center; gap: .25rem; color: var(--si-fg); font-weight: 500; padding: .65rem .9rem; font-size: .92rem; border-radius: var(--si-radius); transition: background .15s, color .15s; }
.main-menu > li > a:hover, .menu-mega > li > a:hover, .main-menu > li.menu-item-has-children:hover > a, .menu-mega > li.menu-item-has-children:hover > a { background: rgba(79,70,229,.07); color: var(--si-primary); }
.main-menu .caret, .menu-mega .caret { font-size: .65rem; opacity: .55; transition: transform .2s; margin-top: 1px; display: inline-block; }
.main-menu li:hover > a > .caret, .menu-mega li:hover > a > .caret { transform: rotate(180deg); opacity: 1; }

/* Dropdown panel */
.main-menu .sub-menu, .menu-mega .sub-menu {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	background: #fff;
	border: 1px solid rgba(15,23,42,.06);
	border-radius: 14px;
	box-shadow: 0 16px 40px -8px rgba(15,23,42,.16), 0 4px 12px rgba(15,23,42,.06);
	padding: .65rem;
	min-width: 260px;
	list-style: none;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s, transform .18s, visibility .18s;
	z-index: 50;
}
.main-menu > li:hover > .sub-menu, .menu-mega > li:hover > .sub-menu,
.main-menu > li:focus-within > .sub-menu, .menu-mega > li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.main-menu .sub-menu li, .menu-mega .sub-menu li { list-style: none; }
.main-menu .sub-menu a, .menu-mega .sub-menu a {
	display: flex; align-items: center; gap: .65rem;
	padding: .55rem .75rem; border-radius: 8px;
	font-size: .9rem; color: var(--si-fg);
	transition: background .15s, color .15s;
}
.main-menu .sub-menu a:hover, .menu-mega .sub-menu a:hover { background: rgba(79,70,229,.06); color: var(--si-primary); }

/* Mega-menu specifics */
.menu-mega .has-mega > .sub-menu { min-width: 520px; padding: .85rem; }
.menu-mega .sub-menu.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.menu-mega .sub-menu .m-ico { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: rgba(15,23,42,.04); border-radius: 8px; font-size: 1rem; flex-shrink: 0; transition: background .15s, transform .15s; }
.menu-mega .sub-menu.mega-grid li a:hover .m-ico { background: linear-gradient(135deg, var(--si-primary), var(--si-accent)); transform: scale(1.05); }
.menu-mega .mega-cta { grid-column: 1 / -1; margin-top: .5rem; padding-top: .75rem; border-top: 1px solid var(--si-border); text-align: right; }
.menu-mega .mega-cta a { color: var(--si-primary); font-weight: 600; font-size: .85rem; padding: .35rem .5rem !important; background: transparent !important; display: inline-block; }
.menu-mega .mega-cta a:hover { background: rgba(79,70,229,.06) !important; }

/* Header right-side actions */
.header-actions { display: flex; align-items: center; gap: .5rem; justify-self: end; }
.header-actions .btn-ghost { padding: .55rem 1rem; font-size: .9rem; color: var(--si-fg); font-weight: 600; border-radius: var(--si-radius); transition: background .15s; border: 0; }
.header-actions .btn-ghost:hover { background: rgba(15,23,42,.06); color: var(--si-primary); }
.header-actions .btn-ghost-faint { opacity: .82; padding: .55rem .85rem; }
.header-actions .btn-ghost-faint:hover { opacity: 1; }
.header-actions .btn-cta-header { padding: .65rem 1.25rem; font-size: .9rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--si-primary), var(--si-accent)); border-radius: var(--si-radius); transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.header-actions .btn-cta-header:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(79,70,229,.4); color: #fff; }

/* Mobile hamburger */
.nav-toggle { display: none; background: transparent; border: 1px solid var(--si-border); padding: 0; border-radius: var(--si-radius); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; width: 40px; height: 40px; gap: 4px; }
.nav-toggle-line { display: block; width: 18px; height: 2px; background: var(--si-fg); border-radius: 1px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile breakpoint */
@media (max-width: 1024px) {
	.header-inner { grid-template-columns: auto 1fr auto; }
	/* Drop the header's backdrop-filter on mobile: a filtered ancestor makes the
	   fixed nav resolve against the HEADER box (collapsing it to ~0 height)
	   instead of the viewport — that's why the menu was "hidden / not showing".
	   A solid background keeps the overlay readable. */
	.site-header, .site-header.is-scrolled { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: #fff !important; }
	/* Header + topbar sit ABOVE the menu overlay so the logo, ✕ and Free-Audit
	   stay visible + tappable; the overlay can never cover or bleed past them. */
	.site-topbar { position: relative; z-index: 1200; }
	.site-header, .site-header.is-scrolled { position: sticky; top: 0; z-index: 1200; }
	/* Full-viewport solid overlay — no top:Npx guess, so the page can NEVER show
	   through. JS sets padding-top to the real header height so items clear it. */
	.header-nav { display: none; }
	/* Overlay sits ABOVE the page header (z 1300) and brings its own pinned
	   premium header (brand + ✕), so the menu always has a visible logo + close
	   no matter the scroll position — no blank top, no page bleed. */
	.header-nav.is-open {
		display: block; position: fixed; inset: 0; background: #fff; z-index: 1300;
		overflow-y: auto; -webkit-overflow-scrolling: touch;
		padding: 0 0 calc(2rem + env(safe-area-inset-bottom, 0px));
		animation: si-nav-in .26s cubic-bezier(.22,.61,.36,1) both;
	}
	@keyframes si-nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
	.nav-overlay-head {
		display: flex; align-items: center; justify-content: space-between;
		position: sticky; top: 0; z-index: 2; background: #fff;
		padding: .85rem 1.25rem; border-bottom: 1px solid #ececef;
		box-shadow: 0 2px 14px -10px rgba(15,23,42,.25);
	}
	.nav-overlay-brand { display: inline-flex; align-items: center; }
	.nav-overlay-brand img, .nav-overlay-brand svg { height: 34px; width: auto; }
	.nav-close {
		display: inline-flex; align-items: center; justify-content: center;
		width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--si-border);
		background: #fff; color: var(--si-fg); cursor: pointer; flex: none; transition: background .15s, color .15s, transform .15s;
	}
	.nav-close:hover, .nav-close:focus-visible { background: var(--si-primary); color: #fff; border-color: var(--si-primary); transform: rotate(90deg); }
	/* menu body padding (the head is full-bleed, the list is inset) */
	.header-nav.is-open .main-menu, .header-nav.is-open .menu-mega,
	.header-nav.is-open .nav-cta-mobile { padding-left: 1.25rem; padding-right: 1.25rem; margin-top: .4rem; }
	.main-menu, .menu-mega { flex-direction: column; align-items: stretch; gap: 0; }
	.main-menu > li, .menu-mega > li { border-bottom: 1px solid #f1f1f3; }
	.main-menu > li:last-child, .menu-mega > li:last-child { border-bottom: 0; }
	.main-menu > li > a, .menu-mega > li > a { display: flex; align-items: center; padding: 1.05rem .5rem; border-radius: 0; font-size: 1.05rem; font-weight: 600; justify-content: space-between; line-height: 1.2; }
	/* Accordion: submenus are fully removed (display:none) when collapsed — no
	   stray grey bars — and render as a clean indented list only when expanded. */
	/* Smooth height accordion. Collapsed = max-height:0 + transparent (no stray
	   bar); expanded (.is-expanded) animates open. Rendered (not display:none) so
	   it animates; clipped by overflow. Desktop hover/focus-within reveal is
	   neutralised below so ONLY a tap (is-expanded) controls it on touch. */
	/* Collapsed = display:none → ZERO footprint, so every top-level row is the
	   same height and the gaps stay perfectly even. Expanded fades/slides in. */
	.main-menu .sub-menu, .menu-mega .sub-menu {
		display: none !important; position: static !important; transform: none !important;
		opacity: 1; visibility: visible; box-shadow: none !important; border: 0 !important;
		background: transparent !important; min-width: 0 !important; margin: 0; padding: 0;
	}
	.menu-mega .sub-menu.mega-grid { grid-template-columns: 1fr; gap: 0; }
	.main-menu .menu-item-has-children.is-expanded > .sub-menu,
	.menu-mega .menu-item-has-children.is-expanded > .sub-menu {
		display: block !important; margin: .1rem 0 .7rem; padding: .4rem .55rem;
		background: rgba(79,70,229,.045) !important; border-radius: 12px;
		animation: si-sub-in .26s ease;
	}
	@keyframes si-sub-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
	.main-menu .sub-menu a, .menu-mega .sub-menu a { padding: .6rem .5rem; font-size: .95rem; }
	.main-menu .menu-item-has-children > a > .caret,
	.menu-mega .menu-item-has-children > a > .caret { transition: transform .25s; font-size: .85rem; opacity: .6; }
	.main-menu .menu-item-has-children.is-expanded > a > .caret,
	.menu-mega .menu-item-has-children.is-expanded > a > .caret { transform: rotate(180deg); }
	/* Mobile CTA block inside the overlay */
	.nav-cta-mobile { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid #ececef; }
	.header-actions .btn-ghost { display: none; }
	.nav-toggle { display: flex; }
	.header-actions { gap: .5rem; }
	.header-actions .btn-cta-header { padding: .55rem .85rem; font-size: .85rem; }
}
@media (max-width: 540px) {
	.header-brand .brand-logo { height: 32px; }
	.header-actions .btn-cta-header { padding: .5rem .65rem; font-size: .8rem; }
}

/* ============ Hero ============ */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem); position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--si-primary) 12%, transparent), transparent 60%), radial-gradient(ellipse at bottom left, color-mix(in srgb, var(--si-accent) 10%, transparent), transparent 55%); z-index: -1; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; gap: 2.25rem; } }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem; background: color-mix(in srgb, var(--si-primary) 10%, transparent); color: var(--si-primary); border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 1rem; }
.hero-title { margin-bottom: 1rem; }
.hero-title .gradient { background: linear-gradient(135deg, var(--si-primary), var(--si-accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { color: var(--si-fg-muted); font-size: var(--si-step-1); margin-bottom: 1.75rem; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; color: var(--si-fg-subtle); font-size: .9rem; }
.hero-trust .check { color: var(--si-success); font-weight: 700; }
.hero-visual { position: relative; }
.hero-card { background: var(--si-bg-elev); border: 1px solid var(--si-border); border-radius: var(--si-radius-2xl); padding: 1.5rem; box-shadow: var(--si-shadow-lg); }

/* ============ Cards ============ */
.card { background: var(--si-bg-elev); border: 1px solid var(--si-border); border-radius: var(--si-radius-lg); padding: 1.5rem; transition: all var(--si-transition); }
.card:hover { box-shadow: var(--si-shadow); transform: translateY(-2px); border-color: var(--si-primary-light); }
.card.is-flat { box-shadow: none; }
.card-icon { width: 48px; height: 48px; border-radius: var(--si-radius); background: color-mix(in srgb, var(--si-primary) 12%, transparent); color: var(--si-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.card-title { font-size: var(--si-step-1); margin-bottom: .5rem; }
.card-desc { color: var(--si-fg-muted); font-size: .95rem; margin-bottom: 1rem; }
.card-meta { font-size: .85rem; color: var(--si-fg-subtle); }

/* ============ Badges ============ */
.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; background: var(--si-bg-alt); color: var(--si-fg-muted); border: 1px solid var(--si-border); }
.badge.is-primary { background: color-mix(in srgb, var(--si-primary) 12%, transparent); color: var(--si-primary); border-color: transparent; }
.badge.is-success { background: color-mix(in srgb, var(--si-success) 14%, transparent); color: var(--si-success); border-color: transparent; }
.badge.is-warning { background: color-mix(in srgb, var(--si-warning) 14%, transparent); color: var(--si-warning); border-color: transparent; }
.badge.is-danger { background: color-mix(in srgb, var(--si-danger) 14%, transparent); color: var(--si-danger); border-color: transparent; }

/* ============ Forms ============ */
.field { margin-bottom: 1rem; }
.field-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--si-fg); }
.field-input, .field-textarea, .field-select { width: 100%; padding: .65rem .85rem; border: 1px solid var(--si-border-strong); border-radius: var(--si-radius); background: var(--si-bg); color: var(--si-fg); font: inherit; transition: border-color var(--si-transition); }
.field-input:focus, .field-textarea:focus, .field-select:focus { border-color: var(--si-primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--si-primary) 16%, transparent); }
.field-help { font-size: .85rem; color: var(--si-fg-subtle); margin-top: .35rem; }
.field-error { color: var(--si-danger); font-size: .85rem; margin-top: .35rem; }

/* ============ Pricing ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1080px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card { background: var(--si-bg-elev); border: 1px solid var(--si-border); border-radius: var(--si-radius-xl); padding: 1.75rem; transition: all var(--si-transition); position: relative; display: flex; flex-direction: column; }
.pricing-card.is-popular { border-color: var(--si-primary); border-width: 2px; transform: scale(1.02); box-shadow: var(--si-shadow); }
.pricing-card.is-popular::before { content: 'Most popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--si-primary); color: #fff; font-size: .75rem; font-weight: 600; padding: .3rem .85rem; border-radius: 999px; }
.pricing-name { font-size: var(--si-step-1); font-weight: 700; margin-bottom: .35rem; }
.pricing-price { font-size: var(--si-step-4); font-weight: 800; line-height: 1; margin: .5rem 0; }
.pricing-price small { font-size: .9rem; color: var(--si-fg-muted); font-weight: 500; }
.pricing-desc { color: var(--si-fg-muted); font-size: .9rem; margin-bottom: 1rem; min-height: 2.6em; }
.pricing-features { list-style: none; padding: 0; margin: 1rem 0 1.5rem; flex: 1; }
.pricing-features li { padding: .4rem 0; padding-left: 1.5rem; position: relative; font-size: .9rem; color: var(--si-fg); }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--si-success); font-weight: 700; }

/* ============ Stats ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1.25rem; }
.stat-value { font-size: var(--si-step-4); font-weight: 800; color: var(--si-primary); line-height: 1; margin-bottom: .35rem; letter-spacing: -.02em; }
.stat-label { color: var(--si-fg-muted); font-size: .9rem; font-weight: 500; }

/* ============ Footer ============ */
.site-footer { background: #0b1220; color: #cbd5e1; padding: 4rem 0 2rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand h3 { color: #fff; }
.footer-brand p { color: #94a3b8; }
.footer-widget-title, .site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .65rem; font-size: .9rem; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: #94a3b8; }

/* ============ Article / Blog ============ */
.article-header { text-align: center; margin-bottom: 2.5rem; }
.article-meta { display: flex; gap: 1rem; justify-content: center; color: var(--si-fg-subtle); font-size: .9rem; flex-wrap: wrap; }
.article-content { max-width: 760px; margin: 0 auto; }
.article-content h2 { margin-top: 2.5rem; }
.article-content h3 { margin-top: 2rem; }
.article-content img { border-radius: var(--si-radius-lg); margin: 1.5rem 0; }
.article-content figcaption { font-size: .85rem; color: var(--si-fg-subtle); text-align: center; margin-top: .5rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.tag-pill { font-size: .8rem; padding: .25rem .75rem; border-radius: 999px; background: var(--si-bg-alt); border: 1px solid var(--si-border); color: var(--si-fg-muted); }
.tag-pill:hover { background: color-mix(in srgb, var(--si-primary) 8%, transparent); color: var(--si-primary); border-color: var(--si-primary); }

.author-bio { display: flex; gap: 1rem; padding: 1.5rem; background: var(--si-bg-alt); border-radius: var(--si-radius-lg); margin: 2.5rem 0; }
.author-avatar { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }
.author-info h4 { margin: 0 0 .25rem; font-size: 1.05rem; }
.author-info p { margin: 0; font-size: .9rem; color: var(--si-fg-muted); }

/* ============ Breadcrumbs ============ */
.breadcrumbs { font-size: .85rem; color: var(--si-fg-subtle); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--si-fg-muted); }
.breadcrumbs .sep { margin: 0 .35rem; color: var(--si-fg-subtle); }

/* ============ FAQ Accordion ============ */
.faq-item { border-bottom: 1px solid var(--si-border); padding: 1.25rem 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; color: var(--si-fg); list-style: none; gap: 1rem; padding: .25rem 0; }
.faq-question::-webkit-details-marker { display: none; }
/* Open/close indicator is the EP-6.1 chevron (see `.faq-question::after` near the
   end of this file). The legacy +/− glyph rules were removed to avoid a
   double-rendered marker (a "−" sitting on top of the rotated chevron). */
.faq-answer { padding: .75rem 0 .25rem; color: var(--si-fg-muted); }

/* ============ Testimonials ============ */
.testimonial { background: var(--si-bg-elev); border: 1px solid var(--si-border); border-radius: var(--si-radius-lg); padding: 1.75rem; }
.testimonial-quote { font-size: 1.02rem; color: var(--si-fg); margin-bottom: 1.25rem; font-style: italic; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: .85rem; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; }
.testimonial-author-name { font-weight: 600; color: var(--si-fg); }
.testimonial-author-title { color: var(--si-fg-subtle); font-size: .85rem; }
.testimonial-rating { color: var(--si-warning); margin-bottom: .5rem; }

/* ============ Tools UI ============ */
.tool-shell { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; }
@media (max-width: 960px) { .tool-shell { grid-template-columns: 1fr; } }
.tool-sidebar { background: var(--si-bg-alt); border-radius: var(--si-radius-lg); padding: 1.25rem; }
.tool-sidebar h4 { font-size: 1rem; margin-bottom: .75rem; }
.tool-sidebar ul { list-style: none; padding: 0; margin: 0; }
.tool-sidebar li { margin-bottom: .35rem; }
.tool-sidebar a { display: block; padding: .5rem .65rem; border-radius: var(--si-radius); font-size: .9rem; color: var(--si-fg-muted); }
.tool-sidebar a:hover, .tool-sidebar a.is-active { background: var(--si-bg); color: var(--si-primary); }

.tool-main { background: var(--si-bg-elev); border: 1px solid var(--si-border); border-radius: var(--si-radius-lg); padding: 2rem; }
.tool-result { margin-top: 2rem; padding: 1.5rem; border: 1px solid var(--si-border); border-radius: var(--si-radius); background: var(--si-bg-alt); }
.tool-result h3 { margin-top: 0; }
.tool-loading { display: flex; align-items: center; gap: .75rem; color: var(--si-fg-muted); padding: 1rem; }
.tool-loading::before { content: ''; width: 1.25rem; height: 1.25rem; border: 2px solid var(--si-border); border-top-color: var(--si-primary); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.score-circle { width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--si-success) 0deg var(--score, 360deg), var(--si-border) 0deg 360deg); display: inline-flex; align-items: center; justify-content: center; position: relative; }
.score-circle::after { content: ''; position: absolute; inset: 6px; background: var(--si-bg); border-radius: 50%; }
.score-circle-value { position: relative; z-index: 1; font-size: 1.5rem; font-weight: 800; color: var(--si-fg); }

.upgrade-banner { background: linear-gradient(135deg, var(--si-primary), var(--si-accent)); color: #fff; border-radius: var(--si-radius-lg); padding: 1.5rem; margin: 2rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.upgrade-banner h4 { color: #fff; margin: 0 0 .25rem; }
.upgrade-banner p { color: rgba(255,255,255,.85); margin: 0; }
.upgrade-banner .btn { background: #fff; color: var(--si-primary); border: 0; }

/* ============ Aria Chat ============ */
.aria-bubble { position: fixed; bottom: max(20px, env(safe-area-inset-bottom, 20px)); right: max(20px, env(safe-area-inset-right, 20px)); width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--si-primary), var(--si-accent)); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(79,70,229,.35); cursor: pointer; border: 0; z-index: 100; transition: transform .2s, opacity .35s ease-out; }
.aria-bubble.is-hidden-init { opacity: 0; transform: scale(.6); pointer-events: none; }
.aria-bubble.is-fading-in { animation: aria-fade-in .45s ease-out both; }
@keyframes aria-fade-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
.aria-bubble:hover { transform: scale(1.05); }
.aria-bubble svg { width: 26px; height: 26px; }
.aria-bubble .aria-dot { position: absolute; top: 8px; right: 8px; width: 12px; height: 12px; background: #10b981; border: 2px solid #fff; border-radius: 50%; }

.aria-panel { position: fixed; bottom: 24px; right: 24px; width: min(420px, calc(100vw - 32px)); height: min(640px, calc(100vh - 48px)); background: var(--si-bg-elev); border: 1px solid var(--si-border); border-radius: var(--si-radius-xl); box-shadow: 0 20px 60px rgba(15,23,42,.18), 0 4px 12px rgba(15,23,42,.08); display: none; flex-direction: column; overflow: hidden; z-index: 101; }
.aria-panel.is-open { display: flex; animation: aria-slide-up .22s cubic-bezier(.4,0,.2,1); }
@keyframes aria-slide-up { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.aria-header { padding: .85rem 1rem; background: linear-gradient(135deg, var(--si-primary), var(--si-accent)); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.aria-header-id { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.aria-avatar { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.aria-avatar svg { width: 20px; height: 20px; color: #fff; }
.aria-header-text { min-width: 0; }
.aria-header h4 { color: #fff; margin: 0; font-size: 1rem; font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.aria-online-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; box-shadow: 0 0 0 2px rgba(16,185,129,.3); animation: aria-pulse-dot 2s infinite; }
@keyframes aria-pulse-dot { 0%,100% { box-shadow: 0 0 0 2px rgba(16,185,129,.3); } 50% { box-shadow: 0 0 0 5px rgba(16,185,129,0); } }
.aria-header p { color: rgba(255,255,255,.82); margin: 0; font-size: .76rem; }
.aria-header-actions { display: inline-flex; align-items: center; gap: .25rem; }
.aria-header-btn { width: 32px; height: 32px; background: rgba(255,255,255,.12); border: 0; color: #fff; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: background .15s, transform .15s; }
.aria-header-btn:hover { background: rgba(255,255,255,.24); transform: translateY(-1px); }
.aria-header-btn:active { transform: translateY(0); }
.aria-header-btn-close:hover { background: rgba(239,68,68,.85); }
.aria-foot { padding: .55rem .85rem .65rem; border-top: 1px solid var(--si-border); font-size: .68rem; color: var(--si-fg-subtle); text-align: center; background: var(--si-bg); }
.aria-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .65rem; scroll-behavior: smooth; }
.aria-messages::-webkit-scrollbar { width: 6px; }
.aria-messages::-webkit-scrollbar-thumb { background: var(--si-border); border-radius: 3px; }
.aria-msg { padding: .7rem .95rem; border-radius: 14px; max-width: 88%; font-size: .9rem; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word; }
.aria-msg.is-user { background: linear-gradient(135deg, var(--si-primary), var(--si-accent)); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.aria-msg.is-bot { background: var(--si-bg-alt); color: var(--si-fg); align-self: flex-start; border-bottom-left-radius: 4px; }
.aria-msg strong { font-weight: 700; }
.aria-input { display: flex; padding: .65rem .75rem; border-top: 1px solid var(--si-border); gap: .5rem; background: var(--si-bg-elev); }
.aria-input input { flex: 1; padding: .65rem .9rem; border: 1px solid var(--si-border); border-radius: 999px; font: inherit; background: var(--si-bg); transition: border-color .15s, box-shadow .15s; }
.aria-input input:focus { outline: none; border-color: var(--si-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--si-primary) 16%, transparent); }
.aria-input button { width: 40px; height: 40px; padding: 0; background: linear-gradient(135deg, var(--si-primary), var(--si-accent)); color: #fff; border: 0; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: transform .15s, box-shadow .15s; }
.aria-input button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(79,70,229,.4); }
.aria-input button:active { transform: translateY(0); }
.aria-typing { display: flex; gap: 4px; padding: .85rem !important; }
.aria-typing .aria-dot { width: 8px; height: 8px; background: var(--si-fg-subtle); border-radius: 50%; animation: aria-bounce 1.4s infinite ease-in-out both; }
.aria-typing .aria-dot:nth-child(2) { animation-delay: .16s; }
.aria-typing .aria-dot:nth-child(3) { animation-delay: .32s; }
@keyframes aria-bounce { 0%, 80%, 100% { transform: scale(.6); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
.aria-action-btn { display: inline-block; background: linear-gradient(135deg, var(--si-primary), var(--si-accent)); color: #fff !important; padding: .5rem .85rem; border-radius: var(--si-radius); font-size: .85rem; font-weight: 600; text-decoration: none; }
.aria-action-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(79,70,229,.3); }
.aria-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.aria-chip { background: var(--si-bg); border: 1px solid var(--si-border); color: var(--si-fg-muted); padding: 4px 10px; border-radius: 999px; font-size: 12px; cursor: pointer; transition: all .2s; }
.aria-chip:hover { background: color-mix(in srgb, var(--si-primary) 10%, transparent); border-color: var(--si-primary); color: var(--si-primary); }

/* Starter chips — shown the moment Aria opens, before the user types */
.aria-starter-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 4px; }
.aria-starter-chip { background: var(--si-bg); border: 1px solid var(--si-border); color: var(--si-fg); padding: .65rem .7rem; border-radius: var(--si-radius); font-size: .82rem; cursor: pointer; transition: all .15s; display: flex; align-items: center; gap: .45rem; text-align: left; line-height: 1.2; }
.aria-starter-chip:hover { background: color-mix(in srgb, var(--si-primary) 10%, transparent); border-color: var(--si-primary); color: var(--si-primary); transform: translateY(-1px); }
.aria-starter-chip .chip-ico { font-size: 1.05rem; flex-shrink: 0; }

/* Inline intent forms inside chat */
.aria-intent-card { background: var(--si-bg); border: 1px solid var(--si-border); border-radius: var(--si-radius); padding: .85rem; margin-top: .5rem; }
.aria-intent-card h5 { margin: 0 0 .35rem; font-size: .95rem; }
.aria-intent-intro { font-size: .8rem; color: var(--si-fg-muted); margin: 0 0 .8rem; line-height: 1.4; }
.aria-intent-form { display: flex; flex-direction: column; gap: .5rem; }
.aria-intent-form label { font-size: .75rem; font-weight: 600; color: var(--si-fg-muted); margin-bottom: -.2rem; }
.aria-intent-form input, .aria-intent-form select, .aria-intent-form textarea { padding: .5rem .65rem; border: 1px solid var(--si-border); border-radius: 6px; font-size: .85rem; background: var(--si-bg-elev); width: 100%; box-sizing: border-box; font-family: inherit; }
.aria-intent-form input:focus, .aria-intent-form select:focus, .aria-intent-form textarea:focus { outline: none; border-color: var(--si-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--si-primary) 18%, transparent); }
.aria-intent-submit { background: linear-gradient(135deg, var(--si-primary), var(--si-accent)); color: #fff; border: 0; padding: .65rem; border-radius: 6px; font-weight: 600; font-size: .85rem; cursor: pointer; margin-top: .35rem; transition: opacity .15s, transform .15s; }
.aria-intent-submit:hover:not(:disabled) { transform: translateY(-1px); }
.aria-intent-submit:disabled { opacity: .55; cursor: not-allowed; }
.aria-success { font-size: .88rem; line-height: 1.5; color: var(--si-fg); padding: .25rem 0 .65rem; }

/* Aria bubble pulse — draws attention 8 s after page load */
@keyframes aria-pulse { 0%,100% { box-shadow: 0 8px 24px rgba(79,70,229,.35), 0 0 0 0 rgba(79,70,229,.45); } 50% { box-shadow: 0 8px 24px rgba(79,70,229,.35), 0 0 0 12px rgba(79,70,229,0); } }
.aria-bubble.is-pulsing { animation: aria-pulse 1.8s ease-in-out 4; }

/* ============ Phone input with country dropdown ============ */
.phone-input-group { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: .5rem; }
@media (max-width: 480px) { .phone-input-group { grid-template-columns: 1fr; } }
.phone-input-group .phone-dial { padding: .55rem .65rem; border: 1px solid var(--si-border); border-radius: var(--si-radius); background: var(--si-bg); font: inherit; min-width: 0; }
.phone-input-group .phone-dial:focus { outline: none; border-color: var(--si-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--si-primary) 16%, transparent); }
.phone-input-group .phone-number { padding: .55rem .8rem; }

/* ============ Checkout billing-period toggle (inside checkout page) ============ */
.checkout-billing-toggle { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; background: linear-gradient(135deg, color-mix(in srgb, var(--si-primary) 7%, var(--si-bg-elev)), var(--si-bg-elev)); border: 1px solid var(--si-border); border-radius: var(--si-radius-xl); margin-bottom: 1.25rem; }
.checkout-billing-toggle-track { display: inline-flex; background: var(--si-bg); border: 1px solid var(--si-border); border-radius: 999px; padding: 3px; position: relative; }
.checkout-billing-toggle-opt { padding: .4rem .85rem; font-size: .82rem; font-weight: 600; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; color: var(--si-fg-muted); }
.checkout-billing-toggle-opt.is-active { background: var(--si-primary); color: #fff; }
.checkout-billing-saving { font-size: .82rem; color: var(--si-fg-muted); line-height: 1.4; }
.checkout-billing-saving strong { color: var(--si-success); }

/* ============ Cookie consent — small bottom-LEFT box ============ */
/* Bubble lives bottom-RIGHT (Aria). Cookie box lives bottom-LEFT — never collides. */
.si-cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 199; width: 320px; max-width: calc(100vw - 32px); background: var(--si-bg-elev); border: 1px solid var(--si-border); border-radius: var(--si-radius-xl); box-shadow: 0 16px 48px rgba(15,23,42,.16), 0 2px 8px rgba(15,23,42,.06); padding: .9rem 1rem 1rem; animation: si-cookie-slide-in .35s cubic-bezier(.4,0,.2,1); }
@keyframes si-cookie-slide-in { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 380px) { .si-cookie-banner { left: 10px; right: 10px; bottom: 10px; width: auto; } }

.si-cookie-x { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; background: transparent; border: 0; color: var(--si-fg-muted); cursor: pointer; padding: 0; font-size: 1rem; line-height: 1; border-radius: 50%; transition: background .15s; }
.si-cookie-x:hover { background: var(--si-bg); color: var(--si-fg); }

.si-cookie-title { display: block; font-size: .9rem; color: var(--si-fg); margin: 0 0 .35rem; padding-right: 22px; }
.si-cookie-desc { font-size: .76rem; color: var(--si-fg-muted); margin: 0 0 .65rem; line-height: 1.45; }

.si-cookie-checks { display: flex; flex-direction: column; gap: .25rem; margin: 0 0 .65rem; padding: .55rem .65rem; background: var(--si-bg); border-radius: var(--si-radius); }
.si-cookie-check { display: flex; align-items: center; gap: .45rem; font-size: .78rem; color: var(--si-fg); cursor: pointer; padding: .15rem 0; }
.si-cookie-check input { margin: 0; }
.si-cookie-check em { color: var(--si-fg-subtle); font-style: normal; font-size: .72rem; }
.si-cookie-check input:disabled + span { color: var(--si-fg-muted); }

.si-cookie-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.si-cookie-link { font-size: .72rem; color: var(--si-fg-muted); text-decoration: underline; }
.si-cookie-link:hover { color: var(--si-fg); }
.si-cookie-row .btn { padding: .4rem .85rem; font-size: .8rem; }

/* ============ Footer newsletter ============ */
.footer-newsletter { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; padding: 1.5rem 0; margin-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); align-items: start; }
@media (max-width: 720px) { .footer-newsletter { grid-template-columns: 1fr; gap: 1rem; } }
.footer-newsletter h4 { color: #fff; font-size: 1.05rem; margin: 0 0 .35rem; }
.footer-newsletter p { color: #94a3b8; font-size: .85rem; line-height: 1.5; margin: 0; max-width: 380px; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: .5rem; align-items: stretch; }
.newsletter-form input { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; padding: .6rem .85rem; border-radius: var(--si-radius); font: inherit; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { outline: none; border-color: var(--si-accent); background: rgba(255,255,255,.12); }
.newsletter-form button { white-space: nowrap; }
.newsletter-consent { grid-column: 1 / -1; font-size: .7rem; color: #94a3b8; margin-top: .25rem; line-height: 1.45; }
.newsletter-consent a { color: #cbd5e1; text-decoration: underline; }
.newsletter-status { grid-column: 1 / -1; padding: .55rem .75rem; background: rgba(16,185,129,.16); color: #6ee7b7; border-radius: var(--si-radius); font-size: .82rem; margin: .35rem 0 0; }
/* .sr-only is defined once in the Utilities section (search "sr-only") with !important. */

/* ============ Contact page ============ */
.contact-grid { gap: 3rem; align-items: start; }
.contact-channels { display: flex; flex-direction: column; gap: .75rem; max-width: 360px; }
.contact-channel { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; background: var(--si-bg-elev); border: 1px solid var(--si-border); border-radius: var(--si-radius); text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.contact-channel:hover { border-color: var(--si-primary); transform: translateY(-1px); }
.contact-channel-ico { font-size: 1.5rem; flex-shrink: 0; }
.contact-channel-text { display: flex; flex-direction: column; }
.contact-channel-text strong { font-size: .9rem; color: var(--si-fg); }
.contact-channel-text span { font-size: .85rem; color: var(--si-fg-muted); }
.contact-trust { background: var(--si-bg-elev); border: 1px solid var(--si-border); border-radius: var(--si-radius); padding: 1.25rem 1.5rem; }
.contact-trust h3 { font-size: 1.05rem; margin: 0 0 .75rem; }
.contact-steps { padding-left: 1.2rem; margin: 0; font-size: .92rem; line-height: 1.55; }
.contact-steps li { margin-bottom: .5rem; }
.contact-trust-note { font-size: .82rem; color: var(--si-fg-muted); margin: .75rem 0 0; line-height: 1.5; }
.contact-form-wrap { background: var(--si-bg-elev); border: 1px solid var(--si-border); border-radius: var(--si-radius-xl); padding: 1.75rem; box-shadow: 0 12px 32px rgba(15,23,42,.06); }
.contact-form-title { margin: 0 0 .35rem; font-size: 1.3rem; }
.contact-form-sub { font-size: .85rem; color: var(--si-fg-muted); margin: 0 0 1.25rem; }
.si-contact-form .field { margin-bottom: 1rem; }
.si-contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 540px) { .si-contact-form .field-row { grid-template-columns: 1fr; } }
.si-contact-form .field-label { display: block; font-size: .82rem; font-weight: 600; color: var(--si-fg); margin-bottom: .35rem; }
.si-contact-form .field-input, .si-contact-form .field-textarea { width: 100%; padding: .6rem .8rem; border: 1px solid var(--si-border); border-radius: var(--si-radius); font: inherit; background: var(--si-bg); transition: border-color .15s, box-shadow .15s; box-sizing: border-box; }
.si-contact-form .field-input:focus, .si-contact-form .field-textarea:focus { outline: none; border-color: var(--si-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--si-primary) 16%, transparent); }
.si-contact-form .field-textarea { resize: vertical; min-height: 90px; }
.si-contact-form .field-help { font-size: .78rem; color: var(--si-fg-muted); margin: .35rem 0 0; line-height: 1.45; }
.si-contact-form .field-otp { display: flex; gap: .5rem; }
.si-contact-form .field-otp .field-input { flex: 1; }
.si-contact-form .field-otp .btn { white-space: nowrap; padding: .45rem .85rem; }
.si-contact-form .field-checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .85rem; }
@media (max-width: 540px) { .si-contact-form .field-checkbox-grid { grid-template-columns: 1fr; } }
.si-contact-form .field-checkbox { display: flex; align-items: flex-start; gap: .55rem; font-size: .87rem; color: var(--si-fg); line-height: 1.4; cursor: pointer; padding: .35rem 0; }
.si-contact-form .field-checkbox input { margin-top: .15rem; flex-shrink: 0; }
.si-contact-form .field-consent { padding: .75rem; background: color-mix(in srgb, var(--si-primary) 5%, transparent); border-radius: var(--si-radius); border: 1px solid color-mix(in srgb, var(--si-primary) 18%, transparent); }
.si-contact-form .field-consent .field-checkbox { font-size: .82rem; color: var(--si-fg-muted); }
.si-contact-form .field-consent a { color: var(--si-primary); }
.si-contact-form button[type="submit"][disabled] { opacity: .55; cursor: not-allowed; }
.cf-submit-spinner { display: inline-block; animation: cf-spin 1s linear infinite; }
@keyframes cf-spin { to { transform: rotate(360deg); } }
.cf-success { padding: 1.5rem; text-align: center; background: color-mix(in srgb, var(--si-success) 10%, transparent); border-radius: var(--si-radius); }
.cf-success-ico { width: 48px; height: 48px; margin: 0 auto .5rem; background: var(--si-success); color: #fff; font-size: 1.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.cf-error { padding: .65rem .85rem; background: color-mix(in srgb, #ef4444 12%, transparent); color: #b91c1c; border-radius: var(--si-radius); margin-top: .85rem; font-size: .88rem; }

/* ============ Exit-intent popup ============ */
.si-exit-popup { position: fixed; inset: 0; z-index: 9990; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.si-exit-popup[hidden] { display: none; }
.si-exit-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.52); backdrop-filter: blur(4px); cursor: pointer; }
.si-exit-box { position: relative; background: #fff; border-radius: 1.25rem; padding: 2rem; max-width: 480px; width: 100%; max-height: calc(100dvh - 2rem); overflow-y: auto; -webkit-overflow-scrolling: touch; box-shadow: 0 24px 64px rgba(15,23,42,.2); animation: siExitIn .28s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes siExitIn { from { transform: scale(.9) translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.si-exit-close { position: absolute; top: .75rem; right: .75rem; background: #f1f5f9; border: none; cursor: pointer; font-size: 1rem; color: #475569; line-height: 1; padding: .3rem .6rem; border-radius: .375rem; transition: background .15s; }
.si-exit-close:hover { background: #e2e8f0; }
.si-exit-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--si-primary, #4f46e5); margin: 0 0 .5rem; }
.si-exit-box h3 { margin: 0 0 .7rem; font-size: 1.35rem; line-height: 1.25; color: #0f172a; }
.si-exit-sub { color: #475569; margin: 0 0 1.25rem; font-size: .95rem; line-height: 1.5; }
.si-exit-fields { display: flex; flex-direction: column; gap: .55rem; }
.si-exit-fields input { padding: .65rem .9rem; border: 1.5px solid #e2e8f0; border-radius: .5rem; font-size: .95rem; font-family: inherit; width: 100%; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.si-exit-fields input:focus { outline: none; border-color: var(--si-primary, #4f46e5); box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
.si-exit-submit { width: 100%; justify-content: center; min-height: 48px; font-size: .95rem; }
.si-exit-btn-spinner { display: inline-block; width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .65s linear infinite; vertical-align: middle; margin-left: .5rem; }
.si-exit-disclaimer { font-size: .78rem; color: #94a3b8; text-align: center; margin: .55rem 0 0; }
.si-exit-social { border-top: 1px solid #f1f5f9; margin-top: 1.25rem; padding-top: .75rem; font-size: .8rem; color: #64748b; text-align: center; }
.si-exit-success { text-align: center; padding: 1rem 0 .5rem; }
.si-exit-success-ico { font-size: 2.2rem; color: #22c55e; margin: 0 0 .5rem; }
.si-exit-success h4 { margin: 0 0 .5rem; font-size: 1.15rem; color: #0f172a; }
.si-exit-success p { color: #475569; font-size: .95rem; line-height: 1.5; }
@media (max-width: 480px) { .si-exit-box { padding: 1.5rem; border-radius: 1rem; } .si-exit-box h3 { font-size: 1.15rem; } }

/* ── Responsive hardening (mobile fit: Aria, exit popup, topbar) ───────── */
@media (max-width: 480px) {
	/* Slightly smaller launcher so it never crowds the edge on small phones. */
	.aria-bubble { width: 54px; height: 54px; }
	.aria-bubble svg { width: 24px; height: 24px; }
	/* Chat opens as a full-width bottom sheet — always fully on-screen. */
	.aria-panel { top: auto; bottom: 0; right: 0; left: 0; width: 100%; height: min(82dvh, 620px); border-radius: var(--si-radius-xl) var(--si-radius-xl) 0 0; }
}
/* Short viewports (landscape phones, small laptops): compact the exit popup
   so the whole card is visible at a glance without scrolling. */
@media (max-height: 720px) {
	.si-exit-box { padding: 1.4rem 1.6rem; }
	.si-exit-box h3 { font-size: 1.2rem; margin-bottom: .5rem; }
	.si-exit-sub { margin-bottom: .9rem; }
	.si-exit-social { display: none; }
}
/* Let the promo topbar wrap instead of overflowing on narrow phones. */
@media (max-width: 640px) {
	.site-topbar .container { flex-wrap: wrap; text-align: center; gap: .15rem .5rem; }
}

/* ============ Dashboard ============ */
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 72px); }
@media (max-width: 960px) { .dashboard-layout { grid-template-columns: 1fr; } }
.dashboard-sidebar { background: var(--si-bg-alt); border-right: 1px solid var(--si-border); padding: 1.5rem 1rem; }
.dashboard-sidebar h4 { font-size: .75rem; color: var(--si-fg-subtle); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; padding: 0 .5rem; }
.dashboard-sidebar ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.dashboard-sidebar li { margin-bottom: .15rem; }
.dashboard-sidebar a { display: flex; align-items: center; gap: .65rem; padding: .55rem .75rem; border-radius: var(--si-radius); color: var(--si-fg-muted); font-size: .9rem; }
.dashboard-sidebar a:hover, .dashboard-sidebar a.is-active { background: var(--si-bg); color: var(--si-primary); font-weight: 600; }
.dashboard-main { padding: 2rem; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.dashboard-title { margin: 0; }
.stat-card { background: var(--si-bg-elev); border: 1px solid var(--si-border); border-radius: var(--si-radius-lg); padding: 1.25rem; }
.stat-card .label { color: var(--si-fg-subtle); font-size: .85rem; margin-bottom: .35rem; }
.stat-card .value { font-size: var(--si-step-3); font-weight: 800; color: var(--si-fg); line-height: 1; }
.stat-card .change { font-size: .8rem; margin-top: .35rem; }
.stat-card .change.is-up { color: var(--si-success); }
.stat-card .change.is-down { color: var(--si-danger); }

/* ============ Mega-menu (default nav fallback) ============ */
.menu-mega .caret { font-size: .7rem; margin-left: .15rem; opacity: .7; transition: transform .2s; display: inline-block; }
.menu-mega .menu-item-has-children:hover > a > .caret { transform: rotate(180deg); }
.menu-mega .has-mega > .sub-menu { min-width: 540px; padding: 1rem; }
.menu-mega .sub-menu.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .15rem; }
.menu-mega .sub-menu.mega-grid li a { display: flex; align-items: center; gap: .55rem; padding: .55rem .75rem; border-radius: var(--si-radius); }
.menu-mega .sub-menu .m-ico { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--si-bg-alt); border-radius: var(--si-radius-sm); font-size: .95rem; flex-shrink: 0; }
.menu-mega .sub-menu.mega-grid li:hover .m-ico { background: color-mix(in srgb, var(--si-primary) 14%, transparent); }
.menu-mega .mega-cta { grid-column: 1 / -1; margin-top: .5rem; padding-top: .75rem; border-top: 1px solid var(--si-border); text-align: right; }
.menu-mega .mega-cta a { color: var(--si-primary); font-weight: 600; font-size: .85rem; padding: .35rem 0 !important; }
@media (max-width: 960px) {
	.menu-mega .has-mega > .sub-menu { min-width: 0; max-width: 100%; }
	.menu-mega .sub-menu.mega-grid { grid-template-columns: 1fr; }
}

/* ============ Tool Form Pro UI ============ */
.tool-form-wrap { background: var(--si-bg-elev); border: 1px solid var(--si-border); border-radius: var(--si-radius-xl); padding: 2rem; box-shadow: var(--si-shadow); }
.tool-form .field { margin-bottom: 1.25rem; }
.tool-form .field-label { font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--si-fg); display: block; }
.tool-form .field-input, .tool-form .field-textarea, .tool-form .field-select { width: 100%; padding: .85rem 1rem; border: 2px solid var(--si-border); border-radius: var(--si-radius); background: var(--si-bg); color: var(--si-fg); font: inherit; transition: border-color var(--si-transition), box-shadow var(--si-transition); }
.tool-form .field-input:focus, .tool-form .field-textarea:focus, .tool-form .field-select:focus { outline: none; border-color: var(--si-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--si-primary) 15%, transparent); }
.tool-form .field-input:disabled, .tool-form .field-textarea:disabled, .tool-form .field-select:disabled { opacity: .5; cursor: not-allowed; }
.tool-submit { width: 100%; justify-content: center; padding: 1rem 1.5rem; font-size: 1rem; position: relative; }
.tool-submit:disabled { opacity: .85; cursor: progress; }
.tool-submit .btn-spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: si-spin .8s linear infinite; }
@keyframes si-spin { to { transform: rotate(360deg); } }

.tool-notice { padding: 1rem 1.25rem; border-radius: var(--si-radius); margin-bottom: 1.25rem; font-size: .9rem; }
.tool-notice-warn { background: color-mix(in srgb, var(--si-warning) 15%, transparent); border-left: 4px solid var(--si-warning); color: #92400e; }
.tool-notice-warn a { color: #92400e; font-weight: 600; text-decoration: underline; }

.tool-result { margin-top: 1.5rem; }
.tool-result:empty { display: none; }

.tool-loading-pro { display: flex; align-items: center; gap: 1.25rem; padding: 2rem; background: linear-gradient(135deg, color-mix(in srgb, var(--si-primary) 5%, var(--si-bg-alt)), var(--si-bg-alt)); border-radius: var(--si-radius-lg); border: 1px solid var(--si-border); }
.tool-loading-spinner { width: 48px; height: 48px; border: 4px solid var(--si-border); border-top-color: var(--si-primary); border-radius: 50%; animation: si-spin 1s linear infinite; flex-shrink: 0; }
.tool-loading-text strong { display: block; font-size: 1.1rem; margin-bottom: .25rem; }
.tool-loading-text span { font-size: .9rem; color: var(--si-fg-muted); }

.tool-error { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; background: color-mix(in srgb, var(--si-danger) 8%, var(--si-bg)); border: 1px solid color-mix(in srgb, var(--si-danger) 25%, transparent); border-radius: var(--si-radius-lg); }
.tool-error-icon { font-size: 1.75rem; flex-shrink: 0; }
.tool-error strong { display: block; color: var(--si-danger); margin-bottom: .25rem; }
.tool-error p { margin: 0; color: var(--si-fg-muted); font-size: .9rem; }

.tool-success-bar { display: inline-flex; align-items: center; gap: .5rem; background: color-mix(in srgb, var(--si-success) 14%, transparent); color: #065f46; padding: .5rem .85rem; border-radius: 999px; font-size: .85rem; margin-bottom: 1rem; }

.tool-empty { text-align: center; padding: 2rem; color: var(--si-fg-muted); }

/* ============ Utilities ============ */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}.mt-5{margin-top:2.5rem}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}.mb-5{margin-bottom:2.5rem}
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; } .justify-center { justify-content: center; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Print */
/* ── Sticky scroll-CTA bar (slim, dismissible, context-aware) ─────────── */
.si-cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex; align-items: center; gap: 1rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px)); background: linear-gradient(135deg, var(--si-primary,#4f46e5), var(--si-accent,#7c3aed)); color: #fff; box-shadow: 0 -6px 24px rgba(15,23,42,.16); transform: translateY(110%); transition: transform .4s cubic-bezier(.4,0,.2,1); }
.si-cta-bar.is-on { transform: translateY(0); }
.si-cta-bar[hidden] { display: none; }
.si-cta-bar-text { margin: 0; font-weight: 600; font-size: .95rem; flex: 1; line-height: 1.35; }
.si-cta-bar-btn { background: #fff; color: var(--si-primary,#4f46e5); font-weight: 700; padding: .6rem 1.1rem; border-radius: .55rem; white-space: nowrap; text-decoration: none; transition: transform .12s, box-shadow .15s; }
.si-cta-bar-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.18); color: var(--si-primary,#4f46e5); }
.si-cta-bar-x { background: rgba(255,255,255,.18); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: .85rem; flex-shrink: 0; line-height: 1; }
.si-cta-bar-x:hover { background: rgba(255,255,255,.32); }
/* Float Soul above the bar so they never collide. */
body.si-cta-on .aria-bubble { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 600px) {
	.si-cta-bar { gap: .55rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom, 0px)); }
	.si-cta-bar-text { font-size: .8rem; }
	.si-cta-bar-btn { padding: .5rem .75rem; font-size: .82rem; }
}

@media print {
	.site-header, .site-footer, .aria-bubble, .aria-panel, .upgrade-banner, .si-cta-bar { display: none !important; }
	body { font-size: 12pt; }
	a { color: #000; text-decoration: underline; }
}

/* ════════════════════════════════════════════════════════════════════
   EP-6 — Homepage hero polish (scoped to .hero-premium; on-brand logo
   gradient #4f46e5 → #7c3aed → #db2777). Append-only: refines existing
   classes without restructuring markup. No effect outside the hero.
   ════════════════════════════════════════════════════════════════════ */
.hero-premium .gradient-text {
	background: var(--si-gradient);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.hero-premium .hero-eyebrow {
	background: var(--si-gradient-soft);
	color: var(--si-violet);
	border: 1px solid color-mix(in srgb, var(--si-violet) 22%, transparent);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-premium .hero-bg {
	background:
		radial-gradient(40rem 26rem at 80% -10%, rgba(124,58,237,.16), transparent 60%),
		radial-gradient(34rem 24rem at 6% 110%, rgba(219,39,119,.12), transparent 58%),
		radial-gradient(30rem 22rem at 50% 0%,  rgba(79,70,229,.10), transparent 60%);
}
.hero-premium .hero-orb-1 { background: radial-gradient(circle, rgba(124,58,237,.34), transparent 68%); }
.hero-premium .hero-orb-2 { background: radial-gradient(circle, rgba(219,39,119,.28), transparent 68%); }
/* Primary CTA — gradient + depth, scoped to the hero so global buttons stay as-is. */
.hero-premium .btn-primary {
	background: var(--si-gradient); background-size: 160% 160%; background-position: 0 0;
	border: 0; color: #fff;
	box-shadow: 0 10px 28px -8px color-mix(in srgb, var(--si-violet) 55%, transparent);
	transition: transform .18s ease, box-shadow .18s ease, background-position .6s ease;
}
.hero-premium .btn-primary:hover {
	background-position: 100% 100%; transform: translateY(-2px);
	box-shadow: 0 16px 40px -10px color-mix(in srgb, var(--si-violet) 60%, transparent);
}
.hero-premium .btn-secondary { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-premium .rating-pill {
	border: 1px solid color-mix(in srgb, var(--si-violet) 16%, transparent);
	background: color-mix(in srgb, var(--si-violet) 5%, #fff);
	transition: transform .15s ease, box-shadow .15s ease;
}
.hero-premium .rating-pill:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--si-violet) 30%, transparent); }
.hero-premium .hero-card-premium { box-shadow: 0 30px 70px -24px color-mix(in srgb, var(--si-violet) 40%, transparent), 0 2px 8px rgba(15,23,42,.06); }
@media (prefers-reduced-motion: reduce) { .hero-premium .btn-primary { transition: none; } }

/* ============ EP-6.1 — component modernization (additive, token-only, no layout shifts) ============
   Scoped to existing component classes; appended last so it layers cleanly over the base.
   The hero keeps its own .hero-premium .btn-primary rules (higher specificity). */

/* Primary CTAs → brand gradient with a subtle sheen shift on hover.
   The hero's own `.hero-premium .btn-primary` (specificity 0,2,0) outranks this
   plain `.btn-primary` (0,1,0), so hero buttons keep their bespoke treatment. */
.btn-primary,
.btn-cta-header {
	background-image: var(--si-gradient);
	background-size: 160% 160%;
	background-position: 0% 50%;
	border: 0;
	transition: background-position .45s ease, transform var(--si-transition), box-shadow var(--si-transition);
}
.btn-primary:hover, .btn-cta-header:hover {
	background-position: 100% 50%;
	box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--si-accent) 55%, transparent);
}

/* Headline stat numbers → gradient text (flat colour stays as fallback). */
.stat-value {
	background: var(--si-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Cards → thin gradient accent that fades in on hover (matches the dashboard cards). */
.card, .pricing-card { position: relative; overflow: hidden; }
.card::before, .pricing-card::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
	background: var(--si-gradient); opacity: 0; transition: opacity var(--si-transition);
}
.card:hover::before { opacity: 1; }

/* Featured pricing tier → make it unmistakably the hero plan. */
.pricing-card.is-popular {
	border-color: color-mix(in srgb, var(--si-accent) 45%, var(--si-border));
	box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 24px 60px -30px color-mix(in srgb, var(--si-accent) 60%, transparent);
}
.pricing-card.is-popular::before { opacity: 1; height: 4px; }

/* FAQ (native <details>) → rotating chevron + gentle answer reveal. */
.faq-question { position: relative; padding-right: 2rem; }
.faq-question::after {
	content: ""; position: absolute; right: .25rem; top: 50%;
	width: .55rem; height: .55rem; margin-top: -.35rem;
	border-right: 2px solid var(--si-fg-muted); border-bottom: 2px solid var(--si-fg-muted);
	transform: rotate(45deg); transition: transform var(--si-transition), border-color var(--si-transition);
}
details[open] > .faq-question::after { transform: rotate(-135deg); border-color: var(--si-primary); }
details[open] > .faq-answer { animation: si-faq-in .28s ease both; }
@keyframes si-faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Section eyebrow gets a hairline gradient underline accent on hover of its section header. */
.section-header:hover .section-eyebrow { box-shadow: inset 0 -2px 0 0 color-mix(in srgb, var(--si-accent) 40%, transparent); }

@media (prefers-reduced-motion: reduce) {
	.btn-primary, .btn-cta-header { transition: none; }
	details[open] > .faq-answer { animation: none; }
}

/* ============ Icon system (inline SVG, currentColor) — replaces emoji ============ */
.si-ico { display: inline-flex; flex: none; vertical-align: -.2em; }
.main-menu .sub-menu a > .si-ico, .menu-mega .sub-menu a > .si-ico { color: var(--si-primary); opacity: .92; }
.m-ico { color: var(--si-primary); }
.m-ico .si-ico { width: 18px; height: 18px; }
.menu-mega .sub-menu.mega-grid li a:hover .m-ico { transform: none; background: color-mix(in srgb, var(--si-primary) 12%, transparent); }
.rating-pill .si-ico { color: var(--si-warning); }
.hcard-ico, .hf-emoji { display: inline-flex; align-items: center; }
.hcard-ico .si-ico, .hf-emoji .si-ico { color: var(--si-primary); }
