/* routevein.css — Routevein brand CSS
   Brand prefix: rv-
   Accent: #9B1C4A (deep claret/wine)
   Secondary: #1E3A5F (deep navy)
   Mood: enterprise_light_trust
   indent: 2-space
*/

/* ========================================================
   0. OVERFLOW GUARD (HARD RULE — must be at TOP)
   ======================================================== */
html, body {
  overflow-x: hidden;
}

/* ========================================================
   1. CSS VARIABLES / ROOT TOKENS
   ======================================================== */
:root {
  --rv-accent:        #9B1C4A;
  --rv-accent-dark:   #7a1538;
  --rv-secondary:     #1E3A5F;
  --rv-secondary-dark:#152b47;
  --rv-bg-white:      #ffffff;
  --rv-bg-light:      #F8FAFC;
  --rv-bg-alt:        #F1F5F9;
  --rv-bg-dark:       #1E3A5F;
  --rv-text-body:     #111827;
  --rv-text-muted:    #6B7280;
  --rv-text-light:    #9CA3AF;
  --rv-border:        #E5E7EB;
  --rv-radius:        8px;
  --rv-radius-lg:     12px;
  --rv-shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --rv-shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --rv-shadow-lg:     0 8px 32px rgba(0,0,0,0.12);
  --rv-container:     1200px;
  --font-sans:        'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display:     'Space Grotesk', 'Inter', system-ui, sans-serif;
}

/* ========================================================
   2. GLOBAL RESET & BASE
   ======================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--rv-text-body);
  background: var(--rv-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--rv-text-body);
}

a {
  color: var(--rv-accent);
  text-decoration: none;
}

a:hover {
  color: var(--rv-accent-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ========================================================
   3. UTILITY CLASSES
   ======================================================== */
.container {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Section headers */
.rv-section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rv-accent);
  margin-bottom: 12px;
}

.rv-section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--rv-text-body);
  margin-bottom: 16px;
}

.rv-section-desc {
  font-size: 18px;
  color: var(--rv-text-muted);
  max-width: 640px;
  line-height: 1.65;
}

.rv-section-header {
  margin-bottom: 48px;
}

.rv-section-header--center {
  text-align: center;
}

.rv-section-header--center .rv-section-desc {
  margin: 0 auto;
}

/* Buttons */
.rv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--rv-radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.rv-btn--primary {
  background: var(--rv-accent);
  color: #fff;
  border-color: var(--rv-accent);
}

.rv-btn--primary:hover {
  background: var(--rv-accent-dark);
  border-color: var(--rv-accent-dark);
  color: #fff;
}

.rv-btn--ghost {
  background: transparent;
  color: var(--rv-accent);
  border-color: var(--rv-accent);
}

.rv-btn--ghost:hover {
  background: var(--rv-accent);
  color: #fff;
}

.rv-btn--ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.rv-btn--ghost-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.rv-btn--lg {
  font-size: 17px;
  padding: 14px 32px;
}

/* ========================================================
   4. NAV — rv-nav (sticky, light theme)
   ======================================================== */
.rv-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--rv-border);
  box-shadow: var(--rv-shadow-sm);
}

.rv-nav--sticky {
  position: sticky;
  top: 0;
}

.rv-nav--solid {
  background: #fff;
  border-bottom: 1px solid var(--rv-border);
  box-shadow: var(--rv-shadow-sm);
}

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

.rv-nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.rv-nav__logo-img {
  display: block;
  height: 32px;
  width: auto;
}

.rv-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rv-nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--rv-text-body);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--rv-radius);
  transition: color 0.2s, background 0.2s;
}

.rv-nav__link:hover {
  color: var(--rv-accent);
  background: var(--rv-bg-light);
}

.rv-nav__cta {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--rv-radius);
  border: 2px solid var(--rv-accent);
  background: var(--rv-accent);
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
  margin-left: 8px;
}

.rv-nav__cta:hover {
  background: var(--rv-accent-dark);
  border-color: var(--rv-accent-dark);
  color: #fff;
}

.rv-nav__cta--secondary {
  background: transparent;
  color: var(--rv-accent);
  border-color: var(--rv-accent);
  margin-left: 4px;
}

.rv-nav__cta--secondary:hover {
  background: var(--rv-accent);
  color: #fff;
}

/* Nav toggle (mobile hamburger) */
.rv-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--rv-radius);
}

.rv-nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--rv-text-body);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav open state */
.rv-nav--open .rv-nav__links {
  display: flex;
}

/* Mobile navigation menu overlay */
.rv-nav__mobile-menu {
  display: none;
}

