/* ==========================================================================
   AlertRx theme
   Brand colours sampled from the AlertRx logo: navy #16233a, green #3bb66d.
   ========================================================================== */

:root {
	--navy: #16233a;
	--navy-900: #0d1626;
	--navy-700: #24344f;
	--navy-500: #4a5a74;
	--green: #3bb66d;
	--green-600: #2a9a58;
	--green-700: #1f7a45;          /* AA text on white */
	--green-100: #e4f6eb;
	--green-50: #f2fbf5;
	--red: #e5484d;
	--red-100: #fdecec;
	--amber: #e8a317;
	--amber-100: #fdf5df;

	--ink: var(--navy);
	--text: #3b4659;
	--muted: #66728a;
	--line: #e4e9f0;
	--surface: #f6f8fb;
	--white: #fff;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 2px rgba(22, 35, 58, .06), 0 1px 3px rgba(22, 35, 58, .06);
	--shadow: 0 10px 30px -12px rgba(22, 35, 58, .18), 0 2px 6px rgba(22, 35, 58, .05);
	--shadow-lg: 0 30px 60px -20px rgba(22, 35, 58, .30), 0 8px 20px -8px rgba(22, 35, 58, .12);

	--font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
h1 em, h2 em { font-style: normal; color: var(--green-600); background: linear-gradient(transparent 62%, rgba(59,182,109,.18) 62%); padding: 0 .06em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: .82rem; color: var(--muted); margin-top: 20px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
	--b: var(--green);
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
	font: 700 .98rem/1.2 var(--font); text-decoration: none; cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn__icon { width: 1.05em; height: 1.05em; transition: transform .2s; }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn__icon-left { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 6px 16px -6px rgba(22,35,58,.45); }
.btn--primary:hover { background: var(--navy-900); color: #fff; box-shadow: 0 10px 22px -8px rgba(22,35,58,.5); }
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--green); color: var(--navy); }
.btn--light { background: var(--green); color: var(--navy-900); }
.btn--light:hover { background: #4fd083; color: var(--navy-900); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }
.text-link { font-weight: 600; font-size: .92rem; color: var(--navy); text-decoration: none; }
.text-link:hover { color: var(--green-700); text-decoration: underline; }

/* ---------- Tags / eyebrows ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: .5em;
	font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--green-700); margin-bottom: 16px;
}
.eyebrow .icon { width: 1.15em; height: 1.15em; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(59,182,109,.2); }
.eyebrow--light { color: #7fe0a6; }
.tag {
	display: inline-flex; align-items: center; padding: .2em .65em; border-radius: 999px;
	font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-transform: none;
	background: var(--green-100); color: var(--green-700); vertical-align: middle;
}
.tag--soon { background: var(--amber-100); color: #8a5a00; }
.tag--dark { background: rgba(255,255,255,.1); color: #f6c95a; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text); max-width: 62ch; }
.lead--light { color: #c6d0de; }

/* ---------- Announcement ---------- */
.announce { background: var(--navy); color: #dfe6f0; font-size: .88rem; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; text-align: center; }
.announce__pill { background: var(--green); color: var(--navy-900); font-weight: 800; font-size: .72rem; padding: .2em .7em; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.announce__link { color: #7fe0a6; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .3em; }
.announce__link .icon { width: 1em; height: 1em; }
.announce__link:hover { color: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.85);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(22,35,58,.35); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { flex: none; }
.brand__logo { height: 44px; width: auto; }

.nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav__item { position: relative; }
.nav__link, .nav__list--wp > li > a {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 10px 14px; border-radius: 10px; border: 0; background: none;
	font: 600 .96rem var(--font); color: var(--navy); text-decoration: none; cursor: pointer;
}
.nav__link:hover, .nav__list--wp > li > a:hover, .nav__item.is-open > .nav__link { background: var(--surface); color: var(--navy); }
.nav__chev { width: 1em; height: 1em; transition: transform .2s; }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__login { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none; }
.nav__login .icon { width: 1.05em; height: 1.05em; color: var(--green-600); }
.nav__login:hover { color: var(--green-700); }
.nav__actions .btn { padding: .65em 1.15em; font-size: .92rem; }

/* WP menu dropdowns */
.nav__list--wp li { position: relative; list-style: none; }
.nav__list--wp .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.nav__list--wp li:hover > .sub-menu, .nav__list--wp li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list--wp .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .94rem; }
.nav__list--wp .sub-menu a:hover { background: var(--surface); }

/* Mega menu */
.mega {
	position: absolute; top: calc(100% + 10px); left: 50%; width: 640px;
	transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg); padding: 12px; transition: opacity .2s, transform .2s, visibility .2s;
}
.mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item.is-open .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1025px) { .has-mega:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); } .has-mega:hover .nav__chev { transform: rotate(180deg); } }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__item { display: flex; gap: 14px; padding: 14px; border-radius: var(--radius); text-decoration: none; color: var(--text); transition: background .15s; }
.mega__item:hover { background: var(--green-50); color: var(--text); }
.mega__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.mega__title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.mega__desc { display: block; font-size: .87rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 14px 16px; background: var(--surface); border-radius: var(--radius); font-size: .88rem; color: var(--muted); }
.mega__foot a { font-weight: 700; text-decoration: none; display: inline-flex; gap: 4px; align-items: center; }
.mega__foot .icon { width: 1em; height: 1em; }

