/* IGClip — green accent UI */
:root {
	color-scheme: light;
	--bg: #f0fff2;
	--ink: #111111;
	--mute: #3f6b46;
	--line: #b8f5c0;
	--lime: #51fc64;
	--lime-deep: #2ad843;
	--acid: #111111;
	--sky: #3aa0ff;
	--mint: #1ec85a;
	--font: "DM Sans", "Segoe UI", sans-serif;
	--display: "Archivo Black", "Arial Black", sans-serif;
	--max: 1080px;
	--ease: cubic-bezier(0.2, 0.9, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.ym {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.ym-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		repeating-linear-gradient(
			-12deg,
			transparent,
			transparent 28px,
			rgba(17, 17, 17, 0.03) 28px,
			rgba(17, 17, 17, 0.03) 29px
		),
		radial-gradient(circle at 85% 15%, rgba(219, 255, 243, 0.65), transparent 42%),
		linear-gradient(180deg, #f5fffc 0%, var(--bg) 55%, #d7fbf3 100%);
}

.ym-nav, main, .ym-foot { position: relative; z-index: 1; }

a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #000; }

.ym-wrap {
	width: min(var(--max), calc(100% - 2rem));
	margin: 0 auto;
}

/* Nav — hard edge */
.ym-nav {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--ink);
	border-bottom: 3px solid var(--lime);
}

.ym-nav-inner {
	width: min(var(--max), calc(100% - 2rem));
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 0;
}

.ym-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #fff !important;
	text-decoration: none !important;
	font-family: var(--display);
	font-weight: 400;
	font-size: 1.15rem;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.ym-logo-mark {
	width: 28px;
	height: 28px;
	background: var(--lime);
	clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
	position: relative;
}

.ym-logo-mark::after {
	content: '';
	position: absolute;
	left: 55%;
	top: 50%;
	transform: translate(-40%, -50%);
	border: 5px solid transparent;
	border-left: 8px solid var(--ink);
	border-right: 0;
}

.ym-links {
	display: flex;
	align-items: center;
	gap: 0.15rem;
}

.ym-links a {
	padding: 0.4rem 0.65rem;
	color: rgba(255,255,255,0.72) !important;
	font-size: 0.84rem;
	font-weight: 600;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ym-links a:hover { color: #fff !important; }
.ym-links a.is-on { color: var(--lime) !important; }

.ym-links a.ym-cta {
	margin-left: 0.45rem !important;
	background: var(--lime) !important;
	color: var(--ink) !important;
	padding: 0.45rem 0.9rem !important;
	font-weight: 800 !important;
	border: 2px solid var(--lime) !important;
}

.ym-links a.ym-cta:hover {
	background: #fff !important;
	border-color: #fff !important;
	color: var(--ink) !important;
}

.ym-burger {
	display: none;
	width: 42px;
	height: 42px;
	border: 2px solid rgba(255,255,255,0.35);
	border-radius: 0;
	background: transparent;
	cursor: pointer;
	padding: 0;
}

.ym-burger span,
.ym-burger span::before,
.ym-burger span::after {
	display: block;
	width: 16px;
	height: 2px;
	margin: 0 auto;
	background: #fff;
	position: relative;
}
.ym-burger span::before,
.ym-burger span::after {
	content: '';
	position: absolute;
	left: 0;
}
.ym-burger span::before { top: -5px; }
.ym-burger span::after { top: 5px; }

@media (max-width: 860px) {
	.ym-burger { display: block; }
	.ym-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		padding: 0.75rem 1rem 1rem;
		background: var(--ink);
		border-bottom: 3px solid var(--lime);
	}
	.ym-nav.is-open .ym-links { display: flex; }
	.ym-links a { width: 100%; text-align: center; }
	.ym-cta { margin-left: 0 !important; margin-top: 0.35rem; }
}

/* ========== HERO: full-bleed lime poster ========== */
.ym-hero { padding: 0; }

.ym-stage {
	position: relative;
	background: var(--lime);
	overflow: hidden;
	border-bottom: 4px solid var(--ink);
}

.ym-stage::before {
	content: 'DOWNLOAD';
	position: absolute;
	left: -2%;
	bottom: 18%;
	font-family: var(--display);
	font-size: clamp(5rem, 18vw, 14rem);
	line-height: 0.85;
	letter-spacing: -0.05em;
	color: rgba(17, 17, 17, 0.07);
	white-space: nowrap;
	pointer-events: none;
	transform: rotate(-8deg);
	animation: ym-drift 14s linear infinite alternate;
}

@keyframes ym-drift {
	from { transform: rotate(-8deg) translateX(0); }
	to { transform: rotate(-8deg) translateX(-3%); }
}

.ym-hero-grid {
	position: relative;
	z-index: 1;
	width: min(var(--max), calc(100% - 2rem));
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 1rem 1.5rem;
	align-items: center;
	padding: 0.85rem 0 0.5rem;
}

@media (max-width: 900px) {
	.ym-hero-grid {
		grid-template-columns: 1fr;
		padding: 0.75rem 0 0;
	}
}

.ym-hero-copy {
	padding-bottom: 0.75rem;
	animation: ym-rise 0.65s var(--ease) both;
}

.ym-brand-mark {
	margin: 0 0 0.35rem;
	font-family: var(--display);
	font-size: clamp(3.8rem, 12vw, 7.5rem);
	font-weight: 400;
	letter-spacing: -0.06em;
	line-height: 0.88;
	text-transform: uppercase;
	color: var(--ink);
}

.ym-hero h1 {
	margin: 0 0 0.65rem;
	font-family: var(--display);
	font-size: clamp(1.35rem, 3.5vw, 2.1rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--ink);
	max-width: 14ch;
}

.ym-hero h1 em {
	font-style: normal;
	background: var(--ink);
	color: var(--lime);
	padding: 0 0.2em;
	display: inline-block;
}

.ym-lead {
	margin: 0;
	max-width: 28rem;
	color: rgba(17, 17, 17, 0.72);
	font-size: 1.05rem;
	font-weight: 500;
}

/* Phone visual — mini IGClip app */
.ym-visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.25rem 0 0.75rem;
	animation: ym-rise 0.75s 0.1s var(--ease) both;
}

.ym-phone {
	width: min(210px, 54vw);
	aspect-ratio: 9 / 17.2;
	background: var(--ink);
	border-radius: 30px;
	padding: 9px;
	transform: rotate(7deg);
	box-shadow: 14px 20px 0 rgba(17, 17, 17, 0.12);
	animation: ym-tilt 5s var(--ease) infinite alternate;
	position: relative;
}

@keyframes ym-tilt {
	from { transform: rotate(7deg) translateY(0); }
	to { transform: rotate(4deg) translateY(-4px); }
}

.ym-phone-notch {
	position: absolute;
	top: 16px;
	left: 50%;
	transform: translateX(-50%);
	width: 34%;
	height: 9px;
	background: #0a0a0a;
	border-radius: 8px;
	z-index: 3;
}

.ym-phone-screen {
	height: 100%;
	border-radius: 22px;
	background: #141414;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
}

.ym-phone-status {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.85rem 0.7rem 0.2rem;
	font-size: 0.58rem;
	font-weight: 700;
	color: rgba(255,255,255,0.7);
	letter-spacing: 0.04em;
}

.ym-phone-dots {
	width: 28px;
	height: 6px;
	border-radius: 4px;
	background: linear-gradient(90deg, #fff 0 28%, transparent 28% 36%, #fff 36% 64%, transparent 64% 72%, #fff 72% 100%);
	opacity: 0.55;
}

.ym-phone-app {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 0.2rem 0.65rem 0.65rem;
	gap: 0.35rem;
	min-height: 0;
}

.ym-phone-logo {
	margin: 0;
	font-family: var(--display);
	font-size: 0.78rem;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: var(--lime);
	line-height: 1;
}

.ym-phone-thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: 8px;
	overflow: hidden;
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle at 28% 35%, rgba(214, 255, 60, 0.55), transparent 42%),
		radial-gradient(circle at 78% 70%, rgba(58, 160, 255, 0.4), transparent 45%),
		linear-gradient(145deg, #2a2a2a, #0d0d0d);
	flex-shrink: 0;
}

.ym-phone-thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
	animation: ym-sheen 3.5s ease-in-out infinite;
}

@keyframes ym-sheen {
	0%, 100% { transform: translateX(-40%); }
	50% { transform: translateX(40%); }
}

.ym-phone-thumb em {
	position: absolute;
	right: 6px;
	bottom: 6px;
	z-index: 1;
	font-style: normal;
	font-size: 0.5rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--ink);
	color: var(--lime);
	padding: 0.15rem 0.3rem;
	border: 1px solid var(--lime);
}

