/* rnhb-main.css — Renewharbor | web0531 */

/* ============================================================
   RESET & CUSTOM PROPERTIES
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette */
  --rnhb-dark: #0F1C2E;
  --rnhb-dark-alt: #172435;
  --rnhb-dark-card: #1E3148;
  --rnhb-dark-card-2: #243a56;

  --rnhb-blue: #3B82F6;
  --rnhb-blue-aa-light: #1D4ED8;
  --rnhb-blue-aa-dark: #60A5FA;

  --rnhb-fg-dark-primary: #F0F6FF;
  --rnhb-fg-dark-secondary: #94A3B8;
  --rnhb-fg-dark-muted: #64748B;

  --rnhb-fg-light-primary: #0F1C2E;
  --rnhb-fg-light-secondary: #475569;
  --rnhb-fg-light-muted: #64748B;

  --rnhb-bg-light: #F8FAFC;
  --rnhb-bg-white: #FFFFFF;
  --rnhb-bg-cream: #F1F5F9;

  /* Signal colors */
  --rnhb-signal-red: #EF4444;
  --rnhb-signal-amber: #F59E0B;
  --rnhb-signal-green: #10B981;

  --rnhb-signal-red-bg: rgba(239, 68, 68, 0.12);
  --rnhb-signal-amber-bg: rgba(245, 158, 11, 0.12);
  --rnhb-signal-green-bg: rgba(16, 185, 129, 0.12);

  /* Border */
  --rnhb-border-light: rgba(15, 28, 46, 0.1);
  --rnhb-border-dark: rgba(255, 255, 255, 0.1);

  /* Spacing */
  --rnhb-container: 1200px;
  --rnhb-section-pad: 96px;
  --rnhb-section-pad-sm: 64px;

  /* Typography */
  --rnhb-font: 'Inter', system-ui, sans-serif;
  --rnhb-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;

  /* Border radius */
  --rnhb-r-card: 8px;
  --rnhb-r-btn: 6px;
  --rnhb-r-input: 4px;
}

/* ============================================================
   TYPOGRAPHY & BASE
   ============================================================ */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--rnhb-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--rnhb-fg-light-primary);
  background: var(--rnhb-bg-white);
  -webkit-font-smoothing: antialiased;
}

body.rnhb-page--dark-top { background: var(--rnhb-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--rnhb-font);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.875rem, 2.5vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem); }
h3 { font-size: clamp(1.125rem, 1vw + 0.5rem, 1.375rem); }
h4 { font-size: 1.125rem; }

