/* ============================================================
   Riftbeacon — AML & Fraud Monitoring for Digital Banks
   css/riftbeacon.css
   Brand prefix: rfb
   Palette: Deep teal #003B36 + Parchment #F5EDD6 + Alarm amber #D97706
   Typography: Playfair Display (heading) + Inter (body) + JetBrains Mono
   ============================================================ */

/* ── Custom Properties ── */
:root {
  --rfb-teal:          #003B36;
  --rfb-teal-dark:     #00241F;
  --rfb-teal-ink:      #0A1410;
  --rfb-teal-dec:      #00B28A;
  --rfb-teal-aa:       #00614D;
  --rfb-amber:         #D97706;
  --rfb-amber-aa:      #B45309;
  --rfb-parchment:     #F5EDD6;
  --rfb-bg-light:      #F3F6F4;
  --rfb-bg-white:      #FFFFFF;
  --rfb-fg-dark:       #F0EDE8;
  --rfb-fg-dark-muted: #A8B5AA;
  --rfb-fg-light:      #111827;
  --rfb-fg-muted:      #4B5563;
  --rfb-border:        rgba(0,59,54,0.12);
  --rfb-border-dark:   rgba(240,237,232,0.14);
  --rfb-radius:        6px;
  --rfb-radius-lg:     10px;
  --rfb-container:     1200px;
  --rfb-gutter:        clamp(20px, 5vw, 48px);
  --rfb-font-heading:  'Playfair Display', Georgia, serif;
  --rfb-font-body:     'Inter', system-ui, sans-serif;
  --rfb-font-mono:     'JetBrains Mono', 'Courier New', monospace;
  --rfb-shadow-sm:     0 1px 3px rgba(0,59,54,0.08);
  --rfb-shadow-md:     0 4px 16px rgba(0,59,54,0.12);
  --rfb-transition:    0.22s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--rfb-font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--rfb-fg-light);
  background: var(--rfb-bg-white);
  min-height: 100vh;
}

body.rfb-page--light-top .rfb-nav,
body.rfb-page--dark-top .rfb-nav {
  background: var(--rfb-teal);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Container ── */
.rfb-container {
  max-width: var(--rfb-container);
  margin: 0 auto;
  padding: 0 var(--rfb-gutter);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--rfb-font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(36px, 5.5vw, 52px); line-height: 1.15; }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.2; }
h3 { font-size: clamp(20px, 2.5vw, 24px); font-family: var(--rfb-font-body); line-height: 1.35; }
h4 { font-size: 18px; font-family: var(--rfb-font-body); line-height: 1.45; }
p { line-height: 1.7; }

.rfb-mono { font-family: var(--rfb-font-mono); }

/* ── Section Backgrounds ── */
.rfb-section--dark    { background: var(--rfb-teal);      color: var(--rfb-fg-dark); }
.rfb-section--dark-alt{ background: var(--rfb-teal-dark); color: var(--rfb-fg-dark); }
.rfb-section--light   { background: var(--rfb-bg-light);  color: var(--rfb-fg-light); }
.rfb-section--parchment{ background: var(--rfb-parchment); color: var(--rfb-fg-light); }
.rfb-section--white   { background: var(--rfb-bg-white);  color: var(--rfb-fg-light); }

/* ── Section Padding ── */
.rfb-section {
  padding: clamp(60px, 8vw, 96px) 0;
}
.rfb-section--slim { padding: clamp(40px, 5vw, 64px) 0; }

/* ── Eyebrow Labels ── */
.rfb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rfb-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.rfb-section--dark .rfb-eyebrow,
.rfb-section--dark-alt .rfb-eyebrow,
.rfb-nav--dark .rfb-eyebrow,
footer .rfb-eyebrow { color: var(--rfb-teal-dec); }

.rfb-section--light .rfb-eyebrow,
.rfb-section--parchment .rfb-eyebrow,
.rfb-section--white .rfb-eyebrow { color: var(--rfb-teal-aa); }

/* ── Buttons ── */
.rfb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--rfb-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--rfb-radius);
  border: 2px solid transparent;
  transition: all var(--rfb-transition);
  white-space: nowrap;
}

.rfb-btn--primary {
  background: var(--rfb-amber);
  color: #0A1410;
  border-color: var(--rfb-amber);
}
.rfb-btn--primary:hover {
  background: #C46A05;
  border-color: #C46A05;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217,119,6,0.35);
}

.rfb-btn--outline {
  background: transparent;
  color: var(--rfb-fg-dark);
  border-color: rgba(240,237,232,0.4);
}
.rfb-btn--outline:hover {
  border-color: var(--rfb-fg-dark);
  background: rgba(240,237,232,0.08);
}

.rfb-btn--outline-dark {
  background: transparent;
  color: var(--rfb-teal);
  border-color: var(--rfb-teal);
}
.rfb-btn--outline-dark:hover {
  background: var(--rfb-teal);
  color: var(--rfb-fg-dark);
}

.rfb-btn--teal {
  background: var(--rfb-teal);
  color: var(--rfb-fg-dark);
  border-color: var(--rfb-teal);
}
.rfb-btn--teal:hover {
  background: var(--rfb-teal-dark);
  border-color: var(--rfb-teal-dark);
}

.rfb-btn--sm { padding: 9px 18px; font-size: 0.875rem; }
.rfb-btn--lg { padding: 15px 32px; font-size: 1.0625rem; }

/* ── Navigation ── */
.rfb-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--rfb-transition), box-shadow var(--rfb-transition);
}

.rfb-nav--scrolled {
  background: var(--rfb-teal);
  box-shadow: 0 2px 16px rgba(0,59,54,0.3);
}

.rfb-nav__inner {
  max-width: var(--rfb-container);
  margin: 0 auto;
  padding: 0 var(--rfb-gutter);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rfb-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.rfb-nav__logo img {
  height: 32px;
  width: auto;
  max-width: 180px;
}

.rfb-nav__logo-text {
  font-family: var(--rfb-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rfb-fg-dark);
  letter-spacing: -0.02em;
}

.rfb-nav__primary {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.rfb-nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(240,237,232,0.85);
  padding: 8px 12px;
  border-radius: var(--rfb-radius);
  transition: color var(--rfb-transition), background var(--rfb-transition);
}

.rfb-nav__link:hover {
  color: var(--rfb-fg-dark);
  background: rgba(240,237,232,0.08);
}

/* Dropdown */
.rfb-nav__item { position: relative; }

.rfb-nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(240,237,232,0.85);
  padding: 8px 12px;
  border-radius: var(--rfb-radius);
  transition: color var(--rfb-transition), background var(--rfb-transition);
}

.rfb-nav__dropdown-toggle:hover,
.rfb-nav__item.is-open .rfb-nav__dropdown-toggle {
  color: var(--rfb-fg-dark);
  background: rgba(240,237,232,0.08);
}

.rfb-nav__dropdown-toggle i {
  font-size: 0.7rem;
  transition: transform var(--rfb-transition);
}

.rfb-nav__item.is-open .rfb-nav__dropdown-toggle i {
  transform: rotate(180deg);
}

.rfb-nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--rfb-teal);
  border: 1px solid rgba(240,237,232,0.14);
  border-radius: var(--rfb-radius-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--rfb-transition);
  box-shadow: 0 12px 40px rgba(0,36,31,0.4);
}

.rfb-nav__item.is-open .rfb-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rfb-page--light-top .rfb-nav__dropdown {
  background: var(--rfb-teal);
  border-color: rgba(240,237,232,0.14);
}

.rfb-nav__dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 0.875rem;
  color: rgba(240,237,232,0.82);
  border-radius: var(--rfb-radius);
  transition: all var(--rfb-transition);
}

.rfb-nav__dropdown a:hover {
  background: rgba(240,237,232,0.1);
  color: var(--rfb-fg-dark);
}

.rfb-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.rfb-nav__signin {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(240,237,232,0.75);
  padding: 7px 14px;
  border-radius: var(--rfb-radius);
  transition: all var(--rfb-transition);
}

.rfb-nav__signin:hover {
  color: var(--rfb-fg-dark);
  background: rgba(240,237,232,0.08);
}

/* Mobile hamburger */
.rfb-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.rfb-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--rfb-fg-dark);
  border-radius: 2px;
  transition: all var(--rfb-transition);
}

.rfb-nav__hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.rfb-nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.rfb-nav__hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.rfb-nav__mobile-menu {
  display: none;
  background: var(--rfb-teal-dark);
  border-top: 1px solid var(--rfb-border-dark);
  padding: 16px var(--rfb-gutter);
}

.rfb-nav__mobile-menu.is-open { display: block; }

.rfb-nav__mobile-link {
  display: block;
  padding: 12px 0;
  color: var(--rfb-fg-dark);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--rfb-border-dark);
}

.rfb-nav__mobile-group-label {
  display: block;
  padding: 12px 0 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rfb-teal-dec);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rfb-nav__mobile-sub {
  padding: 8px 0 8px 12px;
  border-bottom: 1px solid var(--rfb-border-dark);
}

.rfb-nav__mobile-sub a {
  display: block;
  padding: 7px 0;
  font-size: 0.9rem;
  color: rgba(240,237,232,0.78);
}

.rfb-nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
}

