/* ==========================================================================
   Apex Link — design system
   1. Tokens (dark + light)   2. Base   3. Layout & type   4. Buttons & chips
   5. Header & nav   6. Hero   7. Sections   8. Forms & wizard   9. Modals
   10. Chatbot & floating   11. Blog & pages   12. Tools   13. Footer   14. Motion
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
	--font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--radius: 18px;
	--radius-sm: 12px;
	--radius-xs: 8px;
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 72px;
}

:root,
:root[data-theme="dark"] {
	--bg: #060914;
	--bg-2: #0A0F1F;
	--surface: #0D1326;
	--surface-2: #121A33;
	--line: rgba(150, 168, 220, .13);
	--line-2: rgba(150, 168, 220, .24);
	--text: #E9EDF8;
	--text-2: #B9C2DD;
	--muted: #8892B0;
	--blue: #4C82FF;
	--blue-2: #6E9BFF;
	--violet: #9277FF;
	--on-blue: #FFFFFF;
	--glow: rgba(76, 130, 255, .28);
	--glow-2: rgba(146, 119, 255, .18);
	--grid: rgba(150, 168, 220, .06);
	--shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 50px -24px rgba(0,0,0,.7);
	--ok: #3DD68C;
	--warn: #F5B84B;
	--bad: #F2726F;
	color-scheme: dark;
}

:root[data-theme="light"] {
	--bg: #F5F7FC;
	--bg-2: #EDF1F9;
	--surface: #FFFFFF;
	--surface-2: #F1F4FB;
	--line: rgba(20, 34, 80, .10);
	--line-2: rgba(20, 34, 80, .18);
	--text: #0A1128;
	--text-2: #33405F;
	--muted: #5A6584;
	--blue: #2D5FE6;
	--blue-2: #2552CC;
	--violet: #6A48DB;
	--on-blue: #FFFFFF;
	--glow: rgba(45, 95, 230, .16);
	--glow-2: rgba(106, 72, 219, .10);
	--grid: rgba(20, 34, 80, .05);
	--shadow: 0 1px 2px rgba(10,17,40,.05), 0 18px 40px -22px rgba(10,17,40,.22);
	--ok: #13985C;
	--warn: #B7791F;
	--bad: #C93C39;
	color-scheme: light;
}
@media (prefers-color-scheme: light) {
	:root:not([data-theme="dark"]) {
		--bg: #F5F7FC;
		--bg-2: #EDF1F9;
		--surface: #FFFFFF;
		--surface-2: #F1F4FB;
		--line: rgba(20, 34, 80, .10);
		--line-2: rgba(20, 34, 80, .18);
		--text: #0A1128;
		--text-2: #33405F;
		--muted: #5A6584;
		--blue: #2D5FE6;
		--blue-2: #2552CC;
		--violet: #6A48DB;
		--on-blue: #FFFFFF;
		--glow: rgba(45, 95, 230, .16);
		--glow-2: rgba(106, 72, 219, .10);
		--grid: rgba(20, 34, 80, .05);
		--shadow: 0 1px 2px rgba(10,17,40,.05), 0 18px 40px -22px rgba(10,17,40,.22);
		--ok: #13985C;
		--warn: #B7791F;
		--bad: #C93C39;
		color-scheme: light;
	}
}


/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.65 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	transition: background-color .3s var(--ease), color .3s var(--ease);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--blue); color: var(--on-blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--blue); color: var(--on-blue); padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.ic { width: 1.25em; height: 1.25em; flex: none; }
.mono { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .02em; }

/* 3. Layout & type -------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: calc(760px + var(--gutter) * 2); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.3rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.15rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }

.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-intro, .page-intro { color: var(--text-2); font-size: 1.08rem; max-width: 60ch; }
.sub-head { font-size: 1.4rem; margin: 56px 0 24px; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.head-row .section-head { margin-bottom: 32px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase;
	color: var(--blue-2); margin-bottom: 16px;
}
.eyebrow::before {
	content: ""; width: 8px; height: 8px; border-radius: 50%;
	border: 1.5px solid currentColor; box-shadow: 0 0 0 4px var(--glow);
}
.eyebrow::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, currentColor, transparent); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-family: var(--font-mono); font-size: .7rem; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); }
.note { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .9rem; margin-top: 24px; }
.note .ic { color: var(--blue-2); margin-top: 2px; }
.hint { color: var(--muted); font-size: .88rem; margin: 10px 0 0; }
.center-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

.ulink { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease), color .2s; }
.ulink:hover { background-size: 100% 1px; color: var(--text); }

.admin-placeholder { border: 1.5px dashed var(--line-2); border-radius: var(--radius-sm); padding: 18px 20px; color: var(--muted); font-size: .92rem; margin: 16px 0; background: var(--surface-2); }
.admin-placeholder a { color: var(--blue-2); }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: pulse 2.4s infinite; flex: none; }

/* 4. Buttons & chips ------------------------------------------------------ */
.btn {
	--bh: 46px;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: var(--bh); padding: 0 20px; border-radius: 999px;
	font-weight: 600; font-size: .95rem; letter-spacing: -.005em; white-space: nowrap;
	border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .3s, color .2s;
}
.btn .ic { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--blue); color: var(--on-blue); box-shadow: 0 8px 24px -10px var(--blue), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-primary:hover { background: color-mix(in srgb, var(--blue) 88%, white); box-shadow: 0 12px 32px -10px var(--blue), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: color-mix(in srgb, var(--surface) 60%, transparent); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-ghost .ic { transform: none !important; }
.btn-sm { --bh: 38px; padding: 0 14px; font-size: .88rem; }
.btn-lg { --bh: 54px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.text-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-2); font-weight: 600; font-size: .95rem; }
.text-btn .ic { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.text-btn:hover .ic { transform: translateX(4px); }

.icon-btn { width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; border: 1px solid var(--line); color: var(--text-2); transition: border-color .2s, color .2s, background .2s; }
.icon-btn:hover { color: var(--text); border-color: var(--line-2); background: var(--surface-2); }
.icon-btn .ic { width: 20px; height: 20px; }

.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: .88rem; transition: all .2s; background: transparent; }
.chip:hover { color: var(--text); border-color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.chip-ai { border-color: color-mix(in srgb, var(--violet) 55%, transparent); color: var(--violet); }

/* 5. Header & nav --------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 90; height: var(--header-h); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.02em; }
.logo-sub { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.primary-nav { margin-left: auto; }
.primary-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-size: .92rem; font-weight: 500; transition: color .2s, background .2s; }
.primary-nav .menu a:hover, .primary-nav .current-menu-item > a { color: var(--text); background: var(--surface-2); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }
.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }

@media (max-width: 980px) {
	.nav-toggle { display: inline-grid; }
	.header-cta { display: none; }
	.primary-nav {
		position: fixed; inset: var(--header-h) 0 0; margin: 0; padding: 24px var(--gutter) 120px;
		background: var(--bg); display: flex; flex-direction: column; gap: 24px;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
		overflow-y: auto;
	}
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav .menu a { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none !important; color: var(--text); }
	.nav-cta { display: inline-flex; align-self: flex-start; }
	body.nav-open { overflow: hidden; }
	body.nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
	body.nav-open .site-header { background: var(--bg); border-color: var(--line); }
	body.nav-open .nav-toggle .i-menu { display: none; }
	body.nav-open .nav-toggle .i-close { display: block; }
}

/* 6. Hero ----------------------------------------------------------------- */
.hero { position: relative; min-height: min(100svh, 960px); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 48px) 0 0; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 30%, transparent 75%); }
.hero-glow { position: absolute; width: 900px; height: 900px; right: -220px; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, var(--glow) 0%, var(--glow-2) 30%, transparent 62%); filter: blur(10px); }
.net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.hero-video.is-playing { opacity: .35; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 42%, transparent 70%), linear-gradient(0deg, var(--bg) 0%, transparent 25%); pointer-events: none; }

