/* =========================================================
   LieDetectorr — design system (Astra child theme)
   Palette borrowed from LionWebsiteDesign per user request.
   ========================================================= */
:root {
	--navy: #0f172a;
	--navy-soft: #16213f;
	--navy-card: #1a2540;
	--accent: #f7941d;
	--accent-2: #ff8a00;
	--accent-red: #ff5a4e;
	--gradient: linear-gradient(90deg, var(--accent) 0%, var(--accent-red) 100%);
	--ink: #0f172a;
	--gray-700: #334155;
	--gray-500: #64748b;
	--gray-200: #e2e8f0;
	--bg-light: #f8fafc;
	--peach: #fff1e0;
	--white: #ffffff;
	--radius: 16px;
	--shadow-card: 0 10px 30px rgba(15, 23, 42, 0.08);
	--shadow-card-hover: 0 20px 40px rgba(15, 23, 42, 0.14);
	--font-head: "Sora", "Poppins", sans-serif;
	--font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body.rpt-site {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--bg-light);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 12px; }

/* Top bar */
.rpt-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	max-width: 520px;
	margin: 0 auto;
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 0 0 18px 18px;
}
.rpt-topbar-brand {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 18px;
	color: var(--white);
}
.rpt-topbar-mark {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--gradient);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 11px;
	letter-spacing: -0.5px;
}
.rpt-topbar-contact {
	color: #cbd5e1;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: border-color .2s ease, color .2s ease;
}
.rpt-topbar-contact:hover { border-color: var(--accent); color: #fff; }

/* Hero (dark navy, sits behind the top bar too) */
.rpt-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 60%, var(--navy-card) 100%);
	padding-bottom: 56px;
	padding-top: 40px;
}
.rpt-hero::before,
.rpt-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.35;
	pointer-events: none;
	z-index: 0;
}
.rpt-hero::before {
	width: 320px;
	height: 320px;
	background: var(--accent);
	top: -120px;
	left: -80px;
	animation: rpt-drift-1 14s ease-in-out infinite alternate;
}
.rpt-hero::after {
	width: 280px;
	height: 280px;
	background: var(--accent-red);
	bottom: -100px;
	right: -60px;
	animation: rpt-drift-2 16s ease-in-out infinite alternate;
}
@keyframes rpt-drift-1 {
	0% { transform: translate(0, 0) scale(1); }
	100% { transform: translate(40px, 30px) scale(1.15); }
}
@keyframes rpt-drift-2 {
	0% { transform: translate(0, 0) scale(1); }
	100% { transform: translate(-30px, -25px) scale(1.1); }
}
.rpt-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 480px;
	margin: 0 auto;
	padding: 24px 24px 0;
	text-align: center;
}
.rpt-avatar {
	position: relative;
	width: 84px;
	height: 84px;
	margin: 8px auto 20px;
	border-radius: 50%;
	background: var(--gradient);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 26px;
	letter-spacing: -0.5px;
	box-shadow: 0 12px 32px rgba(247, 148, 29, 0.35);
	animation: rpt-pulse-ring 2.6s ease-out infinite;
}
@keyframes rpt-pulse-ring {
	0% { box-shadow: 0 12px 32px rgba(247, 148, 29, 0.35), 0 0 0 0 rgba(247, 148, 29, 0.45); }
	70% { box-shadow: 0 12px 32px rgba(247, 148, 29, 0.35), 0 0 0 18px rgba(247, 148, 29, 0); }
	100% { box-shadow: 0 12px 32px rgba(247, 148, 29, 0.35), 0 0 0 0 rgba(247, 148, 29, 0); }
}
.rpt-hero h1 {
	color: #fff;
	font-size: clamp(26px, 5vw, 34px);
	margin-bottom: 10px;
	background: linear-gradient(90deg, #fff 40%, #ffd9b3 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.rpt-tagline {
	color: #cbd5e1;
	font-size: 16px;
	line-height: 1.6;
	max-width: 480px;
	margin: 0 auto 14px;
}
.rpt-affiliate-note {
	color: #94a3b8;
	font-size: 13px;
	margin: 0;
}
.rpt-affiliate-note a { color: var(--accent); font-weight: 600; position: relative; }
.rpt-affiliate-note a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 1px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .25s ease;
}
.rpt-affiliate-note a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Book link-tree list */
.rpt-books {
	position: relative;
	padding: 0 20px 80px;
	margin-top: -32px;
	background-image: radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px);
	background-size: 22px 22px;
	background-position: -11px -11px;
}
.rpt-books-inner {
	max-width: 480px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.rpt-book-card {
	position: relative;
	border-radius: 26px;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px 14px 14px;
	transition: transform .25s ease, box-shadow .25s ease, background-image .25s ease;
	border: 2px solid transparent;
	background-image: linear-gradient(var(--white), var(--white)), linear-gradient(120deg, var(--gray-200), var(--gray-200));
	background-origin: border-box;
	background-clip: padding-box, border-box;
}
.rpt-book-card:hover {
	transform: translateY(-5px) scale(1.01);
	background-image: linear-gradient(var(--white), var(--white)), var(--gradient);
	box-shadow: var(--shadow-card-hover), 0 0 26px rgba(247, 148, 29, 0.35);
}
.rpt-book-card.rpt-featured {
	border-width: 2.5px;
	background-image: linear-gradient(var(--white), var(--white)), var(--gradient);
	box-shadow: 0 6px 22px rgba(247, 148, 29, 0.22);
}
.rpt-book-card.rpt-featured:hover {
	box-shadow: var(--shadow-card-hover), 0 0 30px rgba(247, 148, 29, 0.45);
}
.rpt-ribbon {
	position: absolute;
	top: -10px;
	left: 20px;
	background: var(--gradient);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
	box-shadow: 0 6px 14px rgba(247, 148, 29, 0.4);
}
.rpt-book-cover {
	flex: 0 0 68px;
	width: 68px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
	align-self: flex-start;
}
.rpt-book-cover img { transition: transform .35s ease; }
.rpt-book-card:hover .rpt-book-cover img { transform: scale(1.08) rotate(-1deg); }
.rpt-book-body { flex: 1; min-width: 0; }
.rpt-book-title { font-size: 16px; margin-bottom: 2px; }
.rpt-book-author { color: var(--gray-500); font-size: 12.5px; margin: 0 0 6px; }

.rpt-stars {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}
.rpt-star { font-size: 15px; line-height: 1; color: var(--gray-200); }
.rpt-star-full { color: var(--accent); text-shadow: 0 0 10px rgba(247, 148, 29, 0.45); }
.rpt-star-half {
	background: linear-gradient(90deg, var(--accent) 50%, var(--gray-200) 50%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.rpt-rating-num { font-weight: 700; font-size: 13px; margin-left: 4px; }
.rpt-rating-count { color: var(--gray-500); font-size: 12px; }

.rpt-book-blurb {
	color: var(--gray-700);
	font-size: 13.5px;
	line-height: 1.55;
	margin: 0 0 10px;
}

.rpt-book-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.rpt-book-price { font-weight: 700; font-family: var(--font-head); color: var(--ink); font-size: 14px; }
.rpt-book-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-wrap: wrap; }

/* Buttons */
.rpt-btn {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--gradient);
	color: #fff !important;
	font-weight: 700;
	font-size: 13px;
	padding: 9px 16px;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease;
	box-shadow: 0 6px 16px rgba(247, 148, 29, 0.3);
}
.rpt-btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
	transform: skewX(-20deg);
	transition: left .55s ease;
}
.rpt-btn:hover::before { left: 130%; }
.rpt-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(247, 148, 29, 0.4); }