.ym-play {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--lime);
	position: relative;
	z-index: 1;
}

.ym-play::after {
	content: '';
	position: absolute;
	left: 55%;
	top: 50%;
	transform: translate(-35%, -50%);
	border: 6px solid transparent;
	border-left: 10px solid var(--ink);
	border-right: 0;
}

.ym-phone-title {
	margin: 0;
	font-size: 0.68rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ym-phone-chips {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.25rem;
}

.ym-phone-chips span {
	text-align: center;
	padding: 0.28rem 0;
	font-size: 0.52rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.55);
	border: 1px solid rgba(255,255,255,0.2);
}

.ym-phone-chips span.is-on {
	background: var(--lime);
	border-color: var(--lime);
	color: var(--ink);
}

.ym-phone-url {
	padding: 0.4rem 0.45rem;
	font-size: 0.52rem;
	color: rgba(255,255,255,0.4);
	background: #1c1c1c;
	border: 1px solid rgba(255,255,255,0.12);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ym-phone-cta {
	margin-top: auto;
	padding: 0.45rem 0.4rem;
	text-align: center;
	font-family: var(--display);
	font-size: 0.62rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	background: var(--lime);
	color: var(--ink);
}

.ym-phone-bar {
	height: 3px;
	background: rgba(255,255,255,0.12);
}
.ym-phone-bar i {
	display: block;
	height: 100%;
	width: 62%;
	background: var(--lime);
	animation: ym-progress 4s ease-in-out infinite;
}

@keyframes ym-progress {
	0%, 100% { width: 28%; }
	50% { width: 78%; }
}

@keyframes ym-rise {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: none; }
}

/* Convert dock — interaction strip under hero visual */
.ym-dock {
	position: relative;
	z-index: 2;
	background: var(--ink);
	color: #fff;
	border-top: 3px solid var(--ink);
	margin-top: -1px;
}

.ym-dock-inner {
	width: min(var(--max), calc(100% - 2rem));
	margin: 0 auto;
	padding: 1.25rem 0 1.4rem;
}

.ym-tool {
	color: #fff;
}

.ym-tool-top { margin-bottom: 0.85rem; }
.ym-tool-title {
	margin: 0;
	font-family: var(--display);
	font-size: 1.15rem;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--lime);
}
.ym-tool-sub {
	margin: 0.2rem 0 0;
	color: rgba(255,255,255,0.55);
	font-size: 0.84rem;
}

.ym-tabs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.35rem;
	margin-bottom: 0.95rem;
}

.ym-tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.05rem;
	padding: 0.7rem 0.35rem;
	border: 2px solid rgba(255,255,255,0.18);
	border-radius: 0;
	background: transparent;
	color: rgba(255,255,255,0.65);
	font-family: inherit;
	cursor: pointer;
	transition: 0.15s;
}

.ym-tab strong { font-size: 0.92rem; font-weight: 800; }
.ym-tab span { font-size: 0.65rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

.ym-tab:hover { border-color: rgba(255,255,255,0.45); color: #fff; }
.ym-tab.is-on {
	background: var(--lime);
	border-color: var(--lime);
	color: var(--ink);
}

.ym-label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.5);
}

.ym-field {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.4rem;
}

.ym-input {
	width: 100%;
	padding: 0.95rem 1rem;
	border: 2px solid rgba(255,255,255,0.2);
	border-radius: 0;
	background: #1c1c1c;
	color: #fff;
	font-family: inherit;
	font-size: 0.95rem;
	outline: none;
}

.ym-input::placeholder { color: rgba(255,255,255,0.35); }
.ym-input:focus {
	border-color: var(--lime);
	background: #222;
}

.ym-input.yt-input-error {
	border-color: #ff5c5c;
}

.ym-paste {
	padding: 0 1.1rem;
	border: 2px solid var(--lime);
	border-radius: 0;
	background: transparent;
	color: var(--lime);
	font-family: inherit;
	font-size: 0.84rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
}

.ym-paste:hover {
	background: var(--lime);
	color: var(--ink);
}

.ym-hint {
	margin: 0.4rem 0 0;
	color: #ff8f8f;
	font-size: 0.84rem;
	font-weight: 600;
}

.ym-demo {
	margin: 0.5rem 0 1rem;
	font-size: 0.78rem;
	color: rgba(255,255,255,0.45);
	word-break: break-all;
}
.ym-demo a { color: var(--lime) !important; }

.ym-captcha {
	display: flex;
	justify-content: center;
	margin: 0.85rem 0 0.35rem;
	min-height: 65px;
}
.ym-captcha .cf-turnstile {
	transform-origin: center center;
}

.ym-submit {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1.05rem 1.15rem;
	border: 3px solid var(--lime);
	border-radius: 0;
	background: var(--lime);
	color: var(--ink);
	font-family: var(--display);
	font-size: 1.05rem;
	font-weight: 400;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.15s var(--ease), background 0.15s;
}

.ym-submit:hover:not(:disabled) {
	transform: translate(-3px, -3px);
	box-shadow: 3px 3px 0 #fff;
}

.ym-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.yt-submit-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(17,17,17,0.25);
	border-top-color: var(--ink);
	border-radius: 50%;
	display: none;
	animation: ym-spin 0.65s linear infinite;
}

.ym-submit.is-loading .yt-submit-spinner,
.sd-go.is-loading .yt-submit-spinner { display: block; }

@keyframes ym-spin { to { transform: rotate(360deg); } }
@keyframes yt-shake {
	0%, 100% { transform: translateX(0); }
	20%, 60% { transform: translateX(-5px); }
	40%, 80% { transform: translateX(5px); }
}
.yt-shake { animation: yt-shake 0.4s ease; }

.ym-loader {
	display: none;
	padding: 1.1rem 0 0.2rem;
	text-align: center;
}
.ym-loader.is-visible,
.sd-loader.is-visible { display: block; }