.hero-inner { position: relative; padding-bottom: 96px; }
.trust-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 70%, transparent); backdrop-filter: blur(8px); font-size: .85rem; color: var(--text-2); margin-bottom: 28px; }
.hero-title { max-width: 14ch; margin-bottom: 24px; }
.hero-title .hl { display: block; }
.hl-accent { background: linear-gradient(100deg, var(--blue-2) 10%, var(--violet) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 54ch; margin-bottom: 32px; }

.audience { margin-top: 40px; max-width: 620px; }
.audience-switch { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); backdrop-filter: blur(8px); }
.audience-label { padding: 0 10px 0 12px; color: var(--muted); }
.audience-switch button { padding: 7px 14px; border-radius: 999px; font-size: .86rem; color: var(--text-2); transition: background .2s, color .2s; }
.audience-switch button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.audience-line { margin: 14px 0 6px; color: var(--text); font-weight: 500; min-height: 1.6em; transition: opacity .25s; }
.audience-line.is-swapping { opacity: 0; }

.hero-ticker { position: absolute; bottom: 0; left: 0; right: 0; border-top: 1px solid var(--line); overflow: hidden; background: color-mix(in srgb, var(--bg) 60%, transparent); backdrop-filter: blur(6px); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.ticker-item i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }

@media (max-width: 760px) {
	.hero { min-height: auto; padding-top: calc(var(--header-h) + 32px); }
	.hero-media::after { background: linear-gradient(0deg, var(--bg) 8%, color-mix(in srgb, var(--bg) 55%, transparent) 60%, color-mix(in srgb, var(--bg) 30%, transparent)); }
	.hero-inner { padding-bottom: 88px; }
	.hero .btn-row .btn { flex: 1 1 100%; }
}

/* 7. Sections ------------------------------------------------------------- */
/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card { position: relative; }
.svc-link { position: relative; display: flex; flex-direction: column; height: 100%; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; isolation: isolate; }
.svc-link::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--blue), transparent 40%, transparent 60%, var(--violet)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; }
.svc-link::after { content: ""; position: absolute; width: 320px; height: 320px; right: -140px; top: -140px; background: radial-gradient(circle, var(--glow), transparent 65%); opacity: 0; transition: opacity .4s; z-index: -1; }
.svc-link:hover, .svc-link:focus-visible { transform: translateY(-4px); box-shadow: 0 24px 60px -30px var(--blue); border-color: transparent; }
.svc-link:hover::before, .svc-link:hover::after, .svc-link:focus-visible::before { opacity: 1; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.svc-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--blue-2); background: linear-gradient(145deg, color-mix(in srgb, var(--blue) 18%, transparent), color-mix(in srgb, var(--violet) 10%, transparent)); border: 1px solid color-mix(in srgb, var(--blue) 30%, transparent); transition: transform .4s var(--ease); flex: none; }
.svc-icon .ic { width: 22px; height: 22px; }
.svc-link:hover .svc-icon { transform: rotate(-6deg) scale(1.06); }
.svc-index { color: var(--muted); }
.svc-excerpt { color: var(--text-2); font-size: .95rem; }
.svc-features { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.svc-features > span { overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.svc-link:hover .svc-features, .svc-link:focus-visible .svc-features { grid-template-rows: 1fr; }
.svc-feature { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--text-2); }
.svc-feature .ic { width: 15px; height: 15px; color: var(--ok); }
.svc-features > span > :last-child { margin-bottom: 18px; }
.svc-more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--blue-2); }
.svc-more .ic { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.svc-link:hover .svc-more .ic, .tool-card:hover .svc-more .ic, .case-card:hover .svc-more .ic { transform: translateX(5px); }
.svc-bg { position: absolute; right: -10px; bottom: -6px; width: 180px; opacity: .0; fill: none; stroke: var(--blue); stroke-width: 1; z-index: -1; transition: opacity .4s, transform .6s var(--ease); transform: translateY(10px); }
.svc-bg circle { fill: var(--blue); }
.svc-link:hover .svc-bg { opacity: .35; transform: none; }
@media (hover: none) { .svc-features { grid-template-rows: 1fr; } }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .svc-link { padding: 22px; } }

