/*
 * Migrate to Easyco page styles (templates/page-migrate.php).
 * Scoped to .ez.ez-migrate so they do not leak onto other Easyco 2 pages.
 * Shared layout (nav, footer, breadcrumb, FAQ, form) comes from ez.css.
 * No hero video slot. Classes that would collide with ez.css (.who, .tg, .chip, .pk, .n)
 * are prefixed mg-.
 */

.ez.ez-migrate {
	--paper: #f3efe2;
	--paper2: #fbf9f1;
	--ink: #1b2e26;
	--ink2: #4b5a53;
	--gd: #139a5c;
}
.ez.ez-migrate section,
.ez.ez-migrate header { overflow-x: clip; }

.ez.ez-migrate .sh { padding: 56px 0 96px; }
.ez.ez-migrate .sh .w { grid-template-columns: 1fr 1fr; gap: 56px; }
.ez.ez-migrate .sh h1 { font-size: 76px; line-height: 1.02; }
.ez.ez-migrate .sh h1 .g { text-wrap: balance; display: inline-block; }
.ez.ez-migrate .sh .lead { max-width: 470px; }
.ez.ez-migrate .sh .sub { color: var(--m); font-size: 14px; margin-top: 18px; }

.ez.ez-migrate .lh-art { display: block; width: 100%; height: auto; border-radius: 24px; }
.ez.ez-migrate .lh-art text { font-family: Inter, system-ui, sans-serif; }
.ez.ez-migrate .lh-ring { transform-origin: 400px 352px; transform-box: view-box; animation: mg-lh-spin 28s linear infinite; }
.ez.ez-migrate .lh-stamp { transform-box: fill-box; transform-origin: center; animation: mg-lh-thunk .5s .5s cubic-bezier(.2, .9, .3, 1.3) both; }
.ez.ez-migrate .mg-truck { animation: mg-roll 5s ease-in-out infinite alternate; }
.ez.ez-migrate .mg-dash { stroke-dasharray: 7 7; animation: mg-march 1.4s linear infinite; }
@keyframes mg-lh-spin { to { transform: rotate(360deg); } }
@keyframes mg-lh-thunk {
	from { opacity: 0; transform: rotate(-8deg) scale(1.6); }
	to { opacity: 1; transform: rotate(-8deg) scale(1); }
}
@keyframes mg-roll { from { transform: translateX(-5px); } to { transform: translateX(7px); } }
@keyframes mg-march { to { stroke-dashoffset: -14; } }

/* Who it's for: luggage tags */
.ez.ez-migrate .mg-who { padding: 104px 0; border-top: 1px solid var(--line); background: var(--bg2); }
.ez.ez-migrate .mg-who .w { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.ez.ez-migrate .mg-who .lead { margin-top: 16px; max-width: 470px; }
.ez.ez-migrate .mg-tg-lbl {
	color: var(--m); font-size: 13px; font-weight: 600; letter-spacing: .12em;
	text-transform: uppercase; margin-bottom: 6px; padding-left: 4px;
}
.ez.ez-migrate .mg-tags { display: grid; gap: 18px; padding-left: 46px; }
.ez.ez-migrate .mg-tg {
	position: relative; display: flex; align-items: center; gap: 18px;
	padding: 20px 28px 20px 66px; background: var(--paper); color: var(--ink);
	border-radius: 8px 20px 20px 8px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .6);
	transform: rotate(var(--r, 0deg)); transition: transform .25s ease;
}
.ez.ez-migrate .mg-tg:hover { transform: rotate(0deg) translateX(6px); }
.ez.ez-migrate .mg-tg:before {
	content: ""; position: absolute; left: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
	border-radius: 50%; background: var(--bg2);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, .45), 0 0 0 4px rgba(19, 154, 92, .25);
}
.ez.ez-migrate .mg-tg:after {
	content: ""; position: absolute; left: -46px; top: calc(50% - 1px); width: 58px;
	border-top: 2px dashed rgba(34, 194, 122, .7);
}
.ez.ez-migrate .mg-tg b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.ez.ez-migrate .mg-tg span { display: block; color: var(--ink2); font-size: 15px; line-height: 1.5; margin-top: 2px; }
.ez.ez-migrate .mg-tg.mix {
	background: transparent; color: var(--t);
	border: 2px dashed rgba(34, 194, 122, .55); box-shadow: none;
}
.ez.ez-migrate .mg-tg.mix:before { background: transparent; box-shadow: 0 0 0 2px rgba(34, 194, 122, .55); }
.ez.ez-migrate .mg-tg.mix span { color: var(--m); }

