/* ==========================================================================
   Accounting Gurus Kit — shared section styles (all AG widgets)
   No font-size controls exist in the panel; sizes below are the design defaults.
   ========================================================================== */

.ag-sec {
	--ag-purple: #3b0944;
	--ag-magenta: #b3179c;
	--ag-dark: #2b0b3d;
	--ag-lav: #f6ecf7;
	--ag-pink: #fbe6f3;
	--ag-line: #e8dcea;
	--ag-muted: #5d4d63;
	--ag-ink: #241029;
	position: relative;
	width: 100%;
	padding: 64px 24px;
	color: var(--ag-ink);
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}

.ag-sec *,
.ag-sec *::before,
.ag-sec *::after {
	box-sizing: border-box;
}

.ag-sec h1, .ag-sec h2, .ag-sec h3, .ag-sec h4, .ag-sec p, .ag-sec ul {
	margin-top: 0;
}

.ag-sec a {
	text-decoration: none;
}

.ag-full {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

body:has(.ag-full) {
	overflow-x: clip;
}

.ag-wrap {
	max-width: 1200px;
	margin: 0 auto;
}

.ag-svg {
	width: 24px;
	height: 24px;
	display: block;
}

.ag-arrow {
	display: inline-block;
	margin-left: 4px;
}

/* ---------- Section heading ---------- */
.ag-head {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 40px;
	text-align: center;
}

.ag-head > * {
	margin-top: 0;
	margin-bottom: 0;
	margin-left: var(--ag-ml, auto);
	margin-right: var(--ag-mr, auto);
}

.ag-head-left {
	text-align: left;
	--ag-ml: 0px;
	--ag-mr: auto;
}

.ag-eyebrow {
	display: block;
	color: var(--ag-magenta);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ag-title {
	margin-top: 0;
	margin-bottom: 0;
	color: var(--ag-ink);
	font-size: clamp(28px, 3.4vw, 42px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.01em;
}

.ag-sub {
	max-width: 660px;
	margin-top: 0;
	margin-bottom: 0;
	color: var(--ag-muted);
	font-size: 17px;
	line-height: 1.7;
}

.ag-head-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 28px;
	margin-bottom: 30px;
}

.ag-head-row .ag-head {
	margin-bottom: 0;
	text-align: left;
	--ag-ml: 0px;
	--ag-mr: auto;
}

.ag-foot {
	margin-top: 32px;
	text-align: center;
}

.ag-foot.ag-btn-row {
	justify-content: center;
}

.ag-foot-left {
	text-align: left;
}

.ag-foot-link {
	color: var(--ag-magenta);
	font-weight: 600;
}

.ag-note {
	display: block;
	margin-top: 14px;
	color: #886c8d;
	font-size: 12px;
	line-height: 1.6;
}

.ag-foot + .ag-note,
.ag-btn-row + .ag-note {
	text-align: center;
}

.ag-empty-note {
	padding: 24px;
	text-align: center;
	color: var(--ag-muted);
}

/* ---------- Buttons ---------- */
.ag-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.ag-btn {
	display: inline-block;
	padding: 14px 26px;
	border: 1.5px solid var(--ag-purple);
	border-radius: 10px;
	background: var(--ag-purple);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}

.ag-btn:hover,
.ag-btn:focus {
	background: var(--ag-magenta);
	border-color: var(--ag-magenta);
	color: #fff;
	transform: translateY(-1px);
}

.ag-btn-status {
	background: #fff;
	border-color: #d9c6dd;
	color: var(--ag-purple);
	opacity: .75;
	cursor: default;
}

.ag-btn-status:hover {
	background: #fff;
	border-color: #d9c6dd;
	color: var(--ag-purple);
	transform: none;
}

/* ---------- Grid ---------- */
.ag-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(var(--ag-min, 240px), 1fr));
}

/* ---------- Cards ---------- */
.ag-card {
	background: #fff;
	border: 1px solid var(--ag-line);
	border-radius: 18px;
	padding: 26px;
	color: inherit;
}

.ag-card-col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ag-card-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px;
	border-radius: 16px;
	transition: transform .2s, box-shadow .2s;
}

a.ag-card-row:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(36, 16, 41, .1);
}

.ag-card-title {
	margin: 0;
	color: var(--ag-purple);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
}

.ag-card-title a {
	color: inherit;
}

.ag-card-text {
	margin: 0;
	color: var(--ag-muted);
	font-size: 15px;
	line-height: 1.65;
}

.ag-card-label {
	color: var(--ag-magenta);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ag-card-link {
	display: inline-block;
	margin-top: auto;
	color: var(--ag-magenta);
	font-size: 14px;
	font-weight: 600;
}

.ag-ico {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--ag-lav);
	color: var(--ag-magenta);
}

.ag-ico svg,
.ag-ico i {
	width: 24px;
	height: 24px;
	font-size: 22px;
}

.ag-ico-round {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	color: #5b2a9a;
}