.ym-pulse {
	width: 36px;
	height: 36px;
	margin: 0 auto 0.7rem;
	border: 3px solid rgba(214,255,60,0.25);
	border-top-color: var(--lime);
	border-radius: 50%;
	animation: ym-spin 0.8s linear infinite;
}

.ym-loader p {
	margin: 0;
	color: rgba(255,255,255,0.6);
	font-size: 0.88rem;
	font-weight: 500;
}

.sd-loader-steps,
.yt-loader-steps {
	display: flex;
	justify-content: center;
	gap: 1.1rem;
	margin-top: 0.6rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.3);
}
.sd-loader-steps span.is-active,
.yt-loader-steps span.is-active { color: var(--lime); }

.ym-out:empty { display: none; }
.ym-out:not(:empty) {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255,255,255,0.12);
}

.yt-error {
	margin: 0;
	padding: 0.85rem 1rem;
	background: #3a1212;
	border: 2px solid #ff5c5c;
	color: #ffb4b4;
	font-size: 0.9rem;
	font-weight: 600;
}

.yt-parse-result { animation: ym-rise 0.4s var(--ease); }

.yt-result-title {
	margin: 0 0 0.85rem;
	padding: 0.75rem 1rem;
	background: #1c1c1c;
	border-left: 4px solid var(--lime);
	font-size: 0.94rem;
	font-weight: 650;
	color: #fff;
}

.yt-result-label {
	margin: 0 0 0.45rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.45);
	text-align: center;
}

.yt-embed-wrap {
	position: relative;
	width: min(100%, 640px);
	aspect-ratio: 16 / 9;
	height: auto;
	margin: 0 auto 1rem;
	overflow: hidden;
	border: 2px solid rgba(255,255,255,0.15);
	background: #000;
}

/* Vertical Shorts — centered phone frame */
.yt-embed-wrap.is-shorts {
	aspect-ratio: 9 / 16;
	width: min(100%, 320px);
	max-height: min(64vh, 560px);
}

.yt-embed-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.yt-dl-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.65rem;
}

.yt-dl-btn,
.dl-download-link.yt-dl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	padding: 0.8rem 1.25rem;
	border-radius: 0;
	background: var(--yt-btn, var(--lime));
	color: var(--ink) !important;
	font-weight: 800;
	font-size: 0.86rem;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border: 2px solid transparent;
	transition: transform 0.15s;
}

.yt-dl-btn:hover {
	transform: translate(-2px, -2px);
	box-shadow: 2px 2px 0 #fff;
	text-decoration: none !important;
}

.yt-dl-btn.is-downloading,
.yt-dl-btn.is-downloading,
.dl-download-link.yt-dl-btn.is-downloading,
.dl-download-link.yt-dl-btn.is-downloading {
	pointer-events: none;
	gap: 0.55rem;
	transform: none;
	box-shadow: none;
	cursor: wait;
}

.yt-dl-btn.is-downloading::before,
.yt-dl-btn.is-downloading::before {
	content: '';
	width: 1.05em;
	height: 1.05em;
	border: 2.5px solid rgba(11, 11, 11, 0.22);
	border-top-color: var(--ink);
	border-radius: 50%;
	animation: yt-dl-spin 0.7s linear infinite;
	flex-shrink: 0;
}

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

/* Sections below */
.ym-section { padding: 3.25rem 0; }
.ym-section-soft {
	background: #fff;
	border-block: 3px solid var(--ink);
}

.ym-eyebrow {
	margin: 0 0 0.3rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink);
	text-align: center;
}

.ym-h2 {
	margin: 0 0 1.5rem;
	font-family: var(--display);
	font-size: clamp(1.6rem, 3.5vw, 2.35rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	text-align: center;
	text-transform: uppercase;
}

.ym-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border: 3px solid var(--ink);
	background: #fff;
}

@media (max-width: 720px) {
	.ym-steps { grid-template-columns: 1fr; }
}

.ym-steps li {
	padding: 1.4rem 1.15rem;
	text-align: left;
	border-right: 3px solid var(--ink);
}
.ym-steps li:last-child { border-right: none; }
@media (max-width: 720px) {
	.ym-steps li {
		border-right: none;
		border-bottom: 3px solid var(--ink);
	}
	.ym-steps li:last-child { border-bottom: none; }
}

.ym-step-n {
	display: inline-block;
	margin-bottom: 0.65rem;
	font-family: var(--display);
	font-size: 2rem;
	line-height: 1;
	color: var(--ink);
	background: var(--lime);
	padding: 0.1em 0.25em;
}

.ym-steps strong {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 1.1rem;
	text-transform: uppercase;
	font-family: var(--display);
	letter-spacing: -0.02em;
}

.ym-steps p {
	margin: 0;
	color: var(--mute);
	font-size: 0.92rem;
}

.ym-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border: 3px solid var(--ink);
}

@media (max-width: 720px) {
	.ym-features { grid-template-columns: 1fr; }
}

.ym-features article {
	padding: 1.4rem 1.2rem;
	background: #fff;
	border-right: 3px solid var(--ink);
}
.ym-features article:last-child { border-right: none; }
@media (max-width: 720px) {
	.ym-features article {
		border-right: none;
		border-bottom: 3px solid var(--ink);
	}
	.ym-features article:last-child { border-bottom: none; }
}

.ym-features strong {
	display: block;
	margin-bottom: 0.3rem;
	font-family: var(--display);
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: -0.02em;
}

.ym-features p {
	margin: 0;
	color: var(--mute);
	font-size: 0.9rem;
}

.ym-links-list {
	display: flex;
	flex-direction: column;
	max-width: 680px;
	margin: 0 auto;
	border: 3px solid var(--ink);
	background: #fff;
}

.ym-links-list a {
	display: grid;
	grid-template-columns: 3rem 1fr;
	grid-template-rows: auto auto;
	column-gap: 0.85rem;
	padding: 1.05rem 1.2rem;
	border-bottom: 3px solid var(--ink);
	color: inherit !important;
	text-decoration: none !important;
	transition: background 0.12s;
}

.ym-links-list a:last-child { border-bottom: none; }
.ym-links-list a:hover { background: var(--lime); }

.ym-links-list span {
	grid-row: span 2;
	align-self: center;
	font-family: var(--display);
	font-size: 1.15rem;
}

.ym-links-list b {
	font-size: 1.05rem;
	text-transform: uppercase;
	font-family: var(--display);
	letter-spacing: -0.02em;
}
.ym-links-list i {
	font-style: normal;
	color: var(--mute);
	font-size: 0.84rem;
}

/* FAQ */
.ym-faq-wrap { max-width: 720px; margin-left: auto; margin-right: auto; }
.ym-faq {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 3px solid var(--ink);
	background: #fff;
}

.ym-faq-item { border-bottom: 3px solid var(--ink); }
.ym-faq-item:last-child { border-bottom: none; }

.ym-faq-btn {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.15rem;
	border: none;
	background: transparent;
	font-family: inherit;
	font-size: 0.98rem;
	font-weight: 700;
	color: var(--ink);
	text-align: left;
	cursor: pointer;
}

