/*
Theme Name: Social Media Downloader
Theme URI: https://example.com/social-downloader
Author: Antigravity
Author URI: https://example.com
Description: A bold, modern WordPress theme for free online video downloader tools. Dark interface, a single mint action color, card layouts and a clear header and footer. Mobile first. No gradients, no shadows and no hover effects.
Version: 8.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: social-downloader
*/

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--bg: #ffffff;
	--panel: #f4f6fb;
	--panel-2: #eef2f8;
	--line: #dbe2ec;
	--text: #0f1828;
	--muted: #4f5b6e;
	--accent: #2456ff;
	--accent-ink: #ffffff;
	--error: #c62828;
	--max: 1160px;
	--radius: 14px;
	--radius-sm: 10px;
	--font: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
	font-family: var(--font);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.025em;
	color: var(--text);
	margin: 0 0 0.75rem;
}

h1 {
	font-size: clamp(2.1rem, 5vw, 3.9rem);
}

h2 {
	font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}

h3 {
	font-size: 1.3rem;
	letter-spacing: -0.015em;
}

p {
	margin: 0 0 1.1rem;
}

a {
	color: inherit;
}

ul,
ol {
	margin: 0 0 1.1rem;
	padding-left: 1.25rem;
}

[hidden] {
	display: none !important;
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 700;
	padding: 0.6rem 1rem;
	text-decoration: none;
	border-radius: var(--radius-sm);
}

.skip-link:focus {
	top: 1rem;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.wrap,
.container {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 1.25rem;
}

.py-large {
	padding: 4.5rem 0;
}

.reading {
	max-width: 760px;
}

.section {
	padding: 4.5rem 0;
	border-top: 1px solid var(--line);
}

/* Alternate panel background on the homepage for rhythm */
.home > section:nth-of-type(even) {
	background: var(--panel);
	border-top-color: transparent;
}

.section-intro {
	color: var(--muted);
	font-size: 1.1rem;
	max-width: 46rem;
	margin-bottom: 2.25rem;
}

.eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	background: #e6edff;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	margin: 0 0 1.25rem;
}

.lead {
	font-size: clamp(1.1rem, 2vw, 1.3rem);
	color: var(--muted);
	max-width: 44rem;
	margin: 0 0 2.25rem;
}

.button,
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: var(--accent);
	color: var(--accent-ink);
	border: 0;
	border-radius: var(--radius-sm);
	padding: 1rem 1.6rem;
	font: inherit;
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: relative;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}

.header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	min-height: 76px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--text);
	text-decoration: none;
	white-space: nowrap;
}

.brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: 10px;
}

.brand-mark svg {
	width: 22px;
	height: 22px;
}

.brand-wrap .custom-logo {
	max-height: 46px;
	width: auto;
}

.site-nav ul {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav a {
	display: inline-block;
	padding: 0.55rem 0.85rem;
	font-size: 0.97rem;
	font-weight: 600;
	color: var(--muted);
	text-decoration: none;
	border-radius: var(--radius-sm);
}

.site-nav a:focus-visible {
	color: var(--text);
}

.site-nav .nav-cta {
	margin-left: 0.6rem;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 800;
	padding: 0.6rem 1.1rem;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: var(--panel-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--text);
	cursor: pointer;
}

.menu-toggle svg {
	width: 22px;
	height: 22px;
}

.menu-toggle .icon-close {
	display: none;
}

.menu-toggle[aria-expanded="true"] .icon-open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
	display: block;
}

.platform-strip {
	border-top: 1px solid var(--line);
	background: var(--panel);
}

.platform-strip ul {
	display: flex;
	gap: 0.6rem;
	list-style: none;
	margin: 0;
	padding: 0.8rem 0;
	overflow-x: auto;
	white-space: nowrap;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.platform-strip ul::-webkit-scrollbar {
	display: none;
}

.platform-strip a {
	display: inline-block;
	padding: 0.5rem 0.95rem;
	background: var(--panel-2);
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--text);
	text-decoration: none;
}

/* ==========================================================================
   Home page
   ========================================================================== */

.hero {
	padding: 5rem 0 4rem;
}

.hero h1 {
	max-width: 24ch;
	margin-bottom: 1.4rem;
}

.facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
	margin: 3rem 0 0;
}

.facts div {
	background: var(--panel-2);
	border-radius: var(--radius);
	padding: 1.2rem 1.3rem;
}

.facts dt {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.35rem;
}

.facts dd {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--accent);
}

/* Platform cards */

.platform-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.platform-list > li {
	min-width: 0;
}

.platform-row {
	position: relative;
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	column-gap: 1rem;
	row-gap: 0.9rem;
	align-items: start;
	height: 100%;
	padding: 1.5rem;
	background: var(--panel-2);
	border-radius: var(--radius);
	text-decoration: none;
	color: inherit;
}

