.dt-page-hero {
	position: relative;
	overflow: hidden;
}

.dt-page-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

/* Centered (default) — the inner spans the full container so the visual can
   breathe at full width; only the copy is constrained to the narrow reading
   width and centered. */
.dt-page-hero--center .dt-page-hero__inner {
	margin: 0 auto;
	text-align: center;
	align-items: center;
}

.dt-page-hero--center .dt-page-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-6);
	max-width: 920px;
	margin-inline: auto;
}

.dt-page-hero--center .dt-page-hero__visual {
	width: 100%;
	margin-inline: auto;
}

.dt-page-hero--center .dt-page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	justify-content: center;
}

/* Split (60/40 with visual on the right) */
.dt-page-hero--split .dt-page-hero__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-12);
	align-items: center;
}
@media (min-width: 1024px) {
	.dt-page-hero--with-visual .dt-page-hero__inner {
		grid-template-columns: 6fr 5fr;
		gap: var(--space-16);
	}
}

.dt-page-hero--split .dt-page-hero__copy {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
}

.dt-page-hero--split .dt-page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

/* Eyebrow — pill chip variants */
.dt-page-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--fs-xs);
	font-weight: var(--fw-semibold);
	letter-spacing: var(--ls-snug);
	color: var(--dt-ink-soft);
	text-decoration: none;
	transition: opacity var(--duration-1) var(--ease-out);
	width: fit-content;
	padding: var(--space-1) var(--space-4);
	background: var(--dt-surface);
	border: var(--border-thin);
	border-radius: var(--radius-pill);
}

a.dt-page-hero__eyebrow:hover { opacity: 0.85; text-decoration: none; }

.dt-page-hero__eyebrow-text strong { color: var(--dt-ink); font-weight: var(--fw-bold); }

/* Avatar variant: bare (no pill chrome, just the row + label) */
.dt-page-hero__eyebrow--with-avatars {
	background: transparent;
	border: 0;
	padding: 0;
	gap: var(--space-3);
	font-size: var(--fs-xs);
	font-weight: var(--fw-semibold);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
}

/* Gradient variant: green-to-blue pill, white text — kirki-style */
.dt-page-hero__eyebrow--gradient {
	background: var(--gradient-fresh);
	border: 0;
	color: var(--dt-on-primary);
	padding: var(--space-1) var(--space-4);
	font-weight: var(--fw-semibold);
}

.dt-page-hero__eyebrow--gradient .dt-page-hero__eyebrow-text strong { color: var(--dt-on-primary); }

.dt-page-hero__eyebrow-dot {
	width: 6px;
	height: 6px;
	border-radius: var(--radius-pill);
	background: var(--dt-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--dt-primary) 25%, transparent);
}

.dt-page-hero__eyebrow-icon { display: inline-flex; color: var(--dt-primary); }

/* Avatar row */
.dt-page-hero__avatars {
	display: inline-flex;
	align-items: center;
}

.dt-page-hero__avatars img {
	display: block;
	width: 32px;
	height: 32px;
	border-radius: var(--radius-pill);
	border: 2px solid var(--dt-bg);
	background: var(--dt-bg-alt);
	object-fit: cover;
	margin-left: -10px;
}
.dt-page-hero__avatars img:first-child { margin-left: 0; }

/* Supertitle — the small light-gray line above the heading (kirki-style) */
.dt-page-hero__supertitle {
	margin: 0;
	font-size: var(--fs-md);
	font-weight: var(--fw-medium);
	color: var(--dt-ink-soft);
	letter-spacing: var(--ls-snug);
}

.dt-page-hero--center .dt-page-hero__supertitle { text-align: center; }

/* Heading — bolder for the headline moment */
.dt-page-hero .dt-heading--h1 {
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-tight);
}

/* On dark/accent variants, push to display scale — FluentCart-style oversize
   heading that owns the band. Tight letter-spacing + tight leading keep two
   long lines from feeling bloated. text-wrap: balance evens line lengths so
   long copy doesn't stack into 4 cramped lines. */
.dt-page-hero.dt-section--dark .dt-heading--h1,
.dt-page-hero.dt-section--accent .dt-heading--h1 {
	font-size: var(--fs-display);
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-tight);
	font-weight: var(--fw-bold);
	max-width: 20ch;
	margin-inline: auto;
	text-wrap: balance;
}

/* Sub-copy */
.dt-page-hero__sub {
	margin: 0;
	font-size: var(--fs-md);
	line-height: var(--lh-normal);
	color: var(--dt-ink-soft);
	max-width: 48ch;
}

.dt-page-hero--center .dt-page-hero__sub { margin-inline: auto; }


