/* Recognized Footer — matches recognized.fm: charcoal, neon green, DM Sans. Colors come from Settings. */
.rf-footer {
	--rf-ground: #1A1919; --rf-surface: #252424; --rf-field: #2C2B2B; --rf-line: #333232;
	--rf-text: #FFFFFF; --rf-muted: #939393; --rf-accent: #62FA3C;
	--rf-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rf-mark: "Archivo", "DM Sans", sans-serif;
	--rf-pad: clamp(20px, 5.6vw, 80px);
	background: var(--rf-ground);
	color: var(--rf-text);
	font-family: var(--rf-body);
	font-size: 16px;
	line-height: 1.5;
	border-top: 1px solid #414040;
	overflow: hidden;
	clear: both;
	-webkit-font-smoothing: antialiased;
}
.rf-footer *, .rf-footer *::before, .rf-footer *::after { box-sizing: border-box; }
.rf-footer a { color: var(--rf-text); text-decoration: none; transition: color .15s ease; }
.rf-footer a:hover { color: var(--rf-accent); }
.rf-footer a:focus-visible, .rf-footer button:focus-visible, .rf-footer input:focus-visible, .rf-footer summary:focus-visible {
	outline: 2px solid var(--rf-accent); outline-offset: 3px; border-radius: 3px;
}
.rf-footer h2, .rf-footer h3, .rf-footer p, .rf-footer ul { margin: 0; padding: 0; }
.rf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Shield the footer from theme styles on generic elements (nav, ul, details…) */
.rf-footer nav, .rf-footer ul, .rf-footer li, .rf-footer details, .rf-footer summary, .rf-footer form {
	background: transparent; box-shadow: none; margin: 0;
}
.rf-footer nav, .rf-footer li, .rf-footer summary { padding: 0; border: 0; }
.rf-footer li::before, .rf-footer li::marker { content: none; }
.rf-footer h2, .rf-footer h3 { text-transform: none; background: none; border: 0; }
.rf-footer .rf-col__title h3 { text-transform: uppercase; }

/* Tagline + newsletter card */
.rf-top-band {
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 64px; align-items: center;
	padding: clamp(48px, 5vw, 72px) var(--rf-pad) clamp(32px, 4vw, 56px);
}
.rf-tagline { display: grid; gap: 18px; }
.rf-tagline__text {
	font-family: var(--rf-body); font-weight: 500; font-size: clamp(34px, 3.6vw, 52px);
	line-height: 1.05; letter-spacing: -0.025em; color: var(--rf-text); max-width: 14em;
}
.rf-footer .rf-tagline__by { color: var(--rf-accent); font-size: 16px; justify-self: start; }
.rf-footer a.rf-tagline__by:hover { color: var(--rf-text); }

.rf-nl {
	display: grid; gap: 14px; padding: clamp(24px, 2.4vw, 32px);
	background: var(--rf-surface); border: 1px solid var(--rf-line); border-radius: 10px;
}
.rf-nl__title { font-family: var(--rf-body); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--rf-text); }
.rf-nl__text { color: var(--rf-muted); font-size: 15px; }
.rf-nl__form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 2px; }
.rf-nl__field { display: grid; gap: 6px; flex: 1 1 220px; }
.rf-nl__field label { font-size: 13px; font-weight: 500; color: var(--rf-muted); }
.rf-nl__field input {
	height: 52px; width: 100%; padding: 0 16px; border-radius: 4px;
	border: 1px solid #4E4E4E; background: var(--rf-field); color: var(--rf-text); font: inherit; font-size: 16px;
}
.rf-nl__field input::placeholder { color: var(--rf-muted); opacity: 1; }
.rf-btn {
	height: 52px; padding: 0 28px; border: 0; border-radius: 4px;
	background: var(--rf-accent); color: var(--rf-ground);
	font: inherit; font-size: 16px; font-weight: 500; cursor: pointer;
	transition: filter .15s ease, transform .15s ease;
}
.rf-btn:hover { filter: brightness(1.08); }
.rf-btn:disabled { opacity: .7; cursor: progress; }
.rf-nl__msg { font-size: 15px; line-height: 1.45; }
.rf-nl__msg:empty { display: none; }
.rf-nl__msg.is-ok { color: var(--rf-accent); }
.rf-nl__msg.is-error { color: #FF8F80; }
.rf-footer .rf-nl__msg a { color: var(--rf-text); text-decoration: underline; text-underline-offset: 3px; }
.rf-nl__field input[aria-invalid="true"] { border-color: #FF8F80; }
.rf-hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.rf-btn:active { transform: translateY(1px); }

/* Link columns */
.rf-cols {
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px;
	margin: 0 var(--rf-pad); padding: 40px 0 48px; border-top: 1px solid var(--rf-line);
}
.rf-col summary { list-style: none; }
.rf-col summary::-webkit-details-marker { display: none; }
.rf-col__title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.rf-col__title h3 {
	font-family: var(--rf-body); font-size: 12px; font-weight: 700; letter-spacing: .12em;
	text-transform: uppercase; color: var(--rf-accent);
}
.rf-chev { display: none; color: var(--rf-accent); transition: transform .2s ease; }
.rf-col__list { list-style: none; display: grid; gap: 14px; }
.rf-col__list a { font-size: 17px; }
.rf-link { display: inline-flex; align-items: baseline; gap: 6px; }
.rf-ext { opacity: .55; flex: none; transform: translateY(1px); }
.rf-footer .rf-link--muted { color: var(--rf-muted); }

/* Bottom bar */
.rf-bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px;
	margin: 0 var(--rf-pad); padding: 8px 0; border-top: 1px solid var(--rf-line);
	font-size: 15px; color: var(--rf-muted);
}
.rf-bar__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; }
.rf-bar__links a { min-height: 44px; display: inline-flex; align-items: center; }
.rf-footer .rf-top { gap: 8px; font-weight: 500; color: var(--rf-text); }

