/* ═══ COLOR FLOW MAP (from design-spec.theme_context_map) ═══
 *
 * index.html:         dark-top
 *   nav        → transparent-on-dark (scrolled: solid #0B1929)
 *   hero       → DARK  (#0B1929)   | text: #F0F6FF
 *   problem    → DARK-ALT (#122038)| text: #F0F6FF
 *   platform   → DARK  (#0B1929)   | text: #F0F6FF
 *   how-it-wks → DARK-ALT (#122038)| text: #F0F6FF
 *   use-cases  → LIGHT (#F4F8FC)   | text: #0B1929  [nested .rlft-use-case-card = white]
 *   stats      → DARK  (#0B1929)   | text: #F0F6FF
 *   cta-band   → DARK-ALT (#122038)| text: #F0F6FF
 *   footer     → DARK  (#0B1929)   | text: #8BA8C4
 *
 * platform.html:      dark-top
 *   nav        → transparent-on-dark
 *   hero       → DARK  (#0B1929)
 *   feed-types → DARK-ALT (#122038)
 *   timeline   → DARK  (#0B1929)
 *   alerting   → LIGHT (#F4F8FC)   [nested .rlft-alert-feature-card = white]
 *   security   → DARK  (#0B1929)
 *   footer     → DARK  (#0B1929)
 *
 * integrations.html:  dark-top
 *   hero       → DARK  (#0B1929)
 *   carrier-gr → DARK-ALT (#122038)[nested .rlft-carrier-tile = dark #0B1929]
 *   tms-erp    → LIGHT (#F4F8FC)
 *   cta-band   → DARK  (#0B1929)
 *   footer     → DARK  (#0B1929)
 *
 * pricing.html:       light-top
 *   nav        → transparent-on-light (scrolled: solid white)
 *   hero       → LIGHT (#F4F8FC)
 *   tiers      → LIGHT (#F4F8FC)   [.rlft-pricing-card=white; .rlft-pricing-card--highlight=dark]
 *   faq        → LIGHT (#F4F8FC)
 *   cta-band   → DARK  (#0B1929)
 *   footer     → DARK  (#0B1929)
 *
 * solutions/*.html:   dark-top
 *   hero       → DARK  (#0B1929)
 *   value-props→ LIGHT (#F4F8FC)   [.rlft-value-card = white]
 *   workflow   → LIGHT (#F4F8FC)
 *   cta        → DARK  (#0B1929)
 *   footer     → DARK  (#0B1929)
 *
 * about.html:         dark-top
 *   hero       → DARK  (#0B1929)
 *   story      → LIGHT (#F4F8FC)
 *   team       → LIGHT (#F4F8FC)   [.rlft-team-card = white]
 *   values     → DARK  (#0B1929)
 *   footer     → DARK  (#0B1929)
 *
 * contact.html:       light-top
 *   nav        → transparent-on-light
 *   hero       → LIGHT (#F4F8FC)
 *   footer     → DARK  (#0B1929)
 *
 * security.html:      light-top (sections: light, light, dark, dark)
 * blog/index.html:    light-top (sections: light, light, dark)
 * blog/*.html:        light-top (sections: light, light, light, dark)
 * login/index.html:   dark-top  (.rlft-auth-card = white on dark)
 * login/signup.html:  light-top
 * login/reset-password.html: light-top
 * legal/*.html:       light-top
 *
 * NAV KEY RULE:
 *   dark-top pages → nav link default color = #F0F6FF (white)
 *   light-top pages → nav forced solid white, links = #0B1929 (navy)
 *   Scrolled state: dark-top → solid #0B1929 / light-top → solid white
 * ═════════════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─── */
:root {
  /* Brand palette */
  --rlft-navy:         #0B1929;
  --rlft-navy-alt:     #122038;
  --rlft-mid:          #0E2233;
  --rlft-teal:         #00C2A8;
  --rlft-teal-aa:      #007B6D;
  --rlft-amber:        #F59E0B;

  /* Foreground tokens */
  --rlft-fg-dark-1:    #F0F6FF;
  --rlft-fg-dark-2:    #8BA8C4;
  --rlft-fg-dark-3:    #B0C8E0;
  --rlft-fg-light-1:   #0B1929;
  --rlft-fg-light-2:   #375068;

  /* Background tokens */
  --rlft-bg-dark:      #0B1929;
  --rlft-bg-dark-alt:  #122038;
  --rlft-bg-light:     #F4F8FC;
  --rlft-bg-white:     #FFFFFF;
  --rlft-border-dark:  rgba(176, 200, 224, 0.12);
  --rlft-border-light: rgba(11, 25, 41, 0.12);

  /* Typography */
  --rlft-font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --rlft-font-mono:    'JetBrains Mono', 'Fira Code', Consolas, monospace;
  --rlft-nav-h:        68px;
  --rlft-radius:       8px;
  --rlft-radius-lg:    12px;
  --rlft-max-w:        1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--rlft-font-sans);
  font-size: 1rem;
  line-height: 1.6;
  background: var(--rlft-bg-dark);
  color: var(--rlft-fg-dark-1);
  -webkit-font-smoothing: antialiased;
}

/* Light-top page body bg = light (so transparent nav scrolls correctly) */
body.rlft-page--light-top {
  background: var(--rlft-bg-light);
  color: var(--rlft-fg-light-1);
}

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

/* ─── TYPOGRAPHY SCALE ─── */
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; font-weight: 700; }
h3 { font-size: 1.375rem; line-height: 1.3; font-weight: 600; }
h4 { font-size: 1.125rem; line-height: 1.4; font-weight: 600; }
p { line-height: 1.6; }

.rlft-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* Eyebrow color — context-scoped (NOT global) */
.rlft-section--dark .rlft-eyebrow,
.rlft-section--dark-alt .rlft-eyebrow,
.rlft-hero--dark .rlft-eyebrow,
.rlft-footer .rlft-eyebrow { color: var(--rlft-teal); }

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