/* ── Hero ── */
.rfb-hero {
  padding: clamp(80px, 10vw, 120px) 0 clamp(60px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}

.rfb-hero__inner {
  max-width: var(--rfb-container);
  margin: 0 auto;
  padding: 0 var(--rfb-gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.rfb-hero__headline {
  font-size: clamp(36px, 5.5vw, 54px);
  color: var(--rfb-fg-dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.rfb-hero__subhead {
  font-size: 1.125rem;
  color: var(--rfb-fg-dark-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

.rfb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.rfb-hero__trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rfb-trust-chip {
  font-family: var(--rfb-font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(240,237,232,0.22);
  border-radius: 3px;
  color: rgba(240,237,232,0.7);
}

/* Hero SVG visual */
.rfb-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rfb-hero__svg-wrap {
  width: 100%;
  max-width: 520px;
  position: relative;
}

/* ── Sub-page Hero ── */
.rfb-subhero {
  padding: clamp(56px, 7vw, 80px) 0 clamp(44px, 5.5vw, 64px);
}

.rfb-subhero__inner {
  max-width: var(--rfb-container);
  margin: 0 auto;
  padding: 0 var(--rfb-gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.rfb-subhero__headline {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--rfb-fg-dark);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.rfb-subhero__lede {
  font-size: 1.0625rem;
  color: var(--rfb-fg-dark-muted);
  line-height: 1.7;
  max-width: 600px;
}

.rfb-subhero__stat-band {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid var(--rfb-border-dark);
  border-radius: var(--rfb-radius-lg);
  background: rgba(0,178,138,0.06);
  min-width: 200px;
}

.rfb-subhero__stat-num {
  font-family: var(--rfb-font-heading);
  font-size: 1.75rem;
  color: var(--rfb-teal-dec);
  font-weight: 700;
}

.rfb-subhero__stat-label {
  font-size: 0.8125rem;
  color: var(--rfb-fg-dark-muted);
  line-height: 1.5;
}

/* ── Differentiator Band (stats) ── */
.rfb-diff-band {
  padding: 48px 0;
}

.rfb-diff-band__inner {
  max-width: var(--rfb-container);
  margin: 0 auto;
  padding: 0 var(--rfb-gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.rfb-diff-stat {
  text-align: center;
  padding: 24px 16px;
}

.rfb-diff-stat__num {
  font-family: var(--rfb-font-heading);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: var(--rfb-teal);
  margin-bottom: 10px;
  line-height: 1.1;
}

.rfb-diff-stat__label {
  font-size: 0.9375rem;
  color: var(--rfb-fg-muted);
  line-height: 1.5;
}

/* ── Platform Modules ── */
.rfb-modules__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.rfb-module-card {
  padding: 32px 24px;
  border: 1px solid var(--rfb-border);
  border-radius: var(--rfb-radius-lg);
  transition: all var(--rfb-transition);
  cursor: default;
}

.rfb-module-card:hover {
  border-color: rgba(0,97,77,0.25);
  box-shadow: var(--rfb-shadow-md);
  transform: translateY(-2px);
}

.rfb-module-card__icon {
  width: 48px;
  height: 48px;
  background: var(--rfb-bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--rfb-teal-aa);
  margin-bottom: 18px;
}

.rfb-module-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--rfb-fg-light);
}

.rfb-module-card__body {
  font-size: 0.9rem;
  color: var(--rfb-fg-muted);
  line-height: 1.65;
}

.rfb-module-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rfb-teal-aa);
  transition: gap var(--rfb-transition);
}

.rfb-module-card__link:hover { gap: 9px; }

/* ── How It Works (3-step) ── */
.rfb-howitworks__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.rfb-step {
  text-align: center;
  position: relative;
}

.rfb-step::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: var(--rfb-teal-dec);
  opacity: 0.4;
}

.rfb-step:last-child::after { display: none; }

.rfb-step__num {
  width: 56px;
  height: 56px;
  background: var(--rfb-teal);
  color: var(--rfb-fg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rfb-font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 auto 18px;
}

.rfb-step__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.rfb-step__body {
  font-size: 0.9rem;
  color: var(--rfb-fg-muted);
  line-height: 1.65;
}

.rfb-howitworks__diagram {
  margin-top: 48px;
  border-radius: var(--rfb-radius-lg);
  overflow: hidden;
  border: 1px solid var(--rfb-border);
}

/* ── Two-col feature ── */
.rfb-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rfb-twocol--reverse { direction: rtl; }
.rfb-twocol--reverse > * { direction: ltr; }

.rfb-twocol__text {}
.rfb-twocol__text h3 { font-family: var(--rfb-font-heading); font-size: clamp(22px, 3vw, 28px); margin-bottom: 16px; }
.rfb-twocol__text p { font-size: 1rem; color: var(--rfb-fg-muted); line-height: 1.75; }

.rfb-twocol__visual {
  border-radius: var(--rfb-radius-lg);
  overflow: hidden;
  border: 1px solid var(--rfb-border);
  background: var(--rfb-bg-light);
}

.rfb-twocol__visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Customer evidence cards ── */
.rfb-evidence__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.rfb-evidence-card {
  padding: 36px;
  background: var(--rfb-bg-white);
  border-radius: var(--rfb-radius-lg);
  border-left: 4px solid var(--rfb-teal);
  box-shadow: var(--rfb-shadow-sm);
}

.rfb-evidence-card__quote {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--rfb-fg-light);
  line-height: 1.75;
  margin-bottom: 20px;
}

.rfb-evidence-card__quote::before { content: '\201C'; }
.rfb-evidence-card__quote::after  { content: '\201D'; }

.rfb-evidence-card__descriptor {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rfb-teal-aa);
  font-family: var(--rfb-font-mono);
  letter-spacing: 0.04em;
}

/* ── CTA Band ── */
.rfb-cta-band {
  text-align: center;
  padding: clamp(64px, 8vw, 100px) 0;
}

.rfb-cta-band h2 {
  color: var(--rfb-fg-dark);
  margin-bottom: 16px;
}

.rfb-cta-band p {
  color: var(--rfb-fg-dark-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 1.0625rem;
}

.rfb-cta-band__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Section header ── */
.rfb-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.rfb-section-header h2 { margin-bottom: 14px; }
.rfb-section-header p {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.rfb-section--dark .rfb-section-header h2,
.rfb-section--dark-alt .rfb-section-header h2 { color: var(--rfb-fg-dark); }

.rfb-section--dark .rfb-section-header p,
.rfb-section--dark-alt .rfb-section-header p { color: var(--rfb-fg-dark-muted); }

.rfb-section--light .rfb-section-header h2,
.rfb-section--parchment .rfb-section-header h2,
.rfb-section--white .rfb-section-header h2 { color: var(--rfb-fg-light); }

.rfb-section--light .rfb-section-header p,
.rfb-section--parchment .rfb-section-header p,
.rfb-section--white .rfb-section-header p { color: var(--rfb-fg-muted); }

/* ── Feature Grid ── */
.rfb-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.rfb-feature-card {
  padding: 28px 24px;
  border: 1px solid var(--rfb-border);
  border-radius: var(--rfb-radius-lg);
  background: var(--rfb-bg-white);
  transition: box-shadow var(--rfb-transition);
}

.rfb-section--light .rfb-feature-card { background: var(--rfb-bg-white); }
.rfb-section--white .rfb-feature-card { background: var(--rfb-bg-light); border-color: rgba(0,59,54,0.08); }
.rfb-section--parchment .rfb-feature-card { background: var(--rfb-bg-white); }

.rfb-feature-card:hover { box-shadow: var(--rfb-shadow-md); }

.rfb-feature-card__icon {
  font-size: 1.5rem;
  color: var(--rfb-teal-aa);
  margin-bottom: 14px;
}

.rfb-feature-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--rfb-fg-light);
}

.rfb-feature-card__body {
  font-size: 0.9rem;
  color: var(--rfb-fg-muted);
  line-height: 1.65;
}

/* ── Comparison Table ── */
.rfb-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 0.9375rem;
}

.rfb-compare-table th {
  background: var(--rfb-teal);
  color: var(--rfb-fg-dark);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
}

.rfb-compare-table th:first-child { border-radius: var(--rfb-radius) 0 0 0; }
.rfb-compare-table th:last-child  { border-radius: 0 var(--rfb-radius) 0 0; }

.rfb-compare-table td {
  padding: 14px 20px;
  color: var(--rfb-fg-light);
  border-bottom: 1px solid var(--rfb-border);
}

.rfb-compare-table tr:nth-child(even) td { background: rgba(0,59,54,0.03); }
.rfb-compare-table td.rfb-col--rfb { color: var(--rfb-teal-aa); font-weight: 600; }
.rfb-compare-table td.rfb-col--legacy { color: var(--rfb-fg-muted); }

.rfb-compare-table .rfb-check { color: var(--rfb-teal-aa); }
.rfb-compare-table .rfb-cross { color: #DC2626; }

/* ── Pricing ── */
.rfb-pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.rfb-pricing-card {
  padding: 32px 24px;
  border: 1px solid var(--rfb-border);
  border-radius: var(--rfb-radius-lg);
  background: var(--rfb-bg-white);
  position: relative;
  display: flex;
  flex-direction: column;
}

.rfb-pricing-card--featured {
  border-color: var(--rfb-teal-aa);
  border-width: 2px;
}

.rfb-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rfb-teal);
  color: var(--rfb-teal-dec);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.rfb-pricing-card__name {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rfb-teal-aa);
  margin-bottom: 6px;
  font-family: var(--rfb-font-mono);
}

.rfb-pricing-card__price {
  font-family: var(--rfb-font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--rfb-fg-light);
  line-height: 1.1;
  margin-bottom: 4px;
}

.rfb-pricing-card__price-mo {
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  margin-bottom: 6px;
}

.rfb-pricing-card__volume {
  font-size: 0.8125rem;
  color: var(--rfb-teal-aa);
  font-family: var(--rfb-font-mono);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rfb-border);
}

.rfb-pricing-card__modules {
  flex: 1;
  margin-bottom: 24px;
}

.rfb-pricing-card__module-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 0;
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  border-bottom: 1px solid rgba(0,59,54,0.05);
}

.rfb-pricing-card__module-item i {
  color: var(--rfb-teal-aa);
  font-size: 0.75rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.rfb-pricing-card__seats {
  font-size: 0.8125rem;
  color: var(--rfb-fg-muted);
  margin-bottom: 20px;
  font-style: italic;
}

.rfb-pricing-card .rfb-btn { width: 100%; justify-content: center; }

/* ── FAQ ── */
.rfb-faq { max-width: 760px; margin: 0 auto; }

.rfb-faq__item {
  border-bottom: 1px solid var(--rfb-border);
}

.rfb-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: none;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--rfb-fg-light);
  text-align: left;
  cursor: pointer;
  transition: color var(--rfb-transition);
}

.rfb-faq__question:hover { color: var(--rfb-teal); }

.rfb-faq__question i {
  font-size: 0.875rem;
  color: var(--rfb-teal-aa);
  transition: transform var(--rfb-transition);
  flex-shrink: 0;
}

.rfb-faq__item.is-open .rfb-faq__question i { transform: rotate(180deg); }

.rfb-faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

.rfb-faq__answer-inner {
  padding-bottom: 20px;
  font-size: 0.9375rem;
  color: var(--rfb-fg-muted);
  line-height: 1.75;
}

.rfb-faq__item.is-open .rfb-faq__answer {
  max-height: 400px;
}

/* ── Team ── */
.rfb-team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.rfb-team-card {
  text-align: center;
}

.rfb-team-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  background: var(--rfb-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--rfb-teal-dec);
  font-family: var(--rfb-font-heading);
  border: 3px solid var(--rfb-border);
}

