/* ═══════════════════════════════════════════════════════════════
   PDF Research Finder — allaround.work theme
   Copyright (c) 2026 Zachary Taylor Tucholski. All rights reserved.
   ═══════════════════════════════════════════════════════════════ *//* ── Variables (mirrors /css/atx.css) ──────────────────────────── */:root
{
	--bg: #0a0a0a;
	--bg-card: #131313;
	--bg-card-hover: #1a1a1a;
	--bg-section: #111111;
	--bg-alt: #0e0e0e;
	--text: #c2c2c2;
	--text-muted: #666;
	--heading: #f0f0f0;
	--accent: #2dd3b4;
	--accent-dark: #22b89a;
	--accent-glow: rgba(45, 211, 180, 0.14);
	--accent-rgb: 45, 211, 180;
	--orange: #f0823a;
	--orange-dark: #d96e28;
	--orange-glow: rgba(240, 130, 58, 0.12);
	--border: #1c1c1c;
	--border-light: #252525;
	--font-h: 'Montserrat', sans-serif;
	--font-b: 'Open Sans', sans-serif;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 4px 28px rgba(0, 0, 0, 0.5);
	--shadow-card: 0 2px 16px rgba(0, 0, 0, 0.4);
	--transition: 0.28s ease;
	--max-w: 900px;
	--nav-h: 64px;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0
}
html {
	font-size: 15px;
	scroll-behavior: smooth;
	scroll-padding-top: var(--nav-h)
}
body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-b);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
}
img {
	max-width: 100%;
	height: auto;
	display: block
}
a {
	color: var(--accent);
	text-decoration: none;
	transition: color var(--transition)
}
a:hover {
	color: var(--accent-dark)
}
ul {
	list-style: none
}
h1,
h2,
h3,
h4,
h5 {
	font-family: var(--font-h);
	color: var(--heading);
	line-height: 1.22
}

/* ── Layout ────────────────────────────────────────────────────── */
.site-wrap {
	width: 92%;
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 0
}

/* ── Nav ────────────────────────────────────────────────────────── */
.site-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--nav-h);
	z-index: 1000;
	background: rgba(10, 10, 10, 0.88);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
	transition: background var(--transition);
}
.site-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--nav-h);
	width: 92%;
	max-width: var(--max-w);
	margin: 0 auto;
}
.site-nav__logo {
	display: flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
}
.site-nav__logo-icon {
	width: 36px;
	height: 36px;
	background: var(--accent);
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	color: #0a0a0a;
	font-size: 0.72rem;
	font-family: var(--font-h);
}
.site-nav__logo-img {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	object-fit: contain;
	background: transparent;
	flex-shrink: 0;
}
.site-nav__logo-name {
	font-family: var(--font-h);
	font-weight: 800;
	font-size: 0.9rem;
	color: #fff;
	letter-spacing: 0.04em;
}
.site-nav__logo-sub {
	font-size: 0.58rem;
	color: var(--text-muted);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1;
}
.site-nav__back {
	font-size: 0.8rem;
	color: var(--text-muted);
	font-weight: 600;
	transition: color var(--transition);
	letter-spacing: 0.02em;
}
.site-nav__back:hover {
	color: #fff
}

