/**
 * AI Tool Directory — front end.
 *
 * Signal catalogue: ink + teal, system UI display + body (no third-party fonts).
 * Scoped under .atd / body.atd-screen so theme chrome stays put.
 */

/* ---------- Page atmosphere ---------- */

body.atd-screen,
body.atd-screen.ast-separate-container,
body.atd-screen.ast-plain-container,
body.atd-screen.ast-page-builder-template,
body.atd-screen #page,
body.atd-screen .site-content,
body.atd-screen #content {
	background:
		radial-gradient(1100px 520px at 8% -8%, rgba(13, 148, 136, .14), transparent 55%),
		radial-gradient(900px 480px at 96% 4%, rgba(15, 20, 25, .05), transparent 50%),
		linear-gradient(180deg, #eef2f5 0%, #f5f6f8 40%, #f7f8fa 100%);
}

/* ---------- Astra header / footer chrome ---------- */

body.atd-chrome {
	--atd-ink: #0f1419;
	--atd-accent: #0d9488;
	--atd-accent-deep: #0a6f67;
	--atd-border: #d5dce2;
	--atd-text-soft: #4a5560;
	--atd-muted: #7a8692;
	--atd-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--atd-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.atd-chrome #masthead.site-header,
body.atd-chrome .ast-primary-header-bar,
body.atd-chrome .main-header-bar,
body.atd-chrome .ast-mobile-header-wrap,
body.atd-chrome .ast-mobile-header-bar {
	background: rgba(255, 255, 255, .72) !important;
	border: 0 !important;
	box-shadow: none !important;
	backdrop-filter: blur(12px) saturate(1.2);
	-webkit-backdrop-filter: blur(12px) saturate(1.2);
}

body.atd-chrome .ast-primary-header-bar,
body.atd-chrome .main-header-bar {
	border-bottom: 1px solid rgba(15, 20, 25, .08) !important;
}

body.atd-chrome .site-primary-header-wrap,
body.atd-chrome .ast-container {
	max-width: 1240px;
}

body.atd-chrome .ast-site-title-wrap {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
}

body.atd-chrome .site-title,
body.atd-chrome .site-title a,
body.atd-chrome .site-title a:hover,
body.atd-chrome .site-title a:focus {
	font-family: var(--atd-display);
	font-size: clamp(22px, 2.4vw, 26px);
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1;
	color: var(--atd-ink) !important;
	text-decoration: none !important;
}

body.atd-chrome .atd-chrome-brand__sub {
	display: inline-block;
	margin-left: 2px;
	font-family: var(--atd-font);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--atd-accent-deep);
	vertical-align: middle;
}

body.atd-chrome .main-header-menu .menu-link,
body.atd-chrome .ast-header-break-point .main-header-menu .menu-link,
body.atd-chrome .ast-builder-menu .menu-link {
	font-family: var(--atd-display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -.01em;
	line-height: 1.2 !important;
	color: var(--atd-ink) !important;
	padding: 8px 12px !important;
	border-radius: 8px;
	transition: background-color .18s ease, color .18s ease;
}

body.atd-chrome .ast-primary-header-bar .site-primary-header-wrap,
body.atd-chrome .main-header-bar .ast-builder-grid-row {
	min-height: 64px;
}

body.atd-chrome .ast-builder-menu .main-header-menu {
	gap: 4px;
	align-items: center;
}

body.atd-chrome .main-header-menu .menu-link:hover,
body.atd-chrome .main-header-menu .current-menu-item > .menu-link,
body.atd-chrome .ast-builder-menu .menu-link:hover,
body.atd-chrome .ast-builder-menu .current-menu-item > .menu-link {
	background: rgba(13, 148, 136, .1);
	color: var(--atd-accent-deep) !important;
	text-decoration: none !important;
}

body.atd-chrome .menu-toggle,
body.atd-chrome .ast-mobile-menu-trigger-minimal,
body.atd-chrome .ast-button-wrap .menu-toggle,
body.atd-chrome .ast-mobile-menu-buttons,
body.atd-chrome .ast-mobile-menu-buttons .menu-toggle .menu-toggle-icon,
body.atd-chrome .ast-header-break-point .ast-mobile-menu-buttons-minimal .menu-toggle,
body.atd-chrome .main-header-menu-toggle {
	border-color: var(--atd-border) !important;
	border-radius: 10px !important;
	color: var(--atd-ink) !important;
	background: rgba(255, 255, 255, .85) !important;
}
body.atd-chrome .menu-toggle .menu-toggle-icon,
body.atd-chrome .ast-mobile-menu-trigger-fill,
body.atd-chrome .ast-mobile-menu-trigger-minimal,
body.atd-chrome .ast-button-wrap .menu-toggle .ast-mobile-svg,
body.atd-chrome .ast-mobile-svg,
body.atd-chrome .ast-mobile-svg path {
	fill: var(--atd-ink) !important;
	color: var(--atd-ink) !important;
	stroke: var(--atd-ink) !important;
}

body.atd-chrome .ast-mobile-popup-drawer .ast-mobile-popup-inner,
body.atd-chrome .content-align-flex-start .ast-mobile-popup-inner {
	background: #f7f8fa !important;
}

body.atd-chrome #colophon.site-footer,
body.atd-chrome .site-footer,
body.atd-chrome .site-below-footer-wrap,
body.atd-chrome .ast-builder-grid-row-container-inner {
	background: transparent !important;
	border: 0 !important;
}

body.atd-chrome .site-below-footer-wrap {
	border-top: 1px solid rgba(15, 20, 25, .08) !important;
	padding-top: 0 !important;
}

body.atd-chrome .ast-footer-copyright,
body.atd-chrome .ast-footer-copyright p {
	font-family: var(--atd-font);
	font-size: 13px;
	color: var(--atd-muted) !important;
	text-align: center;
	margin: 0;
}

body.atd-chrome .ast-footer-copyright a {
	color: var(--atd-accent-deep) !important;
	text-decoration: none;
}

body.atd-chrome .ast-footer-copyright a:hover {
	color: var(--atd-accent) !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.atd-chrome .ast-scroll-to-top-icon,
body.atd-chrome #ast-scroll-top {
	background: var(--atd-ink) !important;
	color: #fff !important;
	border-radius: 10px !important;
	box-shadow: 0 8px 20px rgba(15, 20, 25, .18);
}

.atd-site-footer {
	max-width: 1240px;
	margin: 0 auto;
	padding: 40px 20px 28px;
	font-family: var(--atd-font);
	color: var(--atd-text-soft);
}

.atd-site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
	gap: 28px 40px;
	padding: 28px 28px 4px;
	border: 1px solid rgba(15, 20, 25, .08);
	border-radius: 20px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .78) 55%, rgba(230, 247, 245, .88) 100%),
		#fff;
	box-shadow: 0 1px 0 rgba(15, 20, 25, .04), 0 8px 24px rgba(15, 20, 25, .05);
}

.atd-site-footer__mark {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 10px;
	flex-wrap: wrap;
}

.atd-site-footer__name {
	font-family: var(--atd-display);
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1;
	color: var(--atd-ink);
}

.atd-site-footer__sub {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--atd-accent-deep);
}

.atd-site-footer__blurb {
	margin: 0;
	max-width: 36em;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--atd-text-soft);
}

.atd-site-footer__label {
	margin: 0 0 10px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--atd-muted);
}

.atd-site-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.atd-site-footer__links a {
	font-family: var(--atd-display);
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: -.01em;
	color: var(--atd-ink);
	text-decoration: none;
}

.atd-site-footer__links a:hover {
	color: var(--atd-accent-deep);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.atd-chrome .site-below-footer-inner-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 18px 20px 28px;
}

@media (max-width: 900px) {
	.atd-site-footer__inner {
		grid-template-columns: 1fr 1fr;
		padding: 24px;
	}
	.atd-site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 544px) {
	.atd-site-footer {
		padding: 28px 16px 20px;
	}
	.atd-site-footer__inner {
		grid-template-columns: 1fr;
		gap: 22px;
		padding: 22px;
		border-radius: 16px;
	}
}