.ym-faq-btn span {
	width: 24px;
	height: 24px;
	background: var(--lime);
	border: 2px solid var(--ink);
	position: relative;
	flex-shrink: 0;
}
.ym-faq-btn span::before,
.ym-faq-btn span::after {
	content: '';
	position: absolute;
	background: var(--ink);
}
.ym-faq-btn span::before {
	width: 12px;
	height: 2px;
	left: 4px;
	top: 9px;
}
.ym-faq-btn span::after {
	width: 2px;
	height: 12px;
	left: 9px;
	top: 4px;
	transition: transform 0.2s;
}
.ym-faq-item.is-open .ym-faq-btn span::after { transform: scaleY(0); }
.ym-faq-item.is-open .ym-faq-btn {
	background: var(--lime);
	color: #111 !important;
}

.ym-faq-a {
	display: none;
	padding: 0.85rem 1.15rem 1.15rem;
	color: #111 !important;
	font-size: 0.95rem;
	line-height: 1.55;
	font-weight: 500;
	background: #fff !important;
	border-top: 2px solid var(--ink);
}
.ym-faq-item.is-open {
	background: #fff;
}
.ym-faq-item.is-open .ym-faq-a {
	display: block;
}

/* Inner pages */
.ym-page {
	padding: 2.25rem 0 1.25rem;
	text-align: left;
	background: var(--lime);
	border-bottom: 4px solid var(--ink);
}
.ym-page .ym-stamp {
	display: inline-block;
	margin-bottom: 0.55rem;
	padding: 0.25rem 0.55rem;
	background: var(--ink);
	color: var(--lime);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.ym-page h1 {
	margin: 0 0 0.55rem;
	font-family: var(--display);
	font-size: clamp(2.2rem, 6vw, 3.4rem);
	font-weight: 400;
	letter-spacing: -0.045em;
	text-transform: uppercase;
	line-height: 1.18;
}
.ym-page h1 em {
	font-style: normal;
	background: var(--ink);
	color: var(--lime);
	padding: 0.08em 0.18em;
	display: inline-block;
	margin-top: 0.18em;
	line-height: 1.15;
}
.ym-page p {
	margin: 0;
	max-width: 34rem;
	color: rgba(17,17,17,0.7);
	font-weight: 500;
}

.ym-tool-wrap {
	width: min(720px, calc(100% - 2rem));
	margin: 0 auto 2rem;
	padding-top: 1.5rem;
}

.ym-tool-wrap .ym-tool {
	background: var(--ink);
	padding: 1.25rem 1.15rem 1.35rem;
	border: 3px solid var(--ink);
}

/* Guides */
.ym-prose, .yt-prose, .sd-prose { max-width: 720px; margin: 0 auto; }
.ym-prose h2, .yt-prose h2, .sd-prose h2 {
	font-family: var(--display);
	font-size: 1.35rem;
	font-weight: 400;
	text-transform: uppercase;
	margin: 2rem 0 0.7rem;
	padding-top: 1rem;
	border-top: 3px solid var(--ink);
	scroll-margin-top: 5rem;
}
.ym-prose h2:first-child, .yt-prose h2:first-child {
	border-top: none;
	padding-top: 0;
	margin-top: 0;
}
.ym-prose p, .ym-prose li, .yt-prose p, .yt-prose li {
	color: var(--mute);
	font-size: 0.95rem;
	line-height: 1.7;
}

.ym-guide-nav, .yt-guide-nav, .sd-guide-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 1rem;
}
.ym-guide-nav a, .yt-guide-nav a, .sd-guide-nav a {
	padding: 0.4rem 0.7rem;
	background: var(--ink);
	color: var(--lime) !important;
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none !important;
}
.ym-guide-nav a:hover { background: #fff; color: var(--ink) !important; }

.yt-gap-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.86rem;
	margin: 1rem 0;
	border: 3px solid var(--ink);
}
.yt-gap-table th, .yt-gap-table td {
	padding: 0.65rem 0.85rem;
	border-bottom: 2px solid var(--ink);
	text-align: left;
}
.yt-gap-table th { background: var(--lime); font-weight: 800; text-transform: uppercase; font-size: 0.75rem; }
.yt-gap-table td { color: var(--mute); background: #fff; }
.yt-gap-table .yt-gap-yes { color: #0a7a55; font-weight: 800; }

.ym-code, .sd-code, .yt-inline-code {
	font-size: 0.85em;
	padding: 0.12rem 0.35rem;
	background: var(--lime);
	border: 2px solid var(--ink);
	color: var(--ink);
	font-weight: 650;
}

/* Blog — magazine strip */
.ym-blog-hero {
	background: var(--lime);
	border-bottom: 4px solid var(--ink);
	padding: 1.5rem 0 1.75rem;
	position: relative;
	overflow: hidden;
}
.ym-blog-hero::before {
	content: none;
}
.ym-blog-hero--slim { padding: 1.25rem 0 1.4rem; }
.ym-blog-hero--post { background: var(--ink); color: #fff; }
.ym-blog-hero--post::before { color: rgba(214, 255, 60, 0.08); content: 'READ'; }
.ym-blog-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.ym-blog-kicker {
	margin: 0 0 0.45rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.ym-blog-hero--post .ym-blog-kicker { color: var(--lime); }
.ym-blog-brand {
	margin: 0 0 0.55rem;
	font-family: var(--display);
	font-size: clamp(2.4rem, 7vw, 4.2rem);
	font-weight: 400;
	letter-spacing: -0.05em;
	line-height: 0.92;
	text-transform: uppercase;
}
.ym-blog-brand span {
	display: inline-block;
	background: var(--ink);
	color: var(--lime);
	padding: 0 0.18em;
}
.ym-blog-hero--post .ym-blog-brand span {
	background: var(--lime);
	color: var(--ink);
}
.ym-blog-post-title {
	margin: 0 0 0.65rem;
	font-family: var(--display);
	font-size: clamp(1.8rem, 5vw, 3rem);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1.05;
	text-transform: uppercase;
	color: #fff;
	max-width: 18ch;
}
.ym-blog-lead {
	margin: 0;
	min-height: 2.6em;
	max-width: 36rem;
	font-size: 1.02rem;
	font-weight: 500;
	color: rgba(17, 17, 17, 0.72);
}
.ym-blog-hero--post .ym-blog-lead { color: rgba(255,255,255,0.7); }
.ym-blog-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	align-items: center;
	margin-top: 1rem;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.ym-blog-meta-row a {
	background: var(--ink);
	color: var(--lime) !important;
	padding: 0.4rem 0.75rem;
	text-decoration: none !important;
}
.ym-blog-lang-note {
	margin: 0.85rem 0 0;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: rgba(17, 17, 17, 0.55);
}
.ym-blog-crumb {
	display: inline-block;
	margin-bottom: 0.65rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--lime) !important;
	text-decoration: none !important;
	border-bottom: 2px solid var(--lime);
}
.ym-blog-section { padding-top: 2rem; }

.ym-blog-empty {
	text-align: center;
	padding: 2.5rem 1.25rem;
	border: 3px solid var(--ink);
	background: #fff;
}
.ym-blog-empty strong {
	display: block;
	font-family: var(--display);
	font-size: 1.4rem;
	text-transform: uppercase;
	margin-bottom: 0.35rem;
}
.ym-blog-empty p { margin: 0; color: var(--mute); }

.ym-blog-feature {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas:
		"tag date"
		"title title"
		"excerpt excerpt"
		"cta cta";
	gap: 0.35rem 1rem;
	padding: 1.5rem 1.35rem;
	margin-bottom: 1.25rem;
	background: var(--ink);
	color: #fff !important;
	text-decoration: none !important;
	border: 3px solid var(--ink);
	transition: transform 0.15s var(--ease);
}
.ym-blog-feature:hover {
	transform: translate(-3px, -3px);
	box-shadow: 4px 4px 0 var(--lime);
	color: #fff !important;
}
.ym-blog-feature-tag {
	grid-area: tag;
	align-self: center;
	background: var(--lime);
	color: var(--ink);
	padding: 0.2rem 0.45rem;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	width: max-content;
}
.ym-blog-feature-date {
	grid-area: date;
	justify-self: end;
	align-self: center;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.5);
}
.ym-blog-feature-title {
	grid-area: title;
	font-family: var(--display);
	font-size: clamp(1.4rem, 3.5vw, 2.1rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	line-height: 1.05;
	margin: 0.35rem 0 0.15rem;
}
.ym-blog-feature-excerpt {
	grid-area: excerpt;
	color: rgba(255,255,255,0.65);
	font-size: 0.95rem;
	max-width: 40rem;
}
.ym-blog-feature-cta {
	grid-area: cta;
	margin-top: 0.55rem;
	width: max-content;
	padding: 0.45rem 0.85rem;
	background: var(--lime);
	color: var(--ink);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ym-blog-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 0.85rem;
	background: transparent;
	border: none;
}
@media (max-width: 560px) {
	.ym-blog-grid {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 0.75rem;
		padding-bottom: 0.35rem;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}
}
.ym-blog-grid li {
	background: #fff;
	border: 3px solid var(--ink);
	min-width: 0;
}
@media (max-width: 560px) {
	.ym-blog-grid li {
		flex: 0 0 min(78vw, 280px);
	}
}

.ym-blog-tile {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	height: 100%;
	padding: 1.15rem 1.05rem 1.2rem;
	color: inherit !important;
	text-decoration: none !important;
	min-height: 180px;
	transition: background 0.12s;
}
.ym-blog-tile:hover { background: var(--lime); }
.ym-blog-tile-n {
	font-family: var(--display);
	font-size: 1.35rem;
	line-height: 1;
	letter-spacing: -0.03em;
}
.ym-blog-tile-date {
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mute);
}
.ym-blog-tile strong {
	font-family: var(--display);
	font-size: 1.05rem;
	font-weight: 400;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	line-height: 1.15;
}
.ym-blog-tile-excerpt {
	color: var(--mute);
	font-size: 0.86rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ym-blog-tile-more {
	margin-top: auto;
	padding-top: 0.65rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-top: 2px solid var(--ink);
	width: max-content;
}

.ym-blog-pager {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}
.ym-blog-pager-btn {
	padding: 0.5rem 0.9rem;
	border: 3px solid var(--ink);
	background: var(--lime);
	color: var(--ink) !important;
	font-weight: 800;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none !important;
}
.ym-blog-pager-btn.is-disabled {
	background: #ddd;
	color: var(--mute) !important;
	border-color: var(--line);
}
.ym-blog-pager-status {
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.ym-blog-article-body {
	padding: 2rem 0 1.5rem;
	background: #fff;
	border-bottom: 3px solid var(--ink);
}
.ym-blog-body {
	max-width: 720px;
	font-size: 1.02rem;
	line-height: 1.7;
	color: #2a2a2a;
}
.ym-blog-body > *:first-child { margin-top: 0; }
.ym-blog-body h2,
.ym-blog-body h3 {
	font-family: var(--display);
	text-transform: uppercase;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin: 1.75rem 0 0.65rem;
}
.ym-blog-body p,
.ym-blog-body li { color: var(--mute); }
.ym-blog-body a {
	color: var(--ink);
	font-weight: 700;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.ym-blog-body a:hover { background: var(--lime); }
.ym-blog-body ul,
.ym-blog-body ol { padding-left: 1.2rem; }
.ym-blog-body code {
	font-size: 0.88em;
	padding: 0.1rem 0.35rem;
	background: var(--lime);
	border: 2px solid var(--ink);
	font-weight: 650;
}
.ym-blog-article-foot {
	background: var(--bg);
	padding: 1.25rem 0 2rem;
}
.ym-blog-foot-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}
.ym-blog-action {
	padding: 0.55rem 0.95rem;
	border: 3px solid var(--ink);
	background: #fff;
	color: var(--ink) !important;
	font-weight: 800;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none !important;
}
.ym-blog-action.is-lime { background: var(--lime); }
.ym-blog-action:hover {
	transform: translate(-2px, -2px);
	box-shadow: 2px 2px 0 var(--ink);
}

/* Legacy aliases kept for older markup */
.ym-blog-list { max-width: 760px; }
.ym-blog-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 3px solid var(--ink);
	background: #fff;
}
.ym-blog-cards li { border-bottom: 3px solid var(--ink); }
.ym-blog-cards li:last-child { border-bottom: none; }
.ym-blog-card {
	display: block;
	padding: 1.25rem 1.2rem;
	color: inherit !important;
	text-decoration: none !important;
}
.ym-blog-card:hover { background: var(--lime); }
.ym-blog-date {
	display: block;
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mute);
}
.ym-blog-excerpt {
	display: block;
	color: var(--mute);
	font-size: 0.92rem;
	margin-bottom: 0.5rem;
}
.ym-blog-more {
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-bottom: 2px solid var(--ink);
}
.ym-blog-back {
	margin-top: 2rem !important;
	padding-top: 1rem;
	border-top: 3px solid var(--ink);
	font-weight: 700;
}

/* Legacy */
.yt-container, .sd-wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.yt-section, .sd-block { padding: 3rem 0; }
.yt-section--alt, .sd-block--invert {
	background: #fff;
	border-block: 3px solid var(--ink);
}
.yt-section-title, .sd-block-head h2 {
	text-align: center;
	font-family: var(--display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	text-transform: uppercase;
}
.yt-grid, .sd-spec-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0;
	border: 3px solid var(--ink);
}
.yt-card, .sd-spec {
	padding: 1.2rem;
	background: #fff;
	border-right: 3px solid var(--ink);
}
.yt-card h3, .sd-spec h3 { margin: 0 0 0.35rem; font-family: var(--display); text-transform: uppercase; }
.yt-card p, .sd-spec p { margin: 0; color: var(--mute); font-size: 0.9rem; }
.yt-card-icon, .sd-spec-id {
	display: inline-block;
	margin-bottom: 0.65rem;
	background: var(--lime);
	padding: 0.15em 0.35em;
	font-family: var(--display);
	font-size: 0.85rem;
}

/* Footer */
.ym-foot {
	margin-top: 0;
	padding: 2.5rem 0 0;
	background: var(--ink);
	color: rgba(255,255,255,0.7);
	border-top: 4px solid var(--lime);
}

.ym-foot-grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 1.75rem;
	padding-bottom: 2rem;
}

@media (max-width: 800px) { .ym-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ym-foot-grid { grid-template-columns: 1fr; } }

.ym-foot-brand {
	margin: 0 0 0.45rem;
	font-family: var(--display);
	font-size: 1.4rem;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: var(--lime);
}
.ym-foot-note {
	margin: 0;
	color: rgba(255,255,255,0.45);
	font-size: 0.86rem;
	max-width: 260px;
}
.ym-foot-h {
	margin: 0 0 0.55rem;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lime);
}
.ym-foot ul { list-style: none; margin: 0; padding: 0; }
.ym-foot li { margin-bottom: 0.35rem; }
.ym-foot a {
	color: rgba(255,255,255,0.65) !important;
	font-size: 0.86rem;
	text-decoration: none !important;
}
.ym-foot a:hover { color: var(--lime) !important; }