.rfb-team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rfb-team-card__name {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--rfb-fg-light);
}

.rfb-team-card__role {
  font-size: 0.875rem;
  color: var(--rfb-teal-aa);
  font-weight: 500;
  margin-bottom: 10px;
}

.rfb-team-card__bio {
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  line-height: 1.6;
}

/* ── Blog ── */
.rfb-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.rfb-blog-card {
  border: 1px solid var(--rfb-border);
  border-radius: var(--rfb-radius-lg);
  overflow: hidden;
  background: var(--rfb-bg-white);
  transition: all var(--rfb-transition);
  display: flex;
  flex-direction: column;
}

.rfb-blog-card:hover {
  box-shadow: var(--rfb-shadow-md);
  transform: translateY(-2px);
  border-color: rgba(0,97,77,0.2);
}

.rfb-blog-card__thumb {
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: var(--rfb-bg-light);
}

.rfb-blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.rfb-blog-card:hover .rfb-blog-card__thumb img { transform: scale(1.03); }

.rfb-blog-card__content { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.rfb-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.rfb-blog-tag {
  display: inline-flex;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 3px;
  font-family: var(--rfb-font-mono);
  letter-spacing: 0.05em;
}

.rfb-section--light .rfb-blog-tag,
.rfb-section--white .rfb-blog-tag,
.rfb-blog-card__meta .rfb-blog-tag {
  background: rgba(0,59,54,0.08);
  color: var(--rfb-teal-aa);
}

.rfb-blog-card__date {
  font-size: 0.8125rem;
  color: var(--rfb-fg-muted);
}

.rfb-blog-card__title {
  font-family: var(--rfb-font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--rfb-fg-light);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}

.rfb-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.rfb-blog-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rfb-teal-aa);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--rfb-transition);
}

.rfb-blog-card__link:hover { gap: 9px; }

/* Blog article page */
.rfb-article-hero {
  padding: clamp(56px, 7vw, 80px) 0 clamp(40px, 5vw, 56px);
}

.rfb-article-hero__inner {
  max-width: var(--rfb-container);
  margin: 0 auto;
  padding: 0 var(--rfb-gutter);
  max-width: 860px;
}

.rfb-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.rfb-article-hero__title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--rfb-fg-dark);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.rfb-article-hero__lede {
  font-size: 1.125rem;
  color: var(--rfb-fg-dark-muted);
  line-height: 1.7;
}

.rfb-article-cover {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--rfb-gutter);
  margin-bottom: 16px;
}

.rfb-article-cover img {
  width: 100%;
  height: auto;
  border-radius: var(--rfb-radius-lg);
  border: 1px solid rgba(240,237,232,0.1);
}

.rfb-article-body-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--rfb-gutter);
}

.rfb-article-body {
  max-width: 720px;
  padding: clamp(40px, 5vw, 64px) 0;
  font-size: 1.0625rem;
  color: var(--rfb-fg-light);
  line-height: 1.8;
}

.rfb-article-body h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--rfb-fg-light);
}

.rfb-article-body h3 {
  font-size: 1.125rem;
  margin-top: 32px;
  margin-bottom: 12px;
  font-family: var(--rfb-font-body);
  font-weight: 700;
}

.rfb-article-body p { margin-bottom: 18px; }

.rfb-article-body ul, .rfb-article-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.rfb-article-body ul li { list-style: disc; margin-bottom: 8px; }
.rfb-article-body ol li { list-style: decimal; margin-bottom: 8px; }

.rfb-article-body blockquote {
  border-left: 4px solid var(--rfb-teal-aa);
  padding: 16px 20px;
  margin: 28px 0;
  background: var(--rfb-bg-light);
  border-radius: 0 var(--rfb-radius) var(--rfb-radius) 0;
  font-style: italic;
  color: var(--rfb-fg-muted);
}

.rfb-article-body code {
  font-family: var(--rfb-font-mono);
  font-size: 0.875em;
  background: var(--rfb-bg-light);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--rfb-teal-aa);
}

/* ── Timeline ── */
.rfb-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}

.rfb-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--rfb-teal-dec);
  opacity: 0.3;
}

.rfb-timeline__step { text-align: center; padding: 0 12px; }

.rfb-timeline__dot {
  width: 48px;
  height: 48px;
  background: var(--rfb-teal);
  border: 3px solid var(--rfb-teal-dec);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.125rem;
  color: var(--rfb-teal-dec);
  position: relative;
  z-index: 1;
}

.rfb-section--light .rfb-timeline__dot { background: var(--rfb-bg-white); border-color: var(--rfb-teal-aa); color: var(--rfb-teal-aa); }

.rfb-timeline__label {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--rfb-fg-light);
}

.rfb-section--dark .rfb-timeline__label { color: var(--rfb-fg-dark); }

.rfb-timeline__desc {
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  line-height: 1.6;
}

.rfb-section--dark .rfb-timeline__desc { color: var(--rfb-fg-dark-muted); }

/* ── Security Grid ── */
.rfb-security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.rfb-security-card {
  padding: 28px 24px;
  border: 1px solid var(--rfb-border);
  border-radius: var(--rfb-radius-lg);
  background: var(--rfb-bg-white);
}

.rfb-security-card__icon {
  font-size: 1.75rem;
  color: var(--rfb-teal-aa);
  margin-bottom: 14px;
}

.rfb-security-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.rfb-security-card__body {
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  line-height: 1.65;
}

/* ── Compliance Matrix ── */
.rfb-compliance-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 32px;
}

.rfb-compliance-table th {
  background: rgba(0,59,54,0.08);
  color: var(--rfb-teal);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
}

.rfb-compliance-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,59,54,0.08);
  color: var(--rfb-fg-light);
}

.rfb-compliance-table tr:hover td { background: rgba(0,59,54,0.03); }

.rfb-status-pill {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.rfb-status-pill--done { background: rgba(0,97,77,0.12); color: var(--rfb-teal-aa); }
.rfb-status-pill--progress { background: rgba(217,119,6,0.12); color: var(--rfb-amber-aa); }
.rfb-status-pill--planned { background: rgba(75,85,99,0.1); color: var(--rfb-fg-muted); }

/* ── Login pages ── */
.rfb-login-page {
  min-height: 100vh;
  background: var(--rfb-teal);
  display: flex;
  flex-direction: column;
}

.rfb-login-page .rfb-nav { position: static; background: transparent; }
.rfb-login-page .rfb-nav--scrolled { background: transparent; box-shadow: none; }

.rfb-login-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--rfb-gutter);
}

.rfb-login-card {
  background: var(--rfb-bg-white);
  border-radius: var(--rfb-radius-lg);
  padding: clamp(32px, 5vw, 52px);
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 60px rgba(0,59,54,0.35);
}

.rfb-login-card__title {
  font-size: 1.625rem;
  color: var(--rfb-fg-light);
  margin-bottom: 6px;
}

.rfb-login-card__sub {
  font-size: 0.9rem;
  color: var(--rfb-fg-muted);
  margin-bottom: 28px;
}

.rfb-form-group { margin-bottom: 20px; }

.rfb-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rfb-fg-light);
  margin-bottom: 7px;
}

