/*
 * MacTidy Landing — page-specific styles.
 *
 * Extracted from the original handoff prototype. Every selector is scoped
 * under `.mactidy-page` so the bespoke MacTidy palette (indigo/violet on a
 * warm-grey background) does not bleed into the theme's normal pages — the
 * site header and footer stay on the theme's own tokens.
 *
 * The `:root` tokens from the prototype have been re-rooted onto
 * `.mactidy-page` so `var(--mt-1)` etc. only resolve inside this page.
 */

.mactidy-page {
	/* Tangerine page-chrome tokens (light, warm) */
	--bg: #faf9f7;
	--bg-1: #f3f2ee;
	--bg-2: #eceae5;
	--bg-3: #e3e0da;
	--line: #e3e0da;
	--line-2: #d3cfc7;
	--ink: #111111;
	--ink-2: #45463f;
	--ink-3: #8a877f;
	--ink-4: #b6b2a8;
	--accent: #ea580c;
	--accent-soft: rgba(234, 88, 12, 0.10);
	--accent-line: rgba(234, 88, 12, 0.35);
	--green: #16a34a;
	--red: #dc2626;

	/* MacTidy product tokens (indigo-violet) — used INSIDE product surfaces */
	--mt-1: #6366f1;
	--mt-2: #8b5cf6;
	--mt-3: #a78bfa;
	--mt-deep: #1e1b4b;
	--mt-ink: #f5f3ff;
	--mt-soft: rgba(99, 102, 241, 0.10);
	--mt-line: rgba(99, 102, 241, 0.35);

	--mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
	--sans: 'Inter', system-ui, -apple-system, sans-serif;

	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.55;
	letter-spacing: -0.005em;
}
.mactidy-page * { box-sizing: border-box; }
.mactidy-page a { color: inherit; text-decoration: none; }
.mactidy-page button { font-family: inherit; cursor: pointer; }
.mactidy-page h1,
.mactidy-page h2,
.mactidy-page h3,
.mactidy-page h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; }
.mactidy-page p { margin: 0; }

/* ---------- Layout helpers ---------- */
.mactidy-page .wrap { max-width: var(--maxw, 1240px); margin: 0 auto; padding: 0 28px; }
.mactidy-page .eyebrow {
	font-family: var(--mono);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--ink-3);
	display: inline-flex; align-items: center; gap: 10px;
}
.mactidy-page .eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
.mactidy-page .section { padding: 120px 0; border-top: 1px solid var(--line); position: relative; }
.mactidy-page .section-head { display: grid; grid-template-columns: 220px 1fr; gap: 64px; margin-bottom: 64px; }
.mactidy-page .section-head h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; max-width: 720px; }
.mactidy-page .section-head .lede { color: var(--ink-2); font-size: 16px; max-width: 600px; margin-top: 18px; }
.mactidy-page .section-head .col-left { position: sticky; top: 100px; align-self: start; }

