/**
 * ToolsCampus marketing homepage.
 */

.tc-home {
	overflow: hidden;
	padding-top: 24px;
	background: var(--pdfe-bg);
	color: var(--pdfe-text);
}

.tc-shell {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.tc-kicker {
	margin: 0 0 12px;
	color: var(--pdfe-warning);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tc-section {
	position: relative;
	padding: 96px 0;
	border-top: 1px solid color-mix(in srgb, var(--pdfe-primary) 8%, transparent);
}

.tc-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 40px;
}

.tc-section-head h2,
.tc-ai__copy h2,
.tc-results__copy > h2,
.tc-final-cta h2 {
	margin: 0;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.tc-section-head p:not(.tc-kicker),
.tc-ai__copy > p:not(.tc-kicker),
.tc-results__copy > p:not(.tc-kicker) {
	max-width: 650px;
	margin: 12px 0 0;
	color: var(--pdfe-text-secondary);
	font-size: 17px;
	line-height: 1.65;
}

.tc-section-head > a {
	flex: none;
	color: var(--pdfe-primary);
	font-weight: 800;
	text-decoration: none;
}

.tc-section-head > a:hover,
.tc-section-head > a:focus-visible {
	color: var(--pdfe-warning);
}

.tc-section-head--center {
	justify-content: center;
	text-align: center;
}

.tc-section-head--center p:not(.tc-kicker) {
	margin-inline: auto;
}

/* Hero slider */
.tc-hero {
	position: relative;
	width: min(1320px, calc(100% - 32px));
	margin: 0 auto 28px;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--pdfe-primary) 10%, var(--pdfe-border));
	border-radius: 30px;
	background: linear-gradient(135deg, var(--pdfe-bg-light-blue), var(--pdfe-warning-bg));
	box-shadow: 0 28px 70px color-mix(in srgb, var(--pdfe-primary) 12%, transparent);
}

.tc-hero::before,
.tc-hero::after {
	content: "";
	position: absolute;
	z-index: 0;
	border-radius: 50%;
	pointer-events: none;
}

.tc-hero::before {
	top: -190px;
	right: -120px;
	width: 500px;
	height: 500px;
	background: color-mix(in srgb, var(--pdfe-accent) 16%, transparent);
}

.tc-hero::after {
	bottom: -190px;
	left: -150px;
	width: 380px;
	height: 380px;
	border: 70px solid color-mix(in srgb, var(--pdfe-primary) 5%, transparent);
}

.tc-hero__slides {
	position: relative;
	z-index: 1;
	min-height: 560px;
}

.tc-hero__slide {
	position: absolute;
	inset: 0;
	display: grid;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transform: translateX(24px);
	transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
}

.tc-hero__slide.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	transform: none;
}

.tc-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
	align-items: center;
	gap: 72px;
	min-height: 560px;
	padding-block: 64px 72px;
}

.tc-hero__copy h1,
.tc-hero__copy h2,
.tc-hero__copy .tc-hero__title {
	margin: 0;
	font-size: clamp(48px, 5.8vw, 76px);
	line-height: 0.99;
	letter-spacing: -0.055em;
}

.tc-hero__copy h1 span,
.tc-hero__copy h2 span,
.tc-hero__copy .tc-hero__title span {
	color: var(--pdfe-warning);
}

.tc-hero__lead {
	max-width: 650px;
	margin: 24px 0 0;
	color: var(--pdfe-text-secondary);
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.62;
}

.tc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.tc-hero-art {
	position: relative;
	min-height: 390px;
	border-radius: 40% 60% 52% 48% / 54% 44% 56% 46%;
	background: color-mix(in srgb, var(--pdfe-accent) 27%, var(--pdfe-surface));
}

.tc-float-card,
.tc-art-pill {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 16px;
	border: 1px solid var(--pdfe-border);
	border-radius: 14px;
	background: var(--pdfe-surface);
	box-shadow: 0 18px 40px color-mix(in srgb, var(--pdfe-primary) 15%, transparent);
	transform: rotate(var(--tc-rotate, 0deg));
}

.tc-float-card b,
.tc-art-pill b {
	font-size: 14px;
}

.tc-float-card--pdf {
	top: 44px;
	left: 92px;
	width: 180px;
	height: 236px;
	flex-direction: column;
	align-items: stretch;
	--tc-rotate: -6deg;
}

.tc-float-card--pdf b {
	align-self: start;
	padding: 8px;
	border-radius: 8px;
	background: var(--pdfe-danger-bg);
	color: var(--pdfe-danger);
}

.tc-float-card--pdf i {
	display: block;
	height: 8px;
	border-radius: 10px;
	background: var(--pdfe-border);
}

.tc-float-card--pdf i:last-child {
	width: 65%;
}

.tc-float-card--image { top: 26px; right: 16px; color: var(--pdfe-primary); --tc-rotate: 5deg; }
.tc-float-card--crop { top: 178px; right: 0; color: var(--pdfe-success); --tc-rotate: 6deg; }
.tc-float-card--convert { bottom: 22px; left: 68px; color: var(--pdfe-warning); --tc-rotate: 4deg; }
.tc-float-card--sign { right: 28px; bottom: 35px; flex-direction: column; align-items: start; --tc-rotate: -5deg; }
.tc-float-card--sign em { font-family: cursive; font-size: 22px; }

.tc-pdf-stack {
	position: absolute;
	top: 45px;
	left: 95px;
	width: 230px;
	height: 292px;
	padding: 54px 28px 28px;
	border-radius: 18px;
	background: var(--pdfe-surface);
	box-shadow: 0 24px 50px color-mix(in srgb, var(--pdfe-primary) 18%, transparent);
	transform: rotate(-5deg);
}

.tc-pdf-stack > span {
	position: absolute;
	inset: 8px -14px -8px 14px;
	z-index: -1;
	border: 2px solid color-mix(in srgb, var(--pdfe-primary) 35%, var(--pdfe-surface));
	border-radius: inherit;
	background: var(--pdfe-bg-soft-blue);
}

