/* Retrain and Retain - restored public site. Palette and font from the 2025-04-08 archive. */
:root {
	--rr-navy: #120e35;
	--rr-navy-2: #252147;
	--rr-ink: #1b1840;
	--rr-text: #4a4868;
	--rr-muted: #6f6d8a;
	--rr-peri: #919fff;
	--rr-purple: #b674ff;
	--rr-violet: #6d00e7;
	--rr-bg-alt: #f5f6fd;
	--rr-line: #e6e7f3;
	--rr-radius: 18px;
	--rr-shadow: 0 18px 50px -22px rgba(18, 14, 53, .35);
}

body.rr-site {
	font-family: "Readex Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--rr-text);
	background: #fff;
	font-size: 17px;
	line-height: 1.65;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}
.rr-site h1, .rr-site h2, .rr-site h3 { font-family: inherit; color: var(--rr-ink); letter-spacing: -.01em; }
.rr-site a { color: var(--rr-violet); }
.rr-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.rr-skip { position: absolute; left: -9999px; }
.rr-skip:focus { left: 12px; top: 12px; z-index: 1000; background: #fff; padding: 8px 14px; border-radius: 8px; }
.rr-site .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Buttons */
.rr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1;
	background: linear-gradient(135deg, var(--rr-violet), var(--rr-purple));
	color: #fff !important; text-decoration: none !important; border: 2px solid transparent;
	box-shadow: 0 12px 30px -12px rgba(109, 0, 231, .6); transition: transform .15s ease, box-shadow .15s ease;
}
.rr-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(109, 0, 231, .7); }
.rr-btn-sm { padding: 11px 20px; font-size: 14.5px; }
.rr-btn-ghost { background: transparent; color: var(--rr-ink) !important; border-color: var(--rr-line); box-shadow: none; }
.rr-btn-ghost:hover { border-color: var(--rr-peri); box-shadow: none; }
.rr-btn-light { background: #fff; color: var(--rr-navy) !important; box-shadow: none; }
.rr-btn-ghost-light { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .35); box-shadow: none; }
.rr-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.rr-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--rr-line); }
.admin-bar .rr-header { top: 32px; }
.rr-header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.rr-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--rr-navy) !important; font-weight: 700; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.rr-brand em { font-style: normal; font-weight: 400; color: var(--rr-muted); }
.rr-brand-light { color: #fff !important; }
.rr-brand-light em { color: var(--rr-peri); }
.rr-nav { display: flex; align-items: center; gap: 28px; }
.rr-nav > ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.rr-nav > ul > li { position: relative; }
.rr-nav > ul > li > a, .rr-sub-toggle {
	display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px;
	color: var(--rr-ink) !important; text-decoration: none !important; font-weight: 500; font-size: 15.5px;
	background: none; border: 0; cursor: pointer; font-family: inherit;
}
.rr-nav > ul > li > a:hover, .rr-sub-toggle:hover { background: var(--rr-bg-alt); }
.rr-sub {
	position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; list-style: none; margin: 0; padding: 8px;
	background: #fff; border: 1px solid var(--rr-line); border-radius: 14px; box-shadow: var(--rr-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s ease;
}
.rr-has-sub:hover .rr-sub, .rr-has-sub.is-open .rr-sub { opacity: 1; visibility: visible; transform: none; }
.rr-sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--rr-ink) !important; text-decoration: none !important; font-size: 15px; }
.rr-sub a:hover { background: var(--rr-bg-alt); color: var(--rr-violet) !important; }
.rr-burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.rr-burger span:not(.screen-reader-text) { display: block; height: 2px; background: var(--rr-navy); margin: 5px 0; border-radius: 2px; }