/* Solid brand tile with a monogram for each platform */
.platform-row::before {
	content: "";
	grid-column: 1;
	grid-row: 1 / span 2;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--accent);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1rem;
}

.platform-list > li:nth-child(1) .platform-row::before {
	content: "f";
	background: #1877f2;
	font-size: 1.6rem;
}

.platform-list > li:nth-child(2) .platform-row::before {
	content: "IG";
	background: #e1306c;
}

.platform-list > li:nth-child(3) .platform-row::before {
	content: "X";
	background: #0f1828;
	color: #ffffff;
}

.platform-list > li:nth-child(4) .platform-row::before {
	content: "TT";
	background: #fe2c55;
}

.platform-list > li:nth-child(5) .platform-row::before {
	content: "OK";
	background: #ee8208;
}

.platform-list > li:nth-child(6) .platform-row::before {
	content: "YT";
	background: #ff0033;
}

.platform-index {
	display: none;
}

.platform-row > span:not(.platform-index) {
	grid-column: 2;
	min-width: 0;
}

.platform-name {
	display: block;
	font-size: 1.22rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin-bottom: 0.45rem;
}

.platform-text {
	display: block;
	color: var(--muted);
	font-size: 0.97rem;
	line-height: 1.55;
}

.platform-open {
	grid-column: 2;
	justify-self: start;
	font-weight: 800;
	color: var(--accent);
}

/* Numbered steps as cards */

.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.steps li {
	background: var(--panel-2);
	border-radius: var(--radius);
	padding: 1.6rem;
}

.steps .num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 1.3rem;
	font-weight: 800;
	margin-bottom: 1.1rem;
}

.steps li > div {
	min-width: 0;
}

.steps h3 {
	margin-bottom: 0.45rem;
}

.steps p {
	margin: 0;
	color: var(--muted);
}

/* Feature points */

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

.points > div {
	background: var(--panel-2);
	border-radius: var(--radius);
	padding: 1.6rem;
}

.points h3 {
	font-size: 1.15rem;
	margin-bottom: 0.45rem;
}

.points p {
	margin: 0;
	color: var(--muted);
}

/* Tables */

.table-wrap {
	overflow-x: auto;
	border-radius: var(--radius);
	background: var(--panel-2);
}

.data-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 560px;
}

.data-table th,
.data-table td {
	text-align: left;
	vertical-align: top;
	padding: 1.1rem 1.25rem;
	border-bottom: 1px solid var(--line);
}

.data-table th {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
	background: var(--panel);
}

.data-table td:first-child {
	width: 24%;
	font-weight: 800;
	font-size: 1.05rem;
}

.data-table td:last-child {
	color: var(--muted);
}

.data-table tr:last-child td {
	border-bottom: 0;
}

/* Check list cards */

.check-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.25rem;
	display: grid;
	gap: 0.7rem;
}

.check-list li {
	background: var(--panel-2);
	border-left: 4px solid var(--accent);
	border-radius: var(--radius-sm);
	padding: 1rem 1.25rem;
	color: var(--muted);
}

.check-list strong {
	display: block;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--text);
	margin-bottom: 0.2rem;
}

/* FAQ */

.faq {
	display: grid;
	gap: 0.7rem;
}

.faq details {
	background: var(--panel-2);
	border-radius: var(--radius);
}

.faq summary {
	position: relative;
	padding: 1.2rem 3.25rem 1.2rem 1.35rem;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.35;
	cursor: pointer;
	list-style: none;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "+";
	position: absolute;
	right: 1rem;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	border-radius: 9px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 30px;
	text-align: center;
}

.faq details[open] summary::after {
	content: "\2212";
}

.faq .answer {
	padding: 0 1.35rem 1.35rem;
}

.faq .answer p {
	color: var(--muted);
	margin-bottom: 0.9rem;
}

.faq .answer p:last-child {
	margin-bottom: 0;
}

.faq-group {
	margin-top: 3rem;
}

.faq-group:first-of-type {
	margin-top: 0;
}

.faq-group h3 {
	font-size: 1.4rem;
	margin-bottom: 1rem;
}

.faq-group .faq {
	margin-top: 0;
}

.closing-cta {
	padding: 4.5rem 0;
}

.closing-cta .wrap > .reading {
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: 20px;
	padding: 3rem 2.5rem;
	max-width: none;
}

.closing-cta h2 {
	color: var(--accent-ink);
	margin-bottom: 0.75rem;
}

.closing-cta p {
	color: var(--accent-ink);
	max-width: 40rem;
	font-weight: 600;
}

