/* 12 Footer (desktop.html), compact on mobile (mobile.html). */
.rx-footer { background: var(--rx-ink); padding: 100px 0 40px; border-top: 1px solid var(--rx-line-dark-faint); }
.rx-footer__top { display: flex; flex-wrap: wrap; gap: 56px; justify-content: space-between; }
.rx-footer__brand { flex: 1 1 340px; max-width: 420px; }
.rx-footer__word { display: inline-block; font-weight: 600; font-size: 30px; letter-spacing: .32em; color: var(--rx-on-dark); text-decoration: none; }
.rx-footer__word img { max-height: 40px; width: auto; }
.rx-footer__lead { margin-top: 20px; font-size: 15px; line-height: 1.6; color: var(--rx-on-dark-muted); }

.rx-newsletter { margin-top: 20px; }
.rx-newsletter__row { display: flex; border-bottom: 1px solid var(--rx-line-dark-strong); transition: border-color .3s; }
.rx-newsletter__row:focus-within { border-color: var(--rx-accent); }
.rx-newsletter__input { flex: 1; min-width: 0; padding: 14px 0; background: none; border: 0; outline: none; color: var(--rx-on-dark); font-size: 15px; }
.rx-newsletter__input::placeholder { color: var(--rx-on-dark-muted); }
.rx-newsletter__submit { width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--rx-accent); }
.rx-newsletter__submit:hover { color: var(--rx-gold-light); }
.rx-newsletter__submit[aria-busy="true"] { opacity: .5; cursor: progress; }
.rx-newsletter__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rx-newsletter__legal { margin-top: 10px; font-size: var(--rx-fs-label); line-height: 1.5; color: var(--rx-on-dark-fine); }
.rx-newsletter__legal a { color: var(--rx-on-dark-muted); }
.rx-newsletter__status { min-height: 1.5em; margin-top: 10px; font-size: 14px; }
.rx-newsletter__status.is-ok { color: var(--rx-gold-light); }
.rx-newsletter__status.is-error { color: var(--rx-error-text); }

.rx-footer__nav { flex: 2 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 32px; }
.rx-footer__heading { font-family: var(--rx-font-ui); font-weight: 400; font-size: var(--rx-fs-label); letter-spacing: .3em; text-transform: uppercase; color: var(--rx-accent); }
.rx-footer__links { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.rx-footer__links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--rx-on-dark-control); text-decoration: none; transition: color .3s; }
.rx-footer__links a:hover { color: var(--rx-on-dark); }

.rx-footer__bottom {
	margin-top: 80px; padding-top: 28px; border-top: 1px solid rgba(244, 240, 232, .1);
	display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center;
	font-size: 13px; color: var(--rx-on-dark-fine);
}
.rx-footer__legal { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 24px; }
.rx-footer__legal a { color: var(--rx-on-dark-fine); text-decoration: none; }
.rx-footer__legal a:hover { color: var(--rx-on-dark-control); }
.rx-footer__social { margin: 0; padding: 0; list-style: none; display: flex; gap: 8px; }
.rx-footer__social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--rx-on-dark-control); border: 1px solid rgba(244, 240, 232, .15); transition: border-color .3s, color .3s; }
.rx-footer__social a:hover { color: var(--rx-accent); border-color: var(--rx-accent); }

@media (max-width: 760px) {
	.rx-footer { padding: 48px 0 40px; }
	.rx-footer .rx-container { padding-inline: 16px; }
	.rx-footer__top { gap: 40px; }
	.rx-footer__word { font-size: 24px; }
	.rx-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
	.rx-footer__bottom { margin-top: 40px; padding-top: 20px; font-size: var(--rx-fs-label); }
}