/* Hero */
.rr-hero { position: relative; overflow: hidden; background: var(--rr-navy); color: #d9dbf5; padding: 96px 0 110px; }
.rr-hero-bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(600px 400px at 85% 20%, rgba(182, 116, 255, .35), transparent 60%),
		radial-gradient(500px 380px at 10% 90%, rgba(145, 159, 255, .25), transparent 60%),
		linear-gradient(180deg, #120e35, #18124a);
}
.rr-hero-bg::after {
	content: ""; position: absolute; inset: 0; opacity: .18;
	background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
	background-size: 48px 48px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
}
.rr-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.rr-hero h1 { color: #fff; font-size: clamp(40px, 5.4vw, 66px); line-height: 1.06; font-weight: 700; margin: 0 0 22px; }
.rr-grad { background: linear-gradient(90deg, var(--rr-peri), var(--rr-purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rr-hero .rr-lead { color: #c9cbea; font-size: 19px; max-width: 540px; margin: 0 0 32px; }
.rr-hero .rr-btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, .3); }
.rr-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; color: var(--rr-violet); margin: 0 0 12px; }
.rr-hero .rr-kicker { color: var(--rr-peri); }

/* Dashboard visual */
.rr-dash { background: rgba(255, 255, 255, .97); border-radius: 22px; padding: 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); color: var(--rr-text); transform: rotate(-1deg); }
.rr-dash-top { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.rr-dash-top span { width: 10px; height: 10px; border-radius: 50%; background: #e3e4f2; }
.rr-dash-top strong { margin-left: 10px; color: var(--rr-ink); font-weight: 600; }
.rr-dash-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rr-gauge { text-align: center; background: var(--rr-bg-alt); border-radius: 14px; padding: 16px 8px 10px; }
.rr-gauge p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.3; color: var(--rr-ink); font-weight: 500; }
.rr-gauge-ring { --deg: calc(var(--v) * 3.6deg); width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) var(--deg), #e2e4f3 0); }
.rr-gauge-ring span { width: 64px; height: 64px; border-radius: 50%; background: var(--rr-bg-alt); display: grid; place-items: center; font-weight: 700; color: var(--rr-ink); font-size: 17px; }
.rr-dash-bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; margin: 18px 4px 16px; border-bottom: 1px solid var(--rr-line); }
.rr-dash-bars span { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--rr-purple), var(--rr-peri)); opacity: .85; }
.rr-dash-tip { background: #f2ecff; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; color: var(--rr-ink); }
.rr-dash-tip strong { color: var(--rr-violet); margin-right: 6px; }

/* Sections */
.rr-section { padding: 96px 0; }
.rr-section-alt { background: var(--rr-bg-alt); }
.rr-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.rr-section h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; font-weight: 700; margin: 0 0 16px; }
.rr-lead { font-size: 18.5px; }
.rr-card { background: #fff; border: 1px solid var(--rr-line); border-radius: var(--rr-radius); padding: 30px; box-shadow: 0 1px 0 rgba(18, 14, 53, .03); transition: box-shadow .2s ease, transform .2s ease; }
.rr-card:hover { box-shadow: var(--rr-shadow); transform: translateY(-2px); }
.rr-card h3 { font-size: 21px; font-weight: 600; margin: 0 0 10px; }
.rr-card p { margin: 0; }
.rr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rr-step-num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--rr-navy-2), var(--rr-violet)); }
.rr-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rr-split .rr-btn { margin-top: 12px; }
.rr-feature-list { display: grid; gap: 20px; }
.rr-feature { display: flex; gap: 18px; }
.rr-icon { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--rr-violet); background: #efe8ff; }
.rr-icon svg { width: 26px; height: 26px; }

/* CTA */
.rr-cta { background: linear-gradient(120deg, var(--rr-navy), #2a1a73 60%, var(--rr-violet)); color: #d9dbf5; padding: 72px 0; }
.rr-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.rr-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; }
.rr-cta p { margin: 0; }

/* Inner pages */
.rr-page-hero { background: var(--rr-navy); background-image: radial-gradient(520px 300px at 90% 10%, rgba(182, 116, 255, .35), transparent 60%); padding: 76px 0 64px; }
.rr-page-hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 52px); margin: 0 0 12px; font-weight: 700; }
.rr-page-hero .rr-kicker { color: var(--rr-peri); }
.rr-crumbs { color: #a9abd0; font-size: 15px; }
.rr-crumbs a { color: #fff !important; text-decoration: none; }
.rr-prose { max-width: 900px; }
.rr-prose h2 { font-size: 30px; margin: 48px 0 14px; }
.rr-prose h3 { font-size: 22px; margin: 32px 0 10px; }
.rr-prose > :first-child { margin-top: 0; }
.rr-prose ul { padding-left: 22px; }
.rr-prose .rr-card { margin: 0 0 20px; }
.rr-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 28px 0; }
.rr-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 28px 0; }
.rr-note { background: var(--rr-bg-alt); border-left: 4px solid var(--rr-peri); border-radius: 12px; padding: 18px 22px; }

