:root {
  --rf-navy: #0F2742;
  --rf-navy-2: #163A5F;
  --rf-teal: #0E9F9A;
  --rf-teal-dark: #087C78;
  --rf-mint: #DDF7F3;
  --rf-cyan-soft: #E8F8FA;
  --rf-bg: #F7FBFA;
  --rf-surface: #FFFFFF;
  --rf-text: #243447;
  --rf-muted: #64748B;
  --rf-border: #DDE8EA;
  --rf-warning: #F59E0B;
  --rf-danger: #DC2626;
  --rf-success: #16A34A;
  --rf-info: #2563EB;
  --rf-radius-sm: 8px;
  --rf-radius-md: 14px;
  --rf-radius-lg: 22px;
  --rf-shadow-soft: 0 10px 30px rgba(15, 39, 66, 0.08);
  --rf-font-heading: Poppins, "Aptos Display", "Segoe UI", sans-serif;
  --rf-font-body: Inter, Aptos, "Segoe UI", sans-serif;
  --rf-header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--rf-header-height) + 16px); }
body { min-width: 320px; margin: 0; overflow-wrap: break-word; background: var(--rf-bg); color: var(--rf-text); font-family: var(--rf-font-body); line-height: 1.65; }
body.rf-menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; color: var(--rf-navy); font-family: var(--rf-font-heading); line-height: 1.18; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.35rem, 7vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { margin-top: 0; }
a { color: var(--rf-teal-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--rf-navy); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--rf-info); outline-offset: 3px; }
::selection { background: var(--rf-mint); color: var(--rf-navy); }
[hidden] { display: none !important; }