/* What moves over: the boxes */
.ez.ez-migrate .mg-mv {
	padding: 104px 0 112px; border-top: 1px solid var(--line); position: relative;
	background: radial-gradient(rgba(34, 194, 122, .10) 1.2px, transparent 1.4px) 0 0 / 26px 26px;
}
.ez.ez-migrate .mg-mv .lead { margin-top: 14px; max-width: 600px; }
.ez.ez-migrate .mg-bxs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px 26px; margin-top: 60px; }
.ez.ez-migrate .mg-bx {
	position: relative; grid-column: span 2; padding: 58px 28px 26px;
	border-radius: 6px 6px 20px 20px; border: 1px solid var(--line);
	box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .55);
	transform: rotate(var(--r, 0deg)); transition: transform .25s ease;
	background:
		linear-gradient(90deg, transparent calc(50% - 26px), rgba(34, 194, 122, .38) calc(50% - 26px), rgba(34, 194, 122, .38) calc(50% + 26px), transparent calc(50% + 26px)) 0 0 / 100% 34px no-repeat,
		linear-gradient(rgba(0, 0, 0, .16), rgba(0, 0, 0, .16)) 0 0 / 100% 34px no-repeat,
		var(--card);
	display: flex; flex-direction: column;
}
.ez.ez-migrate .mg-bx:hover { transform: rotate(0deg) translateY(-4px); }
.ez.ez-migrate .mg-bx.half { grid-column: span 3; }
.ez.ez-migrate .mg-bx .mg-no {
	position: absolute; left: 18px; top: 42px; transform: rotate(-4deg);
	background: var(--paper2); color: var(--ink); border-radius: 3px;
	padding: 4px 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em;
	box-shadow: 0 4px 8px rgba(0, 0, 0, .35);
}
.ez.ez-migrate .mg-bx .ico {
	width: 52px; height: 52px; border-radius: 15px; background: rgba(34, 194, 122, .14);
	display: grid; place-items: center; margin: 12px 0 20px auto;
}
.ez.ez-migrate .mg-bx .ico svg {
	width: 28px; height: 28px; stroke: var(--g); fill: none; stroke-width: 1.6;
	stroke-linecap: round; stroke-linejoin: round;
}
.ez.ez-migrate .mg-bx h3 { font-size: 23px; line-height: 1.22; font-weight: 500; letter-spacing: -.015em; margin-bottom: 10px; }
.ez.ez-migrate .mg-bx p { color: var(--m); font-size: 15.5px; line-height: 1.6; flex: 1; }
.ez.ez-migrate .mg-chip {
	align-self: flex-start; margin-top: 16px; font-size: 12px; font-weight: 600;
	letter-spacing: .05em; text-transform: uppercase; color: var(--g);
	border: 1px dashed rgba(34, 194, 122, .5); border-radius: 999px; padding: 5px 12px;
}
.ez.ez-migrate .mg-ld {
	margin-top: 20px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .18);
	font-size: 13.5px; color: var(--m);
}
.ez.ez-migrate .mg-ld a { color: var(--g); font-weight: 600; margin-left: 6px; }
.ez.ez-migrate .mg-ld a:hover { text-decoration: underline; }
.ez.ez-migrate .mg-bx.paper {
	background:
		linear-gradient(90deg, transparent calc(50% - 26px), rgba(19, 154, 92, .32) calc(50% - 26px), rgba(19, 154, 92, .32) calc(50% + 26px), transparent calc(50% + 26px)) 0 0 / 100% 34px no-repeat,
		linear-gradient(rgba(27, 46, 38, .10), rgba(27, 46, 38, .10)) 0 0 / 100% 34px no-repeat,
		var(--paper);
	border-color: rgba(0, 0, 0, .08); color: var(--ink);
}
.ez.ez-migrate .mg-bx.paper p,
.ez.ez-migrate .mg-bx.paper .mg-ld { color: var(--ink2); }
.ez.ez-migrate .mg-bx.paper .mg-ld { border-top-color: rgba(27, 46, 38, .25); }
.ez.ez-migrate .mg-bx.paper .ico { background: rgba(19, 154, 92, .14); }
.ez.ez-migrate .mg-bx.paper .ico svg { stroke: var(--gd); }
.ez.ez-migrate .mg-bx.paper .mg-chip { color: var(--gd); border-color: rgba(19, 154, 92, .5); }
.ez.ez-migrate .mg-bx.paper .mg-ld a { color: var(--gd); }
.ez.ez-migrate .mg-bx.paper .mg-no { background: var(--ink); color: var(--paper2); }
.ez.ez-migrate .mg-bx.mint {
	background:
		linear-gradient(90deg, transparent calc(50% - 26px), rgba(34, 194, 122, .42) calc(50% - 26px), rgba(34, 194, 122, .42) calc(50% + 26px), transparent calc(50% + 26px)) 0 0 / 100% 34px no-repeat,
		linear-gradient(rgba(0, 0, 0, .18), rgba(0, 0, 0, .18)) 0 0 / 100% 34px no-repeat,
		linear-gradient(160deg, #1f4a38, #183b2d);
	border-color: rgba(34, 194, 122, .35);
}
.ez.ez-migrate .mg-bx.mint .ico { background: rgba(34, 194, 122, .22); }
.ez.ez-migrate .mg-fine {
	display: flex; align-items: center; gap: 22px; margin-top: 40px;
	border: 2px dashed rgba(34, 194, 122, .55); border-radius: 20px;
	padding: 26px 30px; transform: rotate(-.3deg);
}
.ez.ez-migrate .mg-fine svg {
	flex: none; width: 44px; height: 44px; stroke: var(--g); fill: none; stroke-width: 1.6;
	stroke-linecap: round; stroke-linejoin: round;
}
.ez.ez-migrate .mg-fine p { font-size: 17px; line-height: 1.55; color: var(--t); }
.ez.ez-migrate .mg-fine p b { color: var(--g); font-weight: 600; }

/* How the move works */
.ez.ez-migrate .mg-jr { padding: 112px 0; border-top: 1px solid var(--line); background: var(--bg2); }
.ez.ez-migrate .mg-jr .lead { margin-top: 14px; max-width: 560px; }
.ez.ez-migrate .mg-trail {
	list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 28px; margin-top: 64px; position: relative;
}
.ez.ez-migrate .mg-trail:before {
	content: ""; position: absolute; left: 28px; right: calc(25% - 28px); top: 28px;
	border-top: 2px dashed rgba(34, 194, 122, .45);
}
.ez.ez-migrate .mg-trail:after {
	content: ""; position: absolute; left: 84px; top: 11px; width: 38px; height: 34px;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 34'><rect x='3' y='8' width='32' height='24' rx='3' fill='%23f3efe2'/><rect x='3' y='8' width='32' height='7' rx='3' fill='%23d3cdb6'/><rect x='15' y='8' width='8' height='24' fill='%2322c27a' opacity='.7'/></svg>") center / contain no-repeat;
	animation: mg-ride 7s ease-in-out infinite alternate; z-index: 0;
	filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .4));
}
@keyframes mg-ride { from { left: 84px; } to { left: calc(75% - 6px); } }
.ez.ez-migrate .mg-trail li { position: relative; }
.ez.ez-migrate .mg-trail .bd {
	position: relative; width: 56px; height: 56px; border-radius: 50%;
	background: var(--bg2); border: 2px solid var(--g);
	display: grid; place-items: center; color: var(--g); margin-bottom: 26px; z-index: 1;
}
.ez.ez-migrate .mg-trail .bd svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ez.ez-migrate .mg-trail li:last-child .bd { background: var(--g); color: #0c1712; box-shadow: 0 0 0 8px rgba(34, 194, 122, .15); }
.ez.ez-migrate .mg-trail .mg-n { display: block; color: var(--g); font-size: 13px; font-weight: 600; letter-spacing: .14em; margin-bottom: 10px; }
.ez.ez-migrate .mg-trail h3 { font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -.015em; margin-bottom: 10px; }
.ez.ez-migrate .mg-trail p { color: var(--m); font-size: 15.5px; line-height: 1.6; max-width: 250px; }

/* Contact: packing list */
.ez.ez-migrate .mg-pk {
	position: relative; margin-top: 34px; max-width: 340px;
	background: var(--paper2); color: var(--ink); border-radius: 4px 4px 18px 4px;
	padding: 34px 26px 24px; transform: rotate(-2deg);
	box-shadow: 0 20px 34px -18px rgba(0, 0, 0, .65);
	background-image: repeating-linear-gradient(180deg, transparent 0 33px, rgba(27, 46, 38, .09) 33px 34px);
}
.ez.ez-migrate .mg-pk:before {
	content: ""; position: absolute; left: 50%; top: -11px; width: 92px; height: 24px; margin-left: -46px;
	border-radius: 2px; background: rgba(34, 194, 122, .42); transform: rotate(2deg);
}
.ez.ez-migrate .mg-pk h4 {
	font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
	color: var(--gd); margin-bottom: 10px;
}
.ez.ez-migrate .mg-pk ul { list-style: none; display: grid; gap: 0; }
.ez.ez-migrate .mg-pk li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 34px; font-weight: 500; }
.ez.ez-migrate .mg-pk li i {
	flex: none; width: 17px; height: 17px; border: 2px solid var(--gd); border-radius: 5px; position: relative;
}
.ez.ez-migrate .mg-pk li.x { color: var(--ink2); text-decoration: line-through; text-decoration-color: rgba(27, 46, 38, .5); }
.ez.ez-migrate .mg-pk li.x i { border-style: dashed; }