/* ── Header ─────────────────────────────────────────────────────── */
.site-header {
	padding: calc(var(--nav-h) + 56px) 0;
	text-align: center;
	background: radial-gradient(ellipse 80% 60% at 50% -20%,rgba(45,211,180,.08) 0%,transparent 70%), var(--bg);
	border-bottom: 1px solid var(--border);
	margin-bottom: 36px;
}
.header-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(45, 211, 180, 0.10);
	border: 1px solid rgba(45, 211, 180, 0.25);
	border-radius: 100px;
	padding: 5px 16px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 20px;
}
.header-badge::before {
	content: '';
	width: 6px;
	height: 6px;
	background: var(--accent);
	border-radius: 50%;
	animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
	0,
	100% {
		opacity: 1;
		transform: scale(1)
	}
	50% {
		opacity: .5;
		transform: scale(0.65)
	}
}
.site-header h1 {
	font-size: clamp(1.8rem, 5vw, 3rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
}
.site-header h1 span {
	background: linear-gradient(135deg,var(--accent),#6afbdf);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.site-header p {
	color: var(--text-muted);
	font-size: 0.95rem;
	max-width: 500px;
	margin: 0 auto;
}

/* ── Search form ─────────────────────────────────────────────────── */
.search-form {
	display: flex;
	gap: 0.65rem;
	margin-bottom: 1rem
}
.search-input-box {
	display: flex;
	align-items: center;
	flex: 1;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	overflow: hidden;
	transition: border-color var(--transition);
}
.search-input-box:focus-within {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(45, 211, 180, 0.10);
}
.search-input-box .search-icon {
	padding: 0 12px;
	color: var(--text-muted);
	font-size: 1rem;
	pointer-events: none;
	flex-shrink: 0;
}
#search-input {
	flex: 1;
	background: none;
	border: none;
	outline: none;
	padding: 12px 12px 12px 0;
	font-size: 0.92rem;
	color: var(--heading);
	font-family: var(--font-b);
}
#search-input::placeholder {
	color: var(--text-muted)
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: var(--radius-sm);
	font-family: var(--font-h);
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
	border: none;
	text-decoration: none;
	transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
	white-space: nowrap;
	letter-spacing: 0.02em;
}
.btn:hover {
	transform: translateY(-2px)
}
.btn-primary {
	background: var(--accent);
	color: #0a0a0a
}
.btn-primary:hover {
	background: var(--accent-dark);
	color: #0a0a0a;
	box-shadow: 0 4px 20px var(--accent-glow);
	text-decoration: none
}
.btn-primary:disabled {
	opacity: .55;
	pointer-events: none;
	transform: none
}
.btn-ghost {
	background: transparent;
	color: var(--text-muted);
	border: 1.5px solid var(--border-light);
	padding: 7px 16px;
	font-size: 0.76rem;
	border-radius: 100px;
}
.btn-ghost:hover,
.btn-ghost.active {
	border-color: rgba(45, 211, 180, 0.35);
	background: rgba(45, 211, 180, 0.08);
	color: var(--accent);
	transform: none;
}

/* ── Source filters ──────────────────────────────────────────────── */
.source-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1.3rem;
	align-items: center;
}
.source-filters .filter-label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-right: 0.3rem;
}

/* ── Status bar ──────────────────────────────────────────────────── */
.results-status {
	font-size: 0.82rem;
	color: var(--text-muted);
	margin-bottom: 1rem;
	min-height: 1.4rem;
}
.results-status strong {
	color: var(--heading)
}

/* ── URL / SEO band ─────────────────────────────────────────────── */
.url-band {
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-sm);
	background: rgba(45, 211, 180, 0.06);
	font-size: 0.82rem;
	color: var(--text-muted);
}
.url-band a {
	color: var(--accent);
	font-weight: 600;
}

/* ── Result cards ────────────────────────────────────────────────── */
.results-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem
}
.result-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.2rem 1.4rem;
	transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.result-card:hover {
	border-color: rgba(45, 211, 180, 0.35);
	transform: translateY(-3px);
	box-shadow: var(--shadow-card), 0 0 0 1px rgba(45, 211, 180, 0.06);
}
.card-meta {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.55rem;
	flex-wrap: wrap;
}
.source-badge {
	display: inline-block;
	padding: 0.2rem 0.65rem;
	border-radius: 100px;
	font-size: 0.67rem;
	font-weight: 700;
	font-family: var(--font-h);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #0a0a0a;
}
.card-year {
	font-size: 0.78rem;
	color: var(--text-muted)
}
.citations-badge {
	font-size: 0.76rem;
	color: var(--text-muted);
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}
.citations-badge::before {
	content: '⭐';
	font-size: 0.68rem
}
.card-title {
	font-size: 0.97rem;
	font-weight: 700;
	font-family: var(--font-h);
	color: var(--heading);
	line-height: 1.35;
	margin-bottom: 0.35rem;
}
.card-title a:hover {
	color: var(--accent)
}
.card-authors {
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-bottom: 0.4rem
}
.card-abstract {
	font-size: 0.84rem;
	color: var(--text-muted);
	line-height: 1.6;
	margin-bottom: 0.75rem;
}
.card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.85rem
}
.tag {
	background: rgba(45, 211, 180, 0.08);
	border: 1px solid rgba(45, 211, 180, 0.15);
	color: var(--accent);
	border-radius: 100px;
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.18rem 0.65rem;
}
.card-actions {
	position: relative;
	display: flex;
	gap: 0.55rem;
	flex-wrap: wrap;
	align-items: center;
}

