/*
Theme Name: Retarget Leads
Theme URI: https://retargetlead.com/
Author: Retarget Leads
Description: Fast, SEO-ready theme for Retarget Leads — AI receptionist and missed-call software for service businesses. Built-in meta tags, schema markup, contact/trial forms and one-click page setup.
Version: 1.3.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: retarget-leads
*/

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-variable.woff2") format("woff2-variations"), url("assets/fonts/archivo-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Public Sans";
	src: url("assets/fonts/public-sans-variable.woff2") format("woff2-variations"), url("assets/fonts/public-sans-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--ink: #1a323d;
	--ink-2: #27495a;
	--paper: #f5f8f9;
	--white: #ffffff;
	--mist: #e2ebee;
	--text: #304650;
	--muted: #57707b;
	--signal: #f5aa1b;
	--signal-2: #dc960e;
	--go: #178a57;
	--go-bg: #e3f4ec;
	--line: #d0dde2;

	--f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
	--f-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1120px;
	--gutter: 20px;
	--pad-x: max(var(--gutter), calc((100% - var(--wrap)) / 2));
	--r-sm: 6px;
	--r-md: 12px;
	--r-lg: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}
img, video, svg, iframe { max-width: 100%; height: auto; }
a { color: var(--ink-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal-2); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { color: var(--ink); font-weight: 700; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-display);
	color: var(--ink);
	margin: 0 0 .5em;
	line-height: 1.08;
	letter-spacing: -0.01em;
	font-stretch: 112%;
	font-variation-settings: "wdth" 112;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.25rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.2; }
h4 { font-size: 1.125rem; font-weight: 700; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; clip: auto;
	background: var(--signal); color: var(--ink); padding: 10px 16px; font-weight: 700;
}

/* ---------- Buttons ---------- */
.rl-btn,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .7em 1.35em;
	font-family: var(--f-display); font-weight: 700; font-size: 1rem; line-height: 1.1;
	font-variation-settings: "wdth" 110;
	color: var(--ink); background: var(--signal);
	border: 2px solid var(--signal); border-radius: var(--r-sm);
	text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
.rl-btn:hover, .wp-block-button__link:hover { background: var(--signal-2); border-color: var(--signal-2); color: var(--ink); }
.rl-btn--ghost,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent; color: var(--ink); border-color: var(--ink);
}
.rl-btn--ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0 0; }

/* ---------- Announcement + header ---------- */
.rl-announce {
	background: var(--ink); color: var(--signal); font-size: .95rem; font-weight: 600; line-height: 1.35;
	padding: 10px var(--pad-x); text-align: center;
}
@media (min-width: 961px) {
	.rl-announce { font-size: 1.5rem; padding: 12px var(--pad-x); }
}
.rl-announce a { color: var(--signal); font-weight: 600; }

