:root {
	--rfu-radius: 6px;
	--rfu-canvas: #f4f3ef;
	--rfu-surface: #ffffff;
	--rfu-surface-raised: #faf9f6;
	--rfu-surface-sunken: #e8e6e0;
	--rfu-text: #1a1d24;
	--rfu-text-secondary: #4a5262;
	--rfu-text-muted: #6e7583;
	--rfu-border: rgba(26, 29, 36, 0.12);
	--rfu-border-strong: rgba(26, 29, 36, 0.2);
	--rfu-accent: #e04a00;
	--rfu-accent-soft: rgba(224, 74, 0, 0.1);
	--rfu-link: #c24100;
	--rfu-link-hover: #e04a00;
	--rfu-on-accent: #ffffff;
	--rfu-bg: var(--rfu-canvas);
	--rfu-surface-2: var(--rfu-surface-raised);
	--rfu-muted: var(--rfu-text-secondary);
	--rfu-footer: var(--rfu-surface-sunken);
	--rfu-chip: rgba(26, 29, 36, 0.05);
	--rfu-nav: var(--rfu-surface);
	--rfu-accent-dim: var(--rfu-accent-soft);
	--rfu-gutter: clamp(20px, 4vw, 56px);
}

html {
	color-scheme: light;
	scroll-padding-top: 4.75rem;
}

body:not(.staff-login):not(.staff-dash) {
	--gutter: var(--rfu-gutter) !important;
	--primary: var(--rfu-text) !important;
	--subtle: var(--rfu-text-secondary) !important;
	--bg: var(--rfu-canvas) !important;
	--surface: var(--rfu-surface) !important;
	--surface-2: var(--rfu-surface-raised) !important;
	--border: var(--rfu-border) !important;
	--chip-bg: var(--rfu-chip) !important;
	--nav-bg: var(--rfu-nav) !important;
	--footer-bg: var(--rfu-footer) !important;
	--accent: var(--rfu-accent) !important;
	--accent-soft: var(--rfu-accent-soft) !important;
	background: var(--rfu-canvas) !important;
	background-image: none !important;
	color: var(--rfu-text) !important;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	font-size: 16px !important;
	line-height: 1.68 !important;
	-webkit-font-smoothing: antialiased;
}

body.staff-login,
body.staff-dash {
	background-image: none !important;
}

body:not(.staff-login):not(.staff-dash) nav,
body:not(.staff-login):not(.staff-dash) .nav {
	backdrop-filter: none !important;
	background: var(--rfu-surface) !important;
	border-bottom: 1px solid var(--rfu-border) !important;
	box-shadow: 0 1px 0 rgba(26, 29, 36, 0.04), 0 6px 24px rgba(26, 29, 36, 0.05) !important;
}

body:not(.staff-login):not(.staff-dash) .logo {
	font-weight: 700 !important;
	letter-spacing: -0.02em !important;
}

body:not(.staff-login):not(.staff-dash) .logo img {
	border-radius: var(--rfu-radius) !important;
	box-shadow: none !important;
}

body:not(.staff-login):not(.staff-dash) .nav-links a,
body:not(.staff-login):not(.staff-dash) .nav-main a {
	color: var(--rfu-text-secondary) !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: color 0.15s ease, border-color 0.15s ease;
}

body:not(.staff-login):not(.staff-dash) .nav-links a:hover,
body:not(.staff-login):not(.staff-dash) .nav-main a:hover {
	color: var(--rfu-text) !important;
}

body:not(.staff-login):not(.staff-dash) .nav-links .pill-link {
	background: var(--rfu-chip) !important;
	border: 1px solid var(--rfu-border) !important;
	color: var(--rfu-text) !important;
}

body:not(.staff-login):not(.staff-dash) .nav-links .pill-link:hover {
	border-color: rgba(255, 84, 0, 0.45) !important;
	color: var(--rfu-text) !important;
}

body:not(.staff-login):not(.staff-dash) .nav-toggle {
	background: var(--rfu-surface-2) !important;
	color: var(--rfu-text) !important;
	border-color: var(--rfu-border) !important;
}

main {
	padding-top: clamp(2rem, 5vw, 2.75rem) !important;
	padding-bottom: clamp(2.75rem, 6vw, 3.75rem) !important;
}

.nav-toggle,
.btn,
.btn-primary,
.btn-secondary,
.stat-box,
.feature,
.founder-note,
.cta-slab,
.quick-links a,
.trust-row span,
.callout,
.vid-card,
.role-table-wrap,
.as-head img,
.allstar-strip-actions a,
.host-section-inner,
.content-section,
input,
select,
textarea,
button {
	border-radius: var(--rfu-radius) !important;
}