/* Connect (interactive network) */
.connect-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.connect-detail { border-left: 2px solid var(--blue); padding: 4px 0 4px 20px; min-height: 150px; }
.connect-detail h3 { font-size: 1.6rem; margin: 6px 0 8px; }
.connect-detail p { color: var(--text-2); margin: 0; }
.connect-step { color: var(--blue-2); margin: 0; }
.connect-visual { position: relative; }
.connect-visual svg { width: 100%; height: auto; overflow: visible; }
.cn-grid line { stroke: var(--grid); stroke-width: 1; }
.cn-path-bg { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 4 6; }
.cn-path { fill: none; stroke: url(#cn-grad); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.connect-visual.is-in .cn-path { stroke-dashoffset: 0; }
.cn-packet { fill: var(--blue-2); filter: drop-shadow(0 0 6px var(--blue)); }
.cn-node { cursor: pointer; outline: none; }
.cn-halo { fill: var(--glow); opacity: 0; transition: opacity .3s, transform .3s var(--ease); transform: scale(.6); transform-box: fill-box; transform-origin: center; }
.cn-ring { fill: var(--bg-2); stroke: var(--line-2); stroke-width: 1.5; transition: stroke .3s, fill .3s; }
.cn-core { fill: var(--muted); transition: fill .3s; }
.cn-label { font-family: var(--font-mono); font-size: 13px; fill: var(--text-2); transition: fill .3s; }
.cn-node:hover .cn-ring, .cn-node:focus-visible .cn-ring, .cn-node.is-active .cn-ring { stroke: var(--blue); }
.cn-node:hover .cn-core, .cn-node:focus-visible .cn-core, .cn-node.is-active .cn-core { fill: var(--blue); }
.cn-node.is-active .cn-halo, .cn-node:focus-visible .cn-halo { opacity: 1; transform: scale(1); }
.cn-node.is-active .cn-label { fill: var(--text); }
.cn-node:focus-visible .cn-ring { stroke-width: 3; }
.cn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cn-chips .chip { font-size: .8rem; min-height: 32px; padding: 0 12px; }
@media (max-width: 900px) { .connect-grid { grid-template-columns: 1fr; } .cn-label { font-size: 15px; } }

/* Story / process */
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.story-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.story-item { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; width: 100%; text-align: left; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid transparent; transition: background .3s, border-color .3s; position: relative; }
.story-item:hover { background: var(--surface); }
.story-item.is-active { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.story-num { color: var(--muted); padding-top: 3px; }
.story-item.is-active .story-num { color: var(--blue-2); }
.story-t { display: block; font-family: var(--font-display); font-weight: 600; color: var(--text-2); }
.story-item.is-active .story-t { color: var(--text); }
.story-d { color: var(--text-2); font-size: .92rem; display: block; max-height: 0; overflow: hidden; transition: max-height .45s var(--ease), margin .3s; }
.story-item.is-active .story-d { max-height: 120px; margin-top: 6px; }
.story-bar { grid-column: 2; height: 2px; background: var(--line); border-radius: 2px; margin-top: 12px; overflow: hidden; display: none; }
.story-item.is-active .story-bar { display: block; }
.story-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--violet)); }
.story-item.is-active.is-timing .story-bar i { animation: storybar var(--story-ms, 5000ms) linear forwards; }