.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; place-items: center; }
.nav-burger .icon { width: 22px; height: 22px; }
.nav-burger__close { display: none; }
.nav-open .nav-burger__open { display: none; }
.nav-open .nav-burger__close { display: block; }

@media (max-width: 1024px) {
	.site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
	.nav-burger { display: grid; }
	.nav {
		position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 0;
		background: #fff; padding: 16px var(--gutter) 32px; overflow-y: auto;
		transform: translateY(-12px); opacity: 0; transition: transform .25s ease, opacity .25s ease, visibility .25s; visibility: hidden;
	}
	.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
	.nav__link, .nav__list--wp > li > a { width: 100%; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
	.mega { position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: 0; display: none; opacity: 1; visibility: visible; }
	.nav__item.is-open .mega { display: block; transform: none; }
	.mega__grid { grid-template-columns: 1fr; }
	.mega__foot { display: none; }
	.nav__list--wp .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; }
	.nav__actions { flex-direction: column; align-items: stretch; margin-top: 24px; gap: 12px; }
	.nav__actions .btn { padding: .9em; font-size: 1rem; }
	.nav__login { justify-content: center; padding: 12px; border: 1px solid var(--line); border-radius: 999px; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--flush-top { padding-top: 0; }
.section--soft { background: var(--surface); }
.section--mint { background: linear-gradient(180deg, var(--green-50), #fff); }
.section--navy { background: var(--navy); color: #c6d0de; position: relative; overflow: hidden; }
.section--navy::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; background: radial-gradient(circle, rgba(59,182,109,.22), transparent 65%); pointer-events: none; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy h2 em { color: #7fe0a6; background: none; }
.section--navy .section-head .lead { color: #c6d0de; }
.section--navy .eyebrow { color: #7fe0a6; }
.section-head { max-width: 760px; margin: 0 auto 48px; }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--left { margin-left: 0; margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); position: relative; }
.split--center { align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
	.split { grid-template-columns: 1fr; }
	.split--reverse > :first-child { order: 0; }
}

/* ---------- Hero ---------- */
.hero, .page-hero, .form-page { position: relative; overflow: hidden; }
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 104px); }
.page-hero { padding: clamp(56px, 7vw, 88px) 0; }
.page-hero--simple { padding: clamp(48px, 6vw, 72px) 0 8px; }
.page-hero--center { padding-bottom: 48px; }
.hero__bg {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(60% 60% at 85% 10%, rgba(59,182,109,.16), transparent 60%),
		radial-gradient(50% 50% at 0% 100%, rgba(22,35,58,.07), transparent 60%),
		linear-gradient(180deg, var(--green-50), #fff 70%);
}
.hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(rgba(22,35,58,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(22,35,58,.045) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(70% 60% at 70% 30%, #000, transparent 75%);
	-webkit-mask-image: radial-gradient(70% 60% at 70% 30%, #000, transparent 75%);
}
.hero__inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__copy h1 { margin-bottom: 20px; }
.hero__checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .92rem; font-weight: 600; color: var(--navy-700); }
.hero__checks li { display: inline-flex; align-items: center; gap: 6px; }
.hero__checks .icon { color: var(--green-600); width: 1.1em; height: 1.1em; }
.hero__visual { position: relative; }
.hero__visual .browser { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
@media (max-width: 960px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual .browser { transform: none; }
}

.browser { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.browser__bar { display: flex; gap: 6px; padding: 11px 14px; background: #f1f4f8; border-bottom: 1px solid var(--line); }
.browser__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d3d9e2; }
.browser__bar span:first-child { background: #ff6159; } .browser__bar span:nth-child(2) { background: #ffbd2e; } .browser__bar span:nth-child(3) { background: #28c941; }
.browser img { width: 100%; }

.float-card {
	position: absolute; display: flex; align-items: center; gap: 12px;
	background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px;
	box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.35; color: var(--muted);
	animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--navy); font-size: .92rem; }
.float-card__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); flex: none; }
.float-card__icon--red { background: var(--red-100); color: var(--red); }
.float-card--alert { left: -28px; bottom: 18%; }
.float-card--ok { right: -16px; top: -18px; animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 600px) { .float-card--alert { left: 8px; bottom: -24px; } .float-card--ok { right: 8px; top: -24px; } }

/* ---------- Logos ---------- */
.logos { padding: 36px 0 12px; }
.logos__label { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 6vw, 72px); }
.logos__row img { height: 40px; width: auto; filter: grayscale(1); opacity: .65; transition: .2s; }
.logos__row img:hover { filter: none; opacity: 1; }

/* ---------- Module cards ---------- */
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.module-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .module-grid, .module-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .module-grid, .module-grid--3 { grid-template-columns: 1fr; } }
.module-card {
	position: relative; display: flex; flex-direction: column; gap: 10px;
	padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
	text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden;
}
.module-card::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.module-card:hover::after { transform: scaleX(1); }
.module-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.module-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--green); }
.module-card__icon .icon { width: 26px; height: 26px; }
.module-card__name { font-size: 1.25rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.module-card__text { font-size: .95rem; line-height: 1.55; flex: 1; }
.module-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--green-700); margin-top: 8px; }
.module-card__more .icon { width: 1em; height: 1em; transition: transform .2s; }
.module-card:hover .module-card__more .icon { transform: translateX(4px); }
.module-card.is-soon .module-card__icon { background: var(--surface); color: var(--navy-500); }

/* ---------- Feature lists, tiles ---------- */
.feature-list { list-style: none; display: grid; gap: 20px; margin-top: 28px; }
.feature-list li { display: flex; gap: 16px; }
.feature-list li > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--green-100); color: var(--green-700); }
.feature-list strong { display: block; color: var(--navy); font-size: 1.02rem; margin-bottom: 2px; }
.feature-list div { font-size: .96rem; line-height: 1.55; }

.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tile-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .tile-grid, .tile-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tile-grid, .tile-grid--2, .tile-grid--3 { grid-template-columns: 1fr; } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: box-shadow .2s, transform .2s; }
.tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tile p { font-size: .95rem; margin: 0; line-height: 1.6; }
.tile__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-100); color: var(--green-700); margin-bottom: 18px; }
.tile__icon .icon { width: 24px; height: 24px; }
.tile--lg { padding: 32px; }
.section--soft .tile { border-color: transparent; box-shadow: var(--shadow-sm); }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps::before { content: ""; position: absolute; top: 26px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 16px); opacity: .5; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.15rem; box-shadow: 0 0 0 8px #fff; }
.section--soft .step__num { box-shadow: 0 0 0 8px var(--surface); }
.step p { font-size: .95rem; max-width: 34ch; margin: 0 auto; }
@media (max-width: 900px) {
	.steps, .steps--4, .steps--5 { grid-template-columns: 1fr; gap: 28px; }
	.steps::before { display: none; }
	.step { text-align: left; display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; }
	.step__num { grid-row: span 2; margin: 0; }
	.step p { margin: 0; max-width: none; }
}

