/*
 * Hero section — copy side (headline, lede, CTAs, rating).
 * Visual (category showcase panel + leaf particles) lives in log-hero-visual.css.
 * @package log-core
 */

.hero {
	position: relative;
	background: linear-gradient(115deg, var(--blush-100) 0%, #dce6d2 32%, #e1d9b8 62%, var(--sage-400) 100%);
	border-radius: 0;
	margin: 0;
	overflow: hidden;
	padding: 0px 24px 60px;
	color: var(--ink-900);
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at var(--mx, 18%) var(--my, 20%), rgba(255, 255, 255, .35), transparent 42%);
	transition: background .25s linear;
	pointer-events: none;
}

.hero::after {
	content: '';
	position: absolute;
	width: 480px;
	height: 480px;
	border: 1px solid rgba(31, 58, 52, .08);
	border-radius: 50%;
	bottom: -240px;
	right: -160px;
	pointer-events: none;
}

.hero-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 40px;
	align-items: center;
	max-width: 1280px;
	margin: 0 auto;
}

.eyebrow-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .55);
	border: 1px solid rgba(138, 106, 46, .35);
	color: var(--sage-700);
	padding: 8px 16px;
	border-radius: var(--r-pill);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.eyebrow-pill .icon {
	width: 13px;
	height: 13px;
}

.hero h1 {
	font-family: var(--display);
	font-weight: 700;
	line-height: 1.08;
	font-size: clamp(38px, 5.2vw, 62px);
	letter-spacing: -.01em;
	color: var(--ink-900);
	margin: 0;
}

.hero h1 em {
	font-style: italic;
	font-weight: 600;
	color: var(--sage-700);
}

.hero p.lede {
	margin: 16px 0 0;
	max-width: 480px;
	color: var(--ink-700);
	font-size: 15.5px;
	line-height: 1.75;
}

.trust-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 11px;
	margin-top: 18px;
}

.trust-pill {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .55);
	border: 1px solid rgba(31, 58, 52, .14);
	color: var(--ink-900);
	padding: 9px 16px;
	border-radius: var(--r-pill);
	font-size: 12.5px;
	font-weight: 600;
	transition: transform .25s var(--ease), background .25s var(--ease);
}

.trust-pill:hover {
	transform: translateY(-3px);
	background: rgba(255, 255, 255, .85);
}

.trust-pill .icon {
	width: 14px;
	height: 14px;
	color: var(--sage-700);
}

.hero-btn-row {
	display: flex;
	gap: 14px;
	margin-top: 20px;
	flex-wrap: wrap;
}

.btn-sage {
	position: relative;
	overflow: hidden;
	background: var(--ink-900);
	color: #fdf8f4;
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 16px 28px;
	border-radius: var(--r-pill);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

/* a:hover{color:inherit} in design-tokens.css (specificity 0-0-1-1) beats
   .btn-sage's own 0-0-1-0 color rule on hover — restate explicitly here. */
.btn-sage:hover {
	background: var(--plum-700);
	box-shadow: 0 14px 30px rgba(31, 58, 52, .3);
	color: #fdf8f4;
}

.btn-ghost-white {
	border: 1.4px solid rgba(31, 58, 52, .45);
	color: var(--ink-900);
	font-weight: 700;
	font-size: 13.5px;
	padding: 15px 27px;
	border-radius: var(--r-pill);
	text-decoration: none;
	transition: all .25s var(--ease);
}

.btn-ghost-white:hover {
	background: rgba(255, 255, 255, .5);
	border-color: var(--ink-900);
}

.rating-row {
	display: flex;
	align-items: center;
	gap: 26px;
	margin-top: 20px;
	flex-wrap: wrap;
}

.stars-gold {
	color: var(--sage-700);
	display: flex;
	gap: 2px;
}

.stars-gold .icon {
	width: 14px;
	height: 14px;
	fill: currentColor;
	stroke: none;
}

.rating-text strong {
	display: block;
	font-size: 14px;
}

.rating-text span {
	font-size: 12px;
	color: var(--ink-700);
}

.rating-sep {
	width: 1px;
	height: 34px;
	background: rgba(31, 58, 52, .18);
}

.cert-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--ink-700);
}

.cert-row .icon {
	width: 18px;
	height: 18px;
	color: var(--sage-700);
}

.scroll-hint {
	margin-top: 26px;
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	letter-spacing: .12em;
	color: var(--ink-700);
	font-weight: 700;
	text-align: center;
}

.mouse-ic {
	width: 22px;
	height: 34px;
	border: 2px solid rgba(31, 58, 52, .32);
	border-radius: 14px;
	display: flex;
	justify-content: center;
	padding-top: 6px;
}

.mouse-ic span {
	width: 3px;
	height: 7px;
	border-radius: 2px;
	background: var(--sage-700);
	animation: log-scroll-dot 1.6s ease-in-out infinite;
}

@keyframes log-scroll-dot {
	0% {
		transform: translateY(0);
		opacity: 1;
	}

	70% {
		transform: translateY(9px);
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}

@media (max-width: 760px) {
	.hero {
		padding: 40px 20px 44px;
	}

	.hero-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.hero-grid>div:first-child {
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.eyebrow-pill {
		margin-bottom: 12px;
	}

	.hero h1 {
		font-size: clamp(30px, 8vw, 40px);
	}

	.hero p.lede {
		margin: 12px auto 0;
		text-align: center;
	}

	.trust-pills {
		justify-content: center;
		margin-top: 14px;
		gap: 8px;
	}

	.hero-btn-row {
		justify-content: center;
		margin-top: 16px;
		width: 100%;
	}

	.hero-btn-row .btn-sage,
	.hero-btn-row .btn-ghost-white {
		flex: 1 1 auto;
		justify-content: center;
	}

	.rating-row {
		justify-content: center;
		margin-top: 16px;
		gap: 16px;
	}
}