/* Contact Form 7 */
.rr-site .wpcf7 form { display: grid; gap: 6px; }
.rr-site .wpcf7 label { font-weight: 500; color: var(--rr-ink); width: 100%; }
.rr-site .wpcf7 input[type="text"], .rr-site .wpcf7 input[type="email"], .rr-site .wpcf7 input[type="tel"], .rr-site .wpcf7 textarea {
	width: 100%; margin-top: 6px; padding: 13px 16px; border: 1px solid var(--rr-line); border-radius: 12px; font: inherit; font-weight: 400; background: #fff;
}
.rr-site .wpcf7 textarea { min-height: 150px; }
.rr-site .wpcf7 input:focus, .rr-site .wpcf7 textarea:focus { outline: 3px solid rgba(145, 159, 255, .35); border-color: var(--rr-peri); }
.rr-site .wpcf7 input[type="submit"] {
	justify-self: start; padding: 14px 30px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 600; color: #fff;
	background: linear-gradient(135deg, var(--rr-violet), var(--rr-purple));
}

/* Footer */
.rr-footer { background: #0b0826; color: #a9abd0; padding: 72px 0 0; font-size: 15.5px; }
.rr-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.rr-footer h2 { color: #fff; font-size: 16px; font-weight: 600; margin: 0 0 16px; letter-spacing: .02em; }
.rr-footer ul { list-style: none; margin: 0 0 18px; padding: 0; }
.rr-footer li { margin: 0 0 10px; }
.rr-footer a { color: #c9cbea !important; text-decoration: none; }
.rr-footer a:hover { color: #fff !important; }
.rr-footer-brand p { margin: 16px 0 0; max-width: 360px; }
.rr-footer .rr-btn { color: #fff !important; }
.rr-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding: 22px 24px; }
.rr-footer-bottom p { margin: 0; font-size: 14px; }

/* Custom demo apps (/login/, /feedback/, /reports/) keep their own markup inside our header/footer. */
.rr-main { min-height: 50vh; }

/* Responsive */
@media (max-width: 1080px) {
	.rr-burger { display: block; }
	.rr-nav {
		position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 12px;
		background: #fff; border-bottom: 1px solid var(--rr-line); padding: 12px 24px 24px; box-shadow: var(--rr-shadow);
		max-height: calc(100vh - 76px); overflow: auto;
	}
	.rr-nav.is-open { display: flex; }
	.rr-nav > ul { flex-direction: column; align-items: stretch; }
	.rr-nav > ul > li > a, .rr-sub-toggle { width: 100%; justify-content: space-between; }
	.rr-sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; }
	.rr-has-sub:hover .rr-sub { display: none; }
	.rr-has-sub.is-open .rr-sub { display: block; }
	.rr-hero-grid, .rr-split { grid-template-columns: 1fr; gap: 48px; }
	.rr-steps, .rr-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.rr-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	body.rr-site { font-size: 16px; }
	.rr-hero { padding: 64px 0 76px; }
	.rr-section { padding: 68px 0; }
	.rr-steps, .rr-grid-2, .rr-grid-3, .rr-footer-grid { grid-template-columns: 1fr; }
	.rr-dash { transform: none; padding: 16px; }
	.rr-gauge-ring { width: 70px; height: 70px; }
	.rr-gauge-ring span { width: 54px; height: 54px; font-size: 15px; }
	.rr-brand { font-size: 17px; }
	.rr-header-inner { height: 68px; }
	.rr-nav { top: 68px; }
}
@media (prefers-reduced-motion: reduce) { .rr-card, .rr-btn, .rr-sub { transition: none; } }