.closing-cta .button {
	background: var(--accent-ink);
	color: var(--accent);
}

/* ==========================================================================
   Downloader tool pages
   ========================================================================== */

.tool-hero {
	padding: 4.5rem 0 3.5rem;
	background: var(--panel);
	border-bottom: 1px solid var(--line);
}

.tool-title {
	font-size: clamp(2.1rem, 4.8vw, 3.4rem);
	margin-bottom: 1rem;
}

.download-form {
	margin: 0 0 1.5rem;
}

.input-row {
	display: flex;
	align-items: stretch;
	gap: 0.6rem;
	background: var(--bg);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	padding: 0.45rem;
}

.input-row input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--text);
	font: inherit;
	font-size: 1.05rem;
	padding: 0.95rem 1rem;
}

.input-row input::placeholder {
	color: #7a8699;
	opacity: 1;
}

.input-row input:focus {
	outline: none;
}

.input-row:focus-within {
	border-color: var(--accent);
}

.input-row .button {
	flex: 0 0 auto;
	white-space: nowrap;
}

.tool-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tool-facts li {
	padding: 0.4rem 0.8rem;
	background: var(--panel-2);
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--muted);
}

.status {
	margin-top: 1.5rem;
	padding: 1.4rem;
	background: var(--panel-2);
	border-radius: var(--radius);
}

.status p {
	margin: 0;
	color: var(--muted);
}

.status-error {
	border-left: 4px solid var(--error);
}

.status-error h2 {
	font-size: 1.2rem;
	color: var(--error);
	margin-bottom: 0.35rem;
}

.spinner {
	width: 28px;
	height: 28px;
	margin: 0 0 0.9rem;
	border: 3px solid var(--line);
	border-top-color: var(--accent);
	border-radius: 50%;
	animation: sdl-spin 1s linear infinite;
}

@keyframes sdl-spin {
	to {
		transform: rotate(360deg);
	}
}

.results {
	margin-top: 1.75rem;
}

.video-info {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem;
	background: var(--panel-2);
	border-radius: var(--radius);
	margin-bottom: 0.75rem;
}

.video-info img {
	width: 128px;
	height: auto;
	flex: 0 0 128px;
	border-radius: var(--radius-sm);
}

.video-title {
	font-size: 1.2rem;
	margin-bottom: 0.2rem;
	overflow-wrap: anywhere;
}

.video-meta {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.link-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

.link-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.1rem;
	background: var(--panel-2);
	border-radius: var(--radius-sm);
}

.quality-badge {
	display: inline-block;
	font-weight: 800;
	color: var(--text);
}

.quality-size {
	margin-left: 0.5rem;
	color: var(--muted);
	font-size: 0.92rem;
}

.download-btn-link {
	display: inline-block;
	background: var(--accent);
	color: var(--accent-ink);
	padding: 0.7rem 1.2rem;
	font-weight: 800;
	border-radius: var(--radius-sm);
	text-decoration: none;
	white-space: nowrap;
}

.note {
	margin-top: 1rem;
	font-size: 0.92rem;
	color: var(--muted);
}

.prose h2 {
	margin-top: 2.25rem;
}

.prose p,
.prose li {
	color: var(--muted);
}

.prose a {
	color: var(--accent);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* ==========================================================================
   Content pages (about, contact, privacy, terms, DMCA, blog index)
   ========================================================================== */

.page-hero {
	padding: 4.5rem 0 2rem;
}

.page-hero h1 {
	margin-bottom: 0.5rem;
}

.content-wrapper {
	max-width: 780px;
	padding: 0;
}

.page-title {
	font-size: clamp(2.1rem, 4.8vw, 3.2rem);
	margin: 0 0 1.75rem;
}

.page-content {
	font-size: 1.05rem;
	color: var(--muted);
}

.page-content h2 {
	margin-top: 2.75rem;
	font-size: 1.75rem;
	color: var(--text);
}

.page-content h3 {
	margin-top: 1.75rem;
	color: var(--text);
}

.page-content strong {
	color: var(--text);
}

.page-content a {
	color: var(--accent);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.page-content ul,
.page-content ol {
	padding-left: 1.25rem;
}

.page-content li {
	margin-bottom: 0.5rem;
}

.contact-info {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 2rem 0 0;
}

.contact-card {
	padding: 1.5rem;
	background: var(--panel-2);
	border-radius: var(--radius);
}

.contact-card h3 {
	font-size: 1.15rem;
	margin-bottom: 0.35rem;
	color: var(--text);
}

.contact-card p {
	color: var(--muted);
	margin-bottom: 0.5rem;
}

.contact-link {
	font-weight: 800;
	color: var(--accent);
	word-break: break-word;
}

.contact-form-section {
	margin-top: 3rem !important;
	padding: 2rem;
	background: var(--panel);
	border-radius: 20px;
}

.form-group {
	margin-bottom: 1.25rem;
}

.form-group label {
	display: block;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
	width: 100%;
	font: inherit;
	color: var(--text);
	background: var(--bg);
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 0.8rem 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--accent);
}

.form-group textarea {
	resize: vertical;
}

.contact-form .btn {
	margin-top: 0.5rem;
}

.blog-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.85rem;
}

