/*
 * Arcane Automation 2 — page-specific styles.
 * Ported from design_handoff_automation/assets/css/style.css.
 * All rules scoped under .arcane-automation-2 to avoid colliding with the
 * original Arcane Automation template. Tokens (--bg, --acc, etc.) and the
 * shared .container / .section / .label / .btn primitives are already
 * defined in arcane.css under .arcane-page, so we only override what's
 * unique to this page.
 */

.arcane-automation-2 .acc { color: var(--acc); }
.arcane-automation-2 h2 em,
.arcane-automation-2 h1 em { font-style: normal; color: var(--acc); }

/* EYEBROW SPACING
 * Hero eyebrow gets extra top breathing room from the fixed header.
 * Every other .label eyebrow on the page tightens by 10% (16px → 14px).
 * The audit "Where It Starts" eyebrow tightens further by 30% (16px → 11px).
 */
.arcane-automation-2 .hero-eyebrow {
	margin-top: 28px;
}
.arcane-automation-2 .label { margin-bottom: 14px; }
.arcane-automation-2 .a2-audit-head .label { margin-bottom: 11px; }

/* PRIMARY BUTTON — override the shared cyan-fill button so hover goes
 * transparent w/ cyan text + cyan border. Resting state gets a matching
 * 1px border (same colour as the fill) so the box doesn't jump 1px on hover.
 */
.arcane-automation-2 .btn-primary {
	border: 1px solid var(--acc);
}
.arcane-automation-2 .btn-primary:hover {
	background: transparent;
	color: var(--acc);
	border-color: var(--acc);
	box-shadow: none;
}

/* SECTION RHYTHM
 * Stronger alternation between adjacent sections so every transition is
 * obvious. Alt sections get a lighter, slightly bluer tone (vs. arcane.css's
 * default --bg2). Every section after the hero gets a hairline top border so
 * the seam is visible regardless of which two tones meet.
 */
.arcane-automation-2 .section-alt { background: #0c1428; }
.arcane-automation-2 .section + .section,
.arcane-automation-2 .section + .a2-fcta-section,
.arcane-automation-2 .a2-hero + .section {
	border-top: 1px solid rgba(var(--acc-rgb), 0.10);
}
.arcane-automation-2 .a2-fcta-section { border-top: 1px solid rgba(var(--acc-rgb), 0.10); }

/* HERO */
.arcane-automation-2 .a2-hero {
	min-height: 90vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
	padding-top: 80px;
	padding-bottom: 80px;
}
.arcane-automation-2 .a2-hero-grid {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(var(--acc-rgb), 0.10) 1px, transparent 1px);
	background-size: 48px 48px;
	opacity: 0.35;
	z-index: 1;
	pointer-events: none;
}
.arcane-automation-2 .a2-hero-img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	background-image: url('../images/hero-workflow.png');
	background-size: cover;
	background-position: 72% center;
	z-index: 0;
}
.arcane-automation-2 .a2-hero-img::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg,
		rgba(5, 8, 16, 0.82) 0%,
		rgba(5, 8, 16, 0.80) 42%,
		rgba(5, 8, 16, 0.62) 54%,
		rgba(5, 8, 16, 0.50) 76%,
		rgba(5, 8, 16, 0.46) 100%);
}
.arcane-automation-2 .a2-hero-fade-bottom {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 140px;
	background: linear-gradient(180deg, transparent, var(--bg));
	z-index: 1;
	pointer-events: none;
}
.arcane-automation-2 .a2-hero-orb {
	position: absolute;
	width: 760px;
	height: 760px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--acc-rgb), 0.05) 0%, transparent 70%);
	top: -240px;
	right: -180px;
	animation: a2-drift 14s ease-in-out infinite;
	z-index: 0;
	pointer-events: none;
}
.arcane-automation-2 .a2-hero-orb2 {
	position: absolute;
	width: 480px;
	height: 480px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--acc2-rgb), 0.05) 0%, transparent 70%);
	bottom: -120px;
	left: 40px;
	animation: a2-drift2 18s ease-in-out infinite;
	z-index: 0;
	pointer-events: none;
}
@keyframes a2-drift {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(-30px, 20px); }
}
@keyframes a2-drift2 {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(20px, -30px); }
}
.arcane-automation-2 .a2-hero .container { max-width: 1280px; }
.arcane-automation-2 .a2-hero-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.arcane-automation-2 .a2-hero-text { max-width: 560px; }
.arcane-automation-2 .a2-hero-spacer { min-height: 1px; }
.arcane-automation-2 .a2-hero h1 {
	font-size: clamp(2.4rem, 4.6vw, 3.9rem);
	margin-bottom: 22px;
}
.arcane-automation-2 .a2-hero-sub {
	color: #f3f7fd;
	font-size: 1.08rem;
	line-height: 1.8;
	margin-bottom: 34px;
	max-width: 520px;
}
.arcane-automation-2 .a2-hero-ctas {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}
.arcane-automation-2 .a2-hero-reassure {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}
.arcane-automation-2 .a2-hero-reassure-item {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 0.85rem;
	color: var(--txt2);
}
.arcane-automation-2 .a2-hero-reassure-item svg {
	width: 16px;
	height: 16px;
	stroke: var(--acc);
	fill: none;
	stroke-width: 2;
	flex-shrink: 0;
}