.story-stage { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(ellipse at 70% 30%, var(--glow-2), transparent 60%), var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.stage-chrome { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.stage-chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.stage-chrome span { margin-left: 10px; color: var(--muted); }
.story-stage svg { width: 100%; height: auto; padding: 16px; }
.story-stage .st { opacity: 0; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.story-stage.on-2 .st-2, .story-stage.on-3 .st-3, .story-stage.on-4 .st-4, .story-stage.on-5 .st-5, .story-stage.on-6 .st-6 { opacity: 1; }
.site circle { fill: var(--bg-2); stroke: var(--blue); stroke-width: 2; }
.site .site-halo { fill: var(--glow); stroke: none; animation: halo 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.site .dot { fill: var(--blue); stroke: none; }
.site text, .st-note { font-family: var(--font-mono); font-size: 13px; fill: var(--text-2); }
.st-note { fill: var(--muted); font-size: 11px; }
.pub circle { fill: var(--bg-2); stroke: var(--line-2); stroke-width: 1.5; }
.pub.good circle { stroke: var(--violet); }
.pub.good .dot { fill: var(--violet); stroke: none; }
.pub.bad { opacity: .45; }
.pub.bad path { stroke: var(--bad); stroke-width: 1.5; fill: none; }
.hub circle { fill: var(--blue); }
.hub .hub-halo { fill: var(--glow); }
.st-outreach path { stroke: var(--blue-2); stroke-width: 1.5; stroke-dasharray: 4 6; fill: none; animation: dash 1.2s linear infinite; }
.st-link { fill: none; stroke: url(#st-grad); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--glow)); }
.st-link-2 { stroke-width: 2; opacity: .8; }
.st-trend { fill: none; stroke: var(--ok); stroke-width: 2.5; stroke-dasharray: 600; stroke-dashoffset: 600; }
.story-stage.on-6 .st-trend { animation: draw 1.6s var(--ease) forwards; }
.doc rect { fill: var(--surface-2); stroke: var(--line-2); }
.doc path { stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
@media (max-width: 900px) {
	.story-grid { grid-template-columns: 1fr; }
	.story-stage { position: relative; top: 0; order: -1; }
}

/* Quote */
.quote-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.profile-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.profile-head { display: flex; align-items: center; gap: 8px; color: var(--muted); margin-bottom: 12px; }
.profile-list { margin: 0; display: grid; gap: 2px; }
.profile-list div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.profile-list dt { color: var(--muted); font-family: var(--font-mono); font-size: .76rem; padding-top: 2px; }
.profile-list dd { margin: 0; color: var(--text); overflow-wrap: anywhere; transition: color .3s; }
.profile-list dd.is-filled { animation: fillin .5s var(--ease); }
.profile-list dd:not(.is-filled) { color: var(--muted); }
.profile-foot { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.wizard { padding: clamp(22px, 3vw, 36px); position: relative; overflow: hidden; }
.wizard-top { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 12px; }
.wizard-name { color: var(--blue-2); }
.progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 28px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--violet)); border-radius: inherit; transition: width .5s var(--ease); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: stepin .45s var(--ease); }
.step legend { font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; margin-bottom: 20px; padding: 0; }
.step-summary h3 { font-size: 1.6rem; margin-bottom: 6px; }
.step-summary > p { color: var(--text-2); }
.summary-list { margin: 20px 0 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.summary-list div { padding: 12px 14px; border-radius: var(--radius-xs); background: var(--surface-2); border: 1px solid var(--line); }
.summary-list dt { font-family: var(--font-mono); font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.summary-list dd { margin: 2px 0 0; font-weight: 500; font-size: .92rem; overflow-wrap: anywhere; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.wizard-nav[hidden] { display: none; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } .profile-card { display: none; } }
@media (max-width: 520px) { .summary-list { grid-template-columns: 1fr; } }

/* Why */
.why-layout { display: grid; grid-template-columns: 8fr 4fr; gap: 20px; align-items: start; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why-card { background: var(--bg); padding: 28px 24px; transition: background .3s; }
.why-card:hover { background: var(--surface); }
.why-card h3 { margin: 18px 0 8px; font-size: 1.05rem; }
.why-card p { color: var(--text-2); font-size: .92rem; margin: 0; }
.why-icon { width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; color: var(--blue-2); border: 1px solid var(--line-2); transition: transform .4s var(--ease), color .3s, border-color .3s; flex: none; }
.why-card:hover .why-icon { transform: translateY(-3px); color: var(--violet); border-color: var(--violet); }
.vet { padding: 26px; position: sticky; top: calc(var(--header-h) + 24px); }
.vet-head { color: var(--blue-2); margin: 0 0 10px; }
.vet h3 { font-size: 1.15rem; }
.vet-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.vet-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--text-2); }
.vet-tick { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); flex: none; }
.vet-tick .ic { width: 14px; height: 14px; }
@media (max-width: 1080px) { .why-layout { grid-template-columns: 1fr; } .vet { position: static; } }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* Tools teaser */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-card { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), border-color .3s; }
.tool-card:hover { transform: translateY(-4px); border-color: var(--blue); }
.tool-card h3 { margin: 18px 0 6px; font-size: 1.02rem; }
.tool-card p { color: var(--text-2); font-size: .9rem; }
.tool-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--violet); background: color-mix(in srgb, var(--violet) 12%, transparent); }
@media (max-width: 980px) { .tool-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tool-grid { grid-template-columns: 1fr; } }

/* Agency */
.agency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tick-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.tick-list li { display: flex; gap: 10px; align-items: center; font-size: .95rem; color: var(--text-2); }
.tick-list .ic { width: 18px; height: 18px; color: var(--ok); }
.dash { padding: 20px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); gap: 12px; }
.dash-rows { display: grid; gap: 4px; padding: 10px 0; }
.dash-row { display: grid; grid-template-columns: 1fr 1.3fr auto; grid-template-areas: "c s st" "b b b"; gap: 6px 12px; padding: 12px; border-radius: var(--radius-xs); align-items: center; transition: background .2s; }
.dash-row:hover { background: var(--surface-2); }
.dash-client { grid-area: c; font-weight: 600; font-size: .92rem; }
.dash-svc { grid-area: s; color: var(--text-2); font-size: .88rem; }
.dash-status { grid-area: st; padding: 2px 8px; border-radius: 6px; font-size: .7rem; background: var(--surface-2); color: var(--text-2); }
.dash-status.s-live { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.dash-status.s-outreach, .dash-status.s-content { color: var(--blue-2); background: color-mix(in srgb, var(--blue) 14%, transparent); }
.dash-bar { grid-area: b; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.dash-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--violet)); border-radius: inherit; transition: width 1.4s var(--ease) .2s; }
.dash.is-in .dash-bar i { width: var(--w); }
.dash-foot { margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) { .agency-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tick-list { grid-template-columns: 1fr; } }