.ag-pill {
	align-self: flex-start;
	display: inline-block;
	padding: 7px 13px;
	border-radius: 100px;
	background: var(--ag-pink);
	color: #8a1478;
	font-size: 12px;
	font-weight: 700;
}

.ag-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ag-chip {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--ag-pink);
	color: var(--ag-purple);
	font-size: 14px;
	font-weight: 500;
}

.ag-chip-white {
	background: #fff;
	border: 1px solid #efe5f0;
	font-size: 12px;
	padding: 6px 12px;
	font-weight: 600;
}

/* ---------- Themes (feature cards) ---------- */
.ag-theme-light {
	background: #fff;
}

.ag-theme-soft {
	background: var(--ag-lav);
}

.ag-theme-dark {
	background: linear-gradient(180deg, #2b0b3d 0%, #3b0944 100%);
	color: #fff;
}

.ag-theme-dark .ag-title,
.ag-theme-dark .ag-card-title {
	color: #fff;
}

.ag-theme-dark .ag-eyebrow,
.ag-theme-dark .ag-card-link,
.ag-theme-dark .ag-foot-link {
	color: #f0a8e6;
}

.ag-theme-dark .ag-sub {
	color: #d9cde0;
}

.ag-theme-dark .ag-card {
	background: #35104a;
	border-color: #5d2d6d;
}

.ag-theme-dark .ag-card-text {
	color: #e6d9ea;
}

.ag-theme-dark .ag-ico {
	background: #4a1a5e;
	color: #f0a8e6;
}

/* ---------- Logo strip ---------- */
.ag-logos {
	padding-top: 26px;
	padding-bottom: 26px;
	background: #fff;
	border-bottom: 1px solid var(--ag-line);
}

.ag-logos-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 40px;
}

.ag-logos-label {
	max-width: 220px;
	padding-right: 32px;
	border-right: 1px solid var(--ag-line);
	color: var(--ag-muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	line-height: 1.5;
	text-transform: uppercase;
}

.ag-logos-list {
	flex: 1;
	min-width: 300px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
}

.ag-logo-item {
	color: #a99bae;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: .02em;
}

.ag-logo-item img {
	display: block;
	height: 34px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
}

.ag-gray .ag-logo-item img {
	filter: grayscale(1);
	opacity: .7;
}

/* ---------- Quick cards ---------- */
.ag-quick {
	padding-top: 36px;
	padding-bottom: 36px;
}

.ag-quick .ag-card-title {
	color: var(--ag-ink);
	font-size: 16px;
	line-height: 1.35;
}

/* ---------- Stats ---------- */
.ag-stats-centered {
	background: var(--ag-dark);
	color: #fff;
	padding-top: 30px;
	padding-bottom: 30px;
}

.ag-stats-centered .ag-stats-grid {
	--ag-min: 200px;
	gap: 20px 32px;
}

.ag-stats-centered .ag-stat {
	display: flex;
	flex-direction: column;
	text-align: center;
}

.ag-stats-centered .ag-stat-value {
	color: #fff;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
}

.ag-stats-centered .ag-stat-label {
	color: #fff;
	font-size: 14px;
	opacity: .9;
}

.ag-stats-icon {
	background: #fff;
	padding-top: 26px;
	padding-bottom: 26px;
}

.ag-stats-icon .ag-stats-grid {
	--ag-min: 220px;
	gap: 0;
}

.ag-stats-icon .ag-stat {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 15px;
	border-right: 1px solid var(--ag-line);
}

.ag-stats-icon .ag-stat:last-child {
	border-right: 0;
}

.ag-stat-badge {
	flex-shrink: 0;
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--ag-lav);
	color: var(--ag-purple);
	font-size: 14px;
	font-weight: 700;
}

.ag-stat-badge svg {
	width: 20px;
	height: 20px;
}

.ag-stats-icon .ag-stat-text {
	display: flex;
	flex-direction: column;
}

.ag-stats-icon .ag-stat-value {
	color: var(--ag-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.ag-stats-icon .ag-stat-label {
	color: var(--ag-muted);
	font-size: 12px;
}

/* ---------- Hero ---------- */
.ag-hero {
	--ag-panel-w: 56%;
	--ag-cut: 24%;
	padding: 0;
	overflow: hidden;
	background: #16111c;
	color: #fff;
}

.ag-hero-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: var(--ag-panel-w);
	background: linear-gradient(135deg, #2b0b3d 0%, #5d0d66 60%, #7a1280 100%);
	clip-path: polygon(var(--ag-cut) 0, 100% 0, 100% 100%, 0 100%);
}

.ag-hero-img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: var(--ag-panel-w);
	height: 100%;
	object-fit: cover;
	object-position: left center;
	clip-path: polygon(var(--ag-cut) 0, 100% 0, 100% 100%, 0 100%);
}

.ag-hero-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 26px;
	min-height: 480px;
	padding: 92px 24px 96px;
}