/* SIGNS */
.arcane-automation-2 .a2-signs-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 48px;
}
.arcane-automation-2 .a2-sign-card {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	border: 1px solid rgba(var(--acc-rgb), 0.18);
	border-radius: 8px;
	padding: 24px 26px;
	background: #1a2540;
	transition: border-color 0.3s, background 0.3s;
}
.arcane-automation-2 .a2-sign-card:hover {
	border-color: rgba(var(--acc-rgb), 0.4);
	background: #1f2c4a;
}
.arcane-automation-2 .a2-sign-check {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1px solid rgba(var(--acc-rgb), 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--acc);
	font-size: 14px;
}
.arcane-automation-2 .a2-sign-card p {
	font-size: 0.92rem;
	color: #f3f7fd;
	line-height: 1.55;
	margin: 0;
}
.arcane-automation-2 .a2-sign-card p span {
	color: #b8c4dc;
	font-size: 0.85rem;
	display: block;
	margin-top: 4px;
}

/* WHY MATTERS */
.arcane-automation-2 .a2-why-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: center;
}
.arcane-automation-2 .a2-why-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.arcane-automation-2 .a2-why-stat {
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 28px 24px;
	background: var(--bg2);
	position: relative;
	overflow: hidden;
}
.arcane-automation-2 .a2-why-stat::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	background: linear-gradient(180deg, var(--acc), var(--acc2));
}
.arcane-automation-2 .a2-why-stat strong {
	font-family: 'Syne', sans-serif;
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--acc);
	display: block;
	line-height: 1;
	margin-bottom: 8px;
}
.arcane-automation-2 .a2-why-stat span {
	font-size: 0.82rem;
	color: var(--txt2);
	line-height: 1.5;
}
.arcane-automation-2 .a2-why-text p {
	color: var(--txt2);
	line-height: 1.85;
	margin-bottom: 18px;
}
.arcane-automation-2 .a2-why-text p:last-child { margin-bottom: 0; }

/* REAL COST — merged "Why It Matters" + "Problem" section
 * Layout: centered intro head → 4-across stat band → hairline divider with
 * eyebrow → 2x2 problem cards → centered closing callout. Reuses .a2-why-stat
 * card styling and the existing .a2-problem-grid / .a2-problem-card rules
 * below, just rearranged inside a single section.
 */
.arcane-automation-2 .a2-cost-head {
	max-width: 760px;
	margin: 0 auto 56px;
	text-align: center;
}
.arcane-automation-2 .a2-cost-head .label { margin-bottom: 18px; }
.arcane-automation-2 .a2-cost-head h2 {
	font-size: clamp(2rem, 3.6vw, 2.8rem);
	margin-bottom: 24px;
	line-height: 1.2;
}
.arcane-automation-2 .a2-cost-head h2 em {
	color: var(--acc);
	font-style: normal;
}
.arcane-automation-2 .a2-cost-lead p {
	color: var(--txt2);
	font-size: 1.02rem;
	line-height: 1.85;
	margin: 0 auto 14px;
	max-width: 640px;
}
.arcane-automation-2 .a2-cost-lead p:last-child { margin-bottom: 0; }

.arcane-automation-2 .a2-cost-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 72px;
}
.arcane-automation-2 .a2-cost-stats .a2-why-stat { padding: 26px 22px; }

.arcane-automation-2 .a2-cost-divider {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0 0 44px;
}
.arcane-automation-2 .a2-cost-divider::before,
.arcane-automation-2 .a2-cost-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(var(--acc-rgb), 0.28), transparent);
}
.arcane-automation-2 .a2-cost-divider-label {
	font-family: 'Syne', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--acc);
	flex-shrink: 0;
}