/* Proof */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), border-color .3s; }
.case-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.case-ind { color: var(--blue-2); margin-bottom: 12px; }
.case-card p { color: var(--text-2); font-size: .93rem; }
.case-title { font-size: 1.2rem; }
.case-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; }
.case-card .text-btn { margin-top: auto; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testi { margin: 0; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.testi blockquote { margin: 0 0 18px; font-size: 1rem; color: var(--text); }
.testi blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: .6; color: var(--blue); margin-bottom: 10px; }
.testi figcaption { display: flex; flex-direction: column; font-size: .88rem; }
.testi figcaption span { color: var(--muted); }
@media (max-width: 900px) { .case-grid, .testi-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue-2); }
.faq-plus { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform .35s var(--ease), background .2s, border-color .2s; }
.faq-plus .ic { width: 16px; height: 16px; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-a > div { overflow: hidden; color: var(--text-2); }
.faq-item[open] .faq-a { grid-template-rows: 1fr; }
.faq-item[open] .faq-a > div { padding-bottom: 18px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* Checklist */
.checklist-card { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 56px); overflow: hidden; background: radial-gradient(ellipse at 100% 0%, var(--glow), transparent 55%), var(--surface); }
.checklist-copy p:not(.eyebrow) { color: var(--text-2); }
.checklist-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.inline-form input[type="email"] { flex: 1 1 220px; min-height: 54px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); }
.inline-form .form-msg, .inline-form .hint { flex-basis: 100%; }
.checklist-doc { position: absolute; right: -40px; bottom: -60px; width: 220px; height: 260px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); transform: rotate(-10deg); padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; opacity: .5; pointer-events: none; }
.checklist-doc span { height: 8px; border-radius: 4px; background: var(--line-2); }
.checklist-doc span::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 2px; background: var(--ok); }
@media (max-width: 860px) { .checklist-card { grid-template-columns: 1fr; } .checklist-doc { display: none; } }

/* 8. Forms ---------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: .88rem; color: var(--text-2); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius-sm);
	border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-size: 1rem;
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .inline-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--glow); }
.field input::placeholder, .field textarea::placeholder, .inline-form input::placeholder { color: var(--muted); opacity: .8; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 14px; }
.is-invalid { border-color: var(--bad) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 18%, transparent) !important; }
@media (max-width: 600px) { .field-row, .field-grid { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-radio input, .svc-radio input, .check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); cursor: pointer; transition: all .2s; user-select: none; }
.chip-radio:hover span { border-color: var(--blue); color: var(--text); }
.chip-radio input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--on-blue); box-shadow: 0 6px 18px -8px var(--blue); }
.chip-radio input:focus-visible + span, .svc-radio input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }
.svc-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.svc-radio span { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); cursor: pointer; transition: all .2s; }
.svc-radio span .ic { color: var(--blue-2); }
.svc-radio strong { font-weight: 500; font-size: .95rem; }
.svc-radio:hover span { border-color: var(--blue); }
.svc-radio input:checked + span { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 12%, transparent); box-shadow: inset 0 0 0 1px var(--blue); }
@media (max-width: 520px) { .svc-pick { grid-template-columns: 1fr; } }

.form-msg { margin: 12px 0 0; font-size: .9rem; min-height: 1px; }
.form-msg.is-error { color: var(--bad); }
.form-msg.is-ok { color: var(--ok); }
.form-msg a { color: var(--blue-2); text-decoration: underline; }
.form-success { text-align: center; padding: 32px 8px; animation: stepin .5s var(--ease); }
.form-success h3 { font-size: 1.5rem; margin-top: 18px; }
.form-success p { color: var(--text-2); }
.success-mark { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--ok) 6%, transparent); }
.success-mark .ic { width: 30px; height: 30px; stroke-width: 2.2; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }

/* 9. Modals --------------------------------------------------------------- */
.modal { padding: 0; border: 0; background: transparent; color: var(--text); width: min(640px, calc(100vw - 24px)); max-height: calc(100svh - 32px); }
.modal::backdrop { background: rgba(3, 6, 14, .66); backdrop-filter: blur(6px); }
.modal[open] { animation: modalin .35s var(--ease); }
.modal-inner { background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(22px, 4vw, 34px); box-shadow: 0 40px 120px -30px rgba(0,0,0,.6); max-height: calc(100svh - 32px); overflow-y: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.modal-head h2 { font-size: 1.6rem; margin: 0; }
.modal-head .eyebrow { margin-bottom: 8px; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.quiz-count { color: var(--muted); }
.quiz-q { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin: 0 0 16px; }
.quiz-result h3 { font-size: 1.3rem; }
.reco-list { display: grid; gap: 10px; margin: 16px 0; }
.reco { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--surface-2); transition: border-color .2s; }
.reco:hover { border-color: var(--blue); }
.reco strong { display: block; margin-bottom: 2px; }
.reco span { color: var(--text-2); font-size: .9rem; }
.disclaimer { font-size: .85rem; color: var(--muted); border-left: 2px solid var(--warn); padding-left: 12px; margin: 16px 0; }
.case-dl { margin: 0 0 22px; display: grid; gap: 14px; }
.case-dl div { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.case-dl dt { color: var(--muted); font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.case-dl dd { margin: 0; }
.case-dl.card { padding: 22px; }

/* 10. Chatbot & floating -------------------------------------------------- */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 95; }
.chat-fab { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: var(--on-blue); background: linear-gradient(145deg, var(--blue), var(--violet)); box-shadow: 0 16px 40px -12px var(--blue); transition: transform .3s var(--ease); }
.chat-fab:hover { transform: scale(1.06); }
.chat-fab .ic { width: 26px; height: 26px; }
.chat-fab-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); animation: ring 2.8s var(--ease) infinite; }
.chat.is-open .chat-fab-ring { display: none; }
.chat-teaser { position: absolute; right: 72px; bottom: 12px; white-space: nowrap; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: .88rem; margin: 0; animation: stepin .5s var(--ease); }
.chat-panel { position: absolute; right: 0; bottom: 76px; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100svh - 120px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); overflow: hidden; transform-origin: bottom right; }
.chat-panel:not([hidden]) { animation: chatin .35s var(--ease); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 10%, transparent), transparent); }
.chat-avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); flex: none; }
.chat-avatar .logo-mark { width: 26px; height: 26px; }
.chat-title { font-size: 1rem; margin: 0; }
.chat-status { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; font-size: .76rem; color: var(--muted); }
.chat-status .pulse-dot { width: 6px; height: 6px; }
.chat-close { margin-left: auto; width: 36px; height: 36px; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.5; animation: msgin .3s var(--ease); white-space: pre-line; }
.msg a { color: var(--blue-2); text-decoration: underline; }
.msg-bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-user { align-self: flex-end; background: var(--blue); color: var(--on-blue); border-bottom-right-radius: 4px; }
.msg-typing { display: inline-flex; gap: 4px; padding: 14px; }
.msg-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; } .msg-typing i:nth-child(3) { animation-delay: .3s; }
.msg-card { align-self: stretch; max-width: 100%; background: var(--bg); border: 1px dashed var(--line-2); font-family: var(--font-mono); font-size: .78rem; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 16px 10px; }
.chat-quick button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .8rem; color: var(--text-2); transition: all .2s; }
.chat-quick button:hover { border-color: var(--blue); color: var(--text); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); }
.chat-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--glow); }
.chat-send { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: var(--on-blue); }