.atd {
	--atd-bg: #ffffff;
	--atd-surface: #f0f3f5;
	--atd-ink: #0f1419;
	--atd-border: #d5dce2;
	--atd-border-strong: #b7c2cb;
	--atd-text: #0f1419;
	--atd-text-soft: #4a5560;
	--atd-muted: #7a8692;
	--atd-accent: #0d9488;
	--atd-accent-deep: #0a6f67;
	--atd-accent-soft: #e6f7f5;
	--atd-signal: #e54d2e;
	--atd-good: #0a7a45;
	--atd-good-soft: #e5f6ec;
	--atd-warn: #9a6700;
	--atd-warn-soft: #fdf3d9;
	--atd-bad: #b42318;
	--atd-bad-soft: #fdeceb;
	--atd-radius: 12px;
	--atd-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--atd-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--atd-shadow: 0 1px 0 rgba(15, 20, 25, .04), 0 8px 24px rgba(15, 20, 25, .05);

	box-sizing: border-box;
	width: 100%;
	flex: 1 1 auto;
	max-width: 1240px;
	margin: 0 auto;
	padding: 12px 20px 72px;
	background: transparent;
	color: var(--atd-text);
	font-family: var(--atd-font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

@media (max-width: 544px) {
	.atd { padding: 8px 16px 56px; }
}

.atd *,
.atd *::before,
.atd *::after { box-sizing: border-box; }

.atd a { color: var(--atd-accent-deep); text-decoration: none; }
.atd a:hover { color: var(--atd-accent); text-decoration: underline; text-underline-offset: 2px; }
.atd h1, .atd h2, .atd h3 {
	font-family: var(--atd-display);
	color: var(--atd-text);
	line-height: 1.2;
	margin: 0 0 .4em;
	letter-spacing: -.02em;
	font-weight: 700;
}
.atd .atd-muted { color: var(--atd-muted); }

/* ---------- Buttons ---------- */

.atd-btn,
a.atd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 18px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-family: var(--atd-display);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.01em;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.atd-btn:hover,
a.atd-btn:hover { text-decoration: none; transform: translateY(-1px); }
.atd-btn--primary,
a.atd-btn--primary {
	background: var(--atd-ink);
	color: #fff;
}
.atd-btn--primary:hover,
a.atd-btn--primary:hover {
	background: var(--atd-accent-deep);
	color: #fff;
}
.atd-btn--ghost,
a.atd-btn--ghost {
	background: rgba(255, 255, 255, .72);
	color: var(--atd-text);
	border-color: var(--atd-border-strong);
	backdrop-filter: blur(6px);
}
.atd-btn--ghost:hover,
a.atd-btn--ghost:hover {
	background: #fff;
	color: var(--atd-text);
	border-color: var(--atd-ink);
}
.atd-btn--small,
a.atd-btn--small { padding: 7px 12px; font-size: 13px; }
.atd-btn--block,
a.atd-btn--block { width: 100%; }

/* ---------- Hero + search ---------- */

.atd-hero {
	position: relative;
	margin: 8px 0 28px;
	padding: 28px 32px 30px;
	overflow: hidden;
	border: 1px solid rgba(15, 20, 25, .08);
	border-radius: 20px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .78) 55%, rgba(230, 247, 245, .9) 100%),
		linear-gradient(180deg, #fff, #f3f6f8);
	box-shadow: var(--atd-shadow);
	animation: atd-rise .55s ease both;
}
.atd-hero::before {
	content: "";
	position: absolute;
	inset: auto -10% -40% 40%;
	height: 70%;
	background: radial-gradient(closest-side, rgba(13, 148, 136, .18), transparent 70%);
	pointer-events: none;
}
.atd-hero--tight { padding: 22px 28px; }
.atd-hero__inner { position: relative; max-width: 720px; z-index: 1; }

.atd-hero--home {
	padding: 40px 36px 36px;
	margin-bottom: 36px;
	text-align: center;
}
.atd-hero--home .atd-hero__inner {
	max-width: 760px;
	margin: 0 auto;
}
.atd-hero--home .atd-hero__brand { justify-content: center; }
.atd-hero--home .atd-hero__title {
	font-size: clamp(32px, 4.6vw, 44px);
	letter-spacing: -.04em;
	max-width: 22ch;
	margin-left: auto;
	margin-right: auto;
}
.atd-hero--home .atd-hero__lede {
	margin-left: auto;
	margin-right: auto;
	max-width: 38em;
	font-size: 17px;
}
.atd-hero--home .atd-search {
	max-width: 640px;
	margin: 0 auto;
}
.atd-hero--home .atd-examples {
	justify-content: center;
	margin-top: 14px;
}
.atd-hero--home .atd-picker {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
.atd-hero--home .atd-picker__summary {
	justify-content: center;
}

.atd-hero__brand {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 12px;
}
/* Site chrome already carries the brand — avoid stacking it in the hero. */
body.atd-chrome .atd-archive > .atd-hero .atd-hero__brand { display: none; }
.atd-hero__brand-mark {
	font-family: var(--atd-display);
	font-size: clamp(28px, 4vw, 36px);
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1;
	color: var(--atd-ink);
}
.atd-hero__brand-sub {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--atd-accent-deep);
}
.atd-hero__title {
	font-family: var(--atd-display);
	font-size: clamp(28px, 3.8vw, 36px);
	font-weight: 700;
	letter-spacing: -.035em;
	margin: 0 0 .3em;
	color: var(--atd-ink);
}
.atd-hero__lede {
	margin: 0 0 18px;
	color: var(--atd-text-soft);
	font-size: 16px;
	line-height: 1.45;
	max-width: 36em;
}
.atd-hero__hint { margin: 14px 0 0; color: var(--atd-muted); font-size: 13.5px; }

.atd-taskrails {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(15, 20, 25, .06);
}
.atd-taskrails__label {
	margin: 0 0 8px; font-size: 11.5px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .08em; color: var(--atd-muted);
}
.atd-taskrails__list {
	display: flex; flex-wrap: wrap; gap: 7px;
	list-style: none; margin: 0; padding: 0;
}
.atd-taskchip,
a.atd-taskchip {
	display: inline-block; padding: 7px 11px;
	border: 1px solid rgba(13, 148, 136, .22); border-radius: 8px;
	background: rgba(13, 148, 136, .06); color: var(--atd-ink);
	font-size: 13px; font-weight: 600;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.atd-taskchip:hover,
a.atd-taskchip:hover {
	border-color: var(--atd-accent);
	background: rgba(13, 148, 136, .12);
	color: var(--atd-accent-deep);
	text-decoration: none;
}
.atd-taskchip.is-active,
a.atd-taskchip.is-active {
	border-color: var(--atd-ink);
	background: var(--atd-ink);
	color: #fff;
}

.atd-sortrails {
	display: flex; flex-wrap: wrap; gap: 8px;
	margin: 0 0 18px; padding-bottom: 16px;
	border-bottom: 1px solid var(--atd-border);
}
.atd-sortrail,
a.atd-sortrail {
	padding: 7px 12px; border-radius: 8px;
	font-size: 13.5px; font-weight: 500; color: var(--atd-text-soft);
	background: rgba(255, 255, 255, .7); border: 1px solid transparent;
}
.atd-sortrail:hover,
a.atd-sortrail:hover { text-decoration: none; color: var(--atd-text); border-color: var(--atd-border); }
.atd-sortrail.is-active,
a.atd-sortrail.is-active {
	background: var(--atd-ink); color: #fff;
	border-color: var(--atd-ink); font-weight: 600;
}

.atd-hero__why {
	margin-top: 16px; padding: 12px 16px;
	background: var(--atd-warn-soft); border-left: 3px solid var(--atd-warn);
	border-radius: 0 8px 8px 0; font-size: 14.5px;
}

.atd-search {
	display: flex;
	align-items: stretch;
	gap: 10px;
}
.atd-search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 14px 16px;
	font-family: var(--atd-font);
	font-size: 16px;
	color: var(--atd-text);
	background: #fff;
	border: 1px solid var(--atd-border-strong);
	border-radius: 10px;
	box-shadow: inset 0 1px 2px rgba(15, 20, 25, .03);
}
.atd-search input[type="search"]:focus {
	outline: none;
	border-color: var(--atd-accent);
	box-shadow: 0 0 0 3px rgba(13, 148, 136, .18);
}
.atd-search .atd-btn {
	flex-shrink: 0;
	align-self: stretch;
	padding-inline: 22px;
}

.atd-examples {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-top: 12px;
}
.atd-examples__label {
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--atd-muted);
}
.atd-examples__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.atd-examplechip,
a.atd-examplechip {
	display: inline-block;
	padding: 5px 11px;
	border-radius: 999px;
	border: 1px dashed rgba(15, 20, 25, .16);
	background: transparent;
	color: var(--atd-text-soft);
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.3;
	transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.atd-examplechip:hover,
a.atd-examplechip:hover {
	text-decoration: none;
	color: var(--atd-accent-deep);
	border-style: solid;
	border-color: rgba(13, 148, 136, .4);
	background: rgba(255, 255, 255, .9);
}

/* ---------- Discovery homepage ---------- */

.atd-home {
	display: grid;
	gap: 40px;
	margin: 0 0 48px;
	animation: atd-rise .55s ease both;
}

.atd-cataloghead {
	margin: 0 0 16px;
}
.atd-cataloghead__title {
	margin: 0 0 4px;
	font-family: var(--atd-display);
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 700;
	letter-spacing: -.03em;
	color: var(--atd-ink);
}
.atd-cataloghead__lede {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: var(--atd-text-soft);
}

.atd-section__head { margin: 0 0 18px; }
.atd-section__head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	flex-wrap: wrap;
}
.atd-section__title {
	margin: 0 0 6px;
	font-family: var(--atd-display);
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 700;
	letter-spacing: -.03em;
	color: var(--atd-ink);
}
.atd-section__lede {
	margin: 0;
	max-width: 40em;
	font-size: 15px;
	line-height: 1.5;
	color: var(--atd-text-soft);
}
.atd-section__link {
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--atd-accent-deep);
	text-decoration: none;
}
.atd-section__link:hover { color: var(--atd-accent); text-decoration: underline; text-underline-offset: 2px; }
.atd-section__empty { margin: 0; color: var(--atd-muted); font-size: 14px; }