/* PROBLEM */
.arcane-automation-2 .a2-problem-section { position: relative; overflow: hidden; }
.arcane-automation-2 .a2-problem-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 48px;
}
.arcane-automation-2 .a2-problem-card {
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 28px;
	background: var(--card);
	transition: border-color 0.3s;
}
.arcane-automation-2 .a2-problem-card:hover { border-color: rgba(var(--acc-rgb), 0.3); }
.arcane-automation-2 .a2-problem-icon {
	width: 44px;
	height: 44px;
	border: 1px solid rgba(var(--acc-rgb), 0.2);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	background: rgba(var(--acc-rgb), 0.06);
}
.arcane-automation-2 .a2-problem-icon svg {
	width: 20px;
	height: 20px;
	stroke: var(--acc);
	fill: none;
	stroke-width: 1.5;
}
.arcane-automation-2 .a2-problem-card h3 {
	font-size: 1rem;
	margin-bottom: 8px;
}
.arcane-automation-2 .a2-problem-card p {
	font-size: 0.88rem;
	color: var(--txt2);
	line-height: 1.7;
}
.arcane-automation-2 .a2-problem-close {
	margin-top: 48px;
	text-align: center;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 40px;
	background: var(--bg2);
}
.arcane-automation-2 .a2-problem-close p {
	font-size: 1.15rem;
	color: var(--txt);
	line-height: 1.7;
	max-width: 680px;
	margin: 0 auto;
	font-family: 'Syne', sans-serif;
	font-weight: 600;
}
.arcane-automation-2 .a2-problem-close p em {
	color: var(--acc);
	font-style: normal;
}

/* PROCESS 3-STEP */
.arcane-automation-2 .a2-proc3-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 56px;
}
.arcane-automation-2 .a2-proc3-card {
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 36px 30px;
	background: var(--bg2);
	position: relative;
	transition: transform 0.3s, border-color 0.3s;
}
.arcane-automation-2 .a2-proc3-card:hover {
	transform: translateY(-4px);
	border-color: rgba(var(--acc-rgb), 0.3);
}
.arcane-automation-2 .a2-proc3-num {
	font-family: 'Syne', sans-serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--acc);
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.arcane-automation-2 .a2-proc3-num::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--border), transparent);
}
.arcane-automation-2 .a2-proc3-card h3 {
	font-size: 1.3rem;
	margin-bottom: 12px;
}
.arcane-automation-2 .a2-proc3-card > p {
	font-size: 0.9rem;
	color: var(--txt2);
	line-height: 1.75;
	margin-bottom: 22px;
}
.arcane-automation-2 .a2-proc3-list {
	list-style: none;
	display: grid;
	gap: 10px;
	padding: 0;
	margin: 0;
}
.arcane-automation-2 .a2-proc3-list li {
	font-size: 0.84rem;
	color: var(--txt2);
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.5;
}
.arcane-automation-2 .a2-proc3-list li::before {
	content: '→';
	color: var(--acc);
	font-size: 11px;
	flex-shrink: 0;
	margin-top: 3px;
}

/* EXAMPLES */
.arcane-automation-2 .a2-ex-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 56px;
}
.arcane-automation-2 .a2-ex-card {
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 30px 28px;
	background: var(--bg2);
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
}
.arcane-automation-2 .a2-ex-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(var(--acc-rgb), 0.04), transparent);
	opacity: 0;
	transition: opacity 0.3s;
}
.arcane-automation-2 .a2-ex-card:hover::after { opacity: 1; }
.arcane-automation-2 .a2-ex-card:hover {
	border-color: rgba(var(--acc-rgb), 0.3);
	transform: translateY(-3px);
}
.arcane-automation-2 .a2-ex-icon {
	width: 48px;
	height: 48px;
	border: 1px solid var(--border);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	background: var(--card);
	position: relative;
	z-index: 1;
}
.arcane-automation-2 .a2-ex-icon svg {
	width: 22px;
	height: 22px;
	stroke: var(--acc);
	fill: none;
	stroke-width: 1.5;
}
.arcane-automation-2 .a2-ex-card h3 {
	font-size: 1.05rem;
	margin-bottom: 10px;
	position: relative;
	z-index: 1;
}
.arcane-automation-2 .a2-ex-card p {
	font-size: 0.86rem;
	color: var(--txt2);
	line-height: 1.65;
	position: relative;
	z-index: 1;
}