.ag-hero-copy {
	display: flex;
	flex-direction: column;
	gap: 22px;
	max-width: 760px;
}

.ag-hero .ag-eyebrow {
	color: #f0a8e6;
}

.ag-hero-h {
	margin: 0;
	color: #fff;
	font-size: clamp(36px, 4.6vw, 62px);
	font-weight: 600;
	line-height: 1.14;
	letter-spacing: -.02em;
}

.ag-hero-accent {
	color: #d21fb5;
}

.ag-hero-desc {
	max-width: 520px;
	margin: 0;
	color: #d9cde0;
	font-size: 19px;
	line-height: 1.65;
}

.ag-hero .ag-btn-1 {
	padding: 16px 28px;
	background: #5b2a9a;
	border-color: #5b2a9a;
}

.ag-hero .ag-btn-1:hover {
	background: var(--ag-magenta);
	border-color: var(--ag-magenta);
}

.ag-hero .ag-btn-2 {
	padding: 16px 28px;
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.ag-hero .ag-btn-2:hover {
	background: #fff;
	border-color: #fff;
	color: var(--ag-purple);
}

/* Story-card variant */
.ag-hero-card {
	background: radial-gradient(circle at 87% 20%, #783276 0%, transparent 35%), linear-gradient(115deg, #241029, #3b0944 61%, #5d0d66);
}

.ag-hero-card .ag-hero-inner {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	align-items: center;
	gap: 45px;
	min-height: 405px;
	padding-top: 60px;
	padding-bottom: 60px;
}

.ag-hero-card .ag-hero-h {
	max-width: 680px;
	letter-spacing: -.03em;
}

.ag-hero-card .ag-hero-accent {
	color: #f09ddd;
}

.ag-hero-visual {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 286px;
}

.ag-hero-frame {
	width: 93%;
	padding: 19px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 20px;
	background: rgba(255, 255, 255, .07);
	box-shadow: 0 25px 70px rgba(15, 6, 22, .43);
	transform: rotate(-3deg);
}

.ag-hero-card .ag-hero-card,
.ag-hero-frame .ag-hero-card {
	min-height: 210px;
	padding: 24px;
	border-radius: 13px;
	background: #fff;
	color: var(--ag-ink);
	transform: rotate(3deg);
}

.ag-dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 4px;
	border-radius: 50%;
	background: var(--ag-magenta);
}

.ag-hero-kicker {
	margin: 6px 0;
	color: var(--ag-magenta);
	font-size: 10px;
	font-weight: 700;
}

.ag-hero-frame h3 {
	margin: 21px 0 15px;
	color: var(--ag-purple);
	font-size: 23px;
	line-height: 1.4;
}

.ag-rule {
	display: block;
	height: 7px;
	margin: 9px 0;
	border-radius: 10px;
	background: #f0e7f1;
}

.ag-rule:nth-of-type(2) { width: 85%; }
.ag-rule:nth-of-type(3) { width: 68%; }

.ag-hero-badge {
	position: absolute;
	right: -9px;
	bottom: -15px;
	padding: 12px 18px;
	border-radius: 10px;
	background: #eec2e8;
	color: #43094a;
	font-size: 12px;
	font-weight: 700;
	box-shadow: 0 10px 24px rgba(18, 5, 25, .33);
}

/* ---------- Process ---------- */
.ag-process {
	background: transparent;
}

.ag-process .ag-steps {
	--ag-min: 200px;
	gap: 22px;
}

.ag-step {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ag-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--ag-purple);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
}

.ag-step-hl .ag-step-num {
	background: var(--ag-magenta);
}

.ag-step-line {
	display: block;
	height: 2px;
	background: linear-gradient(90deg, #3b0944, #e8dcea);
}

.ag-step .ag-card-title {
	font-size: 18px;
}

.ag-step .ag-card-text {
	font-size: 14px;
}

.ag-process-cards .ag-steps {
	--ag-min: 280px;
	gap: 18px;
}

.ag-process-cards .ag-step {
	background: #fff;
	border: 1px solid var(--ag-line);
	border-radius: 18px;
	padding: 22px;
}

.ag-process-cards .ag-step-num {
	width: 41px;
	height: 41px;
	margin-bottom: 5px;
	font-size: 16px;
}

.ag-process-cards .ag-card-title {
	font-size: 16px;
}

.ag-step-more {
	margin-top: auto;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ag-magenta);
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}

.ag-dialog {
	width: min(630px, calc(100% - 30px));
	padding: 0;
	border: 0;
	border-radius: 18px;
	box-shadow: 0 25px 100px rgba(25, 8, 30, .31);
	color: var(--ag-ink);
}

.ag-dialog::backdrop {
	background: rgba(26, 11, 33, .67);
}

.ag-dialog-in {
	padding: 30px;
}