/* Responsive nav — hamburger */
@media (max-width: 900px) {
  .rv-nav__toggle {
    display: flex;
  }

  .rv-nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--rv-border);
    box-shadow: var(--rv-shadow-md);
    gap: 2px;
    z-index: 999;
  }

  .rv-nav__links.open {
    display: flex;
  }

  .rv-nav__link {
    padding: 12px 16px;
    border-radius: var(--rv-radius);
  }

  .rv-nav__cta,
  .rv-nav__cta--secondary {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }
}

/* ========================================================
   5. HERO — rv-hero (C-split variant)
   ======================================================== */
.rv-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--rv-bg-white);
  overflow: hidden;
}

.rv-hero--split-col {
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF4FF 100%);
}

.rv-hero__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 80px 24px 80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.rv-hero__content {
  width: 100%;
}

.rv-hero__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rv-accent);
  margin-bottom: 16px;
  background: rgba(155,28,74,0.08);
  padding: 4px 12px;
  border-radius: 100px;
}

.rv-hero__headline {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--rv-text-body);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.rv-hero__headline em {
  font-style: normal;
  color: var(--rv-accent);
}

.rv-hero__subhead {
  font-size: 19px;
  color: var(--rv-text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 500px;
}

.rv-hero__cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.rv-hero__visual {
  position: relative;
  border-radius: var(--rv-radius-lg);
  overflow: hidden;
  box-shadow: var(--rv-shadow-lg);
}

.rv-hero__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--rv-radius-lg);
}

.rv-hero__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border-radius: var(--rv-radius);
  padding: 12px 16px;
  box-shadow: var(--rv-shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rv-text-body);
}

.rv-hero__badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(155,28,74,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rv-accent);
  font-size: 14px;
}

@media (max-width: 900px) {
  .rv-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px 60px;
  }

  .rv-hero__headline {
    font-size: 38px;
  }

  .rv-hero {
    min-height: auto;
  }
}

/* ========================================================
   6. STATS — rv-stats (B-cards)
   ======================================================== */
.rv-stats {
  padding: 64px 0;
  background: var(--rv-bg-dark);
}

.rv-stats__wrap {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rv-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.rv-stats__card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--rv-radius-lg);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
}

.rv-stats__number {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.rv-stats__label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
}

.rv-stats__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .rv-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 500px) {
  .rv-stats__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   7. FEATURES — rv-features (C-alternating with icons)
   ======================================================== */
.rv-features {
  padding: 96px 0;
  background: var(--rv-bg-white);
}

.rv-features__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rv-features__rows {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 16px;
}

.rv-features__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.rv-features__row--reversed .rv-features__text-col {
  order: 2;
}

.rv-features__row--reversed .rv-features__img-col {
  order: 1;
}

.rv-features__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--rv-radius);
  background: rgba(155,28,74,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rv-accent);
  font-size: 22px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.rv-features__name {
  font-size: 26px;
  font-weight: 700;
  color: var(--rv-text-body);
  margin-bottom: 14px;
}

.rv-features__body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--rv-text-muted);
  margin-bottom: 12px;
}

.rv-features__img-col {
  position: relative;
}

.rv-features__img {
  width: 100%;
  height: auto;
  border-radius: var(--rv-radius-lg);
  box-shadow: var(--rv-shadow-lg);
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.rv-features__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .rv-features__row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rv-features__row--reversed .rv-features__text-col,
  .rv-features__row--reversed .rv-features__img-col {
    order: unset;
  }

  .rv-features {
    padding: 64px 0;
  }
}

/* ========================================================
   8. PROCESS — rv-process (A-numbered)
   ======================================================== */
.rv-process {
  padding: 96px 0;
  background: var(--rv-bg-light);
}

.rv-process__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rv-process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 16px;
}

.rv-process__step {
  display: flex;
  flex-direction: column;
}

.rv-process__number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--rv-accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
}

.rv-process__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--rv-text-body);
  margin-bottom: 12px;
}

.rv-process__desc {
  font-size: 15px;
  color: var(--rv-text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .rv-process__steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ========================================================
   9. PRICING — rv-pricing (3 tiers)
   ======================================================== */
.rv-pricing {
  padding: 96px 0;
  background: var(--rv-bg-white);
}

.rv-pricing__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rv-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.rv-pricing__card {
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
  transition: box-shadow 0.2s;
}

.rv-pricing__card:hover {
  box-shadow: var(--rv-shadow-lg);
}

.rv-pricing__card--featured {
  border-color: var(--rv-accent);
  box-shadow: 0 0 0 2px var(--rv-accent), var(--rv-shadow-md);
  background: #fff;
}

.rv-pricing__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--rv-accent);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.rv-pricing__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--rv-text-body);
  margin-bottom: 12px;
}