.rfb-form-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  font-family: var(--rfb-font-body);
  color: var(--rfb-fg-light);
  background: var(--rfb-bg-white);
  border: 1.5px solid var(--rfb-border);
  border-radius: var(--rfb-radius);
  transition: border-color var(--rfb-transition);
  outline: none;
}

.rfb-form-input:focus {
  border-color: var(--rfb-teal-aa);
  box-shadow: 0 0 0 3px rgba(0,97,77,0.1);
}

.rfb-form-select {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  font-family: var(--rfb-font-body);
  color: var(--rfb-fg-light);
  background: var(--rfb-bg-white);
  border: 1.5px solid var(--rfb-border);
  border-radius: var(--rfb-radius);
  transition: border-color var(--rfb-transition);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234B5563' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.rfb-form-select:focus {
  border-color: var(--rfb-teal-aa);
  box-shadow: 0 0 0 3px rgba(0,97,77,0.1);
}

.rfb-form-textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  font-family: var(--rfb-font-body);
  color: var(--rfb-fg-light);
  background: var(--rfb-bg-white);
  border: 1.5px solid var(--rfb-border);
  border-radius: var(--rfb-radius);
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
  outline: none;
  transition: border-color var(--rfb-transition);
}

.rfb-form-textarea:focus {
  border-color: var(--rfb-teal-aa);
  box-shadow: 0 0 0 3px rgba(0,97,77,0.1);
}

.rfb-login-forgot {
  font-size: 0.875rem;
  color: var(--rfb-teal-aa);
  text-align: right;
  display: block;
  margin-top: -12px;
  margin-bottom: 20px;
}

.rfb-login-forgot:hover { text-decoration: underline; }

.rfb-login-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--rfb-fg-muted);
  margin-top: 20px;
  line-height: 1.6;
}

.rfb-login-note a { color: var(--rfb-teal-aa); text-decoration: underline; }

/* ── Contact Page ── */
.rfb-contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

.rfb-contact-info-card {
  padding: 32px;
  background: var(--rfb-teal);
  border-radius: var(--rfb-radius-lg);
  color: var(--rfb-fg-dark);
}

.rfb-contact-info-card h3 {
  font-family: var(--rfb-font-heading);
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--rfb-fg-dark);
}

.rfb-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.rfb-contact-item i {
  color: var(--rfb-teal-dec);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.rfb-contact-item a {
  color: var(--rfb-fg-dark);
  transition: color var(--rfb-transition);
}

.rfb-contact-item a:hover { color: var(--rfb-teal-dec); }

/* ── Case Studies ── */
.rfb-case-study {
  padding: clamp(48px, 6vw, 72px) 0;
}

.rfb-case-study__inner {
  max-width: var(--rfb-container);
  margin: 0 auto;
  padding: 0 var(--rfb-gutter);
}

.rfb-case-study__header {
  margin-bottom: 32px;
}

.rfb-case-study__descriptor {
  font-family: var(--rfb-font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rfb-teal-aa);
  margin-bottom: 10px;
}

.rfb-case-study__quote-block {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--rfb-fg-muted);
  border-left: 4px solid var(--rfb-teal);
  padding-left: 20px;
  margin: 24px 0;
  line-height: 1.6;
}

.rfb-case-study__metrics {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.rfb-case-metric { }

.rfb-case-metric__num {
  font-family: var(--rfb-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rfb-teal-aa);
  line-height: 1.1;
}

.rfb-case-metric__label {
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  margin-top: 4px;
}

/* ── Metrics Band ── */
.rfb-metrics-band {
  padding: 48px 0;
}

.rfb-metrics-band__inner {
  max-width: var(--rfb-container);
  margin: 0 auto;
  padding: 0 var(--rfb-gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.rfb-metric-item__num {
  font-family: var(--rfb-font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--rfb-teal-aa);
  margin-bottom: 8px;
}

.rfb-metric-item__label {
  font-size: 0.9375rem;
  color: var(--rfb-fg-muted);
  line-height: 1.5;
}

/* ── 4-Column Differentiation Pillars ── */
.rfb-pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.rfb-pillar-card {
  padding: 32px 20px;
  border: 1px solid var(--rfb-border);
  border-radius: var(--rfb-radius-lg);
  text-align: center;
  background: var(--rfb-bg-white);
  transition: all var(--rfb-transition);
}

.rfb-section--light .rfb-pillar-card { background: var(--rfb-bg-white); }

.rfb-pillar-card:hover {
  box-shadow: var(--rfb-shadow-md);
  border-color: rgba(0,97,77,0.2);
}

.rfb-pillar-card__icon {
  font-size: 2rem;
  color: var(--rfb-teal-aa);
  margin-bottom: 16px;
}

.rfb-pillar-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--rfb-fg-light);
}

.rfb-pillar-card__body {
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  line-height: 1.65;
}

/* ── Founder Section ── */
.rfb-founder {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
}

.rfb-founder__text h3 {
  font-family: var(--rfb-font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  margin-bottom: 20px;
  color: var(--rfb-fg-light);
}

.rfb-founder__text p {
  font-size: 1rem;
  color: var(--rfb-fg-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.rfb-founder__portrait {
  border-radius: var(--rfb-radius-lg);
  overflow: hidden;
  border: 2px solid var(--rfb-border);
}

.rfb-founder__portrait img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Mission Values ── */
.rfb-values__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 40px;
}

.rfb-value-item {
  padding: 32px 28px;
  background: rgba(255,255,255,0.6);
}

.rfb-value-item:first-child { border-radius: var(--rfb-radius-lg) 0 0 var(--rfb-radius-lg); }
.rfb-value-item:last-child { border-radius: 0 var(--rfb-radius-lg) var(--rfb-radius-lg) 0; }

.rfb-value-item__num {
  font-family: var(--rfb-font-mono);
  font-size: 0.75rem;
  color: var(--rfb-teal-aa);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.rfb-value-item__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--rfb-fg-light);
}

.rfb-value-item__body {
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  line-height: 1.65;
}

/* ── Office / Address Block ── */
.rfb-address-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.rfb-address-block__info h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.rfb-address-block__info p {
  font-size: 0.9375rem;
  color: var(--rfb-fg-muted);
  line-height: 1.75;
}

.rfb-address-block__info a { color: var(--rfb-teal-aa); }
.rfb-address-block__info a:hover { text-decoration: underline; }

/* ── KYC Stages ── */
.rfb-kyc-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.rfb-kyc-stage {
  padding: 32px 24px;
  border: 1px solid var(--rfb-border);
  border-radius: var(--rfb-radius-lg);
  background: var(--rfb-bg-white);
  position: relative;
}

.rfb-kyc-stage__num {
  font-family: var(--rfb-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rfb-teal-aa);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.rfb-kyc-stage__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.rfb-kyc-stage__items { padding-left: 16px; }
.rfb-kyc-stage__items li {
  list-style: disc;
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  margin-bottom: 6px;
  line-height: 1.55;
}

/* ── Sanctions List Coverage ── */
.rfb-list-coverage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.rfb-list-card {
  padding: 24px;
  border: 1px solid var(--rfb-border);
  border-radius: var(--rfb-radius-lg);
  background: var(--rfb-bg-white);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.rfb-list-card__icon {
  font-size: 1.5rem;
  color: var(--rfb-amber-aa);
  flex-shrink: 0;
}

.rfb-list-card__content h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.rfb-list-card__content p {
  font-size: 0.8125rem;
  color: var(--rfb-fg-muted);
  line-height: 1.55;
}

/* ── Screening Modes Comparison ── */
.rfb-screening-compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.rfb-screening-mode {
  padding: 28px 24px;
  border-radius: var(--rfb-radius-lg);
  border: 1px solid var(--rfb-border);
}

.rfb-screening-mode--realtime { border-color: rgba(0,97,77,0.3); background: rgba(0,97,77,0.04); }
.rfb-screening-mode--batch { background: var(--rfb-bg-white); }

.rfb-screening-mode__label {
  font-family: var(--rfb-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rfb-teal-aa);
  margin-bottom: 10px;
}

.rfb-screening-mode__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.rfb-screening-mode__items { padding-left: 16px; }
.rfb-screening-mode__items li {
  list-style: disc;
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  margin-bottom: 7px;
}

/* ── SAR Lifecycle ── */
.rfb-sar-lifecycle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.rfb-sar-stage {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.rfb-sar-stage__icon {
  font-size: 1.75rem;
  color: var(--rfb-teal-aa);
  margin-bottom: 12px;
}

.rfb-sar-stage__title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--rfb-fg-light);
}

.rfb-sar-stage__body {
  font-size: 0.8125rem;
  color: var(--rfb-fg-muted);
  line-height: 1.55;
}

/* ── Rule Types Table ── */
.rfb-rule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 32px;
}

.rfb-rule-table th {
  background: var(--rfb-parchment);
  color: var(--rfb-fg-light);
  padding: 12px 20px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid rgba(0,59,54,0.15);
}

.rfb-rule-table td {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(0,59,54,0.08);
  color: var(--rfb-fg-light);
}

.rfb-rule-table td:first-child { font-weight: 600; color: var(--rfb-teal-aa); }
.rfb-rule-table tr:hover td { background: rgba(0,59,54,0.02); }

/* ── ML vs Rules comparison ── */
.rfb-ml-compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.rfb-ml-panel {
  padding: 28px 24px;
  border-radius: var(--rfb-radius-lg);
}

.rfb-ml-panel--rules { background: var(--rfb-bg-light); border: 1px solid var(--rfb-border); }
.rfb-ml-panel--ml { background: var(--rfb-teal); color: var(--rfb-fg-dark); }

.rfb-ml-panel__label {
  font-family: var(--rfb-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.rfb-ml-panel--rules .rfb-ml-panel__label { color: var(--rfb-fg-muted); }
.rfb-ml-panel--ml .rfb-ml-panel__label { color: var(--rfb-teal-dec); }

.rfb-ml-panel__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 16px; }
.rfb-ml-panel--rules .rfb-ml-panel__title { color: var(--rfb-fg-light); }
.rfb-ml-panel--ml .rfb-ml-panel__title { color: var(--rfb-fg-dark); }

.rfb-ml-panel__items { padding-left: 16px; }
.rfb-ml-panel__items li { list-style: disc; font-size: 0.875rem; margin-bottom: 7px; line-height: 1.55; }
.rfb-ml-panel--rules .rfb-ml-panel__items li { color: var(--rfb-fg-muted); }
.rfb-ml-panel--ml .rfb-ml-panel__items li { color: var(--rfb-fg-dark-muted); }

/* ── CTR Section ── */
.rfb-ctr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.rfb-ctr-card {
  padding: 28px 24px;
  border: 1px solid var(--rfb-border);
  border-radius: var(--rfb-radius-lg);
  background: var(--rfb-bg-white);
}

.rfb-ctr-card__threshold {
  font-family: var(--rfb-font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--rfb-amber-aa);
  margin-bottom: 8px;
}

.rfb-ctr-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.rfb-ctr-card__body { font-size: 0.875rem; color: var(--rfb-fg-muted); line-height: 1.65; }

/* ── Audit Trail ── */
.rfb-audit-log {
  background: var(--rfb-teal-ink);
  border-radius: var(--rfb-radius-lg);
  padding: 24px;
  margin-top: 32px;
  font-family: var(--rfb-font-mono);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--rfb-fg-dark-muted);
}

.rfb-audit-log__entry {
  display: grid;
  grid-template-columns: 180px 80px 1fr;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(240,237,232,0.06);
}

.rfb-audit-log__entry:last-child { border-bottom: none; }

.rfb-audit-log__ts { color: rgba(240,237,232,0.4); }
.rfb-audit-log__action { color: var(--rfb-teal-dec); }
.rfb-audit-log__detail { color: rgba(240,237,232,0.7); }

/* ── Integration code block ── */
.rfb-code-block {
  background: var(--rfb-teal-ink);
  border-radius: var(--rfb-radius-lg);
  overflow: hidden;
  margin-top: 28px;
}

.rfb-code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(240,237,232,0.08);
}

.rfb-code-block__title {
  font-family: var(--rfb-font-mono);
  font-size: 0.8125rem;
  color: var(--rfb-fg-dark-muted);
}

.rfb-code-block__body {
  padding: 20px;
  font-family: var(--rfb-font-mono);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--rfb-fg-dark-muted);
  overflow-x: auto;
  white-space: normal;
}