.wa-fab { position: fixed; left: 20px; bottom: 20px; z-index: 94; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px 0 14px; border-radius: 999px; background: #1F9D55; color: #fff; font-weight: 600; font-size: .9rem; box-shadow: 0 14px 30px -12px rgba(31,157,85,.7); transition: transform .3s var(--ease); }
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab .ic { width: 22px; height: 22px; }

.mobile-bar { display: none; }
@media (max-width: 760px) {
	.mobile-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 93; padding: 10px 84px 10px 12px; padding-bottom: max(10px, env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .35s var(--ease); }
	body.show-bar .mobile-bar { transform: none; }
	.mobile-bar .btn { flex: 1; --bh: 46px; padding: 0 12px; }
	.wa-fab { display: none; }
	.chat { right: 12px; bottom: 12px; }
	.chat-fab { width: 56px; height: 56px; }
	.chat-panel { position: fixed; inset: auto 8px 8px 8px; width: auto; height: min(78svh, 640px); bottom: max(8px, env(safe-area-inset-bottom)); }
	.chat.is-open .chat-fab { opacity: 0; pointer-events: none; }
	.chat-teaser { display: none; }
	.site-footer { padding-bottom: 80px; }
}

/* 11. Blog & pages -------------------------------------------------------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; background: radial-gradient(ellipse 60% 80% at 85% 0%, var(--glow-2), transparent 60%); }
.page-hero .net-canvas { z-index: -1; opacity: .7; mask-image: linear-gradient(90deg, transparent 20%, #000 80%); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 80%); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 20ch; }

.blog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-form { display: flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); min-width: 240px; }
.search-form input { border: 0; background: transparent; outline: none; flex: 1; min-width: 0; }
.search-form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--glow); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-grid:empty { display: none; }
.post-card-link, .post-featured-link { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.post-card-link:hover, .post-featured-link:hover { transform: translateY(-4px); border-color: var(--line-2); }
.post-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); display: block; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card-link:hover .post-thumb img { transform: scale(1.04); }
.post-thumb.is-empty { display: grid; place-items: center; background: radial-gradient(circle at 70% 30%, var(--glow), transparent 60%), var(--surface-2); }
.post-thumb svg { width: 55%; fill: none; stroke: var(--blue); stroke-width: 1.5; }
.post-thumb svg circle { fill: var(--blue); }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; }
.post-meta { display: flex; gap: 12px; align-items: center; color: var(--muted); flex-wrap: wrap; }
.post-cat { color: var(--blue-2); }
.post-cat.is-ai { color: var(--violet); }
.post-title { font-size: 1.15rem; margin: 0; }
.post-excerpt { color: var(--text-2); font-size: .92rem; }
.post-featured { margin-bottom: 20px; border: 0; background: none; box-shadow: none; }
.post-featured-link { flex-direction: row; }
.post-featured .post-thumb { flex: 1.2; aspect-ratio: auto; min-height: 320px; }
.post-featured .post-body { flex: 1; justify-content: center; padding: clamp(24px, 4vw, 48px); }
.post-featured .post-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.pager .nav-links { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pager .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); }
.pager .page-numbers.current { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.empty { padding: 40px; text-align: center; }
.empty p { color: var(--text-2); }
@media (max-width: 980px) { .post-grid { grid-template-columns: 1fr 1fr; } .post-featured-link { flex-direction: column; } .post-featured .post-thumb { min-height: 220px; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } .search-form { min-width: 0; width: 100%; } }

.article-head { padding: calc(var(--header-h) + 56px) 0 32px; }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.crumbs { color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--text); }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); }
.opinion-note { display: inline-block; margin-top: 8px; padding: 8px 12px; border-radius: 10px; font-size: .86rem; color: var(--violet); background: color-mix(in srgb, var(--violet) 10%, transparent); }
.article-cover { margin-bottom: 40px; }
.article-cover img { width: 100%; border-radius: var(--radius); max-height: 520px; object-fit: cover; }

.prose { font-size: 1.07rem; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.7rem; margin-top: 2em; color: var(--text); }
.prose h3 { font-size: 1.3rem; margin-top: 1.7em; }
.prose a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); font-family: var(--font-display); font-size: 1.2rem; color: var(--text); }
.prose img, .prose figure { border-radius: var(--radius-sm); margin-inline: 0; }
.prose code { font-family: var(--font-mono); font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); }
.prose pre { padding: 18px; border-radius: var(--radius-sm); background: var(--surface-2); overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .82rem; }
.author-box { display: flex; gap: 16px; align-items: flex-start; padding: 22px; margin: 40px 0; }
.author-box img { border-radius: 50%; }
.author-box p { margin: 4px 0 0; color: var(--text-2); font-size: .92rem; }
.author-box .mono { margin: 0; color: var(--muted); }

.svc-list { display: grid; gap: 10px; }
.svc-list-compact { grid-template-columns: repeat(3, 1fr); }
.svc-row { display: flex; align-items: center; gap: 18px; padding: 20px 22px; transition: border-color .3s, transform .3s var(--ease); }
.svc-row:hover { border-color: var(--blue); transform: translateX(4px); }
.svc-row-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.svc-row-text strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.svc-row-text span { color: var(--text-2); font-size: .93rem; }
.svc-row-arrow { color: var(--blue-2); transition: transform .3s var(--ease); }
.svc-row:hover .svc-row-arrow { transform: translateX(4px); }
.svc-detail { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.svc-aside .card { padding: 26px; }
.aside-h { font-size: 1.15rem; margin: 20px 0 14px; }
.svc-aside .tick-list { grid-template-columns: 1fr; margin-bottom: 20px; }
.ideal { padding: 14px; border-radius: var(--radius-xs); background: var(--surface-2); font-size: .92rem; color: var(--text-2); }
.ideal .mono { display: block; color: var(--blue-2); margin-bottom: 4px; }
@media (max-width: 900px) { .svc-detail { grid-template-columns: 1fr; } .svc-aside { position: static; } .svc-list-compact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .svc-row .svc-index { display: none; } }

.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.contact-card { padding: clamp(22px, 3vw, 36px); }
.contact-side { display: grid; gap: 14px; }
.side-link { display: flex; gap: 14px; align-items: center; padding: 18px; transition: border-color .2s; }
.side-link:hover { border-color: var(--blue); }
.side-link > span:last-child { display: flex; flex-direction: column; }
.side-link > span:last-child span { color: var(--muted); font-size: .88rem; }
.next-steps { padding: 22px; }
.next-steps .mono { color: var(--blue-2); margin: 0 0 10px; }
.next-steps ol { margin: 0; padding-left: 1.2em; color: var(--text-2); display: grid; gap: 8px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* 12. Tools page ---------------------------------------------------------- */
.tools-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.tool-tabs { display: grid; gap: 6px; position: sticky; top: calc(var(--header-h) + 24px); }
.tool-tabs button { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); text-align: left; color: var(--text-2); border: 1px solid transparent; transition: all .2s; font-weight: 500; }
.tool-tabs button:hover { background: var(--surface); color: var(--text); }
.tool-tabs button[aria-selected="true"] { background: var(--surface); border-color: var(--line-2); color: var(--text); box-shadow: var(--shadow); }
.tool-tabs button[aria-selected="true"] .ic { color: var(--blue-2); }
.tool-soon { margin-top: 12px; padding: 16px; border-radius: var(--radius-sm); border: 1px dashed var(--line-2); font-size: .85rem; color: var(--muted); }
.tool-soon .mono { color: var(--warn); margin: 0 0 6px; }
.tool-soon p:last-child { margin: 0; }
.tool-panels { display: grid; gap: 20px; }
.tool-panel { padding: clamp(22px, 3vw, 36px); }
.tool-panel h2 { font-size: 1.5rem; }
.tool-panel .hint { margin: 0 0 22px; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.result { padding: 18px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.result .mono { color: var(--muted); display: block; margin-bottom: 4px; }
.result strong { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.02em; }
.anchor-bars { display: grid; gap: 14px; margin-top: 8px; }
.anchor-row { display: grid; grid-template-columns: 170px 1fr 52px; gap: 14px; align-items: center; font-size: .92rem; }
.anchor-row .bar { height: 10px; border-radius: 6px; background: var(--line); overflow: hidden; }
.anchor-row .bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--violet)); transition: width .6s var(--ease); }
.anchor-row .ex { grid-column: 1 / -1; margin-top: -8px; color: var(--muted); font-family: var(--font-mono); font-size: .76rem; }
.check-list { display: grid; gap: 8px; }
.check { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-xs); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; font-size: .94rem; }
.check:hover { border-color: var(--line-2); }
.check .box { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: all .2s; flex: none; }
.check .box .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.check input:checked ~ .box { background: var(--ok); border-color: var(--ok); color: #fff; }
.check input:focus-visible ~ .box { outline: 2px solid var(--blue); outline-offset: 2px; }
.check input:checked ~ span:last-child { color: var(--text); }
.ready-result { margin-top: 22px; }
.ready-meter { height: 10px; border-radius: 6px; background: var(--line); overflow: hidden; margin-bottom: 12px; }
.ready-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--warn), var(--ok)); transition: width .5s var(--ease); }
.tools-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; flex-wrap: wrap; }
.tools-cta p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
@media (max-width: 900px) { .tools-layout { grid-template-columns: 1fr; } .tool-tabs { position: static; grid-template-columns: 1fr 1fr; } .tool-soon { grid-column: 1 / -1; } }
@media (max-width: 560px) { .result-grid { grid-template-columns: 1fr; } .anchor-row { grid-template-columns: 1fr 52px; } .anchor-row .bar { grid-column: 1 / -1; grid-row: 2; } .tool-tabs { grid-template-columns: 1fr; } }