.rv-pricing__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.rv-pricing__amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--rv-text-body);
  letter-spacing: -0.03em;
}

.rv-pricing__period {
  font-size: 16px;
  color: var(--rv-text-muted);
}

.rv-pricing__annual {
  font-size: 13px;
  color: var(--rv-text-muted);
  margin-bottom: 16px;
}

.rv-pricing__desc {
  font-size: 14px;
  color: var(--rv-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 0;
}

.rv-pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rv-pricing__features li {
  font-size: 14px;
  color: var(--rv-text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.rv-pricing__features li::before {
  content: '';
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: rgba(155,28,74,0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239B1C4A'%3E%3Cpath d='M6.5 11L3 7.5l1.4-1.4L6.5 8.2l5.1-5.1L13 4.5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 2px;
  flex-shrink: 0;
}

.rv-pricing__cta {
  display: block;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--rv-radius);
  transition: all 0.2s;
  border: 2px solid var(--rv-accent);
  margin-top: auto;
  text-decoration: none;
}

.rv-pricing__cta--outline {
  background: transparent;
  color: var(--rv-accent);
}

.rv-pricing__cta--outline:hover {
  background: var(--rv-accent);
  color: #fff;
}

.rv-pricing__cta--primary {
  background: var(--rv-accent);
  color: #fff;
}

.rv-pricing__cta--primary:hover {
  background: var(--rv-accent-dark);
  border-color: var(--rv-accent-dark);
  color: #fff;
}

@media (max-width: 900px) {
  .rv-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ========================================================
   10. TESTIMONIALS — rv-testimonials (B-stats)
   ======================================================== */
.rv-testimonials {
  padding: 96px 0;
  background: var(--rv-bg-light);
}

.rv-testimonials__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rv-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.rv-testimonials__card {
  background: #fff;
  border-radius: var(--rv-radius-lg);
  padding: 36px 32px;
  box-shadow: var(--rv-shadow-sm);
  border: 1px solid var(--rv-border);
}

.rv-testimonials__stat {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--rv-accent);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.rv-testimonials__source {
  font-size: 15px;
  font-weight: 700;
  color: var(--rv-text-body);
  margin-bottom: 12px;
}

.rv-testimonials__text {
  font-size: 15px;
  color: var(--rv-text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .rv-testimonials__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ========================================================
   11. CTA BANNER — rv-cta (A-banner)
   ======================================================== */
.rv-cta {
  padding: 96px 0;
  background: var(--rv-bg-dark);
  text-align: center;
}

.rv-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.rv-cta__headline {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.rv-cta__subtext {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 40px;
  line-height: 1.65;
}

.rv-cta__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.rv-cta__btn {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--rv-radius);
  transition: all 0.2s;
  text-decoration: none;
}

.rv-cta__btn--primary {
  background: var(--rv-accent);
  color: #fff;
  border: 2px solid var(--rv-accent);
}

.rv-cta__btn--primary:hover {
  background: var(--rv-accent-dark);
  border-color: var(--rv-accent-dark);
  color: #fff;
}

.rv-cta__btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.rv-cta__btn--ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* ========================================================
   12. BLOG GRID (insights preview on index)
   ======================================================== */
.rv-blog-preview {
  padding: 96px 0;
  background: var(--rv-bg-white);
}

.rv-blog-preview__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rv-blog-preview__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
}

.rv-blog-preview__view-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--rv-accent);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rv-blog-preview__view-all:hover {
  color: var(--rv-accent-dark);
}

/* Blog-grid classes (used on insights page too) */
.rv-blog-grid {
  padding: 80px 0;
  background: var(--rv-bg-white);
}

.rv-blog-grid__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rv-blog-grid__list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.rv-blog-grid__list > li {
  list-style: none;
}

.rv-blog-min {
  border-bottom: 1px solid var(--rv-border);
}

.rv-blog-min__link {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px 32px;
  padding: 24px 0;
  text-decoration: none;
  transition: background 0.15s;
  align-items: start;
}

.rv-blog-min__link:hover .rv-blog-grid__title,
.rv-blog-min__link:hover .rv-blog-min__title {
  color: var(--rv-accent);
}

.rv-blog-min__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}

.rv-blog-min__meta time {
  font-size: 13px;
  color: var(--rv-text-muted);
}

.rv-blog-min__category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rv-accent);
}

.rv-blog-min__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--rv-text-body);
  margin-bottom: 6px;
  line-height: 1.35;
  transition: color 0.2s;
}