.tc-pdf-stack > span:first-child { inset: 18px -28px -18px 28px; }
.tc-pdf-stack strong { display: inline-block; padding: 10px; border-radius: 8px; background: var(--pdfe-danger-bg); color: var(--pdfe-danger); }
.tc-pdf-stack i { display: block; height: 9px; margin-top: 20px; border-radius: 10px; background: var(--pdfe-border); }
.tc-pdf-stack i:last-child { width: 60%; }
.tc-art-pill--edit { top: 20px; right: 22px; color: var(--pdfe-warning); --tc-rotate: 5deg; }
.tc-art-pill--merge { right: -6px; bottom: 54px; color: var(--pdfe-primary); --tc-rotate: -4deg; }
.tc-art-pill--ocr { left: 25px; bottom: 26px; color: var(--pdfe-success); --tc-rotate: 3deg; }

.tc-photo {
	position: absolute;
	width: 255px;
	height: 300px;
	overflow: hidden;
	border: 10px solid var(--pdfe-surface);
	border-radius: 18px;
	background: linear-gradient(145deg, var(--pdfe-bg-soft-blue) 0 45%, var(--pdfe-success-bg) 45% 100%);
	box-shadow: 0 20px 48px color-mix(in srgb, var(--pdfe-primary) 18%, transparent);
}

.tc-photo span { position: absolute; left: 50%; bottom: 0; width: 110px; height: 215px; border-radius: 55px 55px 8px 8px; background: var(--pdfe-accent); transform: translateX(-50%); }
.tc-photo--back { top: 28px; left: 45px; transform: rotate(-7deg); filter: saturate(0.55); }
.tc-photo--front { right: 32px; bottom: 18px; transform: rotate(5deg); }
.tc-photo--front i { position: absolute; inset: 18px; border: 2px dashed var(--pdfe-surface); border-radius: 50%; }
.tc-magic-badge { position: absolute; right: -8px; bottom: 20px; display: grid; gap: 5px; padding: 14px 18px; border-radius: 14px; background: var(--pdfe-primary); color: var(--pdfe-surface); box-shadow: var(--pdfe-shadow); }
.tc-magic-badge .pdfe-ai { color: var(--pdfe-accent); }

.tc-slider-arrow {
	position: absolute;
	top: 46%;
	z-index: 4;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--pdfe-border);
	border-radius: 50%;
	background: color-mix(in srgb, var(--pdfe-surface) 90%, transparent);
	color: var(--pdfe-primary);
	font-size: 20px;
	cursor: pointer;
}

.tc-slider-arrow:hover { background: var(--pdfe-surface); }
.tc-slider-arrow--prev { left: 18px; }
.tc-slider-arrow--next { right: 18px; }

.tc-slider-dots {
	position: absolute;
	left: 50%;
	bottom: 91px;
	z-index: 4;
	display: flex;
	gap: 8px;
	transform: translateX(-50%);
}

.tc-slider-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 10px; background: color-mix(in srgb, var(--pdfe-primary) 25%, var(--pdfe-surface)); cursor: pointer; transition: width 0.2s, background 0.2s; }
.tc-slider-dots button.is-active { width: 28px; background: var(--pdfe-warning); }

.tc-trust-row {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 70px;
	padding-block: 22px;
	border-top: 1px solid color-mix(in srgb, var(--pdfe-primary) 12%, transparent);
	background: color-mix(in srgb, var(--pdfe-surface) 55%, transparent);
}

.tc-trust-row span { display: flex; align-items: center; gap: 9px; color: var(--pdfe-text-secondary); font-size: 14px; }
.tc-trust-row .pdfe-icon { color: var(--pdfe-success); }

/* Tool and category collections */
.tc-tool-grid,
.tc-ai-tools {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tc-tool-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.tc-tool-card {
	display: grid;
	grid-template-columns: 54px 1fr auto;
	align-items: center;
	gap: 14px;
	min-height: 112px;
	padding: 20px;
	border: 1px solid var(--pdfe-border);
	border-radius: 15px;
	background: var(--pdfe-surface);
	color: var(--pdfe-text);
	text-decoration: none;
	box-shadow: var(--pdfe-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.tc-tool-card:hover,
.tc-tool-card:focus-visible {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--pdfe-primary) 24%, var(--pdfe-border));
	box-shadow: var(--pdfe-shadow-page);
}

.tc-tool-card__icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: var(--pdfe-bg-soft-blue);
	color: var(--pdfe-primary);
}

.tc-tool-card--1 .tc-tool-card__icon,
.tc-tool-card--6 .tc-tool-card__icon { background: var(--pdfe-warning-bg); color: var(--pdfe-warning); }
.tc-tool-card--2 .tc-tool-card__icon,
.tc-tool-card--5 .tc-tool-card__icon { background: var(--pdfe-success-bg); color: var(--pdfe-success); }
.tc-tool-card--3 .tc-tool-card__icon,
.tc-tool-card--7 .tc-tool-card__icon { background: var(--pdfe-danger-bg); color: var(--pdfe-danger); }
.tc-tool-card__icon .pdfe-icon { width: 26px; height: 26px; }
.tc-tool-card__copy { min-width: 0; }
.tc-tool-card__copy strong { display: flex; align-items: center; gap: 5px; line-height: 1.25; }
.tc-tool-card__copy small { display: block; margin-top: 6px; color: var(--pdfe-text-muted); line-height: 1.35; }
.tc-tool-card > i { color: var(--pdfe-warning); font-style: normal; }

.tc-popular {
	background: var(--pdfe-surface);
}

.tc-categories {
	background: var(--pdfe-bg-soft-blue);
}

.tc-categories::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: min(1180px, calc(100% - 40px));
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--pdfe-primary), transparent);
	opacity: 0.18;
	transform: translateX(-50%);
}

.tc-how {
	background: var(--pdfe-surface);
}

.tc-guides {
	border-top-color: var(--pdfe-border);
	background: var(--pdfe-bg);
}
.tc-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tc-category-card { position: relative; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 10px; min-height: 250px; overflow: hidden; padding: 30px; border-radius: 20px; color: var(--pdfe-text); text-decoration: none; }
.tc-category-card--pdf { background: var(--pdfe-warning-bg); }
.tc-category-card--image { background: var(--pdfe-success-bg); }
.tc-category-card--ai { background: var(--pdfe-bg-soft-blue); }
.tc-category-card__copy { position: relative; z-index: 2; display: flex; align-items: start; flex-direction: column; }
.tc-category-card__copy strong { font-size: 25px; }
.tc-category-card__copy small { margin: 12px 0 24px; color: var(--pdfe-text-secondary); font-size: 15px; line-height: 1.55; }
.tc-category-card__copy b { margin-top: auto; color: var(--pdfe-primary); }
.tc-category-preview {
	position: relative;
	align-self: center;
	min-width: 0;
	height: 178px;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--pdfe-primary) 10%, var(--pdfe-border));
	border-radius: 18px;
	background: color-mix(in srgb, var(--pdfe-surface) 88%, transparent);
	box-shadow: 0 18px 30px color-mix(in srgb, var(--pdfe-primary) 10%, transparent);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tc-category-card:hover .tc-category-preview,