.blog-list li {
	padding: 1.5rem;
	background: var(--panel-2);
	border-radius: var(--radius);
}

.blog-list h2 {
	font-size: 1.5rem;
	margin-bottom: 0.4rem;
}

.blog-list a {
	text-decoration: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	margin-top: 2rem;
	background: var(--panel);
	border-top: 1px solid var(--line);
	padding: 3.5rem 0 1.75rem;
	color: var(--muted);
}

.site-footer a {
	color: var(--text);
	text-decoration: none;
}

.site-footer a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
	gap: 2.25rem 2rem;
}

.footer-brand-row {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 0.9rem;
}

.footer-name {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--text);
	margin: 0;
	letter-spacing: -0.02em;
}

.footer-intro p {
	font-size: 0.97rem;
	max-width: 30rem;
	margin: 0 0 1.25rem;
}

.footer-intro .button {
	padding: 0.8rem 1.2rem;
	font-size: 0.95rem;
}

.footer-heading {
	font-family: var(--font);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1rem;
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

.footer-col li {
	font-size: 0.97rem;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	margin-top: 3rem;
	padding-top: 1.4rem;
	border-top: 1px solid var(--line);
	font-size: 0.9rem;
}

.footer-bottom p {
	margin: 0;
}

.footer-share a {
	font-weight: 700;
	color: var(--accent);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1000px) {
	.platform-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.points,
	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-intro {
		grid-column: 1 / -1;
	}
}

@media (max-width: 860px) {
	.menu-toggle {
		display: inline-flex;
	}

	.site-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		z-index: 50;
		background: var(--panel);
		border-bottom: 1px solid var(--line);
		padding: 0.75rem 1.25rem 1.25rem;
	}

	.site-nav.is-open {
		display: block;
	}

	.site-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0.25rem;
	}

	.site-nav a {
		display: block;
		padding: 0.85rem 0.9rem;
		font-size: 1.02rem;
		color: var(--text);
		background: var(--panel-2);
	}

	.site-nav .nav-cta {
		margin: 0.5rem 0 0;
		text-align: center;
	}
}

@media (max-width: 720px) {
	body {
		font-size: 1rem;
	}

	.hero {
		padding: 3.25rem 0 2.75rem;
	}

	.facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.platform-list,
	.points,
	.steps,
	.contact-info {
		grid-template-columns: minmax(0, 1fr);
	}

	.section {
		padding: 3.25rem 0;
	}

	.closing-cta .wrap > .reading {
		padding: 2.25rem 1.5rem;
	}

	.input-row {
		flex-direction: column;
		padding: 0.4rem;
	}

	.input-row .button {
		width: 100%;
	}

	.link-item {
		flex-wrap: wrap;
	}

	.video-info {
		align-items: flex-start;
	}

	.video-info img {
		width: 96px;
		flex-basis: 96px;
	}

	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.contact-form-section {
		padding: 1.4rem;
	}
}

@media (max-width: 420px) {
	.brand {
		font-size: 1.05rem;
	}

	.brand-mark {
		width: 32px;
		height: 32px;
	}

	.facts {
		grid-template-columns: minmax(0, 1fr);
	}

	.platform-row {
		padding: 1.25rem;
	}
}

/* Homepage hero: copy on the left, the tool-style download bar on the right on desktop; stacked on mobile */
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:2.5rem;align-items:start}
.hero-copy,.hero-quick{min-width:0}
.quick-title{font-size:1.5rem;margin:0 0 1rem}
.quick-form{margin:0}
.quick-error{margin:.6rem 0 0;color:var(--error);font-size:.92rem;font-weight:600}
.hero-quick .tool-facts{margin-top:1.1rem}
@media (min-width:960px){
  .hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:3.5rem;align-items:center}
}

/* Long-form platform guides below each tool FAQ */
.tool-guide .reading{max-width:760px}
.tool-guide h2{margin-top:2.5rem}
.tool-guide li{margin-bottom:.45rem}

/* Quick guide: a short summary box above the full guide */
.tool-guide--quick .reading{background:#fff;border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:var(--radius-sm);padding:clamp(18px,2.4vw,28px)}
.tool-guide--quick p:first-child{font-size:1.08rem;color:var(--text)}