.nav-links .pill-link,
.nav-actions a.nav-pill,
button.nav-soft {
	border-radius: var(--rfu-radius) !important;
}

.video-main,
.video-card .thumb-placeholder,
.thumb-placeholder {
	border-radius: var(--rfu-radius) !important;
	box-shadow: none !important;
}

.feature,
.stat-box,
.founder-note,
.cta-slab,
.callout,
.vid-card,
.allstar-strip,
.host-section-inner {
	border-color: var(--rfu-border) !important;
	box-shadow: none !important;
}

.section-kicker {
	text-transform: none !important;
	letter-spacing: 0.04em !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	color: var(--rfu-text-muted) !important;
}

.hero-title,
.section-heading,
h1 {
	letter-spacing: -0.025em !important;
	font-weight: 700 !important;
	color: var(--rfu-text) !important;
}

.hero-lead,
.intro-copy,
.feature p,
.host-note p,
.lede,
.prose p {
	line-height: 1.65 !important;
}

.hero {
	padding-top: clamp(44px, 9vh, 96px) !important;
	padding-bottom: clamp(40px, 7vh, 72px) !important;
}

.hero-lead,
.hero-sub {
	color: var(--rfu-text-secondary) !important;
}

.hero-sub a,
.hero-lead a {
	color: var(--rfu-link) !important;
}

.intro-copy,
.feature p,
.lede,
.prose p,
.host-note .host-outro,
.video-meta,
.stat-box .label,
.stat-box .hint,
.section-kicker,
.footer-tagline {
	color: var(--rfu-text-secondary) !important;
}

.video-card p,
.cta-slab p,
.allstar-strip p {
	color: var(--rfu-text-secondary) !important;
}

.prose a,
.host-note a,
.founder-note a,
.feature a,
.lede a,
.hero-sub a,
.footer-tagline a,
.back-link {
	color: var(--rfu-link) !important;
}

.prose a:hover,
.host-note a:hover,
.founder-note a:hover,
.feature a:hover,
.lede a:hover {
	color: var(--rfu-link-hover) !important;
}

footer a {
	color: var(--rfu-link) !important;
}

footer a:hover {
	color: var(--rfu-link-hover) !important;
}

.btn-primary {
	background: var(--rfu-accent) !important;
	border-color: var(--rfu-accent) !important;
	color: var(--rfu-on-accent) !important;
}

.stat-box {
	padding: 1.35rem 1.4rem !important;
	background: var(--rfu-surface) !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 1px 2px rgba(26, 29, 36, 0.05), 0 8px 24px rgba(26, 29, 36, 0.04) !important;
}

.stat-box:hover {
	border-color: rgba(255, 84, 0, 0.28) !important;
}

.stat-box .val {
	color: var(--rfu-text) !important;
}

.stat-box .label,
.stat-box .hint {
	color: var(--rfu-text-secondary) !important;
}

