.diatips-book-download {
	--diatips-book-accent: #594492;
	--diatips-book-accent-dark: #35245f;
	--diatips-book-ink: #211b2e;
	--diatips-book-muted: #6f687b;
	position: relative;
	overflow: hidden;
	width: 100%;
	padding: clamp(56px, 7vw, 96px) 30px;
	background:
		radial-gradient(circle at 8% 18%, rgba(89, 68, 146, 0.12), transparent 28%),
		radial-gradient(circle at 92% 88%, rgba(89, 68, 146, 0.09), transparent 30%),
		#f7f6fa;
}

.diatips-book-download,
.diatips-book-download * {
	box-sizing: border-box;
}

.diatips-book-download__inner {
	width: min(1080px, 100%);
	margin: 0 auto;
}

.diatips-book-download__header {
	max-width: 680px;
	margin: 0 auto clamp(32px, 5vw, 54px);
	text-align: center;
}

.diatips-book-download__eyebrow {
	margin: 0 0 12px;
	color: var(--diatips-book-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.diatips-book-download__title {
	margin: 0;
	color: var(--diatips-book-ink);
	font-family: var(--e-global-typography-el_title_1-font-family), sans-serif;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.12;
}

.diatips-book-download__intro {
	margin: 18px 0 0;
	color: var(--diatips-book-muted);
	font-size: clamp(16px, 1.8vw, 19px);
	line-height: 1.6;
}

.diatips-book-download__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(18px, 3vw, 32px);
}

.diatips-book-download__card {
	display: grid;
	grid-template-rows: auto 1fr auto;
	justify-items: center;
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid rgba(89, 68, 146, 0.14);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 18px 50px rgba(41, 28, 72, 0.09);
	text-align: center;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.diatips-book-download__card:hover {
	transform: translateY(-4px);
	border-color: rgba(89, 68, 146, 0.28);
	box-shadow: 0 24px 60px rgba(41, 28, 72, 0.14);
}

.diatips-book-download__copy {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-bottom: 26px;
}

.diatips-book-download__language {
	display: inline-grid;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 50%;
	background: rgba(89, 68, 146, 0.1);
	color: var(--diatips-book-accent-dark);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.05em;
}

.diatips-book-download__card-title {
	margin: 0;
	color: var(--diatips-book-ink);
	font-family: var(--e-global-typography-el_title_4-font-family), sans-serif;
	font-size: clamp(21px, 2.4vw, 28px);
	font-weight: 700;
	line-height: 1.2;
	text-align: left;
}

.diatips-book-download__card-description {
	margin: 5px 0 0;
	color: var(--diatips-book-muted);
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
}

.diatips-book-download__qr-link {
	display: block;
	width: min(260px, 82%);
	margin: 0 auto 28px;
	padding: 12px;
	border: 1px solid rgba(33, 27, 46, 0.08);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(33, 27, 46, 0.08);
}

.diatips-book-download__qr-link:focus-visible,
.diatips-book-download__button:focus-visible {
	outline: 3px solid rgba(89, 68, 146, 0.38);
	outline-offset: 4px;
}

.diatips-book-download__qr {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.diatips-book-download__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 180px;
	padding: 14px 24px;
	border-radius: 999px;
	background: var(--diatips-book-accent);
	box-shadow: 0 9px 20px rgba(89, 68, 146, 0.22);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 180ms ease, transform 180ms ease;
}

.diatips-book-download__button:hover {
	transform: translateY(-1px);
	background: var(--diatips-book-accent-dark);
	color: #fff;
}

.diatips-book-download__button span {
	font-size: 17px;
}

@media (max-width: 767px) {
	.diatips-book-download {
		padding-inline: 18px;
	}

	.diatips-book-download__grid {
		grid-template-columns: 1fr;
	}

	.diatips-book-download__card {
		border-radius: 20px;
	}

	.diatips-book-download__qr-link {
		width: min(240px, 86%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.diatips-book-download__card,
	.diatips-book-download__button {
		transition: none;
	}
}