.rfb-code-block__body .rfb-code-line {
  display: block;
  white-space: pre;
}

.rfb-code-key   { color: #68D391; }
.rfb-code-str   { color: #FAD07A; }
.rfb-code-num   { color: var(--rfb-teal-dec); }
.rfb-code-cmt   { color: rgba(240,237,232,0.35); font-style: italic; }
.rfb-code-punct { color: rgba(240,237,232,0.5); }

/* ── Platform module deep-link cards ── */
.rfb-module-deeplink-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.rfb-module-deeplink-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--rfb-border);
  border-radius: var(--rfb-radius-lg);
  background: var(--rfb-bg-white);
  transition: all var(--rfb-transition);
  text-decoration: none;
}

.rfb-module-deeplink-card:hover {
  border-color: rgba(0,97,77,0.25);
  box-shadow: var(--rfb-shadow-md);
  transform: translateY(-2px);
}

.rfb-module-deeplink-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(0,97,77,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--rfb-teal-aa);
  flex-shrink: 0;
}

.rfb-module-deeplink-card__content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--rfb-fg-light);
  margin-bottom: 7px;
}

.rfb-module-deeplink-card__content p {
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  line-height: 1.6;
}

/* ── 404 ── */
.rfb-404-wrap {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--rfb-gutter);
}

.rfb-404-code {
  font-family: var(--rfb-font-mono);
  font-size: 7rem;
  font-weight: 700;
  color: var(--rfb-teal-dec);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.7;
}

.rfb-404-wrap h1 {
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--rfb-fg-dark);
  margin-bottom: 16px;
}

.rfb-404-wrap p {
  color: var(--rfb-fg-dark-muted);
  font-size: 1.0625rem;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.65;
}

/* ── Footer ── */
.rfb-footer {
  background: var(--rfb-teal);
  color: var(--rfb-fg-dark);
  padding: 72px 0 0;
}

.rfb-footer__inner {
  max-width: var(--rfb-container);
  margin: 0 auto;
  padding: 0 var(--rfb-gutter);
}

.rfb-footer__top {
  display: grid;
  grid-template-columns: 200px repeat(5, 1fr);
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rfb-border-dark);
}

.rfb-footer__brand { }

.rfb-footer__logo-text {
  font-family: var(--rfb-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rfb-fg-dark);
  margin-bottom: 10px;
}

.rfb-footer__tagline {
  font-size: 0.875rem;
  color: var(--rfb-fg-dark-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.rfb-footer__col-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rfb-teal-dec);
  margin-bottom: 14px;
  font-family: var(--rfb-font-mono);
}

.rfb-footer__col-links { display: flex; flex-direction: column; gap: 10px; }

.rfb-footer__col-links a {
  font-size: 0.875rem;
  color: var(--rfb-fg-dark-muted);
  transition: color var(--rfb-transition);
}

.rfb-footer__col-links a:hover { color: var(--rfb-fg-dark); }

.rfb-footer__contact-block {
  padding: 28px 0;
  border-bottom: 1px solid var(--rfb-border-dark);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.rfb-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--rfb-fg-dark-muted);
}

.rfb-footer__contact-item i { color: var(--rfb-teal-dec); font-size: 0.875rem; }

.rfb-footer__contact-item a {
  color: var(--rfb-fg-dark-muted);
  transition: color var(--rfb-transition);
}

.rfb-footer__contact-item a:hover { color: var(--rfb-fg-dark); }

.rfb-footer__bottom {
  background: var(--rfb-teal-ink);
  padding: 20px var(--rfb-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 0 -0px;
}

.rfb-footer__copyright {
  font-size: 0.8125rem;
  color: rgba(240,237,232,0.45);
}

.rfb-footer__legal-links {
  display: flex;
  gap: 16px;
}

.rfb-footer__legal-links a {
  font-size: 0.8125rem;
  color: rgba(240,237,232,0.45);
  transition: color var(--rfb-transition);
}

.rfb-footer__legal-links a:hover { color: var(--rfb-fg-dark); }

/* ── Cookie Banner ── */
.rfb-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--rfb-parchment);
  border-top: 2px solid rgba(0,59,54,0.15);
  box-shadow: 0 -4px 24px rgba(0,59,54,0.15);
  display: none;
}

.rfb-cookie-banner.is-visible { display: block; }

body.rfb-cookie-visible { padding-bottom: 100px; }

.rfb-cookie-banner__inner {
  max-width: var(--rfb-container);
  margin: 0 auto;
  padding: 16px var(--rfb-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.rfb-cookie-banner__text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--rfb-fg-light);
  line-height: 1.55;
  min-width: 240px;
}

.rfb-cookie-banner__text a { color: var(--rfb-teal-aa); text-decoration: underline; }

.rfb-cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Legal pages ── */
.rfb-legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) 0;
}

.rfb-legal-content h2 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-family: var(--rfb-font-body);
  color: var(--rfb-fg-light);
  margin-top: 36px;
  margin-bottom: 12px;
  font-weight: 700;
}

.rfb-legal-content h3 {
  font-size: 1rem;
  font-family: var(--rfb-font-body);
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--rfb-fg-light);
}