p { line-height: 1.7; }
a { color: var(--rnhb-blue-aa-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   CONTAINER
   ============================================================ */
.rnhb-container {
  max-width: var(--rnhb-container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.rnhb-section--dark {
  background: var(--rnhb-dark);
  padding: var(--rnhb-section-pad) 0;
}
.rnhb-section--dark-alt {
  background: var(--rnhb-dark-alt);
  padding: var(--rnhb-section-pad) 0;
}
.rnhb-section--light {
  background: var(--rnhb-bg-light);
  padding: var(--rnhb-section-pad) 0;
}
.rnhb-section--white {
  background: var(--rnhb-bg-white);
  padding: var(--rnhb-section-pad) 0;
}
.rnhb-section--cream {
  background: var(--rnhb-bg-cream);
  padding: var(--rnhb-section-pad) 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.rnhb-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

/* Dark-top pages: transparent until scrolled */
body.rnhb-page--dark-top .rnhb-nav {
  background: transparent;
}
body.rnhb-page--dark-top .rnhb-nav.rnhb-nav--scrolled {
  background: var(--rnhb-dark);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* Light-top pages: always solid navy */
body.rnhb-page--light-top .rnhb-nav {
  background: var(--rnhb-dark);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.rnhb-nav__inner {
  max-width: var(--rnhb-container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.rnhb-nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.rnhb-nav__logo img {
  height: 28px;
  width: auto;
  max-width: 180px;
}
.rnhb-nav__logo:hover { text-decoration: none; }

.rnhb-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-left: 8px;
}

.rnhb-nav__link {
  color: rgba(240, 246, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--rnhb-r-btn);
  transition: color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.rnhb-nav__link:hover { color: #fff; background: rgba(255,255,255,0.07); text-decoration: none; }

/* Dropdown */
.rnhb-nav__item { position: relative; }
.rnhb-nav__dropdown-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(240, 246, 255, 0.82);
  font-family: var(--rnhb-font);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--rnhb-r-btn);
  transition: color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.rnhb-nav__dropdown-toggle:hover { color: #fff; background: rgba(255,255,255,0.07); }
.rnhb-nav__dropdown-toggle i { font-size: 0.65rem; transition: transform 0.2s; }
.rnhb-nav__item.is-open .rnhb-nav__dropdown-toggle i { transform: rotate(180deg); }

.rnhb-nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--rnhb-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--rnhb-r-card);
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 10;
}
.rnhb-nav__item.is-open .rnhb-nav__dropdown-menu { display: block; }

.rnhb-nav__dropdown-menu a {
  display: block;
  color: rgba(240,246,255,0.85);
  font-size: 0.875rem;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.rnhb-nav__dropdown-menu a:hover { background: rgba(255,255,255,0.07); color: #fff; text-decoration: none; }

.rnhb-nav__spacer { flex: 1; }

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

.rnhb-nav__login {
  color: rgba(240,246,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  transition: color 0.15s;
}
.rnhb-nav__login:hover { color: #fff; text-decoration: none; }

/* Mobile hamburger */
.rnhb-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.rnhb-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(240,246,255,0.85);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.rnhb-nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rnhb-nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.rnhb-nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.rnhb-nav__mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--rnhb-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px;
  z-index: 999;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.rnhb-nav__mobile.is-open { display: block; }
.rnhb-nav__mobile ul { list-style: none; }
.rnhb-nav__mobile a,
.rnhb-nav__mobile button {
  display: block;
  width: 100%;
  text-align: left;
  color: rgba(240,246,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--rnhb-r-card);
  background: transparent;
  border: none;
  font-family: var(--rnhb-font);
  cursor: pointer;
  transition: background 0.15s;
}
.rnhb-nav__mobile a:hover,
.rnhb-nav__mobile button:hover { background: rgba(255,255,255,0.07); text-decoration: none; }
.rnhb-nav__mobile-group { padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 4px; }
.rnhb-nav__mobile-sub { padding-left: 16px; }
.rnhb-nav__mobile-sub a { font-size: 0.9rem; opacity: 0.8; }
.rnhb-nav__mobile-cta { margin-top: 12px; }
.rnhb-nav__mobile-cta .rnhb-btn--primary { width: 100%; text-align: center; justify-content: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.rnhb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--rnhb-font);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--rnhb-r-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.rnhb-btn:hover { text-decoration: none; }

/* Primary */
.rnhb-btn--primary {
  background: var(--rnhb-blue-aa-light);
  color: #fff;
  border-color: var(--rnhb-blue-aa-light);
}
.rnhb-btn--primary:hover {
  background: #1e40af;
  border-color: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(29,78,216,0.35);
}

/* Outline on dark bg */
.rnhb-btn--outline-dark {
  background: transparent;
  color: var(--rnhb-fg-dark-primary);
  border-color: rgba(240,246,255,0.3);
}
.rnhb-btn--outline-dark:hover {
  border-color: rgba(240,246,255,0.6);
  background: rgba(255,255,255,0.05);
  color: #fff;
}

/* Outline on light bg */
.rnhb-btn--outline-light {
  background: transparent;
  color: var(--rnhb-fg-light-primary);
  border-color: rgba(15,28,46,0.25);
}
.rnhb-btn--outline-light:hover {
  border-color: var(--rnhb-fg-light-primary);
  background: rgba(15,28,46,0.04);
}

/* Ghost on dark */
.rnhb-btn--ghost-dark {
  background: transparent;
  color: rgba(240,246,255,0.75);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.rnhb-btn--ghost-dark:hover { color: #fff; }

/* Large variant */
.rnhb-btn--lg { font-size: 1rem; padding: 13px 28px; }

/* Small variant */
.rnhb-btn--sm { font-size: 0.8125rem; padding: 7px 16px; border-width: 1.5px; }

/* ============================================================
   HERO — INDEX
   ============================================================ */
.rnhb-hero {
  background: var(--rnhb-dark);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.rnhb-hero__inner {
  max-width: var(--rnhb-container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.rnhb-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rnhb-blue-aa-dark);
  margin-bottom: 20px;
}
.rnhb-hero__eyebrow span.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rnhb-blue);
  animation: rnhb-pulse 2s infinite;
}

@keyframes rnhb-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.rnhb-hero__title {
  color: var(--rnhb-fg-dark-primary);
  margin-bottom: 20px;
}

.rnhb-hero__sub {
  color: var(--rnhb-fg-dark-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 36px;
}

.rnhb-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   SIGNAL PANEL SVG WRAPPER
   ============================================================ */
.rnhb-hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.rnhb-hero__visual svg {
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: var(--rnhb-r-card);
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
}

/* ============================================================
   SECTION LABELS / EYEBROW
   ============================================================ */
.rnhb-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Light section */
.rnhb-section--light .rnhb-eyebrow,
.rnhb-section--white .rnhb-eyebrow,
.rnhb-section--cream .rnhb-eyebrow {
  color: var(--rnhb-blue-aa-light);
}

/* Dark section */
.rnhb-section--dark .rnhb-eyebrow,
.rnhb-section--dark-alt .rnhb-eyebrow {
  color: var(--rnhb-blue-aa-dark);
}

/* ============================================================
   SECTION HEADINGS in context
   ============================================================ */
.rnhb-section--dark h2,
.rnhb-section--dark h3,
.rnhb-section--dark-alt h2,
.rnhb-section--dark-alt h3 {
  color: var(--rnhb-fg-dark-primary);
}

.rnhb-section--dark p,
.rnhb-section--dark-alt p {
  color: var(--rnhb-fg-dark-secondary);
}

.rnhb-section--dark li,
.rnhb-section--dark-alt li {
  color: var(--rnhb-fg-dark-secondary);
}

/* ============================================================
   THREE SIGNALS SECTION
   ============================================================ */
.rnhb-signal-trio {
  background: var(--rnhb-bg-light);
  padding: var(--rnhb-section-pad) 0;
}

.rnhb-signal-trio__header { text-align: center; margin-bottom: 56px; }
.rnhb-signal-trio__header h2 { color: var(--rnhb-fg-light-primary); margin-bottom: 12px; }
.rnhb-signal-trio__header p { color: var(--rnhb-fg-light-secondary); max-width: 560px; margin: 0 auto; }

.rnhb-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rnhb-signal-card {
  background: var(--rnhb-bg-white);
  border: 1px solid var(--rnhb-border-light);
  border-radius: var(--rnhb-r-card);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.rnhb-signal-card:hover {
  box-shadow: 0 8px 32px rgba(15,28,46,0.1);
  transform: translateY(-2px);
}

.rnhb-signal-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.rnhb-signal-card--login .rnhb-signal-card__icon {
  background: rgba(96,165,250,0.12);
  color: var(--rnhb-blue-aa-light);
}
.rnhb-signal-card--card .rnhb-signal-card__icon {
  background: var(--rnhb-signal-red-bg);
  color: var(--rnhb-signal-red);
}
.rnhb-signal-card--ticket .rnhb-signal-card__icon {
  background: var(--rnhb-signal-amber-bg);
  color: #b45309;
}

.rnhb-signal-card__signal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 100px;
}

.rnhb-signal-card--login .rnhb-signal-card__signal {
  background: rgba(96,165,250,0.1);
  color: var(--rnhb-blue-aa-light);
}
.rnhb-signal-card--card .rnhb-signal-card__signal {
  background: var(--rnhb-signal-red-bg);
  color: #b91c1c;
}
.rnhb-signal-card--ticket .rnhb-signal-card__signal {
  background: var(--rnhb-signal-amber-bg);
  color: #92400e;
}

.rnhb-signal-card h3 {
  color: var(--rnhb-fg-light-primary);
  font-size: 1.125rem;
  margin-bottom: 10px;
}
.rnhb-signal-card p {
  color: var(--rnhb-fg-light-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS STRIP (HOME)
   ============================================================ */
.rnhb-how-strip {
  background: var(--rnhb-bg-cream);
  padding: var(--rnhb-section-pad) 0;
}

.rnhb-how-strip__header { text-align: center; margin-bottom: 56px; }
.rnhb-how-strip__header h2 { color: var(--rnhb-fg-light-primary); margin-bottom: 12px; }
.rnhb-how-strip__header p { color: var(--rnhb-fg-light-secondary); }

.rnhb-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.rnhb-step {
  background: var(--rnhb-bg-white);
  border: 1px solid var(--rnhb-border-light);
  border-radius: var(--rnhb-r-card);
  padding: 32px 24px;
  text-align: center;
}

.rnhb-step__number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--rnhb-blue-aa-light);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--rnhb-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.rnhb-step h3 { color: var(--rnhb-fg-light-primary); font-size: 1rem; margin-bottom: 10px; }
.rnhb-step p { color: var(--rnhb-fg-light-secondary); font-size: 0.9rem; }

.rnhb-step__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  padding-top: 48px;
  color: var(--rnhb-fg-light-muted);
  font-size: 1.25rem;
}

/* ============================================================
   DASHBOARD MOCK
   ============================================================ */
.rnhb-dashboard-mock {
  background: var(--rnhb-dark-alt);
  padding: var(--rnhb-section-pad) 0;
}

.rnhb-dashboard-mock__inner {
  max-width: var(--rnhb-container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 64px;
  align-items: center;
}

.rnhb-dashboard-mock__left h2 {
  color: var(--rnhb-fg-dark-primary);
  margin-bottom: 16px;
}
.rnhb-dashboard-mock__left p {
  color: var(--rnhb-fg-dark-secondary);
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.7;
}

/* macOS-style window chrome */
.rnhb-mock-window {
  background: var(--rnhb-dark-card);
  border-radius: var(--rnhb-r-card);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.rnhb-mock-window__chrome {
  background: #1a2d45;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.rnhb-mock-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.rnhb-mock-dot--red { background: #FF5F57; }
.rnhb-mock-dot--yellow { background: #FFBD2E; }
.rnhb-mock-dot--green { background: #28C840; }

.rnhb-mock-window__title {
  margin-left: 8px;
  font-size: 0.8rem;
  color: rgba(240,246,255,0.5);
  font-family: var(--rnhb-mono);
}

.rnhb-mock-table-wrap { overflow-x: auto; }

.rnhb-mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  font-family: var(--rnhb-mono);
}

.rnhb-mock-table thead th {
  background: #162030;
  color: rgba(240,246,255,0.5);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.rnhb-mock-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(240,246,255,0.85);
  vertical-align: middle;
  white-space: nowrap;
}

.rnhb-mock-table tbody tr:hover td { background: rgba(255,255,255,0.03); }
.rnhb-mock-table tbody tr:last-child td { border-bottom: none; }

.rnhb-mock-account {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rnhb-mock-account__avatar {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.rnhb-mock-arr { color: var(--rnhb-blue-aa-dark); font-weight: 600; }

.rnhb-mock-days {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}
.rnhb-mock-days--critical { background: rgba(239,68,68,0.15); color: #FCA5A5; }
.rnhb-mock-days--warning { background: rgba(245,158,11,0.15); color: #FCD34D; }
.rnhb-mock-days--ok { background: rgba(16,185,129,0.15); color: #6EE7B7; }

.rnhb-signal-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 4px;
  font-family: var(--rnhb-font);
}
.rnhb-signal-badge--red { background: rgba(239,68,68,0.15); color: #FCA5A5; border: 1px solid rgba(239,68,68,0.25); }
.rnhb-signal-badge--amber { background: rgba(245,158,11,0.15); color: #FCD34D; border: 1px solid rgba(245,158,11,0.25); }

.rnhb-mock-action {
  color: var(--rnhb-blue-aa-dark);
  font-size: 0.78rem;
  font-family: var(--rnhb-font);
}

/* ============================================================
   USE-CASES SPLIT
   ============================================================ */
.rnhb-use-cases {
  background: var(--rnhb-bg-light);
  padding: var(--rnhb-section-pad) 0;
}
.rnhb-use-cases__header { text-align: center; margin-bottom: 48px; }
.rnhb-use-cases__header h2 { color: var(--rnhb-fg-light-primary); margin-bottom: 12px; }
.rnhb-use-cases__header p { color: var(--rnhb-fg-light-secondary); }

.rnhb-use-cases__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rnhb-use-case-card {
  background: var(--rnhb-bg-white);
  border: 1px solid var(--rnhb-border-light);
  border-radius: var(--rnhb-r-card);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.rnhb-use-case-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
}
.rnhb-use-case-card--finance::before { background: var(--rnhb-blue-aa-light); }
.rnhb-use-case-card--cs::before { background: var(--rnhb-signal-green); }

.rnhb-use-case-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.rnhb-use-case-card--finance .rnhb-use-case-card__tag {
  background: rgba(29,78,216,0.08);
  color: var(--rnhb-blue-aa-light);
}
.rnhb-use-case-card--cs .rnhb-use-case-card__tag {
  background: rgba(16,185,129,0.1);
  color: #047857;
}

.rnhb-use-case-card h3 { color: var(--rnhb-fg-light-primary); margin-bottom: 12px; }
.rnhb-use-case-card p { color: var(--rnhb-fg-light-secondary); font-size: 0.9375rem; line-height: 1.65; margin-bottom: 20px; }

.rnhb-use-case-card ul {
  list-style: none;
  margin-bottom: 24px;
}
.rnhb-use-case-card ul li {
  color: var(--rnhb-fg-light-secondary);
  font-size: 0.9rem;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.rnhb-use-case-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
}
.rnhb-use-case-card--finance ul li::before { color: var(--rnhb-blue-aa-light); }
.rnhb-use-case-card--cs ul li::before { color: var(--rnhb-signal-green); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.rnhb-testimonials {
  background: var(--rnhb-bg-cream);
  padding: var(--rnhb-section-pad) 0;
}
.rnhb-testimonials__header { text-align: center; margin-bottom: 48px; }
.rnhb-testimonials__header h2 { color: var(--rnhb-fg-light-primary); margin-bottom: 12px; }

.rnhb-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rnhb-testimonial-card {
  background: var(--rnhb-bg-white);
  border: 1px solid var(--rnhb-border-light);
  border-radius: var(--rnhb-r-card);
  padding: 28px;
}

.rnhb-testimonial-card__stars {
  color: #FBBF24;
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.rnhb-testimonial-card blockquote {
  color: var(--rnhb-fg-light-primary);
  font-size: 0.9375rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.rnhb-testimonial-card__role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rnhb-fg-light-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.rnhb-testimonial-card__role::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--rnhb-blue-aa-light);
  flex-shrink: 0;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.rnhb-cta-banner {
  background: var(--rnhb-dark);
  padding: var(--rnhb-section-pad) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.rnhb-cta-banner__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rnhb-cta-banner__inner {
  position: relative;
  z-index: 1;
}
.rnhb-cta-banner h2 { color: var(--rnhb-fg-dark-primary); margin-bottom: 16px; }
.rnhb-cta-banner p { color: var(--rnhb-fg-dark-secondary); margin-bottom: 36px; font-size: 1rem; }
.rnhb-cta-banner__actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.rnhb-footer {
  background: var(--rnhb-dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 64px 0 32px;
}

.rnhb-footer__inner {
  max-width: var(--rnhb-container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.rnhb-footer__top {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.rnhb-footer__brand-logo img {
  height: 24px;
  width: auto;
  max-width: 160px;
  margin-bottom: 16px;
}
.rnhb-footer__brand-desc {
  color: var(--rnhb-fg-dark-secondary);
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 240px;
  margin-bottom: 20px;
}
.rnhb-footer__brand-contact {
  font-size: 0.8125rem;
  color: var(--rnhb-fg-dark-secondary);
  line-height: 1.8;
}
.rnhb-footer__brand-contact a {
  color: var(--rnhb-blue-aa-dark);
  text-decoration: none;
}
.rnhb-footer__brand-contact a:hover { text-decoration: underline; }

.rnhb-footer__col h4 {
  color: var(--rnhb-fg-dark-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.rnhb-footer__col ul { list-style: none; }
.rnhb-footer__col ul li { margin-bottom: 8px; }
.rnhb-footer__col ul li a {
  color: var(--rnhb-fg-dark-secondary);
  font-size: 0.875rem;
  transition: color 0.15s;
  text-decoration: none;
}
.rnhb-footer__col ul li a:hover { color: var(--rnhb-fg-dark-primary); }

.rnhb-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.rnhb-footer__tagline {
  color: var(--rnhb-fg-dark-secondary);
  font-size: 0.8125rem;
}

.rnhb-footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.rnhb-footer__bottom-links a {
  color: var(--rnhb-fg-dark-secondary);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 0.15s;
}
.rnhb-footer__bottom-links a:hover { color: var(--rnhb-fg-dark-primary); }

/* ============================================================
   SUB-PAGE HERO (light context)
   ============================================================ */
.rnhb-subhero {
  background: var(--rnhb-bg-light);
  padding: 120px 0 72px;
}
.rnhb-subhero__inner {
  max-width: var(--rnhb-container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.rnhb-subhero__text .rnhb-eyebrow { color: var(--rnhb-blue-aa-light); }
.rnhb-subhero__text h1 { color: var(--rnhb-fg-light-primary); margin-bottom: 16px; }
.rnhb-subhero__text p { color: var(--rnhb-fg-light-secondary); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 28px; }
.rnhb-subhero__text .rnhb-subhero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.rnhb-subhero--centered .rnhb-subhero__inner { grid-template-columns: 1fr; max-width: 720px; }
.rnhb-subhero--centered .rnhb-subhero__text { text-align: center; }
.rnhb-subhero--centered .rnhb-subhero__text .rnhb-subhero__actions { justify-content: center; }

/* ============================================================
   CARDS & FEATURE ROWS
   ============================================================ */
.rnhb-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.rnhb-feature-card {
  background: var(--rnhb-bg-white);
  border: 1px solid var(--rnhb-border-light);
  border-radius: var(--rnhb-r-card);
  padding: 28px 24px;
}
.rnhb-section--cream .rnhb-feature-card { background: var(--rnhb-bg-white); }
.rnhb-feature-card__icon {
  width: 44px; height: 44px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 16px;
  background: rgba(29,78,216,0.08);
  color: var(--rnhb-blue-aa-light);
}
.rnhb-feature-card h3 { color: var(--rnhb-fg-light-primary); margin-bottom: 8px; font-size: 1.0625rem; }
.rnhb-feature-card p { color: var(--rnhb-fg-light-secondary); font-size: 0.9rem; line-height: 1.6; }

/* ============================================================
   PRICING
   ============================================================ */
.rnhb-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.rnhb-pricing-card {
  background: var(--rnhb-bg-white);
  border: 1px solid var(--rnhb-border-light);
  border-radius: var(--rnhb-r-card);
  padding: 36px 28px;
  position: relative;
}
.rnhb-pricing-card--recommended {
  border-color: var(--rnhb-blue-aa-light);
  box-shadow: 0 0 0 1px var(--rnhb-blue-aa-light);
}
.rnhb-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rnhb-blue-aa-light);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.rnhb-pricing-card__name {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rnhb-fg-light-secondary);
  margin-bottom: 12px;
}
.rnhb-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.rnhb-pricing-card__amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--rnhb-fg-light-primary);
  font-family: var(--rnhb-mono);
}
.rnhb-pricing-card__currency {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--rnhb-fg-light-primary);
  align-self: flex-start;
  margin-top: 4px;
}
.rnhb-pricing-card__period {
  color: var(--rnhb-fg-light-muted);
  font-size: 0.875rem;
}
.rnhb-pricing-card__annual {
  color: var(--rnhb-fg-light-muted);
  font-size: 0.8125rem;
  margin-bottom: 6px;
}
.rnhb-pricing-card__annual strong {
  color: var(--rnhb-signal-green);
  font-weight: 600;
}
.rnhb-pricing-card__cap {
  color: var(--rnhb-fg-light-secondary);
  font-size: 0.875rem;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rnhb-border-light);
}
.rnhb-pricing-card ul {
  list-style: none;
  margin-bottom: 28px;
}
.rnhb-pricing-card ul li {
  color: var(--rnhb-fg-light-secondary);
  font-size: 0.875rem;
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
}
.rnhb-pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rnhb-signal-green);
  font-weight: 700;
}
.rnhb-pricing-card .rnhb-btn { width: 100%; text-align: center; }

/* FAQ */
.rnhb-faq { }
.rnhb-faq__item {
  border-bottom: 1px solid var(--rnhb-border-light);
}
.rnhb-faq__question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  font-family: var(--rnhb-font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--rnhb-fg-light-primary);
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rnhb-faq__question:hover { color: var(--rnhb-blue-aa-light); }
.rnhb-faq__question i { font-size: 0.875rem; transition: transform 0.25s; flex-shrink: 0; color: var(--rnhb-fg-light-muted); }
.rnhb-faq__item.is-open .rnhb-faq__question i { transform: rotate(180deg); }
.rnhb-faq__answer {
  display: none;
  padding: 0 0 20px;
  color: var(--rnhb-fg-light-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.rnhb-faq__item.is-open .rnhb-faq__answer { display: block; }

/* ============================================================
   BLOG
   ============================================================ */
.rnhb-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.rnhb-blog-card {
  background: var(--rnhb-bg-white);
  border: 1px solid var(--rnhb-border-light);
  border-radius: var(--rnhb-r-card);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.rnhb-blog-card:hover {
  box-shadow: 0 8px 32px rgba(15,28,46,0.1);
  transform: translateY(-2px);
}

.rnhb-blog-card__img-wrap {
  overflow: hidden;
}
.rnhb-blog-card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.rnhb-blog-card:hover .rnhb-blog-card__img { transform: scale(1.03); }

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

.rnhb-blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.rnhb-blog-card__tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(29,78,216,0.08);
  color: var(--rnhb-blue-aa-light);
}

.rnhb-blog-card__title {
  color: var(--rnhb-fg-light-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 8px;
  text-decoration: none;
  display: block;
}
.rnhb-blog-card__title:hover { color: var(--rnhb-blue-aa-light); text-decoration: none; }

.rnhb-blog-card__excerpt {
  color: var(--rnhb-fg-light-secondary);
  font-size: 0.875rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rnhb-blog-card__meta {
  font-size: 0.8rem;
  color: var(--rnhb-fg-light-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.rnhb-blog-card__meta time { font-variant-numeric: tabular-nums; }

/* Blog article page */
.rnhb-blog-article {
  padding: 120px 0 80px;
  background: var(--rnhb-bg-light);
}
.rnhb-blog-article__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}
.rnhb-blog-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.rnhb-blog-article__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(29,78,216,0.08);
  color: var(--rnhb-blue-aa-light);
}
.rnhb-blog-article__cover {
  width: 100%;
  height: auto;
  border-radius: var(--rnhb-r-card);
  margin: 28px 0 40px;
  display: block;
}

body.rnhb-page--light-top .rnhb-blog-content h1 { color: var(--rnhb-fg-light-primary); margin-bottom: 16px; font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
body.rnhb-page--light-top .rnhb-blog-content .rnhb-blog-article__meta {
  color: var(--rnhb-fg-light-muted);
  font-size: 0.875rem;
  margin-bottom: 8px;
}
body.rnhb-page--light-top .rnhb-blog-content h2 { color: var(--rnhb-fg-light-primary); margin-top: 40px; margin-bottom: 14px; font-size: 1.375rem; }
body.rnhb-page--light-top .rnhb-blog-content h3 { color: var(--rnhb-fg-light-primary); margin-top: 28px; margin-bottom: 10px; }
body.rnhb-page--light-top .rnhb-blog-content p { color: var(--rnhb-fg-light-secondary); margin-bottom: 18px; font-size: 1rem; line-height: 1.75; }
body.rnhb-page--light-top .rnhb-blog-content ul, body.rnhb-page--light-top .rnhb-blog-content ol { color: var(--rnhb-fg-light-secondary); margin-bottom: 18px; padding-left: 24px; }
body.rnhb-page--light-top .rnhb-blog-content li { margin-bottom: 8px; line-height: 1.7; }
body.rnhb-page--light-top .rnhb-blog-content a { color: var(--rnhb-blue-aa-light); }
body.rnhb-page--light-top .rnhb-blog-content code { background: var(--rnhb-bg-cream); color: var(--rnhb-fg-light-primary); padding: 1px 5px; border-radius: 3px; font-family: var(--rnhb-mono); font-size: 0.9em; }
body.rnhb-page--light-top .rnhb-blog-content blockquote { border-left: 3px solid var(--rnhb-blue-aa-light); padding-left: 20px; margin: 24px 0; color: var(--rnhb-fg-light-secondary); font-style: italic; }

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.rnhb-integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rnhb-integration-card {
  background: var(--rnhb-bg-white);
  border: 1px solid var(--rnhb-border-light);
  border-radius: var(--rnhb-r-card);
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.rnhb-integration-card:hover {
  box-shadow: 0 4px 20px rgba(15,28,46,0.08);
  border-color: rgba(29,78,216,0.25);
}
.rnhb-integration-card__icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 14px;
}
.rnhb-integration-card h3 {
  color: var(--rnhb-fg-light-primary);
  font-size: 0.9375rem;
  margin-bottom: 6px;
}
.rnhb-integration-card p {
  color: var(--rnhb-fg-light-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.rnhb-integration-card__badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
}
.rnhb-integration-card__badge--live {
  background: rgba(16,185,129,0.1);
  color: #047857;
}
.rnhb-integration-card__badge--coming {
  background: var(--rnhb-signal-amber-bg);
  color: #92400e;
}

/* ============================================================
   CHANGELOG
   ============================================================ */
.rnhb-changelog-entry {
  border: 1px solid var(--rnhb-border-light);
  border-radius: var(--rnhb-r-card);
  padding: 28px;
  background: var(--rnhb-bg-white);
  margin-bottom: 20px;
}

.rnhb-changelog-entry__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.rnhb-changelog-entry__version {
  display: inline-flex;
  align-items: center;
  background: var(--rnhb-dark);
  color: var(--rnhb-blue-aa-dark);
  font-family: var(--rnhb-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
}
.rnhb-changelog-entry__date {
  color: var(--rnhb-fg-light-muted);
  font-size: 0.8125rem;
  font-family: var(--rnhb-mono);
}
.rnhb-changelog-entry__tags { display: flex; gap: 6px; margin-left: auto; }
.rnhb-changelog-entry__tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
}
.rnhb-changelog-entry__tag--feature { background: rgba(96,165,250,0.12); color: #1D4ED8; }
.rnhb-changelog-entry__tag--fix { background: rgba(16,185,129,0.1); color: #047857; }
.rnhb-changelog-entry__tag--improvement { background: rgba(245,158,11,0.1); color: #92400e; }

.rnhb-changelog-entry h3 {
  color: var(--rnhb-fg-light-primary);
  font-size: 1.0625rem;
  margin-bottom: 14px;
}
.rnhb-changelog-entry ul { list-style: none; }
.rnhb-changelog-entry ul li {
  color: var(--rnhb-fg-light-secondary);
  font-size: 0.9rem;
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}
.rnhb-changelog-entry ul li::before { content: '—'; position: absolute; left: 0; color: var(--rnhb-blue-aa-light); font-weight: 700; }

/* ============================================================
   STATUS
   ============================================================ */
.rnhb-status-overall {
  text-align: center;
  padding: 32px;
  background: var(--rnhb-bg-white);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--rnhb-r-card);
  margin-bottom: 32px;
}
.rnhb-status-overall__icon { font-size: 2rem; color: var(--rnhb-signal-green); margin-bottom: 10px; }
.rnhb-status-overall h2 { color: var(--rnhb-fg-light-primary); font-size: 1.25rem; margin-bottom: 4px; }
.rnhb-status-overall p { color: var(--rnhb-fg-light-secondary); font-size: 0.875rem; }

.rnhb-status-table { width: 100%; border-collapse: collapse; }
.rnhb-status-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rnhb-fg-light-muted);
  padding: 10px 16px;
  border-bottom: 2px solid var(--rnhb-border-light);
}
.rnhb-status-table td {
  padding: 16px;
  border-bottom: 1px solid var(--rnhb-border-light);
  color: var(--rnhb-fg-light-primary);
  font-size: 0.9rem;
}
.rnhb-status-table tr:last-child td { border-bottom: none; }
.rnhb-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.rnhb-status-badge--operational {
  background: rgba(16,185,129,0.1);
  color: #047857;
}
.rnhb-status-badge--dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rnhb-signal-green);
}
.rnhb-status-uptime {
  font-family: var(--rnhb-mono);
  font-size: 0.875rem;
  color: var(--rnhb-fg-light-secondary);
}

/* ============================================================
   AUTH PAGES
   ============================================================ */
.rnhb-auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.rnhb-auth-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 64px);
}

.rnhb-auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px clamp(24px, 5vw, 80px);
  background: var(--rnhb-bg-white);
}

.rnhb-auth-form-panel__inner {
  width: 100%;
  max-width: 400px;
}

.rnhb-auth-form-panel__logo {
  display: block;
  margin-bottom: 36px;
}
.rnhb-auth-form-panel__logo img { height: 24px; width: auto; }

.rnhb-auth-form-panel h1 {
  color: var(--rnhb-fg-light-primary);
  font-size: 1.625rem;
  margin-bottom: 8px;
}
.rnhb-auth-form-panel p.rnhb-auth-sub {
  color: var(--rnhb-fg-light-secondary);
  font-size: 0.9375rem;
  margin-bottom: 32px;
}

.rnhb-form-group { margin-bottom: 18px; }
.rnhb-form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rnhb-fg-light-primary);
  margin-bottom: 6px;
}
.rnhb-form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(15,28,46,0.18);
  border-radius: var(--rnhb-r-input);
  font-family: var(--rnhb-font);
  font-size: 0.9375rem;
  color: var(--rnhb-fg-light-primary);
  background: var(--rnhb-bg-white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.rnhb-form-group input:focus {
  outline: none;
  border-color: var(--rnhb-blue-aa-light);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.12);
}

.rnhb-form-footer {
  text-align: center;
  margin-top: 20px;
  color: var(--rnhb-fg-light-secondary);
  font-size: 0.875rem;
}
.rnhb-form-footer a { color: var(--rnhb-blue-aa-light); font-weight: 600; }

.rnhb-auth-side {
  background: var(--rnhb-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 60px clamp(32px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.rnhb-auth-side h2 {
  color: var(--rnhb-fg-dark-primary);
  font-size: 1.5rem;
  margin-bottom: 24px;
  line-height: 1.3;
}
.rnhb-auth-side__features { list-style: none; }
.rnhb-auth-side__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.rnhb-auth-side__features li i {
  color: var(--rnhb-signal-green);
  margin-top: 2px;
  flex-shrink: 0;
}
.rnhb-auth-side__features li span {
  color: var(--rnhb-fg-dark-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ============================================================
   CONTACT
   ============================================================ */
.rnhb-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.rnhb-contact-info h2 { color: var(--rnhb-fg-light-primary); margin-bottom: 16px; }
.rnhb-contact-info p { color: var(--rnhb-fg-light-secondary); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 28px; }

.rnhb-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.rnhb-contact-detail__icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(29,78,216,0.08);
  color: var(--rnhb-blue-aa-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.rnhb-contact-detail__text strong {
  display: block;
  color: var(--rnhb-fg-light-primary);
  font-size: 0.875rem;
  margin-bottom: 2px;
}
.rnhb-contact-detail__text a,
.rnhb-contact-detail__text span {
  color: var(--rnhb-fg-light-secondary);
  font-size: 0.9rem;
  text-decoration: none;
}
.rnhb-contact-detail__text a:hover { color: var(--rnhb-blue-aa-light); }

.rnhb-contact-form {
  background: var(--rnhb-bg-white);
  border: 1px solid var(--rnhb-border-light);
  border-radius: var(--rnhb-r-card);
  padding: 40px 36px;
}
.rnhb-contact-form h3 { color: var(--rnhb-fg-light-primary); margin-bottom: 24px; }
.rnhb-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(15,28,46,0.18);
  border-radius: var(--rnhb-r-input);
  font-family: var(--rnhb-font);
  font-size: 0.9375rem;
  color: var(--rnhb-fg-light-primary);
  background: var(--rnhb-bg-white);
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.rnhb-form-group textarea:focus {
  outline: none;
  border-color: var(--rnhb-blue-aa-light);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.12);
}
.rnhb-form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(15,28,46,0.18);
  border-radius: var(--rnhb-r-input);
  font-family: var(--rnhb-font);
  font-size: 0.9375rem;
  color: var(--rnhb-fg-light-primary);
  background: var(--rnhb-bg-white) 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='%23475569' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  background-size: 12px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.15s;
}
.rnhb-form-group select:focus {
  outline: none;
  border-color: var(--rnhb-blue-aa-light);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.12);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.rnhb-legal-page {
  padding: 100px 0 80px;
  background: var(--rnhb-bg-light);
}
.rnhb-legal-page__inner {
  max-width: var(--rnhb-container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

.rnhb-legal-toc {
  position: sticky;
  top: 88px;
}
.rnhb-legal-toc h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rnhb-fg-light-muted);
  margin-bottom: 12px;
}
.rnhb-legal-toc ul { list-style: none; }
.rnhb-legal-toc ul li { margin-bottom: 6px; }
.rnhb-legal-toc ul li a {
  color: var(--rnhb-fg-light-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s;
}
.rnhb-legal-toc ul li a:hover { color: var(--rnhb-blue-aa-light); }

body.rnhb-page--light-top .rnhb-legal-content article.legal-article { }
body.rnhb-page--light-top .rnhb-legal-content h1 { color: var(--rnhb-fg-light-primary); margin-bottom: 6px; font-size: 2rem; }
body.rnhb-page--light-top .rnhb-legal-content .legal-meta { color: var(--rnhb-fg-light-muted); font-size: 0.875rem; margin-bottom: 4px; }
body.rnhb-page--light-top .rnhb-legal-content section { margin-bottom: 32px; }
body.rnhb-page--light-top .rnhb-legal-content h2 { color: var(--rnhb-fg-light-primary); font-size: 1.25rem; margin-bottom: 12px; padding-top: 24px; border-top: 1px solid var(--rnhb-border-light); }
body.rnhb-page--light-top .rnhb-legal-content h3 { color: var(--rnhb-fg-light-primary); font-size: 1rem; margin-top: 18px; margin-bottom: 8px; }
body.rnhb-page--light-top .rnhb-legal-content p { color: var(--rnhb-fg-light-secondary); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 12px; }
body.rnhb-page--light-top .rnhb-legal-content ul, body.rnhb-page--light-top .rnhb-legal-content ol { color: var(--rnhb-fg-light-secondary); padding-left: 24px; margin-bottom: 12px; }
body.rnhb-page--light-top .rnhb-legal-content li { font-size: 0.9375rem; line-height: 1.7; margin-bottom: 6px; }
body.rnhb-page--light-top .rnhb-legal-content address { font-style: normal; color: var(--rnhb-fg-light-secondary); font-size: 0.9375rem; line-height: 1.8; }
body.rnhb-page--light-top .rnhb-legal-content a { color: var(--rnhb-blue-aa-light); }
body.rnhb-page--light-top .rnhb-legal-content table.legal-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; margin-bottom: 12px; }
body.rnhb-page--light-top .rnhb-legal-content table.legal-table th { background: var(--rnhb-bg-cream); color: var(--rnhb-fg-light-primary); font-size: 0.8rem; text-align: left; padding: 9px 12px; border: 1px solid var(--rnhb-border-light); }
body.rnhb-page--light-top .rnhb-legal-content table.legal-table td { padding: 8px 12px; border: 1px solid var(--rnhb-border-light); color: var(--rnhb-fg-light-secondary); }

/* ============================================================
   CUSTOMERS
   ============================================================ */
.rnhb-customer-profile {
  background: var(--rnhb-bg-white);
  border: 1px solid var(--rnhb-border-light);
  border-radius: var(--rnhb-r-card);
  padding: 32px;
}
.rnhb-customer-profile__header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.rnhb-customer-profile__avatar {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.rnhb-customer-profile__name { color: var(--rnhb-fg-light-primary); font-weight: 600; margin-bottom: 2px; }
.rnhb-customer-profile__type { color: var(--rnhb-fg-light-muted); font-size: 0.8125rem; }
.rnhb-customer-profile p { color: var(--rnhb-fg-light-secondary); font-size: 0.9375rem; line-height: 1.65; margin-bottom: 16px; }
.rnhb-customer-profile__metric {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--rnhb-fg-light-secondary);
}
.rnhb-customer-profile__metric i { color: var(--rnhb-signal-green); }

/* ============================================================
   ABOUT
   ============================================================ */
.rnhb-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.rnhb-team-card {
  text-align: center;
}
.rnhb-team-card__photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
}
.rnhb-team-card h3 { color: var(--rnhb-fg-light-primary); font-size: 1rem; margin-bottom: 4px; }
.rnhb-team-card__title { color: var(--rnhb-fg-light-muted); font-size: 0.875rem; margin-bottom: 12px; }
.rnhb-team-card p { color: var(--rnhb-fg-light-secondary); font-size: 0.875rem; line-height: 1.6; }

.rnhb-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rnhb-value-card {
  padding: 28px 24px;
  background: var(--rnhb-bg-white);
  border: 1px solid var(--rnhb-border-light);
  border-radius: var(--rnhb-r-card);
}
.rnhb-value-card__number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--rnhb-blue-aa-light);
  font-family: var(--rnhb-mono);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 8px;
}
.rnhb-value-card h3 { color: var(--rnhb-fg-light-primary); margin-bottom: 8px; font-size: 1rem; }
.rnhb-value-card p { color: var(--rnhb-fg-light-secondary); font-size: 0.9rem; line-height: 1.6; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--rnhb-dark);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 16px 0;
}
.cookie-banner__inner {
  max-width: var(--rnhb-container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  color: var(--rnhb-fg-dark-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  min-width: 200px;
}
.cookie-banner__text a { color: var(--rnhb-blue-aa-dark); }
.cookie-banner__actions { flex-shrink: 0; }
.cookie-banner__btn {
  background: var(--rnhb-blue-aa-light);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: var(--rnhb-r-btn);
  font-family: var(--rnhb-font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-banner__btn--primary:hover { background: #1e40af; }

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

/* ============================================================
   UTILITY
   ============================================================ */
.rnhb-text-center { text-align: center; }
.rnhb-section-header { text-align: center; margin-bottom: 56px; }
.rnhb-section-header h2 { margin-bottom: 12px; }
.rnhb-section-header p { max-width: 580px; margin: 0 auto; font-size: 1.0625rem; }

.rnhb-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--rnhb-fg-light-muted);
  margin-bottom: 16px;
}
.rnhb-breadcrumb a { color: var(--rnhb-fg-light-muted); text-decoration: none; }
.rnhb-breadcrumb a:hover { color: var(--rnhb-blue-aa-light); }
.rnhb-breadcrumb i { font-size: 0.6rem; }

.rnhb-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(29,78,216,0.08);
  color: var(--rnhb-blue-aa-light);
}

/* Fade in */
.rnhb-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.rnhb-fade-in.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .rnhb-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .rnhb-dashboard-mock__inner { grid-template-columns: 1fr; gap: 32px; }
  .rnhb-pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .rnhb-integration-grid { grid-template-columns: repeat(2, 1fr); }
  .rnhb-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .rnhb-subhero__inner { grid-template-columns: 1fr; }
  .rnhb-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .rnhb-legal-page__inner { grid-template-columns: 1fr; }
  .rnhb-legal-toc { position: static; display: none; }
  .rnhb-auth-layout { grid-template-columns: 1fr; }
  .rnhb-auth-side { display: none; }
  .rnhb-steps { grid-template-columns: 1fr; }
  .rnhb-step__arrow { display: none; }
}

@media (max-width: 768px) {
  :root { --rnhb-section-pad: 56px; }
  .rnhb-nav__links,
  .rnhb-nav__actions { display: none; }
  .rnhb-nav__hamburger { display: flex; }
  .rnhb-signal-grid { grid-template-columns: 1fr; }
  .rnhb-testimonials__grid { grid-template-columns: 1fr; }
  .rnhb-use-cases__grid { grid-template-columns: 1fr; }
  .rnhb-blog-grid { grid-template-columns: 1fr; }
  .rnhb-team-grid { grid-template-columns: 1fr; }
  .rnhb-values-grid { grid-template-columns: 1fr; }
  .rnhb-footer__top { grid-template-columns: 1fr 1fr; }
  .rnhb-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .rnhb-mock-table { font-size: 0.75rem; }
  .rnhb-feature-grid { grid-template-columns: 1fr; }
  .rnhb-integration-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .rnhb-footer__top { grid-template-columns: 1fr; }
  .rnhb-hero__actions { flex-direction: column; align-items: flex-start; }
  .rnhb-cta-banner__actions { flex-direction: column; align-items: center; }
  .rnhb-blog-grid { grid-template-columns: 1fr; }
  .rnhb-integration-grid { grid-template-columns: 1fr; }
}