.tc-category-card:focus-visible .tc-category-preview {
	transform: translateY(-5px) rotate(1deg);
	box-shadow: 0 24px 38px color-mix(in srgb, var(--pdfe-primary) 15%, transparent);
}

.tc-preview-document {
	position: absolute;
	top: 18px;
	left: 50%;
	width: 112px;
	height: 138px;
	padding: 18px 15px;
	border-radius: 10px;
	background: var(--pdfe-surface);
	box-shadow: var(--pdfe-shadow-page);
	transform: translateX(-50%) rotate(-4deg);
}

.tc-preview-document b {
	display: inline-block;
	padding: 5px 7px;
	border-radius: 5px;
	background: var(--pdfe-danger-bg);
	color: var(--pdfe-danger);
	font-size: 10px;
}

.tc-preview-document i {
	display: block;
	height: 6px;
	margin-top: 11px;
	border-radius: 4px;
	background: var(--pdfe-border);
}

.tc-preview-document i:nth-of-type(2) { width: 78%; }
.tc-preview-document i:nth-of-type(3) { width: 55%; }
.tc-preview-document em { position: absolute; right: -18px; bottom: 16px; padding: 7px 9px; border-radius: 7px; background: var(--pdfe-accent); color: var(--pdfe-on-accent); font-size: 10px; font-style: normal; font-weight: 900; }
.tc-preview-cursor { position: absolute; right: 18px; bottom: 13px; color: var(--pdfe-primary); font-size: 24px; font-weight: 900; }

.tc-category-preview--image { background: linear-gradient(145deg, var(--pdfe-bg-soft-blue), var(--pdfe-success-bg)); }
.tc-preview-photo { position: absolute; inset: 18px; overflow: hidden; border: 7px solid var(--pdfe-surface); border-radius: 12px; background: linear-gradient(145deg, var(--pdfe-bg-soft-blue) 0 52%, var(--pdfe-success-bg) 52%); box-shadow: var(--pdfe-shadow); }
.tc-preview-photo i { position: absolute; top: 25px; left: 24px; width: 27px; height: 27px; border-radius: 50%; background: var(--pdfe-accent); }
.tc-preview-photo b { position: absolute; right: -10px; bottom: -12px; width: 100px; height: 92px; background: var(--pdfe-success); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: 0.72; }
.tc-preview-photo em { position: absolute; inset: 10px; border: 2px dashed color-mix(in srgb, var(--pdfe-primary) 50%, var(--pdfe-surface)); border-radius: 5px; }
.tc-preview-size { position: absolute; right: 10px; bottom: 10px; padding: 6px 8px; border-radius: 6px; background: var(--pdfe-primary); color: var(--pdfe-surface); font-size: 9px; font-weight: 900; }

.tc-category-preview--ai {
	background-color: var(--pdfe-surface);
	background-image: linear-gradient(45deg, var(--pdfe-border) 25%, transparent 25%), linear-gradient(-45deg, var(--pdfe-border) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--pdfe-border) 75%), linear-gradient(-45deg, transparent 75%, var(--pdfe-border) 75%);
	background-position: 0 0, 0 8px, 8px -8px, -8px 0;
	background-size: 16px 16px;
}
.tc-preview-cutout { position: absolute; inset: 16px 25px 0; overflow: hidden; border-radius: 50% 50% 10px 10px; background: color-mix(in srgb, var(--pdfe-bg-soft-blue) 88%, transparent); }
.tc-preview-cutout i { position: absolute; top: 20px; left: 50%; width: 46px; height: 46px; border-radius: 50%; background: var(--pdfe-accent); transform: translateX(-50%); }
.tc-preview-cutout b { position: absolute; left: 50%; bottom: -12px; width: 92px; height: 104px; border-radius: 46px 46px 12px 12px; background: var(--pdfe-primary); transform: translateX(-50%); }
.tc-preview-ai-badge { position: absolute; right: 9px; bottom: 10px; padding: 6px 8px; border-radius: 6px; background: var(--pdfe-accent); color: var(--pdfe-on-accent); font-size: 9px; font-weight: 900; }

/* Steps and AI */
.tc-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.tc-how-grid li { position: relative; padding: 34px 28px; border: 1px solid var(--pdfe-border); border-radius: 20px; background: var(--pdfe-bg-light-blue); text-align: center; }
.tc-how-grid li:not(:last-child)::after { content: "→"; position: absolute; top: 62px; right: -30px; color: var(--pdfe-border); font-size: 30px; }
.tc-how-grid__number { position: absolute; top: 12px; left: calc(50% + 24px); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pdfe-accent); color: var(--pdfe-on-accent); font-size: 13px; font-weight: 900; }
.tc-how-grid__icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 24px; background: var(--pdfe-surface); color: var(--pdfe-primary); box-shadow: var(--pdfe-shadow); }
.tc-how-grid__icon .pdfe-icon { width: 34px; height: 34px; }
.tc-how-grid strong { font-size: 20px; }
.tc-how-grid p { margin: 10px 0 0; color: var(--pdfe-text-secondary); line-height: 1.55; }