.btn,
.btn-primary,
.btn-secondary {
	padding: 0.72rem 1.05rem !important;
	font-weight: 700 !important;
	transition: filter 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn-primary:hover {
	filter: brightness(1.06) !important;
}

body:not(.staff-login):not(.staff-dash) .btn-secondary,
body:not(.staff-login):not(.staff-dash) .btn {
	background: var(--rfu-chip) !important;
	color: var(--rfu-text) !important;
	border-color: var(--rfu-border) !important;
}

body:not(.staff-login):not(.staff-dash) .btn-secondary:hover,
body:not(.staff-login):not(.staff-dash) .btn:hover {
	border-color: rgba(255, 84, 0, 0.4) !important;
}

body:not(.staff-login):not(.staff-dash) .trust-row span,
body:not(.staff-login):not(.staff-dash) .quick-links a {
	background: var(--rfu-chip) !important;
	color: var(--rfu-text) !important;
	border-color: var(--rfu-border) !important;
}

body:not(.staff-login):not(.staff-dash) .quick-links a:hover,
body:not(.staff-login):not(.staff-dash) .trust-row span:hover {
	border-color: rgba(255, 84, 0, 0.35) !important;
}

.content-section {
	padding-top: clamp(3.5rem, 8vw, 5rem) !important;
	padding-bottom: clamp(3.5rem, 8vw, 5rem) !important;
}

.feed-container {
	padding-top: clamp(3.5rem, 8vw, 5.5rem) !important;
	padding-bottom: clamp(3.5rem, 8vw, 5.5rem) !important;
}

.features {
	gap: 16px !important;
	margin-top: 1.75rem !important;
}

@media (max-width: 960px) {
	.features {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 580px) {
	.features {
		grid-template-columns: 1fr !important;
	}
}

.feature {
	padding: 1.35rem 1.4rem !important;
	background: var(--rfu-surface) !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 1px 2px rgba(26, 29, 36, 0.04), 0 6px 20px rgba(26, 29, 36, 0.03) !important;
}

.feature:hover {
	border-color: rgba(255, 84, 0, 0.32) !important;
}

.feature h3 {
	color: var(--rfu-text) !important;
	font-weight: 700 !important;
	margin-bottom: 0.45rem !important;
}

.feature p {
	color: var(--rfu-text-secondary) !important;
}

.intro-copy {
	color: var(--rfu-text-secondary) !important;
	max-width: 42rem !important;
}

.founder-wrap {
	margin-bottom: clamp(2.5rem, 6vw, 3.5rem) !important;
	padding-top: clamp(1.5rem, 4vw, 2.25rem);
}

.founder-note {
	padding: clamp(20px, 4vw, 28px) clamp(22px, 4vw, 30px) !important;
	border-left: 4px solid var(--rfu-accent) !important;
}

.founder-note p,
.founder-note b {
	color: var(--rfu-text) !important;
}

.allstar-strip {
	border-top: 1px solid var(--rfu-border);
	border-bottom: 1px solid var(--rfu-border);
	border-left: 4px solid var(--rfu-accent);
	background: var(--rfu-surface-raised) !important;
}

.allstar-strip-inner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 28px;
	padding: clamp(24px, 4vw, 36px) var(--page-pad-right) clamp(24px, 4vw, 36px) var(--page-pad-left) !important;
}

.allstar-strip-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--rfu-accent-soft);
	color: var(--rfu-accent);
	font-size: 1.35rem;
}

.allstar-strip strong {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--rfu-text);
}

.allstar-strip p {
	margin: 0;
	color: var(--rfu-text-secondary) !important;
	font-size: 15px;
	line-height: 1.68;
	max-width: 42rem;
}

.allstar-strip-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex-shrink: 0;
	padding-top: 2px;
}

.allstar-strip-actions a {
	display: inline-flex;
	align-items: center;
	padding: 0.7rem 1.05rem !important;
	border: 1px solid var(--rfu-border);
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	color: var(--rfu-text) !important;
	background: var(--rfu-surface) !important;
	transition: border-color 0.15s ease, filter 0.15s ease;
}

.allstar-strip-actions a:first-child {
	background: var(--rfu-accent) !important;
	border-color: var(--rfu-accent) !important;
	color: var(--rfu-on-accent) !important;
}

.allstar-strip-actions a:hover {
	border-color: rgba(255, 84, 0, 0.45) !important;
}

.hub-promo-copy {
	flex: 1 1 16rem;
	min-width: 0;
}

.hub-mode-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0 0 0.65rem;
	padding: 0;
}

.hub-mode-chips li {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.28rem 0.55rem;
	border-radius: 999px;
	background: var(--rfu-surface);
	border: 1px solid var(--rfu-border);
	color: var(--rfu-text-secondary);
}

.hub-promo-strip .allstar-strip-actions a:nth-child(2) {
	background: var(--rfu-surface) !important;
	border-color: var(--rfu-border) !important;
	color: var(--rfu-text) !important;
}

.cta-slab {
	padding: clamp(1.25rem, 3vw, 1.5rem) clamp(1.35rem, 3vw, 1.6rem) !important;
	margin-top: 2rem !important;
	border-left: 4px solid var(--rfu-accent) !important;
}

.cta-slab h3 {
	color: var(--rfu-text) !important;
}

.cta-slab p {
	color: var(--rfu-text-secondary) !important;
}

.video-section {
	background: var(--rfu-surface) !important;
	border-top: 1px solid var(--rfu-border) !important;
	border-radius: clamp(28px, 5vw, 48px) clamp(28px, 5vw, 48px) 0 0 !important;
	padding-top: clamp(2.25rem, 5vw, 3.25rem) !important;
	padding-bottom: clamp(2.25rem, 5vw, 3.25rem) !important;
}

body:not(.staff-login):not(.staff-dash) .video-main {
	border-color: var(--rfu-border) !important;
	box-shadow: none !important;
}