.ag-dialog-close {
	float: right;
	width: 33px;
	height: 33px;
	border: 0;
	border-radius: 50%;
	background: var(--ag-lav);
	font-size: 19px;
	cursor: pointer;
}

.ag-dialog-count {
	margin: 0 0 8px;
}

.ag-dialog-title {
	margin: 0 0 10px;
	color: var(--ag-purple);
	font-size: 20px;
}

.ag-dialog p,
.ag-dialog li {
	color: var(--ag-muted);
	font-size: 14px;
	line-height: 1.7;
}

.ag-dialog li {
	margin-bottom: 6px;
}

.ag-dialog-get {
	margin-top: 14px;
	padding: 14px;
	border-radius: 14px;
	background: var(--ag-lav);
}

.ag-dialog-get p {
	margin: 5px 0 0;
}

.ag-dialog-nav {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-top: 24px;
}

.ag-dialog-nav button {
	padding: 8px 15px;
	border: 1px solid var(--ag-line);
	border-radius: 8px;
	background: #fff;
	color: var(--ag-purple);
	font-family: inherit;
	font-weight: 700;
	cursor: pointer;
}

.ag-dialog-nav button:disabled {
	opacity: .3;
	cursor: default;
}

/* ---------- Models ---------- */
.ag-models {
	background: var(--ag-lav);
}

.ag-models .ag-grid {
	--ag-min: 280px;
	gap: 24px;
}

.ag-models .ag-card {
	padding: 28px;
	gap: 14px;
}

.ag-models .ag-card-title {
	font-size: 22px;
}

.ag-suits {
	font-size: 14px;
}

.ag-suits b {
	color: var(--ag-ink);
}

.ag-price {
	margin: auto 0 0;
	color: var(--ag-magenta);
	font-size: 20px;
	font-weight: 600;
}

.ag-card-btn {
	background: transparent;
	color: var(--ag-purple);
}

.ag-card-btn:hover,
.ag-card-btn:focus {
	background: var(--ag-purple);
	border-color: var(--ag-purple);
	color: #fff;
}

.ag-topline .ag-card {
	border-top: 4px solid #b76bc2;
}

/* ---------- Tools ---------- */
.ag-tools {
	background: #fff;
}

.ag-split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 48px;
	align-items: start;
}

.ag-split-one {
	grid-template-columns: 1fr;
}