.tc-ai { overflow: hidden; background: var(--pdfe-primary); color: var(--pdfe-surface); }
.tc-ai::before { content: ""; position: absolute; top: -180px; left: -140px; width: 430px; height: 430px; border: 80px solid color-mix(in srgb, var(--pdfe-accent) 9%, transparent); border-radius: 50%; pointer-events: none; }
.tc-ai > .tc-shell { position: relative; z-index: 1; }
.tc-ai__copy h2 { color: var(--pdfe-surface); }
.tc-ai__layout { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 88px; }
.tc-ai__copy > p:not(.tc-kicker) { color: var(--pdfe-on-dark-muted); }
.tc-ai__copy .pdfe-btn { margin-top: 28px; background: var(--pdfe-surface); color: var(--pdfe-primary); }
.tc-ai-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tc-ai-tools a { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 13px; min-height: 82px; padding: 16px; border: 1px solid color-mix(in srgb, var(--pdfe-surface) 15%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--pdfe-surface) 8%, transparent); color: var(--pdfe-surface); text-decoration: none; transition: background 0.2s, transform 0.2s; }
.tc-ai-tools a:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--pdfe-surface) 13%, transparent); }
.tc-ai-tools a > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--pdfe-accent); color: var(--pdfe-on-accent); }
.tc-ai-tools i { color: var(--pdfe-accent); font-style: normal; }

/* Benefits and browser illustration */
.tc-results { background: linear-gradient(135deg, var(--pdfe-warning-bg), var(--pdfe-surface) 68%); }
.tc-results__layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 76px; }
.tc-benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.tc-benefit-grid article { display: flex; gap: 12px; }
.tc-benefit-grid article > span { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--pdfe-warning-bg); color: var(--pdfe-warning); font-weight: 900; }
.tc-benefit-grid h3 { margin: 0; font-size: 16px; }
.tc-benefit-grid p { margin: 5px 0 0; color: var(--pdfe-text-muted); font-size: 14px; line-height: 1.5; }
.tc-browser-demo { border: 1px solid var(--pdfe-border); border-radius: 18px; background: var(--pdfe-surface); box-shadow: 0 28px 70px color-mix(in srgb, var(--pdfe-primary) 16%, transparent); transform: rotate(1.5deg); }
.tc-browser-demo__bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--pdfe-border); background: var(--pdfe-bg); border-radius: 18px 18px 0 0; }
.tc-browser-demo__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--pdfe-border); }
.tc-browser-demo__bar span { margin-left: 10px; padding: 5px 40px; border-radius: 6px; background: var(--pdfe-surface); color: var(--pdfe-text-muted); font-size: 11px; }
.tc-browser-demo__body { min-height: 350px; }
.tc-browser-demo__body nav { display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid var(--pdfe-border); font-size: 10px; }
.tc-browser-demo__body nav img { width: 24px; height: 24px; }
.tc-browser-demo__body nav b { margin-right: auto; font-size: 12px; }
.tc-browser-demo__body nav span { padding: 4px 5px; color: var(--pdfe-text-muted); }
.tc-browser-demo__body nav .is-active { color: var(--pdfe-warning); }
.tc-browser-demo__drop { display: flex; align-items: center; flex-direction: column; width: calc(100% - 64px); margin: 38px auto; padding: 42px 20px; border: 2px dashed var(--pdfe-border); border-radius: 16px; background: var(--pdfe-bg-light-blue); }
.tc-browser-demo__drop > .pdfe-icon { width: 42px; height: 42px; margin-bottom: 15px; color: var(--pdfe-primary); }
.tc-browser-demo__drop small { margin-top: 6px; color: var(--pdfe-text-muted); }
.tc-browser-demo__drop div { display: flex; gap: 8px; margin-top: 22px; }
.tc-browser-demo__drop div i { padding: 5px 7px; border-radius: 5px; background: var(--pdfe-surface); color: var(--pdfe-text-muted); font-size: 9px; font-style: normal; font-weight: 800; }