.atd-trendlist {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.atd-trendchip,
a.atd-trendchip {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	border: 1px solid rgba(15, 20, 25, .1);
	border-radius: 999px;
	background: #fff;
	color: var(--atd-text-soft);
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.2;
	box-shadow: 0 1px 0 rgba(15, 20, 25, .03);
	transition: border-color .15s ease, color .15s ease, background .15s ease, box-shadow .15s ease;
}
.atd-trendchip:hover,
a.atd-trendchip:hover {
	text-decoration: none;
	color: var(--atd-accent-deep);
	border-color: rgba(13, 148, 136, .35);
	background: rgba(230, 247, 245, .65);
	box-shadow: 0 4px 14px rgba(13, 148, 136, .1);
}

.atd-panels { position: relative; }
.atd-panels__radio {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.atd-panels__labels {
	display: inline-flex;
	gap: 4px;
	margin: 0 0 16px;
	padding: 4px;
	border: 1px solid var(--atd-border);
	border-radius: 12px;
	background: rgba(255, 255, 255, .88);
}
.atd-panels__tab {
	margin: 0;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--atd-text-soft);
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.atd-panels__tab:hover { color: var(--atd-ink); }
#atd-spot-pop:checked ~ .atd-panels__labels label[for="atd-spot-pop"],
#atd-spot-new:checked ~ .atd-panels__labels label[for="atd-spot-new"] {
	background: var(--atd-ink);
	color: #fff;
}
.atd-panels__panel { display: none; }
#atd-spot-pop:checked ~ .atd-panels__panel--pop,
#atd-spot-new:checked ~ .atd-panels__panel--new { display: block; }

.atd-toolrail {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
@media (min-width: 801px) {
	.atd-toolrail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.atd-tile {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 76px;
	padding: 12px 14px;
	border: 1px solid rgba(15, 20, 25, .08);
	border-radius: 14px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 1px 0 rgba(15, 20, 25, .03);
	color: inherit;
	text-decoration: none;
	transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.atd-tile:hover {
	text-decoration: none;
	color: inherit;
	border-color: rgba(13, 148, 136, .35);
	box-shadow: 0 8px 22px rgba(15, 20, 25, .07);
	transform: translateY(-1px);
}
.atd-tile__logo {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	overflow: hidden;
	background: #f3f6f8;
	border: 1px solid rgba(15, 20, 25, .06);
}
.atd-tile__logo img { width: 100%; height: 100%; object-fit: contain; }
.atd-tile__logo-fallback {
	font-family: var(--atd-display);
	font-weight: 700;
	font-size: 16px;
	color: var(--atd-accent-deep);
}
.atd-tile__body {
	flex: 1;
	min-width: 0;
	display: grid;
	gap: 2px;
}
.atd-tile__title {
	font-size: 14.5px;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--atd-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.atd-tile__meta {
	font-size: 12.5px;
	color: var(--atd-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.atd-tile__score { flex-shrink: 0; }
.atd-tile__score .atd-score { font-size: 12px; }

.atd-catgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.atd-catcell,
a.atd-catcell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border: 1px solid rgba(15, 20, 25, .08);
	border-radius: 14px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 250, 251, .9));
	color: var(--atd-ink);
	text-decoration: none;
	transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.atd-catcell:hover,
a.atd-catcell:hover {
	text-decoration: none;
	color: var(--atd-accent-deep);
	border-color: rgba(13, 148, 136, .35);
	background: rgba(230, 247, 245, .55);
	transform: translateY(-1px);
}
.atd-catcell__name {
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: -.01em;
}
.atd-catcell__count {
	flex-shrink: 0;
	min-width: 1.75em;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(15, 20, 25, .06);
	color: var(--atd-muted);
	font-size: 12px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-align: center;
}
.atd-catcell:hover .atd-catcell__count {
	background: rgba(13, 148, 136, .14);
	color: var(--atd-accent-deep);
}

/* ---------- Layout ---------- */

.atd-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .atd-layout { grid-template-columns: 1fr; } }

.atd-sidebar { position: sticky; top: 20px; }
@media (max-width: 900px) { .atd-sidebar { position: static; } }

/* ---------- Horizontal filters ---------- */

.atd-hfilters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 14px 18px;
	margin-bottom: 16px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, .92);
	border: 1px solid var(--atd-border);
	border-radius: 12px;
	box-shadow: var(--atd-shadow);
}
.atd-hfilters__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.atd-hfilters__label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--atd-muted);
}
.atd-hfilters__sort select {
	min-width: 140px;
	padding: 8px 10px;
	border: 1px solid var(--atd-border-strong);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 13.5px;
	color: var(--atd-text);
}
.atd-hfilters__range {
	flex: 1 1 160px;
	max-width: 220px;
}
.atd-hfilters__range-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}
.atd-hfilters__value {
	font-size: 13px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--atd-ink);
}
.atd-hfilters__range input[type="range"] {
	width: 100%;
	height: 22px;
	margin: 0;
	background: transparent;
	cursor: pointer;
	accent-color: #0d9488;
	accent-color: var(--atd-accent, #0d9488);
	-webkit-appearance: none;
	appearance: none;
}
.atd-hfilters__range input[type="range"]::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 999px;
	background: #d5dce2;
	background: var(--atd-border, #d5dce2);
}
.atd-hfilters__range input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	margin-top: -5px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #0d9488;
	background: var(--atd-accent, #0d9488);
	box-shadow: 0 1px 3px rgba(15, 20, 25, .25);
	cursor: pointer;
}
.atd-hfilters__range input[type="range"]::-moz-range-track {
	height: 6px;
	border: 0;
	border-radius: 999px;
	background: #d5dce2;
	background: var(--atd-border, #d5dce2);
}
.atd-hfilters__range input[type="range"]::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #0d9488;
	background: var(--atd-accent, #0d9488);
	box-shadow: 0 1px 3px rgba(15, 20, 25, .25);
	cursor: pointer;
}
.atd-hfilters__range input[type="range"]:focus {
	outline: none;
}
.atd-hfilters__range input[type="range"]:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 3px rgba(13, 148, 136, .28);
}
.atd-hfilters__range input[type="range"]:focus-visible::-moz-range-thumb {
	box-shadow: 0 0 0 3px rgba(13, 148, 136, .28);
}
.atd-hfilters__check {
	flex-direction: row;
	align-items: center;
	gap: 8px;
	padding-bottom: 6px;
	cursor: pointer;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--atd-text-soft);
}
.atd-hfilters__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	padding-bottom: 2px;
}
.atd-hfilters__reset {
	font-size: 13px;
	color: var(--atd-text-soft);
}
.atd-hfilters__reset:hover { color: var(--atd-accent-deep); text-decoration: none; }

