/* ablefrog.com. Sticker-style: black outlines and hard offset shadows, like the logo. */

:root {
	--ink: #000;
	--frog: #749338;
	--frog-dark: #4c6420;
	--frog-light: #a9c46a;
	--lily: #dde8c2;
	--page: #f3f6ea;
	--paper: #fff;
	--pond: #1f2b17;
	--pond-2: #2a3a1e;
	--tongue: #f2788c;
	--muted: #4a5240;

	--line: 2.5px solid var(--ink);
	--lift: 5px 5px 0 var(--ink);
	--lift-small: 3px 3px 0 var(--ink);
	--radius: 18px;
	--radius-small: 10px;

	--font: "Archivo", system-ui, sans-serif;
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--frog-dark);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 2px;
}

h1,
h2,
h3 {
	margin: 0;
	font-stretch: 112%;
	line-height: 1.02;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.6rem, 6.5vw, 4.75rem);
	font-weight: 900;
}

h2 {
	font-size: clamp(2.1rem, 4.6vw, 3.4rem);
	font-weight: 900;
}

h3 {
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

p {
	margin: 0;
	text-wrap: pretty;
}

:focus-visible {
	outline: 3px solid var(--frog);
	outline-offset: 3px;
	border-radius: 6px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.narrow {
	max-width: calc(760px + var(--gutter) * 2);
}

.section {
	padding: clamp(72px, 10vw, 128px) 0;
}

.page-top {
	padding-top: clamp(48px, 7vw, 88px);
}

.section-head {
	max-width: 640px;
	margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head p {
	margin-top: 16px;
	font-size: 1.2rem;
	color: var(--muted);
}

/* ---------- buttons and badges */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: var(--line);
	border-radius: 999px;
	background: var(--frog);
	color: var(--ink);
	font: inherit;
	font-weight: 800;
	font-stretch: 105%;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.12s ease;
}

.button:hover {
	background: var(--frog-light);
}

.button:disabled {
	cursor: default;
	opacity: 0.55;
	background: var(--paper);
}

.button-quiet {
	background: var(--paper);
}

.button-quiet:hover {
	background: var(--lily);
}

.button-ink {
	background: var(--ink);
	color: var(--paper);
}

.button-ink:hover {
	background: #2b2b2b;
}

.button-big {
	padding: 16px 28px;
	font-size: 1.15rem;
}

.button-small {
	padding: 8px 16px;
}

.badge {
	display: inline-block;
	padding: 3px 11px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: var(--tongue);
	color: var(--ink);
	font-size: 0.8rem;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0;
	vertical-align: middle;
	white-space: nowrap;
}

/* ---------- screenshots */

.shot {
	margin: 0;
	overflow: hidden;
	border: var(--line);
	border-radius: var(--radius);
	background: #1b1d1f;
	box-shadow: var(--lift);
}

.shot img {
	width: 100%;
}

/* ---------- header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: color-mix(in srgb, var(--page) 88%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 2px solid transparent;
	transition: border-color 0.2s;
}

.site-header.scrolled {
	border-bottom-color: var(--ink);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 76px;
}

.brand img {
	width: 158px;
	height: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 6px;
}

.site-nav a:not(.button) {
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.site-nav a:not(.button):hover,
.site-nav a[aria-current="page"]:not(.button) {
	background: var(--lily);
}

.site-nav .button {
	margin-left: 10px;
}

.menu-button {
	display: none;
	width: 46px;
	height: 46px;
	padding: 10px;
	border: var(--line);
	border-radius: 12px;
	background: var(--paper);
	cursor: pointer;
}

.menu-button svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: var(--ink);
	stroke-width: 2.5;
	stroke-linecap: round;
}

@media (max-width: 900px) {
	.menu-button {
		display: block;
	}

	.site-nav {
		position: absolute;
		top: 76px;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		padding: 12px var(--gutter) 20px;
		background: var(--page);
		border-bottom: var(--line);
	}

	.site-nav.open {
		display: flex;
	}

	.site-nav a:not(.button) {
		padding: 12px 14px;
		font-size: 1.1rem;
	}

	.site-nav .button {
		margin: 8px 0 0;
	}
}

/* ---------- hero */

.hero {
	padding: clamp(40px, 7vw, 88px) 0 16px;
	overflow: hidden;
}

.hero-title {
	max-width: 13ch;
	font-size: clamp(3.2rem, 9.4vw, 8.4rem);
	font-stretch: 118%;
	line-height: 0.92;
	letter-spacing: -0.035em;
}

.hero-lede {
	max-width: 34ch;
	margin-top: 24px;
	font-size: clamp(1.2rem, 2.2vw, 1.5rem);
	line-height: 1.4;
	color: var(--muted);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.hero-small {
	margin-top: 18px;
	font-size: 0.95rem;
	color: var(--muted);
}

.hero-other {
	margin-top: 4px;
	font-size: 0.95rem;
}

.hero-shot {
	position: relative;
	isolation: isolate;
	margin-top: clamp(72px, 8vw, 104px);
}

/* the frog peeks over the top edge of the window */
.peek {
	position: absolute;
	z-index: -1;
	top: 0;
	right: 9%;
	width: clamp(96px, 13vw, 170px);
	translate: 0 -62%;
	animation: peek 0.7s cubic-bezier(0.3, 1.5, 0.5, 1) 0.4s both;
}

@keyframes peek {
	from {
		translate: 0 0;
	}
}

.shot-hero {
	border-width: 3px;
	box-shadow: 10px 10px 0 var(--ink);
}

.hero-eyebrow {
	margin-bottom: 18px;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--frog-dark);
}

.pad {
	width: 100%;
	height: 100%;
	overflow: visible;
}

.pad-leaf {
	fill: var(--frog);
	stroke: var(--ink);
	stroke-width: 3;
	stroke-linejoin: round;
}

.pad-vein {
	fill: none;
	stroke: var(--frog-dark);
	stroke-width: 2;
	stroke-linecap: round;
}

/* ---------- features */

.feature {
	display: grid;
	grid-template-columns: 5fr 7fr;
	align-items: center;
	gap: clamp(32px, 6vw, 88px);
	margin-bottom: clamp(72px, 9vw, 120px);
}

.feature-text {
	max-width: 440px;
}

.feature-text h3 {
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	font-weight: 900;
}

.feature-text p {
	margin-top: 14px;
	font-size: 1.15rem;
	color: var(--muted);
}

.feature-flip .feature-text {
	order: 2;
}

.feature-icon {
	display: block;
	width: 56px;
	height: 56px;
	margin-bottom: 18px;
}

.feature-shots {
	position: relative;
	display: grid;
	gap: 18px;
	justify-items: center;
}

/* tall panel crops stay narrow so they read at their real size */
.shot-tall {
	max-width: 400px;
}

#propresenter .shot-extra {
	max-width: 520px;
	justify-self: start;
	margin-top: -60px;
	margin-left: -20px;
	z-index: 1;
}

@media (max-width: 820px) {
	.feature {
		grid-template-columns: 1fr;
	}

	.feature-flip .feature-text {
		order: 0;
	}

	#propresenter .shot-extra {
		margin: 0;
	}
}