.rv-blog-min__excerpt {
  font-size: 14px;
  color: var(--rv-text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 600px) {
  .rv-blog-min__link {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ========================================================
   13. FOOTER — rv-footer (A-4col)
   ======================================================== */
.rv-footer {
  background: var(--rv-secondary);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 0;
}

.rv-footer__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rv-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.rv-footer__brand {}

.rv-footer__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 16px;
}

.rv-footer__logo-img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.rv-footer__tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 24px;
}

.rv-footer__social {
  display: flex;
  gap: 12px;
}

.rv-footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.rv-footer__social-link:hover {
  background: var(--rv-accent);
  color: #fff;
}

.rv-footer__col {}

.rv-footer__heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.rv-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rv-footer__link {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.rv-footer__link:hover {
  color: #fff;
}

.rv-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  line-height: 1.5;
}

.rv-footer__contact-item i {
  color: var(--rv-accent);
  width: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

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

.rv-footer__copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.rv-footer__legal {
  display: flex;
  gap: 20px;
}

.rv-footer__legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.rv-footer__legal a:hover {
  color: rgba(255,255,255,0.85);
}

@media (max-width: 900px) {
  .rv-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .rv-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rv-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================================
   14. COOKIE BANNER — rv-cookie (bottom-bar, hidden attr)
   ======================================================== */
.rv-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 3px solid var(--rv-accent);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  padding: 16px 24px;
}

.rv-cookie[hidden] {
  display: none !important;
}

.rv-cookie__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.rv-cookie__text {
  font-size: 14px;
  color: var(--rv-text-body);
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}

.rv-cookie__text a {
  color: var(--rv-accent);
  text-decoration: underline;
}

.rv-cookie__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.rv-cookie__btn {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--rv-radius);
  border: 2px solid var(--rv-accent);
  cursor: pointer;
  transition: all 0.2s;
}

.rv-cookie__btn--accept {
  background: var(--rv-accent);
  color: #fff;
}

.rv-cookie__btn--accept:hover {
  background: var(--rv-accent-dark);
  border-color: var(--rv-accent-dark);
}

.rv-cookie__btn--decline {
  background: transparent;
  color: var(--rv-accent);
}

.rv-cookie__btn--decline:hover {
  background: var(--rv-accent);
  color: #fff;
}

/* ========================================================
   15. PAGE-HERO (sub-page small hero)
   ======================================================== */
.rv-page-hero {
  padding: 96px 0 56px;
  background: var(--rv-bg-light);
  border-bottom: 1px solid var(--rv-border);
}

.rv-page-hero__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rv-page-hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rv-accent);
  margin-bottom: 14px;
}

.rv-page-hero__title {
  font-size: 44px;
  font-weight: 700;
  color: var(--rv-text-body);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.rv-page-hero__lede {
  font-size: 18px;
  color: var(--rv-text-muted);
  max-width: 600px;
  line-height: 1.65;
}

/* ========================================================
   16. ABOUT PAGE — rv-about sections
   ======================================================== */
.rv-about__origin {
  padding: 96px 0;
  background: var(--rv-bg-white);
}

.rv-about__origin-inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.rv-about__origin-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
}

.rv-about__origin-text p {
  font-size: 16px;
  color: var(--rv-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.rv-about__origin-aside {
  background: var(--rv-bg-light);
  border-radius: var(--rv-radius-lg);
  padding: 36px;
  border-left: 4px solid var(--rv-accent);
}

.rv-about__origin-aside h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--rv-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.rv-about__origin-aside p {
  font-size: 15px;
  color: var(--rv-text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .rv-about__origin-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rv-about__origin {
    padding: 64px 0;
  }
}

/* Mission section */
.rv-about__mission {
  padding: 80px 0;
  background: var(--rv-bg-dark);
}

.rv-about__mission-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.rv-about__mission h2 {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.rv-about__mission-statement {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin-bottom: 32px;
}

.rv-about__mission-context {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* Stage section */
.rv-about__stage-focus {
  padding: 80px 0;
  background: var(--rv-bg-white);
}

.rv-about__stage-inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rv-about__stage-focus .rv-stage-card {
  background: var(--rv-bg-light);
  border-radius: var(--rv-radius-lg);
  padding: 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  border: 1px solid var(--rv-border);
}

.rv-stage-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--rv-radius);
  background: rgba(155,28,74,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rv-accent);
  font-size: 24px;
  flex-shrink: 0;
}

.rv-stage-card__body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.rv-stage-card__body p {
  font-size: 16px;
  color: var(--rv-text-muted);
  line-height: 1.7;
}

/* Values section */
.rv-about__values {
  padding: 80px 0;
  background: var(--rv-bg-light);
}

.rv-about__values-inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rv-about__values-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
  list-style: none;
  padding: 0;
}

.rv-about__value-item {
  background: #fff;
  border-radius: var(--rv-radius-lg);
  padding: 32px;
  border: 1px solid var(--rv-border);
  border-top: 4px solid var(--rv-accent);
}

.rv-about__value-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--rv-text-body);
}