@media (max-width: 720px) {
	.atd-hfilters__range { flex: 1 1 100%; max-width: none; }
	.atd-hfilters__actions { width: 100%; margin-left: 0; justify-content: flex-start; }
}

/* ---------- Filters ---------- */

.atd-filters {
	padding: 16px;
	font-size: 14.5px;
	background: rgba(255, 255, 255, .82);
	border: 1px solid var(--atd-border);
	border-radius: var(--atd-radius);
	backdrop-filter: blur(8px);
}
.atd-filters__more > summary {
	cursor: pointer;
	list-style: none;
	font-family: var(--atd-display);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--atd-ink);
	padding: 2px 0 4px;
}
.atd-filters__more > summary::-webkit-details-marker { display: none; }
.atd-filters__more > summary::after {
	content: "+";
	float: right;
	color: var(--atd-muted);
	font-weight: 600;
}
.atd-filters__more[open] > summary::after { content: "–"; }
.atd-filters__more[open] > summary { margin-bottom: 4px; }
.atd-filters__block { padding: 14px 0; border-bottom: 1px solid var(--atd-border); }
.atd-filters__block:first-child { padding-top: 0; }
.atd-filters__block:last-child { border-bottom: 0; padding-bottom: 0; }
.atd-filters h3 {
	font-family: var(--atd-font);
	font-size: 11.5px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .07em;
	color: var(--atd-muted); margin-bottom: 10px;
}
.atd-filters select,
.atd-filters input[type="number"] {
	padding: 8px 10px; border: 1px solid var(--atd-border-strong);
	border-radius: 8px; background: #fff; font-size: 14.5px; color: var(--atd-text);
}
.atd-filters select { width: 100%; }
.atd-filters__inline { display: flex; align-items: center; gap: 8px; }
.atd-filters__inline input { width: 90px; }
.atd-filters__note { margin: 8px 0 0; font-size: 12.5px; color: var(--atd-muted); }
.atd-filters__check { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; }
.atd-filters__terms { list-style: none; margin: 0; padding: 0; }
.atd-filters__terms li { padding: 3px 0; }
.atd-filters__terms a { display: flex; justify-content: space-between; gap: 10px; color: var(--atd-text-soft); }
.atd-filters__terms a:hover { color: var(--atd-accent-deep); text-decoration: none; }
.atd-filters__terms li.is-active a { color: var(--atd-ink); font-weight: 600; }
.atd-filters__count { color: var(--atd-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.atd-filters__reset { display: block; margin-top: 10px; text-align: center; font-size: 13.5px; color: var(--atd-text-soft); }

/* ---------- Results meta ---------- */

.atd-resultmeta { margin-bottom: 10px; }
.atd-resultmeta__title { font-size: 22px; }
.atd-resultmeta__count { color: var(--atd-text-soft); font-size: 14px; margin: 0; }
.atd-resultmeta__tasks { margin: 8px 0; font-size: 14px; color: var(--atd-text-soft); }

.atd-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.atd-viewtoggle {
	display: inline-flex;
	padding: 3px;
	background: var(--atd-surface);
	border: 1px solid var(--atd-border);
	border-radius: 10px;
	gap: 2px;
}
.atd .atd-viewtoggle__btn,
body.atd-screen .atd-viewtoggle__btn {
	appearance: none;
	-webkit-appearance: none;
	border: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--atd-text-soft) !important;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 12px !important;
	border-radius: 7px !important;
	cursor: pointer;
	line-height: 1.2;
	box-shadow: none !important;
	transform: none !important;
}
.atd .atd-viewtoggle__btn:hover,
.atd .atd-viewtoggle__btn:focus,
body.atd-screen .atd-viewtoggle__btn:hover,
body.atd-screen .atd-viewtoggle__btn:focus {
	background: rgba(15, 20, 25, .06) !important;
	background-color: rgba(15, 20, 25, .06) !important;
	color: var(--atd-ink) !important;
	border-color: transparent !important;
	box-shadow: none !important;
}
.atd .atd-viewtoggle__btn[aria-pressed="true"],
body.atd-screen .atd-viewtoggle__btn[aria-pressed="true"] {
	background: #fff !important;
	background-color: #fff !important;
	color: var(--atd-ink) !important;
	box-shadow: 0 1px 3px rgba(15, 20, 25, .08) !important;
}
.atd .atd-viewtoggle__btn[aria-pressed="true"]:hover,
body.atd-screen .atd-viewtoggle__btn[aria-pressed="true"]:hover {
	background: #fff !important;
	background-color: #fff !important;
	color: var(--atd-ink) !important;
}

/* Before JS: cards on small screens, table on desktop. */
.atd-results:not([data-atd-view]) .atd-listwrap { display: none; }
@media (min-width: 801px) {
	.atd-results:not([data-atd-view]) .atd-grid { display: none; }
	.atd-results:not([data-atd-view]) .atd-listwrap { display: block; }
}
.atd-results[data-atd-view="cards"] .atd-listwrap { display: none; }
.atd-results[data-atd-view="table"] .atd-grid { display: none; }

.atd-listwrap {
	overflow-x: auto;
	border: 1px solid var(--atd-border);
	border-radius: 14px;
	background: rgba(255, 255, 255, .92);
	box-shadow: var(--atd-shadow);
}

.atd-list {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	min-width: 720px;
}
.atd-list th,
.atd-list td {
	padding: 12px 14px;
	text-align: left;
	vertical-align: middle;
	border-bottom: 1px solid var(--atd-border);
}
.atd-list thead th {
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--atd-muted);
	background: var(--atd-surface);
	white-space: nowrap;
	position: sticky;
	top: 0;
	z-index: 1;
}
.atd-list tbody tr:last-child td { border-bottom: 0; }
.atd-list__row:hover td { background: rgba(13, 148, 136, .04); }