/* ---------- secondary feature cards */

.cards {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 22px;
}

/* rows of three, then the last two share a row */
.card {
	grid-column: span 2;
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 26px;
	border: var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	box-shadow: var(--lift);
}

.card-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.card-text .feature-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 4px;
}

.card p {
	color: var(--muted);
}

.card:nth-last-child(-n + 2) {
	grid-column: span 3;
}

/* the AbleSet card spans the row, its text beside its screenshot */
.card-wide {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(24px, 5vw, 64px);
	padding: clamp(26px, 4vw, 44px);
	background: var(--lily);
}

.card-wide h3 {
	font-size: clamp(1.6rem, 2.6vw, 2rem);
	font-weight: 900;
}

.card-wide p {
	font-size: 1.1rem;
}

.card-shot {
	justify-self: center;
	width: 100%;
	max-width: 380px;
}

.card-shot img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: top;
}

/* dashed: not here yet */
.card-soon {
	border-style: dashed;
	background: color-mix(in srgb, var(--paper) 55%, var(--page));
	box-shadow: none;
}

@media (max-width: 900px) {
	.cards {
		grid-template-columns: 1fr 1fr;
	}

	.card,
	.card:nth-last-child(-n + 2) {
		grid-column: span 1;
	}

	.card-wide {
		grid-column: 1 / -1;
	}

	/* five small cards: the last one takes the full row */
	.card:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.cards,
	.card-wide {
		grid-template-columns: 1fr;
	}
}