.rl-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.96);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(1.4) blur(8px);
}
.admin-bar .rl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rl-header { top: 0; } }
.rl-header__inner {
	display: flex; align-items: center; gap: 24px;
	padding: 12px var(--pad-x); min-height: 72px;
}
.rl-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.rl-brand img { max-height: 44px; width: auto; }
.rl-brand__logo { width: 48px; height: 48px; display: block; flex-shrink: 0; }
.rl-brand__name {
	font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em;
	font-variation-settings: "wdth" 118;
}
.rl-nav { margin-left: auto; }
.rl-nav ul { list-style: none; margin: 0; padding: 0; }
.rl-nav > ul { display: flex; align-items: center; gap: 2px; }
.rl-nav li { position: relative; margin: 0; }
.rl-nav a {
	display: block; padding: 10px 12px; border-radius: var(--r-sm);
	color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.rl-nav a:hover, .rl-nav .current-menu-item > a, .rl-nav .current-menu-ancestor > a { background: var(--mist); }
.rl-nav .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; vertical-align: 2px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.rl-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
	box-shadow: 0 14px 36px -12px rgba(26,50,61,.28);
	opacity: 0; visibility: hidden; transform: translateY(4px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.rl-nav li:hover > .sub-menu,
.rl-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.rl-header__cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.rl-header__phone { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: .95rem; }
.rl-header__phone span { display: block; font-weight: 500; font-size: .75rem; color: var(--muted); line-height: 1; }
.rl-menu-toggle {
	display: none; margin-left: auto; width: 48px; height: 48px; border-radius: var(--r-sm);
	border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
}
.rl-menu-toggle svg { display: block; margin: auto; }

@media (max-width: 1080px) {
	.rl-header__phone { display: none; }
}
@media (max-width: 960px) {
	.rl-menu-toggle { display: block; }
	.rl-header__inner { flex-wrap: wrap; }
	.rl-nav, .rl-header__cta { display: none; width: 100%; margin: 0; }
	.rl-header.is-open .rl-nav, .rl-header.is-open .rl-header__cta { display: block; }
	.rl-nav > ul { flex-direction: column; align-items: stretch; padding: 8px 0; }
	.rl-nav a { padding: 12px 8px; font-size: 1.05rem; }
	.rl-nav .menu-item-has-children > a::after { display: none; }
	.rl-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		border: 0; box-shadow: none; padding: 0 0 6px 14px; min-width: 0; background: none;
	}
	.rl-nav .sub-menu a { font-weight: 500; }
	.rl-header.is-open .rl-header__cta { display: flex; padding: 8px 0 16px; }
	.rl-header.is-open .rl-header__cta .rl-btn { flex: 1; }
	.rl-header.is-open .rl-header__phone { display: block; }
}

/* ---------- Page head (inner pages) ---------- */
.rl-pagehead {
	background: var(--ink); color: #c7d6dc;
	padding: 72px var(--pad-x) 64px;
	position: relative; overflow: hidden;
}
.rl-pagehead::after {
	/* signal stripe: the "line is ringing" bar */
	content: ""; position: absolute; left: 0; bottom: 0; height: 6px; width: 100%;
	background: repeating-linear-gradient(90deg, var(--signal) 0 56px, transparent 56px 72px);
	opacity: .9;
}
.rl-pagehead h1 { color: var(--white); max-width: 18ch; margin-bottom: .35em; }
.rl-pagehead p { font-size: 1.2rem; max-width: 58ch; margin: 0; color: #d5e1e6; }
.rl-crumbs { font-size: .875rem; margin-bottom: 18px; color: #8ea7b2; }
.rl-crumbs a { color: #c7d6dc; }
.rl-crumbs span[aria-hidden] { margin: 0 6px; }

/* ---------- Content flow ---------- */
.rl-content > * { margin-left: var(--pad-x); margin-right: var(--pad-x); }
.rl-content > .wp-block-group,
.rl-content > .wp-block-columns.alignfull,
.rl-content > .alignfull { margin-left: 0; margin-right: 0; }
.rl-content > p, .rl-content > ul, .rl-content > ol, .rl-content > h2, .rl-content > h3,
.rl-content > .wp-block-details, .rl-content > blockquote, .rl-content > figure {
	max-width: 760px; margin-left: max(var(--gutter), calc((100% - 760px) / 2)); margin-right: max(var(--gutter), calc((100% - 760px) / 2));
}
.rl-content > :first-child:not(.wp-block-group) { margin-top: 56px; }
.rl-content > :last-child:not(.wp-block-group) { margin-bottom: 72px; }

.rl-section { padding: 88px var(--pad-x); margin: 0; }
.rl-section--white { background: var(--white); }
.rl-section--mist { background: var(--mist); }
.rl-section--ink { background: var(--ink); color: #c7d6dc; }
.rl-section--ink h2, .rl-section--ink h3, .rl-section--ink strong { color: var(--white); }
.rl-section--ink a:not(.wp-block-button__link) { color: var(--signal); }
.rl-section--ink .wp-block-button.is-style-outline .wp-block-button__link { color: var(--white); border-color: #7d98a5; }
.rl-section--ink .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--white); color: var(--ink); }
.rl-section > h2 { max-width: 22ch; }
.rl-section > p { font-size: 1.125rem; }
.rl-lede { font-size: 1.2rem; color: var(--muted); }
.rl-section--ink .rl-lede { color: #c7d6dc; }

/* Classic themes get an inner wrapper on Group blocks; let its children join the parent's grid/flow. */
.wp-block-group__inner-container { display: contents; }

/* Columns */
.wp-block-columns { display: flex; gap: 48px; margin: 0; }
.wp-block-column { flex: 1; min-width: 0; }
@media (max-width: 860px) {
	.wp-block-columns { flex-direction: column; gap: 32px; }
}

/* ---------- Hero (home) ---------- */
.rl-hero {
	background: var(--white);
	padding: 72px var(--pad-x) 88px;
	border-bottom: 1px solid var(--line);
}
.rl-hero .wp-block-columns { align-items: center; gap: 56px; }
.rl-hero h1 { max-width: 14ch; }
.rl-hero h1 + p { font-size: 1.25rem; color: var(--muted); max-width: 46ch; }
.rl-hero__fine { font-size: .9rem; color: var(--muted); margin-top: 18px; }

/* Call transcript card — the signature element */
.rl-call {
	background: var(--ink); color: #d9e4e9; border-radius: var(--r-lg);
	padding: 0 0 18px; max-width: 480px; margin-left: auto;
	box-shadow: 0 30px 60px -28px rgba(26,50,61,.55);
	font-size: .97rem;
}
.rl-call__bar {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1);
	font-size: .85rem; color: #8ea7b2;
}
.rl-call__who { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; }
.rl-call__pulse {
	width: 10px; height: 10px; border-radius: 50%; background: #3ddc84;
	box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: rl-pulse 1.8s ease-out infinite;
}
@keyframes rl-pulse { 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.rl-call__log { list-style: none; margin: 0; padding: 18px 20px 4px; display: grid; gap: 12px; }
.rl-call__log li { margin: 0; max-width: 88%; padding: 10px 14px; border-radius: 14px; line-height: 1.45; }
.rl-call__log .ai { background: var(--ink-2); border-top-left-radius: 4px; }
.rl-call__log .caller { background: #eef4f6; color: var(--ink); margin-left: auto; border-top-right-radius: 4px; }
.rl-call__log small { display: block; font-size: .72rem; opacity: .7; margin-bottom: 2px; font-weight: 600; }
.rl-call__result {
	margin: 10px 20px 0; padding: 14px 16px; border-radius: var(--r-md);
	background: var(--go-bg); color: #0f5236; display: grid; gap: 4px;
}
.rl-call__result strong { color: #0f5236; font-family: var(--f-display); font-size: 1.05rem; }
.rl-call__result span { font-size: .88rem; }

/* One orchestrated load moment: the call plays in */
@media (prefers-reduced-motion: no-preference) {
	.rl-call__log li, .rl-call__result { opacity: 0; transform: translateY(6px); animation: rl-in .45s ease forwards; }
	.rl-call__log li:nth-child(1) { animation-delay: .3s; }
	.rl-call__log li:nth-child(2) { animation-delay: 1.1s; }
	.rl-call__log li:nth-child(3) { animation-delay: 1.9s; }
	.rl-call__log li:nth-child(4) { animation-delay: 2.6s; }
	.rl-call__log li:nth-child(5) { animation-delay: 3.3s; }
	.rl-call__log li:nth-child(6) { animation-delay: 3.9s; }
	.rl-call__result { animation-delay: 4.6s; }
}
@keyframes rl-in { to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .rl-call { margin: 0 auto; } }

/* ---------- Money strip ---------- */
.rl-math { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; }
.rl-math__figure {
	font-family: var(--f-display); font-weight: 900; color: var(--white);
	font-size: clamp(3.5rem, 9vw, 7rem); line-height: .9; letter-spacing: -0.03em;
	font-variation-settings: "wdth" 125; margin: 0 0 12px;
}
.rl-math__figure sup { font-size: .4em; vertical-align: .9em; color: var(--signal); }
@media (max-width: 860px) { .rl-math { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Feature list (not cards) ---------- */
.rl-features { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px 56px; margin-top: 48px; }
.rl-feature { padding-top: 20px; border-top: 3px solid var(--ink); }
.rl-feature h3 { margin-bottom: .35em; }
.rl-feature p { margin: 0; color: var(--muted); }
.rl-section--ink .rl-feature { border-top-color: var(--signal); }
.rl-section--ink .rl-feature p { color: #c7d6dc; }
@media (max-width: 700px) { .rl-features { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Steps (real sequence) ---------- */
.rl-steps { list-style: none; counter-reset: step; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.rl-steps.rl-steps--stack { grid-template-columns: 1fr; margin-top: 20px; gap: 22px; }
.rl-steps.rl-steps--stack li { padding: 0 0 0 68px; min-height: 48px; }
.rl-steps.rl-steps--stack li::after { display: none; }
.wp-block-column > .wp-block-heading:first-child { margin-top: 0; }
.wp-block-column .rl-form { max-width: none; }
.rl-steps li { counter-increment: step; margin: 0; position: relative; padding-top: 64px; }
.rl-steps li::before {
	content: counter(step); position: absolute; top: 0; left: 0;
	width: 48px; height: 48px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--signal); color: var(--ink);
	font-family: var(--f-display); font-weight: 800; font-size: 1.25rem;
}
.rl-steps li:not(:last-child)::after {
	content: ""; position: absolute; top: 24px; left: 60px; right: -20px; height: 2px;
	background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.rl-steps strong { display: block; font-family: var(--f-display); font-size: 1.2rem; margin-bottom: 4px; }
@media (max-width: 760px) {
	.rl-steps { grid-template-columns: 1fr; }
	.rl-steps li { padding: 0 0 0 68px; min-height: 48px; }
	.rl-steps li::after { display: none; }
}

/* ---------- Industries ---------- */
.rl-industries { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.rl-industries li {
	margin: 0; padding: 10px 16px; border-radius: 999px;
	background: var(--paper); border: 1px solid var(--line); color: var(--ink);
	font-weight: 600; font-size: .95rem; line-height: 1.2;
}
.rl-industries li:has(a) { padding: 0; border: 0; background: none; }
.rl-industries a {
	display: inline-block; padding: 10px 16px; border-radius: 999px;
	background: var(--ink); border: 1px solid var(--ink); color: var(--white);
	text-decoration: none;
}
.rl-industries a:hover { background: var(--ink-2); color: var(--white); }

/* ---------- Quote ---------- */
.rl-quote { margin: 0; max-width: 820px; }
.rl-quote p {
	font-family: var(--f-display); font-weight: 600; color: var(--ink);
	font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; max-width: none;
	font-variation-settings: "wdth" 104;
}
.rl-quote cite { font-style: normal; font-weight: 600; color: var(--muted); }
.rl-stars { color: var(--signal-2); letter-spacing: 2px; font-size: 1.1rem; }

/* ---------- Stats row (restaurant page) ---------- */
.rl-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; margin-top: 40px; }
.rl-stats div { border-left: 3px solid var(--signal); padding-left: 18px; }
.rl-stats b { display: block; font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--ink); line-height: 1; font-variation-settings: "wdth" 120; }
.rl-section--ink .rl-stats b { color: var(--white); }
@media (max-width: 700px) { .rl-stats { grid-template-columns: 1fr; } }
.rl-section > .rl-stats + p, .rl-fineprint { margin-top: 28px; font-size: .95rem !important; color: var(--muted); }
.rl-section--ink .rl-fineprint { color: #a6bac3; }

/* ---------- Checklist ---------- */
.rl-check { list-style: none; padding: 0; }
.rl-check li { position: relative; padding-left: 32px; margin-bottom: .7em; }
.rl-check li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
	background: var(--go-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23178a57' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.rl-section--ink .rl-check li::before { background-color: rgba(61,220,132,.15); }

/* ---------- FAQ (core/details) ---------- */
.wp-block-details {
	border-bottom: 1px solid var(--line); padding: 0; margin: 0;
}
.wp-block-details:first-of-type { border-top: 1px solid var(--line); }
.wp-block-details summary {
	cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative;
	font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--ink);
	font-variation-settings: "wdth" 106;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
	border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg);
	transition: transform .2s ease;
}
.wp-block-details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.wp-block-details > :not(summary) { margin-top: 0; padding-bottom: 6px; }
.wp-block-details > p:last-child { padding-bottom: 22px; margin-bottom: 0; }
.rl-faq { max-width: 860px; }
.rl-faq h2 { margin-bottom: 28px; }

/* ---------- CTA band ---------- */
.rl-cta {
	background: var(--signal); color: var(--ink);
	padding: 72px var(--pad-x);
}
.rl-cta h2 { max-width: 20ch; }
.rl-cta p { font-size: 1.15rem; color: var(--ink); }
.rl-cta .wp-block-button__link { background: var(--ink); border-color: var(--ink); color: var(--white); }
.rl-cta .wp-block-button__link:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--white); }
.rl-cta .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border-color: var(--ink); }
.rl-cta .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--white); }

/* ---------- Forms ---------- */
.rl-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; max-width: 640px; }
.rl-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rl-form__full { grid-column: 1 / -1; }
.rl-form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.rl-form input[type=text], .rl-form input[type=email], .rl-form input[type=tel], .rl-form select, .rl-form textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
	background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm);
}
.rl-form textarea { min-height: 120px; resize: vertical; }
.rl-form input:focus, .rl-form select:focus, .rl-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(245,170,27,.5); }
.rl-form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.rl-form__consent input { margin-top: 2px; width: 24px; height: 24px; flex-shrink: 0; accent-color: var(--ink); }
.rl-form__consent label { font-weight: 400; color: var(--muted); font-size: .85rem; margin: 0; }
.rl-form .rl-btn { width: 100%; margin-top: 4px; }
.rl-form__hp { position: absolute; left: -9999px; }
.rl-notice { padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 18px; font-weight: 600; }
.rl-notice--ok { background: var(--go-bg); color: #0f5236; }
.rl-notice--err { background: #fde8e8; color: #8a1c1c; }
@media (max-width: 600px) { .rl-form { padding: 22px; } .rl-form__grid { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.rl-posts { padding: 64px var(--pad-x) 88px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px 32px; }
.rl-post-card { display: flex; flex-direction: column; }
.rl-post-card img { border-radius: var(--r-md); aspect-ratio: 16/9; object-fit: cover; width: 100%; margin-bottom: 14px; }
.rl-post-card h2 { font-size: 1.35rem; margin-bottom: .4em; }
.rl-post-card h2 a { color: var(--ink); text-decoration: none; }
.rl-post-card h2 a:hover { text-decoration: underline; }
.rl-post-card time { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .rl-posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rl-posts { grid-template-columns: 1fr; } }
.rl-pagination { padding: 0 var(--pad-x) 72px; display: flex; gap: 8px; }
.rl-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; }
.rl-pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.rl-article { background: var(--white); }
.rl-article .rl-content { padding-bottom: 24px; }
.rl-article .rl-content > h2 { margin-top: 1.4em; font-size: 1.9rem; }
.rl-article .rl-content > h3 { margin-top: 1.2em; }
.rl-meta { color: #8ea7b2; font-size: .95rem; margin-top: 12px; }

/* ---------- Footer ---------- */
.rl-footer { background: var(--ink); color: #a6bac3; padding: 72px var(--pad-x) 32px; font-size: .95rem; }
.rl-footer a { color: #d9e4e9; text-decoration: none; }
.rl-footer a:hover { color: var(--signal); text-decoration: underline; }
.rl-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.rl-footer h2 { font-size: 1rem; color: var(--white); margin-bottom: 14px; font-variation-settings: "wdth" 110; }
.rl-footer ul { list-style: none; padding: 0; margin: 0; }
.rl-footer li { margin-bottom: 8px; }
.rl-footer .rl-brand { color: var(--white); margin-bottom: 14px; }
.rl-footer .rl-brand__logo { width: 56px; height: 56px; }
.rl-footer address { font-style: normal; line-height: 1.7; }
.rl-footer__phone { font-family: var(--f-display); font-size: 1.35rem; font-weight: 800; color: var(--white) !important; }
.rl-social { display: flex; gap: 10px; margin-top: 16px; }
.rl-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #3d5a68; display: grid; place-items: center; }
.rl-social a:hover { border-color: var(--signal); }
.rl-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #2d4855; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 900px) { .rl-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rl-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky call bar ---------- */
.rl-mobilebar { display: none; }
@media (max-width: 700px) {
	.rl-mobilebar {
		display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: var(--white); border-top: 1px solid var(--line);
	}
	.rl-mobilebar .rl-btn { min-height: 46px; font-size: .95rem; padding: .6em .8em; }
	body { padding-bottom: 72px; }
}

/* ---------- 404 ---------- */
.rl-404 { padding: 96px var(--pad-x); }

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-block-image img { border-radius: var(--r-md); }
.wp-caption-text, figcaption { font-size: .875rem; color: var(--muted); }
.rl-footer .rl-brand__logo { border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.18); }

/* ---------- Top-bar ticker (one city at a time, 10s each) ---------- */
.rl-tick { display: flex; align-items: center; justify-content: center; gap: 18px; }
.rl-tick { overflow: hidden; min-height: 56px; }
.rl-tick__line { margin: 0; text-align: center; flex: 1 1 auto; max-width: none; transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.rl-tick__cta { transition: opacity .6s ease .15s, transform .7s cubic-bezier(.2,.8,.2,1) .15s; }
.rl-tick__line.is-out { opacity: 0; transform: translateY(-120%); }
.rl-tick__line.is-in { opacity: 0; transform: translateY(-120%); transition: none; }
.rl-tick__intro { color: var(--signal); font-weight: 600; }
.rl-tick__who { color: var(--white); font-weight: 700; }
.rl-tick__loss { color: #ff9b9b; font-weight: 700; }
.rl-tick__est { color: #a6bac3; font-weight: 500; font-size: .7em; }
.rl-tick__fix { color: #5ee0a0; font-weight: 700; }
.rl-tick__cta {
	flex-shrink: 0; display: inline-block; padding: 8px 16px; border-radius: var(--r-sm);
	background: var(--signal); color: var(--ink) !important; font: 700 1rem var(--f-display);
	font-variation-settings: "wdth" 108; text-decoration: none; white-space: nowrap;
}
.rl-tick__cta:hover { background: var(--signal-2); }
@media (min-width: 961px) {
	.rl-tick { font-size: 1.15rem; padding: 12px var(--pad-x); }
}
@media (min-width: 1300px) {
	.rl-tick { font-size: 1.3rem; }
}
@media (max-width: 960px) {
	.rl-tick { font-size: .92rem; min-height: 100px; }
	.rl-tick__cta { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rl-tick__line, .rl-tick__cta { transition: opacity .3s ease; transform: none !important; } }

/* Keep menu labels on one line */
.rl-nav a { white-space: nowrap; }
.rl-usecase__tab[hidden] { display: none !important; }