/* Big wordmark, cropped by the page edge */
.rf-wordmark {
	padding-top: clamp(24px, 3vw, 40px); text-align: center; white-space: nowrap;
	font-family: var(--rf-mark); font-style: italic; font-stretch: 75%; font-weight: 900;
	font-size: clamp(56px, 15.8vw, 260px); line-height: .8; letter-spacing: -0.01em;
	color: var(--rf-accent); margin: 0; padding-bottom: clamp(24px, 3vw, 44px);
	user-select: none; pointer-events: none;
}
.rf-wordmark--img { line-height: 0; padding-left: var(--rf-pad); padding-right: var(--rf-pad); }
.rf-wordmark--img img { width: 100%; height: auto; display: block; }

/* Tablet */
@media (max-width: 1080px) {
	.rf-top-band { grid-template-columns: 1fr; }
	.rf-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
}

/* Phone: columns become accordions */
@media (max-width: 640px) {
	.rf-btn { width: 100%; }
	.rf-cols { grid-template-columns: 1fr; gap: 0; padding: 0 0 8px; margin-top: 8px; }
	.rf-col { border-bottom: 1px solid var(--rf-line); }
	.rf-col__title { min-height: 56px; margin: 0; cursor: pointer; }
	.rf-col__title h3 { font-size: 13px; }
	.rf-chev { display: block; }
	.rf-col[open] .rf-chev { transform: rotate(180deg); }
	.rf-col__list { gap: 0; padding-bottom: 12px; }
	.rf-col__list a { min-height: 44px; align-items: center; }
	.rf-bar { flex-direction: column-reverse; align-items: flex-start; border-top: 0; font-size: 14px; }
}

/* Desktop: headings are not toggles */
@media (min-width: 641px) {
	.rf-col__title { pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
	.rf-footer *, .rf-footer *::before, .rf-footer *::after { transition: none !important; }
}

/* Legal links: always transparent, whatever the theme does to <nav> */
.rf-footer .rf-bar,
.rf-footer .rf-bar__links,
.rf-footer .rf-bar__links a,
.rf-footer .rf-bar__links a:hover,
.rf-footer .rf-bar__links a:focus {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}
.rf-footer .rf-bar__links { padding: 0 !important; border: 0 !important; }

/* Confirmation toast shown on the page visitors land on after subscribing */
.rf-toast {
	position: fixed; z-index: 99999; left: 50%; bottom: max(24px, env(safe-area-inset-bottom, 0px));
	transform: translateX(-50%); width: min(560px, calc(100vw - 32px));
	display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 20px;
	background: #252424; color: #FFFFFF; border: 1px solid #62FA3C; border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
	font: 500 16px/1.45 "DM Sans", system-ui, sans-serif;
	animation: rf-toast-in .35s ease-out;
}
.rf-toast p { margin: 0; flex: 1; }
.rf-toast__close {
	flex: none; width: 44px; height: 44px; display: grid; place-items: center;
	background: transparent; border: 0; border-radius: 6px; color: #939393; cursor: pointer;
}
.rf-toast__close:hover { color: #FFFFFF; }
.rf-toast__close:focus-visible { outline: 2px solid #62FA3C; outline-offset: 2px; }
@keyframes rf-toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .rf-toast { animation: none; } }
