/*
Theme Name: AIUGCLibrary
Theme URI: https://aiugclibrary.com
Author: AIUGCLibrary
Description: Custom theme for aiugclibrary.com. Dark, fast, no page builder. Landing page lives in front-page.php. Motion effects live in assets/js/motion.js.
Version: 2.4.26
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aiugc
*/

/* ---------- Tokens ---------- */
:root {
	--bg: #0C0E12;
	--surface: #14181F;
	--surface-2: #1B212B;
	--line: #2A3140;
	--text: #EEF1F6;
	--muted: #A3ACBB;
	--accent: #C9F25A;
	--ink: #0C0E12;
	--font-display: 'Bricolage Grotesque', system-ui, sans-serif;
	--font-body: 'Instrument Sans', system-ui, sans-serif;
	--font-mono: 'IBM Plex Mono', ui-monospace, monospace;
	--radius: 16px;
	--maxw: 1160px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { opacity: .85; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
section[id] { scroll-margin-top: 96px; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link {
	position: absolute; left: -9999px; top: 8px; z-index: 100;
	background: var(--accent); color: var(--ink);
	padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 8px; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 24px; border-radius: 10px;
	font-weight: 600; text-decoration: none; cursor: pointer;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn:hover { opacity: 1; transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { box-shadow: 0 12px 28px -12px var(--accent); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { min-height: 44px; padding: 0 18px; }

/* ---------- Header ---------- */
.site-header {
	padding: 14px 0;
	background: rgba(12, 14, 18, .9);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--surface-2);
	z-index: 50;
}
.site-header { position: sticky; top: 0; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner {
	display: flex; flex-wrap: wrap; align-items: center;
	justify-content: space-between; gap: 4px 32px;
}
.brand {
	display: flex; align-items: center; gap: 10px; min-height: 44px;
	font-family: var(--font-display); font-weight: 700; font-size: 21px;
	text-decoration: none;
}
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; font-size: 15px; }
.nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.nav-list a:hover { color: var(--text); opacity: 1; }
.brand img { display: block; height: 44px; width: auto; }
.nav-cta { margin-left: 4px; }
.menu-toggle { display: none; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; border-top: 1px solid var(--surface-2); }
.section-title {
	font-weight: 700; font-size: clamp(30px, 4vw, 44px);
	line-height: 1.1; letter-spacing: -0.015em;
}
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.eyebrow {
	font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em;
	text-transform: uppercase; color: var(--accent);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; }
.hero::before {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(520px circle at var(--mx, 72%) var(--my, 32%), rgba(201, 242, 90, .10), transparent 62%);
	background: radial-gradient(520px circle at var(--mx, 72%) var(--my, 32%), color-mix(in srgb, var(--accent) 11%, transparent), transparent 62%);
}
.hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero-title { font-weight: 700; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.02em; }
.hero-sub { max-width: 540px; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-note { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.hero-visual { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-caption { text-align: center; font-size: 14px; color: var(--muted); }

/* Particle sphere behind the hero */
.hero-sphere {
	position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; opacity: .75;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 22%, #000 58%);
	mask-image: linear-gradient(90deg, transparent 0, transparent 22%, #000 58%);
}
@media (max-width: 820px) {
	.hero-sphere { opacity: .5; -webkit-mask-image: none; mask-image: none; }
}

/* 3D phone scene */
.scene { position: relative; perspective: 1100px; padding: 28px 0; }
.scene::before {
	content: ''; position: absolute; inset: 8% 4%; z-index: 0; filter: blur(34px);
	background: radial-gradient(closest-side, rgba(201, 242, 90, .22), transparent);
	background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 24%, transparent), transparent);
}
.frames {
	position: relative; z-index: 1; display: flex; gap: 14px; justify-content: center;
	transform-style: preserve-3d;
	transform: rotateX(calc(var(--py, 0) * -7deg)) rotateY(calc(var(--px, 0) * 11deg));
	transition: transform .25s ease-out;
}
.frame {
	position: relative; flex: 1 1 0; min-width: 0; max-width: 184px; aspect-ratio: 9 / 16;
	padding: 28px 14px 14px; border-radius: 24px;
	background: linear-gradient(165deg, #1D2430, #14181F 60%);
	border: 1px solid var(--line);
	box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
	display: flex; flex-direction: column; justify-content: space-between;
	transform-style: preserve-3d;
}
.frame::before {
	content: ''; position: absolute; top: 10px; left: 50%; width: 34px; height: 5px;
	margin-left: -17px; border-radius: 3px; background: var(--line);
}
.frame-play {
	position: absolute; top: 30%; left: 50%; width: 46px; height: 46px; margin-left: -23px;
	border-radius: 50%; background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
}
.frame-play::after {
	content: ''; position: absolute; top: 14px; left: 18px; border-style: solid;
	border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--muted);
}
.frame--hook .frame-play { border-color: var(--accent); }
.frame--hook .frame-play::after { border-left-color: var(--accent); }
@media (max-width: 640px) {
	.frame { padding: 26px 10px 12px; border-radius: 20px; }
	.frame-title { font-size: 18px; margin-bottom: 0; }
	.frame-text { display: none; }
}
.frame--l { transform: translateZ(0) rotateY(15deg); }
.frame--c { transform: translateZ(56px) scale(1.04); }
.frame--r { transform: translateZ(0) rotateY(-15deg); }
.frame-time { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.frame--hook .frame-time { color: var(--accent); }
.frame-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.1; margin-bottom: 6px; }
.frame-text { font-size: 13px; line-height: 1.4; color: var(--muted); }

/* Hero: optional creator photo in the centre phone */
.frame--photo { overflow: hidden; padding: 0; }
.frame--photo .frame-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.frame--photo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(12,14,18,.35) 0%, transparent 30%, rgba(12,14,18,.9) 100%); }
.frame--photo > :not(.frame-photo):not(.frame-play) { position: relative; z-index: 1; margin: 0; }
.frame--photo .frame-time, .frame--photo > div { padding-left: 14px; padding-right: 14px; }
.frame--photo .frame-time { padding-top: 28px; }
.frame--photo > div { padding-bottom: 14px; }
.frame--photo .frame-play { z-index: 1; top: 14px; right: 14px; left: auto; margin-left: 0; width: 34px; height: 34px; background: rgba(12, 14, 18, .45); }
.frame--photo .frame-play::after { top: 9px; left: 12px; border-width: 7px 0 7px 11px; }

/* ---------- Format marquee ---------- */
.marquee {
	overflow: hidden; padding: 20px 0;
	border-top: 1px solid var(--surface-2);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 48px; padding: 0 20px; }
.marquee-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 48px; list-style: none; margin: 0; padding: 0; }
.marquee-group[aria-hidden="true"] { display: none; }
.marquee-group li {
	display: flex; align-items: center; gap: 48px; white-space: nowrap;
	font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--muted);
}
.marquee-group li::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Cards, steps ---------- */
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card {
	position: relative; flex: 1 1 300px; min-width: 0; padding: 28px;
	border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.card h3 { font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.card p { color: var(--muted); }
.steps { display: flex; flex-wrap: wrap; gap: 20px; }
.step { position: relative; flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--line); }
.step:first-child { border-top-color: var(--accent); }
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.step:first-child .step-num { color: var(--accent); }
.step h3 { font-size: 24px; }
.step p { color: var(--muted); }

/* ---------- Packs ---------- */
.packs { display: flex; flex-wrap: wrap; align-items: stretch; gap: 20px; }
.pack {
	position: relative; flex: 1 1 320px; min-width: 0; padding: 32px; border-radius: 20px;
	background: var(--surface); border: 1px solid var(--line);
	display: flex; flex-direction: column; gap: 20px;
}
.pack--featured { border: 2px solid var(--accent); }
.pack-head { display: flex; flex-direction: column; gap: 6px; }
.pack-head h3 { font-size: 26px; }
.pack-head .muted { font-size: 15px; }
.pill {
	align-self: flex-start; padding: 4px 10px; border-radius: 999px;
	background: var(--accent); color: var(--ink);
	font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
}
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.price-amount { font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 1; }
.price .mono { font-size: 13px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.feature-list li { display: flex; gap: 12px; }
.feature-list li::before { content: '+'; color: var(--accent); font-family: var(--font-mono); }
.feature-list--minus li::before { content: '\2212'; color: var(--text); }
.pack .btn { margin-top: auto; }

/* ---------- Two columns, founding, FAQ ---------- */
.two-col { display: flex; flex-wrap: wrap; gap: 20px; }
.panel {
	flex: 1 1 400px; min-width: 0; padding: 32px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line);
	display: flex; flex-direction: column; gap: 16px;
}
.panel h3 { font-size: 24px; }
.panel .feature-list { color: var(--muted); font-size: 17px; gap: 12px; }
.faq { max-width: 820px; margin: 0 auto; }
.faq-list { border-top: 1px solid var(--line); margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
	padding: 20px 0; font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-family: var(--font-mono); transition: transform .25s var(--ease); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final-cta { padding: 88px 0; border-top: 1px solid var(--surface-2); background: var(--surface); }
.final-inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.final-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.final-inner h2 { font-weight: 700; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.02em; }
.final-inner p { font-size: 19px; color: var(--muted); }
.notice {
	padding: 16px 20px; border-radius: 12px; border: 1px dashed var(--line);
	font-family: var(--font-mono); font-size: 15px;
}

/* ---------- Footer ---------- */


/* ---------- Posts and pages ---------- */
.content-wrap { padding: 48px 0 88px; }
.entry { max-width: 760px; margin: 0 auto; }
.entry-title { font-weight: 700; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 12px; }
.entry-meta { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: 30px; margin-top: 1.8em; }
.entry-content h3 { font-size: 24px; margin-top: 1.6em; }
.entry-content a { color: var(--accent); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--accent); color: var(--muted); }
.entry-content pre { overflow-x: auto; padding: 16px; border-radius: 12px; background: var(--surface); font-family: var(--font-mono); font-size: 14px; }
.entry-content code { font-family: var(--font-mono); font-size: .9em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--muted); }
.post-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.post-card { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.post-card h2 { font-size: 28px; line-height: 1.15; margin-bottom: 8px; }
.post-card h2 a { text-decoration: none; }
.post-card p { color: var(--muted); }
.nav-links { display: flex; justify-content: space-between; gap: 16px; max-width: 760px; margin: 40px auto 0; font-family: var(--font-mono); font-size: 14px; }
.page-404 { text-align: center; padding: 80px 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }


/* ---------- Misc ---------- */
.accent { color: var(--accent); }
.icon { display: block; }
.pill--line { background: transparent; color: var(--muted); border: 1px solid var(--line); }

/* ---------- Mobile menu (lime slide-in) ---------- */
.menu, .menu-backdrop { display: none; }
@media (max-width: 820px) {
	.js .nav { display: none; }
	.js .menu-toggle {
		display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
		width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 12px;
		background: transparent; color: var(--text); cursor: pointer;
	}
	.menu-toggle-bars { display: block; width: 22px; }
	.menu-toggle-bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; }
	.menu-toggle-bars span + span { margin-top: 7px; width: 70%; margin-left: auto; }
	.nav { width: 100%; }
	.nav-list { flex: 1 1 auto; }

	.js .menu-backdrop {
		display: block; position: fixed; inset: 0; z-index: 80; background: rgba(5, 7, 10, .6);
		opacity: 0; pointer-events: none; transition: opacity .35s ease;
	}
	.js .menu {
		display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
		width: min(440px, 100%); padding: 20px 24px 28px; overflow-y: auto;
		background: var(--accent); color: var(--ink);
		transform: translateX(100%); visibility: hidden;
		transition: transform .5s var(--ease), visibility 0s linear .5s;
	}
	.menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
	.menu-open .menu { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
	.menu-open { overflow: hidden; }
	.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
	.menu-label { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
	.menu-close { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--ink); color: var(--accent); cursor: pointer; }
	.menu-list { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; }
	.menu-list li { border-bottom: 1px solid rgba(12, 14, 18, .18); overflow: hidden; }
	.menu-list a {
		display: block; padding: 14px 0; text-decoration: none; color: var(--ink);
		font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 10vw, 48px); line-height: 1.05; letter-spacing: -0.02em;
		transform: translateY(105%); transition: transform .6s var(--ease) calc(var(--i, 0) * 70ms + 150ms);
	}
	.menu-open .menu-list a { transform: none; }
	.menu-cta {
		display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: 28px;
		min-height: 52px; padding: 0 24px; border-radius: 12px; background: var(--ink); color: var(--accent);
		font-weight: 600; text-decoration: none;
	}
	.menu-social { list-style: none; display: flex; gap: 10px; margin: auto 0 0; padding: 28px 0 0; }
	.menu-social a { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); }
}
@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
	.js .menu { transform: none; opacity: 0; transition: opacity .2s ease, visibility 0s linear .2s; }
	.menu-open .menu { opacity: 1; transition: opacity .2s ease; }
	.menu-list a { transform: none; transition: none; }
}

/* ---------- Scroll scene: one concept, five hooks ---------- */
.scrub { border-top: 1px solid var(--surface-2); padding: 72px 0; }
.scrub-inner { display: flex; flex-direction: column; gap: 36px; }
.scrub-head { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.scrub-stage { position: relative; display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.hook {
	position: relative; flex: 0 0 150px; aspect-ratio: 9 / 16; padding: 14px; border-radius: 20px; scroll-snap-align: start;
	background: linear-gradient(165deg, #1D2430, #14181F 60%); border: 1px solid var(--line);
	display: flex; flex-direction: column; justify-content: space-between;
}
.hook-n { font-size: 11px; letter-spacing: .05em; color: var(--accent); }
.hook-time { font-size: 11px; color: var(--muted); }
.hook-text { margin-top: auto; margin-bottom: 10px; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.15; }
.hook-play { position: absolute; top: 24%; left: 50%; width: 38px; height: 38px; margin-left: -19px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); }
.hook-play::after { content: ''; position: absolute; top: 11px; left: 15px; border-style: solid; border-width: 8px 0 8px 12px; border-color: transparent transparent transparent var(--muted); }
.scrub-note { display: none; }
/* ---------- Inner pages ---------- */
.section-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 40px; }
.page-hero { padding: 72px 0 40px; }
.page-hero .container { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 860px; margin: 0 auto 0 max(0px, calc((100% - var(--maxw)) / 2)); }
.page-hero h1 { font-weight: 700; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.02em; }
.page-hero p { max-width: 640px; font-size: 19px; color: var(--muted); }
.page-body { padding: 24px 0 88px; }
.prose h2 { margin-bottom: 16px; }
.prose p { color: var(--muted); max-width: 680px; }
.prose p + p { margin-top: 14px; }
.contact-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.contact-grid .lead-form { flex: 3 1 420px; }
.contact-side { flex: 2 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-side h2 { font-size: 22px; margin-bottom: 8px; }
.contact-side .feature-list { color: var(--muted); font-size: 16px; }
.contact-line { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-height: 44px; }
.contact-line .icon { color: var(--accent); }
.style-note { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--accent); font-size: 15px; }
.demos-cta { margin-top: 56px; padding: 32px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.demos-cta h2 { font-size: clamp(22px, 3vw, 30px); }

/* ---------- Demo library ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: -12px 0 28px; }
.chip {
	min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--line); background: transparent; color: var(--muted);
	font: 500 15px/1 var(--font-body); transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .demos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .demos { grid-template-columns: minmax(0, 1fr); } }
.demo { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.demo[hidden] { display: none; }
.demo-media { position: relative; aspect-ratio: 9 / 14; background: linear-gradient(165deg, #1D2430, #10141A); overflow: hidden; }
.demo-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo-media.is-empty { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 28px 22px; }
.demo-hook { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; letter-spacing: -0.01em; }
.demo-soon { font-size: 12px; color: var(--accent); }
.demo-badge {
	position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px;
	background: rgba(12, 14, 18, .78); color: var(--text); font-size: 11px; letter-spacing: .03em;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.demo-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.demo-body h3 { font-size: 20px; line-height: 1.2; }
.demo-note { font-size: 14px; }
.demo-link { margin-top: auto; padding-top: 8px; color: var(--accent); font-weight: 600; text-decoration: none; }

/* ---------- Founding offer ---------- */
.founding-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.founding-copy h2 { font-weight: 700; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -0.02em; }
.founding-copy p { color: var(--muted); }
.founding-copy strong { color: var(--text); }
.founding-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
.founding-cta span { font-size: 14px; color: var(--muted); }

/* ---------- Lead form (Fluent Forms / CF7 shortcode) ---------- */
.lead-form { flex: 1 1 380px; min-width: 0; padding: 28px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); }
.lead-form label { display: block; margin-bottom: 6px; font-size: 14px; color: var(--muted); }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="url"], .lead-form input[type="tel"], .lead-form select, .lead-form textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line);
	background: var(--surface); color: var(--text); font: inherit;
}
.lead-form textarea { min-height: 110px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.lead-form p, .lead-form .ff-el-group { margin: 0 0 16px; }
.lead-form button, .lead-form input[type="submit"], .lead-form .ff-btn-submit {
	min-height: 48px; padding: 0 24px; border: 0; border-radius: 10px; cursor: pointer;
	background: var(--accent); color: var(--ink); font: 600 16px var(--font-body);
}

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 28px; border-top: 1px solid var(--surface-2); background: #090B0F; color: var(--muted); font-size: 15px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.footer-brand { flex: 2 1 280px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 380px; }
.footer-brand .brand img { height: 44px; }
.footer-col { flex: 1 1 140px; min-width: 0; }
.footer-col h2 { font: 500 13px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.footer-col a:hover { color: var(--text); opacity: 1; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; padding: 0; }
.social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); color: var(--text); transition: background-color .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); opacity: 1; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--surface-2); font-size: 13px; }

