/* ── Site footer (D41) ───────────────────────────────────────────────────────
   Styling for includes/site-footer.php. It ships with the markup, in the
   plugin, so the footer can never be half-deployed.

   Ground: Deep Water, the brand's footer colour (brand.md: "Primary. Header,
   footer"), with a Slate bar underneath. Measured contrast:
     Mist        #F4F6F7  10.65:1 on Deep Water · 15.20:1 on Slate  — text, links
     #B7C4CF               6.49:1 on Deep Water ·  9.27:1 on Slate  — muted text
     Chartreuse  #C6D92E   7.35:1 on Deep Water · 10.49:1 on Slate  — headings, hover
   Steel Light (the brand's muted-on-dark) is 4.37:1 on Deep Water, under AA,
   so it is not used here. Harbour, the link colour on light, is 2.09:1 on
   Slate: the cookie button is recoloured below for exactly that reason.       */

.rnr-footer {
	background: #0B3C5D;
	color: #F4F6F7;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.6;
}

.rnr-footer__inner {
	max-width: 1200px;
	margin-inline: auto;
	padding: 64px 24px 56px;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px 32px;
	align-items: start;
}

/* ── Brand column ─────────────────────────────────────────────────────── */

.rnr-footer__logo { display: inline-block; line-height: 0; }
.rnr-footer__logo img { display: block; width: 180px; height: auto; }
.rnr-footer__wordmark {
	font-family: "Bitter", Georgia, serif;
	font-weight: 700;
	font-size: 24px;
	color: #F4F6F7;
}

.rnr-footer__pitch {
	color: #B7C4CF;
	margin: 18px 0 16px;
	max-width: 42ch;
}

.rnr-footer__facts {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	font-size: 14px;
	max-width: 46ch;
}

.rnr-footer__facts li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 6px;
}

/* A short line, the lure colour: no ticks, no badges (brand.md voice). */
.rnr-footer__facts li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.75em;
	width: 10px;
	height: 2px;
	background: #C6D92E;
}

.rnr-footer__support { margin: 0; font-size: 14px; }
.rnr-footer__support-label {
	display: block;
	color: #B7C4CF;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 2px;
}

/* ── Link columns ─────────────────────────────────────────────────────── */

.rnr-footer__heading {
	font-family: "Inter", sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #C6D92E;
	margin: 6px 0 14px;
}

.rnr-footer__col ul { list-style: none; margin: 0; padding: 0; }
.rnr-footer__col li { margin-bottom: 8px; }

.rnr-footer a {
	color: #F4F6F7;
	text-decoration: none;
	transition: color 150ms ease-out;
}
.rnr-footer a:hover { color: #C6D92E; text-decoration: underline; text-underline-offset: 3px; }

/* Focus is never removed (it is the only affordance keyboard users have). */
.rnr-footer a:focus-visible,
.rnr-footer button:focus-visible {
	outline: 2px solid #C6D92E;
	outline-offset: 2px;
	border-radius: 2px;
}

/* ── Bottom bar ───────────────────────────────────────────────────────── */

.rnr-footer__bar {
	background: #16202A;
	font-size: 13px;
	color: #B7C4CF;
}

.rnr-footer__bar-inner {
	max-width: 1200px;
	margin-inline: auto;
	padding: 18px 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	align-items: center;
	justify-content: space-between;
}

.rnr-footer__copy { margin: 0; }

/* The inline store CSS paints .rnr-cookie-settings Harbour for light grounds;
   on Slate that is 2.09:1. Same weight here, two classes, so it wins. */
.rnr-footer .rnr-cookie-settings,
.rnr-footer .rnr-cookie-settings:focus {
	color: #F4F6F7;
	font-size: 13px;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.rnr-footer .rnr-cookie-settings:hover { color: #C6D92E; }

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 921px) {
	.rnr-footer__inner { grid-template-columns: 1fr 1fr; padding-top: 48px; }
	.rnr-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	.rnr-footer__inner { gap: 32px 24px; padding: 40px 20px; }
	.rnr-footer__bar-inner { flex-direction: column; align-items: flex-start; padding-inline: 20px; }
}