.atd-list__tool {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 200px;
}
.atd-list__logo {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 9px;
	background: var(--atd-surface);
	border: 1px solid var(--atd-border);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.atd-list__logo img { width: 100%; height: 100%; object-fit: contain; }
.atd-list__logo-fallback {
	font-family: var(--atd-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--atd-accent-deep);
}
.atd-list__identity { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.atd-list__name {
	font-family: var(--atd-display);
	font-size: 15px;
	font-weight: 600;
	color: var(--atd-ink);
	line-height: 1.25;
}
.atd-list__name:hover { color: var(--atd-accent-deep); text-decoration: none; }
.atd-list__domain {
	font-size: 12.5px;
	color: var(--atd-muted);
	font-weight: 500;
}
.atd-list__domain:hover { color: var(--atd-accent-deep); text-decoration: none; }
.atd-list__cat {
	font-size: 12px;
	font-weight: 600;
	color: var(--atd-muted);
	text-transform: uppercase;
	letter-spacing: .04em;
}
.atd-list__price { font-weight: 600; color: var(--atd-ink); white-space: nowrap; }
.atd-list__value { font-variant-numeric: tabular-nums; }
.atd-list__num {
	font-family: var(--atd-display);
	font-weight: 700;
	font-size: 15px;
	color: var(--atd-ink);
}
.atd-list__empty { color: var(--atd-muted); }
.atd-list__fresh .atd-fresh { white-space: nowrap; }
.atd-list__actions {
	white-space: nowrap;
	text-align: right;
}
.atd-list__cta {
	vertical-align: middle;
}
.atd-list__details {
	display: inline-block;
	font-weight: 600;
	font-size: 13px;
	color: var(--atd-text-soft);
	margin: 0 10px 0 8px;
	vertical-align: middle;
}
.atd-list__details:hover { color: var(--atd-accent-deep); text-decoration: none; }
.atd-list__compare {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	color: var(--atd-text-soft);
	font-size: 13px;
	vertical-align: middle;
}

.atd-chip,
a.atd-chip {
	display: inline-block;
	padding: 4px 10px;
	margin: 2px 4px 2px 0;
	background: var(--atd-accent-soft);
	color: var(--atd-accent-deep);
	border-radius: 7px;
	font-size: 12.5px;
	font-weight: 600;
}
.atd-chip:hover,
a.atd-chip:hover { text-decoration: none; background: #d5f0ec; color: var(--atd-accent-deep); }
a.atd-chip--soft,
.atd-chip--soft { background: var(--atd-surface); color: var(--atd-text-soft); }
.atd-chips { margin: 0 0 4px; }

.atd-badge {
	display: inline-block; padding: 3px 8px; border-radius: 6px;
	font-size: 11px; font-weight: 700; letter-spacing: .03em;
}
.atd-badge--free { background: var(--atd-good-soft); color: var(--atd-good); }
.atd-badge--info { background: var(--atd-accent-soft); color: var(--atd-accent-deep); }
.atd-badge--warn { background: var(--atd-warn-soft); color: var(--atd-warn); }

/* ---------- Cards ---------- */

.atd-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
	gap: 16px;
}
.atd-grid--compact { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.atd-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
	background: rgba(255, 255, 255, .9);
	border: 1px solid var(--atd-border);
	border-radius: 14px;
	box-shadow: var(--atd-shadow);
	transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
	animation: atd-rise .5s ease both;
}
.atd-card:nth-child(2) { animation-delay: .04s; }
.atd-card:nth-child(3) { animation-delay: .08s; }
.atd-card:nth-child(4) { animation-delay: .12s; }
.atd-card:hover {
	border-color: rgba(13, 148, 136, .45);
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(15, 20, 25, .08);
}
.atd-card__head { display: flex; align-items: flex-start; gap: 12px; }
.atd-card__logo {
	flex-shrink: 0;
	width: 44px; height: 44px;
	border-radius: 11px;
	background: var(--atd-surface);
	border: 1px solid var(--atd-border);
	overflow: hidden;
	display: flex; align-items: center; justify-content: center;
}
.atd-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.atd-card__logo-fallback {
	font-family: var(--atd-display);
	font-size: 16px; font-weight: 700; color: var(--atd-accent-deep);
}
.atd-card__heading { flex: 1; min-width: 0; }
.atd-card__title { font-size: 17px; margin: 0; }
.atd-card__title a { color: var(--atd-ink); }
.atd-card__title a:hover { color: var(--atd-accent-deep); text-decoration: none; }
.atd-card__cat {
	margin: 3px 0 0; font-size: 12px; font-weight: 600;
	color: var(--atd-muted); text-transform: uppercase; letter-spacing: .05em;
}
.atd-card__badges { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.atd-card__chips { margin: 0; }
.atd-card__reason { margin: 0; font-size: 13.5px; color: var(--atd-text-soft); }
.atd-card__reason .atd-label { color: var(--atd-accent-deep); }
.atd-card__summary { margin: 0; font-size: 14.5px; color: var(--atd-text-soft); }
.atd-card__bestfor { margin: 0; font-size: 13.5px; color: var(--atd-text-soft); }
.atd-label {
	display: inline-block; margin-right: 6px;
	font-size: 11px; font-weight: 700; text-transform: uppercase;
	letter-spacing: .06em; color: var(--atd-good);
}
.atd-card__foot {
	display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
	margin-top: auto; padding-top: 12px; border-top: 1px solid var(--atd-border);
	font-size: 13.5px;
}
.atd-card__price { font-weight: 600; color: var(--atd-ink); }
.atd-card__actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
}
.atd-card__compare { display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--atd-text-soft); }

/* ---------- Score + freshness ---------- */

.atd-score {
	display: inline-flex; align-items: baseline; gap: 1px;
	padding: 5px 9px; border-radius: 8px;
	font-variant-numeric: tabular-nums; white-space: nowrap;
}
.atd-score strong { font-family: var(--atd-display); font-size: 15px; font-weight: 700; }
.atd-score span { font-size: 11px; opacity: .7; }
.atd-score--high { background: var(--atd-good-soft); color: var(--atd-good); }
.atd-score--mid { background: var(--atd-warn-soft); color: var(--atd-warn); }
.atd-score--low { background: var(--atd-surface); color: var(--atd-text-soft); }

.atd-fresh { font-size: 12.5px; font-weight: 500; }
.atd-fresh--fresh { color: var(--atd-good); }
.atd-fresh--ageing { color: var(--atd-warn); }
.atd-fresh--stale { color: var(--atd-bad); }

.atd-yes { color: var(--atd-good); font-weight: 600; }
.atd-no { color: var(--atd-muted); }

/* ---------- Single ---------- */

.atd-breadcrumb {
	margin: 16px 0 20px; font-size: 13px; color: var(--atd-muted);
	display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.atd-breadcrumb a { font-weight: 500; }

.atd-notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 14.5px; }
.atd-notice--warn { background: var(--atd-warn-soft); border-left: 3px solid var(--atd-warn); }

.atd-single__head {
	display: flex; align-items: flex-start; gap: 22px;
	padding: 8px 0 28px; margin-bottom: 8px;
	border-bottom: 1px solid var(--atd-border);
	animation: atd-rise .45s ease both;
}
.atd-single__logo {
	flex-shrink: 0;
	width: 88px; height: 88px;
	border-radius: 20px;
	background:
		linear-gradient(145deg, #fff, var(--atd-accent-soft));
	border: 1px solid var(--atd-border);
	overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--atd-shadow);
}
.atd-single__logo img {
	width: 100%; height: 100%; object-fit: contain;
}
.atd-single__logo-fallback {
	font-family: var(--atd-display);
	font-size: 32px; font-weight: 800; color: var(--atd-accent-deep);
	line-height: 1;
}
.atd-single__intro { flex: 1; min-width: 0; }
.atd-single__title {
	font-size: clamp(30px, 4vw, 42px);
	letter-spacing: -.035em;
	margin-bottom: .12em;
}
.atd-single__developer {
	display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
	margin: 0 0 8px; font-size: 14px; font-weight: 600;
}
.atd-single__developer a { color: var(--atd-accent-deep); }
.atd-single__tagline {
	margin: 0 0 18px; font-size: 16.5px; color: var(--atd-text-soft); max-width: 42em;
}
.atd-single__aside {
	display: flex; flex-direction: column; align-items: stretch; gap: 10px;
	min-width: 220px; padding-top: 8px;
}
.atd-single__actions {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.atd-single__actions .atd-btn {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 14px;
	font-size: 13.5px;
	white-space: nowrap;
}
@media (max-width: 720px) {
	.atd-single__head { flex-direction: column; gap: 16px; }
	.atd-single__logo { width: 76px; height: 76px; }
	.atd-single__aside { width: 100%; min-width: 0; padding-top: 0; }
	.atd-single__actions .atd-btn { flex: 1 1 calc(50% - 4px); }
}

/* Mobile sticky Visit / Alternatives bar */
.atd-sticky-cta {
	display: none;
}
@media (max-width: 720px) {
	.atd-sticky-cta {
		display: flex;
		align-items: center;
		gap: 8px;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 998;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
		background: rgba(255, 255, 255, .94);
		border-top: 1px solid var(--atd-border-strong);
		box-shadow: 0 -8px 28px rgba(15, 20, 25, .08);
		backdrop-filter: blur(10px);
	}
	.atd-sticky-cta .atd-btn {
		flex: 1 1 0;
		padding: 12px 14px;
		font-size: 14px;
	}
	.atd-sticky-cta__visit { flex: 1.35 1 0; }
	.atd.atd-single:has(.atd-sticky-cta) {
		padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
	}
	body.atd-tray-open .atd-sticky-cta {
		display: none;
	}
}

.atd-factstrip {
	display: flex; flex-wrap: wrap; align-items: stretch;
	list-style: none; margin: 0; padding: 12px 0 0; gap: 0;
}
.atd-factstrip__item {
	display: flex; flex-direction: column; justify-content: center;
	gap: 3px; padding: 0 20px; min-width: 0;
	border-left: 1px solid var(--atd-border);
	animation: atd-rise .45s ease both;
}
.atd-factstrip__item:nth-child(1) { animation-delay: .05s; }
.atd-factstrip__item:nth-child(2) { animation-delay: .1s; }
.atd-factstrip__item:nth-child(3) { animation-delay: .15s; }
.atd-factstrip__item:nth-child(4) { animation-delay: .2s; }
.atd-factstrip__item:first-child { padding-left: 0; border-left: 0; }
.atd-factstrip__value {
	font-family: var(--atd-display);
	font-size: 16px; font-weight: 700; line-height: 1.25;
	font-variant-numeric: tabular-nums; color: var(--atd-ink);
}
.atd-factstrip__unit { font-size: 12px; font-weight: 600; color: var(--atd-muted); margin-left: 1px; }
.atd-factstrip__label {
	font-size: 11.5px; font-weight: 600; color: var(--atd-muted);
	text-transform: uppercase; letter-spacing: .04em; line-height: 1.3;
}
.atd-factstrip__item--fresh .atd-factstrip__value { font-size: 13.5px; font-weight: 600; }
.atd-factstrip__item--fresh .atd-fresh { font-size: inherit; }

.atd-review-video { margin: 8px 0 28px; max-width: 760px; }
.atd-review-video h2 { font-size: 20px; margin-bottom: 12px; }
.atd-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--atd-border);
	background: var(--atd-ink);
	box-shadow: var(--atd-shadow);
}
.atd-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.atd-proofrail {
	margin: 18px 0 8px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.atd-proofrail__list {
	display: flex; gap: 10px; list-style: none;
	margin: 0; padding: 4px 0 12px; width: max-content;
}
.atd-proofrail__item {
	padding: 10px 14px; border: 1px solid var(--atd-border);
	border-radius: 10px; background: rgba(255, 255, 255, .85);
	font-size: 13.5px; font-weight: 600; color: var(--atd-text);
	white-space: nowrap;
}

.atd-ratings {
	padding: 20px 0 8px; border-bottom: 1px solid var(--atd-border);
	margin-bottom: 24px;
}
.atd-ratings__head {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 12px; margin-bottom: 4px;
}
.atd-ratings__head h2 { margin: 0; }
.atd-ratings__score {
	margin: 0; font-variant-numeric: tabular-nums; color: var(--atd-text-soft);
}
.atd-ratings__score strong {
	font-family: var(--atd-display);
	font-size: 30px; color: var(--atd-ink); font-weight: 700;
}
.atd-ratings .atd-subscores {
	max-width: 420px; margin-top: 14px;
	grid-template-columns: 1fr;
}
.atd-ratings .atd-subscores li {
	grid-template-columns: 72px 1fr 32px;
}

.atd-verdictcards {
	display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
	margin: 12px 0 28px;
}
@media (max-width: 720px) { .atd-verdictcards { grid-template-columns: 1fr; } }
.atd-verdictcard {
	padding: 18px 18px 16px;
	border: 1px solid var(--atd-border);
	border-radius: 14px;
	background: rgba(255, 255, 255, .88);
}
.atd-verdictcard h2 {
	font-family: var(--atd-font);
	font-size: 11.5px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .08em;
	margin-bottom: 8px; color: var(--atd-muted);
}
.atd-verdictcard p { margin: 0; font-size: 15.5px; font-weight: 500; }
.atd-verdictcard--yes {
	background: linear-gradient(180deg, #fff, var(--atd-good-soft));
	border-color: #cfe8d8;
}
.atd-verdictcard--yes h2 { color: var(--atd-good); }
.atd-verdictcard--no {
	background: linear-gradient(180deg, #fff, var(--atd-bad-soft));
	border-color: #f0cfcb;
}
.atd-verdictcard--no h2 { color: var(--atd-bad); }

.atd-list { margin: 0; padding-left: 1.1em; font-size: 14.5px; }
.atd-list li { margin: 0 0 6px; }
.atd-list li:last-child { margin-bottom: 0; }
.atd-verdictcard .atd-list { color: var(--atd-text); }

.atd-section__lede { margin: -4px 0 14px; color: var(--atd-text-soft); font-size: 14.5px; }

.atd-alt-table-wrap { margin: 8px 0 32px; }
.atd-alt-table__head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
	margin-bottom: 12px;
}
.atd-alt-table__head h2 { margin: 0; font-size: 22px; }
.atd-alt-table__head a { font-size: 14px; font-weight: 600; white-space: nowrap; }
.atd-alt-table__scroll {
	overflow-x: auto;
	overflow-y: hidden;
	border: 1px solid var(--atd-border);
	border-radius: 14px;
	background: rgba(255, 255, 255, .92);
	box-shadow: var(--atd-shadow);
	-webkit-overflow-scrolling: touch;
}
.atd-alt-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 14.5px;
	table-layout: fixed;
}
.atd-alt-table th,
.atd-alt-table td {
	padding: 13px 16px;
	text-align: left;
	vertical-align: middle;
	border: 0;
	border-bottom: 1px solid var(--atd-border);
	white-space: nowrap;
	background-clip: padding-box;
}
.atd-alt-table th:nth-child(1),
.atd-alt-table td:nth-child(1) { width: 40%; }
.atd-alt-table th:nth-child(2),
.atd-alt-table td:nth-child(2) { width: 28%; }
.atd-alt-table th:nth-child(3),
.atd-alt-table td:nth-child(3) { width: 16%; }
.atd-alt-table th:nth-child(4),
.atd-alt-table td:nth-child(4) { width: 16%; }
.atd-alt-table th {
	background: var(--atd-surface);
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--atd-muted);
	font-weight: 700;
}
.atd-alt-table thead th:first-child { border-top-left-radius: 13px; }
.atd-alt-table thead th:last-child { border-top-right-radius: 13px; }
.atd-alt-table tbody tr:last-child td { border-bottom: 0; }
.atd-alt-table tbody tr:last-child td:first-child { border-bottom-left-radius: 13px; }
.atd-alt-table tbody tr:last-child td:last-child { border-bottom-right-radius: 13px; }
.atd-alt-table tbody tr { transition: background .15s ease; }
.atd-alt-table tbody tr:hover td { background: var(--atd-accent-soft); }
.atd-alt-table__tool {
	display: flex; align-items: center; gap: 10px; font-weight: 600; white-space: normal; min-width: 0;
	color: var(--atd-ink);
}
a.atd-alt-table__tool:hover { text-decoration: none; color: var(--atd-accent-deep); }
.atd-alt-table__tool img,
.atd-alt-table__fallback {
	width: 30px; height: 30px; object-fit: contain; border-radius: 8px; flex-shrink: 0;
}
.atd-alt-table__fallback {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--atd-accent-soft); color: var(--atd-accent-deep);
	font-family: var(--atd-display); font-size: 12px; font-weight: 700;
}
.atd-alt-table__compare {
	display: inline-flex; align-items: center; gap: 6px;
	cursor: pointer; color: var(--atd-text-soft); font-size: 13px;
	white-space: nowrap;
}
.atd-alt-table__cta { margin: 14px 0 0; }