/* ─── LAYOUT CONTAINERS ─── */
.rlft-container {
  max-width: var(--rlft-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.rlft-section--dark    { background: var(--rlft-bg-dark);     color: var(--rlft-fg-dark-1); }
.rlft-section--dark-alt{ background: var(--rlft-bg-dark-alt); color: var(--rlft-fg-dark-1); }
.rlft-section--light   { background: var(--rlft-bg-light);    color: var(--rlft-fg-light-1); }
.rlft-section--white   { background: var(--rlft-bg-white);    color: var(--rlft-fg-light-1); }

/* Section padding */
.rlft-section--dark,
.rlft-section--dark-alt,
.rlft-section--light,
.rlft-section--white { padding: 80px 0; }

.rlft-section--dark   h2,
.rlft-section--dark-alt h2 { color: var(--rlft-fg-dark-1); }
.rlft-section--dark   p,
.rlft-section--dark-alt p { color: var(--rlft-fg-dark-2); }
.rlft-section--dark   h3,
.rlft-section--dark-alt h3 { color: var(--rlft-fg-dark-1); }

.rlft-section--light h2,
.rlft-section--white h2 { color: var(--rlft-fg-light-1); }
.rlft-section--light p,
.rlft-section--white p { color: var(--rlft-fg-light-2); }

/* ─── BUTTONS ─── */
.rlft-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--rlft-radius);
  font-family: var(--rlft-font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
}
.rlft-btn:hover { transform: translateY(-1px); }

/* Primary — teal bg, dark text — works on any bg */
.rlft-btn--primary {
  background: var(--rlft-teal);
  color: var(--rlft-navy);
  border-color: var(--rlft-teal);
}
.rlft-btn--primary:hover { background: #00d9bc; border-color: #00d9bc; }

/* Outline on dark */
.rlft-btn--outline-dark {
  background: transparent;
  color: var(--rlft-fg-dark-1);
  border-color: rgba(240,246,255,0.4);
}
.rlft-btn--outline-dark:hover {
  background: rgba(240,246,255,0.08);
  border-color: rgba(240,246,255,0.7);
}

/* Ghost on dark (text only) */
.rlft-btn--ghost-dark {
  background: transparent;
  color: var(--rlft-fg-dark-1);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.rlft-btn--ghost-dark:hover { color: var(--rlft-teal); }

/* Secondary on light */
.rlft-btn--secondary-light {
  background: transparent;
  color: var(--rlft-fg-light-1);
  border-color: var(--rlft-border-light);
}
.rlft-btn--secondary-light:hover {
  background: var(--rlft-bg-white);
  border-color: var(--rlft-fg-light-1);
}

/* Small size modifier */
.rlft-btn--sm { padding: 8px 16px; font-size: 0.875rem; }

/* ─── NAVIGATION ─── */
.rlft-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--rlft-nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}

/* Default nav = dark-top transparent — will be overridden for light-top pages */
.rlft-nav { background: transparent; }

.rlft-nav--scrolled {
  background: var(--rlft-bg-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

/* Light-top pages: nav starts white, scrolled stays white */
body.rlft-page--light-top .rlft-nav {
  background: var(--rlft-bg-white);
  box-shadow: 0 1px 0 var(--rlft-border-light);
}
body.rlft-page--light-top .rlft-nav--scrolled {
  background: var(--rlft-bg-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.rlft-nav__inner {
  width: 100%;
  max-width: var(--rlft-max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.rlft-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.rlft-nav__logo img {
  height: 32px;
  width: auto;
  max-width: 160px;
}

.rlft-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.rlft-nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  background: transparent;
  border: none;
  font-family: var(--rlft-font-sans);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* Nav link colors — dark-top pages: white text */
body.rlft-page--dark-top .rlft-nav__link {
  color: var(--rlft-fg-dark-1);
}
body.rlft-page--dark-top .rlft-nav__link:hover {
  background: rgba(240,246,255,0.08);
  color: var(--rlft-teal);
}

/* Nav link colors — light-top pages: navy text */
body.rlft-page--light-top .rlft-nav__link {
  color: var(--rlft-fg-light-1);
}
body.rlft-page--light-top .rlft-nav__link:hover {
  background: var(--rlft-bg-light);
  color: var(--rlft-teal-aa);
}

/* Dropdown */
.rlft-nav__dropdown {
  position: relative;
}
.rlft-nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  border-radius: var(--rlft-radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 100;
}

/* Dropdown bg matches nav — dark for dark-top, white for light-top */
body.rlft-page--dark-top .rlft-nav__dropdown-menu {
  background: var(--rlft-bg-dark-alt);
  border: 1px solid var(--rlft-border-dark);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
body.rlft-page--light-top .rlft-nav__dropdown-menu {
  background: var(--rlft-bg-white);
  border: 1px solid var(--rlft-border-light);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.rlft-nav__dropdown:hover .rlft-nav__dropdown-menu,
.rlft-nav__dropdown:focus-within .rlft-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rlft-nav__dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
body.rlft-page--dark-top .rlft-nav__dropdown-menu a {
  color: var(--rlft-fg-dark-1);
}
body.rlft-page--dark-top .rlft-nav__dropdown-menu a:hover {
  background: rgba(0,194,168,0.08);
  color: var(--rlft-teal);
}
body.rlft-page--light-top .rlft-nav__dropdown-menu a {
  color: var(--rlft-fg-light-1);
}
body.rlft-page--light-top .rlft-nav__dropdown-menu a:hover {
  background: var(--rlft-bg-light);
  color: var(--rlft-teal-aa);
}

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

.rlft-nav__signin {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  transition: color 0.2s, border-color 0.2s;
}
body.rlft-page--dark-top .rlft-nav__signin {
  color: var(--rlft-fg-dark-1);
  border-color: var(--rlft-border-dark);
}
body.rlft-page--dark-top .rlft-nav__signin:hover {
  border-color: rgba(240,246,255,0.4);
  color: var(--rlft-teal);
}
body.rlft-page--light-top .rlft-nav__signin {
  color: var(--rlft-fg-light-1);
  border-color: var(--rlft-border-light);
}
body.rlft-page--light-top .rlft-nav__signin:hover {
  border-color: var(--rlft-teal-aa);
  color: var(--rlft-teal-aa);
}

/* Hamburger */
.rlft-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
  margin-left: auto;
}
.rlft-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
body.rlft-page--dark-top .rlft-nav__hamburger span { background: var(--rlft-fg-dark-1); }
body.rlft-page--light-top .rlft-nav__hamburger span { background: var(--rlft-fg-light-1); }

/* Mobile nav */
.rlft-nav__mobile {
  display: none;
  position: fixed;
  top: var(--rlft-nav-h);
  left: 0; right: 0;
  background: var(--rlft-bg-dark-alt);
  padding: 16px 24px 24px;
  border-top: 1px solid var(--rlft-border-dark);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.rlft-nav__mobile.is-open { display: flex; }
.rlft-nav__mobile a {
  color: var(--rlft-fg-dark-1);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 8px;
  border-bottom: 1px solid var(--rlft-border-dark);
}
.rlft-nav__mobile a:hover { color: var(--rlft-teal); }
.rlft-nav__mobile .rlft-btn {
  margin-top: 12px;
  align-self: flex-start;
}

/* ─── HERO (index.html) ─── */
.rlft-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--rlft-bg-dark);
  overflow: hidden;
}

.rlft-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rlft-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.rlft-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,25,41,0.88) 0%,
    rgba(11,25,41,0.72) 50%,
    rgba(11,25,41,0.55) 100%
  );
}

.rlft-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--rlft-max-w);
  margin: 0 auto;
  padding: calc(var(--rlft-nav-h) + 80px) 24px 80px;
  max-width: 760px;
  padding-left: 24px;
}

/* Ensure hero content full container alignment */
.rlft-hero > .rlft-container .rlft-hero__content {
  padding-left: 0;
}

.rlft-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rlft-teal);
  margin-bottom: 20px;
}
.rlft-hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--rlft-teal);
}

.rlft-hero h1 {
  color: var(--rlft-fg-dark-1);
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
}
.rlft-hero__sub {
  color: var(--rlft-fg-dark-2);
  font-size: 1.125rem;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 560px;
}
.rlft-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ─── HERO WRAPPER for full-width positioning ─── */
.rlft-hero__wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--rlft-nav-h) + 80px) 0 80px;
}

/* ─── SUB-PAGE HERO ─── */
.rlft-subhero {
  padding-top: calc(var(--rlft-nav-h) + 72px);
  padding-bottom: 72px;
}
.rlft-subhero--dark {
  background: var(--rlft-bg-dark);
  color: var(--rlft-fg-dark-1);
}
.rlft-subhero--light {
  background: var(--rlft-bg-light);
  color: var(--rlft-fg-light-1);
}
.rlft-subhero__inner {
  max-width: var(--rlft-max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.rlft-subhero h1 {
  margin-top: 12px;
  max-width: 720px;
}
.rlft-subhero--dark h1 { color: var(--rlft-fg-dark-1); }
.rlft-subhero--light h1 { color: var(--rlft-fg-light-1); }
.rlft-subhero__sub {
  margin-top: 16px;
  font-size: 1.125rem;
  max-width: 640px;
  line-height: 1.65;
}
.rlft-subhero--dark .rlft-subhero__sub { color: var(--rlft-fg-dark-2); }
.rlft-subhero--light .rlft-subhero__sub { color: var(--rlft-fg-light-2); }

/* Hero with raster bg */
.rlft-subhero--raster {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.rlft-subhero--raster .rlft-subhero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rlft-subhero--raster .rlft-subhero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rlft-subhero--raster .rlft-subhero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,25,41,0.88) 0%, rgba(11,25,41,0.65) 100%);
  z-index: 1;
}
.rlft-subhero--raster .rlft-subhero__inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--rlft-nav-h) + 48px);
  padding-bottom: 72px;
}