/* CASE STUDY */
.arcane-automation-2 .a2-case-section { position: relative; overflow: hidden; }
.arcane-automation-2 .a2-case-wrap {
	border: 1px solid var(--border);
	border-radius: 14px;
	overflow: hidden;
	background: var(--bg2);
	margin-top: 48px;
}
.arcane-automation-2 .a2-case-top {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 0;
}
.arcane-automation-2 .a2-case-content { padding: 48px 48px 44px; }
.arcane-automation-2 .a2-case-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Syne', sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--acc);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 6px 14px;
	margin-bottom: 22px;
}
.arcane-automation-2 .a2-case-badge .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--acc);
	display: inline-block;
}
.arcane-automation-2 .a2-case-content h3 {
	font-size: 1.6rem;
	margin-bottom: 28px;
	line-height: 1.2;
}
.arcane-automation-2 .a2-case-block { margin-bottom: 24px; }
.arcane-automation-2 .a2-case-block:last-child { margin-bottom: 0; }
.arcane-automation-2 .a2-case-block-label {
	font-family: 'Syne', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--txt3);
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.arcane-automation-2 .a2-case-block-label .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--acc);
}
.arcane-automation-2 .a2-case-block p {
	font-size: 0.95rem;
	color: var(--txt2);
	line-height: 1.75;
}
.arcane-automation-2 .a2-case-visual {
	background: var(--bg3);
	border-left: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	padding: 40px 36px;
	justify-content: center;
	gap: 16px;
}
.arcane-automation-2 .a2-case-result-row {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.arcane-automation-2 .a2-case-metric {
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 20px 22px;
	background: var(--bg2);
}
.arcane-automation-2 .a2-case-metric strong {
	font-family: 'Syne', sans-serif;
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--acc);
	display: block;
	line-height: 1;
	margin-bottom: 6px;
}
.arcane-automation-2 .a2-case-metric span {
	font-size: 0.8rem;
	color: var(--txt2);
	line-height: 1.5;
}

/* AUDIT */
.arcane-automation-2 .a2-audit-section {
	position: relative;
	overflow: hidden;
	background: var(--bg2);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.arcane-automation-2 .a2-audit-section::before {
	content: '';
	position: absolute;
	top: -200px;
	right: -150px;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--acc-rgb), 0.06) 0%, transparent 70%);
	pointer-events: none;
}
.arcane-automation-2 .a2-audit-flag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: 'Syne', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--acc);
	background: rgba(var(--acc-rgb), 0.06);
	border: 1px solid rgba(var(--acc-rgb), 0.25);
	border-radius: 30px;
	padding: 8px 18px;
	margin-bottom: 20px;
}
.arcane-automation-2 .a2-audit-flag .pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--acc);
	box-shadow: 0 0 0 0 rgba(var(--acc-rgb), 0.6);
	animation: a2-pulse 2s infinite;
}
@keyframes a2-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(var(--acc-rgb), 0.5); }
	70%  { box-shadow: 0 0 0 10px rgba(var(--acc-rgb), 0); }
	100% { box-shadow: 0 0 0 0 rgba(var(--acc-rgb), 0); }
}
.arcane-automation-2 .a2-audit-head {
	text-align: center;
	max-width: 660px;
	margin: 0 auto 48px;
	position: relative;
	z-index: 1;
}
.arcane-automation-2 .a2-audit-head .label { margin-top: 4px; }
.arcane-automation-2 .a2-audit-head .section-intro {
	margin: 0 auto;
	max-width: 600px;
}
.arcane-automation-2 .a2-audit-list {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
	margin: 0 auto 40px;
	position: relative;
	z-index: 1;
}
.arcane-automation-2 .a2-audit-item {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 24px 20px;
	background: var(--bg);
	transition: border-color 0.3s, transform 0.3s;
}
.arcane-automation-2 .a2-audit-item:hover {
	border-color: rgba(var(--acc-rgb), 0.3);
	transform: translateY(-3px);
}
.arcane-automation-2 .a2-audit-item-num {
	font-family: 'Syne', sans-serif;
	font-size: 13px;
	font-weight: 800;
	color: var(--acc);
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
}
.arcane-automation-2 .a2-audit-item h4 {
	font-size: 0.92rem;
	margin-bottom: 6px;
	line-height: 1.25;
	font-family: 'Syne', sans-serif;
	font-weight: 700;
}
.arcane-automation-2 .a2-audit-item p {
	font-size: 0.8rem;
	color: var(--txt2);
	line-height: 1.55;
}
.arcane-automation-2 .a2-audit-bottom {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}
.arcane-automation-2 .a2-audit-credit {
	border: 1px solid rgba(var(--acc-rgb), 0.25);
	border-radius: 10px;
	padding: 18px 24px;
	background: rgba(var(--acc-rgb), 0.04);
	max-width: 520px;
}
.arcane-automation-2 .a2-audit-credit strong {
	font-family: 'Syne', sans-serif;
	color: var(--acc);
	font-size: 0.9rem;
	display: block;
	margin-bottom: 4px;
}
.arcane-automation-2 .a2-audit-credit p {
	font-size: 0.84rem;
	color: var(--txt2);
	line-height: 1.6;
}