.rfb-legal-content p {
  font-size: 0.9375rem;
  color: var(--rfb-fg-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.rfb-legal-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.rfb-legal-content ul li {
  list-style: disc;
  font-size: 0.9375rem;
  color: var(--rfb-fg-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.rfb-legal-content a { color: var(--rfb-teal-aa); text-decoration: underline; }

.rfb-legal-updated {
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rfb-border);
}

/* ── Fade-in animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* Failsafe: ensure visible after delay */
@keyframes rfb-reveal {
  to { opacity: 1; transform: none; }
}

/* ── Solutions pages ── */
.rfb-solution-painpoints {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.rfb-pain-card {
  padding: 24px;
  border: 1px solid var(--rfb-border);
  border-radius: var(--rfb-radius-lg);
  background: var(--rfb-bg-white);
}

.rfb-pain-card__icon {
  font-size: 1.5rem;
  color: var(--rfb-amber-aa);
  margin-bottom: 12px;
}

.rfb-pain-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.rfb-pain-card__body { font-size: 0.875rem; color: var(--rfb-fg-muted); line-height: 1.65; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .rfb-pricing__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .rfb-hero__inner { grid-template-columns: 1fr; }
  .rfb-hero__visual { display: none; }
  .rfb-modules__grid { grid-template-columns: repeat(2, 1fr); }
  .rfb-pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .rfb-team__grid { grid-template-columns: repeat(2, 1fr); }
  .rfb-blog__grid { grid-template-columns: repeat(2, 1fr); }
  .rfb-footer__top { grid-template-columns: repeat(3, 1fr); }
  .rfb-contact-grid { grid-template-columns: 1fr; }
  .rfb-founder { grid-template-columns: 1fr; }
  .rfb-founder__portrait { max-width: 360px; }
  .rfb-timeline { grid-template-columns: repeat(2, 1fr); }
  .rfb-timeline::before { display: none; }
  .rfb-sar-lifecycle { grid-template-columns: repeat(2, 1fr); }
  .rfb-twocol { grid-template-columns: 1fr; gap: 32px; }
  .rfb-twocol--reverse { direction: ltr; }
  .rfb-subhero__inner { grid-template-columns: 1fr; }
  .rfb-subhero__stat-band { flex-direction: row; flex-wrap: wrap; min-width: auto; }
  .rfb-howitworks__steps { grid-template-columns: 1fr; }
  .rfb-step::after { display: none; }
  .rfb-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .rfb-security-grid { grid-template-columns: repeat(2, 1fr); }
  .rfb-kyc-stages { grid-template-columns: 1fr; }
  .rfb-module-deeplink-grid { grid-template-columns: 1fr; }
  .rfb-solution-painpoints { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .rfb-nav__primary,
  .rfb-nav__actions { display: none; }
  .rfb-nav__hamburger { display: flex; }
  .rfb-diff-band__inner { grid-template-columns: 1fr; }
  .rfb-evidence__grid { grid-template-columns: 1fr; }
  .rfb-pricing__grid { grid-template-columns: 1fr; }
  .rfb-blog__grid { grid-template-columns: 1fr; }
  .rfb-team__grid { grid-template-columns: repeat(2, 1fr); }
  .rfb-values__strip { grid-template-columns: 1fr; }
  .rfb-value-item:first-child,
  .rfb-value-item:last-child { border-radius: 0; }
  .rfb-footer__top { grid-template-columns: repeat(2, 1fr); }
  .rfb-address-block { grid-template-columns: 1fr; }
  .rfb-list-coverage { grid-template-columns: 1fr; }
  .rfb-screening-compare { grid-template-columns: 1fr; }
  .rfb-ml-compare { grid-template-columns: 1fr; }
  .rfb-ctr-grid { grid-template-columns: 1fr; }
  .rfb-module-deeplink-grid { grid-template-columns: 1fr; }
  .rfb-solution-painpoints { grid-template-columns: 1fr; }
  .rfb-metrics-band__inner { grid-template-columns: 1fr; gap: 24px; }
  .rfb-diff-band__inner { text-align: center; }
  .rfb-kyc-stages { grid-template-columns: 1fr; }
  .rfb-sar-lifecycle { grid-template-columns: 1fr; }
  .rfb-audit-log__entry { grid-template-columns: 1fr; gap: 4px; }
  .rfb-audit-log__ts { display: none; }
}

@media (max-width: 540px) {
  .rfb-team__grid { grid-template-columns: 1fr; }
  .rfb-footer__top { grid-template-columns: 1fr; }
  .rfb-feature-grid { grid-template-columns: 1fr; }
  .rfb-security-grid { grid-template-columns: 1fr; }
  .rfb-pillars__grid { grid-template-columns: 1fr; }
  .rfb-modules__grid { grid-template-columns: 1fr; }
}

/* ── Article page (blog detail) ── */
.rfb-article { }

.rfb-article__header {
  padding: clamp(56px, 7vw, 80px) 0 clamp(40px, 5vw, 56px);
}

.rfb-article__header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--rfb-gutter);
}

.rfb-article__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rfb-fg-dark-muted);
  margin-bottom: 20px;
  transition: color var(--rfb-transition);
}

.rfb-article__back:hover { color: var(--rfb-fg-dark); }

.rfb-article__title {
  font-size: clamp(26px, 4vw, 40px);
  color: var(--rfb-fg-dark);
  margin: 16px 0 20px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.rfb-article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--rfb-fg-dark-muted);
}

.rfb-article__meta span { display: flex; align-items: center; gap: 4px; }

.rfb-article__cover {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--rfb-gutter);
}

.rfb-article__cover-img {
  width: 100%;
  height: auto;
  border-radius: var(--rfb-radius-lg);
  display: block;
  margin-bottom: 0;
}

.rfb-article__body {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) var(--rfb-gutter);
  font-size: 1.0625rem;
  color: var(--rfb-fg-light);
  line-height: 1.8;
}

.rfb-article__body h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin: 40px 0 14px;
  color: var(--rfb-fg-light);
}

.rfb-article__body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  font-family: var(--rfb-font-body);
  margin: 28px 0 10px;
}

.rfb-article__body p { margin-bottom: 18px; }

.rfb-article__body ul,
.rfb-article__body ol { padding-left: 24px; margin-bottom: 18px; }

.rfb-article__body ul li { list-style: disc; margin-bottom: 8px; }
.rfb-article__body ol li { list-style: decimal; margin-bottom: 8px; }

.rfb-article__body a { color: var(--rfb-teal-aa); text-decoration: underline; }

.rfb-article__footer {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--rfb-gutter) clamp(64px, 8vw, 96px);
}

.rfb-article__cta {
  background: var(--rfb-teal);
  color: var(--rfb-fg-dark);
  padding: 40px;
  border-radius: var(--rfb-radius-lg);
  margin-bottom: 32px;
}

.rfb-article__cta h3 {
  font-size: 1.25rem;
  color: var(--rfb-fg-dark);
  margin-bottom: 10px;
}

.rfb-article__cta p {
  font-size: 0.9375rem;
  color: var(--rfb-fg-dark-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.rfb-article__back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rfb-teal-aa);
  transition: gap var(--rfb-transition);
}

.rfb-article__back-link:hover { gap: 11px; }

/* ── Legal header ── */
.rfb-legal-header {
  padding: clamp(56px, 7vw, 80px) 0 clamp(40px, 5vw, 56px);
}

.rfb-legal-header__title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--rfb-fg-dark);
  margin-bottom: 10px;
}

.rfb-legal-header__date {
  font-size: 0.875rem;
  color: var(--rfb-fg-dark-muted);
  font-family: var(--rfb-font-mono);
}

.rfb-legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 52px) 0;
}

.rfb-legal-body h2 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-family: var(--rfb-font-body);
  font-weight: 700;
  color: var(--rfb-fg-light);
  margin-top: 36px;
  margin-bottom: 12px;
}

.rfb-legal-body h3 {
  font-size: 1rem;
  font-family: var(--rfb-font-body);
  font-weight: 700;
  color: var(--rfb-fg-light);
  margin-top: 22px;
  margin-bottom: 8px;
}

.rfb-legal-body p {
  font-size: 0.9375rem;
  color: var(--rfb-fg-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.rfb-legal-body ul { padding-left: 20px; margin-bottom: 14px; }
.rfb-legal-body ul li {
  list-style: disc;
  font-size: 0.9375rem;
  color: var(--rfb-fg-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.rfb-legal-body a { color: var(--rfb-teal-aa); text-decoration: underline; }
.rfb-legal-body strong { color: var(--rfb-fg-light); font-weight: 700; }
.rfb-legal-body code {
  font-family: var(--rfb-font-mono);
  font-size: 0.875em;
  background: var(--rfb-bg-light);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--rfb-teal-aa);
}

/* ── About page ── */
.rfb-about-subhero {
  padding: clamp(56px, 7vw, 80px) 0 clamp(44px, 5.5vw, 64px);
}

.rfb-about-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.rfb-about-stat__num {
  font-family: var(--rfb-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rfb-teal-dec);
  line-height: 1.1;
  margin-bottom: 4px;
}

.rfb-about-stat__label {
  font-size: 0.8125rem;
  color: var(--rfb-fg-dark-muted);
}

.rfb-founding-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
  margin-top: 24px;
}

.rfb-founding-text h3 {
  font-family: var(--rfb-font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--rfb-fg-light);
  margin-bottom: 20px;
}

.rfb-founding-text p {
  font-size: 1rem;
  color: var(--rfb-fg-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.rfb-founder-portrait {
  border-radius: var(--rfb-radius-lg);
  overflow: hidden;
  border: 2px solid var(--rfb-border);
}

.rfb-founder-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.rfb-founding-quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--rfb-fg-muted);
  border-left: 4px solid var(--rfb-teal);
  padding: 16px 20px;
  margin: 28px 0 0;
  background: var(--rfb-bg-light);
  border-radius: 0 var(--rfb-radius) var(--rfb-radius) 0;
  line-height: 1.65;
}

.rfb-thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.rfb-thesis-card {
  padding: 32px 24px;
  border: 1px solid var(--rfb-border);
  border-radius: var(--rfb-radius-lg);
  background: var(--rfb-bg-white);
  position: relative;
}

.rfb-thesis-card__num {
  font-family: var(--rfb-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--rfb-teal-aa);
  margin-bottom: 12px;
}

.rfb-thesis-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--rfb-fg-light);
  margin-bottom: 10px;
}