/* ─── PROBLEM STRIP ─── */
.rlft-problem-strip {
  background: var(--rlft-bg-dark-alt);
  padding: 60px 0;
}
.rlft-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.rlft-problem-tile {
  padding: 32px 28px;
  background: var(--rlft-bg-dark-alt);
  border-left: 1px solid var(--rlft-border-dark);
}
.rlft-problem-tile:first-child { border-left: none; }
.rlft-problem-tile__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(245,158,11,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--rlft-amber);
  margin-bottom: 16px;
}
.rlft-problem-tile h3 {
  color: var(--rlft-fg-dark-1);
  font-size: 1.0625rem;
  margin-bottom: 8px;
}
.rlft-problem-tile p {
  color: var(--rlft-fg-dark-2);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ─── PLATFORM DEMO (inline SVG section) ─── */
.rlft-platform-demo {
  background: var(--rlft-bg-dark);
  padding: 80px 0;
}
.rlft-platform-demo__header {
  text-align: center;
  margin-bottom: 56px;
}
.rlft-platform-demo__header h2 { color: var(--rlft-fg-dark-1); }
.rlft-platform-demo__header p {
  color: var(--rlft-fg-dark-2);
  max-width: 560px;
  margin: 12px auto 0;
}

/* Feed type icons row */
.rlft-feed-types-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.rlft-feed-type {
  background: var(--rlft-bg-dark-alt);
  border: 1px solid var(--rlft-border-dark);
  border-radius: var(--rlft-radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.rlft-feed-type__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.rlft-feed-type__icon--teal { background: rgba(0,194,168,0.12); color: var(--rlft-teal); }
.rlft-feed-type__icon--amber { background: rgba(245,158,11,0.12); color: var(--rlft-amber); }
.rlft-feed-type__icon--blue { background: rgba(96,165,250,0.12); color: #60A5FA; }
.rlft-feed-type h3 {
  color: var(--rlft-fg-dark-1);
  font-size: 1rem;
  margin-bottom: 8px;
}
.rlft-feed-type p { color: var(--rlft-fg-dark-2); font-size: 0.875rem; }

/* Inline SVG Timeline mock */
.rlft-timeline-svg-wrap {
  background: var(--rlft-bg-dark-alt);
  border: 1px solid var(--rlft-border-dark);
  border-radius: var(--rlft-radius-lg);
  padding: 32px;
  overflow-x: auto;
}
.rlft-timeline-svg-wrap svg {
  display: block;
  width: 100%;
  height: auto;
  min-width: 640px;
}
.rlft-timeline-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.rlft-timeline-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
}
.rlft-timeline-badge--teal { background: rgba(0,194,168,0.15); color: var(--rlft-teal); }
.rlft-timeline-badge--amber { background: rgba(245,158,11,0.15); color: var(--rlft-amber); }
.rlft-timeline-badge--blue { background: rgba(96,165,250,0.15); color: #60A5FA; }
.rlft-timeline-badge--red { background: rgba(239,68,68,0.15); color: #EF4444; }

/* ─── HOW IT WORKS ─── */
.rlft-how-it-works {
  background: var(--rlft-bg-dark-alt);
  padding: 80px 0;
}
.rlft-how-it-works__header {
  text-align: center;
  margin-bottom: 56px;
}
.rlft-how-it-works__header h2 { color: var(--rlft-fg-dark-1); }
.rlft-how-it-works__header p { color: var(--rlft-fg-dark-2); margin-top: 12px; }

.rlft-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.rlft-step {
  position: relative;
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--rlft-border-dark);
  border-radius: var(--rlft-radius-lg);
}
.rlft-step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rlft-teal);
  color: var(--rlft-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.rlft-step h3 {
  color: var(--rlft-fg-dark-1);
  margin-bottom: 10px;
  font-size: 1.0625rem;
}
.rlft-step p { color: var(--rlft-fg-dark-2); font-size: 0.9rem; }
.rlft-step__meta {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--rlft-teal);
  font-weight: 500;
}

/* ─── USE CASES SECTION ─── */
.rlft-use-cases { background: var(--rlft-bg-light); padding: 80px 0; }
.rlft-use-cases__header { text-align: center; margin-bottom: 48px; }
.rlft-use-cases__header h2 { color: var(--rlft-fg-light-1); }
.rlft-use-cases__header p { color: var(--rlft-fg-light-2); margin-top: 12px; }

.rlft-use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.rlft-use-case-card {
  background: var(--rlft-bg-white);
  border: 1px solid var(--rlft-border-light);
  border-radius: var(--rlft-radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rlft-use-case-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0,123,109,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  color: var(--rlft-teal-aa);
}
.rlft-use-case-card h3 { color: var(--rlft-fg-light-1); font-size: 1.25rem; }
.rlft-use-case-card p { color: var(--rlft-fg-light-2); }
.rlft-use-case-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rlft-teal-aa);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}
.rlft-use-case-card__link:hover { gap: 10px; }

/* ─── STATS CREDIBILITY ─── */
.rlft-stats { background: var(--rlft-bg-dark); padding: 72px 0; }
.rlft-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.rlft-stat {
  padding: 32px 40px;
  border-right: 1px solid var(--rlft-border-dark);
  text-align: center;
}
.rlft-stat:last-child { border-right: none; }
.rlft-stat__value {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--rlft-teal);
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--rlft-font-sans);
}
.rlft-stat__label {
  color: var(--rlft-fg-dark-2);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.rlft-stats__attribution {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8125rem;
  color: var(--rlft-fg-dark-2);
  opacity: 0.7;
}

/* ─── CTA BAND ─── */
.rlft-cta-band {
  background: var(--rlft-bg-dark-alt);
  padding: 80px 0;
  text-align: center;
}
.rlft-cta-band h2 { color: var(--rlft-fg-dark-1); margin-bottom: 12px; }
.rlft-cta-band p { color: var(--rlft-fg-dark-2); margin-bottom: 32px; }
.rlft-cta-band__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.rlft-cta-band__email {
  color: var(--rlft-fg-dark-2);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.rlft-cta-band__email:hover { color: var(--rlft-teal); }

/* Dark cta band variant */
.rlft-cta-band--dark { background: var(--rlft-bg-dark); }

/* ─── FOOTER ─── */
.rlft-footer {
  background: var(--rlft-bg-dark);
  padding: 64px 0 0;
  border-top: 1px solid var(--rlft-border-dark);
}
.rlft-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.rlft-footer__brand-desc {
  color: var(--rlft-fg-dark-2);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 24px;
}
.rlft-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rlft-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--rlft-fg-dark-2);
  font-size: 0.875rem;
}
.rlft-footer__contact-item i {
  color: var(--rlft-teal);
  margin-top: 3px;
  width: 14px;
  flex-shrink: 0;
}
.rlft-footer__contact-item a {
  color: var(--rlft-fg-dark-2);
  transition: color 0.2s;
}
.rlft-footer__contact-item a:hover { color: var(--rlft-teal); }