.atd-trustrows {
	display: flex; flex-direction: column;
	border-top: 1px solid var(--atd-border); margin-bottom: 16px;
}
.atd-trustrow {
	display: grid; grid-template-columns: 120px 1fr; gap: 16px;
	padding: 14px 0; border-bottom: 1px solid var(--atd-border);
	align-items: start;
}
.atd-trustrow__label {
	font-size: 13px; font-weight: 600; color: var(--atd-text-soft);
}
.atd-trustrow__value { font-size: 15px; font-weight: 500; }
@media (max-width: 520px) {
	.atd-trustrow { grid-template-columns: 1fr; gap: 4px; }
}

.atd-pricing__notes {
	padding: 14px 0; margin: 0 0 4px;
	border-bottom: 1px solid var(--atd-border);
}
.atd-pricing__notes h3 {
	font-family: var(--atd-font);
	font-size: 12px; margin: 0 0 6px; color: var(--atd-muted);
	text-transform: uppercase; letter-spacing: .06em;
}
.atd-pricing__notes p { margin: 0; color: var(--atd-text-soft); font-size: 14.5px; }

.atd-single__body { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; margin-top: 8px; }
@media (max-width: 900px) { .atd-single__body { grid-template-columns: 1fr; } }

.atd-section { margin-bottom: 36px; }
.atd-section h2 { font-size: 22px; margin-bottom: 12px; }
.atd-verdict { font-size: 16.5px; color: var(--atd-text-soft); line-height: 1.65; }
.atd-prose p { color: var(--atd-text-soft); }