.rv-about__value-item p {
  font-size: 14px;
  color: var(--rv-text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .rv-about__values-list {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   17. PRODUCT PAGE — additional sections
   ======================================================== */
.rv-product-section {
  padding: 80px 0;
}

.rv-product-section--alt {
  background: var(--rv-bg-light);
}

.rv-product-section__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Problem section */
.rv-problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.rv-problem__pain-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rv-problem__pain-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border-radius: var(--rv-radius);
  border: 1px solid var(--rv-border);
}

.rv-problem__pain-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(155,28,74,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rv-accent);
  font-size: 16px;
  flex-shrink: 0;
}

.rv-problem__pain-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--rv-text-body);
}

.rv-problem__pain-item p {
  font-size: 14px;
  color: var(--rv-text-muted);
  line-height: 1.55;
  margin: 0;
}

.rv-problem__context h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.rv-problem__context p {
  font-size: 16px;
  color: var(--rv-text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.rv-problem__stats-band {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.rv-problem__stat {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 20px;
  background: var(--rv-bg-light);
  border-radius: var(--rv-radius);
}

.rv-problem__stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--rv-accent);
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.rv-problem__stat-label {
  font-size: 13px;
  color: var(--rv-text-muted);
}

@media (max-width: 768px) {
  .rv-problem__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* How it works */
.rv-how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}

.rv-how-it-works__step {
  background: #fff;
  border-radius: var(--rv-radius-lg);
  padding: 32px;
  border: 1px solid var(--rv-border);
  position: relative;
}

.rv-how-it-works__step-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--rv-accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 12px;
}

.rv-how-it-works__step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.rv-how-it-works__step p {
  font-size: 14px;
  color: var(--rv-text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .rv-how-it-works__steps {
    grid-template-columns: 1fr;
  }
}

/* Target customer section */
.rv-target-customer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.rv-target-customer__ideal h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.rv-target-customer__ideal p {
  font-size: 16px;
  color: var(--rv-text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.rv-target-customer__not h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--rv-text-muted);
}

.rv-target-customer__not p {
  font-size: 15px;
  color: var(--rv-text-muted);
  line-height: 1.65;
}

.rv-target-customer__not {
  background: var(--rv-bg-light);
  border-radius: var(--rv-radius-lg);
  padding: 28px;
  border: 1px solid var(--rv-border);
}

@media (max-width: 768px) {
  .rv-target-customer__grid {
    grid-template-columns: 1fr;
  }
}

/* Integrations section */
.rv-integrations {
  padding: 64px 0;
  background: var(--rv-bg-white);
}

.rv-integrations__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rv-integrations__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.rv-integrations__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--rv-bg-light);
  border: 1px solid var(--rv-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--rv-text-body);
}

.rv-integrations__chip i {
  color: var(--rv-accent);
  font-size: 14px;
}

/* ========================================================
   18. TEAM PAGE — rv-team (A-grid)
   ======================================================== */
.rv-team {
  padding: 80px 0;
  background: var(--rv-bg-white);
}

.rv-team__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rv-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 16px;
}

.rv-team__card {
  display: flex;
  flex-direction: column;
}

.rv-team__avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--rv-radius-lg);
  object-fit: cover;
  object-position: center;
  margin-bottom: 20px;
  background: var(--rv-bg-alt);
}

.rv-team__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--rv-text-body);
  margin-bottom: 4px;
}

.rv-team__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--rv-accent);
  margin-bottom: 12px;
}

.rv-team__bio {
  font-size: 14px;
  color: var(--rv-text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .rv-team__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ========================================================
   19. BLOG ARTICLE READING WIDTH (HARD RULE)
   ======================================================== */
.rv-post__body {
  max-width: 740px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: var(--rv-text-body);
}

.rv-post__body h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 40px 0 16px;
}

.rv-post__body h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 14px;
}

.rv-post__body p {
  margin-bottom: 20px;
}

.rv-post__body ul,
.rv-post__body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.rv-post__body ul li,
.rv-post__body ol li {
  margin-bottom: 8px;
}

.rv-post__body ul {
  list-style: disc;
}

.rv-post__body ol {
  list-style: decimal;
}

/* ========================================================
   20. CONTACT PAGE (used by pages-aux but CSS here)
   ======================================================== */
.rv-contact {
  padding: 80px 0;
  background: var(--rv-bg-white);
}

.rv-contact__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.rv-contact__form-col {}