/* =====================================================================
   MOTION
   Everything below only applies when <html> has the .motion class.
   The class is added in <head> unless the visitor prefers reduced motion,
   and is removed again if motion.js fails to load. Without it, the page
   is fully visible and static.
   ===================================================================== */

/* Scroll progress bar (created by motion.js) */
.progress {
	position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
	background: var(--accent); transform-origin: 0 50%; transform: scaleX(0);
	pointer-events: none;
}

/* Reveal on scroll */
.motion [data-reveal] {
	--ty: 28px;
	opacity: 0;
	transform: translate3d(0, var(--ty), 0);
	transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms);
}
.motion [data-reveal].is-in { --ty: 0px; opacity: 1; }

/* Headline: words rise one by one */
.motion [data-split]:not(.is-split) { visibility: hidden; }
.motion .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.motion .wi {
	display: inline-block; transform: translateY(110%);
	transition: transform .85s var(--ease) calc(var(--i, 0) * 70ms + 120ms);
}
.motion .is-split.is-in .wi { transform: none; }

/* 3D tilt cards */
.motion [data-tilt] {
	transform: perspective(900px) translate3d(0, var(--ty, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transform-style: preserve-3d;
	will-change: transform;
}
.motion [data-tilt].is-live { transition: transform .18s ease-out, opacity .3s ease; }
.motion [data-tilt]::after {
	content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
	background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .08), transparent 62%);
	transition: opacity .25s;
}
.motion [data-tilt].is-hover::after { opacity: 1; }
.motion .pack .price, .motion .pack .pack-head h3 { transition: transform .25s var(--ease); }
.motion .pack.is-hover .price { transform: translateZ(34px); }
.motion .pack.is-hover .pack-head h3 { transform: translateZ(20px); }