.video-title {
	color: var(--rfu-text) !important;
}

.feed-grid {
	gap: clamp(18px, 3vw, 28px) !important;
	margin-top: clamp(1.5rem, 4vw, 2.25rem) !important;
}

.video-card {
	transition: border-color 0.15s ease;
}

.video-card .thumb-placeholder {
	background: rgba(26, 29, 36, 0.05) !important;
	border-color: var(--rfu-border) !important;
	border-radius: var(--rfu-radius) !important;
}

.video-card:hover .thumb-placeholder {
	border-color: rgba(255, 84, 0, 0.32) !important;
}

.video-card h3 {
	color: var(--rfu-text) !important;
}

.video-card p,
.video-meta {
	color: var(--rfu-text-secondary) !important;
}

.host-section {
	background: var(--rfu-canvas) !important;
	border-top: 1px solid var(--rfu-border) !important;
	padding-top: clamp(3rem, 7vw, 4.5rem) !important;
	padding-bottom: clamp(3rem, 7vw, 4.5rem) !important;
}

.host-note,
.host-note p {
	color: var(--rfu-text) !important;
}

.callout {
	background: var(--rfu-accent-soft) !important;
	border-left: 4px solid var(--rfu-accent) !important;
}

.lede {
	color: var(--rfu-text-secondary) !important;
}

body:not(.staff-login):not(.staff-dash) table.roles {
	background: var(--rfu-surface-2) !important;
	color: var(--rfu-text) !important;
}

body:not(.staff-login):not(.staff-dash) table.roles th {
	background: rgba(26, 29, 36, 0.04) !important;
	color: var(--rfu-text-muted) !important;
}

body:not(.staff-login):not(.staff-dash) table.roles td {
	border-color: var(--rfu-border) !important;
}

body:not(.staff-login):not(.staff-dash) footer {
	background: var(--rfu-footer) !important;
	border-top: 1px solid var(--rfu-border);
	color: var(--rfu-text) !important;
}

.footer-brand h2 {
	color: var(--rfu-text) !important;
}

.footer-links h4 {
	color: var(--rfu-text-muted) !important;
}

.footer-links a {
	color: var(--rfu-text-secondary) !important;
	opacity: 1 !important;
	transition: color 0.15s ease;
}

.footer-links a:hover {
	color: var(--rfu-link) !important;
}

.footer-tagline {
	color: var(--rfu-text-secondary) !important;
	opacity: 1 !important;
	line-height: 1.55 !important;
}

.footer-github {
	color: var(--rfu-text-secondary) !important;
	opacity: 1 !important;
}

.footer-github:hover {
	color: var(--rfu-link) !important;
}

.footer-thanks-block > h4,
.footer-thanks-block > .footer-special-thanks-label {
	color: var(--rfu-text-muted) !important;
}

.footer-thanks-chip {
	border-color: var(--rfu-border) !important;
	background: var(--rfu-chip) !important;
	color: var(--rfu-text) !important;
}

.footer-thanks-face--cs {
	color: var(--rfu-text-secondary) !important;
}

.footer-thanks-face--name {
	color: var(--rfu-text) !important;
}

.footer-thanks-chip:hover,
.footer-thanks-chip:focus-visible {
	border-color: rgba(224, 74, 0, 0.45) !important;
	background: var(--rfu-accent-soft) !important;
}

.footer-special-thanks.footer-thanks-block {
	border-bottom-color: var(--rfu-border) !important;
}

.prop-card,
.prop-panel,
.guest-card,
.sync-banner,
.band-card,
.chart-wrap,
.error-panel,
.error-form,
.login-box,
.login-card,
.card,
.panel,
.metric,
.login-input,
.login-btn,
.staff-card,
.staff-panel,
.staff-btn,
.pill-link {
	border-radius: var(--rfu-radius) !important;
	box-shadow: none !important;
}

body:not(.staff-login):not(.staff-dash) .card,
body:not(.staff-login):not(.staff-dash) .error-panel,
body:not(.staff-login):not(.staff-dash) .error-form,
body:not(.staff-login):not(.staff-dash) .prop-card,
body:not(.staff-login):not(.staff-dash) .prop-panel,
body:not(.staff-login):not(.staff-dash) .guest-card,
body:not(.staff-login):not(.staff-dash) .band-card,
body:not(.staff-login):not(.staff-dash) .chart-wrap,
body:not(.staff-login):not(.staff-dash) .metric,
body:not(.staff-login):not(.staff-dash) .panel {
	background: var(--rfu-surface-2) !important;
	border-color: var(--rfu-border) !important;
}