.rv-contact__form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rv-contact__info-col {}

.rv-contact__info-col h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.rv-contact__info-col p {
  font-size: 15px;
  color: var(--rv-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.rv-contact__detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.rv-contact__detail i {
  color: var(--rv-accent);
  width: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.rv-contact__detail-body {
  font-size: 15px;
  color: var(--rv-text-body);
}

.rv-contact__field {
  margin-bottom: 20px;
}

.rv-contact__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--rv-text-body);
  margin-bottom: 6px;
}

.rv-contact__input,
.rv-contact__select,
.rv-contact__textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--rv-text-body);
  background: #fff;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  font-family: var(--font-sans);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.rv-contact__input:focus,
.rv-contact__select:focus,
.rv-contact__textarea:focus {
  outline: none;
  border-color: var(--rv-accent);
  box-shadow: 0 0 0 3px rgba(155,28,74,0.1);
}

.rv-contact__textarea {
  min-height: 140px;
  resize: vertical;
}

.rv-contact__submit {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--rv-radius);
  background: var(--rv-accent);
  color: #fff;
  border: 2px solid var(--rv-accent);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.rv-contact__submit:hover {
  background: var(--rv-accent-dark);
  border-color: var(--rv-accent-dark);
}

.rv-contact__success {
  display: none;
  padding: 16px 20px;
  background: #f0fdf4;
  border: 1px solid rgba(21,128,61,0.2);
  border-radius: var(--rv-radius);
  color: #15803d;
  font-size: 15px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .rv-contact__inner {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   21. 404 PAGE
   ======================================================== */
.rv-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.rv-404__inner {
  max-width: 560px;
}

.rv-404__code {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 700;
  color: var(--rv-accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 24px;
}

.rv-404__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.rv-404__body {
  font-size: 17px;
  color: var(--rv-text-muted);
  margin-bottom: 32px;
  line-height: 1.65;
}

/* ========================================================
   22. LOGIN — auth (used by pages-aux scope)
   ======================================================== */
.rv-login {
  min-height: 100vh;
  display: flex;
}

.rv-login__form-side {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 40px 48px;
  background: #fff;
}

.rv-login__info-side {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  background: var(--rv-secondary);
  color: #fff;
}

.rv-login__logo {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  text-decoration: none;
}

.rv-login__logo-img {
  height: 32px;
  width: auto;
}

.rv-login__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--rv-text-body);
  margin-bottom: 24px;
  text-align: center;
}

.rv-login__form {
  width: 100%;
  max-width: 400px;
}

.rv-login__field {
  margin-bottom: 16px;
}

.rv-login__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--rv-text-body);
  margin-bottom: 6px;
}

.rv-login__input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--rv-text-body);
  background: #fff;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.rv-login__input:focus {
  outline: none;
  border-color: var(--rv-accent);
  box-shadow: 0 0 0 3px rgba(155,28,74,0.1);
}

.rv-login__submit {
  width: 100%;
  padding: 14px;
  background: var(--rv-accent);
  color: #fff;
  border: none;
  border-radius: var(--rv-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s;
  margin-top: 8px;
}

.rv-login__submit:hover {
  background: var(--rv-accent-dark);
}

.rv-login__links {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--rv-text-muted);
}

.rv-login__links a {
  color: var(--rv-accent);
  font-weight: 500;
}

.rv-login__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rv-login__feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.rv-login__feature-item i {
  color: var(--rv-accent);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.rv-login__feature-item strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}

.rv-login__feature-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .rv-login {
    flex-direction: column;
  }

  .rv-login__form-side,
  .rv-login__info-side {
    flex: none;
    max-width: 100%;
  }

  .rv-login__info-side {
    display: none;
  }
}

/* ========================================================
   23. PRICING PAGE (standalone)
   ======================================================== */
.rv-pricing-page {
  padding: 80px 0 96px;
  background: var(--rv-bg-white);
}

.rv-pricing-page__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================================
   24. SHARED SECTION/CONTENT HELPERS
   ======================================================== */
.rv-section-divider {
  border: none;
  border-top: 1px solid var(--rv-border);
  margin: 0;
}

/* Blog card (for preview listing) */
.rv-blog-card {
  background: #fff;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.rv-blog-card__category {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rv-accent);
}

.rv-blog-card__date {
  font-size: 12px;
  color: var(--rv-text-muted);
}

.rv-blog-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--rv-text-body);
  margin-bottom: 10px;
  line-height: 1.35;
  flex: 1;
}

.rv-blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.rv-blog-card__title a:hover {
  color: var(--rv-accent);
}