.rf-skip-link { position: fixed; z-index: 10000; top: 8px; left: 8px; padding: 10px 14px; background: var(--rf-surface); border: 2px solid var(--rf-info); border-radius: var(--rf-radius-sm); transform: translateY(-180%); font-weight: 700; }
.rf-skip-link:focus { transform: translateY(0); }
.rf-container { width: min(calc(100% - 32px), 1200px); margin-inline: auto; }
.rf-container--reading { width: min(calc(100% - 32px), 760px); margin-inline: auto; }
.rf-container--wide { width: min(calc(100% - 32px), 1360px); margin-inline: auto; }
.rf-section { padding-block: clamp(56px, 8vw, 96px); }
.rf-section--tight { padding-block: clamp(36px, 5vw, 64px); }
.rf-section--tint { background: #F0F7F6; }
.rf-section--white { background: var(--rf-surface); }
.rf-section--navy { background: var(--rf-navy); color: #C8D7E4; }
.rf-section--navy h2, .rf-section--navy h3 { color: var(--rf-surface); }
.rf-section-heading { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.rf-section-heading p { margin-bottom: 0; color: var(--rf-muted); font-size: 1.05rem; }
.rf-section-heading--split { max-width: none; display: grid; gap: 20px; align-items: end; }
.rf-section-heading--split > div { max-width: 760px; }
.rf-kicker { display: block; margin-bottom: 10px; color: var(--rf-teal-dark); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.rf-section--navy .rf-kicker { color: #8EE4DD; }
.rf-lede { max-width: 62ch; color: var(--rf-muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.rf-icon { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
.rf-screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.rf-site-header { position: sticky; z-index: 1000; top: 0; min-height: var(--rf-header-height); background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--rf-border); box-shadow: 0 2px 14px rgba(15, 39, 66, 0.04); }
.admin-bar .rf-site-header { top: 32px; }
.rf-header-inner { min-height: var(--rf-header-height); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rf-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--rf-navy); text-decoration: none; }
.rf-brand:hover { color: var(--rf-navy); }
.rf-brand-mark { width: 34px; height: 34px; display: inline-grid; place-items: center; background: var(--rf-navy); border-radius: 10px 10px 10px 4px; color: #8EE4DD; font-size: 1.1rem; font-weight: 900; }
.rf-brand-copy { display: grid; line-height: 1.08; }
.rf-brand-copy strong { font-family: var(--rf-font-heading); font-size: 1rem; }
.rf-brand-copy small { display: none; margin-top: 3px; color: var(--rf-muted); font-size: 0.64rem; font-weight: 650; }
.rf-desktop-nav { display: none; align-items: center; gap: 18px; }
.rf-desktop-nav a { padding-block: 22px; color: var(--rf-text); font-size: 0.86rem; font-weight: 700; text-decoration: none; }
.rf-desktop-nav a:hover, .rf-desktop-nav a[aria-current="page"] { color: var(--rf-teal-dark); }
.rf-header-actions { display: flex; align-items: center; gap: 8px; }
.rf-menu-toggle { width: 46px; height: 46px; display: inline-grid; place-items: center; padding: 0; background: transparent; border: 0; border-radius: 50%; color: var(--rf-navy); cursor: pointer; }
.rf-menu-toggle:hover { background: var(--rf-cyan-soft); }
.rf-menu-toggle span, .rf-menu-toggle::before, .rf-menu-toggle::after { content: ""; width: 21px; height: 2px; display: block; background: currentColor; border-radius: 2px; transition: transform 160ms ease, opacity 160ms ease; }
.rf-menu-toggle span { margin-block: 4px; }
.rf-menu-toggle[aria-expanded="true"] span { opacity: 0; }
.rf-menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.rf-menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
.rf-mobile-menu { position: fixed; z-index: 999; top: var(--rf-header-height); right: 0; bottom: 0; left: 0; padding: 12px 16px 96px; overflow-y: auto; background: var(--rf-surface); }
.admin-bar .rf-mobile-menu { top: calc(var(--rf-header-height) + 32px); }
.rf-mobile-menu a { min-height: 54px; display: flex; align-items: center; border-bottom: 1px solid var(--rf-border); color: var(--rf-navy); font-family: var(--rf-font-heading); font-size: 1.05rem; font-weight: 650; text-decoration: none; }

.rf-footer { padding-block: 56px 90px; background: #091C30; color: #AFC0CD; }
.rf-footer h2, .rf-footer h3, .rf-footer strong { color: var(--rf-surface); }
.rf-footer-grid { display: grid; gap: 32px; }
.rf-footer-about p { max-width: 38rem; font-size: 0.9rem; }
.rf-footer-nav { display: grid; align-content: start; gap: 8px; }
.rf-footer-nav a { width: fit-content; color: #C5D2DB; font-size: 0.84rem; text-decoration: none; }
.rf-footer-bottom { display: grid; gap: 6px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.72rem; }

.rf-content-shell { padding-block: clamp(44px, 7vw, 80px); }
.rf-content-shell .wp-block-post-content { max-width: 760px; margin-inline: auto; }
.rf-content-shell .wp-block-post-content > * + * { margin-top: 1.25em; }
.rf-content-shell .wp-block-post-featured-image { margin-bottom: 28px; overflow: hidden; border-radius: var(--rf-radius-lg); }
.rf-page-title { max-width: 900px; margin-inline: auto; text-align: center; }
.rf-post-meta { color: var(--rf-muted); font-size: 0.85rem; }

.rf-header-vault { display: none; }
@media (min-width: 480px) {
  .rf-brand-copy small { display: block; }
}
@media (min-width: 768px) {
  .rf-header-vault { display: inline-flex; }
  .rf-container, .rf-container--reading, .rf-container--wide { width: min(calc(100% - 48px), 1200px); }
  .rf-container--reading { width: min(calc(100% - 48px), 760px); }
  .rf-container--wide { width: min(calc(100% - 48px), 1360px); }
  .rf-section-heading--split { grid-template-columns: minmax(0, 1fr) auto; }
  .rf-footer { padding-bottom: 48px; }
  .rf-footer-grid { grid-template-columns: 1.5fr 0.75fr 0.9fr; }
  .rf-footer-bottom { grid-template-columns: 1fr auto; }
}
@media (min-width: 1120px) {
  .rf-desktop-nav { display: flex; }
  .rf-menu-toggle, .rf-mobile-menu { display: none !important; }
}
@media (max-width: 782px) {
  .admin-bar .rf-site-header { top: 46px; }
  .admin-bar .rf-mobile-menu { top: calc(var(--rf-header-height) + 46px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
