/* Landing page for addictivebooks.com — light scheme */

:root {
	--home_bg: #ffffff;
	--home_surface: #f5f5f5;
	--home_surface_alt: #eeeeee;
	--home_text: #222222;
	--home_muted: #555555;
	--home_accent: darkorange;
	--home_accent_hover: #e07800;
	--home_line: #dddddd;
	--home_header_bar: #bbbbbb;
	--font_serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
	--font_sans: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	color-scheme: light;
}

body {
	margin: 0;
	background: var(--home_bg);
	color: var(--home_text);
	font-family: var(--font_serif);
}

a {
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

.site_header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--home_line);
}

.site_brand {
	font-family: var(--font_sans);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--home_text);
}

.site_header_nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.site_header_nav a {
	font-family: var(--font_sans);
	font-size: 0.82rem;
	text-decoration: none;
	color: var(--home_muted);
}

.site_header_nav a:hover {
	color: var(--home_accent);
}

.hero {
	position: relative;
	min-height: 100svh;
	display: grid;
	align-items: end;
	overflow: hidden;
	background: var(--home_bg);
}

.hero_bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.42) 42%, rgba(255, 255, 255, 0.08) 68%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.34) 62%, rgba(255, 255, 255, 0.92) 100%),
		url("../images/home/hero_addictive_books.png") 72% center / cover no-repeat;
	transform: scale(1.03);
	animation: hero_zoom 18s ease-out forwards;
}

@keyframes hero_zoom {
	from { transform: scale(1.08); }
	to { transform: scale(1.03); }
}

.hero_content {
	position: relative;
	z-index: 2;
	width: min(760px, 100%);
	padding: 120px 24px 72px;
}

.hero_mark {
	width: 72px;
	margin-bottom: 18px;
	opacity: 0;
	animation: hero_fade_up 0.9s ease 0.15s forwards;
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.hero_kicker {
	margin: 0 0 10px;
	font-family: var(--font_sans);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--home_accent);
	opacity: 0;
	animation: hero_fade_up 0.9s ease 0.25s forwards;
}

.hero_title {
	margin: 0;
	font-size: clamp(2.8rem, 8vw, 5.2rem);
	line-height: 0.95;
	font-weight: 600;
	color: var(--home_text);
	opacity: 0;
	animation: hero_fade_up 0.9s ease 0.35s forwards;
	text-shadow: 1px 1px 6px rgba(255, 255, 255, 0.85);
}

.hero_tagline {
	margin: 18px 0 0;
	font-size: clamp(1.15rem, 2.5vw, 1.7rem);
	color: var(--home_muted);
	opacity: 0;
	animation: hero_fade_up 0.9s ease 0.45s forwards;
}

.hero_actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
	opacity: 0;
	animation: hero_fade_up 0.9s ease 0.55s forwards;
}

@keyframes hero_fade_up {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.btn_primary,
.btn_secondary {
	display: inline-block;
	padding: 13px 22px;
	border-radius: 999px;
	font-family: var(--font_sans);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn_primary {
	background: var(--home_accent);
	color: #ffffff;
}

.btn_primary:hover {
	background: var(--home_accent_hover);
}

.btn_secondary {
	border: 1px solid var(--home_line);
	background: #ffffff;
	color: var(--home_muted);
}

.btn_secondary:hover {
	border-color: var(--home_accent);
	color: var(--home_accent);
}

.home_section {
	padding: 56px 24px;
	background: var(--home_bg);
}

.home_section:nth-of-type(even) {
	background: var(--home_surface);
}

.home_section_inner {
	max-width: 1080px;
	margin: 0 auto;
}

.section_label {
	margin: 0 0 10px;
	font-family: var(--font_sans);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--home_accent);
}

.section_title {
	margin: 0 0 28px;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	line-height: 1.1;
	color: var(--home_text);
}

.path_grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.path_link {
	display: block;
	padding: 18px 18px 16px;
	background: #ffffff;
	border: 1px solid var(--home_line);
	border-radius: 14px;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.path_link:hover {
	border-color: var(--home_accent);
	box-shadow: 0 6px 18px rgba(255, 140, 0, 0.12);
	transform: translateY(-2px);
}

.path_link strong {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font_sans);
	font-size: 1rem;
	color: var(--home_text);
}

.path_link span {
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--home_muted);
}

.category_row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.category_card {
	padding: 22px 18px;
	background: #ffffff;
	border: 1px solid var(--home_line);
	border-radius: 16px;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.category_card:hover {
	border-color: var(--home_accent);
	box-shadow: 0 6px 18px rgba(255, 140, 0, 0.1);
}

.category_card h3 {
	margin: 0 0 8px;
	font-family: var(--font_sans);
	font-size: 1rem;
	color: var(--home_text);
}

.category_card p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--home_muted);
}

.final_cta {
	padding: 64px 24px 88px;
	text-align: center;
	border-top: 1px solid var(--home_line);
	background: var(--home_surface_alt);
}

.final_cta h2 {
	margin: 0 0 12px;
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	color: var(--home_text);
}

.final_cta p {
	max-width: 620px;
	margin: 0 auto 24px;
	color: var(--home_muted);
	line-height: 1.55;
}

.site_footer {
	padding: 0 24px 120px;
	background: var(--home_bg);
}

.site_footer ul {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	justify-content: center;
}

.site_footer a {
	font-family: var(--font_sans);
	font-size: 0.86rem;
	color: var(--home_muted);
	text-decoration: none;
}

.site_footer a:hover {
	color: var(--home_accent);
}

@media screen and (max-width: 900px) {
	.category_row {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 640px) {
	.site_header {
		padding: 14px 16px;
	}

	.site_header_nav {
		display: none;
	}

	.hero_content {
		padding-top: 96px;
		padding-bottom: 56px;
	}

	.path_grid,
	.category_row {
		grid-template-columns: 1fr;
	}

	.hero_bg {
		background:
			linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.12) 75%),
			linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.4) 62%, rgba(255, 255, 255, 0.94) 100%),
			url("../images/home/hero_addictive_books.png") 68% center / cover no-repeat;
	}
}