.rv-blog-card__excerpt {
  font-size: 14px;
  color: var(--rv-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.rv-blog-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--rv-accent);
  text-decoration: none;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rv-blog-card__link:hover {
  color: var(--rv-accent-dark);
}

/* Preview grid */
.rv-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .rv-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   25. AUTH PAGES (login/ subfolder — Pattern A, B-split-features)
   ======================================================== */
.rv-login {
  min-height: 100vh;
  display: flex;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(155,28,74,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(30,58,95,0.12) 0%, transparent 50%),
    #0e1a2b;
}

.rv-login__form-side {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 96px 40px 48px;
  background: #fff;
}

.rv-login__inner-wrap {
  width: 100%;
  max-width: 400px;
}

.rv-login__info-side {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  color: #fff;
}

.rv-login__info-side h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.rv-login__info-side p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.6;
}

.rv-login__logo {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  text-decoration: none;
}

.rv-login__logo-img {
  height: 32px;
  width: auto;
}

.rv-login__title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.rv-login__subtitle {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 28px;
  line-height: 1.5;
}

.rv-login__form {
  width: 100%;
}

.rv-login__field {
  margin-bottom: 16px;
}

.rv-login__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 6px;
}

.rv-login__input,
.rv-login__select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: #1e293b;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}

.rv-login__input:focus,
.rv-login__select:focus {
  outline: none;
  border-color: #9B1C4A;
  box-shadow: 0 0 0 3px rgba(155,28,74,0.1);
}

.rv-login__input::placeholder {
  color: #94a3b8;
}

.rv-login__check-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 14px;
}

.rv-login__check-line label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  cursor: pointer;
}

.rv-login__check-line a {
  color: #9B1C4A;
  font-weight: 500;
  text-decoration: none;
}

.rv-login__check-line a:hover {
  text-decoration: underline;
}

.rv-login__submit {
  width: 100%;
  padding: 14px;
  background: #9B1C4A;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
  margin-top: 4px;
}

.rv-login__submit:hover {
  background: #7a1538;
}

.rv-login__links {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #475569;
}

.rv-login__links a {
  color: #9B1C4A;
  font-weight: 500;
  text-decoration: none;
}

.rv-login__links a:hover {
  text-decoration: underline;
}

.rv-login__message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.rv-login__message.success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid rgba(21,128,61,0.2);
}

.rv-login__message.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid rgba(185,28,28,0.2);
}

.auth-features,
.rv-login__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rv-login__feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.rv-login__feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(155,28,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4789a;
  font-size: 16px;
  flex-shrink: 0;
}

.rv-login__feature-item strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}

.rv-login__feature-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  line-height: 1.5;
}

.rv-login__mini-footer {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  padding: 0 24px;
}

.rv-login__mini-footer a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin: 0 6px;
}

.rv-login__mini-footer a:hover {
  color: rgba(255,255,255,0.8);
}

.rv-login__form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rv-login__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  color: #9B1C4A;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.rv-login__back:hover {
  text-decoration: underline;
}

.rv-login__verify-box {
  text-align: center;
  padding: 32px 0 24px;
}

.rv-login__verify-icon {
  font-size: 48px;
  color: #9B1C4A;
  margin-bottom: 16px;
}

.rv-login__verify-box h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.rv-login__verify-box p {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.65;
  margin-bottom: 24px;
}

.rv-dash {
  min-height: 100vh;
  display: flex;
  background: #F8FAFC;
}

.rv-dash__sidebar {
  width: 240px;
  min-height: 100vh;
  background: #1E3A5F;
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  flex-shrink: 0;
}

.rv-dash__sidebar-logo {
  padding: 0 20px 32px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.rv-dash__sidebar-logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.rv-dash__sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.rv-dash__sidebar-item {
  display: block;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s, color 0.15s;
}

.rv-dash__sidebar-item:hover,
.rv-dash__sidebar-item.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.rv-dash__sidebar-item i {
  width: 16px;
  text-align: center;
}

.rv-dash__sidebar-logout {
  padding: 20px 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 16px;
}

.rv-dash__main {
  flex: 1;
  padding: 0 48px 48px;
  overflow: auto;
}

.rv-dash__header {
  margin-bottom: 36px;
  padding-top: 96px;
}

.rv-dash__header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.rv-dash__header p {
  font-size: 15px;
  color: #6B7280;
}

.rv-dash__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.rv-dash__stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #E5E7EB;
}

.rv-dash__stat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6B7280;
  margin-bottom: 8px;
}

.rv-dash__stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}

.rv-dash__stat-note {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 4px;
}

.rv-dash__section-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.rv-dash__preview-note {
  background: rgba(155,28,74,0.06);
  border: 1px solid rgba(155,28,74,0.15);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.5;
}