/* ── Formats dropdown (IA items) ────────────────────────────────── */
.btn-formats {
	background: transparent;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-sm);
	padding: 0.28rem 0.55rem;
	font-size: 0.78rem;
	color: var(--text-muted);
	cursor: pointer;
	transition: border-color var(--transition), color var(--transition);
	white-space: nowrap;
}
.btn-formats:hover,
.btn-formats:focus-visible {
	border-color: rgba(45, 211, 180, 0.45);
	color: var(--accent);
	outline: none;
}
.formats-drop {
	position: absolute;
	top: calc(100% + 0.3rem);
	left: 0;
	z-index: 30;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 0.35rem 0.4rem;
	min-width: 120px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.fmt-link {
	display: block;
	padding: 0.3rem 0.45rem;
	font-size: 0.82rem;
	color: var(--accent);
	text-decoration: none;
	border-radius: 3px;
	white-space: nowrap;
}
.fmt-link:hover {
	background: rgba(45, 211, 180, 0.09);
}
.fmt-none {
	display: block;
	font-size: 0.78rem;
	color: var(--text-muted);
	padding: 0.2rem 0.4rem;
}

/* ── Download history section ───────────────────────────────────── */
.section-block--history .section-block__header p strong {
	color: var(--accent);
}
.history-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.48rem;
}
.history-item {
	display: grid;
	grid-template-columns: auto auto 1fr auto;
	grid-template-rows: auto auto;
	column-gap: 0.5rem;
	row-gap: 0.1rem;
	align-items: center;
	padding: 0.6rem 0.75rem;
	background: rgba(255, 255, 255, 0.015);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-sm);
}
/* Event type badge (col 1) */
.history-event {
	grid-column: 1;
	grid-row: 1 / 3;
	font-size: 0.62rem;
	font-weight: 700;
	padding: 0.14rem 0.38rem;
	border-radius: 3px;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.history-event.event-download {
	background: var(--accent);
	color: #0a0a0a;
}
.history-event.event-search {
	background: rgba(45, 211, 180, 0.15);
	color: var(--accent);
	border: 1px solid rgba(45, 211, 180, 0.3);
}
/* Source badge (col 2) */
.history-source {
	grid-column: 2;
	grid-row: 1 / 3;
	font-size: 0.63rem;
	font-weight: 700;
	padding: 0.14rem 0.38rem;
	border-radius: 3px;
	background: #428bca;
	color: #fff;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.history-source.arxiv {
	background: #b31b1b;
}
.history-source.journals {
	background: #2e7d32;
}
.history-title {
	grid-column: 3;
	grid-row: 1;
	font-size: 0.83rem;
	font-weight: 600;
	color: var(--heading);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.history-query {
	grid-column: 3;
	grid-row: 2;
	font-size: 0.73rem;
	color: var(--text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.history-time {
	grid-column: 4;
	grid-row: 1 / 3;
	font-size: 0.71rem;
	color: var(--text-muted);
	white-space: nowrap;
}
.history-empty {
	color: var(--text-muted);
	font-size: 0.84rem;
	padding: 0.4rem 0;
}

/* ── Popular topics grid (homepage + topic page related) ─────────── */
.section-block--topics .section-block__header p strong {
	color: var(--accent);
}
.topics-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}
.topic-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.32rem 0.7rem;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border-light);
	border-radius: 99px;
	font-size: 0.8rem;
	color: var(--text);
	text-decoration: none;
	transition: border-color var(--transition), background var(--transition), color var(--transition);
	white-space: nowrap;
}
.topic-chip:hover,
.topic-chip:focus-visible {
	border-color: rgba(45, 211, 180, 0.45);
	background: rgba(45, 211, 180, 0.07);
	color: var(--accent);
	outline: none;
}
.topic-chip__count {
	font-size: 0.68rem;
	color: var(--text-muted);
	font-variant-numeric: tabular-nums;
}

/* ── Topic page specifics ─────────────────────────────────────────── */
.breadcrumb-nav {
	position: sticky;
	top: var(--nav-h);
	z-index: 10;
	background: var(--bg);
	border-bottom: 1px solid var(--border);
	padding: 0.45rem 0;
}
.breadcrumb {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0.3rem;
	font-size: 0.75rem;
	color: var(--text-muted);
	align-items: center;
	flex-wrap: wrap;
}
.breadcrumb li:not(:last-child)::after {
	content: '/';
	margin-left: 0.3rem;
	opacity: .4;
}
.breadcrumb a {
	color: var(--text-muted);
	text-decoration: none;
}
.breadcrumb a:hover {
	color: var(--accent);
}
.breadcrumb li:last-child {
	color: var(--heading);
	font-weight: 600;
}

.site-header--topic {
	padding-top: calc(var(--nav-h) + 2.5rem);
}
.topic-meta {
	font-size: 0.82rem;
	color: var(--text-muted);
	margin-top: 0.5rem;
}
.topic-meta strong {
	color: var(--heading);
}
.topic-context-para {
	margin-bottom: 1.1rem;
	padding: 0.8rem 1rem;
	background: rgba(45, 211, 180, 0.04);
	border-left: 3px solid rgba(45, 211, 180, 0.3);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-size: 0.86rem;
	color: var(--text);
	line-height: 1.65;
}
.topic-live-cta {
	text-align: center;
}
.topic-live-cta .btn-primary {
	display: inline-block;
	padding: 0.7rem 1.6rem;
	font-size: 0.9rem;
}
.btn-download {
	background: var(--accent);
	color: #0a0a0a;
	border: none;
	border-radius: var(--radius-sm);
	font-size: 0.78rem;
	font-weight: 700;
	font-family: var(--font-h);
	padding: 0.44rem 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
	letter-spacing: 0.02em;
	cursor: pointer;
}
.btn-download:hover {
	background: var(--accent-dark);
	color: #0a0a0a;
	box-shadow: 0 4px 16px var(--accent-glow);
	transform: translateY(-1px);
	text-decoration: none;
}
.btn-details {
	background: transparent;
	color: var(--text-muted);
	border: 1.5px solid var(--border-light);
	border-radius: var(--radius-sm);
	font-size: 0.78rem;
	font-weight: 700;
	font-family: var(--font-h);
	padding: 0.44rem 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	transition: color var(--transition), border-color var(--transition), background var(--transition);
	letter-spacing: 0.02em;
	cursor: pointer;
}
.btn-details:hover {
	color: var(--accent);
	border-color: rgba(45, 211, 180, 0.35);
	background: rgba(45, 211, 180, 0.06);
	text-decoration: none;
}

/* ── Skeleton loading ────────────────────────────────────────────── */
@keyframes shimmer {
	0% {
		background-position: -600px 0
	}
	100% {
		background-position: 600px 0
	}
}
.skeleton {
	background: linear-gradient(90deg,var(--bg-card) 25%,var(--bg-card-hover) 50%,var(--bg-card) 75%);
	background-size: 1200px 100%;
	animation: shimmer 1.8s infinite linear;
	border-radius: 4px;
}
.skeleton-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.2rem 1.4rem;
}
.sk-line {
	display: block;
	height: 0.88rem;
	margin-bottom: 0.5rem;
	border-radius: 4px
}
.sk-badge {
	width: 70px;
	height: 0.72rem;
	margin-bottom: 0.65rem;
	display: inline-block;
	border-radius: 100px
}
.sk-title {
	width: 72%;
	height: 0.95rem
}
.sk-author {
	width: 48%;
	height: 0.78rem
}
.sk-text1 {
	width: 100%
}
.sk-text2 {
	width: 88%
}
.sk-text3 {
	width: 60%
}