/* 13. Footer -------------------------------------------------------------- */
.site-footer { position: relative; background: #050811; color: #E9EDF8; --text: #E9EDF8; --text-2: #B9C2DD; --muted: #7F89A8; --line: rgba(150,168,220,.12); --line-2: rgba(150,168,220,.22); --surface: #0D1326; --bg: #050811; }
:root[data-theme="light"] .site-footer { --blue: #4C82FF; --blue-2: #7FA6FF; --violet: #9277FF; --glow: rgba(76,130,255,.25); }
.footer-cta { position: relative; padding: clamp(80px, 10vw, 140px) 0; text-align: center; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.footer-cta .net-canvas { z-index: -1; }
.footer-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(76,130,255,.18), transparent 70%); }
.footer-cta-inner { max-width: 760px; }
.footer-cta h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.footer-cta p:not(.eyebrow) { color: var(--text-2); font-size: 1.08rem; }
.footer-cta .btn-row { justify-content: center; margin-top: 28px; }
.footer-cta .eyebrow { justify-content: center; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: 64px 40px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--text-2); font-size: .93rem; }
.footer-h { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.footer-tagline { color: var(--muted); font-size: .9rem; margin-top: 18px; max-width: 32ch; }
.footer-social { display: flex; gap: 16px; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.footer-legal p { margin: 0; display: flex; gap: 18px; }
.site-footer .brand .logo-mark circle[fill="var(--bg)"] { fill: #050811; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* 14. Motion -------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .hero-inner > * { animation: heroin .9s var(--ease) both; }
.js .hero-inner > *:nth-child(2) { animation-delay: .08s; }
.js .hero-inner > *:nth-child(3) { animation-delay: .18s; }
.js .hero-inner > *:nth-child(4) { animation-delay: .26s; }
.js .hero-inner > *:nth-child(5) { animation-delay: .34s; }

@keyframes heroin { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes stepin { from { opacity: 0; transform: translateY(10px); } }
@keyframes modalin { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes chatin { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes msgin { from { opacity: 0; transform: translateY(6px); } }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -20; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes halo { 50% { transform: scale(1.15); opacity: .6; } }
@keyframes storybar { to { width: 100%; } }
@keyframes fillin { from { opacity: 0; transform: translateX(-6px); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.js [data-reveal] { opacity: 1; transform: none; filter: none; }
	.ticker-track { animation: none; }
	.cn-packet, .hero-video { display: none; }
	.cn-path { stroke-dashoffset: 0; }
}

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* SEO / AEO helpers: breadcrumbs, quick-answer box, FAQ headings */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text-2); }
.answer-box { margin: 0 0 28px; padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); border-left: 3px solid var(--blue); background: var(--surface); }
.answer-box p { margin: 0; color: var(--text); }
.answer-box .answer-label { margin-bottom: 6px; color: var(--blue-2); }
.faq-q { font: inherit; margin: 0; color: inherit; letter-spacing: inherit; }
.related-service { padding: 26px; margin: 40px 0 0; border-left: 3px solid var(--blue); }
.related-service .mono { color: var(--blue-2); margin: 0 0 6px; }
.related-service h2 { font-size: 1.35rem; margin-bottom: 6px; }
.related-service p:not(.mono) { color: var(--text-2); }
.prose .cta-box { margin: 40px 0; padding: 28px; border-radius: 16px; border: 1px solid var(--line, rgba(127,127,127,.25)); background: linear-gradient(135deg, rgba(59,130,246,.10), rgba(139,92,246,.10)); }
.prose .cta-box h2 { margin-top: 0; }
.prose .answer-box { margin: 0 0 28px; padding: 18px 22px; border-left: 3px solid var(--blue); background: rgba(59,130,246,.08); border-radius: 0 12px 12px 0; }
.prose ul.checklist { list-style: none; padding-left: 0; }
.prose ul.checklist li { padding-left: 30px; position: relative; }
.prose ul.checklist li::before { content: "✓"; position: absolute; left: 4px; color: var(--blue); font-weight: 700; }
/* Keep the sticky header below the WordPress admin bar when logged in */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.vet-list { display: grid; gap: 6px; }
.vet-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.vet-q { flex: 1; }
.vet-a { display: flex; gap: 12px; white-space: nowrap; font-size: .92em; }
.vet-a label { cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.vet-flags { margin: 8px 0 0; padding-left: 18px; color: var(--text-2); }
@media (max-width: 640px) { .vet-row { flex-direction: column; align-items: flex-start; } }
/* Keep menu items on one line on mid-size laptops */
.primary-nav .menu a { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1280px) {
	.primary-nav .menu { gap: 0; }
	.primary-nav .menu a { padding: 8px 8px; font-size: .88rem; }
	.brand .brand-text, .brand-name { white-space: nowrap; }
}
