/**
 * Three Pillars — edg-strategy-microsite-june-9-2026 Pillars.jsx
 */

.three-pillars {
	--tp-font-display: "Sora", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
	--tp-brand: #0760ff;
	--tp-ink: #0d0f17;
	--tp-surface: #ffffff;
	--tp-mist: #f2f5fc;
	--tp-line: rgba(15, 23, 51, 0.06);
	--tp-slate: #5a6478;
	--tp-slate-700: #1e253a;
	--tp-navy: #0d1424;
	--tp-zone-base: #07bcd4;
	--tp-zone-trust: #0fb89e;
	--tp-zone-ai: #4763d8;
	--tp-shadow: rgba(13, 20, 36, 0.16);
	--tp-ease: cubic-bezier(0.16, 1, 0.3, 1);

	padding: 80px 0;
}

html.theme-dark .three-pillars {
	--tp-brand: #4b95e4;
	--tp-ink: #eef2fb;
	--tp-surface: #141a32;
	--tp-mist: #111733;
	--tp-line: rgba(255, 255, 255, 0.07);
	--tp-slate: #a2adc6;
	--tp-slate-700: #cdd5e6;
	--tp-navy: #0c1126;
	--tp-zone-base: #3fd0e0;
	--tp-zone-trust: #44ccb4;
	--tp-zone-ai: #8093ea;
	--tp-shadow: rgba(0, 0, 0, 0.5);
}

.three-pillars p {
	padding-bottom: 0 !important;
}

.three-pillars__shell {
	max-width: 1425px;
	margin: 0 auto;
	padding: 0px 24px;
}

/* Section head — SectionHead.jsx */
.three-pillars__head {
	max-width: 72rem;
}

/* Pill badge — matches React .eyebrow (SectionHead) */
.three-pillars__eyebrow {
	display: inline-flex;
	align-items: center;
	line-height: normal;
	gap: 0.45rem;
	padding: 0.34rem 0.72rem 0.34rem 0.6rem;
	border-radius: 9999px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tp-brand);
	background: color-mix(in srgb, currentColor 10%, transparent);
	border: 1px solid color-mix(in srgb, currentColor 26%, transparent);
}

html.theme-dark .three-pillars__eyebrow {
	color: var(--tp-brand);
}

.three-pillars__eyebrow-dot {
	display: inline-block;
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 50%;
	background: currentColor;
	flex-shrink: 0;
}

.three-pillars__title {
	margin: 0;
	font-family: var(--tp-font-display);
	font-size: clamp(2.7rem, 6.4vw, 4.6rem);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.03em;
	text-wrap: balance;
	color: var(--tp-ink);
}

.three-pillars__lead {
	margin: 1.25rem 0 0;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.625;
	color: var(--tp-slate);
}

/* Grid */
.three-pillars__grid {
	display: grid;
	gap: 20px;
	margin-top: 64px;
	grid-template-columns: 1fr;
	align-items: stretch;
}

@media (min-width: 768px) {
	.three-pillars__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.three-pillars__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.three-pillars__col {
	height: 100%;
}

/* Card hover — Pillars.jsx .card-hover */
.tp-card-hover {
	position: relative;
	overflow: hidden;
	transition: transform 0.3s var(--tp-ease), box-shadow 0.3s var(--tp-ease), border-color 0.3s var(--tp-ease);
}

.tp-card-hover:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 44px -22px var(--tp-shadow);
	border-color: color-mix(in srgb, var(--tp-ink) 12%, var(--tp-line)) !important;
}

/* Pillar card — PillarCardShowcase v7 */
.three-pillars__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 24px;
	border: 1px solid var(--tp-line);
	background:
		radial-gradient(75% 85% at 100% 0%, color-mix(in srgb, var(--tp-brand) 16%, transparent), transparent 60%),
		var(--tp-surface);
	padding: 28px;
}

.three-pillars__card-header {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
}

.three-pillars__card-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--tp-mist);
	color: var(--tp-ink);
}

.three-pillars__card-icon i,
.three-pillars__card-icon svg {
	width: 24px;
	height: 24px;
}

.three-pillars__card-name {
	margin: 0;
	font-family: var(--tp-font-display);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.022em;
	color: var(--tp-ink);
}

/* t-overline */
.three-pillars__card-role {
	margin: 0.375rem 0 0;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tp-slate);
}

.three-pillars__card-desc {
	position: relative;
	margin: 20px 0 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.625;
	color: var(--tp-slate);
}

/* t-overline */
.three-pillars__card-label {
	position: relative;
	margin: 28px 0 0;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tp-slate);
}

.three-pillars__card-list {
	position: relative;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.three-pillars__card-list-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 10px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--tp-slate-700);
}

.three-pillars__card-list-item:first-child {
	margin-top: 0;
}

.three-pillars__check {
	flex-shrink: 0;
	margin-top: 1px;
	display: inline-flex;
	color: var(--tp-slate);
}

.three-pillars__check i,
.three-pillars__check svg {
	width: 18px;
	height: 18px;
}

.three-pillars__card-tags {
	position: relative;
	margin-top: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.three-pillars__tag {
	border-radius: 8px;
	border: 1px solid var(--tp-line);
	background: var(--tp-mist);
	padding: 6px 10px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--tp-slate-700);
}

.three-pillars__card-goal {
	position: relative;
	margin-top: auto;
	padding-top: 24px;
}

.three-pillars__goal-row {
	margin: 10px 0 0;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--tp-ink);
}

.three-pillars__goal-icon {
	display: inline-flex;
	color: var(--tp-slate);
}

.three-pillars__goal-icon i,
.three-pillars__goal-icon svg {
	width: 16px;
	height: 16px;
}

/* Pull quote */
.three-pillars__quote {
	margin: 40px auto 0;
	max-width: 48rem;
	text-align: center;
}

.three-pillars__quote-text {
	margin: 0;
	font-family: var(--tp-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.375;
	letter-spacing: -0.022em;
	color: var(--tp-ink);
}

@media (min-width: 640px) {
	.three-pillars__quote-text {
		font-size: 1.5rem;
	}
}

.three-pillars__quote-mark {
	color: var(--tp-slate);
}

.three-pillars__quote-desc {
	margin: 0.75rem 0 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.625;
	color: var(--tp-slate);
}

.three-pillars__emph {
	font-style: normal;
	font-weight: 600;
	color: var(--tp-slate-700);
}

/* Reveal */
.tp-reveal {
	opacity: 0;
	will-change: opacity, transform;
}

.tp-reveal.is-visible {
	animation: tp-reveal-up 0.55s var(--tp-ease) var(--reveal-delay, 0ms) forwards;
}

@keyframes tp-reveal-up {
	from { opacity: 0; transform: translate3d(0, 14px, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.tp-reveal.reveal-done {
	animation: none;
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.tp-card-hover {
		transition: none;
	}

	.tp-reveal {
		opacity: 1;
		animation: none !important;
	}

	.tp-card-hover:hover {
		transform: none;
	}
}