/* Guides and final CTA */
.tc-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tc-guide-card { overflow: hidden; border: 1px solid var(--pdfe-border); border-radius: 16px; background: var(--pdfe-surface); box-shadow: var(--pdfe-shadow-sm); }
.tc-guide-card__image { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pdfe-bg-soft-blue); color: var(--pdfe-primary); }
.tc-guide-card--1 .tc-guide-card__image { background: var(--pdfe-warning-bg); color: var(--pdfe-warning); }
.tc-guide-card--2 .tc-guide-card__image { background: var(--pdfe-success-bg); color: var(--pdfe-success); }
.tc-guide-card__image img { width: 100%; height: 100%; object-fit: cover; }
.tc-guide-card__image .pdfe-icon { width: 54px; height: 54px; }
.tc-guide-card > div { padding: 24px; }
.tc-guide-card p { margin: 0 0 9px; color: var(--pdfe-warning); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.tc-guide-card h3 { margin: 0; font-size: 20px; line-height: 1.35; }
.tc-guide-card h3 a { color: var(--pdfe-text); text-decoration: none; }
.tc-guide-card > div > span { display: block; margin-top: 20px; color: var(--pdfe-primary); font-size: 14px; font-weight: 800; }
.tc-guide-card:hover { box-shadow: var(--pdfe-shadow-page); }

.tc-final-cta { padding: 34px 0; background: var(--pdfe-primary); color: var(--pdfe-surface); }
.tc-final-cta__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
.tc-final-cta__plane { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: color-mix(in srgb, var(--pdfe-surface) 10%, transparent); color: var(--pdfe-accent); font-size: 30px; transform: rotate(-18deg); }
.tc-final-cta h2 { font-size: clamp(25px, 3vw, 36px); }
.tc-final-cta p { margin: 8px 0 0; color: var(--pdfe-on-dark-muted); }

.tc-home a:focus-visible,
.tc-home button:focus-visible {
	outline: none;
	box-shadow: var(--pdfe-focus);
}

@media (max-width: 1100px) {
	.tc-hero__grid { grid-template-columns: 1fr 0.82fr; gap: 35px; }
	.tc-hero-art { transform: scale(0.88); }
	.tc-tool-grid { grid-template-columns: repeat(2, 1fr); }
	.tc-category-card { grid-template-columns: 1fr; }
	.tc-category-preview { width: 100%; height: 160px; margin-top: 8px; }
	.tc-ai__layout,
	.tc-results__layout { gap: 45px; }
}

@media (max-width: 800px) {
	.tc-home { padding-top: 14px; }
	.tc-section { padding: 70px 0; }
	.tc-hero { width: calc(100% - 24px); margin-bottom: 18px; border-radius: 24px; }
	.tc-hero__slides { min-height: 700px; }
	.tc-hero__grid { grid-template-columns: 1fr; gap: 10px; min-height: 700px; padding: 48px 0 76px; text-align: center; }
	.tc-hero__copy { position: relative; z-index: 2; }
	.tc-hero__lead { margin-inline: auto; }
	.tc-actions { justify-content: center; }
	.tc-hero-art { min-height: 265px; margin: -24px auto -20px; width: min(440px, 92%); transform: scale(0.72); transform-origin: center; }
	.tc-slider-arrow { display: none; }
	.tc-slider-dots { bottom: 82px; }
	.tc-trust-row { gap: 24px; }
	.tc-category-grid,
	.tc-ai__layout,
	.tc-results__layout { grid-template-columns: 1fr; }
	.tc-category-card { min-height: 210px; }
	.tc-how-grid { gap: 15px; }
	.tc-how-grid li { padding-inline: 12px; }
	.tc-how-grid li:not(:last-child)::after { display: none; }
	.tc-ai__layout { gap: 38px; }
	.tc-browser-demo { max-width: 590px; margin-inline: auto; }
	.tc-guide-grid { grid-template-columns: 1fr 1fr; }
	.tc-guide-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
	.tc-shell { width: min(100% - 28px, 1180px); }
	.tc-home { padding-top: 8px; }
	.tc-section { padding: 58px 0; }
	.tc-section-head { align-items: start; flex-direction: column; margin-bottom: 26px; }
	.tc-hero { width: calc(100% - 16px); border-radius: 20px; }
	.tc-hero__slides,
	.tc-hero__grid { min-height: 650px; }
	.tc-hero__grid { padding: 40px 0 64px; }
	.tc-hero__copy h1,
	.tc-hero__copy h2,
	.tc-hero__copy .tc-hero__title { font-size: 44px; }
	.tc-hero__lead { font-size: 17px; }
	.tc-actions { align-items: stretch; flex-direction: column; }
	.tc-actions .pdfe-btn { width: 100%; }
	.tc-hero-art { min-height: 220px; width: 390px; max-width: 112%; margin: -34px 0 -30px -6%; transform: scale(0.58); transform-origin: top center; }
	.tc-trust-row { align-items: center; flex-direction: column; gap: 10px; padding-block: 17px; }
	.tc-slider-dots { bottom: 125px; }
	.tc-tool-grid,
	.tc-category-grid,
	.tc-how-grid,
	.tc-ai-tools,
	.tc-benefit-grid,
	.tc-guide-grid { grid-template-columns: 1fr; }
	.tc-category-card { grid-template-columns: 1.15fr 0.85fr; min-height: 235px; padding: 24px; }
	.tc-category-preview { height: 150px; margin-top: 0; }
	.tc-how-grid li { padding-block: 18px; }
	.tc-guide-card:last-child { grid-column: auto; }
	.tc-browser-demo__body nav span { display: none; }
	.tc-browser-demo__bar span { padding-inline: 16px; }
	.tc-final-cta__inner { grid-template-columns: 1fr; text-align: center; }
	.tc-final-cta__plane { margin-inline: auto; }
	.tc-final-cta .pdfe-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.tc-hero__slide,
	.tc-tool-card,
	.tc-category-art,
	.tc-ai-tools a { transition: none; }
}

/* ===== Homepage v2 (2026-10-14): tool directory, steps, plans, FAQ, realistic slider mockups ===== */


/* Trust row: three short promises under the slider. */
.tc-trust-row b { font-weight: 700; }

/* ---------- Tool directory (PDF tools, image tools) ---------- */
.tc2-tools { padding: 88px 0; border-top: 1px solid var(--pdfe-border); background: var(--pdfe-surface); }
.tc2-tools--image { background: var(--pdfe-bg-light-blue); }
.tc2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tc2-card {
	display: grid;
	grid-template-rows: auto auto 1fr;
	gap: 10px;
	height: 100%;
	padding: 22px;
	border: 1px solid var(--pdfe-border);
	border-radius: var(--pdfe-radius-lg);
	background: var(--pdfe-surface);
	color: var(--pdfe-text);
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.tc2-card:hover, .tc2-card:has(.tc2-card__link:focus-visible) { border-color: var(--pdfe-primary); box-shadow: var(--pdfe-shadow); transform: translateY(-2px); }
.tc2-card:has(.tc2-card__link:focus-visible) { box-shadow: var(--pdfe-focus); }
.tc2-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tc2-card__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--pdfe-radius);
	background: var(--pdfe-bg-soft-blue);
	color: var(--pdfe-primary);
}
.tc2-card__icon .pdfe-icon { width: 24px; height: 24px; }
.tc2-card h3 { margin: 4px 0 0; font-size: 1.0625rem; line-height: 1.3; }
.tc2-card p { margin: 0; color: var(--pdfe-text-secondary); font-size: 0.9375rem; line-height: 1.5; }
.tc2-card p.tc2-card__langs { margin-top: 6px; color: var(--pdfe-text-muted, var(--pdfe-text-secondary)); font-size: 0.8125rem; font-weight: 600; }
.tc2-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--pdfe-success-bg);
	color: var(--pdfe-success);
	font-size: 0.75rem;
	font-weight: 700;
	white-space: nowrap;
}
.tc2-badge--ai { background: var(--pdfe-primary); color: var(--pdfe-accent); }
.tc2-badge--saved { background: var(--pdfe-warning-bg); color: var(--pdfe-warning); }
.tc2-badge svg { width: 11px; height: 11px; }

/* ---------- Four steps ---------- */
.tc2-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.tc2-steps li {
	position: relative;
	padding: 24px 22px 22px;
	border: 1px solid var(--pdfe-border);
	border-radius: var(--pdfe-radius-lg);
	background: var(--pdfe-surface);
	counter-increment: step;
}
.tc2-steps li::before {
	content: counter(step);
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--pdfe-accent);
	color: var(--pdfe-on-accent);
	font-weight: 800;
}
.tc2-steps h3 { margin: 0 0 6px; font-size: 1.0625rem; }
.tc2-steps p { margin: 0; color: var(--pdfe-text-secondary); font-size: 0.9375rem; line-height: 1.5; }