/* Hero phones float */
@keyframes aiugc-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.motion .frame { animation: aiugc-float 6s ease-in-out infinite, aiugc-neon 6s linear infinite; }
.motion .frame--c { animation-delay: -2s; }
.motion .frame--r { animation-delay: -4s; }

/* Steps: accent line draws in */
.motion .step, .motion .step:first-child { border-top-color: var(--line); }
.motion .step::before {
	content: ''; position: absolute; top: -2px; left: 0; width: 100%; height: 2px;
	background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
	transition: transform .9s var(--ease) calc(var(--d, 0ms) + 200ms);
}
.motion .step.is-in::before { transform: scaleX(1); }
.motion .step:first-child .step-num { color: var(--muted); }
.motion .step.is-in .step-num { color: var(--accent); transition: color .4s ease calc(var(--d, 0ms) + 500ms); }

/* Marquee scrolls */
@keyframes aiugc-marquee { to { transform: translateX(calc(-50% - 24px)); } }
.motion .marquee-track { width: max-content; flex-wrap: nowrap; justify-content: flex-start; gap: 48px; padding: 0; animation: aiugc-marquee 42s linear infinite; }
.motion .marquee-group, .motion .marquee-group[aria-hidden="true"] { display: flex; flex-wrap: nowrap; flex-shrink: 0; justify-content: flex-start; }