.atd-single__specs {
	position: sticky; top: 20px;
	padding: 18px 18px 20px;
	background: rgba(255, 255, 255, .9);
	border: 1px solid var(--atd-border);
	border-radius: 14px;
	box-shadow: var(--atd-shadow);
	backdrop-filter: blur(8px);
}
@media (max-width: 900px) { .atd-single__specs { position: static; } }
.atd-single__specs h2 { font-size: 17px; margin: 0 0 4px; }
.atd-specs__group {
	font-family: var(--atd-font);
	font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .08em;
	color: var(--atd-muted); margin: 16px 0 8px;
	padding-top: 12px; border-top: 1px solid var(--atd-border);
}
.atd-specs__group:first-of-type { margin-top: 8px; }
.atd-specs {
	display: grid; grid-template-columns: 1fr auto; gap: 8px 16px;
	margin: 0; font-size: 14px;
}
.atd-specs dt { color: var(--atd-text-soft); }
.atd-specs dd { margin: 0; text-align: right; font-weight: 600; color: var(--atd-ink); }

/* Similar tools horizontal rail */
.atd-similar {
	margin-top: 8px; padding-top: 28px;
	border-top: 1px solid var(--atd-border);
}
.atd-similar__head {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 12px; margin-bottom: 14px;
}
.atd-similar__head h2 { margin: 0; }
.atd-similar__head a { font-size: 14px; font-weight: 600; white-space: nowrap; }
.atd-similar__rail {
	display: flex; gap: 14px; overflow-x: auto;
	padding: 4px 0 12px; -webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.atd-similar__card {
	flex: 0 0 240px; display: flex; flex-direction: column; gap: 10px;
	padding: 14px; border: 1px solid var(--atd-border); border-radius: 14px;
	background: rgba(255, 255, 255, .92);
}
.atd-similar__link,
a.atd-similar__link {
	display: flex; gap: 12px; align-items: flex-start;
	color: inherit; text-decoration: none; min-height: 72px;
}
.atd-similar__link:hover,
a.atd-similar__link:hover { text-decoration: none; color: inherit; }
.atd-similar__link:hover .atd-similar__title { color: var(--atd-accent-deep); }
.atd-similar__logo img {
	width: 44px; height: 44px; object-fit: contain;
	border-radius: 10px; background: var(--atd-surface);
}
.atd-similar__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.atd-similar__title { font-family: var(--atd-display); font-size: 15px; font-weight: 700; line-height: 1.25; }
.atd-similar__meta { font-size: 12.5px; color: var(--atd-muted); }
.atd-similar__reason { font-size: 13px; color: var(--atd-text-soft); line-height: 1.4; }
.atd-similar__compare {
	display: inline-flex; align-items: center; gap: 6px;
	margin-top: auto; cursor: pointer; color: var(--atd-text-soft); font-size: 13px;
}
.atd-similar__cta { margin: 8px 0 0; }

/* ---------- Comparison table ---------- */

.atd-compare__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.atd-compare__head h1 { font-size: clamp(22px, 3vw, 30px); margin: 0; }
.atd-compare__toggle { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--atd-text-soft); cursor: pointer; }
.atd-compare__scroll { overflow-x: auto; border: 1px solid var(--atd-border); border-radius: var(--atd-radius); background: #fff; }
.atd-compare__note { margin-top: 14px; font-size: 13px; color: var(--atd-muted); }

.atd-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
.atd-table th, .atd-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--atd-border); }
.atd-table thead th { background: var(--atd-surface); position: sticky; top: 0; z-index: 2; }
.atd-table__rowhead { width: 200px; color: var(--atd-text-soft); font-weight: 500; background: #fcfcfd; }
.atd-table__tool { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.atd-table__tool img { width: 36px; height: 36px; object-fit: contain; border-radius: 7px; }
.atd-table__tool a { font-size: 16px; font-weight: 600; }
.atd-table__group th {
	background: #e8eef2; font-size: 11.5px; text-transform: uppercase;
	letter-spacing: .07em; color: var(--atd-text-soft); padding: 8px 16px;
}
.atd-table td.is-best { background: var(--atd-good-soft); font-weight: 600; }
.atd-best { color: var(--atd-good); margin-left: 4px; }
.atd-table.is-diffonly .atd-table__row.is-same { display: none; }

/* ---------- Comparison tray ---------- */

.atd-tray {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
	background: rgba(255, 255, 255, .94); border-top: 1px solid var(--atd-border-strong);
	box-shadow: 0 -8px 28px rgba(15, 20, 25, .08);
	backdrop-filter: blur(10px);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
.atd-tray__inner {
	max-width: 1240px; margin: 0 auto; padding: 12px 20px;
	display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.atd-tray__count { font-size: 13.5px; font-weight: 600; color: var(--atd-text-soft); white-space: nowrap; }
.atd-tray__list { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; flex: 1; }
.atd-tray__list li {
	display: flex; align-items: center; gap: 6px;
	padding: 5px 8px 5px 12px; background: var(--atd-surface);
	border: 1px solid var(--atd-border); border-radius: 8px; font-size: 13.5px;
}
.atd-tray__list button {
	border: 0; background: transparent; cursor: pointer;
	color: var(--atd-muted); font-size: 16px; line-height: 1; padding: 0 4px;
}
.atd-tray__list button:hover { color: var(--atd-bad); }
.atd-tray__actions { display: flex; gap: 10px; }
.atd-tray__actions .atd-btn { padding: 8px 16px; font-size: 14px; }
.atd-tray__actions .atd-btn.is-disabled {
	opacity: .5;
	cursor: not-allowed;
}

body.atd-tray-open .atd {
	padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

/* ---------- Misc ---------- */

.atd-empty { padding: 56px 24px; text-align: center; color: var(--atd-text-soft); }
.atd-empty h1, .atd-empty h2, .atd-empty h3 { margin-bottom: 8px; }

.atd-pagination { margin-top: 32px; display: flex; justify-content: center; }
.atd-pagination .page-numbers {
	display: inline-block; padding: 8px 13px; margin: 0 3px;
	border: 1px solid var(--atd-border); border-radius: 8px;
	color: var(--atd-text-soft); font-size: 14px; background: rgba(255, 255, 255, .8);
}
.atd-pagination .page-numbers.current { background: var(--atd-ink); border-color: var(--atd-ink); color: #fff; }
.atd-pagination a.page-numbers:hover { border-color: var(--atd-border-strong); text-decoration: none; color: var(--atd-ink); }

.atd-alternatives__cta { margin-top: 28px; text-align: center; }

/* ---------- Job-to-be-done (task) landing ---------- */

.atd-job {
	max-width: 920px;
	margin: 0 auto;
	padding: 0 20px 80px;
}
.atd-job .atd-breadcrumb { margin: 20px 0 8px; }
.atd-job__hero { margin-bottom: 8px; }
.atd-job__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--atd-accent-deep);
}
.atd-job__meta {
	margin: 12px 0 0;
	font-size: 14px;
	color: var(--atd-muted);
}
.atd-job__section-head {
	margin: 28px 0 18px;
}
.atd-job__section-head h2 {
	margin: 0 0 6px;
	font-family: var(--atd-display);
	font-size: 1.35rem;
	color: var(--atd-ink);
}
.atd-job__section-head p {
	margin: 0;
	font-size: 14.5px;
	color: var(--atd-text-soft);
}
.atd-job__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}
.atd-jobpick {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 14px;
	padding: 18px 18px 16px;
	background: rgba(255, 255, 255, .92);
	border: 1px solid var(--atd-border);
	border-radius: var(--atd-radius);
	box-shadow: var(--atd-shadow);
	animation: atd-rise .45s ease both;
}
.atd-jobpick:nth-child(1) { animation-delay: .04s; }
.atd-jobpick:nth-child(2) { animation-delay: .08s; }
.atd-jobpick:nth-child(3) { animation-delay: .12s; }
.atd-jobpick__rank {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 6px;
	font-family: var(--atd-display);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--atd-accent);
	line-height: 1;
}
.atd-jobpick__head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 10px;
}
.atd-jobpick__logo {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--atd-surface);
	border: 1px solid var(--atd-border);
	display: grid;
	place-items: center;
}
.atd-jobpick__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.atd-jobpick__logo-fallback {
	font-family: var(--atd-display);
	font-weight: 700;
	color: var(--atd-accent-deep);
}
.atd-jobpick__titles { flex: 1; min-width: 0; }
.atd-jobpick__title {
	margin: 0;
	font-family: var(--atd-display);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.25;
}
.atd-jobpick__title a { color: var(--atd-ink); }
.atd-jobpick__title a:hover { color: var(--atd-accent-deep); }
.atd-jobpick__tagline {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--atd-text-soft);
}
.atd-jobpick__why,
.atd-jobpick__best,
.atd-jobpick__not {
	margin: 0 0 8px;
	font-size: 13.5px;
	color: var(--atd-text-soft);
	line-height: 1.45;
}
.atd-jobpick__why .atd-label,
.atd-jobpick__best .atd-label { color: var(--atd-accent-deep); }
.atd-jobpick__not .atd-label { color: var(--atd-warn); }
.atd-jobpick__tradeoffs {
	display: grid;
	gap: 4px;
	margin-bottom: 10px;
}
.atd-jobpick__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	padding-top: 10px;
	border-top: 1px solid var(--atd-border);
	font-size: 13px;
	color: var(--atd-muted);
}
.atd-jobpick__price {
	font-weight: 600;
	color: var(--atd-ink);
}
.atd-jobpick__compare {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	color: var(--atd-text-soft);
	font-weight: 500;
}
.atd-jobpick__more {
	margin-left: auto;
	font-weight: 600;
}
.atd-job__cta {
	margin: 28px 0 0;
	text-align: center;
}
.atd-job__related {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--atd-border);
}
.atd-job__related h2 {
	margin: 0 0 14px;
	font-family: var(--atd-display);
	font-size: 1.15rem;
	color: var(--atd-ink);
}
.atd-job__related .atd-taskrails__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