/* ---------- Guest vs free account ---------- */
.tc2-plans {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	align-items: stretch;
	margin-top: 40px;
	padding: 36px;
	border-radius: 20px;
	background: var(--pdfe-primary);
	color: var(--pdfe-surface);
}
.tc2-plans__intro .tc-kicker { color: var(--pdfe-accent); }
.tc2-plans__intro h2 { margin: 0 0 10px; color: var(--pdfe-surface); font-size: 1.625rem; line-height: 1.2; text-wrap: balance; }
.tc2-plans__intro p { margin: 0; color: var(--pdfe-on-dark-muted); line-height: 1.55; }
.tc2-plan { padding: 22px; border: 1px solid var(--pdfe-sidebar-active); border-radius: var(--pdfe-radius-lg); background: var(--pdfe-sidebar-hover); }
.tc2-plan--free { border-color: var(--pdfe-accent); }
.tc2-plan h3 { margin: 0 0 4px; color: var(--pdfe-accent); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; }
.tc2-plan__price { margin: 0 0 14px; font-size: 1.375rem; font-weight: 800; }
.tc2-plan ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; color: var(--pdfe-on-dark-muted); font-size: 0.9375rem; }
.tc2-plan li { display: flex; gap: 8px; }
.tc2-plan li::before { content: "✓"; color: var(--pdfe-accent); font-weight: 800; }
.tc2-plan .pdfe-btn { margin-top: 18px; }

/* ---------- FAQ ---------- */
.tc2-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.tc2-faq__list { display: grid; gap: 12px; }
.tc2-faq details { border: 1px solid var(--pdfe-border); border-radius: var(--pdfe-radius-lg); background: var(--pdfe-surface); }
.tc2-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}
.tc2-faq summary::-webkit-details-marker { display: none; }
.tc2-faq summary::after { content: "+"; color: var(--pdfe-warning); font-size: 1.375rem; line-height: 1; }
.tc2-faq details[open] summary::after { content: "−"; }
.tc2-faq summary:focus-visible { outline: none; box-shadow: var(--pdfe-focus); border-radius: var(--pdfe-radius-lg); }
.tc2-faq details p { margin: 0; padding: 0 20px 18px; color: var(--pdfe-text-secondary); line-height: 1.6; }

/* Edit PDF leads the PDF grid as a wide card, so the other nine fill three even rows. */
.tc2-card--lead { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; gap: 18px; padding: 24px 26px; border-color: var(--pdfe-accent); background: var(--pdfe-warning-bg); }
.tc2-card--lead .tc2-card__top { display: contents; }
.tc2-card--lead .tc2-card__icon { grid-row: 1; grid-column: 1; width: 52px; height: 52px; background: var(--pdfe-accent); color: var(--pdfe-on-accent); }
.tc2-card--lead > div { grid-row: 1; grid-column: 2; min-width: 0; }
.tc2-card--lead .tc2-badge { grid-row: 1; grid-column: 3; }
.tc2-card--lead h3 { margin: 0 0 4px; font-size: 1.25rem; }
.tc2-grid > .tc2-grid__lead { grid-column: 1 / -1; }
.tc-final-cta h2 { color: var(--pdfe-surface); }

/* Guide cards without a picture in the preview. */
.tc-guide-card__image span { display: grid; place-items: center; height: 100%; color: var(--pdfe-primary); }

@media (max-width: 960px) {
	.tc2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tc2-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tc2-plans { grid-template-columns: 1fr 1fr; }
	.tc2-plans__intro { grid-column: 1 / -1; }
	.tc2-faq { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
	.tc2-card--lead { grid-template-columns: auto minmax(0, 1fr); }
	.tc2-card--lead .tc2-badge { grid-row: 2; grid-column: 1 / -1; justify-self: start; }
	.tc2-tools { padding: 56px 0; }
	.tc2-grid, .tc2-steps, .tc2-plans { grid-template-columns: 1fr; }
	.tc2-plans { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.tc2-card { transition: none; }
	.tc2-card:hover { transform: none; }
}

/* Fix: on phones the hero column grew to the art's width and cut the text off at the right. */
@media (max-width: 800px) {
	.tc-hero__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Realistic hero mockups (replace the floating cards) ---------- */
.tc-mock {
	position: relative;
	width: min(540px, 100%);
	margin-inline: auto;
	border: 1px solid var(--pdfe-border);
	border-radius: 16px;
	background: var(--pdfe-surface);
	box-shadow: 0 30px 70px color-mix(in srgb, var(--pdfe-primary) 22%, transparent), var(--pdfe-shadow-sm);
	text-align: left;
	font-size: 13px;
}
.tc-mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--pdfe-border); border-radius: 16px 16px 0 0; background: var(--pdfe-bg); }
.tc-mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--pdfe-border); }
.tc-mock__bar span { flex: 1; margin-left: 10px; padding: 4px 12px; border-radius: 999px; background: var(--pdfe-surface); color: var(--pdfe-text-muted); font-size: 12px; }
.tc-mock__top { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--pdfe-primary); color: var(--pdfe-surface); }
.tc-mock__file { display: flex; align-items: center; gap: 8px; margin-right: auto; font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tc-mock__file b { padding: 2px 6px; border-radius: 4px; background: var(--pdfe-danger); color: var(--pdfe-surface); font-size: 10px; }
.tc-mock__chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: color-mix(in srgb, var(--pdfe-surface) 12%, transparent); font-size: 11px; font-weight: 700; white-space: nowrap; }
.tc-mock__chip--accent { background: var(--pdfe-accent); color: var(--pdfe-on-accent); box-shadow: 0 0 0 2px var(--pdfe-surface); }
.tc-mock__chip em { padding: 1px 5px; border-radius: 999px; background: var(--pdfe-primary); color: var(--pdfe-surface); font-style: normal; font-size: 9px; }
.tc-mock__chip .pdfe-icon { width: 14px; height: 14px; }
.tc-mock__body { display: grid; grid-template-columns: 56px minmax(0, 1fr); min-height: 300px; border-radius: 0 0 16px 16px; background: var(--pdfe-bg-light-blue); overflow: hidden; }
.tc-mock__tools { display: grid; align-content: start; gap: 6px; padding: 12px 8px; border-right: 1px solid var(--pdfe-border); background: var(--pdfe-surface); }
.tc-mock__tools span { display: grid; place-items: center; height: 36px; border-radius: 8px; color: var(--pdfe-text-secondary); }
.tc-mock__tools span.is-on { background: var(--pdfe-bg-soft-blue); color: var(--pdfe-primary); box-shadow: inset 0 0 0 1px var(--pdfe-primary); }
.tc-mock__tools .pdfe-icon { width: 18px; height: 18px; }
.tc-mock__stage { padding: 18px 22px 0; }
.tc-mock__page { position: relative; min-height: 282px; padding: 20px 22px; border-radius: 4px 4px 0 0; background: var(--pdfe-surface); box-shadow: var(--pdfe-shadow-page); color: var(--pdfe-text); }
.tc-mock__page .tc-mock__h { font-weight: 800; margin: 0 0 4px; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.tc-mock__lines { display: grid; gap: 6px; margin: 8px 0 14px; }
.tc-mock__lines i { display: block; height: 5px; border-radius: 3px; background: var(--pdfe-border); }
.tc-mock__lines i:nth-child(2) { width: 92%; }
.tc-mock__lines i:nth-child(3) { width: 70%; }
.tc-mock__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.tc-mock__field label { display: block; margin-bottom: 3px; color: var(--pdfe-text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.tc-mock__field div { padding: 6px 8px; border: 1px dashed var(--pdfe-field-border); border-radius: 4px; background: var(--pdfe-field-bg); font-weight: 600; }
.tc-mock__check { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; }
.tc-mock__check b { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 3px; background: var(--pdfe-primary); color: var(--pdfe-surface); font-size: 11px; }
.tc-mock__sign { position: relative; width: 62%; padding: 2px 10px 4px; border: 1.5px solid var(--pdfe-accent); border-radius: 4px; background: var(--pdfe-warning-bg); font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive; font-size: 26px; line-height: 1.2; color: var(--pdfe-primary); }
.tc-mock__sign::before, .tc-mock__sign::after { content: ""; position: absolute; width: 8px; height: 8px; border: 1.5px solid var(--pdfe-accent); border-radius: 2px; background: var(--pdfe-surface); }
.tc-mock__sign::before { top: -5px; left: -5px; }
.tc-mock__sign::after { right: -5px; bottom: -5px; }
.tc-mock__float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 13px;
	border: 1px solid var(--pdfe-border);
	border-radius: 12px;
	background: var(--pdfe-surface);
	box-shadow: var(--pdfe-shadow);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}
.tc-mock__float b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--pdfe-success-bg); color: var(--pdfe-success); }
.tc-mock__float--br { right: -18px; bottom: 26px; }
.tc-mock__float--tl { left: -22px; bottom: 30px; }