/* ---------- Audit stats ---------- */
.risk-list { list-style: none; display: grid; gap: 18px; margin-top: 32px; }
.risk-list li { display: flex; gap: 14px; font-size: .95rem; line-height: 1.55; }
.risk-list span { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #7fe0a6; }
.risk-list strong { display: block; color: #fff; }
.stat-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
@media (max-width: 600px) { .stat-stack { grid-template-columns: 1fr; } .stat-stack > * { grid-column: auto !important; } }
.stat-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 22px; }
.stat-card--feature { grid-column: span 3; background: linear-gradient(135deg, var(--green) 0%, #2fa05e 100%); border: 0; }
.stat-card__num { display: block; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.stat-card--feature .stat-card__num { color: var(--navy-900); font-size: clamp(2.6rem, 5vw, 3.6rem); }
.stat-card__label { display: block; font-size: .9rem; margin-top: 6px; line-height: 1.45; }
.stat-card--feature .stat-card__label { color: var(--navy); font-weight: 600; }
.stat-source { grid-column: span 3; font-size: .78rem; color: #8c99ad; margin: 4px 0 0; }

/* ---------- Alert cards (Billing Guard) ---------- */
.alert-stack { display: grid; gap: 14px; max-width: 520px; margin-left: auto; }
.alert-card {
	background: #fff; border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--line);
	border-left: 4px solid var(--red); box-shadow: var(--shadow);
	animation: slideIn .6s both; animation-delay: calc(var(--i) * .12s);
}
.alert-card:nth-child(even) { margin-left: 28px; margin-right: -28px; }
.alert-card--warn { border-left-color: var(--amber); }
.alert-card p { font-size: .9rem; line-height: 1.5; margin: 8px 0 12px; color: var(--text); }
.alert-card__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.alert-card__badge { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .25em .6em; border-radius: 6px; background: var(--red-100); color: #b4232a; }
.alert-card__badge .icon { width: 1.1em; height: 1.1em; }
.alert-card--warn .alert-card__badge { background: var(--amber-100); color: #8a5a00; }
.alert-card__title { font-weight: 700; color: var(--navy); font-size: .95rem; }
.alert-card__foot { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--muted); }
.alert-card__init span { display: inline-block; margin-left: 6px; padding: 2px 8px; border: 1px dashed var(--line); border-radius: 6px; font-weight: 700; color: var(--navy); }
.alert-card__btn { background: var(--navy); color: #fff; padding: 5px 12px; border-radius: 999px; font-weight: 700; }
@keyframes slideIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .alert-card:nth-child(even) { margin: 0; } }

/* ---------- Product mockups ---------- */
.mock { background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; font-size: .85rem; max-width: 560px; margin: 0 auto; }
.mock--shot { max-width: none; }
.mock--shot img { width: 100%; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f1f4f8; border-bottom: 1px solid var(--line); }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d3d9e2; }
.mock__bar em { margin-left: 10px; font-style: normal; font-size: .75rem; color: var(--muted); background: #fff; padding: 2px 10px; border-radius: 6px; flex: 1; max-width: 260px; }
.mock__body { padding: 22px; display: grid; gap: 18px; }
.mock-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-steps span { font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--surface); color: var(--muted); }
.mock-steps .is-done { background: var(--green-100); color: var(--green-700); }
.mock-steps .is-active { background: var(--navy); color: #fff; }
.mock-field label, .panel label, .kpi label, .ma-q label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.chips, .ma-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.chip, .ma-opts span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; color: var(--navy-700); font-size: .8rem; }
.chip.is-on, .ma-opts .is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.harm { display: grid; grid-template-columns: repeat(6, 1fr); border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.harm span { text-align: center; padding: 8px 2px; font-size: .7rem; font-weight: 700; color: var(--muted); border-right: 1px solid var(--line); }
.harm span:last-child { border: 0; }
.harm .is-on { background: var(--green); color: var(--navy-900); }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-field--box { background: var(--surface); padding: 12px; border-radius: 12px; }
.mock-field--box label { margin-bottom: 2px; }
.mock-field--box strong { color: var(--navy); font-size: .9rem; }
.mock-foot { display: flex; justify-content: flex-end; gap: 8px; }
.mock-btn { background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .8rem; }
.mock-btn--ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
@media (max-width: 480px) { .harm span { font-size: .6rem; } .mock-row { grid-template-columns: 1fr 1fr; } .mock-row > :last-child { display: none; } }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--surface); padding: 14px; border-radius: 12px; }
.kpi strong { display: block; font-size: 1.3rem; color: var(--navy); letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: .72rem; font-weight: 700; }
.kpi .up { color: var(--green-700); } .kpi .down { color: var(--green-700); }
.mock-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 10px; }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 120px; }
.bars span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--green), #8fdcae); }
.bars span:nth-child(odd) { opacity: .75; }
.store-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.store-table td { padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 600; }
.store-table tr:last-child td { border: 0; }
.store-table td:nth-child(2) { width: 42%; padding: 0 10px; }
.store-table td:last-child { text-align: right; }
.meter { display: block; height: 6px; border-radius: 6px; background: var(--surface); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--green); border-radius: 6px; }
@media (max-width: 480px) { .mock-grid { grid-template-columns: 1fr; } .kpi strong { font-size: 1.05rem; } }