.rlft-footer__col-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rlft-fg-dark-1);
  margin-bottom: 20px;
}
.rlft-footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rlft-footer__links a {
  color: var(--rlft-fg-dark-2);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.rlft-footer__links a:hover { color: var(--rlft-teal); }

.rlft-footer__logo img {
  height: 28px;
  width: auto;
  max-width: 140px;
}

.rlft-footer__bottom {
  border-top: 1px solid var(--rlft-border-dark);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.rlft-footer__copy {
  color: var(--rlft-fg-dark-2);
  font-size: 0.8125rem;
}
.rlft-footer__bottom-links {
  display: flex;
  gap: 16px;
}
.rlft-footer__bottom-links a {
  color: var(--rlft-fg-dark-2);
  font-size: 0.8125rem;
  transition: color 0.2s;
}
.rlft-footer__bottom-links a:hover { color: var(--rlft-teal); }

/* ─── FOOTER MINIMAL (login pages) ─── */
.rlft-footer-minimal {
  background: var(--rlft-bg-dark);
  padding: 24px 0;
  border-top: 1px solid var(--rlft-border-dark);
  text-align: center;
}
.rlft-footer-minimal a,
.rlft-footer-minimal p { color: var(--rlft-fg-dark-2); font-size: 0.8125rem; }
.rlft-footer-minimal a { transition: color 0.2s; }
.rlft-footer-minimal a:hover { color: var(--rlft-teal); }

/* ─── PLATFORM PAGE — FEED TYPES ─── */
.rlft-feed-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rlft-feed-col {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--rlft-border-dark);
  border-radius: var(--rlft-radius-lg);
  padding: 32px 28px;
}
.rlft-feed-col__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.rlft-feed-col__icon--teal { background: rgba(0,194,168,0.1); color: var(--rlft-teal); }
.rlft-feed-col__icon--amber { background: rgba(245,158,11,0.1); color: var(--rlft-amber); }
.rlft-feed-col__icon--blue { background: rgba(96,165,250,0.1); color: #60A5FA; }
.rlft-feed-col h3 {
  color: var(--rlft-teal);
  font-size: 1.0625rem;
  margin-bottom: 12px;
}
.rlft-feed-col p { color: var(--rlft-fg-dark-2); font-size: 0.9rem; line-height: 1.6; }
.rlft-feed-col ul { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.rlft-feed-col ul li {
  color: var(--rlft-fg-dark-2);
  font-size: 0.875rem;
  padding-left: 16px;
  position: relative;
}
.rlft-feed-col ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--rlft-teal);
  font-weight: 700;
}

/* ─── ALERTING SECTION ─── */
.rlft-alert-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rlft-alert-feature-card {
  background: var(--rlft-bg-white);
  border: 1px solid var(--rlft-border-light);
  border-radius: var(--rlft-radius-lg);
  padding: 28px;
}
.rlft-alert-feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(245,158,11,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--rlft-amber);
  margin-bottom: 16px;
}
.rlft-alert-feature-card h3 { color: var(--rlft-fg-light-1); margin-bottom: 8px; }
.rlft-alert-feature-card p { color: var(--rlft-fg-light-2); font-size: 0.9rem; }

/* ─── SECURITY CALLOUT ─── */
.rlft-security-callout {
  background: var(--rlft-bg-dark);
  padding: 56px 0;
}
.rlft-security-callout__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(0,194,168,0.05);
  border: 1px solid rgba(0,194,168,0.2);
  border-radius: var(--rlft-radius-lg);
  padding: 32px 40px;
}
.rlft-security-callout__icon {
  font-size: 2.5rem;
  color: var(--rlft-teal);
  flex-shrink: 0;
}
.rlft-security-callout__text h3 { color: var(--rlft-fg-dark-1); margin-bottom: 6px; }
.rlft-security-callout__text p { color: var(--rlft-fg-dark-2); font-size: 0.9375rem; }
.rlft-security-callout__text a { color: var(--rlft-teal); }

/* ─── CARRIER GRID ─── */
.rlft-carrier-grid-section { background: var(--rlft-bg-dark-alt); padding: 80px 0; }
.rlft-carrier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.rlft-carrier-tile {
  background: var(--rlft-bg-dark);
  border: 1px solid var(--rlft-border-dark);
  border-radius: var(--rlft-radius);
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s;
}
.rlft-carrier-tile:hover { border-color: rgba(0,194,168,0.3); }
.rlft-carrier-tile__name {
  color: var(--rlft-fg-dark-1);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}
.rlft-carrier-tile__type {
  color: var(--rlft-fg-dark-2);
  font-size: 0.75rem;
  margin-top: 4px;
}

/* ─── TMS/ERP SECTION ─── */
.rlft-tms-section { background: var(--rlft-bg-light); padding: 80px 0; }
.rlft-tms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}
.rlft-tms-feature {
  padding: 24px;
  background: var(--rlft-bg-white);
  border: 1px solid var(--rlft-border-light);
  border-radius: var(--rlft-radius-lg);
}
.rlft-tms-feature h3 { color: var(--rlft-fg-light-1); margin-bottom: 8px; }
.rlft-tms-feature p { color: var(--rlft-fg-light-2); font-size: 0.9rem; }
.rlft-tms-features-list { display: flex; flex-direction: column; gap: 16px; }

/* ─── PRICING ─── */
.rlft-pricing-section { background: var(--rlft-bg-light); padding: 80px 0; }
.rlft-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.rlft-billing-toggle__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--rlft-fg-light-2);
}
.rlft-billing-toggle__label--active { color: var(--rlft-fg-light-1); font-weight: 600; }
.rlft-billing-badge {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(0,123,109,0.1);
  color: var(--rlft-teal-aa);
  padding: 2px 8px;
  border-radius: 20px;
}
.rlft-toggle-switch {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--rlft-teal-aa);
  position: relative;
  cursor: pointer;
  border: none;
}
.rlft-toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s;
}
.rlft-toggle-switch.is-annual::after { transform: translateX(20px); }

.rlft-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.rlft-pricing-card {
  background: var(--rlft-bg-white);
  border: 1px solid var(--rlft-border-light);
  border-radius: var(--rlft-radius-lg);
  padding: 32px;
  position: relative;
}
/* Highlighted pricing card — dark bg, all text must be light */
.rlft-pricing-card--highlight {
  background: var(--rlft-bg-dark);
  border-color: var(--rlft-teal);
  box-shadow: 0 0 0 2px rgba(0,194,168,0.3);
}

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

.rlft-pricing-card__name {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}
/* Text colors on pricing cards — base (white bg) first, highlighted variant after */
.rlft-pricing-card__name { color: var(--rlft-fg-light-1); }
.rlft-pricing-card--highlight .rlft-pricing-card__name { color: var(--rlft-fg-dark-1); }

.rlft-pricing-card__desc {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 24px;
}
.rlft-pricing-card__desc { color: var(--rlft-fg-light-2); }
.rlft-pricing-card--highlight .rlft-pricing-card__desc { color: var(--rlft-fg-dark-2); }

.rlft-pricing-card__price {
  margin-bottom: 24px;
}
.rlft-pricing-card__price-amount {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}
.rlft-pricing-card__price-amount { color: var(--rlft-fg-light-1); }
.rlft-pricing-card--highlight .rlft-pricing-card__price-amount { color: var(--rlft-teal); }

.rlft-pricing-card__price-period {
  font-size: 0.875rem;
  margin-left: 4px;
}
.rlft-pricing-card__price-period { color: var(--rlft-fg-light-2); }
.rlft-pricing-card--highlight .rlft-pricing-card__price-period { color: var(--rlft-fg-dark-2); }

.rlft-pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.rlft-pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
}
/* Feature text color — base first, then highlighted variant */
.rlft-pricing-card__feature { color: var(--rlft-fg-light-2); }
.rlft-pricing-card--highlight .rlft-pricing-card__feature { color: var(--rlft-fg-dark-2); }

.rlft-pricing-card__feature i {
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.875rem;
}
/* Feature check icon — base first, highlighted after */
.rlft-pricing-card__feature i { color: var(--rlft-teal-aa); }
.rlft-pricing-card--highlight .rlft-pricing-card__feature i { color: var(--rlft-teal); }