.rv-dash__preview-note strong {
  color: #9B1C4A;
}

@media (max-width: 900px) {
  .rv-dash__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rv-login {
    flex-direction: column;
  }

  .rv-login__form-side,
  .rv-login__info-side {
    flex: none;
    max-width: 100%;
  }

  .rv-login__info-side {
    display: none;
  }

  .rv-login__form-side {
    padding: 32px 24px;
  }

  .rv-login__form-pair {
    grid-template-columns: 1fr;
  }

  .rv-dash {
    flex-direction: column;
  }

  .rv-dash__sidebar {
    width: 100%;
    min-height: auto;
    padding: 16px 0;
  }

  .rv-dash__main {
    padding: 0 20px 24px;
  }

  .rv-dash__stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================================
   26. BLOG DETAIL — rv-post (A-standard)
   ======================================================== */
.rv-post {
  background: var(--rv-bg-white);
}

.rv-post__header {
  padding: 96px 0 48px;
  background: var(--rv-bg-light);
  border-bottom: 1px solid var(--rv-border);
}

.rv-post__header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.rv-post__category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rv-accent);
  margin-bottom: 16px;
}

.rv-post__title {
  font-size: 40px;
  font-weight: 700;
  color: var(--rv-text-body);
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.rv-post__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--rv-text-muted);
  flex-wrap: wrap;
}

.rv-post__meta time {
  font-size: 14px;
  color: var(--rv-text-muted);
}

.rv-post__author {
  font-weight: 600;
  color: var(--rv-text-body);
}

.rv-post__cover {
  max-width: 860px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.rv-post__cover-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--rv-radius-lg);
  aspect-ratio: 16/9;
  object-fit: cover;
}

.rv-post__cover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rv-post__content {
  padding: 48px 0 80px;
}

.rv-post__body {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--rv-text-body);
}

.rv-post__body h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 40px 0 16px;
}

.rv-post__body h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 14px;
}

.rv-post__body p {
  margin-bottom: 20px;
}

.rv-post__body ul,
.rv-post__body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.rv-post__body ul li,
.rv-post__body ol li {
  margin-bottom: 8px;
}

.rv-post__body ul {
  list-style: disc;
}

.rv-post__body ol {
  list-style: decimal;
}

.post-content {
  display: block;
  max-width: 740px;
  margin: 0 auto;
}

.rv-related {
  padding: 64px 0 80px;
  background: var(--rv-bg-light);
  border-top: 1px solid var(--rv-border);
}

.rv-related__inner {
  max-width: var(--rv-container);
  margin: 0 auto;
  padding: 0 24px;
}

.rv-related__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--rv-text-body);
  margin-bottom: 28px;
}

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

.rv-related__card {
  background: #fff;
  border-radius: var(--rv-radius-lg);
  border: 1px solid var(--rv-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rv-related__thumb {
  height: 200px;
  overflow: hidden;
}

.rv-related__thumb img {
  width: 100%;
  height: 200px;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.rv-related__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rv-related__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rv-accent);
  margin-bottom: 8px;
}

.rv-related__card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--rv-text-body);
  line-height: 1.35;
  margin-bottom: 12px;
  flex: 1;
}

.rv-related__card-title a {
  color: inherit;
  text-decoration: none;
}

.rv-related__card-title a:hover {
  color: var(--rv-accent);
}

.rv-related__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--rv-accent);
  text-decoration: none;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rv-related__link:hover {
  color: var(--rv-accent-dark);
}

@media (max-width: 768px) {
  .rv-related__grid {
    grid-template-columns: 1fr;
  }

  .rv-post__title {
    font-size: 30px;
  }
}

/* ========================================================
   27. LEGAL PAGES
   ======================================================== */
.rv-legal {
  padding: 80px 0 96px;
  background: var(--rv-bg-white);
}

.rv-legal__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.rv-legal__inner h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--rv-text-body);
  margin: 36px 0 12px;
}

.rv-legal__inner h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--rv-text-body);
  margin: 24px 0 10px;
}

.rv-legal__inner p {
  font-size: 15px;
  color: var(--rv-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.rv-legal__inner ul,
.rv-legal__inner ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.rv-legal__inner ul li,
.rv-legal__inner ol li {
  font-size: 15px;
  color: var(--rv-text-muted);
  line-height: 1.65;
  margin-bottom: 6px;
}

.rv-legal__inner ul {
  list-style: disc;
}

.rv-legal__inner ol {
  list-style: decimal;
}

.rv-legal__inner a {
  color: var(--rv-accent);
}

.rv-legal__inner strong {
  color: var(--rv-text-body);
}