body:not(.staff-login):not(.staff-dash) .sync-banner,
body:not(.staff-login):not(.staff-dash) .identity,
body:not(.staff-login):not(.staff-dash) details.faq {
	background: var(--rfu-surface) !important;
	border-color: var(--rfu-border) !important;
}

body:not(.staff-login):not(.staff-dash) input,
body:not(.staff-login):not(.staff-dash) select,
body:not(.staff-login):not(.staff-dash) textarea {
	background: var(--rfu-surface-2) !important;
	border-color: var(--rfu-border) !important;
	color: var(--rfu-text) !important;
}

body:not(.staff-login):not(.staff-dash) input:focus,
body:not(.staff-login):not(.staff-dash) select:focus,
body:not(.staff-login):not(.staff-dash) textarea:focus {
	border-color: rgba(255, 84, 0, 0.5) !important;
	outline: none;
}

body:not(.staff-login):not(.staff-dash) .flash.denied {
	background: var(--rfu-chip) !important;
	border-color: var(--rfu-border) !important;
	color: var(--rfu-text) !important;
}

body:not(.staff-login):not(.staff-dash) .page-intro .lede,
body:not(.staff-login):not(.staff-dash) .footer-note,
body:not(.staff-login):not(.staff-dash) .metric .label,
body:not(.staff-login):not(.staff-dash) .metric .hint {
	color: var(--rfu-text-secondary) !important;
}

body:not(.staff-login):not(.staff-dash) .metric .num {
	color: var(--rfu-text) !important;
}

.stat-box,
.feature,
.founder-note,
.cta-slab,
.host-section-inner,
.card,
.panel,
.metric,
body:not(.staff-login):not(.staff-dash) .card,
body:not(.staff-login):not(.staff-dash) .error-panel,
body:not(.staff-login):not(.staff-dash) .error-form,
body:not(.staff-login):not(.staff-dash) .prop-card,
body:not(.staff-login):not(.staff-dash) .prop-panel,
body:not(.staff-login):not(.staff-dash) .guest-card,
body:not(.staff-login):not(.staff-dash) .band-card,
body:not(.staff-login):not(.staff-dash) .chart-wrap,
body:not(.staff-login):not(.staff-dash) .metric,
body:not(.staff-login):not(.staff-dash) .panel {
	background: var(--rfu-surface-raised) !important;
}

body:not(.staff-login):not(.staff-dash) .video-section,
body:not(.staff-login):not(.staff-dash) .sync-banner,
body:not(.staff-login):not(.staff-dash) .identity,
body:not(.staff-login):not(.staff-dash) details.faq {
	background: var(--rfu-surface) !important;
}

body:not(.staff-login):not(.staff-dash) .host-section-inner {
	border-color: var(--rfu-border) !important;
}

@media (hover: hover) and (pointer: fine) {
	.btn-primary:hover,
	.btn-secondary:hover,
	.video-card:hover {
		transform: none !important;
	}
}

@media (max-width: 992px) {
	body:not(.home) .hero {
		text-align: center;
	}

	body:not(.home) .hero-actions,
	body:not(.home) .trust-row,
	body:not(.home) .quick-links {
		justify-content: center;
	}

	.cta-slab {
		flex-direction: column !important;
		align-items: stretch !important;
	}

	body:not(.home) .cta-slab {
		text-align: center;
	}

	body:not(.home) .cta-actions {
		justify-content: center;
	}
}

body:not(.staff-login):not(.staff-dash) main {
	max-width: 44rem !important;
}

body:not(.staff-login):not(.staff-dash) .callout {
	background: transparent !important;
	border: none !important;
	border-left: none !important;
	border-top: 1px solid var(--rfu-border) !important;
	border-radius: 0 !important;
	padding: 1rem 0 !important;
}

body:not(.staff-login):not(.staff-dash) .btn-row {
	gap: 0.5rem !important;
}

@media (max-width: 640px) {
	body:not(.staff-login):not(.staff-dash) .callout {
		padding: 1rem 0 !important;
	}
}

@media (max-width: 768px) {
	footer {
		gap: 2rem !important;
	}
}

body[data-theme="dark"] {
	--bg: #ffffff !important;
	--card: #ffffff !important;
	--text: #1a1d24 !important;
	--muted: #6e7583 !important;
	--border: rgba(26, 29, 36, 0.12) !important;
	color-scheme: light !important;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}