/* ---------- Home: price strip ---------- */
.price-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .price-strip { grid-template-columns: minmax(0, 1fr); } }
.price-strip-item { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.price-strip-item.is-featured { border-color: var(--accent); }
.price-strip-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.price-strip-amount { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.price-strip .mono { font-size: 13px; }

/* ---------- Home: demo list (hover-to-peek on desktop, tap-to-open on touch) ---------- */
.hr { position: relative; }
.hr-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hr-list li { border-bottom: 1px solid var(--line); }
.hr-list a.hr-row { text-decoration: none; }
.hr-list a.hr-row:hover { opacity: 1; }
.hr-text { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.hr-tag { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.hr-preview, .hr-inline { display: none; }

/* Shared card look */
.hr-card {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 18px; overflow: hidden;
	background: linear-gradient(165deg, #1D2430, #10141A); border: 1px solid var(--line); border-radius: 16px;
}
.hr-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hr-hook { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.1; }
.hr-label { position: relative; font-size: 11px; color: var(--accent); }

/* Touch, phones and tablets: tap a row to open its preview inline */
@media not all and (hover: hover) and (pointer: fine) and (min-width: 821px) {
	.hr-list a.hr-row { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; padding: 18px 0; min-height: 64px; }
	.hr-text { display: block; font-size: clamp(22px, 5.6vw, 40px); }
	.hr-text > span + span { display: none; }
	.hr-tag { grid-column: 1; margin-top: 6px; }
	.hr-list a.hr-row::after {
		content: "+"; grid-column: 2; grid-row: 1 / span 2; width: 36px; height: 36px; display: grid; place-items: center;
		border: 1px solid var(--line); border-radius: 50%; font-size: 20px; line-height: 1; color: var(--muted);
		transition: transform .3s var(--ease), color .2s, border-color .2s;
	}
	.hr-list li.is-open a.hr-row .hr-text { color: var(--accent); }
	.hr-list li.is-open a.hr-row::after { transform: rotate(45deg); color: var(--accent); border-color: var(--accent); }
	.hr-inline { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
	.hr-list li.is-open .hr-inline { grid-template-rows: 1fr; }
	.hr-inline-in { overflow: hidden; min-height: 0; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
	.hr-inline .hr-card { width: min(240px, 100%); aspect-ratio: 3 / 4; margin-top: 4px; }
	.hr-open { margin-bottom: 20px; }
	.hr-inline-in::after { content: ""; flex-basis: 100%; height: 4px; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
	.hr-inline, .hr-list a.hr-row::after { transition: none; }
}

/* Desktop with a mouse: list on the left, a fixed preview panel on the right that swaps per row */
@media (hover: hover) and (pointer: fine) and (min-width: 821px) {
	.hr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 56px; align-items: start; }
	.hr-list { border-top: 0; }
	.hr-list li { border-bottom: 0; }
	.hr-list a.hr-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 6px; min-height: 64px; }
	.hr-list a.hr-row::before {
		content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; transform: scaleX(0); transform-origin: 0 50%;
		background: linear-gradient(90deg, var(--accent), rgba(201, 242, 90, .05)); box-shadow: 0 0 14px rgba(201, 242, 90, .55);
		transition: transform .6s var(--ease);
	}
	.hr-list a.hr-row::after { content: "\203A"; font-size: 30px; line-height: 1; color: var(--text); opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .3s var(--ease); }
	.hr-list li.is-on a.hr-row::before { transform: scaleX(1); }
	.hr-list li.is-on a.hr-row::after { opacity: 1; transform: none; }
	.hr-list li:not(.is-on) a.hr-row { border-bottom: 1px solid rgba(255, 255, 255, .06); }
	.hr-text { display: block; font-size: clamp(20px, 2.5vw, 34px); text-transform: uppercase; letter-spacing: -0.02em; }
	.hr-text > span + span { display: none; }
	.hr-text > span { color: #5A6270; transition: color .3s ease; }
	.hr-list li.is-on .hr-text > span, .hr-list a.hr-row:focus-visible .hr-text > span { color: var(--text); }
	.hr-tag { margin-left: auto; flex: none; opacity: 0; transition: opacity .3s ease; }
	.hr-list li.is-on .hr-tag { opacity: 1; }
	.hr-preview {
		display: block; position: sticky; top: 110px; width: 100%; aspect-ratio: 9 / 15; max-height: calc(100vh - 150px); justify-self: end;
		border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
	}
	.hr-preview .hr-card { position: absolute; inset: 0; border-radius: inherit; justify-content: flex-end; opacity: 0; transform: scale(1.04); transition: opacity .45s ease, transform .6s var(--ease); }
	.hr-preview .hr-card.is-current { opacity: 1; transform: none; }
	.hr-preview .hr-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 10, 14, .92) 0%, rgba(8, 10, 14, .35) 45%, transparent 70%); pointer-events: none; }
	.hr-preview .hr-card > * { z-index: 1; }
	.hr-preview .hr-card img { z-index: 0; }
	.hr-cap { position: relative; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.02; text-transform: uppercase; letter-spacing: -0.02em; }
	.hr-preview .hr-hook { font-size: 15px; font-weight: 500; color: var(--muted); }
}
.hr-cap { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 821px) { .hr-cap { display: block; } }

/* ---------- Neon edge on every video card (hero phones + hook cards) ---------- */
@property --na { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes aiugc-neon { to { --na: 360deg; } }
.frame, .hook {
	--neon: var(--accent);
	--neon-dim: rgba(201, 242, 90, .2);
	--neon-glow: rgba(201, 242, 90, .38);
	--neon-halo: rgba(201, 242, 90, .22);
}
@supports (color: color-mix(in srgb, red, blue)) {
	.frame, .hook {
		--neon-dim: color-mix(in srgb, var(--neon) 20%, transparent);
		--neon-glow: color-mix(in srgb, var(--neon) 40%, transparent);
		--neon-halo: color-mix(in srgb, var(--neon) 24%, transparent);
	}
}
.frame, .hook {
	border: 1.5px solid transparent;
	background:
		linear-gradient(165deg, #1D2430, #14181F 60%) padding-box,
		conic-gradient(from var(--na), var(--neon-dim) 0%, var(--neon) 11%, #fff 15%, var(--neon-dim) 32%, var(--neon-dim) 66%, var(--neon) 83%, var(--neon-dim) 100%) border-box;
	box-shadow: 0 0 14px -2px var(--neon-glow), 0 0 46px -10px var(--neon-halo), 0 30px 50px -26px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.frame--photo { background: #14181F padding-box, conic-gradient(from var(--na), var(--neon-dim) 0%, var(--neon) 11%, #fff 15%, var(--neon-dim) 32%, var(--neon-dim) 66%, var(--neon) 83%, var(--neon-dim) 100%) border-box; }

/* ---------- Founding section: card + floating platform badges ---------- */
.founding {
	display: flex; flex-wrap: wrap; align-items: center; gap: 32px 40px; overflow: hidden;
	padding: clamp(24px, 4vw, 56px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
}
.founding-visual { display: none; flex: 1 1 340px; min-width: 0; flex-direction: column; gap: 14px; }
.js .founding-visual { display: flex; }
.badge-field { display: block; width: 100%; height: clamp(300px, 36vw, 400px); touch-action: pan-y; }
.founding-caption { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); text-align: center; }

/* ---------- Scroll-scrubbed reveal (Why small brands stall, How it works) ---------- */
.scrub-on [data-scrub-in] {
	opacity: var(--p, 0);
	translate: 0 calc((1 - var(--p, 0)) * 64px);
	scale: calc(.93 + var(--p, 0) * .07);
	will-change: opacity, translate, scale;
}

/* ---------- Hook cards with video: muted loop preview + full-screen player ---------- */
.hook--video { overflow: hidden; }
.hook-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; opacity: 0; transition: opacity .4s ease; background: #14181F; }
.hook-video.is-on { opacity: 1; }
.hook--video::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; background: linear-gradient(180deg, rgba(12, 14, 18, .4) 0%, transparent 32%, rgba(12, 14, 18, .9) 100%); }
.hook--video > :not(.hook-video):not(.hook-still):not(.hook-open) { position: relative; z-index: 2; }
.hook--video > .hook-play { position: absolute; top: 12px; right: 12px; left: auto; margin: 0; width: 32px; height: 32px; background: rgba(12, 14, 18, .5); border-color: rgba(255, 255, 255, .35); }
.hook--video > .hook-play::after { top: 8px; left: 12px; border-width: 7px 0 7px 10px; border-left-color: #fff; }
.hook-open { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hook-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hook--video:hover .hook-play { background: var(--accent); border-color: var(--accent); }
.hook--video:hover .hook-play::after { border-left-color: var(--ink); }

.vlb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); overflow: hidden; }
.vlb::backdrop { background: rgba(6, 8, 11, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vlb-stage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; }
.vlb-box {
	position: relative; width: min(92vw, calc((100vh - 130px) * 9 / 16), 520px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000;
	transform-origin: 0 0; border: 1.5px solid var(--accent);
	box-shadow: 0 0 18px -2px rgba(201, 242, 90, .45), 0 0 70px -10px rgba(201, 242, 90, .3), 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.vlb-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.vlb-cap { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; max-width: min(92vw, 520px); }
.vlb-n { font-size: 12px; letter-spacing: .05em; color: var(--accent); }
.vlb-t { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.2; }
.vlb-note { font-size: 11px; color: var(--muted); }
.vlb-close, .vlb-nav {
	position: absolute; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
	border: 1px solid var(--line); background: rgba(20, 24, 31, .9); color: var(--text); font-size: 26px; line-height: 1;
}
.vlb-close { top: 16px; right: 16px; }
.vlb-nav { top: 50%; margin-top: -22px; }
.vlb-prev { left: max(12px, calc(50% - 340px)); }
.vlb-next { right: max(12px, calc(50% - 340px)); }
.vlb-close:hover, .vlb-nav:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.vlb-close:focus-visible, .vlb-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 640px) { .vlb-nav { top: auto; bottom: 18px; margin-top: 0; } .vlb-prev { left: 16px; } .vlb-next { right: 16px; } }

/* ---------- About page: intro-style layout (big title, wide video, bold lead, muted body) ---------- */
.about-hero { padding: 64px 0 8px; }
.about-hero .container { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 940px; margin: 0 auto 0 max(0px, calc((100% - var(--maxw)) / 2)); }
.about-title { font-weight: 700; font-size: clamp(38px, 6.6vw, 80px); line-height: 1.03; letter-spacing: -0.03em; margin-top: -8px; }
.about-video {
	position: relative; width: 100%; margin: 0; aspect-ratio: 16 / 9; overflow: hidden;
	border-radius: 20px; border: 1px solid var(--line); background: #0C0E12;
}
.about-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-mute {
	position: absolute; right: 14px; bottom: 14px; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
	border-radius: 12px; border: 1px solid var(--line); background: rgba(12, 14, 18, .85); color: var(--text); cursor: pointer;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.about-mute:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.about-mute:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.about-mute[aria-pressed="true"] .i-off, .about-mute[aria-pressed="false"] .i-on { display: none; }
.about-lead { font-size: clamp(22px, 3vw, 32px); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; color: var(--text); }
.about-body { max-width: 880px; display: flex; flex-direction: column; gap: 22px; margin-bottom: 8px; }
.about-body p { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.6; color: var(--muted); }

/* Animated stand-in until the real intro video is uploaded */
.kinetic {
	position: absolute; inset: 0; display: grid; place-items: center;
	background:
		radial-gradient(ellipse at 18% 0%, rgba(201, 242, 90, .12), transparent 55%),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 28px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 28px), #0C0E12;
}
.kinetic-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25em .4em; padding: 0 5%; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 4.4vw, 46px); letter-spacing: -0.03em; line-height: 1.15; }
.kinetic-pill { display: inline-block; overflow: hidden; height: 1.3em; padding: 0 .45em; border-radius: .3em; background: var(--accent); color: var(--ink); }
.kinetic-words { display: flex; flex-direction: column; }
.kinetic-words > span { height: 1.3em; line-height: 1.3em; white-space: nowrap; }
.kinetic-note { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 11px; letter-spacing: .05em; color: var(--muted); }
@keyframes aiugc-words {
	0%, 16% { transform: translateY(0); } 20%, 36% { transform: translateY(-1.3em); } 40%, 56% { transform: translateY(-2.6em); }
	60%, 76% { transform: translateY(-3.9em); } 80%, 96% { transform: translateY(-5.2em); } 100% { transform: translateY(-6.5em); }
}
.motion .kinetic-words { animation: aiugc-words 10s cubic-bezier(.7, 0, .2, 1) infinite; }
.hook-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hook--still > .hook-play { display: none; }

/* Fluent Forms: keep dark fields on focus/autofill */
.lead-form .ff-el-form-control:focus,
.lead-form .ff-el-form-control:active,
.lead-form input.ff-el-form-control:focus,
.lead-form textarea.ff-el-form-control:focus,
.lead-form select.ff-el-form-control:focus {
	background-color: #14181F !important; color: #F2F4F8 !important;
	border-color: #C9F25A !important; box-shadow: 0 0 0 3px rgba(201, 242, 90, .18) !important; outline: 0; caret-color: #C9F25A;
}
.lead-form .ff-el-form-control:-webkit-autofill,
.lead-form .ff-el-form-control:-webkit-autofill:focus {
	-webkit-text-fill-color: #F2F4F8; -webkit-box-shadow: 0 0 0 1000px #14181F inset; caret-color: #C9F25A;
}

/* Packages page: four cards across, custom pack */
.page-body .packs .pack { flex: 1 1 250px; }
.pack--custom { border-style: dashed; border-color: rgba(201, 242, 90, .45); background: transparent; }
.pack--custom .price-amount { font-size: 44px; }

/* keep the small play badge pinned top-right on video hook cards */
.hook.hook--video > span.hook-play.hook-play { position: absolute; top: 12px; right: 12px; left: auto; margin: 0; }

/* ---------- Big statement: outlined words + scroll-scrubbed fill ---------- */
.statement { padding: clamp(56px, 10vw, 140px) 0; }
.statement-text {
	margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
	font-size: clamp(38px, 8.6vw, 118px); line-height: .98; letter-spacing: -.02em; text-wrap: balance;
}
.st-w { --p: 1; color: rgba(255, 255, 255, calc(.14 + var(--p) * .86)); }
.st-o { color: transparent; -webkit-text-stroke: clamp(1.5px, .2vw, 3px) rgba(201, 242, 90, calc(.2 + var(--p) * .8)); }
@media (prefers-reduced-motion: reduce) { .st-w { --p: 1 !important; } }

/* ---------- Neon edge on the pack cards ---------- */
.pack { --neon: var(--accent); --neon-dim: rgba(201, 242, 90, .2); --neon-glow: rgba(201, 242, 90, .34); --neon-halo: rgba(201, 242, 90, .2); }
@supports (color: color-mix(in srgb, red, blue)) {
	.pack { --neon-dim: color-mix(in srgb, var(--neon) 20%, transparent); --neon-glow: color-mix(in srgb, var(--neon) 38%, transparent); --neon-halo: color-mix(in srgb, var(--neon) 22%, transparent); }
}
.pack {
	border: 1.5px solid transparent;
	background:
		linear-gradient(165deg, #1D2430, #14181F 60%) padding-box,
		conic-gradient(from var(--na), var(--neon-dim) 0%, var(--neon) 11%, #fff 15%, var(--neon-dim) 32%, var(--neon-dim) 66%, var(--neon) 83%, var(--neon-dim) 100%) border-box;
	box-shadow: 0 0 14px -2px var(--neon-glow), 0 0 46px -10px var(--neon-halo), 0 30px 50px -26px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.pack--featured { box-shadow: 0 0 22px -2px var(--neon-glow), 0 0 70px -8px var(--neon-halo), 0 30px 50px -26px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08); }
.pack--custom { border-style: solid; }
.motion .pack { animation: aiugc-neon 6s linear infinite; }
.motion .pack:nth-child(2) { animation-delay: -1.5s; }
.motion .pack:nth-child(3) { animation-delay: -3s; }
.motion .pack:nth-child(4) { animation-delay: -4.5s; }
.st-nb { white-space: nowrap; }

/* ---------- Hook accordion (all screen sizes): one slat opens and plays, the rest stand as vertical strips ---------- */
.scrub { padding: clamp(56px, 8vw, 110px) 0; }
.scrub-stage {
	--gap: 10px; --wt: 5.6; --dur: 5s; --ease: cubic-bezier(.075, .82, .165, 1);
	--ow: calc((100cqw - 4 * var(--gap)) * var(--wt) / (4 + var(--wt)));
	container-type: inline-size; position: relative; display: flex; gap: var(--gap); overflow: visible; scroll-snap-type: none;
	height: clamp(400px, 44vw, 600px); padding: 0; margin: 0; counter-reset: none;
}
.scrub-stage .hook {
	flex: 1 1 0; min-width: 0; height: 100%; aspect-ratio: auto; position: relative; display: block; padding: 0; margin: 0;
	border-radius: clamp(16px, 2vw, 28px); overflow: hidden; cursor: pointer; transform: none; opacity: 1; z-index: auto;
	border: 1px solid var(--line); background: #14181F; box-shadow: none; animation: none; filter: brightness(.55);
	transition: flex-grow .9s var(--ease), filter .6s var(--ease), box-shadow .6s var(--ease);
}
.scrub-stage .hook.is-open {
	flex-grow: var(--wt); filter: none; cursor: default; border: 1.5px solid transparent;
	background:
		linear-gradient(165deg, #1D2430, #14181F 60%) padding-box,
		conic-gradient(from var(--na), var(--neon-dim) 0%, var(--neon) 11%, #fff 15%, var(--neon-dim) 32%, var(--neon-dim) 66%, var(--neon) 83%, var(--neon-dim) 100%) border-box;
	box-shadow: 0 0 18px -2px var(--neon-glow), 0 0 56px -10px var(--neon-halo);
}
.motion .scrub-stage .hook.is-open { animation: aiugc-neon 6s linear infinite; }
/* picture is drawn at the open width and centred, so a closed slat shows the middle strip and the picture holds still */
.scrub-stage .hook-video, .scrub-stage .hook-still {
	inset: 0 auto 0 50%; width: var(--ow); max-width: none; height: 100%; transform: translateX(-50%); object-fit: cover; border-radius: 0;
}
.scrub-stage .hook.hook > span.hook-play { display: none; }
/* vertical label on closed slats */
.scrub-stage .hook.hook > span.hook-v {
	position: absolute; left: 50%; bottom: 20px; z-index: 2; margin: 0; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl;
	font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
	font-size: clamp(14px, 1.7vw, 22px); color: #fff; transition: opacity .3s ease;
}
.scrub-stage .hook.is-open > span.hook-v { opacity: 0; }
/* caption on the open slat, laid out at open width */
.scrub-stage .hook.hook > span.hook-n,
.scrub-stage .hook.hook > span.hook-text,
.scrub-stage .hook.hook > span.hook-time,
.scrub-stage .hook.hook > span.hook-cta { position: absolute; z-index: 2; margin: 0; opacity: 0; transition: opacity .35s ease; }
.scrub-stage .hook.is-open > span.hook-n, .scrub-stage .hook.is-open > span.hook-text,
.scrub-stage .hook.is-open > span.hook-time, .scrub-stage .hook.is-open > span.hook-cta { opacity: 1; transition-delay: .3s; }
.scrub-stage .hook.hook > span.hook-n { left: 26px; top: 24px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.scrub-stage .hook.hook > span.hook-text { left: 26px; bottom: 62px; width: calc(var(--ow) - 52px); max-width: 80%; font-size: clamp(22px, 3vw, 40px); line-height: 1.05; letter-spacing: -.01em; }
.scrub-stage .hook.hook > span.hook-time { left: 26px; bottom: 30px; font-size: 12px; }
.scrub-stage .hook.hook > span.hook-cta { right: 26px; bottom: 28px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.scrub-stage .hook-open { cursor: pointer; }
.scrub-stage .hook:not(.is-open) .hook-open { cursor: pointer; }
/* progress bar along the bottom of the open slat; its end moves the strip on */
.scrub-stage .hook.hook > span.hook-bar { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .14); opacity: 0; pointer-events: none; }
.scrub-stage .hook.hook > span.hook-bar > i { display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, #5b8cff, var(--accent)); }
.scrub-stage.is-run .hook.is-open > span.hook-bar { opacity: 1; }
.scrub-stage.is-run .hook.is-open > span.hook-bar > i { animation: aiugc-hookbar var(--dur) linear forwards; }
.scrub-stage.is-hold .hook.is-open > span.hook-bar > i { animation-play-state: paused; }
@keyframes aiugc-hookbar { to { transform: scaleX(1); } }
.scrub-note { display: block; margin: 22px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
@media (max-width: 820px) {
	.scrub-stage { --gap: 6px; --wt: 5.2; height: min(118vw, 520px); }
	.scrub-stage .hook { border-radius: 16px; }
	.scrub-stage .hook.hook > span.hook-n { left: 16px; top: 16px; font-size: 11px; }
	.scrub-stage .hook.hook > span.hook-text { left: 16px; bottom: 50px; font-size: 20px; }
	.scrub-stage .hook.hook > span.hook-time { left: 16px; bottom: 20px; }
	.scrub-stage .hook.hook > span.hook-cta { right: 16px; bottom: 19px; }
	.scrub-stage .hook.hook > span.hook-v { bottom: 16px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.scrub-stage .hook { transition: none; }
	.scrub-stage.is-run .hook.is-open > span.hook-bar { opacity: 0; }
}

/* "Let's talk" text link (to WhatsApp) */
.talk-link {
	display: inline-block; margin-top: 28px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; transition: text-decoration-thickness .2s ease, opacity .2s ease;
}
.talk-link:hover { text-decoration-thickness: 3px; opacity: 1; }
.final-copy .talk-link { margin: 4px 0 18px; }

/* Outlined lime words in headings */
.ol { color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
@supports not (-webkit-text-stroke: 1px red) { .ol { color: var(--accent); } }
h1 .ol { -webkit-text-stroke-width: 2px; }

/* Contact form: neon glow border */
.lead-form {
	--neon: var(--accent); --neon-dim: rgba(201, 242, 90, .18);
	border: 1.5px solid transparent;
	background:
		linear-gradient(var(--bg), var(--bg)) padding-box,
		conic-gradient(from var(--na), var(--neon-dim) 0%, var(--neon) 11%, #fff 15%, var(--neon-dim) 32%, var(--neon-dim) 66%, var(--neon) 83%, var(--neon-dim) 100%) border-box;
	box-shadow: 0 0 16px -2px rgba(201, 242, 90, .32), 0 0 60px -12px rgba(201, 242, 90, .2);
}
.motion .lead-form { animation: aiugc-neon 6s linear infinite; }

/* How it works: layered, stacking cards */
.steps { display: block; }
.step, .step:first-child {
	--i: 0; position: sticky; top: calc(84px + var(--i) * 14px); z-index: 1; margin: 0 0 22px; padding: 28px;
	flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: 8px 28px; min-height: 170px;
	border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 20px;
	background: linear-gradient(165deg, #1D2430, #14181F 70%);
	box-shadow: 0 -14px 30px -16px rgba(0, 0, 0, .65), 0 30px 50px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.step:nth-child(2) { --i: 1; z-index: 2; }
.step:nth-child(3) { --i: 2; z-index: 3; }
.step:nth-child(4) { --i: 3; z-index: 4; margin-bottom: 0; }
.step-num, .step:first-child .step-num, .motion .step:first-child .step-num, .motion .step.is-in .step-num {
	font-family: var(--font-display); font-size: clamp(44px, 7vw, 72px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); flex: 0 0 auto; min-width: 1.4em;
}
.step h3 { flex: 1 1 200px; font-size: clamp(24px, 3vw, 32px); align-self: center; }
.step p { flex: 1 1 100%; max-width: 62ch; margin: 0; padding-left: 0; }
@media (min-width: 821px) { .step p { flex: 2 1 320px; align-self: center; } }
.motion .step::before { display: none; }

/* Intro loader: once per visit, only when <html> has .ld (set in <head>) */
.ld-wrap { display: none; }
.ld .ld-wrap {
	display: grid; place-items: center; position: fixed; inset: 0; z-index: 9999; background: var(--bg); pointer-events: none;
	animation: ld-out .4s ease 1.4s forwards;
}
.ld-box { position: relative; padding: 22px 34px; border: 1px solid rgba(201, 242, 90, .14); animation: ld-in .4s ease both; }
.ld-name { position: relative; display: inline-block; font-family: var(--font-display); font-size: clamp(30px, 8vw, 52px); font-weight: 700; letter-spacing: -.01em; line-height: 1; color: var(--text); white-space: nowrap; }
.ld-name b { font-weight: 700; }
.ld-tw { position: relative; display: inline-block; }
.ld-type { display: inline-block; clip-path: inset(0 100% 0 0); animation: ld-type .7s steps(7) .35s forwards; }
.ld-type em { font-style: normal; font-weight: 500; color: var(--accent); }
.ld-cur { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--accent); left: 0; animation: ld-cur .7s steps(7) .35s forwards, ld-blink .5s steps(1) 1.05s infinite; }
.ld-c { position: absolute; width: 14px; height: 14px; border: 0 solid var(--text); opacity: .85; }
.ld-c1 { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.ld-c2 { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.ld-c3 { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.ld-c4 { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.ld-rec { position: absolute; top: 22px; left: 22px; display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.ld-rec s { width: 7px; height: 7px; border-radius: 50%; background: #E5484D; animation: ld-blink .8s steps(1) infinite; }
@keyframes ld-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ld-type { to { clip-path: inset(0 0 0 0); } }
@keyframes ld-cur { from { left: 0; } to { left: 100%; } }
@keyframes ld-blink { 50% { opacity: 0; } }
@keyframes ld-out { to { opacity: 0; visibility: hidden; } }

/* Layered cards: same stacking effect as the "How it works" steps */
.cards--stack { display: block; counter-reset: stk; }
.cards--stack .card {
	--i: 0; position: sticky; top: calc(84px + var(--i) * 14px); z-index: 1; counter-increment: stk; margin: 0 0 22px; padding: 28px; min-height: 170px;
	display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 8px 28px; width: auto; flex: none;
	border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(165deg, #1D2430, #14181F 70%);
	box-shadow: 0 -14px 30px -16px rgba(0, 0, 0, .65), 0 30px 50px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.cards--stack .card:nth-child(2) { --i: 1; z-index: 2; }
.cards--stack .card:nth-child(3) { --i: 2; z-index: 3; margin-bottom: 0; }
.cards--stack .card::before {
	content: '0' counter(stk); font-family: var(--font-display); font-size: clamp(44px, 7vw, 72px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); flex: 0 0 auto; min-width: 1.4em;
}
.cards--stack .card h3 { flex: 1 1 200px; font-size: clamp(24px, 3vw, 32px); align-self: center; margin: 0; }
.cards--stack .card p { flex: 1 1 100%; max-width: 62ch; margin: 0; }
@media (min-width: 821px) { .cards--stack .card p { flex: 2 1 320px; align-self: center; } }
