/* The plug for AbleFrog under the tool: an ablefrog.com feature tile, a size up. The text sits on the
   dark pond; AbleFrog's own timecode settings run off the card's right and bottom edges. */

.plug-section {
	padding: clamp(64px, 8vw, 104px) 0 clamp(80px, 10vw, 128px);
	background: var(--paper);
}

.plug {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: center;
	gap: clamp(28px, 4vw, 56px);
	max-width: 980px;
	margin: 0 auto;
	padding-left: clamp(28px, 4.5vw, 56px);
	border-radius: var(--r-xl);
	background: var(--pond);
	color: var(--on-dark);
	overflow: hidden;
}

.plug-text {
	padding: clamp(36px, 5vw, 56px) 0;
}

.plug-icon {
	width: 52px;
	height: 52px;
	margin-bottom: 22px;
}

.plug h2 {
	font-size: clamp(2rem, 3.6vw, 2.8rem);
	letter-spacing: -0.035em;
	line-height: 1;
}

.plug p {
	max-width: 26ch;
	margin-top: 14px;
	color: var(--on-dark-muted);
	font-size: 1.15rem;
	line-height: 1.45;
}

.plug-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.plug-quiet {
	border-color: rgb(255 255 255 / 0.22);
	background: transparent;
	color: var(--on-dark);
}

.plug-quiet:hover {
	border-color: var(--on-dark);
	background: transparent;
}

.plug :focus-visible {
	outline-color: var(--frog-bright);
}

/* the screenshot, set back from the top and bleeding off the right and bottom */
.plug-shot {
	align-self: end;
	margin: clamp(36px, 5vw, 56px) 0 0;
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 0.14);
	border-right: 0;
	border-bottom: 0;
	border-radius: var(--r-m) 0 0 0;
	box-shadow: 0 -20px 60px -30px rgb(0 0 0 / 0.6);
}

.plug-shot img {
	width: 100%;
	min-width: 420px;
	height: auto;
}

@media (max-width: 760px) {
	.plug {
		grid-template-columns: 1fr;
		gap: 0;
		padding-left: 0;
	}

	.plug-text {
		padding: 32px 28px 28px;
	}

	.plug-shot {
		margin: 4px 0 0 28px;
	}

	.plug-shot img {
		min-width: 0;
	}
}