.rpt-btn-outline {
	background: var(--white);
	color: var(--ink) !important;
	border: 1px solid var(--gray-200);
	box-shadow: none;
}
.rpt-btn-outline::before { display: none; }
.rpt-btn-outline:hover {
	border-color: var(--accent);
	color: var(--accent) !important;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

/* Review modal */
.rpt-review-overlay {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.rpt-review-overlay[hidden] { display: none; }
.rpt-review-modal {
	position: relative;
	background: var(--white);
	border-radius: 20px;
	max-width: 640px;
	width: 100%;
	max-height: 84vh;
	overflow-y: auto;
	padding: 40px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
	animation: rpt-modal-in .25s ease;
}
@keyframes rpt-modal-in {
	from { opacity: 0; transform: translateY(12px) scale(.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
.rpt-review-close {
	position: sticky;
	float: right;
	top: 0;
	margin: -8px -8px 0 12px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--gray-200);
	background: var(--white);
	color: var(--gray-500);
	font-size: 14px;
	cursor: pointer;
	transition: color .2s ease, border-color .2s ease;
}
.rpt-review-close:hover { color: var(--accent-red); border-color: var(--accent-red); }
.rpt-review-modal-body h3 { font-size: 21px; margin: 0 0 14px; padding-right: 30px; }
.rpt-review-modal-body p { color: var(--gray-700); font-size: 14.5px; line-height: 1.7; margin: 0 0 14px; }
.rpt-review-modal-body p strong { color: var(--ink); font-family: var(--font-head); font-size: 15.5px; display: block; margin-top: 6px; }

/* Legal / contact pages */
.rpt-legal-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 60%, var(--navy-card) 100%);
	padding: 56px 24px 60px;
}
.rpt-legal-hero::before {
	content: "";
	position: absolute;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: var(--accent);
	filter: blur(70px);
	opacity: 0.3;
	top: -100px;
	right: -60px;
	animation: rpt-drift-1 14s ease-in-out infinite alternate;
	pointer-events: none;
}
.rpt-legal-hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; }
.rpt-eyebrow {
	display: inline-block;
	color: var(--accent);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.rpt-legal-hero h1 { color: #fff; font-size: clamp(26px, 5vw, 36px); }
.rpt-legal-updated, .rpt-lead { color: #cbd5e1; font-size: 15px; }

.rpt-legal {
	padding: 56px 20px 80px;
}
.rpt-legal-inner {
	max-width: 720px;
	margin: 0 auto;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	padding: 40px;
}
.rpt-legal-inner h2 { font-size: 19px; margin-top: 28px; }
.rpt-legal-inner h2:first-child { margin-top: 0; }
.rpt-legal-inner p { color: var(--gray-700); line-height: 1.7; font-size: 15px; }
.rpt-legal-inner a { color: var(--accent); font-weight: 600; }

.rpt-placeholder-flag {
	background: #fff7ed;
	color: #9a3412;
	border: 1px solid #fed7aa;
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 13.5px !important;
	font-weight: 600;
}

.rpt-legal-cta {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--gray-200);
	text-align: center;
}
.rpt-legal-cta h3 { margin-bottom: 4px; }
.rpt-legal-cta p { margin-bottom: 18px !important; }

/* Contact page */
.rpt-contact-info {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	max-width: 720px;
	margin: 0 auto 28px;
}
.rpt-contact-card {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	padding: 22px;
	text-align: center;
}
.rpt-contact-card h3 { font-size: 15px; margin-bottom: 4px; }
.rpt-contact-card p { color: var(--gray-700); font-size: 14px; margin: 0; }
.rpt-contact-card a { color: var(--accent); font-weight: 600; }

.rpt-form-wrap {
	max-width: 720px;
	margin: 0 auto;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	padding: 36px;
}
.rpt-form-group { margin-bottom: 18px; }
.rpt-form-group label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: var(--gray-700); }
.rpt-form-group input, .rpt-form-group textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid var(--gray-200);
	font-family: var(--font-body);
	font-size: 14px;
	resize: vertical;
}
.rpt-form-group input:focus, .rpt-form-group textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.15);
}
.rpt-form-note { color: var(--gray-500); font-size: 12.5px; margin-top: 14px; }
.rpt-alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; }
.rpt-alert-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.rpt-alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* Footer */
.rpt-footer {
	background: #0b1120;
	color: #94a3b8;
	padding: 40px 20px 28px;
}
.rpt-footer-inner { max-width: 480px; margin: 0 auto; text-align: center; }
.rpt-footer-disclosure {
	font-size: 12.5px;
	line-height: 1.7;
	max-width: 480px;
	margin: 0 auto 20px;
}
.rpt-footer-disclosure a { color: var(--accent); font-weight: 600; }
.rpt-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 20px;
	margin-bottom: 18px;
}
.rpt-footer-links a { font-size: 13px; color: #cbd5e1; transition: color .2s ease; }
.rpt-footer-links a:hover { color: var(--accent); }
.rpt-footer-copy { font-size: 12px; margin: 0; color: #64748b; }

/* Responsive */
@media (max-width: 560px) {
	.rpt-contact-info { grid-template-columns: 1fr; }
	.rpt-legal-inner, .rpt-form-wrap { padding: 26px; }
}
@media (max-width: 380px) {
	.rpt-book-cover { flex: 0 0 56px; width: 56px; border-radius: 13px; }
	.rpt-book-title { font-size: 15px; }
}