.dt-page-hero.dt-section--dark .dt-page-hero__supertitle,
.dt-page-hero.dt-section--accent .dt-page-hero__supertitle { color: rgba(255,255,255,0.65); }

.dt-page-hero__meta {
	margin: var(--space-3) 0 0;
	font-size: var(--fs-sm);
	font-weight: var(--fw-medium);
	color: var(--dt-ink-soft);
	letter-spacing: var(--ls-snug);
}

.dt-page-hero__visual { width: 100%; }

/* ============== Trust chips (3-up below hero CTAs) ============== */
.dt-trust-chips {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-3);
	width: 100%;
	margin-top: var(--space-3);
}

@media (min-width: 640px) {
	.dt-trust-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
}

.dt-page-hero--center .dt-trust-chips { max-width: 760px; margin-inline: auto; }

.dt-trust-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	padding: var(--space-3) var(--space-4);
	background: var(--dt-surface);
	border: var(--border-thin);
	border-radius: var(--radius-md);
	text-align: left;
}

.dt-trust-chip__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--space-10);
	height: var(--space-10);
	border-radius: var(--radius-sm);
	flex-shrink: 0;
}

.dt-trust-chip--primary .dt-trust-chip__icon { background: var(--dt-primary-soft); color: var(--dt-primary); }
.dt-trust-chip--warn    .dt-trust-chip__icon { background: var(--dt-warn-soft);    color: var(--dt-star); }
.dt-trust-chip--success .dt-trust-chip__icon { background: var(--dt-success-soft); color: var(--dt-success); }

.dt-trust-chip__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.dt-trust-chip__title {
	font-size: var(--fs-base);
	font-weight: var(--fw-bold);
	color: var(--dt-ink);
	line-height: 1.15;
	letter-spacing: var(--ls-snug);
}

.dt-trust-chip__sub {
	font-size: var(--fs-xs);
	color: var(--dt-ink-soft);
	line-height: 1.3;
}

/* Padding rhythm — bigger than default section */
.dt-page-hero {
	padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}

/* Variants invert text colors */
.dt-page-hero.dt-section--dark .dt-page-hero__sub,
.dt-page-hero.dt-section--accent .dt-page-hero__sub { color: rgba(255,255,255,0.85); }
.dt-page-hero.dt-section--dark .dt-page-hero__meta,
.dt-page-hero.dt-section--accent .dt-page-hero__meta { color: rgba(255,255,255,0.65); }
.dt-page-hero.dt-section--dark .dt-page-hero__eyebrow,
.dt-page-hero.dt-section--accent .dt-page-hero__eyebrow {
	background: rgba(255,255,255,0.08);
	color: var(--dt-on-dark);
	border-color: rgba(255,255,255,0.16);
}
.dt-page-hero.dt-section--dark .dt-page-hero__eyebrow-text strong,
.dt-page-hero.dt-section--accent .dt-page-hero__eyebrow-text strong { color: var(--dt-on-dark); }

.dt-page-hero__eyebrow-stars { color: var(--dt-star); letter-spacing: 0.05em; }

/* ============== Hero social proof (left column, below the CTAs) ============== */
.dt-page-hero__proof {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	width: 100%;
	max-width: 480px;
	margin-top: var(--space-2);
}

.dt-page-hero__rating {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	flex-wrap: wrap;
}

.dt-page-hero__rating-text {
	font-size: var(--fs-sm);
	line-height: var(--lh-snug);
	color: var(--dt-ink-soft);
}
.dt-page-hero__rating-text strong { color: var(--dt-ink); font-weight: var(--fw-bold); }

/* highlighted review card */
.dt-page-hero__review {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	padding: var(--space-6);
	background: var(--dt-bg-alt);
	border: var(--border-thin);
	border-radius: var(--radius-lg);
}

.dt-page-hero__review-quote {
	margin: 0;
	font-size: var(--fs-lg);
	font-weight: var(--fw-medium);
	line-height: var(--lh-snug);
	letter-spacing: var(--ls-snug);
	color: var(--dt-ink);
}

.dt-page-hero__review-author {
	display: flex;
	align-items: center;
	gap: var(--space-3);
}

.dt-page-hero__review-avatar {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-pill);
	object-fit: cover;
	flex-shrink: 0;
	background: var(--dt-bg-deep);
}

.dt-page-hero__review-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.dt-page-hero__review-name {
	font-size: var(--fs-sm);
	font-weight: var(--fw-bold);
	color: var(--dt-ink);
	line-height: 1.2;
}

.dt-page-hero__review-source {
	font-size: var(--fs-xs);
	color: var(--dt-ink-faint);
}