/* ─── PRICING FAQ ─── */
.rlft-faq { background: var(--rlft-bg-light); padding: 80px 0; }
.rlft-faq__header { text-align: center; margin-bottom: 48px; }
.rlft-faq__header h2 { color: var(--rlft-fg-light-1); }
.rlft-faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rlft-border-light);
}
.rlft-faq-item { border-bottom: 1px solid var(--rlft-border-light); }
.rlft-faq-item__question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  background: transparent;
  border: none;
  font-family: var(--rlft-font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--rlft-fg-light-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: color 0.2s;
}
.rlft-faq-item__question:hover { color: var(--rlft-teal-aa); }
.rlft-faq-item__question i {
  color: var(--rlft-fg-light-2);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.rlft-faq-item.is-open .rlft-faq-item__question i { transform: rotate(180deg); }
.rlft-faq-item__answer {
  display: none;
  padding: 0 0 20px;
  color: var(--rlft-fg-light-2);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.rlft-faq-item.is-open .rlft-faq-item__answer { display: block; }

/* ─── ABOUT PAGE ─── */
.rlft-about-story { background: var(--rlft-bg-light); padding: 80px 0; }
.rlft-about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.rlft-about-story__text h2 { color: var(--rlft-fg-light-1); margin-bottom: 20px; }
.rlft-about-story__text p {
  color: var(--rlft-fg-light-2);
  margin-bottom: 16px;
  line-height: 1.7;
}
.rlft-about-story__image {
  border-radius: var(--rlft-radius-lg);
  overflow: hidden;
}
.rlft-about-story__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Team section */
.rlft-team { background: var(--rlft-bg-light); padding: 80px 0; border-top: 1px solid var(--rlft-border-light); }
.rlft-team__header { text-align: center; margin-bottom: 48px; }
.rlft-team__header h2 { color: var(--rlft-fg-light-1); }
.rlft-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rlft-team-card {
  background: var(--rlft-bg-white);
  border: 1px solid var(--rlft-border-light);
  border-radius: var(--rlft-radius-lg);
  overflow: hidden;
}
.rlft-team-card__portrait {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.rlft-team-card__info { padding: 20px 24px 24px; }
.rlft-team-card__name { color: var(--rlft-fg-light-1); font-size: 1.0625rem; font-weight: 600; margin-bottom: 4px; }
.rlft-team-card__title { color: var(--rlft-teal-aa); font-size: 0.875rem; font-weight: 500; margin-bottom: 10px; }
.rlft-team-card__bio { color: var(--rlft-fg-light-2); font-size: 0.875rem; line-height: 1.55; }

/* Values section */
.rlft-values { background: var(--rlft-bg-dark); padding: 80px 0; }
.rlft-values__header { text-align: center; margin-bottom: 56px; }
.rlft-values__header h2 { color: var(--rlft-fg-dark-1); }
.rlft-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.rlft-value-item {
  border-top: 2px solid var(--rlft-teal);
  padding-top: 24px;
}
.rlft-value-item h3 { color: var(--rlft-fg-dark-1); margin-bottom: 12px; font-size: 1.125rem; }
.rlft-value-item p { color: var(--rlft-fg-dark-2); font-size: 0.9375rem; line-height: 1.7; }

/* ─── CONTACT PAGE ─── */
.rlft-contact { background: var(--rlft-bg-light); padding: 80px 0; }
.rlft-contact__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: start;
}
.rlft-form-group { margin-bottom: 20px; }
.rlft-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rlft-fg-light-1);
  margin-bottom: 6px;
}
.rlft-form-input,
.rlft-form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--rlft-border-light);
  border-radius: var(--rlft-radius);
  font-family: var(--rlft-font-sans);
  font-size: 0.9375rem;
  color: var(--rlft-fg-light-1);
  background: var(--rlft-bg-white);
  transition: border-color 0.2s;
  max-width: 560px;
}
.rlft-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23375068' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.rlft-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--rlft-border-light);
  border-radius: var(--rlft-radius);
  font-family: var(--rlft-font-sans);
  font-size: 0.9375rem;
  color: var(--rlft-fg-light-1);
  background: var(--rlft-bg-white);
  min-height: 120px;
  resize: vertical;
  transition: border-color 0.2s;
  max-width: 560px;
}
.rlft-form-input:focus,
.rlft-form-select:focus,
.rlft-form-textarea:focus {
  outline: none;
  border-color: var(--rlft-teal-aa);
}
.rlft-contact__info { padding-top: 8px; }
.rlft-contact__info h3 { color: var(--rlft-fg-light-1); margin-bottom: 20px; }
.rlft-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.rlft-contact-detail__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0,123,109,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rlft-teal-aa);
  flex-shrink: 0;
}
.rlft-contact-detail__text span {
  display: block;
  font-size: 0.8125rem;
  color: var(--rlft-fg-light-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 4px;
}
.rlft-contact-detail__text a,
.rlft-contact-detail__text p {
  color: var(--rlft-fg-light-1);
  font-size: 0.9375rem;
}
.rlft-contact-detail__text a { text-decoration: underline; text-underline-offset: 2px; }
.rlft-contact-detail__text a:hover { color: var(--rlft-teal-aa); }

/* ─── SECURITY PAGE ─── */
.rlft-security-detail {
  background: var(--rlft-bg-light);
  padding: 80px 0;
}

/* ─── BLOG INDEX ─── */
.rlft-blog-header {
  background: var(--rlft-bg-light);
  padding: calc(var(--rlft-nav-h) + 56px) 0 56px;
}
.rlft-blog-header h1 { color: var(--rlft-fg-light-1); }
.rlft-blog-header p { color: var(--rlft-fg-light-2); margin-top: 12px; max-width: 560px; }

.rlft-blog-grid-section { background: var(--rlft-bg-light); padding: 0 0 80px; }
.rlft-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rlft-blog-card {
  background: var(--rlft-bg-white);
  border: 1px solid var(--rlft-border-light);
  border-radius: var(--rlft-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.rlft-blog-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
.rlft-blog-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  height: auto;
}
.rlft-blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.rlft-blog-card__date { color: var(--rlft-fg-light-2); font-size: 0.8125rem; }
.rlft-blog-card__title {
  color: var(--rlft-fg-light-1);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.rlft-blog-card__title:hover { color: var(--rlft-teal-aa); }
.rlft-blog-card__summary { color: var(--rlft-fg-light-2); font-size: 0.875rem; line-height: 1.55; }
.rlft-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.rlft-blog-card__tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rlft-teal-aa);
  background: rgba(0,123,109,0.08);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ─── BLOG ARTICLE PAGE ─── */
.rlft-article-header {
  background: var(--rlft-bg-light);
  padding: calc(var(--rlft-nav-h) + 48px) 0 48px;
}
.rlft-article-header__inner {
  max-width: var(--rlft-max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.rlft-article-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--rlft-fg-light-2);
  margin-bottom: 16px;
}
.rlft-article-header__breadcrumb a { color: var(--rlft-teal-aa); }
.rlft-article-header h1 {
  color: var(--rlft-fg-light-1);
  max-width: 760px;
  margin-bottom: 20px;
}
.rlft-article-header__byline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.rlft-article-header__byline-author { color: var(--rlft-fg-light-1); font-weight: 600; font-size: 0.9375rem; }
.rlft-article-header__byline-title { color: var(--rlft-fg-light-2); font-size: 0.875rem; }
.rlft-article-header__byline-sep { color: var(--rlft-fg-light-2); }
.rlft-article-header__byline-date { color: var(--rlft-fg-light-2); font-size: 0.875rem; }

.rlft-article-cover-wrap {
  background: var(--rlft-bg-light);
  padding: 0 0 48px;
}
.rlft-article-cover-wrap__inner {
  max-width: var(--rlft-max-w);
  margin: 0 auto;
  padding: 0 24px;
}
/* Article cover — natural ratio, no crop (S17b compliance) */
.rlft-blog-article__cover {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--rlft-radius-lg);
  margin: 0 auto;
  max-width: 900px;
}

.rlft-article-body-wrap {
  background: var(--rlft-bg-light);
  padding: 0 0 80px;
}

/* Article body — scoped under light-top per design-spec.typography.shared_containers */
body.rlft-page--light-top .rlft-blog-article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
body.rlft-page--light-top .rlft-blog-article-body h2 {
  color: var(--rlft-fg-light-1);
  font-size: 1.5rem;
  margin: 40px 0 16px;
}
body.rlft-page--light-top .rlft-blog-article-body h3 {
  color: var(--rlft-fg-light-1);
  font-size: 1.25rem;
  margin: 32px 0 12px;
}
body.rlft-page--light-top .rlft-blog-article-body p {
  color: var(--rlft-fg-light-2);
  margin-bottom: 20px;
  line-height: 1.75;
}
body.rlft-page--light-top .rlft-blog-article-body ul,
body.rlft-page--light-top .rlft-blog-article-body ol {
  color: var(--rlft-fg-light-2);
  padding-left: 24px;
  margin-bottom: 20px;
}
body.rlft-page--light-top .rlft-blog-article-body li { margin-bottom: 8px; line-height: 1.7; }
body.rlft-page--light-top .rlft-blog-article-body a { color: var(--rlft-teal-aa); text-decoration: underline; text-underline-offset: 2px; }
body.rlft-page--light-top .rlft-blog-article-body code {
  font-family: var(--rlft-font-mono);
  font-size: 0.875em;
  background: rgba(11,25,41,0.07);
  color: var(--rlft-fg-light-1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Blog related */
.rlft-blog-related { background: var(--rlft-bg-light); padding: 48px 0 80px; border-top: 1px solid var(--rlft-border-light); }
.rlft-blog-related__header { margin-bottom: 32px; }
.rlft-blog-related__header h3 { color: var(--rlft-fg-light-1); }
.rlft-blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ─── LOGIN PAGES ─── */
.rlft-auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--rlft-bg-dark);
}
.rlft-auth-page--light {
  background: var(--rlft-bg-light);
}
.rlft-auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--rlft-nav-h) + 40px) 24px 40px;
}
.rlft-auth-card {
  background: var(--rlft-bg-white);
  border: 1px solid var(--rlft-border-light);
  border-radius: var(--rlft-radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
}
.rlft-auth-card__logo {
  text-align: center;
  margin-bottom: 28px;
}
.rlft-auth-card__logo img {
  height: 28px;
  width: auto;
  margin: 0 auto;
}
.rlft-auth-card h1 {
  text-align: center;
  color: var(--rlft-fg-light-1);
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.rlft-auth-card__sub {
  text-align: center;
  color: var(--rlft-fg-light-2);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.rlft-auth-form { display: flex; flex-direction: column; gap: 16px; }
.rlft-auth-form .rlft-form-input,
.rlft-auth-form .rlft-form-select,
.rlft-auth-form .rlft-form-textarea {
  max-width: none;
  width: 100%;
}
.rlft-auth-form .rlft-btn { width: 100%; justify-content: center; }
.rlft-auth-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.rlft-auth-links a {
  color: var(--rlft-teal-aa);
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rlft-auth-card__note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--rlft-fg-light-2);
  margin-top: 16px;
  line-height: 1.5;
}

/* Light auth (signup, reset) */
.rlft-auth-light-wrap {
  padding: calc(var(--rlft-nav-h) + 40px) 0 80px;
}
.rlft-auth-light-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
}
.rlft-auth-light-inner h1 { color: var(--rlft-fg-light-1); margin-bottom: 8px; }
.rlft-auth-light-inner .rlft-auth-card__sub { text-align: left; margin-bottom: 32px; }
.rlft-auth-light-inner .rlft-form-input,
.rlft-auth-light-inner .rlft-form-select,
.rlft-auth-light-inner .rlft-form-textarea {
  max-width: none;
}

/* ─── LEGAL PAGES ─── */
.rlft-legal-header {
  background: var(--rlft-bg-light);
  padding: calc(var(--rlft-nav-h) + 48px) 0 40px;
  border-bottom: 1px solid var(--rlft-border-light);
}
.rlft-legal-header h1 { color: var(--rlft-fg-light-1); }
.rlft-legal-header p { color: var(--rlft-fg-light-2); margin-top: 8px; font-size: 0.9rem; }

.rlft-legal-body {
  background: var(--rlft-bg-light);
  padding: 48px 0 80px;
}
/* Legal content — scoped per design-spec.typography.shared_containers */
body.rlft-page--light-top .rlft-legal-content {
  max-width: 800px;
  margin: 0 auto;
}
body.rlft-page--light-top .rlft-legal-content h2 {
  color: var(--rlft-fg-light-1);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 40px 0 12px;
}
body.rlft-page--light-top .rlft-legal-content h2:first-child { margin-top: 0; }
body.rlft-page--light-top .rlft-legal-content p {
  color: var(--rlft-fg-light-2);
  margin-bottom: 16px;
  line-height: 1.75;
}
body.rlft-page--light-top .rlft-legal-content ul,
body.rlft-page--light-top .rlft-legal-content ol {
  color: var(--rlft-fg-light-2);
  padding-left: 24px;
  margin-bottom: 16px;
}
body.rlft-page--light-top .rlft-legal-content li { margin-bottom: 6px; line-height: 1.65; }
body.rlft-page--light-top .rlft-legal-content a { color: var(--rlft-teal-aa); text-decoration: underline; text-underline-offset: 2px; }
body.rlft-page--light-top .rlft-legal-content address {
  font-style: normal;
  color: var(--rlft-fg-light-2);
  line-height: 1.8;
}
body.rlft-page--light-top .rlft-legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
body.rlft-page--light-top .rlft-legal-content th {
  background: rgba(11,25,41,0.05);
  color: var(--rlft-fg-light-1);
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--rlft-border-light);
  font-weight: 600;
}
body.rlft-page--light-top .rlft-legal-content td {
  color: var(--rlft-fg-light-2);
  padding: 10px 12px;
  border: 1px solid var(--rlft-border-light);
  vertical-align: top;
}