/* Slide 2: a scanned page with one line being changed. */
.tc-mock__page--scan { background: color-mix(in srgb, var(--pdfe-warning-bg) 55%, var(--pdfe-surface)); font-family: "Courier New", Courier, monospace; transform: rotate(-0.6deg); }
.tc-mock__page--scan p { margin: 0 0 9px; color: var(--pdfe-text-secondary); font-size: 12.5px; }
.tc-mock__page--scan .tc-mock__big { margin-bottom: 14px; color: var(--pdfe-text); font-size: 18px; font-weight: 700; letter-spacing: 0.08em; }
.tc-mock__hit { position: relative; margin: 0 -6px 9px; padding: 3px 6px; outline: 2px dashed var(--pdfe-accent); outline-offset: 1px; border-radius: 3px; background: var(--pdfe-surface); color: var(--pdfe-text); font-size: 12.5px; }
.tc-mock__hit s { color: var(--pdfe-text-muted); }
.tc-mock__hit ins { text-decoration: none; font-weight: 700; }
.tc-mock__hit ins::after { content: ""; display: inline-block; width: 1.5px; height: 13px; margin-left: 1px; vertical-align: -2px; background: var(--pdfe-primary); animation: tc-caret 1s steps(1) infinite; }
@keyframes tc-caret { 50% { opacity: 0; } }

/* Slide 3: before and after a background removal. */
.tc-mock__split { display: grid; grid-template-columns: 1fr 1fr; min-height: 300px; border-radius: 0 0 16px 16px; overflow: hidden; }
.tc-mock__half { position: relative; display: grid; place-items: end center; }
.tc-mock__half--before { background: linear-gradient(160deg, var(--pdfe-sidebar-active), var(--pdfe-primary) 55%, var(--pdfe-sidebar-hover)); }
.tc-mock__half--after { background-color: var(--pdfe-surface); background-image: linear-gradient(45deg, var(--pdfe-border) 25%, transparent 25%, transparent 75%, var(--pdfe-border) 75%), linear-gradient(45deg, var(--pdfe-border) 25%, transparent 25%, transparent 75%, var(--pdfe-border) 75%); background-size: 18px 18px; background-position: 0 0, 9px 9px; }
.tc-mock__half svg { display: block; width: 78%; height: auto; }
.tc-mock__half--after svg { filter: drop-shadow(0 0 0 var(--pdfe-surface)) drop-shadow(2px 0 0 var(--pdfe-surface)) drop-shadow(-2px 0 0 var(--pdfe-surface)) drop-shadow(0 -2px 0 var(--pdfe-surface)); }
.tc-mock__tag { position: absolute; top: 12px; left: 12px; padding: 4px 9px; border-radius: 999px; background: var(--pdfe-surface); color: var(--pdfe-text); font-size: 11px; font-weight: 700; box-shadow: var(--pdfe-shadow-sm); }
.tc-mock__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--pdfe-surface); }
.tc-mock__handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--pdfe-surface); color: var(--pdfe-primary); box-shadow: var(--pdfe-shadow); font-weight: 800; }

/* The mockups replace the old floating-card art. */
.tc-hero-art--mock { min-height: 0; border-radius: 0; background: none; }
@media (max-width: 800px) {
	.tc-hero__slides, .tc-hero__grid { min-height: 840px; }
	.tc-hero-art--mock { width: 100%; margin: 8px auto 0; transform: none; }
	.tc-mock__float { display: none; }
}
@media (max-width: 560px) {
	.tc-hero__slides, .tc-hero__grid { min-height: 940px; }
	.tc-hero-art--mock { width: 100%; max-width: 100%; margin: 4px 0 0; transform: none; }
	.tc-mock__body, .tc-mock__split { min-height: 230px; }
	.tc-mock__page { min-height: 220px; padding: 14px; }
	.tc-mock__body { grid-template-columns: 44px minmax(0, 1fr); }
	.tc-mock__stage { padding: 12px 12px 0; }
	.tc-mock__chip--dl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.tc-mock__hit ins::after { animation: none; }
}