/* ---------- Buttons (scoped — won't override the theme's global .btn) ---------- */
.mactidy-page .btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 20px; border-radius: 2px;
	font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
	border: 1px solid var(--line-2);
	background: transparent; color: var(--ink);
	transition: background .18s, border-color .18s, transform .18s;
}
.mactidy-page .btn:hover { background: var(--bg-2); border-color: #3a3a3a; }
.mactidy-page .btn .arr { transition: transform .2s; }
.mactidy-page .btn:hover .arr { transform: translateX(3px); }
.mactidy-page .btn-accent {
	background: var(--accent); color: #fff7ee;
	border-color: var(--accent); font-weight: 600;
}
.mactidy-page .btn-accent:hover { background: #c2410c; border-color: #c2410c; }
.mactidy-page .btn-sm { padding: 9px 14px; font-size: 13px; }
.mactidy-page .btn-indigo {
	background: linear-gradient(135deg, var(--mt-1), var(--mt-2));
	color: var(--mt-ink);
	border-color: transparent;
	font-weight: 600;
	box-shadow: 0 8px 24px -8px rgba(99,102,241,0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
.mactidy-page .btn-indigo:hover { filter: brightness(1.07); border-color: transparent; }

/* ---------- Hero ---------- */
.mactidy-page .hero { position: relative; padding: 110px 0 100px; overflow: hidden; border-top: none; }
.mactidy-page .hero-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(0,0,0,0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0,0,0,0.045) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 90% 60% at 50% 30%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 30%, #000 30%, transparent 75%);
	pointer-events: none;
}
.mactidy-page .hero-glow {
	position: absolute; top: 8%; left: 50%; transform: translateX(-50%);
	width: 760px; height: 360px;
	background: radial-gradient(ellipse, rgba(139,92,246,0.20), rgba(99,102,241,0.10) 40%, transparent 70%);
	filter: blur(50px); pointer-events: none;
}
.mactidy-page .hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 1000px) { .mactidy-page .hero-inner { grid-template-columns: 1fr; gap: 56px; } }

.mactidy-page .hero-badge {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 6px 12px 6px 8px;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	font-family: var(--mono); font-size: 11px; color: var(--ink-2);
	background: #ffffff; margin-bottom: 28px;
}
.mactidy-page .hero-badge .dot {
	width: 7px; height: 7px; border-radius: 50%; background: var(--mt-2);
	box-shadow: 0 0 0 3px rgba(139,92,246,0.18);
	animation: mt-pulse 2.2s infinite ease-in-out;
}
@keyframes mt-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(139,92,246,0.18); }
	50%      { box-shadow: 0 0 0 6px rgba(139,92,246,0.05); }
}
.mactidy-page .hero h1 {
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.02;
	max-width: 620px;
	letter-spacing: -0.035em;
}
.mactidy-page .hero h1 .accent {
	background: linear-gradient(135deg, var(--mt-1), var(--mt-2) 60%, var(--mt-3));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.mactidy-page .hero-sub {
	margin-top: 26px; font-size: 18px; color: var(--ink-2);
	max-width: 560px; line-height: 1.55;
}
.mactidy-page .hero-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.mactidy-page .hero-trust {
	margin-top: 28px;
	display: flex; flex-wrap: wrap; gap: 18px;
	font-family: var(--mono); font-size: 11px; color: var(--ink-3);
	letter-spacing: 0.04em;
}
.mactidy-page .hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.mactidy-page .hero-trust span::before {
	content: ""; width: 6px; height: 6px; border-radius: 50%;
	background: var(--mt-2); opacity: .6;
}

.mactidy-page .mt-hero-shot { display: block; }
.mactidy-page .mt-hero-shot img {
	display: block; width: 100%; height: auto;
	border-radius: 14px;
	box-shadow:
		0 40px 100px -30px rgba(67,56,202,0.45),
		0 20px 50px -20px rgba(0,0,0,0.4);
}

/* ---------- App window (hero mockup) ---------- */
.mactidy-page .appwin {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(160deg, #1a1733 0%, #221a4a 50%, #2a1b5c 100%);
	color: var(--mt-ink);
	box-shadow:
		0 40px 100px -30px rgba(67, 56, 202, 0.45),
		0 20px 50px -20px rgba(0,0,0,0.4),
		0 0 0 1px rgba(99,102,241,0.18) inset,
		0 1px 0 rgba(255,255,255,0.08) inset;
}
.mactidy-page .appwin::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(circle at 18% 18%, rgba(139,92,246,0.35), transparent 38%),
		radial-gradient(circle at 82% 88%, rgba(99,102,241,0.30), transparent 42%),
		radial-gradient(circle at 60% 25%, rgba(167,139,250,0.18), transparent 55%);
}
.mactidy-page .appwin-bar {
	position: relative; z-index: 2;
	display: flex; align-items: center; gap: 12px;
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
	background: rgba(20, 18, 50, 0.55);
	backdrop-filter: blur(20px);
}
.mactidy-page .wdots { display: flex; gap: 6px; }
.mactidy-page .wdot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.mactidy-page .wdot.r { background: #ff6259; }
.mactidy-page .wdot.y { background: #ffbd2e; }
.mactidy-page .wdot.g { background: #28c941; }
.mactidy-page .wtitle {
	font-family: var(--mono); font-size: 11px;
	color: rgba(245,243,255,0.7);
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0 auto;
}
.mactidy-page .wtitle .wglyph {
	width: 14px; height: 14px; border-radius: 3px;
	background: linear-gradient(135deg, var(--mt-1), var(--mt-2));
	position: relative;
}
.mactidy-page .wtitle .wglyph::after {
	content: ""; position: absolute; inset: 3px;
	border: 1.2px solid #fff; border-radius: 2px;
	border-bottom-color: transparent; border-right-color: transparent;
}
.mactidy-page .wspacer { width: 50px; }

.mactidy-page .appwin-body {
	position: relative; z-index: 2;
	padding: 28px 28px 30px;
	display: grid; grid-template-columns: 140px 1fr; gap: 22px;
}

.mactidy-page .arail { display: grid; gap: 6px; align-content: start; }
.mactidy-page .arail .ahdr {
	font-family: var(--mono); font-size: 9.5px;
	color: rgba(245,243,255,0.45);
	text-transform: uppercase; letter-spacing: 0.14em;
	padding: 4px 8px 6px;
}
.mactidy-page .arail .aitem {
	display: flex; align-items: center; gap: 8px;
	padding: 7px 10px; border-radius: 6px;
	font-size: 12px; color: rgba(245,243,255,0.72);
}
.mactidy-page .arail .aitem svg { width: 13px; height: 13px; opacity: .7; }
.mactidy-page .arail .aitem.on {
	background: rgba(139,92,246,0.18);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(167,139,250,0.30);
}
.mactidy-page .arail .aitem.on svg { opacity: 1; color: var(--mt-3); }

.mactidy-page .amain { display: grid; gap: 18px; }

/* Scan ring */
.mactidy-page .scanwrap {
	display: grid; grid-template-columns: 220px 1fr; gap: 22px;
	align-items: center;
}
.mactidy-page .ring {
	position: relative;
	width: 200px; height: 200px;
	border-radius: 50%;
	background:
		conic-gradient(from -90deg, var(--mt-1) 0deg, var(--mt-2) 130deg, var(--mt-3) 220deg, rgba(99,102,241,0.20) 240deg, rgba(99,102,241,0.20) 360deg);
	box-shadow:
		0 0 0 1px rgba(255,255,255,0.06) inset,
		0 0 60px -10px rgba(139,92,246,0.6);
	display: flex; align-items: center; justify-content: center;
}
.mactidy-page .ring::before {
	content: ""; position: absolute; inset: 12px;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 40%, rgba(40, 32, 90, 0.95), rgba(20, 16, 50, 1));
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.mactidy-page .ring::after {
	content: ""; position: absolute; inset: -6px;
	border-radius: 50%;
	background: conic-gradient(from 0deg, transparent 0deg, rgba(167,139,250,0.55) 30deg, transparent 60deg);
	mask: radial-gradient(circle, transparent 86px, #000 88px, #000 110px, transparent 112px);
	-webkit-mask: radial-gradient(circle, transparent 86px, #000 88px, #000 110px, transparent 112px);
	animation: mt-sweep 3.4s linear infinite;
}
@keyframes mt-sweep { to { transform: rotate(360deg); } }
.mactidy-page .ring-inner {
	position: relative; z-index: 2;
	text-align: center;
	display: grid; gap: 4px;
}
.mactidy-page .ring-val {
	font-size: 38px; font-weight: 600;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	background: linear-gradient(180deg, #fff, #d6ccff);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.mactidy-page .ring-unit { font-family: var(--mono); font-size: 11px; color: rgba(245,243,255,0.55); letter-spacing: 0.12em; text-transform: uppercase; }
.mactidy-page .ring-lbl { font-family: var(--mono); font-size: 10px; color: rgba(167,139,250,0.85); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 6px; }

.mactidy-page .scan-cta { display: grid; gap: 14px; }
.mactidy-page .scan-cta .lead {
	font-size: 15px; font-weight: 600; color: #fff;
	letter-spacing: -0.01em;
}
.mactidy-page .scan-cta .sub { font-size: 12.5px; color: rgba(245,243,255,0.6); line-height: 1.5; }
.mactidy-page .scan-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 16px;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--mt-1), var(--mt-2));
	color: #fff; font-weight: 600; font-size: 13px;
	border: none;
	box-shadow: 0 8px 22px -6px rgba(139,92,246,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
	cursor: default;
}

.mactidy-page .acats {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.mactidy-page .acat {
	padding: 12px 12px 14px;
	border-radius: 8px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.07);
	backdrop-filter: blur(6px);
	display: grid; gap: 8px;
}
.mactidy-page .acat .ctop {
	display: flex; align-items: center; justify-content: space-between;
	font-family: var(--mono); font-size: 9.5px;
	color: rgba(245,243,255,0.55); text-transform: uppercase; letter-spacing: 0.12em;
}
.mactidy-page .acat .ctop svg { width: 13px; height: 13px; color: var(--mt-3); }
.mactidy-page .acat .cname { font-size: 12px; color: #fff; font-weight: 500; letter-spacing: -0.01em; }
.mactidy-page .acat .csize { font-family: var(--mono); font-size: 13px; color: var(--mt-3); font-weight: 500; letter-spacing: -0.02em; }
.mactidy-page .acat .cbar {
	height: 3px; border-radius: 2px;
	background: rgba(255,255,255,0.06); overflow: hidden;
}
.mactidy-page .acat .cbar i {
	display: block; height: 100%;
	background: linear-gradient(90deg, var(--mt-1), var(--mt-2));
}

/* sparkles */
.mactidy-page .spark {
	position: absolute; width: 10px; height: 10px;
	background:
		radial-gradient(circle, #fff 0, transparent 50%),
		conic-gradient(from 0deg, transparent 0deg, transparent 36deg, #fff 45deg, transparent 54deg, transparent 126deg, #fff 135deg, transparent 144deg, transparent 216deg, #fff 225deg, transparent 234deg, transparent 306deg, #fff 315deg, transparent 324deg);
	mask: radial-gradient(circle, #000 0, transparent 60%);
	opacity: 0.85;
	animation: mt-twinkle 3.6s infinite ease-in-out;
}
.mactidy-page .spark.s1 { top: 18%; left: 6%; width: 8px; height: 8px; animation-delay: 0s; }
.mactidy-page .spark.s2 { top: 28%; right: 8%; animation-delay: .8s; }
.mactidy-page .spark.s3 { bottom: 22%; left: 12%; animation-delay: 1.5s; }
.mactidy-page .spark.s4 { top: 55%; right: 30%; width: 6px; height: 6px; animation-delay: 2.1s; }
.mactidy-page .spark.s5 { bottom: 12%; right: 18%; width: 7px; height: 7px; animation-delay: 2.7s; }
@keyframes mt-twinkle {
	0%, 100% { opacity: 0; transform: scale(0.6) rotate(0deg); }
	40%, 60% { opacity: 1; transform: scale(1) rotate(30deg); }
}

/* ---------- Features ---------- */
.mactidy-page .features-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
	background: var(--line); border: 1px solid var(--line);
}
.mactidy-page .feat {
	background: var(--bg);
	padding: 32px 28px 34px;
	position: relative; transition: background .25s;
	display: grid; gap: 14px; align-content: start;
}
.mactidy-page .feat:hover { background: var(--bg-1); }
.mactidy-page .feat-num {
	font-family: var(--mono); font-size: 11px;
	color: var(--ink-3); letter-spacing: 0.12em;
}
.mactidy-page .feat-icon {
	width: 40px; height: 40px;
	border: 1px solid var(--line-2);
	border-radius: 6px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.04));
	color: var(--mt-2);
}
.mactidy-page .feat:hover .feat-icon {
	border-color: rgba(99,102,241,0.30);
	background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(139,92,246,0.08));
}
.mactidy-page .feat h3 { font-size: 17px; letter-spacing: -0.02em; line-height: 1.25; }
.mactidy-page .feat p { color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.mactidy-page .feat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.mactidy-page .feat-tags .tg {
	font-family: var(--mono); font-size: 10.5px;
	padding: 3px 8px; background: var(--bg-2);
	border: 1px solid var(--line); border-radius: 2px;
	color: var(--ink-3);
}
@media (max-width: 900px) { .mactidy-page .features-grid { grid-template-columns: 1fr; } }

/* ---------- Security ---------- */
.mactidy-page .sec-wrap {
	border: 1px solid var(--line);
	background:
		linear-gradient(180deg, var(--bg-1), var(--bg));
	border-radius: 4px;
	padding: 56px 48px 48px;
	position: relative;
	overflow: hidden;
}
.mactidy-page .sec-wrap::before {
	content: ""; position: absolute;
	top: -160px; right: -120px;
	width: 480px; height: 480px;
	background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 60%);
	pointer-events: none;
}
.mactidy-page .sec-grid {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
	position: relative;
}
.mactidy-page .sec-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 22px 22px 24px;
	display: grid; grid-template-columns: 44px 1fr; gap: 16px;
	align-items: start;
}
.mactidy-page .sec-icon {
	width: 44px; height: 44px;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--mt-1), var(--mt-2));
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 18px -6px rgba(99,102,241,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.mactidy-page .sec-icon svg { width: 22px; height: 22px; }
.mactidy-page .sec-card h4 { font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.mactidy-page .sec-card p { color: var(--ink-2); font-size: 13.5px; margin-top: 6px; line-height: 1.55; }
.mactidy-page .sec-foot {
	margin-top: 28px; padding-top: 24px;
	border-top: 1px dashed var(--line-2);
	font-family: var(--mono); font-size: 11px; color: var(--ink-3);
	display: flex; flex-wrap: wrap; gap: 24px; row-gap: 8px;
	letter-spacing: 0.04em;
}
.mactidy-page .sec-foot span { display: inline-flex; align-items: center; gap: 8px; }
.mactidy-page .sec-foot span::before {
	content: "✓"; color: var(--mt-2); font-weight: 600;
}
@media (max-width: 800px) {
	.mactidy-page .sec-grid { grid-template-columns: 1fr; }
	.mactidy-page .sec-wrap { padding: 36px 24px; }
}

/* ---------- Gallery ---------- */
.mactidy-page .gallery {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.mactidy-page .shot {
	position: relative;
	border-radius: 10px; overflow: hidden;
	background: linear-gradient(160deg, #1a1733, #2a1b5c);
	aspect-ratio: 4 / 3;
	box-shadow:
		0 30px 60px -30px rgba(67,56,202,0.40),
		0 0 0 1px rgba(99,102,241,0.20) inset;
}
.mactidy-page .shot:not(.shot--filled)::before {
	content: ""; position: absolute; inset: 0;
	background:
		repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,0.025) 14px 15px),
		radial-gradient(circle at 70% 30%, rgba(139,92,246,0.35), transparent 50%),
		radial-gradient(circle at 20% 80%, rgba(99,102,241,0.30), transparent 50%);
}
.mactidy-page .shot--filled {
	background: #1a1733;
	cursor: zoom-in;
	transition: transform .25s ease, box-shadow .25s ease;
}
.mactidy-page .shot--filled:hover {
	transform: translateY(-2px);
	box-shadow:
		0 36px 70px -28px rgba(67,56,202,0.55),
		0 0 0 1px rgba(167,139,250,0.40) inset;
}
.mactidy-page .shot--filled img {
	width: 100%; height: 100%; object-fit: contain; display: block;
	background: linear-gradient(160deg, #1a1733, #2a1b5c);
}
.mactidy-page .shot-bar {
	position: absolute; top: 0; left: 0; right: 0;
	padding: 10px 12px;
	display: flex; align-items: center; gap: 8px;
	background: rgba(20,18,50,0.5);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mactidy-page .shot-bar .wdot { width: 9px; height: 9px; }
.mactidy-page .shot-cap {
	position: absolute; bottom: 14px; left: 16px; right: 16px;
	display: flex; align-items: center; justify-content: space-between;
	font-family: var(--mono); font-size: 10px;
	color: rgba(245,243,255,0.7);
	letter-spacing: 0.12em; text-transform: uppercase;
}
.mactidy-page .shot-cap .tag {
	padding: 3px 8px; border-radius: 2px;
	background: rgba(99,102,241,0.25);
	color: #d6ccff;
	border: 1px solid rgba(167,139,250,0.30);
}
.mactidy-page .shot-mid {
	position: absolute; inset: 50px 24px 60px 24px;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--mono); font-size: 11px;
	color: rgba(245,243,255,0.45);
	letter-spacing: 0.16em; text-transform: uppercase;
	text-align: center; line-height: 1.6;
}
.mactidy-page .shot-mid b {
	display: block; font-weight: 500;
	color: rgba(245,243,255,0.75);
	margin-bottom: 6px;
}
@media (max-width: 900px) {
	.mactidy-page .gallery { grid-template-columns: 1fr; }
	.mactidy-page .shot { aspect-ratio: 16/10; }
}

/* ---------- Lightbox ---------- */
.mt-lightbox {
	position: fixed; inset: 0;
	z-index: 99999;
	display: none;
	align-items: center; justify-content: center;
	padding: 5vh 5vw;
	background:
		radial-gradient(ellipse 80% 60% at 30% 20%, rgba(139,92,246,0.55), transparent 60%),
		radial-gradient(ellipse 70% 50% at 70% 80%, rgba(99,102,241,0.45), transparent 60%),
		linear-gradient(160deg, #1a1733 0%, #0f0a26 100%);
	backdrop-filter: blur(8px);
	cursor: zoom-out;
	opacity: 0;
	transition: opacity .25s ease;
}
.mt-lightbox.open { display: flex; opacity: 1; }
.mt-lightbox img {
	max-width: 100%; max-height: 100%;
	border-radius: 14px;
	box-shadow: 0 40px 80px rgba(0,0,0,0.6);
	cursor: default;
	transform: scale(0.96);
	transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.mt-lightbox.open img { transform: scale(1); }
.mt-lightbox__close {
	position: absolute;
	top: 24px; right: 24px;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: rgba(255,255,255,0.10);
	border: 1px solid rgba(255,255,255,0.20);
	color: #fff;
	font-size: 28px; line-height: 1;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	font-family: -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 300;
	padding: 0; margin: 0;
}
.mt-lightbox__close:hover { background: rgba(255,255,255,0.20); }

/* ---------- Pricing ---------- */
.mactidy-page .price-grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.mactidy-page .price {
	border: 1px solid var(--line);
	background: var(--bg);
	border-radius: 6px;
	padding: 36px 32px 32px;
	position: relative;
	display: grid; gap: 18px; align-content: start;
}
.mactidy-page .price.featured {
	background: linear-gradient(160deg, #1a1733 0%, #221a4a 50%, #2a1b5c 100%);
	color: var(--mt-ink);
	border-color: transparent;
	box-shadow:
		0 30px 70px -30px rgba(67,56,202,0.45),
		0 0 0 1px rgba(99,102,241,0.30) inset;
	overflow: hidden;
}
.mactidy-page .price.featured::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(circle at 90% 10%, rgba(139,92,246,0.35), transparent 45%),
		radial-gradient(circle at 10% 100%, rgba(99,102,241,0.25), transparent 45%);
}
.mactidy-page .price > * { position: relative; }
.mactidy-page .price-eyebrow {
	font-family: var(--mono); font-size: 11px;
	text-transform: uppercase; letter-spacing: 0.14em;
	color: var(--ink-3);
}
.mactidy-page .price.featured .price-eyebrow { color: rgba(245,243,255,0.6); }
.mactidy-page .price-name { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; }
.mactidy-page .price-amount {
	display: flex; align-items: baseline; gap: 8px;
	margin-top: -6px;
}
.mactidy-page .price-amount .big {
	font-size: 46px; font-weight: 600; letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
}
.mactidy-page .price-amount .per {
	font-family: var(--mono); font-size: 12px; color: var(--ink-3);
	letter-spacing: 0.04em;
}
.mactidy-page .price.featured .price-amount .per { color: rgba(245,243,255,0.6); }
.mactidy-page .price-amount .strike {
	font-family: var(--mono); font-size: 12px;
	color: rgba(245,243,255,0.4);
	text-decoration: line-through;
	margin-left: 6px;
}
.mactidy-page .price-list { display: grid; gap: 10px; margin: 6px 0 4px; padding: 0; }
.mactidy-page .price-list li {
	list-style: none;
	display: grid; grid-template-columns: 16px 1fr; gap: 10px;
	font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
}
.mactidy-page .price.featured .price-list li { color: rgba(245,243,255,0.85); }
.mactidy-page .price-list li::before {
	content: ""; width: 14px; height: 14px; margin-top: 4px;
	background:
		radial-gradient(circle, var(--mt-2) 0 4px, transparent 5px),
		conic-gradient(from 0deg, var(--mt-1), var(--mt-2), var(--mt-3), var(--mt-1));
	-webkit-mask: radial-gradient(circle at 35% 35%, transparent 0 35%, #000 36%);
	        mask: radial-gradient(circle at 35% 35%, transparent 0 35%, #000 36%);
	border-radius: 50%;
}
.mactidy-page .price.plain .price-list li::before {
	background: var(--mt-2);
	-webkit-mask: none; mask: none;
	opacity: 0.85;
}
.mactidy-page .price-cta { margin-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; }
.mactidy-page .pintro {
	font-family: var(--mono); font-size: 10.5px;
	padding: 4px 8px; border-radius: 2px;
	background: rgba(167,139,250,0.18);
	color: #d6ccff;
	border: 1px solid rgba(167,139,250,0.30);
	letter-spacing: 0.1em; text-transform: uppercase;
}
.mactidy-page .price-foot {
	font-family: var(--mono); font-size: 10.5px;
	color: var(--ink-3); letter-spacing: 0.05em;
	border-top: 1px dashed var(--line-2);
	padding-top: 16px; margin-top: 6px;
}
.mactidy-page .price.featured .price-foot { color: rgba(245,243,255,0.55); border-top-color: rgba(255,255,255,0.10); }
@media (max-width: 800px) { .mactidy-page .price-grid { grid-template-columns: 1fr; } }

/* ---------- First launch ---------- */
.mactidy-page .launch-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.mactidy-page .launch-steps {
	border: 1px solid var(--line);
	background: var(--bg);
	border-radius: 4px;
	overflow: hidden;
}
.mactidy-page .lstep {
	display: grid; grid-template-columns: 56px 1fr;
	padding: 22px 24px;
	border-bottom: 1px solid var(--line);
	align-items: start; gap: 14px;
}
.mactidy-page .lstep:last-child { border-bottom: none; }
.mactidy-page .lstep .ln {
	font-family: var(--mono); font-size: 13px;
	color: var(--mt-2); font-weight: 500;
	letter-spacing: -0.01em;
}
.mactidy-page .lstep h4 { font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.mactidy-page .lstep p { color: var(--ink-2); font-size: 13.5px; line-height: 1.55; margin-top: 4px; }
.mactidy-page .lstep .kbd {
	display: inline-flex; align-items: center; gap: 6px;
	flex-wrap: wrap; margin-top: 10px;
}
.mactidy-page .kbd .k {
	font-family: var(--mono); font-size: 11px;
	padding: 3px 8px; border-radius: 3px;
	background: var(--bg-2);
	border: 1px solid var(--line-2);
	color: var(--ink);
}
.mactidy-page .kbd .sep { color: var(--ink-3); font-family: var(--mono); font-size: 11px; }

.mactidy-page .launch-aside {
	display: grid; gap: 16px; align-content: start;
}
.mactidy-page .why-card {
	border: 1px solid var(--line);
	background: var(--bg-1);
	border-radius: 4px;
	padding: 22px;
}
.mactidy-page .why-card h4 {
	font-size: 14px; font-weight: 600;
	margin-bottom: 8px; letter-spacing: -0.015em;
	display: flex; align-items: center; gap: 8px;
}
.mactidy-page .why-card h4 svg { width: 16px; height: 16px; color: var(--mt-2); }
.mactidy-page .why-card p { font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.mactidy-page .vt-card {
	border: 1px solid var(--line);
	background: var(--bg);
	border-radius: 4px;
	padding: 20px 22px;
	display: grid; gap: 12px;
}
.mactidy-page .vt-card .vtag {
	font-family: var(--mono); font-size: 10.5px;
	color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.14em;
}
.mactidy-page .vt-card .vrow {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px;
}
.mactidy-page .vt-card .vleft { display: flex; align-items: center; gap: 12px; }
.mactidy-page .vt-card .vbadge {
	width: 36px; height: 36px; border-radius: 8px;
	background: rgba(22,163,74,0.10);
	color: var(--green);
	display: flex; align-items: center; justify-content: center;
}
.mactidy-page .vt-card .vname { font-size: 13.5px; font-weight: 500; }
.mactidy-page .vt-card .vsub { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.mactidy-page .vt-card .vlink {
	font-family: var(--mono); font-size: 11.5px;
	color: var(--mt-2);
	display: inline-flex; align-items: center; gap: 6px;
}
.mactidy-page .vt-card .vlink::after {
	content: "↗"; font-size: 12px;
}
@media (max-width: 900px) { .mactidy-page .launch-grid { grid-template-columns: 1fr; } }

/* ---------- System requirements ---------- */
.mactidy-page .sysreq {
	display: grid; grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--line);
	background: var(--bg-1);
	border-radius: 4px;
	overflow: hidden;
}
.mactidy-page .sysreq .cell {
	padding: 24px 22px 26px;
	border-right: 1px solid var(--line);
	background: var(--bg-1);
}
.mactidy-page .sysreq .cell:last-child { border-right: none; }
.mactidy-page .sysreq .lbl {
	font-family: var(--mono); font-size: 10.5px;
	color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.12em;
}
.mactidy-page .sysreq .val {
	font-size: 19px; font-weight: 600;
	letter-spacing: -0.02em;
	margin-top: 10px;
	font-variant-numeric: tabular-nums;
}
.mactidy-page .sysreq .sub { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 800px) {
	.mactidy-page .sysreq { grid-template-columns: repeat(2, 1fr); }
	.mactidy-page .sysreq .cell { border-right: none; border-top: 1px solid var(--line); }
	.mactidy-page .sysreq .cell:nth-child(-n+2) { border-top: none; }
	.mactidy-page .sysreq .cell:nth-child(odd) { border-right: 1px solid var(--line); }
}

/* ---------- Section head responsive ---------- */
@media (max-width: 800px) {
	.mactidy-page .section { padding: 80px 0; }
	.mactidy-page .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
	.mactidy-page .section-head .col-left { position: static; }
}

/* ---------- Reveal on scroll ---------- */
.mactidy-page .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.mactidy-page .reveal.in { opacity: 1; transform: none; }