.ym-foot-copy {
	margin: 0;
	padding: 1rem 1rem 1.5rem;
	border-top: 1px solid rgba(255,255,255,0.12);
	text-align: center;
	font-size: 0.74rem;
	color: rgba(255,255,255,0.35);
}

@media (prefers-reduced-motion: reduce) {
	.ym-hero-copy, .ym-visual, .ym-phone, .ym-phone-thumb::after,
	.ym-phone-bar i, .ym-stage::before { animation: none !important; }
}

/* Language switcher */
.ym-lang {
	position: relative;
	margin-left: 0.25rem;
}
.ym-lang summary {
	list-style: none;
	cursor: pointer;
	padding: 0.4rem 0.65rem;
	border: 1px solid rgba(255,255,255,0.25);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	user-select: none;
}
.ym-lang summary::-webkit-details-marker { display: none; }
.ym-lang summary::after {
	content: '▾';
	margin-left: 0.35rem;
	opacity: 0.7;
	font-size: 0.65rem;
}
.ym-lang[open] summary {
	background: var(--lime);
	color: var(--ink);
	border-color: var(--lime);
}
.ym-lang-menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 50;
	width: min(260px, 70vw);
	max-height: 320px;
	overflow: auto;
	background: #fff;
	border: 3px solid var(--ink);
	display: grid;
	grid-template-columns: 1fr;
}
.ym-lang-menu a {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start !important;
	gap: 0.1rem;
	padding: 0.55rem 0.75rem !important;
	color: var(--ink) !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	border-bottom: 1px solid var(--line);
	width: 100%;
	text-align: left !important;
}
.ym-lang-menu a:last-child { border-bottom: none; }
.ym-lang-menu a small {
	font-size: 0.68rem;
	font-weight: 600;
	color: var(--mute);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.ym-lang-menu a:hover,
.ym-lang-menu a.is-on {
	background: var(--lime) !important;
	color: var(--ink) !important;
}
.ym-links a.ym-cta { margin-left: 0.35rem !important; }

@media (max-width: 860px) {
	.ym-lang { width: 100%; margin: 0.35rem 0 0; }
	.ym-lang summary { width: 100%; text-align: center; }
	.ym-lang-menu {
		position: static;
		width: 100%;
		max-height: 220px;
		margin-top: 0.35rem;
	}
}

/* RTL */
html[dir="rtl"] .ym-hero-grid,
html[dir="rtl"] .ym-nav-inner,
html[dir="rtl"] .ym-field,
html[dir="rtl"] .ym-foot-grid,
html[dir="rtl"] .ym-blog-feature {
	direction: rtl;
}
html[dir="rtl"] .ym-links-list a:hover { transform: translateX(-4px); }
html[dir="rtl"] .ym-lang-menu { right: auto; left: 0; }
html[dir="rtl"] .ym-brand-mark,
html[dir="rtl"] .ym-blog-brand,
html[dir="rtl"] .ym-h2,
html[dir="rtl"] .ym-page h1 {
	letter-spacing: -0.02em;
}
body.ym-rtl .ym-submit:hover:not(:disabled) {
	transform: translate(3px, -3px);
	box-shadow: -3px 3px 0 #fff;
}

/* Ad blocker notice */
.ym-adblock {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	padding: 1rem;
	background: rgba(10, 10, 10, 0.72);
	backdrop-filter: blur(4px);
}
.ym-adblock-card {
	width: min(440px, 100%);
	background: #fff;
	border: 4px solid var(--ink);
	padding: 1.5rem 1.35rem 1.35rem;
	text-align: left;
	box-shadow: 8px 8px 0 var(--lime);
}
.ym-adblock-kicker {
	margin: 0 0 0.4rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ember, #ff4d1a);
}
.ym-adblock-card h2 {
	margin: 0 0 0.65rem;
	font-family: var(--display);
	font-size: clamp(1.35rem, 4vw, 1.75rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	line-height: 1.1;
}
.ym-adblock-card p {
	margin: 0 0 1.15rem;
	color: var(--mute);
	font-size: 0.95rem;
	line-height: 1.55;
}
.ym-adblock-actions {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.ym-adblock-primary,
.ym-adblock-ghost {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 3px solid var(--ink);
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
}
.ym-adblock-primary {
	background: var(--lime);
	color: var(--ink);
}
.ym-adblock-ghost {
	background: #fff;
	color: var(--ink);
}
.ym-adblock-primary:hover,
.ym-adblock-ghost:hover {
	transform: translate(-2px, -2px);
	box-shadow: 2px 2px 0 var(--ink);
}
body.ym-adblock-lock {
	overflow: hidden;
}

/* —— Error pages —— */
.ym-error {
	position: relative;
	padding: 4rem 0 5rem;
	min-height: min(72vh, 640px);
	display: flex;
	align-items: center;
	background: #0a0a0a;
	border-top: 3px solid var(--lime);
	border-bottom: 3px solid var(--lime);
	isolation: isolate;
}
.ym-error::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 55% at 50% 0%, rgba(214, 255, 60, 0.14), transparent 60%),
		repeating-linear-gradient(
			-18deg,
			transparent,
			transparent 18px,
			rgba(255, 255, 255, 0.03) 18px,
			rgba(255, 255, 255, 0.03) 19px
		);
	pointer-events: none;
	z-index: 0;
}
.ym-error-inner {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 720px;
	width: 100%;
	margin: 0 auto;
	padding: 0 1rem;
	overflow: visible;
}
.ym-error-code {
	margin: 0 0 0.5rem;
	font-family: "Archivo Black", sans-serif;
	font-size: clamp(3.5rem, 14vw, 7rem);
	line-height: 1;
	letter-spacing: 0.02em;
	color: var(--lime);
	text-shadow: 4px 4px 0 #000;
	user-select: none;
	white-space: nowrap;
}
.ym-error .ym-stamp {
	display: inline-block;
	margin-bottom: 0.75rem;
	background: var(--lime);
	color: var(--ink);
	border: 2px solid var(--ink);
}
.ym-error h1 {
	margin: 0 0 0.75rem;
	font-family: "Archivo Black", sans-serif;
	font-size: clamp(1.75rem, 5vw, 2.75rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: #fff;
	text-transform: uppercase;
	text-shadow: 2px 2px 0 #000;
}
.ym-error-lead {
	margin: 0 auto 1.75rem;
	max-width: 34rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.82);
}
.ym-error-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 1.75rem;
}
.ym-error-primary,
.ym-error-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 10rem;
	padding: 0.85rem 1.35rem;
	font-weight: 800;
	font-size: 0.92rem;
	letter-spacing: 0.02em;
	text-decoration: none;
	border: 2px solid var(--lime);
	transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.ym-error-primary {
	background: var(--lime);
	color: var(--ink);
}
.ym-error-secondary {
	background: transparent;
	color: #fff;
	border-color: #fff;
}
.ym-error-primary:hover,
.ym-error-secondary:hover {
	transform: translate(-2px, -2px);
	box-shadow: 3px 3px 0 var(--lime);
}
.ym-error-secondary:hover {
	background: #fff;
	color: var(--ink);
	border-color: #fff;
	box-shadow: 3px 3px 0 var(--lime);
}
.ym-error-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.85rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ym-error-links a {
	color: rgba(214, 255, 60, 0.85);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
.ym-error-links a:hover {
	color: #fff;
	border-bottom-color: var(--lime);
}



/* IGClip result cards */
.ig-results {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.9rem;
	margin: 1.15rem auto 0;
	width: 100%;
}
.ig-results--single {
	grid-template-columns: minmax(0, 320px);
	justify-content: center;
}
.ig-results--pair {
	grid-template-columns: repeat(2, minmax(0, 280px));
	justify-content: center;
	gap: 1rem;
}
.ig-results--grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
}
.ig-results-bar {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.ig-results-user {
	margin: 0;
	color: var(--mute);
	font-size: 0.85rem;
	font-weight: 700;
}
.ig-download-all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 40px;
	padding: 0.6rem 0.95rem;
	border: 2px solid var(--ink);
	border-radius: 8px;
	background: var(--lime);
	color: var(--ink);
	font: inherit;
	font-size: 0.82rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	box-shadow: 3px 3px 0 var(--ink);
	transition: transform 150ms ease, box-shadow 150ms ease;
}
.ig-download-all:hover:not(:disabled) {
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 var(--ink);
}
.ig-download-all:disabled,
.ig-download-all.is-busy {
	opacity: 0.7;
	cursor: wait;
}
.ig-result-card {
	border: 1px solid rgba(17, 17, 17, 0.16);
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(17, 17, 17, 0.07);
	transition: transform 180ms ease, box-shadow 180ms ease;
}
.ig-result-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(17, 17, 17, 0.12);
}
.ig-result-media {
	position: relative;
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: #f1f5f4;
}
.ig-results--single .ig-result-media,
.ig-results--pair .ig-result-media {
	max-height: 320px;
}
.ig-results--grid .ig-result-media {
	max-height: 160px;
}
.ig-result-card img,
.ig-result-card video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #101312;
}
.ig-results--single .ig-result-card img,
.ig-results--single .ig-result-card video,
.ig-results--pair .ig-result-card img,
.ig-results--pair .ig-result-card video {
	object-fit: contain;
}
.ig-result-count {
	position: absolute;
	z-index: 1;
	top: 0.45rem;
	left: 0.45rem;
	display: grid;
	place-items: center;
	min-width: 1.45rem;
	height: 1.45rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.78);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
	backdrop-filter: blur(5px);
}
.ig-result-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem;
	padding: 0.5rem;
}
.ig-results--single .ig-result-footer,
.ig-results--pair .ig-result-footer {
	padding: 0.75rem;
}
.ig-result-label {
	color: var(--ink);
	font-size: 0.72rem;
	font-weight: 800;
	white-space: nowrap;
}
.ig-results--single .ig-result-label,
.ig-results--pair .ig-result-label {
	font-size: 0.85rem;
}
.ig-result-download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
	min-height: 30px;
	padding: 0.35rem 0.55rem;
	border: 2px solid var(--ink);
	border-radius: 6px;
	background: var(--lime);
	color: var(--ink) !important;
	font: inherit;
	font-size: 0.68rem;
	font-weight: 900;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	cursor: pointer;
	box-shadow: 2px 2px 0 var(--ink);
	transition: transform 150ms ease, box-shadow 150ms ease;
}
.ig-result-download:disabled,
.ig-result-download.is-busy {
	opacity: 0.7;
	cursor: wait;
}
.ig-results--single .ig-result-download,
.ig-results--pair .ig-result-download {
	min-height: 38px;
	padding: 0.55rem 0.8rem;
	font-size: 0.78rem;
	box-shadow: 3px 3px 0 var(--ink);
}
.ig-result-download:hover {
	transform: translate(1px, 1px);
	box-shadow: 1px 1px 0 var(--ink);
}
@media (max-width: 900px) {
	.ig-results--grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 640px) {
	.ig-results--pair,
	.ig-results--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.55rem;
	}
	.ig-results--single {
		grid-template-columns: minmax(0, 1fr);
	}
	.ig-results--grid .ig-result-media {
		max-height: 140px;
	}
	.ig-result-footer {
		padding: 0.4rem;
	}
	.ig-results--grid .ig-result-download span:first-child {
		display: none;
	}
}
.ym-demo-url {
	font-family: var(--font);
	opacity: 0.85;
	word-break: break-all;
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
.ym-demo-url:hover {
	opacity: 1;
	color: var(--lime);
}

/* Home hero v2 — editorial creator dashboard */
.ym-stage {
	background:
		linear-gradient(120deg, rgba(255,255,255,0.84), rgba(255,255,255,0.18)),
		var(--lime);
}

.ym-stage::before {
	content: '';
	inset: 0;
	left: auto;
	bottom: auto;
	width: 46%;
	height: 100%;
	background:
		linear-gradient(rgba(17,17,17,0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(17,17,17,0.045) 1px, transparent 1px);
	background-size: 28px 28px;
	transform: none;
	animation: none;
}

.ym-hero-grid-v2 {
	min-height: 455px;
	grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
	gap: clamp(2rem, 5vw, 5rem);
	padding: clamp(2.8rem, 6vw, 5.5rem) 0;
}

.ym-hero-grid-v2 .ym-hero-copy {
	padding: 0;
}

.ym-hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1.15rem;
	padding: 0.38rem 0.65rem;
	border: 2px solid var(--ink);
	background: rgba(255,255,255,0.72);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	box-shadow: 3px 3px 0 var(--ink);
}

.ym-hero-kicker span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #17b890;
	box-shadow: 0 0 0 4px rgba(23,184,144,0.16);
}

