/* Page wrapper and shared buttons. */

.ap-site {
	position: relative;
	background: var(--ap-color-graphite);
}

.ap-page {
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: var(--ap-z-page);
	background: var(--ap-color-paper);
	min-height: 100vh;
}

.ap-main {
	flex: 1 0 auto;
	min-width: 0;
}

/* Buttons. Hover swaps the colors, as in the prototype. */
.ap-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--ap-font-body);
	font-weight: 600;
	font-size: 16px;
	padding: 16px 28px;
	border: 0;
	border-radius: var(--ap-radius-button);
	cursor: pointer;
}

.ap-btn--accent {
	background: var(--ap-color-accent);
	color: var(--ap-color-white);
}

.ap-btn--accent:hover {
	background: var(--ap-color-graphite);
	color: var(--ap-color-white);
}

.ap-btn--dark {
	background: var(--ap-color-graphite);
	color: var(--ap-color-white);
}

.ap-btn--dark:hover {
	background: var(--ap-color-accent);
	color: var(--ap-color-white);
}

.ap-btn--outline {
	background: transparent;
	color: var(--ap-color-graphite);
	border: 1px solid var(--ap-color-muted);
}

.ap-btn--outline:hover {
	background: var(--ap-color-graphite);
	color: var(--ap-color-white);
	border-color: var(--ap-color-graphite);
}

@media (max-width: 600px) {
	.ap-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}