.ma-head { display: flex; flex-direction: column; gap: 6px; }
.ma-head strong { font-size: 1.05rem; color: var(--navy); }
.ma-pill { align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--green-100); color: var(--green-700); padding: 3px 10px; border-radius: 999px; }
.ma-rec { display: flex; gap: 12px; background: var(--green-50); border: 1px solid #bfe8cf; border-radius: 12px; padding: 14px; }
.ma-rec .icon { color: var(--green-600); width: 24px; height: 24px; }
.ma-rec strong { display: block; color: var(--navy); }
.ma-rec span { color: var(--muted); font-size: .8rem; }

/* ---------- Tabs ---------- */
.tabs__list { display: flex; justify-content: center; gap: 6px; background: #fff; border: 1px solid var(--line); padding: 6px; border-radius: 999px; width: max-content; max-width: 100%; margin: 0 auto 40px; overflow-x: auto; }
.tabs__list button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font: 700 .92rem var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs__list button[aria-selected="true"] { background: var(--navy); color: #fff; }
.tabs__panel h3 { font-size: 1.5rem; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .quote-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }
.quote { margin: 0; background: #fff; border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.quote__stars { color: #f5b301; letter-spacing: 2px; margin-bottom: 14px; }
.quote blockquote { margin: 0 0 24px; flex: 1; }
.quote blockquote p { font-size: .98rem; line-height: 1.65; color: var(--navy-700); margin: 0; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--muted); line-height: 1.35; }
.quote figcaption strong { color: var(--navy); }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--green); font-weight: 800; font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap__intro { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap__intro { position: static; } }
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--navy); transition: transform .25s, background .2s; }
.faq__icon .icon { width: 18px; height: 18px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--green); color: var(--navy-900); }
.faq__a { padding: 0 24px 20px; }
.faq__a p { margin: 0; font-size: .97rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; background: var(--navy); color: #c6d0de; border-radius: 28px; padding: clamp(36px, 6vw, 64px); }
.cta-band__glow { position: absolute; width: 520px; height: 520px; right: -120px; bottom: -260px; background: radial-gradient(circle, rgba(59,182,109,.45), transparent 65%); pointer-events: none; }
.cta-band__body { position: relative; max-width: 620px; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band__checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: .9rem; font-weight: 600; }
.cta-band__checks li { display: flex; align-items: center; gap: 6px; }
.cta-band__checks .icon { color: var(--green); width: 1.1em; height: 1.1em; }
.cta-band .btn-row { position: relative; margin-top: 0; }

/* ---------- Incident Reporting page ---------- */
.deadline { display: flex; gap: 14px; align-items: flex-start; margin-top: 32px; padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); max-width: 540px; }
.deadline__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--amber-100); color: #8a5a00; }
.deadline strong { display: block; color: var(--navy); }
.deadline span { font-size: .9rem; }
.deadline b { color: var(--green-700); }