.ym-hero-grid-v2 .ym-brand-mark {
	margin-bottom: 0.2rem;
	font-size: clamp(3.7rem, 8vw, 6.7rem);
	line-height: 0.82;
	letter-spacing: -0.075em;
}

.ym-hero-grid-v2 .ym-hero-title {
	max-width: 14ch;
	margin: 0 0 1rem;
	font-family: var(--display);
	font-size: clamp(2.4rem, 7.5vw, 5.2rem);
	font-weight: 400;
	letter-spacing: -0.075em;
	line-height: 0.92;
	text-transform: uppercase;
	color: var(--ink);
}

.ym-hero-grid-v2 .ym-hero-title .ym-hero-main {
	display: block;
	font-size: 1em;
	line-height: 0.9;
	letter-spacing: -0.07em;
	margin-bottom: 0.2em;
}

.ym-hero-grid-v2 .ym-hero-title .ym-hero-sub {
	display: block;
	font-size: 0.42em;
	line-height: 1.2;
	letter-spacing: -0.03em;
	margin-bottom: 0.28em;
}

.ym-hero-grid-v2 .ym-hero-title em {
	font-style: normal;
	background: var(--ink);
	color: var(--lime);
	padding: 0.08em 0.2em;
	display: block;
	width: fit-content;
	line-height: 1.2;
	font-size: 0.42em;
	letter-spacing: -0.03em;
}