/* ── States ──────────────────────────────────────────────────────── */
.state-empty,
.state-error,
.state-welcome {
	text-align: center;
	padding: 3.5rem 1rem;
	color: var(--text-muted);
}
.state-empty .icon,
.state-error .icon,
.state-welcome .icon {
	font-size: 3rem;
	display: block;
	margin-bottom: 0.75rem
}
.state-empty h3,
.state-welcome h3 {
	color: var(--heading);
	margin-bottom: 0.4rem;
	font-family: var(--font-h)
}
.state-error h3 {
	color: #f0523a;
	margin-bottom: 0.4rem;
	font-family: var(--font-h)
}
.state-error .errors-list {
	text-align: left;
	max-width: 460px;
	margin: 0.75rem auto 0;
	font-size: 0.82rem;
	background: rgba(240, 82, 58, 0.08);
	border: 1px solid rgba(240, 82, 58, 0.2);
	border-radius: var(--radius-sm);
	padding: 0.75rem 1rem;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	color: #f0823a;
}
.state-error .errors-list li::before {
	content: '⚠ '
}
.suggestions {
	margin-top: 0.85rem;
	font-size: 0.82rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	justify-content: center;
}
.suggestion-chip {
	background: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: 100px;
	padding: 0.3rem 0.85rem;
	font-size: 0.78rem;
	cursor: pointer;
	color: var(--text-muted);
	font-weight: 600;
	transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.suggestion-chip:hover {
	background: rgba(45, 211, 180, 0.08);
	border-color: rgba(45, 211, 180, 0.3);
	color: var(--accent);
}

/* ── Notices ─────────────────────────────────────────────────────── */
.notice {
	padding: 0.7rem 1rem;
	border-radius: var(--radius-sm);
	font-size: 0.82rem;
	margin-bottom: 1rem;
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
}
.notice-warn {
	background: rgba(240, 130, 58, 0.08);
	border: 1px solid rgba(240, 130, 58, 0.2);
	color: var(--orange);
}
.notice-info {
	background: rgba(45, 211, 180, 0.08);
	border: 1px solid rgba(45, 211, 180, 0.2);
	color: var(--accent);
}

/* ── Pagination ──────────────────────────────────────────────────── */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
	margin: 2rem 0;
	font-size: 0.88rem;
}
.pagination .page-info {
	color: var(--text-muted)
}