/* legal-article header */
body.rlft-page--light-top .rlft-legal-content .legal-header h1 { display: none; } /* h1 already in page header */
body.rlft-page--light-top .rlft-legal-content .legal-meta {
  color: var(--rlft-fg-light-2);
  font-size: 0.875rem;
  margin-bottom: 6px;
}

/* ─── SOLUTIONS / VALUE CARDS ─── */
.rlft-value-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.rlft-value-card {
  background: var(--rlft-bg-white);
  border: 1px solid var(--rlft-border-light);
  border-radius: var(--rlft-radius-lg);
  padding: 28px;
}
.rlft-value-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,123,109,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--rlft-teal-aa);
  margin-bottom: 16px;
}
.rlft-value-card h3 { color: var(--rlft-fg-light-1); margin-bottom: 8px; font-size: 1.0625rem; }
.rlft-value-card p { color: var(--rlft-fg-light-2); font-size: 0.9rem; line-height: 1.6; }

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--rlft-bg-dark-alt);
  border-top: 1px solid var(--rlft-border-dark);
  padding: 16px 24px;
}
.cookie-banner__inner {
  max-width: var(--rlft-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  min-width: 240px;
  color: var(--rlft-fg-dark-2);
  font-size: 0.875rem;
  line-height: 1.5;
}
.cookie-banner__text a { color: var(--rlft-teal); }
.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-banner__btn {
  padding: 9px 18px;
  border-radius: 6px;
  font-family: var(--rlft-font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cookie-banner__btn--primary {
  background: var(--rlft-teal);
  color: var(--rlft-navy);
  border-color: var(--rlft-teal);
}
.cookie-banner__btn--primary:hover { background: #00d9bc; }
.cookie-banner__btn--secondary {
  background: transparent;
  color: var(--rlft-fg-dark-2);
  border-color: var(--rlft-border-dark);
}
.cookie-banner__btn--secondary:hover { color: var(--rlft-fg-dark-1); border-color: rgba(240,246,255,0.3); }

/* ─── UTILITIES ─── */
.rlft-text-center { text-align: center; }
.rlft-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.rlft-mt-2 { margin-top: 8px; }
.rlft-mt-4 { margin-top: 16px; }
.rlft-mt-6 { margin-top: 24px; }
.rlft-mt-8 { margin-top: 32px; }

/* Fade-in animation with failsafe */
.rlft-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.rlft-fade-in.is-visible,
.rlft-fade-in.visible {
  opacity: 1;
  transform: none;
}
/* Failsafe: after 1.2s force visible regardless of JS */
@keyframes rlft-reveal-failsafe { to { opacity: 1; transform: none; } }
.rlft-fade-in { animation: rlft-reveal-failsafe 0.5s 1.2s forwards; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .rlft-nav__links { display: none; }
  .rlft-nav__actions { display: none; }
  .rlft-nav__hamburger { display: flex; }
  .rlft-nav__inner { gap: 0; }

  .rlft-feed-columns { grid-template-columns: 1fr; }
  .rlft-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .rlft-pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .rlft-about-story__grid { grid-template-columns: 1fr; }
  .rlft-contact__grid { grid-template-columns: 1fr; }
  .rlft-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .rlft-tms-grid { grid-template-columns: 1fr; }
  .rlft-blog-related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --rlft-nav-h: 60px; }
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .rlft-section--dark,
  .rlft-section--dark-alt,
  .rlft-section--light,
  .rlft-section--white { padding: 56px 0; }

  .rlft-problem-grid { grid-template-columns: 1fr; }
  .rlft-problem-tile { border-left: none; border-top: 1px solid var(--rlft-border-dark); }
  .rlft-problem-tile:first-child { border-top: none; }

  .rlft-feed-types-row { grid-template-columns: 1fr; }
  .rlft-steps { grid-template-columns: 1fr; }
  .rlft-use-cases-grid { grid-template-columns: 1fr; }
  .rlft-stats-grid { grid-template-columns: 1fr; }
  .rlft-stat { border-right: none; border-bottom: 1px solid var(--rlft-border-dark); }
  .rlft-stat:last-child { border-bottom: none; }
  .rlft-team-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .rlft-values-grid { grid-template-columns: 1fr; }
  .rlft-value-cards-grid { grid-template-columns: 1fr; }
  .rlft-alert-features { grid-template-columns: 1fr; }
  .rlft-security-grid { grid-template-columns: 1fr; }
  .rlft-blog-grid { grid-template-columns: 1fr; }
  .rlft-footer__grid { grid-template-columns: 1fr; }
  .rlft-footer__bottom { flex-direction: column; text-align: center; }
  .rlft-hero__content { padding-top: calc(var(--rlft-nav-h) + 60px); }
  .rlft-carrier-grid { grid-template-columns: repeat(2, 1fr); }
  .rlft-blog-related-grid { grid-template-columns: 1fr; }
  .rlft-hero__actions { flex-direction: column; align-items: flex-start; }
  .rlft-cta-band__actions { flex-direction: column; align-items: center; }
  .rlft-billing-toggle { flex-wrap: wrap; justify-content: center; }
  .cookie-banner__inner { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .rlft-auth-card { padding: 28px 20px; }
  .rlft-stat__value { font-size: 2.25rem; }
  .rlft-pricing-grid { max-width: 100%; }
  .rlft-carrier-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── GDPR CALLOUT DARK ─── */
.rlft-gdpr-band {
  background: var(--rlft-bg-dark-alt);
  padding: 56px 0;
  border-top: 1px solid var(--rlft-border-dark);
}
.rlft-gdpr-band__inner {
  max-width: var(--rlft-max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.rlft-gdpr-band h3 { color: var(--rlft-fg-dark-1); margin-bottom: 8px; }
.rlft-gdpr-band p { color: var(--rlft-fg-dark-2); font-size: 0.9375rem; max-width: 560px; }

/* ─── SECTION VARIANTS ─── */
.rlft-section--alt {
  background: #EFF4F9;
  padding: 80px 0;
}
/* Subhero sub modifier (used on light-bg subhero pages) */
.rlft-subhero__sub--light {
  margin-top: 16px;
  font-size: 1.125rem;
  max-width: 640px;
  line-height: 1.65;
  color: var(--rlft-fg-light-2);
}

/* ─── ABOUT HERO ─── */
.rlft-about-hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  padding-top: calc(var(--rlft-nav-h) + 40px);
  padding-bottom: 64px;
}
.rlft-about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rlft-about-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rlft-about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(11,25,41,0.88) 0%, rgba(11,25,41,0.6) 100%);
}
.rlft-about-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--rlft-max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.rlft-about-hero h1 { color: var(--rlft-fg-dark-1); max-width: 680px; }
.rlft-about-hero__sub {
  margin-top: 16px;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--rlft-fg-dark-2);
  max-width: 580px;
}

/* ─── TEAM CARD (photo variant) ─── */
/* Base team-card already has __portrait; add photo alias used in HTML */
.rlft-team-card__photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.rlft-team-card__role {
  color: var(--rlft-teal-aa);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 10px;
}
/* team-card__name: same as __title — rules defined above in team section */

/* ─── CONTACT HERO ─── */
.rlft-contact-hero {
  background: var(--rlft-bg-dark);
  padding: calc(var(--rlft-nav-h) + 56px) 0 56px;
}
.rlft-contact-hero__inner {
  max-width: var(--rlft-max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.rlft-contact-hero__heading {
  color: var(--rlft-fg-dark-1);
  margin-bottom: 16px;
}
.rlft-contact-hero__sub {
  color: var(--rlft-fg-dark-2);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* Contact info list */
.rlft-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.rlft-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.rlft-contact-info-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0,194,168,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rlft-teal);
  font-size: 1rem;
  flex-shrink: 0;
}
.rlft-contact-info-item__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--rlft-fg-dark-2);
  margin-bottom: 4px;
}
.rlft-contact-info-item__value {
  display: block;
  color: var(--rlft-fg-dark-1);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.rlft-contact-info-item__link {
  color: var(--rlft-teal);
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rlft-contact-info-item__link:hover { color: #00d9bc; }

/* Contact form wrap */
.rlft-contact-form-wrap {
  background: var(--rlft-bg-white);
  border: 1px solid var(--rlft-border-light);
  border-radius: var(--rlft-radius-lg);
  padding: 36px;
}
.rlft-contact-form-wrap__title {
  color: var(--rlft-fg-light-1);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.rlft-contact-form { display: flex; flex-direction: column; gap: 16px; }

/* ─── FORM STRUCTURE ─── */
.rlft-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.rlft-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ─── SECURITY CARDS ─── */
.rlft-security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.rlft-security-card {
  background: var(--rlft-bg-white);
  border: 1px solid var(--rlft-border-light);
  border-radius: var(--rlft-radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s;
}
.rlft-security-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.rlft-security-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,123,109,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--rlft-teal-aa);
  margin-bottom: 16px;
}
.rlft-security-card__title {
  color: var(--rlft-fg-light-1);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.rlft-security-card__body {
  color: var(--rlft-fg-light-2);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── BLOG CARD ADDITIONS ─── */
.rlft-blog-card__img-wrap { overflow: hidden; }
.rlft-blog-card__cta {
  color: var(--rlft-teal-aa);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}
.rlft-blog-card__cta:hover { color: var(--rlft-fg-light-1); }
.rlft-blog-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rlft-teal-aa);
  background: rgba(0,123,109,0.08);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ─── BLOG ARTICLE COMPONENTS ─── */
.rlft-blog-article {
  background: var(--rlft-bg-light);
}
.rlft-blog-article__header {
  background: var(--rlft-bg-light);
  padding: calc(var(--rlft-nav-h) + 48px) 0 40px;
  border-bottom: 1px solid var(--rlft-border-light);
}
.rlft-blog-article__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--rlft-fg-light-2);
  margin-bottom: 16px;
}
.rlft-blog-article__breadcrumb a { color: var(--rlft-teal-aa); text-decoration: underline; text-underline-offset: 2px; }
.rlft-blog-article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: var(--rlft-fg-light-2);
}
.rlft-blog-article__title {
  color: var(--rlft-fg-light-1);
  font-size: 2rem;
  line-height: 1.3;
  max-width: 800px;
  margin-bottom: 24px;
}
.rlft-blog-article__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rlft-blog-article__author-info {}
.rlft-blog-article__author-name {
  color: var(--rlft-fg-light-1);
  font-weight: 600;
  font-size: 0.9375rem;
  margin: 0;
}
.rlft-blog-article__author-role {
  color: var(--rlft-fg-light-2);
  font-size: 0.8125rem;
  margin: 0;
}

/* Cover: natural ratio, no crop (S17b) */
.rlft-blog-article__cover-wrap {
  margin: 32px 0 40px;
}
/* .rlft-blog-article__cover rules already defined above */

/* Article layout — 2-col: body + sidebar */
.rlft-blog-article__layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
  padding-bottom: 80px;
  padding-top: 16px;
}
/* rlft-blog-article-body scoped under light-top (already in CSS above) */

/* Sidebar */
.rlft-blog-article__sidebar {
  position: sticky;
  top: calc(var(--rlft-nav-h) + 24px);
}
.rlft-blog-article__sidebar-block {
  background: var(--rlft-bg-white);
  border: 1px solid var(--rlft-border-light);
  border-radius: var(--rlft-radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.rlft-blog-article__sidebar-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rlft-fg-light-2);
  margin-bottom: 14px;
}
.rlft-blog-article__related {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rlft-blog-article__related li {}
.rlft-blog-article__related a {
  font-size: 0.875rem;
  color: var(--rlft-teal-aa);
  text-decoration: underline;
  text-underline-offset: 2px;
  line-height: 1.4;
}
.rlft-blog-article__related a:hover { color: var(--rlft-fg-light-1); }
.rlft-blog-article__sidebar-cta {
  background: var(--rlft-bg-dark);
  border-radius: var(--rlft-radius-lg);
  padding: 24px;
  color: var(--rlft-fg-dark-2);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ─── LEGAL HERO ─── */
.rlft-legal-hero {
  background: var(--rlft-bg-dark);
  padding: calc(var(--rlft-nav-h) + 32px) 0 32px;
  border-bottom: 1px solid var(--rlft-border-dark);
}

/* Breadcrumb (legal + blog) */
.rlft-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--rlft-fg-dark-2);
}
.rlft-breadcrumb a { color: var(--rlft-teal); text-decoration: underline; text-underline-offset: 2px; }
.rlft-breadcrumb span { color: var(--rlft-fg-dark-2); }

/* Legal article structure */
.legal-article {}
.legal-header {}
.legal-header h1 {
  color: var(--rlft-fg-light-1);
  font-size: 2rem;
  margin-bottom: 8px;
}
.legal-meta {
  font-size: 0.875rem;
  color: var(--rlft-fg-light-2);
  margin-bottom: 4px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.legal-table th {
  background: rgba(11,25,41,0.05);
  color: var(--rlft-fg-light-1);
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--rlft-border-light);
  font-weight: 600;
}
.legal-table td {
  color: var(--rlft-fg-light-2);
  padding: 10px 12px;
  border: 1px solid var(--rlft-border-light);
  vertical-align: top;
  line-height: 1.55;
}

/* ─── TWO-PANEL AUTH LAYOUT ─── */
.rlft-auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.rlft-auth-layout--narrow {
  grid-template-columns: 5fr 7fr;
}
.rlft-auth-aside {
  background: var(--rlft-bg-dark);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rlft-auth-aside__logo {
  display: inline-block;
  margin-bottom: 56px;
}
.rlft-auth-aside__logo img {
  height: 32px;
  width: auto;
}
.rlft-auth-aside__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 420px;
}
.rlft-auth-aside__headline {
  color: var(--rlft-fg-dark-1);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}
.rlft-auth-aside__body {
  color: var(--rlft-fg-dark-2);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.rlft-auth-aside__feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rlft-auth-aside__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rlft-fg-dark-2);
  font-size: 0.9375rem;
}
.rlft-auth-aside__feature i { color: var(--rlft-teal); }

/* Auth panel (light right side) */
.rlft-auth-panel {
  background: var(--rlft-bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
}
.rlft-auth-panel__inner {
  width: 100%;
  max-width: 480px;
}
.rlft-auth-panel__title {
  color: var(--rlft-fg-light-1);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.rlft-auth-panel__sub {
  color: var(--rlft-fg-light-2);
  font-size: 0.9375rem;
  margin-bottom: 32px;
}
.rlft-auth-panel__sub a { color: var(--rlft-teal-aa); text-decoration: underline; text-underline-offset: 2px; }
.rlft-auth-panel__footer {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--rlft-fg-light-2);
  text-align: center;
}
.rlft-auth-panel__footer a { color: var(--rlft-teal-aa); }
.rlft-auth-form__forgot {
  font-size: 0.875rem;
  color: var(--rlft-teal-aa);
  text-decoration: underline;
  text-underline-offset: 2px;
  align-self: flex-end;
  margin-top: -8px;
}

/* Auth layout responsive */
@media (max-width: 900px) {
  .rlft-auth-layout,
  .rlft-auth-layout--narrow {
    grid-template-columns: 1fr;
  }
  .rlft-auth-aside {
    padding: 32px 24px 40px;
    min-height: auto;
  }
  .rlft-auth-aside__content { max-width: none; }
  .rlft-auth-panel { padding: 40px 24px; }
}

/* ─── CONTACT PAGE RESPONSIVE ─── */
@media (max-width: 900px) {
  .rlft-contact-hero__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .rlft-form-row { grid-template-columns: 1fr; }
  .rlft-security-grid { grid-template-columns: 1fr 1fr; }
  .rlft-blog-article__layout { grid-template-columns: 1fr; }
  .rlft-blog-article__sidebar { position: static; }
  .rlft-about-hero { min-height: 360px; }
}
@media (max-width: 600px) {
  .rlft-security-grid { grid-template-columns: 1fr; }
  .rlft-contact-form-wrap { padding: 24px; }
  .rlft-auth-aside { padding: 24px; }
  .rlft-auth-panel { padding: 32px 20px; }
}

/* ─── TERMINAL / CODE MOCK ─── */
.rlft-term {
  background: #0D1F2D;
  border-radius: var(--rlft-radius-lg);
  overflow: hidden;
  font-family: var(--rlft-font-mono);
  font-size: 0.875rem;
}
.rlft-term--compact { font-size: 0.8125rem; }
.rlft-term__chrome {
  background: #1A2E3F;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.rlft-term__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.rlft-term__dot--red { background: #FF5F57; }
.rlft-term__dot--yellow { background: #FEBC2E; }
.rlft-term__dot--green { background: #28C840; }
.rlft-term__title {
  margin-left: 8px;
  font-size: 0.8rem;
  color: rgba(240,246,255,0.5);
}
.rlft-term__body {
  padding: 20px;
  margin: 0;
  white-space: pre;
  overflow-x: auto;
  line-height: 1.55;
  color: rgba(240,246,255,0.85);
}
.rlft-tt-prompt { color: var(--rlft-teal); font-weight: 600; }
.rlft-tt-cmd { color: #E2E8F0; }
.rlft-tt-meta { color: rgba(240,246,255,0.5); }
.rlft-tt-insert { color: #86EFAC; }
.rlft-tt-delete { color: #FCA5A5; }
.rlft-tt-stat { color: rgba(240,246,255,0.6); font-style: italic; }

/* ─── BUTTON VARIANT ADDITION ─── */
.rlft-btn--teal {
  background: rgba(0,194,168,0.12);
  color: var(--rlft-teal);
  border: 1px solid rgba(0,194,168,0.25);
}
.rlft-btn--teal:hover {
  background: rgba(0,194,168,0.2);
  color: var(--rlft-teal);
}

/* ─── BILLING TOGGLE JS HOOKS ─── */
/* These classes are used by JS to show/hide pricing elements */
.rlft-billing-label--monthly,
.rlft-billing-label--annual { /* display controlled by JS toggle — no default needed */ }
.rlft-price--monthly,
.rlft-price--annual { /* display controlled by JS toggle — no default needed */ }