/* ---------- coming-soon feature rows */

.feature-soon .badge {
	margin-bottom: 12px;
}

.feature-soon-art {
	position: relative;
	justify-self: center;
	display: grid;
	place-items: center;
	width: 100%;
	max-width: 560px;
	aspect-ratio: 16 / 10;
	border: 2.5px dashed var(--ink);
	border-radius: var(--radius);
	background: var(--lily);
}

.feature-soon-art .pad {
	width: 46%;
	height: auto;
	rotate: 150deg;
}

.feature-soon-art img {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 20%;
	translate: -50% -68%;
}

/* ---------- pricing */

.price-cards {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1fr;
	align-items: start;
	gap: 24px;
}

.price-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 30px;
	border: var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	box-shadow: var(--lift);
}

.price-card h3 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.price-card > p:not(.price) {
	color: var(--muted);
}

.price-card .button {
	align-self: flex-start;
	margin-top: 6px;
}

.price-main {
	background: var(--frog);
	padding: 36px;
	box-shadow: 8px 8px 0 var(--ink);
}

.price-main h3 {
	font-size: 1.9rem;
	font-weight: 900;
}

.price-soon {
	border-style: dashed;
	background: color-mix(in srgb, var(--paper) 55%, var(--page));
	box-shadow: none;
}

.price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
}

.price-amount {
	font-size: clamp(2.4rem, 4vw, 3.2rem);
	font-weight: 900;
	font-stretch: 115%;
	line-height: 1;
	letter-spacing: -0.03em;
}

.price-main .price-amount {
	font-size: clamp(3.4rem, 6vw, 4.6rem);
}

.price-note {
	font-weight: 600;
	color: var(--muted);
}

.price-main .price-note {
	color: var(--ink);
}

.ticks {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ticks li {
	position: relative;
	padding-left: 30px;
}

/* a tiny lily pad for each tick */
.ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 18px;
	height: 18px;
	border: 2px solid var(--ink);
	border-radius: 50%;
	background: conic-gradient(from 60deg, transparent 0 32deg, var(--frog-light) 32deg);
}

.price-main .ticks li::before {
	background: conic-gradient(from 60deg, transparent 0 32deg, var(--lily) 32deg);
}

.fine-print {
	margin-top: 28px;
	font-size: 0.95rem;
	color: var(--muted);
}

@media (max-width: 960px) {
	.price-cards {
		grid-template-columns: 1fr;
		max-width: 560px;
	}
}

/* ---------- cloud and sign-up */

.cloud {
	background: var(--pond);
	color: var(--page);
}

.cloud-inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	align-items: center;
	gap: clamp(32px, 6vw, 80px);
}

.cloud-text h2 {
	margin-top: 16px;
}

.cloud-text p {
	margin-top: 18px;
	max-width: 52ch;
	font-size: 1.15rem;
	color: #c9d3b8;
}

@media (max-width: 820px) {
	.cloud-inner {
		grid-template-columns: 1fr;
	}
}

.cloud-art {
	position: relative;
	justify-self: center;
	width: min(340px, 70vw);
}