.rfb-thesis-card__body {
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  line-height: 1.65;
}

.rfb-mission-block {
  padding: 40px;
  background: var(--rfb-teal);
  border-radius: var(--rfb-radius-lg);
  color: var(--rfb-fg-dark);
  margin-top: 48px;
}

.rfb-mission-block h3 {
  font-family: var(--rfb-font-heading);
  font-size: 1.25rem;
  color: var(--rfb-fg-dark);
  margin-bottom: 14px;
}

.rfb-mission-block p {
  font-size: 0.9375rem;
  color: var(--rfb-fg-dark-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.rfb-mission-block address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--rfb-fg-dark-muted);
  line-height: 1.8;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--rfb-border-dark);
}

.rfb-mission-block address a { color: var(--rfb-teal-dec); }
.rfb-mission-block address a:hover { color: var(--rfb-fg-dark); text-decoration: underline; }

/* ── Team page ── */
.rfb-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.rfb-culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.rfb-culture-card {
  padding: 28px 24px;
  border: 1px solid var(--rfb-border);
  border-radius: var(--rfb-radius-lg);
  background: var(--rfb-bg-white);
}

.rfb-culture-card__icon {
  font-size: 1.5rem;
  color: var(--rfb-teal-aa);
  margin-bottom: 14px;
}

.rfb-culture-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--rfb-fg-light);
}

.rfb-culture-card__body {
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  line-height: 1.65;
}

/* ── Customers page ── */
.rfb-why-anon {
  padding: 32px 40px;
  background: var(--rfb-bg-light);
  border-radius: var(--rfb-radius-lg);
  border-left: 4px solid var(--rfb-teal-aa);
  margin-top: 40px;
}

.rfb-why-anon h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rfb-fg-light);
  margin-bottom: 8px;
}

.rfb-why-anon p {
  font-size: 0.9rem;
  color: var(--rfb-fg-muted);
  line-height: 1.7;
}

.rfb-case-study { }

.rfb-metric {
  padding: 20px 24px;
  background: var(--rfb-bg-light);
  border-radius: var(--rfb-radius-lg);
  border: 1px solid var(--rfb-border);
}

.rfb-metric--positive { border-color: rgba(0,97,77,0.2); background: rgba(0,97,77,0.04); }

.rfb-metric__before {
  font-family: var(--rfb-font-mono);
  font-size: 0.75rem;
  color: var(--rfb-fg-muted);
  text-decoration: line-through;
  margin-bottom: 2px;
}

.rfb-metric__after {
  font-family: var(--rfb-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rfb-teal-aa);
  line-height: 1.1;
  margin-bottom: 4px;
}

.rfb-metric__label {
  font-size: 0.8125rem;
  color: var(--rfb-fg-muted);
}

/* ── Pricing page ── */
.rfb-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.rfb-pricing-enterprise {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 40px;
  background: var(--rfb-teal);
  border-radius: var(--rfb-radius-lg);
  color: var(--rfb-fg-dark);
  margin-top: 24px;
}

.rfb-pricing-enterprise h3 {
  font-size: 1.5rem;
  color: var(--rfb-fg-dark);
  margin-bottom: 10px;
}

.rfb-pricing-enterprise p {
  font-size: 0.9375rem;
  color: var(--rfb-fg-dark-muted);
  line-height: 1.65;
}

.rfb-pricing-note {
  margin-top: 32px;
  padding: 20px 28px;
  background: rgba(0,59,54,0.04);
  border: 1px solid var(--rfb-border);
  border-radius: var(--rfb-radius-lg);
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  line-height: 1.65;
}

.rfb-btn--block {
  width: 100%;
  justify-content: center;
}

/* ── Security page status pills ── */
.rfb-status-pill--green {
  background: rgba(0,97,77,0.12);
  color: var(--rfb-teal-aa);
}

.rfb-status-pill--amber {
  background: rgba(217,119,6,0.12);
  color: var(--rfb-amber-aa);
}

/* ── Contact page ── */
.rfb-contact-hero {
  padding: clamp(56px, 7vw, 80px) 0 clamp(44px, 5.5vw, 64px);
}

.rfb-contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
  margin-top: 24px;
}

.rfb-contact-details { }

.rfb-contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rfb-border);
}

.rfb-contact-detail-item:last-child { border-bottom: none; }

.rfb-contact-detail-item i {
  color: var(--rfb-teal-aa);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.rfb-contact-detail-item a {
  color: var(--rfb-teal-aa);
  transition: color var(--rfb-transition);
}

.rfb-contact-detail-item a:hover { color: var(--rfb-teal); text-decoration: underline; }

.rfb-contact-detail-item span,
.rfb-contact-detail-item p {
  font-size: 0.9375rem;
  color: var(--rfb-fg-muted);
  line-height: 1.55;
}

.rfb-contact-form {
  background: var(--rfb-bg-white);
  border: 1px solid var(--rfb-border);
  border-radius: var(--rfb-radius-lg);
  padding: 36px;
  box-shadow: var(--rfb-shadow-sm);
}

.rfb-contact-form h2 {
  font-size: 1.25rem;
  color: var(--rfb-fg-light);
  margin-bottom: 6px;
}

.rfb-contact-form .rfb-contact-form__sub {
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.rfb-form-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rfb-form-note {
  font-size: 0.8125rem;
  color: var(--rfb-fg-muted);
  margin-top: 12px;
  line-height: 1.55;
  font-style: italic;
}

.rfb-form-success {
  padding: 20px;
  background: rgba(0,97,77,0.08);
  border: 1px solid rgba(0,97,77,0.2);
  border-radius: var(--rfb-radius);
  color: var(--rfb-teal-aa);
  font-size: 0.9375rem;
  line-height: 1.6;
  display: none;
}

.rfb-form-success.is-visible { display: block; }

/* ── Blog index page ── */
.rfb-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

/* ── Login page (new split-layout) ── */
.rfb-login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 460px 1fr;
}

.rfb-login-shell--narrow {
  grid-template-columns: 1fr;
  place-items: center;
  background: var(--rfb-bg-light);
}

.rfb-login-brand {
  background: var(--rfb-teal);
  color: var(--rfb-fg-dark);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.rfb-login-brand__logo { display: flex; align-items: center; }
.rfb-login-brand__logo img { height: 32px; width: auto; }

.rfb-login-brand__tagline {
  font-size: 1.125rem;
  color: var(--rfb-fg-dark-muted);
  line-height: 1.5;
}

.rfb-login-brand__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rfb-login-brand__visual svg { width: 100%; max-width: 320px; }

.rfb-login-brand__proof {
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--rfb-border-dark);
  padding-top: 24px;
}

.rfb-login-proof__item { display: flex; flex-direction: column; gap: 3px; }

.rfb-login-proof__num {
  font-family: var(--rfb-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rfb-teal-dec);
}

.rfb-login-proof__label {
  font-size: 0.8125rem;
  color: var(--rfb-fg-dark-muted);
}

.rfb-login-panel {
  background: var(--rfb-bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 5vw, 56px);
}

.rfb-login-panel--centered {
  background: var(--rfb-bg-light);
  min-height: 100vh;
}

.rfb-login-form-wrap {
  width: 100%;
  max-width: 400px;
}

.rfb-login-standalone-logo {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}

.rfb-login-standalone-logo img { height: 32px; width: auto; }

.rfb-login-form__title {
  font-size: 1.75rem;
  color: var(--rfb-fg-light);
  margin-bottom: 6px;
}

.rfb-login-form__sub {
  font-size: 0.9rem;
  color: var(--rfb-fg-muted);
  margin-bottom: 28px;
  line-height: 1.55;
}

.rfb-login-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rfb-login-form .rfb-form-group { margin-bottom: 16px; }

.rfb-login-form .rfb-form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rfb-login-form__forgot {
  font-size: 0.8125rem;
  color: var(--rfb-teal-aa);
  font-weight: 400;
  transition: color var(--rfb-transition);
}

.rfb-login-form__forgot:hover { text-decoration: underline; }

.rfb-login-form__pass-wrap { position: relative; }

.rfb-login-form__toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--rfb-fg-muted);
  padding: 4px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: color var(--rfb-transition);
}

.rfb-login-form__toggle-pass:hover { color: var(--rfb-fg-light); }

.rfb-login-form__pass-wrap .rfb-form-input { padding-right: 40px; }

.rfb-login-form .rfb-btn--block { margin-top: 8px; }

.rfb-login-form__msg {
  font-size: 0.875rem;
  line-height: 1.55;
  margin-top: 14px;
  border-radius: var(--rfb-radius);
  padding: 0;
}

.rfb-login-form__msg--info {
  padding: 12px 16px;
  background: rgba(0,97,77,0.06);
  color: var(--rfb-teal-aa);
  border: 1px solid rgba(0,97,77,0.2);
}

.rfb-login-form__msg--success {
  padding: 12px 16px;
  background: rgba(0,97,77,0.08);
  color: var(--rfb-teal-aa);
  border: 1px solid rgba(0,97,77,0.25);
}

.rfb-login-form__msg a { color: inherit; text-decoration: underline; }

.rfb-login-form__access-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 24px;
  padding: 14px 16px;
  background: rgba(0,59,54,0.04);
  border-radius: var(--rfb-radius);
  font-size: 0.8125rem;
  color: var(--rfb-fg-muted);
  line-height: 1.55;
}