@media (max-width: 640px) {
	.atd-jobpick {
		grid-template-columns: 28px 1fr;
		padding: 14px;
		gap: 10px;
	}
	.atd-jobpick__rank { font-size: 1.05rem; padding-top: 4px; }
	.atd-jobpick__more { margin-left: 0; }
}

/* ---------- Guided picker ---------- */

.atd-picker {
	margin-top: 14px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}
.atd-picker[open] {
	padding: 14px 16px;
	background: rgba(255, 255, 255, .88);
	border: 1px solid var(--atd-border);
	border-radius: 12px;
}
.atd-picker__summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--atd-accent-deep);
	list-style: none;
	user-select: none;
}
.atd-picker__summary::-webkit-details-marker { display: none; }
.atd-picker__summary::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-top: -2px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform .15s ease;
}
.atd-picker[open] > .atd-picker__summary {
	color: var(--atd-ink);
	margin-bottom: 2px;
}
.atd-picker[open] > .atd-picker__summary::after {
	margin-top: 2px;
	transform: rotate(-135deg);
}
.atd-picker__form { margin-top: 14px; display: grid; gap: 14px; }
.atd-picker__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
}
.atd-picker__field { display: grid; gap: 6px; font-size: 13px; color: var(--atd-text-soft); }
.atd-picker__field input,
.atd-picker__field select {
	padding: 8px 10px;
	border: 1px solid var(--atd-border-strong);
	border-radius: 8px;
	font: inherit;
	color: var(--atd-text);
	background: #fff;
}
.atd-picker__checks { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.atd-picker__set {
	margin: 0;
	padding: 10px 12px;
	border: 1px dashed var(--atd-border);
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
}
.atd-picker__set legend {
	padding: 0 4px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--atd-text-soft);
}

/* ---------- Sub-scores + tradeoffs ---------- */

.atd-subscores {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: grid;
	gap: 8px;
	width: 100%;
}
.atd-subscores li {
	display: grid;
	grid-template-columns: 64px 1fr 28px;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--atd-text-soft);
}
.atd-subscores__bar {
	display: block;
	height: 6px;
	background: var(--atd-surface);
	border-radius: 4px;
	overflow: hidden;
}
.atd-subscores__bar i {
	display: block;
	height: 100%;
	background: var(--atd-accent);
	border-radius: 4px;
}
.atd-subscores__val {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: var(--atd-text);
	text-align: right;
}

.atd-tradeoffs {
	margin: 0 0 20px;
	padding: 16px 18px;
	background: var(--atd-accent-soft);
	border: 1px solid #c5e8e3;
	border-radius: var(--atd-radius);
}
.atd-tradeoffs__headline { margin: 0 0 8px; font-weight: 600; }
.atd-tradeoffs__shared { margin: 0 0 8px; font-size: 14px; color: var(--atd-text-soft); }
.atd-tradeoffs__list { margin: 0; padding-left: 1.1em; color: var(--atd-text-soft); font-size: 14.5px; }
.atd-tradeoffs__list li { margin: 4px 0; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

@keyframes atd-rise {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ---------- Public submit form ---------- */

.atd-submit {
	max-width: 760px;
	margin: 0 auto 48px;
	padding: 0 4px;
}
.atd-submit__head { margin: 8px 0 28px; }
.atd-submit__head h1 {
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
	margin-bottom: 8px;
}
.atd-submit__lede {
	margin: 0;
	color: var(--atd-text-soft);
	font-size: 1.05rem;
	line-height: 1.55;
	max-width: 42em;
}
.atd-submit__notice {
	margin: 0 0 22px;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid var(--atd-border);
	font-size: 14.5px;
	line-height: 1.45;
}
.atd-submit__notice--success {
	background: rgba(13, 148, 136, .1);
	border-color: rgba(13, 148, 136, .28);
	color: var(--atd-ink);
}
.atd-submit__notice--error {
	background: rgba(179, 45, 46, .08);
	border-color: rgba(179, 45, 46, .25);
	color: #7a1f20;
}
.atd-submit__form { display: flex; flex-direction: column; gap: 22px; }
.atd-submit__section {
	margin: 0;
	padding: 22px 22px 8px;
	border: 1px solid var(--atd-border);
	border-radius: 16px;
	background:
		linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78)),
		#f7f9fa;
}
.atd-submit__section legend {
	padding: 0 6px;
	font-family: var(--atd-display);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--atd-ink);
}
.atd-submit__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 16px;
}
.atd-submit__field label,
.atd-submit__label {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--atd-text);
}
.atd-submit__field input[type="text"],
.atd-submit__field input[type="url"],
.atd-submit__field input[type="email"],
.atd-submit__field input[type="number"],
.atd-submit__field select,
.atd-submit__field textarea {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--atd-border-strong);
	border-radius: 10px;
	background: #fff;
	color: var(--atd-text);
	font: inherit;
	font-size: 15px;
	line-height: 1.35;
}
.atd-submit__field textarea { resize: vertical; min-height: 120px; }
.atd-submit__field input:focus,
.atd-submit__field select:focus,
.atd-submit__field textarea:focus {
	outline: 2px solid rgba(13, 148, 136, .35);
	outline-offset: 1px;
	border-color: var(--atd-accent-deep);
}
.atd-submit__help {
	font-size: 12.5px;
	color: var(--atd-muted);
	line-height: 1.4;
}
.atd-submit__help--block { display: block; margin: -4px 0 14px; }
.atd-req { color: #b32d2e; }
.atd-submit__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.atd-submit__checks {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 14px;
}
.atd-submit__checks--compact {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.atd-submit__checks label,
.atd-submit__toggles label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	color: var(--atd-text-soft);
	cursor: pointer;
}
.atd-submit__toggles {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
}
.atd-submit__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 4px 0 0;
}
.atd-submit__done { margin: 8px 0 0; }
.atd-submit__hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 720px) {
	.atd-submit__row { grid-template-columns: 1fr; }
	.atd-submit__checks,
	.atd-submit__checks--compact { grid-template-columns: 1fr; }
	.atd-submit__section { padding: 18px 16px 4px; }
	.atd-submit__actions .atd-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.atd-card,
	.atd-hero,
	.atd-home,
	.atd-single__head,
	.atd-factstrip__item,
	.atd-jobpick { animation: none; transition: none; }
	.atd-btn:hover,
	a.atd-btn:hover,
	.atd-card:hover,
	.atd-tile:hover,
	.atd-catcell:hover,
	a.atd-catcell:hover { transform: none; }
}

@media (max-width: 640px) {
	.atd-hero { padding: 22px 18px 24px; margin-bottom: 22px; border-radius: 16px; }
	.atd-hero--home { padding: 28px 18px 26px; }
	.atd-hero--home .atd-hero__title { max-width: none; }
	.atd-search { flex-direction: column; gap: 8px; }
	.atd-search .atd-btn { width: 100%; padding-block: 12px; }
	.atd-home { gap: 32px; }
	.atd-panels__labels { width: 100%; }
	.atd-panels__tab { flex: 1; text-align: center; }
}