.cloud-art .pad {
	rotate: 200deg;
}

.cloud-art img {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 46%;
	translate: -50% -66%;
}

.price-cards-two {
	grid-template-columns: 1.25fr 1fr;
}

/* ---------- download call to action */

.cta-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.cta-frog {
	width: 120px;
	margin-bottom: 24px;
}

.cta p {
	margin-top: 14px;
	font-size: 1.2rem;
	color: var(--muted);
}

.download-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 30px;
}

.download-buttons .button {
	padding: 16px 28px;
	font-size: 1.15rem;
}

/* ---------- download page */

.download-inner {
	display: grid;
	gap: clamp(56px, 8vw, 96px);
	justify-items: center;
}

.download-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.download-frog {
	width: 140px;
	margin-bottom: 28px;
}

.download-head > p {
	margin-top: 14px;
	font-size: 1.2rem;
	color: var(--muted);
}

.download-head .download-started {
	margin-top: 22px;
	padding: 10px 18px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: var(--lily);
	color: var(--ink);
	font-size: 1rem;
}

.download-head .version-line {
	margin-top: 22px;
	font-size: 0.95rem;
}

.requirements {
	width: 100%;
	max-width: 620px;
	padding: 34px;
	border: var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	box-shadow: var(--lift);
}

.requirements h2 {
	margin-bottom: 20px;
	font-size: 1.9rem;
}

.requirements-optional {
	margin-top: 20px;
	color: var(--muted);
}

.requirements-optional strong {
	color: var(--ink);
}

/* ---------- FAQ */

.narrow h1,
.narrow h2 {
	margin-bottom: 36px;
}

.faq-list {
	display: grid;
	gap: 14px;
}

.faq-item {
	border: var(--line);
	border-radius: var(--radius-small);
	background: var(--paper);
	box-shadow: var(--lift-small);
}

.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	font-size: 1.15rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item p {
	padding: 0 22px 20px;
	color: var(--muted);
}

.faq-mark {
	position: relative;
	flex: none;
	width: 28px;
	height: 28px;
	border: 2px solid var(--ink);
	border-radius: 50%;
	background: var(--lily);
	transition: rotate 0.2s ease, background-color 0.2s;
}

.faq-mark::before,
.faq-mark::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2.5px;
	background: var(--ink);
	translate: -50% -50%;
}

.faq-mark::after {
	rotate: 90deg;
}

.faq-item[open] .faq-mark {
	rotate: 45deg;
	background: var(--frog);
}

/* ---------- 404 */

.lost-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	text-align: center;
	padding-bottom: 40px;
}

.lost-pad {
	width: 150px;
	margin-bottom: 18px;
	rotate: 20deg;
}

.lost-inner p {
	font-size: 1.2rem;
	color: var(--muted);
}

.lost-inner .button {
	margin-top: 12px;
}

/* ---------- footer */

.site-footer {
	padding: 64px 0 40px;
	background: var(--ink);
	color: #cfd6c4;
}

.footer-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 28px 40px;
}

.footer-brand img {
	width: 170px;
}

.footer-brand p {
	margin-top: 12px;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	gap: 6px 22px;
	max-width: 420px;
}

.site-footer a {
	color: var(--page);
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
}

.footer-contact a {
	color: var(--frog-light);
}

.back-to-top {
	justify-self: end;
	font-weight: 700;
}

.footer-small {
	grid-column: 1 / -1;
	display: grid;
	gap: 8px;
	padding-top: 24px;
	border-top: 1px solid #333;
	font-size: 0.85rem;
	color: #8f9884;
}

@media (max-width: 700px) {
	.footer-inner {
		grid-template-columns: 1fr;
	}

	.back-to-top {
		justify-self: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

.pad-center {
	fill: var(--frog);
}

@media (max-width: 960px) {
	.price-cards-two {
		grid-template-columns: 1fr;
	}
}
