/* "La Lettre nomade" card. Colours of the current site (#902729); the new site will switch to its palette. */

@font-face {
	font-family: "Alice";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/alice-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Alice";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/alice-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.anl-wrap {
	--anl-accent: #902729;
	--anl-accent-hover: #a8363a;
	--anl-paper: #f9f3e8;
	--anl-ink: #2e1a20;
	--anl-ink-2: #5a4148;
	display: flex;
	justify-content: center;
	padding: 40px 16px 60px;
}

.anl-card {
	position: relative;
	width: 100%;
	max-width: 640px;
	padding: 44px 52px 40px;
	background: var(--anl-paper);
	color: var(--anl-ink);
	font-family: Montserrat, sans-serif;
	transform: rotate(-1.2deg);
	box-shadow: 0 18px 40px -18px rgba(46, 26, 32, .35), 0 2px 6px rgba(46, 26, 32, .08);
}

/* Content counter-rotated: only the paper is tilted, text and fields stay level. */
.anl-card > * {
	transform: rotate(1.2deg);
}

.anl-env {
	display: block;
	margin-bottom: 14px;
}

.anl-stamp {
	position: absolute;
	top: 22px;
	right: 26px;
	transform: rotate(6deg);
}

.anl-card .anl-title {
	margin: 0 0 14px;
	font-family: Alice, Georgia, serif;
	font-size: 34px;
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: none;
	color: var(--anl-ink);
}

.anl-intro {
	max-width: 46ch;
	margin: 0 0 26px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--anl-ink-2);
}

.anl-card .anl-label {
	display: block;
	margin-bottom: 6px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--anl-accent);
}

/* !important: Kalium styles every input with a white box. */
.anl-card input[type="email"] {
	width: 100% !important;
	height: auto !important;
	padding: 6px 0 8px !important;
	border: 0 !important;
	border-bottom: 2px dotted var(--anl-accent) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font: 15px Montserrat, sans-serif !important;
	color: var(--anl-ink) !important;
	outline: none;
}

.anl-card input[type="email"]:focus {
	border-bottom-style: solid !important;
}

.anl-card input[type="email"]::placeholder {
	color: #a8999b;
}

/* CF7 autop and the Turnstile plugin add <br> between every control. */
.anl-card .wpcf7-form br {
	display: none;
}

.anl-card .anl-consent {
	display: block;
	margin: 12px 0 18px;
	font-size: 11.5px;
	line-height: 1.55;
	color: var(--anl-ink-2);
}

.anl-card .wpcf7-form p {
	margin: 0;
}

/* Turnstile, injected by its plugin before the button. */
.anl-card .cf7-cf-turnstile {
	margin: 0 0 18px !important;
}

.anl-card input.wpcf7-submit {
	display: inline-block;
	margin: 0 0 0 -12px;
	padding: 18px 40px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 60' preserveAspectRatio='none'%3E%3Cpath fill='%23902729' d='M6 14c22-6 60-4 92-6 34-2 70-3 104 1 8 1 14 4 11 7-2 2-10 2-6 4 5 3 8 6 5 9-3 4-12 3-8 6 4 4 6 8 0 11-12 5-40 4-62 5-40 2-82 3-118-1-10-1-20-3-21-7 0-3 8-4 4-6-6-3-10-6-6-10 3-3 10-3 6-6-5-3-6-6-1-7z'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important;
	box-shadow: none !important;
	font: 600 12px Montserrat, sans-serif !important;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #fff !important;
	cursor: pointer;
	transition: filter .15s;
}

.anl-card input.wpcf7-submit:hover,
.anl-card input.wpcf7-submit:focus-visible {
	filter: brightness(1.18);
}

.anl-card input.wpcf7-submit:focus-visible {
	outline: 2px dashed var(--anl-accent);
	outline-offset: 4px;
}

.anl-card .wpcf7-spinner {
	vertical-align: middle;
}

.anl-card .wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 10px 14px;
	border: 1px solid var(--anl-accent);
	font-size: 13px;
	line-height: 1.5;
	color: var(--anl-ink);
}

.anl-card .wpcf7-not-valid-tip {
	font-size: 12px;
	color: var(--anl-accent);
}

.anl-status {
	margin: 0 0 20px;
	padding: 10px 14px;
	border-left: 3px solid var(--anl-accent);
	background: #fff;
	font-size: 14px;
	line-height: 1.5;
	color: var(--anl-ink);
}

@media (max-width: 600px) {
	.anl-card {
		padding: 34px 24px 30px;
	}

	.anl-stamp {
		top: 10px;
		right: 6px;
		transform: scale(.75) rotate(6deg);
	}

	.anl-card .anl-title {
		font-size: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.anl-card input.wpcf7-submit {
		transition: none;
	}
}