.rfb-login-form__access-note i {
  color: var(--rfb-teal-aa);
  font-size: 0.875rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.rfb-login-form__access-note a { color: var(--rfb-teal-aa); text-decoration: underline; }

.rfb-login-form__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.8125rem;
  color: var(--rfb-fg-muted);
}

.rfb-login-form__footer a {
  color: var(--rfb-teal-aa);
  transition: color var(--rfb-transition);
}

.rfb-login-form__footer a:hover { text-decoration: underline; }

/* ── 404 page (new .rfb-404-shell layout) ── */
.rfb-404-page {
  background: var(--rfb-teal);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.rfb-404-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px var(--rfb-gutter);
  text-align: center;
  gap: 32px;
}

.rfb-404-logo { display: flex; align-items: center; margin-bottom: 16px; }
.rfb-404-logo img { height: 32px; width: auto; }

.rfb-404-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 520px;
}

.rfb-404-code {
  width: 360px;
  max-width: 100%;
}

.rfb-404-code svg { width: 100%; height: auto; }

.rfb-404-title {
  font-size: clamp(22px, 3.5vw, 30px);
  color: var(--rfb-fg-dark);
  margin-bottom: 0;
}

.rfb-404-sub {
  font-size: 1rem;
  color: var(--rfb-fg-dark-muted);
  line-height: 1.65;
  max-width: 440px;
}

.rfb-404-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.rfb-404-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--rfb-fg-dark-muted);
  margin-top: 8px;
}

.rfb-404-links a {
  color: var(--rfb-teal-dec);
  transition: color var(--rfb-transition);
}

.rfb-404-links a:hover { color: var(--rfb-fg-dark); }

/* ── Responsive additions ── */
@media (max-width: 960px) {
  .rfb-founding-split { grid-template-columns: 1fr; }
  .rfb-founder-portrait { max-width: 360px; }
  .rfb-thesis-grid { grid-template-columns: 1fr; }
  .rfb-culture-grid { grid-template-columns: 1fr; }
  .rfb-contact-layout { grid-template-columns: 1fr; }
  .rfb-pricing-enterprise { grid-template-columns: 1fr; }
  .rfb-team-grid { grid-template-columns: repeat(2, 1fr); }
  .rfb-pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .rfb-login-shell { grid-template-columns: 1fr; }
  .rfb-login-brand { display: none; }
}

@media (max-width: 768px) {
  .rfb-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .rfb-form-row--2col { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .rfb-blog-grid { grid-template-columns: 1fr; }
  .rfb-team-grid { grid-template-columns: 1fr; }
  .rfb-pricing-grid { grid-template-columns: 1fr; }
  .rfb-culture-grid { grid-template-columns: 1fr; }
}

/* ── Hero content wrapper ── */
.rfb-hero__content { }

/* ── About page: founding split ── */
.rfb-founding-split__portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rfb-founding-split__portrait img.rfb-founder-portrait {
  width: 100%;
  max-width: 300px;
  border-radius: var(--rfb-radius-lg);
  border: 2px solid var(--rfb-border);
  display: block;
}

.rfb-founder-caption {
  text-align: center;
}

.rfb-founder-caption strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--rfb-fg-light);
}

.rfb-founder-caption span {
  font-size: 0.875rem;
  color: var(--rfb-teal-aa);
  font-family: var(--rfb-font-mono);
}

.rfb-founding-split__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rfb-mission-block__body {
  font-size: 0.9375rem;
  color: var(--rfb-fg-dark-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.rfb-mission-block__address {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--rfb-fg-dark-muted);
  line-height: 1.8;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--rfb-border-dark);
}

.rfb-mission-block__address a { color: var(--rfb-teal-dec); }
.rfb-mission-block__address a:hover { color: var(--rfb-fg-dark); text-decoration: underline; }

/* ── Team card photo ── */
.rfb-team-card__photo-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  background: var(--rfb-teal);
  border: 3px solid var(--rfb-border);
  flex-shrink: 0;
}

.rfb-team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rfb-team-card__body {
  text-align: center;
}

/* ── Customers page: case study sub-elements ── */
.rfb-case-study__title {
  font-family: var(--rfb-font-heading);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--rfb-fg-light);
  margin-bottom: 12px;
  line-height: 1.25;
}

.rfb-case-study__tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 3px;
  font-family: var(--rfb-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,59,54,0.08);
  color: var(--rfb-teal-aa);
  margin-bottom: 12px;
}

.rfb-section--parchment .rfb-case-study__tag {
  background: rgba(0,59,54,0.1);
  color: var(--rfb-teal-aa);
}

.rfb-case-study__context {
  font-size: 1rem;
  color: var(--rfb-fg-muted);
  line-height: 1.7;
  max-width: 680px;
}

.rfb-case-study__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}

.rfb-case-study__challenge,
.rfb-case-study__approach {
  padding: 24px;
  background: rgba(0,59,54,0.03);
  border-radius: var(--rfb-radius-lg);
  border: 1px solid rgba(0,59,54,0.08);
}

.rfb-section--parchment .rfb-case-study__challenge,
.rfb-section--parchment .rfb-case-study__approach {
  background: var(--rfb-bg-white);
}

.rfb-case-study__challenge h3,
.rfb-case-study__approach h3 {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--rfb-font-body);
  color: var(--rfb-fg-light);
  margin-bottom: 10px;
}

.rfb-case-study__challenge p,
.rfb-case-study__approach p {
  font-size: 0.9375rem;
  color: var(--rfb-fg-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.rfb-case-study__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.rfb-case-study__quote {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--rfb-fg-muted);
  border-left: 4px solid var(--rfb-teal);
  padding-left: 20px;
  line-height: 1.65;
  margin-top: 8px;
}

.rfb-case-study__quote cite {
  display: block;
  font-style: normal;
  font-size: 0.875rem;
  color: var(--rfb-teal-aa);
  font-weight: 600;
  margin-top: 10px;
  font-family: var(--rfb-font-mono);
}

.rfb-metric__num {
  font-family: var(--rfb-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--rfb-fg-light);
  line-height: 1.1;
  margin-bottom: 4px;
}

.rfb-metric--positive .rfb-metric__num { color: var(--rfb-teal-aa); }

/* ── Pricing card sub-elements ── */
.rfb-pricing-card__tier {
  font-family: var(--rfb-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rfb-teal-aa);
  margin-bottom: 10px;
}

.rfb-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 6px;
}

.rfb-pricing-card__amount {
  font-family: var(--rfb-font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--rfb-fg-light);
  line-height: 1.1;
}

.rfb-pricing-card__per {
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
}

.rfb-pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rfb-pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
  font-size: 0.875rem;
  color: var(--rfb-fg-muted);
  border-bottom: 1px solid rgba(0,59,54,0.05);
}

.rfb-pricing-card__features li i {
  color: var(--rfb-teal-aa);
  font-size: 0.75rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── Pricing enterprise sub-elements ── */
.rfb-pricing-enterprise {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  padding: 40px;
  background: var(--rfb-teal);
  border-radius: var(--rfb-radius-lg);
  color: var(--rfb-fg-dark);
  margin-top: 24px;
  align-items: center;
}

.rfb-pricing-enterprise__label {
  font-family: var(--rfb-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rfb-teal-dec);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.rfb-pricing-enterprise__body {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
}

.rfb-pricing-enterprise__body h3 {
  font-size: 1.375rem;
  color: var(--rfb-fg-dark);
  margin-bottom: 8px;
}

.rfb-pricing-enterprise__body p {
  font-size: 0.9rem;
  color: var(--rfb-fg-dark-muted);
  line-height: 1.6;
}

.rfb-pricing-enterprise__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
}

.rfb-pricing-enterprise__features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--rfb-fg-dark-muted);
}

.rfb-pricing-enterprise__features i { color: var(--rfb-teal-dec); font-size: 0.75rem; }

/* ── Contact page layout sub-elements ── */
.rfb-contact-layout__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rfb-contact-layout__intro {
  font-size: 1rem;
  color: var(--rfb-fg-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.rfb-contact-layout__form { }

.rfb-contact-detail-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rfb-fg-muted);
  font-family: var(--rfb-font-mono);
  margin-bottom: 3px;
}

.rfb-contact-detail-item__value {
  font-size: 0.9375rem;
  color: var(--rfb-fg-light);
  display: block;
}

a.rfb-contact-detail-item__value { color: var(--rfb-teal-aa); }
a.rfb-contact-detail-item__value:hover { text-decoration: underline; }

.rfb-form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ── Blog card image elements ── */
.rfb-blog-card__image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 8.5;
  background: var(--rfb-bg-light);
  flex-shrink: 0;
}

.rfb-blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.rfb-blog-card:hover .rfb-blog-card__image { transform: scale(1.03); }

.rfb-blog-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.rfb-blog-card__body .rfb-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--rfb-fg-muted);
  flex-wrap: wrap;
}

/* ── Case study metrics responsive ── */
@media (max-width: 960px) {
  .rfb-case-study__metrics { grid-template-columns: repeat(2, 1fr); }
  .rfb-pricing-enterprise { grid-template-columns: 1fr; }
  .rfb-pricing-enterprise__label { writing-mode: initial; transform: none; }
  .rfb-pricing-enterprise__body { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  .rfb-case-study__metrics { grid-template-columns: repeat(2, 1fr); }
  .rfb-founding-split { grid-template-columns: 1fr; }
}