/* FAQ — uses the shared .arcane-page .faq-* rules from arcane.css
 * (matches the AI Solutions page: two-column grid, equal-height items
 * locked by .faq-q min-height + .faq-item height:100%, ▼ arrow rotation). */

/* FINAL CTA */
.arcane-automation-2 .a2-fcta-section {
	padding: 72px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.arcane-automation-2 .a2-fcta-bg {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(var(--acc-rgb), 0.06), transparent);
	pointer-events: none;
}
.arcane-automation-2 .a2-fcta-orb {
	position: absolute;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--acc2-rgb), 0.05) 0%, transparent 70%);
	bottom: -200px;
	left: 50%;
	transform: translateX(-50%);
	pointer-events: none;
}
.arcane-automation-2 .a2-fcta-section h2 {
	font-size: clamp(2rem, 4vw, 3.2rem);
	margin-bottom: 14px;
	position: relative;
	z-index: 1;
}
.arcane-automation-2 .a2-fcta-section h2 em {
	color: var(--acc);
	font-style: normal;
}
.arcane-automation-2 .a2-fcta-section > .container > p {
	color: var(--txt2);
	font-size: 1.05rem;
	margin: 0 auto 26px;
	max-width: 560px;
	line-height: 1.7;
	position: relative;
	z-index: 1;
}
.arcane-automation-2 .a2-fcta-btns {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

/* RESPONSIVE */
@media (max-width: 900px) {
	.arcane-automation-2 .a2-hero-inner,
	.arcane-automation-2 .a2-why-inner,
	.arcane-automation-2 .a2-case-top {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.arcane-automation-2 .a2-hero-spacer { display: none; }
	.arcane-automation-2 .a2-hero-img {
		width: 100%;
		background-position: left center;
	}
	/* Hero tightened on mobile: less air below the CTAs/reassurance row */
	.arcane-automation-2 .a2-hero { padding-bottom: 32px; }

	/* Case study hidden on mobile only */
	.arcane-automation-2 .a2-case-section { display: none; }
	.arcane-automation-2 .a2-hero-img::after {
		/* Mobile scrim 20% lighter — alphas dropped from 0.86/0.90 to 0.69/0.72
		   so more of the workflow illustration shows through. */
		background: linear-gradient(180deg,
			rgba(5, 8, 16, 0.69) 0%,
			rgba(5, 8, 16, 0.72) 55%,
			var(--bg) 100%);
	}
	.arcane-automation-2 .a2-signs-grid,
	.arcane-automation-2 .a2-problem-grid,
	.arcane-automation-2 .a2-proc3-grid,
	.arcane-automation-2 .a2-ex-grid,
	.arcane-automation-2 .a2-why-stats {
		grid-template-columns: 1fr;
	}
	.arcane-automation-2 .a2-cost-stats { grid-template-columns: repeat(2, 1fr); }
	.arcane-automation-2 .a2-cost-divider { gap: 14px; }
	.arcane-automation-2 .a2-audit-list {
		grid-template-columns: repeat(2, 1fr);
	}
	/* AUDIT — centre the orphan 5th card without resizing it. It still
	   matches a single column width (50% minus half of the 14px column gap). */
	.arcane-automation-2 .a2-audit-list .a2-audit-item:nth-child(5):last-child {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc(50% - 7px);
	}
	.arcane-automation-2 .a2-audit-bottom { flex-direction: column; }
	.arcane-automation-2 .a2-case-visual {
		border-left: none;
		border-top: 1px solid var(--border);
	}

	/* MOBILE-ONLY: darker page background for extra contrast. Redefines the
	   --bg token locally so child elements (cards, scrims) inherit it too. */
	.arcane-automation-2 {
		--bg: #02040a;
		background: var(--bg);
	}

	/* HERO buttons: same width, not full width. Stacked column, centred,
	   both buttons share a fixed comfortable width (capped at viewport). */
	.arcane-automation-2 .a2-hero-ctas {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}
	.arcane-automation-2 .a2-hero-ctas .btn {
		width: 280px;
		max-width: 100%;
		justify-content: center;
	}
}