.ym-hero-grid-v2 .ym-lead {
	max-width: 37rem;
	font-size: clamp(1rem, 1.5vw, 1.12rem);
	line-height: 1.65;
}

.ym-hero-benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 1.35rem;
}

.ym-hero-benefits span {
	display: inline-flex;
	align-items: center;
	gap: 0.38rem;
	padding: 0.38rem 0.6rem;
	border: 1px solid rgba(17,17,17,0.35);
	background: rgba(255,255,255,0.5);
	font-size: 0.7rem;
	font-weight: 800;
}

.ym-hero-benefits span::before {
	content: '✓';
	font-weight: 900;
}

.ym-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.35rem;
}

.ym-hero-actions a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 46px;
	padding: 0.7rem 1.1rem;
	border: 2px solid var(--ink);
	font-family: var(--display);
	font-size: 0.78rem;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ym-hero-primary {
	background: var(--ink);
	color: #fff !important;
	box-shadow: 5px 5px 0 rgba(17,17,17,0.22);
}

.ym-hero-secondary {
	background: rgba(255,255,255,0.62);
	color: var(--ink) !important;
}

.ym-hero-actions a:hover {
	transform: translate(-2px, -2px);
	box-shadow: 5px 5px 0 rgba(17,17,17,0.2);
}

