:root {
  --rl-red: #f6143f;
  --rl-red-dark: #c8002f;
  --rl-ink: #17161f;
  --rl-muted: #5c5b68;
  --rl-soft: #f6f5f8;
}

.rl-page p { font-size: 1rem; color: var(--rl-muted); }
.rl-page h1, .rl-page h2 { font-weight: 800; letter-spacing: -.02em; color: var(--rl-ink); }
.rl-page h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.25; }
.rl-page h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.35; color: var(--rl-ink); }
.rl-soft { background: var(--rl-soft); }
.rl-page .rl-title { margin-bottom: 2.5rem; text-align: center; }

/* Buttons */
.rl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.5rem; border: 2px solid var(--rl-red); border-radius: 8px;
  background: var(--rl-red); color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.3; text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease;
}
.rl-btn:hover, .rl-btn:focus-visible { border-color: var(--rl-red-dark); background: var(--rl-red-dark); color: #fff; }
.rl-btn-ghost { background: transparent; color: var(--rl-red); }
.rl-btn-ghost:hover, .rl-btn-ghost:focus-visible { border-color: var(--rl-red); background: var(--rl-red); color: #fff; }
.rl-cta .rl-btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.rl-cta .rl-btn-ghost:hover, .rl-cta .rl-btn-ghost:focus-visible { border-color: var(--rl-red); background: var(--rl-red); }
.rl-btn i { font-size: .8em; transition: transform .2s ease; }
.rl-btn:hover i { transform: translateX(3px); }

/* Hero */
.rl-hero { position: relative; display: flex; align-items: center; min-height: 440px; overflow: hidden; background: #1d2a5e url('/images/reversinglabs/_customer-story-exxon-hero2.webp') right center / cover no-repeat; }
@media (max-width: 767.98px) { .rl-hero::before { content: ''; position: absolute; inset: 0; background: rgba(20,28,70,.78); } }
.rl-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--rl-red), transparent); }
.rl-hero .container { position: relative; z-index: 1; }
.rl-page .rl-hero h1 { margin: 0 0 1rem; color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.12; }
.rl-page .rl-hero p { margin: 0 0 1.75rem; color: #e4e2ec; font-size: 1.15rem; line-height: 1.6; }

/* Overview */
.rl-shot { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 20px 50px rgba(23,22,31,.2); }

/* Products */
.rl-prod { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 8px 30px rgba(23,22,31,.1); transition: transform .3s ease, box-shadow .3s ease; }
.rl-prod:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(246,20,63,.16); }
.rl-prod-media { display: flex; align-items: center; justify-content: center; height: 130px; padding: .85rem; background: linear-gradient(135deg, #f6f5f8, #ebe9f1); }
.rl-prod-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.rl-prod-icon { width: 55%; }
.rl-prod-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.1rem 1.25rem 1.3rem; }
.rl-page .rl-eyebrow { margin: 0 0 .5rem; color: var(--rl-red); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rl-page .rl-prod h3 { margin-bottom: .4rem; font-size: 1rem; }
.rl-page .rl-prod p { flex: 1; margin-bottom: 1rem; font-size: .875rem; line-height: 1.55; }

/* Solutions tabs */
.rl-tabs {
  flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -ms-overflow-style: none; gap: .25rem; padding: 0 28px; border-bottom: 1px solid #e3e1ea;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.rl-tabs::-webkit-scrollbar { display: none; }
.rl-tabs .nav-item:first-child { margin-left: auto; }
.rl-tabs .nav-item:last-child { margin-right: auto; }
.rl-tabs .nav-link { position: relative; white-space: nowrap; padding: 1rem 1.2rem; border-radius: 0; background: none; color: #6a6877; font-weight: 700; font-size: .92rem; transition: color .2s ease; }
.rl-tabs .nav-link::after { content: ''; position: absolute; left: 1.2rem; right: 1.2rem; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--rl-red); transform: scaleX(0); transition: transform .25s ease; }
.rl-tabs .nav-link:hover { color: var(--rl-ink); background: none; }
.rl-tabs .nav-link:hover::after { transform: scaleX(.4); }
.rl-tabs .nav-link.active { color: var(--rl-ink); background: none; }
.rl-tabs .nav-link.active::after { transform: scaleX(1); }

/* Solution cards */
.rl-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 6px 24px rgba(23,22,31,.09); transition: transform .3s ease, box-shadow .3s ease; }
.rl-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(246,20,63,.15); }
.rl-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.rl-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.1rem 1.25rem 1.3rem; }
.rl-page .rl-card h3 { margin-bottom: .4rem; font-size: .95rem; }
.rl-page .rl-card p { flex: 1; margin-bottom: 1rem; font-size: .875rem; line-height: 1.55; }

/* CTA */
.rl-cta { background: radial-gradient(700px 300px at 50% 0, rgba(246,20,63,.35), transparent 70%), #17161f; }
.rl-page .rl-cta h2 { color: #fff; }
.rl-page .rl-cta p { max-width: 640px; margin: .75rem auto 1.75rem; color: #d9d7e3; }
.rl-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.rl-btn-light { border-color: rgba(255,255,255,.6); background: transparent; }
.rl-btn-light:hover { border-color: #fff; background: rgba(255,255,255,.14); }

@media (prefers-reduced-motion: reduce) {
  .rl-btn, .rl-btn i, .rl-prod, .rl-card, .rl-tabs .nav-link::after { transition: none; }
}

/* Hero logo */
.rl-hero-logo {
  display: block;
  width: auto;
  height: 40px;
  margin: 0 0 1.5rem;
}