/* ── Strategy sections (main-site style conversion blocks) ─────── */
.section-block {
	margin-top: 2.2rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.4rem 1.3rem;
}
.section-block--alt {
	background: linear-gradient(180deg, rgba(45,211,180,.04), rgba(45,211,180,.01));
}
.section-block__header {
	margin-bottom: 1rem;
}
.section-block__label {
	display: inline-block;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--accent);
	font-weight: 700;
	margin-bottom: 0.45rem;
}
.section-block__header h2 {
	font-size: 1.25rem;
	margin-bottom: 0.45rem;
}
.section-block__header p {
	color: var(--text-muted);
	font-size: 0.88rem;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
}
.feature-card {
	border: 1px solid var(--border-light);
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.01);
	padding: 0.95rem;
}
.feature-card h3 {
	font-size: 0.92rem;
	margin-bottom: 0.4rem;
}
.feature-card p {
	color: var(--text-muted);
	font-size: 0.82rem;
}

.cta-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
}
.cta-card {
	border: 1px solid var(--border-light);
	border-radius: var(--radius-sm);
	background: var(--bg-alt);
	padding: 1rem;
	transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.cta-card:hover {
	border-color: rgba(45, 211, 180, 0.35);
	transform: translateY(-2px);
	box-shadow: var(--shadow-card);
}
.cta-card h3 {
	font-size: 0.95rem;
	margin-bottom: 0.35rem;
	color: var(--heading);
}
.cta-card p {
	color: var(--text-muted);
	font-size: 0.83rem;
	margin-bottom: 0.6rem;
}
.cta-card__link {
	color: var(--accent);
	font-size: 0.8rem;
	font-weight: 700;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
	background: var(--bg-alt);
	border-top: 1px solid var(--border);
	padding: 32px 0;
	margin-top: 56px;
	text-align: center;
	font-size: 0.78rem;
	color: var(--text-muted);
}
.site-footer a {
	color: var(--text-muted)
}
.site-footer a:hover {
	color: #fff
}
.site-footer .footer-brand {
	font-family: var(--font-h);
	font-weight: 700;
	color: var(--accent);
	font-size: 0.85rem;
	margin-bottom: 0.4rem;
}
.footer-copy {
	font-size: 0.72rem;
	color: var(--text-muted);
	margin-top: 0.5rem;
	opacity: 0.75;
}
.footer-logo {
	width: 76px;
	height: auto;
	margin: 0 auto 0.45rem;
	opacity: .95;
}

/* ── Scroll reveal ───────────────────────────────────────────────── */
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.6s ease, transform 0.6s ease
}
.reveal.visible {
	opacity: 1;
	transform: translateY(0)
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media(max-width:768px) {
	.site-header {
		padding-top: calc(var(--nav-h) + 32px)
	}
	.site-header h1 {
		font-size: 1.7rem
	}
	.search-form {
		flex-direction: column
	}
	.btn-primary {
		width: 100%;
		justify-content: center
	}
	.card-actions {
		gap: 0.4rem
	}
	.feature-grid,
	.cta-grid {
		grid-template-columns: 1fr;
	}
}
@media(max-width:520px) {
	.source-filters {
		gap: 0.35rem
	}
	.result-card {
		padding: 0.95rem 1rem
	}
}