.ym-hero-grid-v2 .ym-visual {
	min-height: 330px;
	padding: 0;
}

.ig-showcase {
	position: relative;
	width: min(100%, 430px);
	height: 350px;
	isolation: isolate;
}

.ig-showcase-ring {
	position: absolute;
	border: 2px solid rgba(17,17,17,0.16);
	border-radius: 50%;
	z-index: -1;
}

.ig-showcase-ring-a {
	width: 310px;
	height: 310px;
	right: 6%;
	top: 3%;
}

.ig-showcase-ring-b {
	width: 230px;
	height: 230px;
	right: 15%;
	top: 14%;
	border-style: dashed;
}

.ig-post-card {
	position: absolute;
	top: 5px;
	left: 50%;
	width: 235px;
	padding: 0.7rem;
	background: #fff;
	border: 3px solid var(--ink);
	box-shadow: 13px 15px 0 rgba(17,17,17,0.16);
	transform: translateX(-50%) rotate(3deg);
	animation: ig-card-float 5s var(--ease) infinite alternate;
}

@keyframes ig-card-float {
	from { transform: translateX(-50%) rotate(3deg) translateY(0); }
	to { transform: translateX(-50%) rotate(1deg) translateY(-7px); }
}

.ig-post-head {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding-bottom: 0.55rem;
}

.ig-post-avatar {
	width: 29px;
	height: 29px;
	border: 2px solid var(--ink);
	border-radius: 50%;
	background: linear-gradient(135deg, var(--lime), #2ad843);
}

.ig-post-head div {
	display: grid;
	margin-right: auto;
}

.ig-post-head strong {
	font-size: 0.65rem;
	line-height: 1.1;
}

.ig-post-head small {
	color: var(--mute);
	font-size: 0.48rem;
}

.ig-post-head i {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--ink);
}

.ig-post-media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 2px solid var(--ink);
	background:
		radial-gradient(circle at 22% 24%, #fff 0 5%, transparent 5.5%),
		radial-gradient(circle at 78% 72%, rgba(255,255,255,0.6), transparent 22%),
		linear-gradient(145deg, #111 0 38%, #1f7a2e 38% 64%, var(--lime) 64%);
}

.ig-post-media::before {
	content: '';
	position: absolute;
	inset: 12%;
	border: 1px solid rgba(255,255,255,0.26);
	transform: rotate(12deg);
}

.ig-camera-mark {
	position: relative;
	width: 76px;
	height: 76px;
	border: 7px solid #fff;
	border-radius: 22px;
	box-shadow: 0 4px 0 rgba(17,17,17,0.15);
}

.ig-camera-mark::before {
	content: '';
	position: absolute;
	inset: 15px;
	border: 6px solid #fff;
	border-radius: 50%;
}

.ig-camera-mark::after {
	content: '';
	position: absolute;
	right: 8px;
	top: 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
}

.ig-post-media > b {
	position: absolute;
	right: 8px;
	bottom: 6px;
	font-family: var(--display);
	color: rgba(255,255,255,0.68);
	font-size: 1.2rem;
}

.ig-post-foot {
	display: grid;
	gap: 0.28rem;
	padding-top: 0.5rem;
}

.ig-post-icons {
	display: flex;
	align-items: center;
	gap: 0.42rem;
	font-size: 1rem;
	line-height: 1;
}

.ig-post-icons span:last-child {
	margin-left: auto;
}

.ig-post-foot > strong {
	font-size: 0.62rem;
}

.ig-post-foot > small {
	color: var(--mute);
	font-size: 0.5rem;
}

.ig-float-card,
.ig-float-save {
	position: absolute;
	border: 2px solid var(--ink);
	box-shadow: 5px 5px 0 rgba(17,17,17,0.2);
}

.ig-float-card {
	display: grid;
	min-width: 86px;
	padding: 0.55rem 0.7rem;
	background: #fff;
}

.ig-float-card b {
	font-family: var(--display);
	font-size: 0.9rem;
}

.ig-float-card span {
	color: var(--mute);
	font-size: 0.58rem;
	font-weight: 800;
}

.ig-float-video {
	left: 0;
	top: 65px;
	transform: rotate(-7deg);
}

.ig-float-photo {
	right: 0;
	top: 110px;
	transform: rotate(7deg);
}

.ig-float-save {
	right: 4%;
	bottom: 24px;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65rem 0.8rem;
	background: var(--ink);
	color: #fff;
	transform: rotate(-3deg);
}

.ig-float-save span {
	display: grid;
	place-items: center;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--ink);
	font-size: 1rem;
	font-weight: 900;
}

.ig-float-save b {
	max-width: 12ch;
	font-family: var(--display);
	font-size: 0.64rem;
	line-height: 1.1;
	text-transform: uppercase;
}

@media (max-width: 900px) {
	.ym-hero-grid-v2 {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 2.6rem 0 1.5rem;
	}
	.ym-hero-grid-v2 .ym-hero-copy {
		text-align: center;
	}
	.ym-hero-kicker,
	.ym-hero-actions,
	.ym-hero-benefits {
		justify-content: center;
	}
	.ym-hero-grid-v2 .ym-lead,
	.ym-hero-grid-v2 .ym-hero-title {
		margin-left: auto;
		margin-right: auto;
	}
	.ym-hero-grid-v2 .ym-visual {
		min-height: 345px;
	}
	.ig-showcase {
		margin: 0 auto;
	}
}

@media (max-width: 540px) {
	.ym-hero-grid-v2 {
		width: min(100% - 1.25rem, var(--max));
	}
	.ym-hero-grid-v2 .ym-brand-mark {
		font-size: clamp(3.2rem, 20vw, 4.8rem);
	}
	.ym-hero-grid-v2 .ym-hero-title {
		font-size: 1.4rem;
	}
	.ym-hero-benefits span {
		font-size: 0.64rem;
	}
	.ym-hero-actions a {
		flex: 1 1 130px;
	}
	.ig-showcase {
		height: 320px;
		transform: scale(0.9);
		transform-origin: top center;
	}
	.ig-float-video { left: 2%; }
	.ig-float-photo { right: 2%; }
}

@media (prefers-reduced-motion: reduce) {
	.ig-post-card {
		animation: none;
	}
}