.pain { text-align: center; max-width: 820px; margin: 0 auto; }
.pain__q { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.25; }
.pain__a { font-size: 1.1rem; }

.map-table { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.map-table__row { display: grid; grid-template-columns: 1fr 1.1fr 1.5fr; gap: 24px; padding: 18px 28px; border-bottom: 1px solid var(--line); align-items: center; font-size: .94rem; }
.map-table__row:last-child { border: 0; }
.map-table__row--head { background: var(--navy); color: #fff; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding-top: 14px; padding-bottom: 14px; }
.map-table__sec { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); }
.map-table__icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.map-table__icon .icon { width: 18px; height: 18px; }
.map-table__paper { color: var(--muted); }
.map-table__arx { display: flex; gap: 10px; align-items: flex-start; color: var(--navy-700); }
.map-table__arx > .icon { color: var(--green-600); margin-top: 3px; width: 1.1em; height: 1.1em; }
@media (max-width: 800px) {
	.map-table__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
	.map-table__row--head { display: none; }
	.map-table__paper::before { content: "Paper form: "; font-weight: 700; }
}

.compare { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.compare__row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .93rem; }
.compare__row:last-child { border: 0; }
.compare__row > span { padding: 16px 20px; text-align: center; }
.compare__row > span:first-child { text-align: left; color: #fff; font-weight: 600; }
.compare__row--head { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #8c99ad; }
.compare__us { background: rgba(59,182,109,.12); color: #fff; }
.compare__row--head .compare__us { color: #7fe0a6; }
.compare .yes, .compare .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.compare .yes { background: var(--green); color: var(--navy-900); }
.compare .no { background: rgba(255,255,255,.08); color: #8c99ad; }
.compare .icon { width: 16px; height: 16px; stroke-width: 2.5; }
@media (max-width: 760px) {
	.compare { overflow-x: auto; }
	.compare__row { min-width: 620px; }
}

/* ---------- Multistore page ---------- */
.question-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .question-grid { grid-template-columns: 1fr; } }
.question { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.question > span { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--green); }
.question h3 { margin-bottom: 6px; }
.question p { margin: 0; font-size: .95rem; }
.stack-list { display: grid; gap: 14px; }
.stack-item { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--muted); font-size: .92rem; transition: .2s; }
a.stack-item:hover { border-color: var(--green); color: var(--muted); transform: translateX(4px); }
.stack-item > span { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.stack-item strong { display: block; color: var(--navy); font-size: 1rem; }
.stack-item--result { background: var(--navy); border-color: var(--navy); color: #c6d0de; }
.stack-item--result strong { color: #fff; }
.stack-item--result > span { background: var(--green); color: var(--navy-900); }

/* ---------- Pricing ---------- */
.promo-banner { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 720px; margin: 0 auto 32px; padding: 14px 20px; border-radius: 999px; background: var(--green-100); color: var(--navy); font-size: .95rem; text-align: center; }
.promo-banner .icon { color: var(--green-700); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1000px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.price-card.is-featured { border: 2px solid var(--green); box-shadow: var(--shadow-lg); }
@media (min-width: 1001px) { .price-card.is-featured { transform: translateY(-12px); } }
.price-card__ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--green); color: var(--navy-900); font-weight: 800; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.price-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--green); margin-bottom: 18px; }
.price-card__head h3 { font-size: 1.3rem; margin-bottom: 4px; }
.price-card__head p { color: var(--muted); font-size: .94rem; }
.price-card__price { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 6px 0 18px; }
.price-card__price s { color: var(--muted); font-size: 1.1rem; margin-right: 6px; }
.price-card__price strong { font-size: 2.6rem; color: var(--navy); letter-spacing: -.03em; font-weight: 800; }
.price-card__price strong.is-text { font-size: 1.6rem; }
.price-card__price > span { color: var(--muted); font-weight: 600; }
.price-card__price small { display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; }
.price-card__trial { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; background: var(--green-100); color: var(--green-700); font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.price-card__trial .icon { width: 1em; height: 1em; }
.checks { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; flex: 1; }
.checks li { display: flex; gap: 10px; font-size: .94rem; line-height: 1.45; }
.checks .icon { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green-100); color: var(--green-700); stroke-width: 3; margin-top: 1px; }
.checks--lg { margin: 24px 0; }
.checks--lg li { font-size: 1rem; }
.price-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.addon-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
@media (max-width: 1000px) { .addon-row { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
.addon { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--surface); }
.addon > div { flex: 1; font-size: .9rem; color: var(--muted); }
.addon strong { color: var(--navy); font-size: 1.02rem; }
.addon > div > span:last-child { display: block; }
.addon__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--green-700); }
@media (max-width: 520px) { .addon { flex-wrap: wrap; } }

/* ---------- Form pages ---------- */
.form-page { padding: clamp(48px, 7vw, 88px) 0; }
.form-page__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.form-page__grid--wide { grid-template-columns: .8fr 1.2fr; }
@media (max-width: 900px) { .form-page__grid, .form-page__grid--wide { grid-template-columns: 1fr; } }
.form-page h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card--meetings { padding: 8px; min-height: 680px; }
.form-card__extra { margin-top: 24px; }
.contact-list { list-style: none; display: grid; gap: 14px; margin: 28px 0; }
.contact-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.contact-list span { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.contact-list a { color: var(--navy); text-decoration: none; }
.contact-list a:hover { color: var(--green-700); }
.mini-quote { border-left: 3px solid var(--green); padding: 4px 0 4px 18px; margin-top: 32px; }
.mini-quote p { font-style: italic; color: var(--navy-700); margin-bottom: 6px; }
.mini-quote span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.form-fallback { text-align: center; }
.form-fallback .btn { margin: 4px; }
.admin-hint { margin-top: 16px; padding: 12px; background: var(--amber-100); border-radius: 10px; font-size: .85rem; color: #6b4a00; text-align: left; }

/* HubSpot form styling (v2 embeds render into the page, so these apply) */
.hs-embed .hs-form-field { margin-bottom: 16px; }
.hs-embed label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.hs-embed .hs-form-required { color: var(--red); margin-left: 2px; }
.hs-embed input[type="text"], .hs-embed input[type="email"], .hs-embed input[type="tel"], .hs-embed input[type="number"], .hs-embed select, .hs-embed textarea {
	width: 100% !important; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: 400 1rem var(--font); color: var(--navy); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.hs-embed input:focus, .hs-embed select:focus, .hs-embed textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(59,182,109,.15); }
.hs-embed fieldset { max-width: none !important; }
.hs-embed .input { margin-right: 0 !important; }
.hs-embed .form-columns-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.hs-embed .form-columns-2 .hs-form-field { width: 100% !important; float: none !important; }
@media (max-width: 520px) { .hs-embed .form-columns-2 { grid-template-columns: 1fr; } }
.hs-embed .inputs-list { list-style: none; padding: 0; }
.hs-embed .hs-error-msgs { list-style: none; padding: 0; margin: 4px 0 0; color: var(--red); font-size: .82rem; }
.hs-embed .hs-button, .hs-embed .hs-button.primary, .hs-embed input[type="submit"] { background: var(--navy) !important; border-color: var(--navy) !important; color: #fff !important; border-radius: 999px !important; padding: 14px 28px !important; font: 700 1rem var(--font) !important; cursor: pointer; width: 100%; margin-top: 8px; transition: background .2s; box-shadow: none !important; }
.hs-embed .hs-form-field label:not(.hs-error-msg) { color: var(--navy) !important; font-family: var(--font) !important; }
.hs-embed input, .hs-embed select, .hs-embed textarea { font-family: var(--font) !important; }
.hs-embed .hs-button:hover, .hs-embed input[type="submit"]:hover { background: var(--navy-900) !important; }
.hs-embed .legal-consent-container { font-size: .8rem; color: var(--muted); }
.hs-embed .submitted-message { text-align: center; font-weight: 600; color: var(--navy); padding: 24px 0; }

/* ---------- Prose (legal pages, editor content) ---------- */
.prose { font-size: 1rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
.prose strong { color: var(--navy); }
.prose img { border-radius: var(--radius); }
.prose blockquote { border-left: 3px solid var(--green); margin: 1.5em 0; padding-left: 1.2em; color: var(--navy-700); }

/* ---------- Blog list ---------- */
.post-list { display: grid; gap: 20px; }
.post-card { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.post-card__meta { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.post-card__title { font-size: 1.4rem; }
.post-card__title a { color: var(--navy); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fabbd; padding: 72px 0 28px; margin-top: clamp(40px, 6vw, 72px); font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: span 2; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } .footer__brand { grid-column: auto; } }
.footer__logo { height: 48px; width: auto; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 18px; }
.footer__brand p { max-width: 36ch; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; transition: .2s; }
.footer__social a:hover { background: var(--green); color: var(--navy-900); }
.footer__social .icon { width: 18px; height: 18px; }
.footer__h { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer__list { list-style: none; display: grid; gap: 10px; }
.footer__list a, .footer__legal a { color: #c6d0de; text-decoration: none; }
.footer__list a:hover, .footer__legal a:hover { color: var(--green); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer__legal { list-style: none; display: flex; gap: 20px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Native WordPress forms ---------- */
.arx-form { scroll-margin-top: calc(var(--header-h) + 24px); }
.arx-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.arx-field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .arx-form__grid { grid-template-columns: 1fr; } }
.arx-field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.arx-field .req { color: var(--red); font-style: normal; }
.arx-field input:not([type="checkbox"]), .arx-field select, .arx-field textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
	font: 400 1rem var(--font); color: var(--navy); background: #fff;
	transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.arx-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316233a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.arx-field textarea { resize: vertical; min-height: 110px; }
.arx-field input:focus, .arx-field select:focus, .arx-field textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(59,182,109,.15); }
.arx-field.has-error input, .arx-field.has-error select, .arx-field.has-error textarea { border-color: var(--red); }
.arx-field__err { color: #b4232a; font-size: .82rem; margin: 6px 0 0; }
.arx-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: .9rem; color: var(--text) !important; cursor: pointer; }
.arx-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green-600); flex: none; }
.arx-form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.arx-form__alert { background: var(--red-100); color: #b4232a; border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: .92rem; margin-bottom: 18px; }
.arx-form__submit { width: 100%; margin-top: 22px; padding: 1em; font-size: 1rem; }
.arx-form__privacy { font-size: .8rem; color: var(--muted); text-align: center; margin: 14px 0 0; }
.arx-form--sent { text-align: center; padding: 24px 8px; }
.arx-form--sent:focus { outline: none; }
.arx-form__ok { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-100); color: var(--green-700); margin-bottom: 14px; }
.arx-form__ok .icon { width: 32px; height: 32px; }
.arx-form--sent h3 { font-size: 1.5rem; }