.tc2-faq__head h2 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; text-wrap: balance; }
.tc2-faq__head p:not(.tc-kicker) { margin: 0; color: var(--pdfe-text-secondary); line-height: 1.6; }

/* Homepage: final call to action and newsletter share one band. */
.tc-home + .pdfe-site-footer { margin-top: 0; }
.pdfe-subscribe--home { background: var(--pdfe-primary); border-bottom: 1px solid color-mix(in srgb, var(--pdfe-surface) 10%, transparent); }
.pdfe-subscribe--home .pdfe-subscribe__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; padding-top: 64px; padding-bottom: 64px; }
.pdfe-subscribe__cta h2 { margin: 0; color: var(--pdfe-surface); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; }
.pdfe-subscribe__cta p { margin: 12px 0 24px; color: var(--pdfe-on-dark-muted); font-size: 17px; }
.pdfe-subscribe__card { padding: 28px; border: 1px solid color-mix(in srgb, var(--pdfe-surface) 12%, transparent); border-radius: 20px; background: var(--pdfe-sidebar-active); }
.pdfe-subscribe--home .pdfe-subscribe__text h2 { font-size: 22px; }
.pdfe-subscribe--home .pdfe-subscribe__text p { margin-bottom: 16px; }
.pdfe-subscribe__cta .pdfe-btn,
.pdfe-subscribe__cta .pdfe-btn:hover,
.pdfe-subscribe__cta .pdfe-btn:focus-visible { color: var(--pdfe-on-accent); text-decoration: none; }
@media (max-width: 900px) {
	.pdfe-subscribe--home .pdfe-subscribe__inner { grid-template-columns: minmax(0, 1fr); padding-top: 44px; padding-bottom: 44px; }
	.pdfe-subscribe__cta { text-align: center; }
	.pdfe-subscribe__cta .pdfe-btn { width: 100%; }
	.pdfe-subscribe__card { padding: 22px; }
}

/* Tool cards: only the tool name is the link, stretched over the whole card. */
.tc2-card { position: relative; }
.tc2-card__link { color: inherit; text-decoration: none; }
.tc2-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tc2-card__link:focus-visible { outline: none; }
.tc-home [id^="tc2-"] { scroll-margin-top: 104px; }

/* Homepage: popular how-tos under the latest guides. */
.tc2-popular { margin-top: 32px; padding: 24px 26px; border: 1px solid var(--pdfe-border); border-radius: var(--pdfe-radius-lg); background: var(--pdfe-surface); }
.tc2-popular__title { margin: 0 0 14px; font-size: 1.0625rem; }
.tc2-popular__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; margin: 0; padding: 0; list-style: none; }
.tc2-popular__list a { display: flex; gap: 8px; color: var(--pdfe-text); font-weight: 600; line-height: 1.4; text-decoration: none; }
.tc2-popular__list a::before { content: "→" / ""; color: var(--pdfe-warning); }
.tc2-popular__list a:hover, .tc2-popular__list a:focus-visible { color: var(--pdfe-primary); text-decoration: underline; }
@media (max-width: 760px) { .tc2-popular__list { grid-template-columns: minmax(0, 1fr); } .tc2-popular { padding: 20px; } }

/* ------------------------------------------------------------------
   Follow bar: every social page, fixed on the right edge (homepage)
   ------------------------------------------------------------------ */
.pdfe-followbar {
	position: fixed;
	top: 50%;
	right: 18px; /* floats off the edge, like the Share bar on tool pages */
	z-index: 90; /* under the site header's menus (100) and the notification offer (1000) */
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 12px 8px;
	border: 1px solid var(--pdfe-border);
	border-radius: 999px;
	background: var(--pdfe-surface);
	box-shadow: var(--pdfe-shadow-sm);
	transform: translateY(-50%);
}

.pdfe-followbar__toggle {
	display: none;
}

.pdfe-followbar__title {
	margin: 0 0 2px;
	color: var(--pdfe-text-secondary);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pdfe-followbar__list {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pdfe-followbar__link {
	position: relative;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--pdfe-border);
	border-radius: 50%;
	background: var(--pdfe-surface);
	color: var(--pdfe-text);
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pdfe-followbar__link .pdfe-icon {
	width: 19px;
	height: 19px;
}

/* same look as the Share buttons: white circles, apricot on hover */
.pdfe-followbar__link:hover,
.pdfe-followbar__link:focus-visible {
	border-color: var(--pdfe-accent);
	background: var(--pdfe-accent);
	color: var(--pdfe-on-accent);
	outline: none;
}

.pdfe-followbar__link:focus-visible {
	box-shadow: 0 0 0 3px var(--pdfe-focus);
}

/* the name slides out to the left on hover or keyboard focus */
.pdfe-followbar__name {
	position: absolute;
	top: 50%;
	right: calc(100% + 12px);
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--pdfe-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transform: translate(6px, -50%);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.pdfe-followbar__link:hover .pdfe-followbar__name,
.pdfe-followbar__link:focus-visible .pdfe-followbar__name {
	opacity: 1;
	transform: translate(0, -50%);
}

/* Phones and small tablets: one round button at the right edge, low enough to stay clear of
   the text; tapping it opens the list above it. */
@media (max-width: 760px) {
	.pdfe-followbar {
		right: 12px;
		top: auto;
		bottom: calc(96px + env(safe-area-inset-bottom));
		padding: 6px;
		transform: none;
	}

	.pdfe-followbar__toggle {
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--pdfe-primary);
		color: #fff;
		cursor: pointer;
	}

	.pdfe-followbar__title,
	.pdfe-followbar__list {
		display: none;
	}

	.pdfe-followbar.is-open .pdfe-followbar__list {
		display: grid;
		order: -1; /* list above the button */
	}

	.pdfe-followbar.is-open .pdfe-followbar__toggle {
		background: var(--pdfe-accent);
		color: var(--pdfe-on-accent);
	}

	.pdfe-followbar__name {
		display: none; /* no hover on touch screens */
	}
}

@media (prefers-reduced-motion: reduce) {
	.pdfe-followbar__link,
	.pdfe-followbar__name {
		transition: none;
	}
}

@media print {
	.pdfe-followbar {
		display: none;
	}
}