.ag-split-l,
.ag-split-r {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.ag-tools .ag-head {
	margin-bottom: 0;
}

.ag-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ag-group-box {
	padding: 22px;
	border: 1px solid var(--ag-line);
	border-radius: 18px;
	background: #fff;
}

.ag-group-title {
	margin: 0;
	color: var(--ag-purple);
	font-size: 19px;
	font-weight: 600;
}

.ag-tiles {
	display: grid;
	grid-template-columns: repeat(var(--ag-tile-cols, 4), minmax(0, 1fr));
	gap: 12px;
}

.ag-tile {
	padding: 16px 8px;
	border: 1px solid var(--ag-line);
	border-radius: 12px;
	background: #fff;
	color: var(--ag-purple);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

/* ---------- Testimonials ---------- */
.ag-testi-dark {
	background: radial-gradient(circle at 50% 0%, #5d0d66 0%, #35104a 55%, #2b0b3d 100%);
	color: #fff;
}

.ag-testi-dark .ag-title { color: #fff; }
.ag-testi-dark .ag-eyebrow { color: #f0a8e6; }
.ag-testi-dark .ag-sub { color: #d9cde0; }

.ag-slider {
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}

.ag-sl-window {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	border-radius: 18px;
}

.ag-sl-track {
	display: flex;
	transition: transform .4s ease;
}

.ag-slide {
	flex: 0 0 100%;
	min-width: 100%;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 220px;
	padding: 32px;
	border: 1px solid var(--ag-line);
	border-radius: 18px;
	background: #fff;
}

.ag-testi-dark .ag-slide {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .18);
	color: #fff;
}

.ag-stars {
	margin: 0;
	color: #ffd23f;
	font-size: 18px;
	letter-spacing: 3px;
}

.ag-slide-h {
	margin: 0;
	color: var(--ag-purple);
	font-size: 20px;
}

.ag-testi-dark .ag-slide-h {
	color: #fff;
}

.ag-quote {
	margin: 0;
	font-size: 18px;
	line-height: 1.7;
}

.ag-person {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-top: auto;
}

.ag-person-name {
	display: block;
	font-weight: 600;
}

.ag-person-role {
	display: block;
	margin-top: 3px;
	opacity: .8;
	font-size: 12px;
}

.ag-sl-btn {
	flex: none;
	padding: 10px 16px;
	border: 1.5px solid #fff;
	border-radius: 10px;
	background: #fff;
	color: var(--ag-purple);
	font-family: inherit;
	font-size: 16px;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}

.ag-sl-btn:hover {
	background: var(--ag-pink);
}

.ag-testi-light .ag-sl-btn,
.ag-testi-cards .ag-sl-btn {
	width: 43px;
	height: 43px;
	padding: 0;
	border: 1px solid #d5bddb;
	border-radius: 50%;
	font-size: 20px;
}

.ag-testi-light .ag-sl-btn:hover,
.ag-testi-cards .ag-sl-btn:hover {
	background: var(--ag-purple);
	color: #fff;
}

.ag-testi-light .ag-slide {
	align-items: center;
	text-align: center;
	box-shadow: 0 10px 23px rgba(36, 16, 41, .06);
}

.ag-testi-cards {
	background: var(--ag-lav);
	padding-top: 76px;
	padding-bottom: 76px;
}

.ag-testi-cards .ag-slider {
	display: block;
	max-width: none;
}

.ag-testi-cards .ag-sl-window {
	border-radius: 15px;
}

.ag-testi-cards .ag-slide {
	position: relative;
	gap: 8px;
	min-height: 290px;
	padding: 35px 42px;
	border-radius: 15px;
}

.ag-qmark {
	height: 43px;
	color: var(--ag-magenta);
	font-size: 60px;
	font-weight: 700;
	line-height: 1;
}

.ag-testi-cards .ag-quote {
	max-width: 740px;
	color: var(--ag-muted);
	font-size: 15px;
	line-height: 1.9;
}

.ag-sl-ctrl {
	display: flex;
	flex-shrink: 0;
	gap: 10px;
}

.ag-avatar {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--ag-pink);
	color: var(--ag-magenta);
	font-size: 11px;
	font-weight: 800;
}

.ag-sl-dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
}

.ag-sl-dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 20px;
	background: #cdb5d1;
	cursor: pointer;
	transition: width .2s, background-color .2s;
}

.ag-testi-dark .ag-sl-dots button {
	background: rgba(255, 255, 255, .35);
}

.ag-sl-dots button[aria-current="true"] {
	width: 26px;
	background: var(--ag-magenta);
}

.ag-testi-dark .ag-sl-dots button[aria-current="true"] {
	background: #fff;
}

/* ---------- FAQ ---------- */
.ag-faq-list {
	max-width: 860px;
	margin: 0 auto;
}

.ag-faq-lines .ag-faq-list {
	border-top: 1px solid var(--ag-line);
}

.ag-faq-lines .ag-faq-item {
	border-bottom: 1px solid var(--ag-line);
}

.ag-faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 0;
	color: var(--ag-ink);
	font-size: 17px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.ag-faq-q::-webkit-details-marker {
	display: none;
}

.ag-faq-q::after {
	content: "+";
	flex: none;
	color: var(--ag-magenta);
	font-size: 24px;
	line-height: 1;
}

.ag-faq-item[open] > .ag-faq-q::after {
	content: "−";
}

.ag-faq-a {
	padding: 0 0 24px;
	color: var(--ag-muted);
	font-size: 16px;
	line-height: 1.75;
}

.ag-faq-a p {
	margin: 0 0 12px;
}

.ag-faq-a p:last-child {
	margin-bottom: 0;
}

.ag-faq-boxed .ag-faq-item {
	margin-bottom: 10px;
	padding: 4px 20px;
	border: 1px solid var(--ag-line);
	border-radius: 12px;
	background: #fff;
}

.ag-faq-boxed .ag-faq-q {
	padding: 14px 0;
	font-size: 16px;
	font-weight: 700;
}

.ag-faq-boxed .ag-faq-a {
	padding-bottom: 16px;
	font-size: 14px;
}

/* ---------- Contact CTA ---------- */
.ag-cta {
	background: linear-gradient(135deg, #2b0b3d 0%, #5d0d66 100%);
	color: #fff;
}

.ag-cta .ag-title {
	color: #fff;
	text-align: inherit;
}

.ag-cta .ag-eyebrow {
	color: #f3bbe9;
}

.ag-cta .ag-sub {
	margin-top: 18px;
	color: #e6d9ea;
	max-width: none;
	text-align: inherit;
}

.ag-cta-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 56px;
	align-items: start;
}

.ag-cta-hasform .ag-cta-grid {
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.ag-cta-copy {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ag-cta-copy .ag-title,
.ag-cta-copy .ag-sub {
	margin: 0;
}

.ag-cta-split:not(.ag-cta-hasform) .ag-cta-copy {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.ag-cta-split:not(.ag-cta-hasform) .ag-btn-row {
	justify-content: center;
}

.ag-cta .ag-btn-1 {
	background: #fff;
	border-color: #fff;
	color: var(--ag-purple);
}

.ag-cta .ag-btn-1:hover {
	background: var(--ag-pink);
	border-color: var(--ag-pink);
	color: var(--ag-purple);
}

.ag-cta .ag-btn-2,
.ag-cta .ag-btn-3 {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.ag-cta .ag-btn-2:hover,
.ag-cta .ag-btn-3:hover {
	background: #fff;
	color: var(--ag-purple);
}

.ag-cta-details {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: #e6d9ea;
	font-size: 15px;
	line-height: 1.6;
}

.ag-cta-details p {
	margin: 0;
}

.ag-cta-details b {
	color: #fff;
}

.ag-cta-details a {
	color: inherit;
	text-decoration: underline;
}

.ag-cta-inline {
	padding-top: 64px;
	padding-bottom: 64px;
}

.ag-cta-inline .ag-cta-grid {
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 30px;
}

.ag-cta-inline .ag-title {
	font-size: 30px;
}

.ag-cta-inline .ag-sub {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.8;
}

.ag-cta-inline .ag-btn-1 {
	background: var(--ag-magenta);
	border-color: var(--ag-magenta);
	color: #fff;
}

.ag-cta-inline .ag-btn-1:hover {
	background: #8a1478;
	border-color: #8a1478;
	color: #fff;
}

.ag-cta-form-title {
	margin: 0 0 14px;
	color: #fff;
	font-size: 20px;
}

.ag-cta-form label {
	display: block;
	margin-bottom: 6px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

.ag-cta-form input[type="text"],
.ag-cta-form input[type="email"],
.ag-cta-form input[type="tel"],
.ag-cta-form input[type="url"],
.ag-cta-form input[type="number"],
.ag-cta-form textarea,
.ag-cta-form select {
	width: 100%;
	padding: 14px 16px;
	border: 1.5px solid var(--ag-line);
	border-radius: 10px;
	background: #fff;
	color: var(--ag-ink);
	font-family: inherit;
	font-size: 15px;
}

.ag-cta-form button[type="submit"],
.ag-cta-form input[type="submit"] {
	padding: 14px 26px;
	border: 1.5px solid #fff;
	border-radius: 10px;
	background: #fff;
	color: var(--ag-purple);
	font-family: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ag-cta-form button[type="submit"]:hover,
.ag-cta-form input[type="submit"]:hover {
	background: var(--ag-pink);
}

/* ---------- Audience cards ---------- */
.ag-audience {
	background: #fbfafb;
}

.ag-audience .ag-grid {
	--ag-min: 340px;
	gap: 22px;
}

.ag-audience .ag-card {
	padding: 28px;
	border-radius: 20px;
}

.ag-audience .ag-ico {
	width: 43px;
	height: 43px;
	border-radius: 13px;
}

.ag-audience .ag-card-title {
	font-size: 18px;
}

.ag-pain {
	margin: 4px 0;
	padding: 12px 14px;
	border-left: 3px solid #cf93d1;
	border-radius: 9px;
	background: #fbf8fc;
	color: #503c58;
	font-size: 13px;
	line-height: 1.6;
}

.ag-micro {
	margin-top: 6px;
	color: var(--ag-muted);
	font-size: 11px;
	letter-spacing: .06em;
}

.ag-audience .ag-card-btn {
	align-self: flex-start;
	margin-top: 14px;
	padding: 12px 20px;
	font-size: 13px;
}

/* ---------- Team ---------- */
.ag-team {
	background: #faf5fb;
}

.ag-team-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 45px;
}

.ag-team-one .ag-team-grid {
	grid-template-columns: 1fr;
}

.ag-team-rev .ag-team-img {
	order: 2;
}

.ag-team-img {
	min-height: 350px;
	overflow: hidden;
	border-radius: 20px;
	line-height: 0;
}

.ag-team-img img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 350px;
	object-fit: cover;
	border-radius: 20px;
}

.ag-team .ag-head {
	margin-bottom: 0;
}

.ag-statblocks {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 11px;
	margin-top: 22px;
}

.ag-statblock {
	padding: 14px;
	border: 1px solid var(--ag-line);
	border-radius: 12px;
	background: #fff;
}

.ag-statblock b {
	display: block;
	color: var(--ag-purple);
	font-size: 18px;
}

.ag-statblock span {
	color: var(--ag-muted);
	font-size: 12px;
}

/* ---------- Featured case ---------- */
.ag-case-feat {
	background: #fff;
}

.ag-fcase {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	overflow: hidden;
	border: 1px solid var(--ag-line);
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(36, 16, 41, .06);
}

.ag-fcase-one {
	grid-template-columns: 1fr;
}

.ag-fcase-rev .ag-fcase-art {
	order: 2;
}

.ag-fcase-art {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 355px;
	overflow: hidden;
	background: linear-gradient(145deg, #3b0944, #71116f);
}

.ag-fcase-art::before {
	content: "";
	position: absolute;
	top: -120px;
	left: -130px;
	width: 340px;
	height: 340px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 50%;
	box-shadow: 0 0 0 65px rgba(255, 255, 255, .035), 0 0 0 130px rgba(255, 255, 255, .03);
}

.ag-fcase-image {
	background: var(--ag-lav);
}

.ag-fcase-image::before {
	display: none;
}

.ag-fcase-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ag-art-card {
	position: relative;
	width: 71%;
	padding: 26px;
	border-radius: 13px;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 25px 50px rgba(25, 7, 29, .47);
	transform: rotate(-5deg);
}

.ag-art-card b {
	display: block;
	margin: 6px 0;
	color: var(--ag-purple);
	font-size: 26px;
	line-height: 1.35;
}

.ag-art-card span {
	display: block;
	color: var(--ag-muted);
	font-size: 11px;
}

.ag-fcase-copy {
	display: flex;
	flex-direction: column;
	padding: 42px;
}

.ag-fcase-title {
	margin: 12px 0 14px;
	color: var(--ag-purple);
	font-size: 26px;
	line-height: 1.4;
}

.ag-fcase-text {
	margin: 0;
	color: var(--ag-muted);
	font-size: 15px;
	line-height: 1.9;
}

.ag-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 24px;
	padding-top: 22px;
	border-top: 1px solid var(--ag-line);
}

.ag-facts > div {
	flex: 1;
	min-width: 98px;
	color: var(--ag-muted);
	font-size: 12px;
}

.ag-facts b {
	display: block;
	color: var(--ag-purple);
	font-size: 14px;
}

.ag-fcase-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 25px;
}

.ag-fcase-foot .ag-note {
	margin: 0;
}

/* ---------- Advantages ---------- */
.ag-adv-wrap {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	align-items: start;
	gap: 38px;
}

.ag-adv-one .ag-adv-wrap {
	grid-template-columns: 1fr;
}

.ag-adv-list {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.ag-adv-item {
	display: grid;
	grid-template-columns: 28px 1fr;
	align-items: start;
	gap: 14px;
}

.ag-adv-swatch {
	width: 28px;
	height: 28px;
	border-radius: 7px;
	background: var(--ag-lav);
}

.ag-adv-item h3 {
	margin: 0 0 4px;
	color: var(--ag-ink);
	font-size: 16px;
	line-height: 1.35;
}

.ag-adv-item p {
	margin: 0;
	color: var(--ag-muted);
	font-size: 14px;
	line-height: 1.5;
}

.ag-adv-bars {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding-top: 3px;
}

.ag-adv-bar {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ag-adv-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
}

.ag-adv-head strong {
	color: var(--ag-ink);
}

.ag-adv-head span {
	font-weight: 700;
}

.ag-adv-track {
	height: 22px;
	overflow: hidden;
	border-radius: 999px;
	background: #ece3ef;
}

.ag-adv-fill {
	height: 100%;
	padding: 0 14px;
	display: flex;
	align-items: center;
	overflow: hidden;
	border-radius: 999px;
	color: var(--ag-ink);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	animation: ag-grow 1.1s ease-out both;
}

@keyframes ag-grow {
	from { width: 0; }
}

/* ---------- Locations ---------- */
.ag-locations {
	background: #faf5fb;
}

.ag-locations .ag-grid {
	gap: 12px;
}

.ag-city {
	padding: 17px;
	border: 1px solid var(--ag-line);
	border-radius: 11px;
	background: #fff;
	color: var(--ag-ink);
	text-align: center;
}

.ag-city .ag-card-title {
	color: var(--ag-ink);
	font-size: 15px;
	font-weight: 700;
}

a.ag-city:hover {
	border-color: #c9a4cd;
}

/* ---------- Latest posts ---------- */
.ag-posts {
	background: #fbfafb;
}

.ag-post {
	gap: 8px;
}

.ag-post-img {
	display: block;
	height: 150px;
	margin-bottom: 10px;
	overflow: hidden;
	border-radius: 11px;
	background: linear-gradient(135deg, #ecdfef, #d4bada);
}

.ag-post-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ag-post .ag-card-title {
	font-size: 16px;
}

.ag-post-meta {
	color: var(--ag-muted);
	font-size: 12px;
}

/* ---------- Case library ---------- */
.ag-library {
	background: #faf7fb;
}

.ag-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.ag-filter {
	padding: 10px 18px;
	border: 1px solid #ddcde1;
	border-radius: 30px;
	background: #fff;
	color: #55425c;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}

.ag-filter:hover,
.ag-filter[aria-pressed="true"] {
	border-color: var(--ag-purple);
	background: var(--ag-purple);
	color: #fff;
}

.ag-library .ag-grid {
	gap: 23px;
}

.ag-case {
	display: flex;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
	border-radius: 13px;
	transition: transform .2s, box-shadow .2s;
}

.ag-case:hover {
	transform: translateY(-4px);
	box-shadow: 0 15px 35px rgba(36, 16, 41, .08);
}

.ag-case[hidden] {
	display: none;
}

.ag-case-img {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 190px;
	overflow: hidden;
	color: #8e4a98;
}

.ag-cimg-0 { background: linear-gradient(135deg, #d8c7e9, #f7e8f6); }
.ag-cimg-1 { background: linear-gradient(135deg, #e5ddec, #f9e6ef); }

.ag-case-img > svg {
	width: 110px;
	height: 110px;
	opacity: .48;
}

.ag-case-img > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ag-img-tag {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 11px;
	border-radius: 30px;
	background: #fff;
	color: var(--ag-purple);
	font-size: 11px;
	font-weight: 700;
}

.ag-case-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.ag-kicker {
	color: var(--ag-magenta);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .5px;
}

.ag-case .ag-card-title {
	margin: 11px 0;
	font-size: 16px;
	line-height: 1.55;
}

.ag-case .ag-card-text {
	flex: 1;
	margin-bottom: 20px;
	font-size: 13px;
	line-height: 1.8;
}

.ag-case-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 15px;
	border-top: 1px solid var(--ag-line);
}

.ag-case-bottom small {
	color: #967b9c;
	font-size: 11px;
}

.ag-case-bottom .ag-card-link {
	margin: 0;
	font-size: 12px;
}

.ag-empty {
	padding: 38px;
	color: var(--ag-muted);
	font-size: 14px;
	text-align: center;
}

.ag-empty[hidden] {
	display: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
	.ag-hero-panel,
	.ag-hero-img {
		width: 100%;
		clip-path: none;
	}

	.ag-hero-img {
		opacity: .22;
	}

	.ag-hero-inner {
		min-height: 0;
		padding-top: 64px;
		padding-bottom: 68px;
	}

	.ag-hero-card .ag-hero-inner {
		grid-template-columns: 1fr;
	}

	.ag-hero-visual {
		display: none;
	}

	.ag-adv-wrap,
	.ag-team-grid,
	.ag-fcase {
		grid-template-columns: 1fr;
	}

	.ag-team-rev .ag-team-img,
	.ag-fcase-rev .ag-fcase-art {
		order: 0;
	}

	.ag-fcase-art {
		min-height: 255px;
	}

	.ag-cta-inline .ag-cta-grid {
		grid-template-columns: 1fr;
	}

	.ag-stats-icon .ag-stat {
		border-right: 0;
	}
}

@media (max-width: 767px) {
	.ag-sec {
		padding: 44px 16px;
	}

	.ag-head {
		margin-bottom: 28px;
	}

	.ag-hero-desc {
		font-size: 17px;
	}

	.ag-btn-row {
		flex-direction: column;
	}

	.ag-foot.ag-btn-row {
		align-items: stretch;
	}

	.ag-btn {
		width: 100%;
	}

	.ag-fcase-copy {
		padding: 28px;
	}

	.ag-logos-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.ag-logos-label {
		max-width: none;
		padding-right: 0;
		border-right: 0;
	}

	.ag-logos-list {
		width: 100%;
		min-width: 0;
		justify-content: flex-start;
		gap: 12px 26px;
	}

	.ag-logo-item {
		font-size: 16px;
		white-space: nowrap;
	}

	.ag-slider {
		gap: 8px;
	}

	.ag-sl-btn {
		padding: 8px 10px;
	}

	.ag-testi-light .ag-sl-btn {
		width: 32px;
		height: 32px;
	}

	.ag-slide {
		padding: 22px;
	}

	.ag-testi-cards .ag-slide {
		padding: 25px;
		min-height: 330px;
	}

	.ag-quote {
		font-size: 16px;
	}

	.ag-tiles {
		--ag-tile-cols: 2;
	}

	.ag-split {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.ag-cta-hasform .ag-cta-grid {
		grid-template-columns: 1fr;
	}

	.ag-statblocks {
		grid-template-columns: 1fr 1fr;
	}

	.ag-faq-q {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ag-sl-track,
	.ag-adv-fill,
	.ag-card-row,
	.ag-case {
		animation: none;
		transition: none;
	}
}

/* ---------- Case library: AJAX states ---------- */
.ag-grid.is-loading {
	opacity: .45;
	pointer-events: none;
	transition: opacity .2s;
}

.ag-loadmore-wrap {
	margin-top: 36px;
	text-align: center;
}

.ag-loadmore-wrap + .ag-note,
.ag-grid + .ag-note,
.ag-empty + .ag-note {
	margin-top: 28px;
}

.ag-loadmore-wrap[hidden] {
	display: none;
}

.ag-loadmore[disabled] {
	opacity: .7;
	cursor: progress;
}

.ag-case .ag-card-title a:hover {
	color: var(--ag-magenta);
}

/* Models: second footer button is the light / outline one */
.ag-models .ag-btn-2 {
	background: #fff;
	border-color: var(--ag-purple);
	color: var(--ag-purple);
}

.ag-models .ag-btn-2:hover,
.ag-models .ag-btn-2:focus {
	background: var(--ag-purple);
	border-color: var(--ag-purple);
	color: #fff;
}

@media (max-width: 1024px) {
	.ag-logos-list {
		justify-content: flex-start;
		gap: 14px 30px;
	}
}