@media (prefers-reduced-motion: reduce) {
	.ez.ez-migrate .lh-ring,
	.ez.ez-migrate .lh-stamp,
	.ez.ez-migrate .mg-truck,
	.ez.ez-migrate .mg-dash,
	.ez.ez-migrate .mg-trail:after { animation: none; }
	.ez.ez-migrate .mg-bx,
	.ez.ez-migrate .mg-tg { transition: none; }
}
@media (max-width: 1000px) and (min-width: 801px) {
	.ez.ez-migrate .sh h1 { font-size: 60px; }
	.ez.ez-migrate .mg-trail { grid-template-columns: 1fr 1fr; row-gap: 44px; }
	.ez.ez-migrate .mg-trail:before,
	.ez.ez-migrate .mg-trail:after { display: none; }
	.ez.ez-migrate .mg-bx,
	.ez.ez-migrate .mg-bx.half { grid-column: span 3; }
	.ez.ez-migrate .mg-bx.half:last-of-type { grid-column: span 6; }
	.ez.ez-migrate .mg-who .w { gap: 44px; }
}
@media (max-width: 800px) {
	.ez.ez-migrate .sh { padding: 32px 0 64px; }
	.ez.ez-migrate .sh .w,
	.ez.ez-migrate .faq .w,
	.ez.ez-migrate .talk .w,
	.ez.ez-migrate .mg-who .w { grid-template-columns: 1fr; gap: 36px; }
	.ez.ez-migrate .sh h1 { font-size: 52px; }
	.ez.ez-migrate .sh .lead { margin: 20px 0 28px; }
	.ez.ez-migrate .mg-who { padding: 72px 0; }
	.ez.ez-migrate .mg-tags { padding-left: 30px; }
	.ez.ez-migrate .mg-tg { padding: 18px 20px 18px 54px; }
	.ez.ez-migrate .mg-tg:before { left: 18px; }
	.ez.ez-migrate .mg-tg:after { left: -30px; width: 44px; }
	.ez.ez-migrate .mg-tg b { font-size: 18px; }
	.ez.ez-migrate .mg-mv { padding: 72px 0 80px; }
	.ez.ez-migrate .mg-bxs { grid-template-columns: 1fr; gap: 34px; margin-top: 44px; }
	.ez.ez-migrate .mg-bx,
	.ez.ez-migrate .mg-bx.half { grid-column: auto; padding: 58px 22px 22px; --r: 0deg; }
	.ez.ez-migrate .mg-bx:nth-child(odd) { --r: -.6deg; }
	.ez.ez-migrate .mg-bx:nth-child(even) { --r: .6deg; }
	.ez.ez-migrate .mg-fine { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; }
	.ez.ez-migrate .mg-fine p { font-size: 16px; }
	.ez.ez-migrate .mg-jr { padding: 72px 0; }
	.ez.ez-migrate .mg-trail { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
	.ez.ez-migrate .mg-trail:after { display: none; }
	.ez.ez-migrate .mg-trail:before {
		left: 27px; right: auto; top: 28px; bottom: 80px;
		border-top: 0; border-left: 2px dashed rgba(34, 194, 122, .45);
	}
	.ez.ez-migrate .mg-trail li { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 34px; }
	.ez.ez-migrate .mg-trail .bd { margin: 0; grid-row: 1 / span 3; }
	.ez.ez-migrate .mg-trail p { max-width: none; }
}
@media (max-width: 400px) {
	.ez.ez-migrate .sh h1 { font-size: 43px; }
	.ez.ez-migrate h2 { font-size: 27px; }
	.ez.ez-migrate .mg-tags { padding-left: 22px; }
	.ez.ez-migrate .mg-tg:after { left: -22px; width: 36px; }
	.ez.ez-migrate .mg-bx h3 { font-size: 21px; }
}
