/* ========================================
   Revmatics — Global Styles
   ======================================== */

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

/* --- Design Tokens --- */
:root {
  /* Fonts */
  --font-heading: 'Lexend', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Colors */
  --color-primary: #1D56F7;
  --color-primary-hover: #1446d6;
  --color-dark: #010025;
  --color-dark-alt: #14142b;
  --color-text: #010025;
  --color-text-muted: #4D4C66;
  --color-text-secondary: #5a5f77;
  --color-text-light: #cccccc;
  --color-white: #ffffff;
  --color-bg-light: #F4F7FF;
  --color-bg-soft: #f5f7fa;
  --color-bg-tint: #eef1ff;
  --color-bg-off: #f5f6fa;
  --color-line: #e4e7f2;
  --color-ink: #010025;
  --color-line-inv: rgba(255,255,255,0.12);
  --color-text-inv: #eef0fb;
  --color-text-muted-inv: rgba(255,255,255,0.62);

  /* Layout */
  --container-lg: 1200px;
  --container-md: 900px;
  --container-sm: 850px;

  /* Spacing */
  --section-lg: 100px;
  --section-md: 80px;
  --section-sm: 60px;
  --section-xs: 40px;
}

/* --- Typography --- */
h1 {
  font-family: var(--font-heading) !important;
}

h2,
a {
  font-family: var(--font-heading) !important;
}

p,
li,
span {
  font-family: var(--font-body) !important;
}

/* --- Shared Button --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--color-primary);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn:hover,
.btn:focus {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
}

.btn--outline:hover {
  background: rgba(29, 86, 247, 0.12);
  color: var(--color-primary);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

.btn--white:hover {
  background: #e8eeff;
  color: var(--color-dark);
  border-color: #e8eeff;
}

.btn--pill {
  border-radius: 100px;
}

.btn--sm {
  padding: 10px 16px;
  font-size: 15px;
}

/* --- Shared Section Label / Eyebrow --- */
.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text);
  margin-bottom: 0;
  font-family: var(--font-heading) !important;
}

.section-label--light {
  color: var(--color-white);
}

/* --- Shared Card --- */
.card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(1, 0, 37, 0.08);
  text-align: left;
}

.card--dark {
  background: #111827;
  color: var(--color-white);
  box-shadow: none;
}

.card--bordered {
  border: 1px solid var(--color-line);
}

.card--glow {
  border: 1px solid var(--color-primary);
  box-shadow: 0 0 22px rgba(29, 86, 247, 0.45);
  background: #06063a;
}

/* Backward-compat aliases — map old classes to shared system */
.h-hero-cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--color-primary);
  color: var(--color-white) !important;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.h-hero-cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  color: var(--color-white);
}

.h-problem-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text);
  margin-bottom: 0;
  font-family: var(--font-heading) !important;
}

.h-problem-label--light {
  color: var(--color-white);
}

/* Utility: icon colors inside feature labels */
.h-feature-box-label i {
  margin-right: 10px;
}

.h-icon--purple {
  color: #BD40FF;
}

.h-icon--orange {
  color: #FF9233;
}

.h-icon--green {
  color: #33BC69;
}

.h-icon--blue {
  color: var(--color-primary);
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.h-hero-wrapper {
  margin-top: -30px;
  background: #14142b url('https://cdn.revmatics.ai/66133a099ca030d78e0706daebbd9e02.png') center / cover no-repeat;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'SF Pro Display', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

.h-hero-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(74, 127, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.h-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.h-hero-content {
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: center;
}

.h-hero-title {
  font-size: 64px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 15px;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.h-hero-subtitle {
  font-size: 18px;
  color: white;
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.5;
  font-weight: 400;
}

/* Hero video embed */
.h-video-container {
  max-width: 1200px;
  margin: 0 auto 60px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a1f;
  border: 8px solid white;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.h-video-wrapper {
  position: relative;
  aspect-ratio: 16 / 8.5;
  background: linear-gradient(135deg, #0f0f25 0%, #1a1a35 100%);
}

.h-video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Partner logos bar */
.h-partners-section {
  padding: 15px 0 60px;
}

.h-partners-label {
  text-align: center;
  font-family: var(--font-heading) !important;
  color: white;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 25px;
  font-weight: 600;
  opacity: 0.8;
}

.h-partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 800px;
  margin: 0 auto;
}

.h-partner-logo {
  height: 37px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.h-partner-logo:hover {
  opacity: 0.8;
}

/* ----------------------------------------
   Problem Section
   ---------------------------------------- */
.h-problem-section {
  background: var(--color-bg-light);
  padding: 80px 0;
  position: relative;
  text-align: left;
}

.h-problem-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.h-problem-content {
  padding-top: 20px;
}

.h-problem-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: -0.02em;
  margin-top: 0;
}

.h-problem-description {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.h-problem-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.h-problem-item {
  display: flex;
  align-items: flex-start;
  padding-bottom: 12px;
  margin-bottom: 12px;
  gap: 16px;
  border-bottom: 1px solid #8EABFB;
}

.h-problem-number {
  width: 32px;
  height: 32px;
  background: var(--color-text);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.h-problem-text {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.5;
  padding-top: 3px;
}

.h-testimonials-image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.h-testimonials-placeholder {
  width: 100%;
  height: auto;
}

/* ----------------------------------------
   Solution Section
   ---------------------------------------- */
.h-solution-section {
  background: var(--color-dark);
  padding: 100px 0;
  position: relative;
}

.h-solution-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.h-solution-header {
  text-align: center;
  margin-bottom: 60px;
}

.h-solution-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: white;
  margin-bottom: 0;
  font-family: var(--font-heading) !important;
}

.h-solution-title {
  font-size: 40px;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 20px;
  margin-top: 0;
}

.h-solution-subtitle {
  font-size: 18px;
  color: white;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Card grids */
.h-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.h-cards-row-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0 auto;
  margin-bottom: 24px;
}

/* Solution cards */
.h-solution-card {
  background: var(--color-bg-light);
  border-radius: 4px;
  padding: 20px;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  height: fit-content;
}

.h-solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.h-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.h-card-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.3;
  flex: 1;
  padding-right: 12px;
  margin-bottom: 0;
  margin-top: 0;
}

.h-card-badge {
  background: #B2E6C7;
  color: var(--color-dark);
  font-size: 12px;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.h-card-badge.h-green {
  background: #B2E6C7;
  color: var(--color-dark);
}

.h-card-description {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.h-card-video {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.h-card-video video {
  display: block;
  aspect-ratio: 1.38;
  border-radius: 0;
  max-width: 325px;
  margin: auto;
}

/* Trusted partners row */
.h-partners-row {
  padding-top: 60px;
  text-align: center;
}

.h-partners-title {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: white;
  margin-bottom: 30px;
}

.h-partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.h-partner-solution-logo {
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.h-partner-solution-logo:hover {
  opacity: 0.9;
}

/* ----------------------------------------
   Testimonials Carousel
   ---------------------------------------- */
.h-testimonials-section {
  background: var(--color-dark);
  padding: 50px 0 100px;
  position: relative;
  overflow: hidden;
}

.h-testimonials-wrapper {
  background: white;
  border-radius: 4px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: flex;
}

.h-testimonials-header {
  max-width: 60%;
  width: 600px;
  margin-bottom: 60px;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.h-testimonials-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-dark);
  margin-bottom: 0;
}

.h-testimonials-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 20px;
  margin-top: 0;
}

.h-testimonials-description {
  font-size: 17px;
  color: var(--color-dark);
  line-height: 1.5;
}

.h-carousel-container {
  position: relative;
  overflow: hidden;
  width: 45%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.h-carousel-container::before,
.h-carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 30px;
  height: 100%;
  pointer-events: none;
}

.h-carousel-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.6), transparent);
  z-index: 0;
}

.h-carousel-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.6), transparent);
  z-index: 0;
}

/* Carousel slides */
.h-testimonial-slide {
  position: absolute;
  width: 400px;
  max-width: 70%;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateX(100%) scale(0.8);
}

.h-testimonial-slide.prev {
  transform: translateX(-75%) scale(0.8);
  opacity: 0;
  z-index: 1;
}

.h-testimonial-slide.active {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 2;
}

.h-testimonial-slide.next {
  transform: translateX(75%) scale(0.8);
  opacity: 0;
  z-index: 1;
}

/* Testimonial cards */
.h-testimonial-card {
  background: #5b7fff;
  border-radius: 10px;
  padding: 40px 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: white;
  min-height: 380px;
}

.h-testimonial-card.h-purple {
  background: var(--color-primary);
  color: white;
}

.h-testimonial-card.h-blue-gradient {
  background: #E8EEFE;
  color: #343351;
}

.h-testimonial-card.h-light-purple {
  background: #A2BAFC;
  color: var(--color-text-muted);
}

.h-testimonial-card.h-light-color {
  background: #5680F9;
  color: white;
}

.h-testimonial-quote {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: auto;
  font-weight: 500;
  flex-grow: 1;
}

.h-testimonial-author {
  display: flex;
  gap: 16px;
  text-align: left;
}

.h-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.h-author-info {
  flex: 1;
}

.h-author-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 100%;
  margin-bottom: 0;
}

.h-author-title {
  font-size: 14px;
  opacity: 0.9;
}

/* Carousel navigation */
.h-carousel-nav {
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 10;
  width: 130%;
  justify-content: space-between;
}

.h-carousel-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-text-muted);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.h-carousel-btn:hover {
  transform: scale(1.05);
}

.h-carousel-btn:active {
  transform: scale(0.95);
}

.h-carousel-btn i {
  color: white;
}

/* ----------------------------------------
   Case Studies
   ---------------------------------------- */
.h-case-studies-section {
  background: var(--color-white);
  padding: 80px 0;
  position: relative;
}

.h-case-studies-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.h-case-studies-header {
  text-align: center;
  margin-bottom: 60px;
}

.h-case-studies-title {
  font-size: 40px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.1;
  margin-bottom: 16px;
  margin-top: 10px;
}

.h-case-studies-subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.h-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Study cards (merged with hover animation) */
.h-study-card {
  position: relative;
  background: var(--color-white);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(3, 0, 120, 0.05);
  display: flex;
  flex-direction: column;
  height: 353px;
  max-height: 353px;
}

.h-study-image {
  width: 100%;
  padding: 4px;
  background: white;
  position: relative;
  overflow: hidden;
  z-index: 3;
  flex: 1 1 auto;
  min-height: 0;
  transition: flex-basis 0.35s ease, flex-grow 0.35s ease;
}

.h-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.h-study-content {
  text-align: left;
  position: relative;
  z-index: 3;
  background: white;
  flex: 0 0 auto;
  padding: 16px 18px;
  max-height: 100px;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.h-study-stat {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-dark);
  margin-bottom: 0;
  line-height: 1.4;
}

.h-study-company {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.h-study-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.h-study-link:hover {
  color: var(--color-primary);
}

.h-study-link i {
  color: var(--color-primary);
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.h-study-link:hover i {
  transform: translateX(3px);
}

/* Study card hover */
.h-study-card:hover .h-study-content {
  max-height: 180px;
}

.h-study-card:hover .h-study-link {
  max-height: 40px;
  opacity: 1;
}

.h-study-card:hover .h-study-image {
  flex-grow: 0.7;
}

/* Shadow effects */
.shadow-effect {
  position: relative;
}

.shadow-effect::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 90%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center bottom, rgba(3, 0, 120, 0.25) 0%, rgba(3, 0, 120, 0.12) 45%, rgba(3, 0, 120, 0.04) 75%, rgba(3, 0, 120, 0) 100%),
    linear-gradient(to right, rgba(3, 0, 120, 0.05) 25%, rgba(3, 0, 120, 0) 40%, rgba(3, 0, 120, 0) 60%, rgba(3, 0, 120, 0.05) 75%);
  background-blend-mode: screen;
  filter: blur(12px);
  z-index: 1;
  border-radius: 150px;
}

.feature-shadow-effect {
  position: relative;
}

.feature-shadow-effect::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 90%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center bottom, rgba(3, 0, 120, 0.25) 0%, rgba(3, 0, 120, 0.12) 45%, rgba(3, 0, 120, 0.04) 75%, rgba(3, 0, 120, 0) 100%),
    linear-gradient(to right, rgba(3, 0, 120, 0.05) 25%, rgba(3, 0, 120, 0) 40%, rgba(3, 0, 120, 0) 60%, rgba(3, 0, 120, 0.05) 75%);
  background-blend-mode: screen;
  filter: blur(22px);
  z-index: 1;
  border-radius: 30px;
}

/* ----------------------------------------
   Powerful Features
   ---------------------------------------- */
.h-features-section {
  background: var(--color-bg-light);
  padding: 80px 0;
  position: relative;
}

.h-features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: left;
}

.h-features-header {
  max-width: 600px;
  margin-bottom: 60px;
}

.h-features-title {
  font-size: 42px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.1;
  margin-bottom: 20px;
  margin-top: 0;
}

.h-features-description {
  font-size: 20px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.h-features-layout {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: flex-start;
}

.h-features-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.h-features-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 60px;
}

/* Feature boxes (merged with animation overrides) */
.h-feature-box {
  background: white;
  border-radius: 4px;
  padding: 4px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 538px;
}

.h-feature-preview {
  width: 100%;
  background: #F8F8F8;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: end;
  justify-content: end;
  background-size: cover;
  z-index: 5;
  flex: 1 1 auto;
  transition: height 0.3s ease, flex-grow 0.3s ease, flex-basis 0.3s ease;
}

.h-feature-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--preview-bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.h-feature-box:hover .h-feature-preview::before {
  opacity: 1;
}

.h-feature-preview img {
  width: 90%;
  object-fit: contain;
  border-radius: 4px;
  z-index: 1;
  position: relative;
  top: 0;
  transition: all 0.4s ease;
}

.h-feature-box:hover .h-feature-preview img {
  top: 0;
  width: 96%;
}

.h-feature-box-content {
  padding: 24px;
  position: relative;
  z-index: 5;
  background: white;
  flex: 0 0 auto;
}

.h-feature-box-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.h-feature-box-text {
  flex: 1;
}

.h-feature-box-label {
  font-size: 12px;
  color: var(--color-text-muted);
  width: fit-content;
  background: #F7F9FC;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 500;
  margin-bottom: 8px;
}

.h-feature-box-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 12px;
  margin-top: 0;
}

.h-feature-box-desc {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.h-coming-soon-badge {
  display: inline-block;
  padding: 0 8px;
  background: #B2E6C7;
  color: var(--color-dark);
  font-size: 12px;
  font-weight: 400;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* Feature link (merged: visual styling + hover animation) */
.h-feature-link {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: 1rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

.h-feature-link:hover {
  color: var(--color-primary);
}

.h-feature-link i {
  color: var(--color-primary);
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.h-feature-link:hover i {
  transform: translateX(3px);
}

.h-feature-box:hover .h-feature-link {
  max-height: 40px;
  opacity: 1;
}

/* CTA in features section */
.h-cta-section {
  text-align: center;
  padding-top: 0;
}

/* ----------------------------------------
   FAQ Section
   ---------------------------------------- */
.h-faq-section {
  background: white;
  padding: 60px 0;
}

.h-faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: left;
}

.h-faq-header {
  margin-bottom: 40px;
}

.h-faq-title {
  font-size: 42px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 16px;
  margin-top: 0;
}

.h-faq-subtitle {
  font-size: 20px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.h-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.h-faq-list .faq-accordion-item {
  background: white;
}

.h-faq-list .faq-accordion-question {
  width: 100%;
  padding: 24px 32px;
  background: white;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.h-faq-list .faq-accordion-question:hover {
  background: #f9fafb;
}

.h-faq-list .faq-accordion-question-text {
  font-size: 28px;
  font-weight: 400;
  color: var(--color-dark);
  text-align: left;
}

.h-faq-list .faq-accordion-toggle {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 26px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.h-faq-list .faq-accordion-item.active .faq-accordion-toggle {
  transform: rotate(180deg);
}

.h-faq-list .faq-accordion-answer {
  padding: 0 32px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.h-faq-list .faq-accordion-item.active .faq-accordion-answer {
  max-height: 300px;
  padding: 0 32px 24px 32px;
}

.h-faq-list .faq-accordion-answer-text {
  font-size: 20px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ----------------------------------------
   Final CTA Section
   ---------------------------------------- */
.h-cta-final-section {
  background: var(--color-dark);
  padding: 40px 0;
  position: relative;
  margin-bottom: -60px;
}

.h-cta-final-section .h-problem-label {
  color: white;
}

.h-cta-final-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.h-cta-final-card {
  text-align: center;
}

.h-cta-final-title {
  font-size: 48px;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 8px;
  margin-top: 0;
}

.h-cta-final-subtitle {
  font-size: 18px;
  color: white;
  line-height: 1.5;
  margin-bottom: 20px;
}

.h-cta-final-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 3px;
}

/* ========================================
   Responsive Breakpoints
   ======================================== */

/* Tablet & below */
@media (max-width: 968px) {
  .h-problem-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .h-problem-title {
    font-size: 36px;
  }

  .h-cards-grid {
    grid-template-columns: 1fr;
  }

  .h-cards-row-two {
    grid-template-columns: 1fr;
  }

  .h-solution-title {
    font-size: 36px;
  }

  .h-studies-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .h-features-layout {
    flex-direction: column;
    align-items: center;
  }

  .h-features-right {
    padding-top: 0 !important;
  }

  .h-feature-link {
    max-height: 40px !important;
    opacity: 1 !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .h-hero-wrapper {
    margin-top: -10px !important;
  }

  .h-hero-title {
    font-size: 40px;
  }

  .h-hero-subtitle {
    font-size: 15px;
    padding: 0 20px;
  }

  .h-hero-container {
    padding: 0 20px;
  }

  .h-partners-grid {
    gap: 30px;
  }

  .h-partner-logo {
    height: 22px;
  }

  .h-video-container {
    margin: 0 20px 40px;
  }

  /* Problem */
  .h-problem-section {
    padding: 60px 0;
  }

  .h-problem-container {
    padding: 0 20px;
  }

  .h-problem-title {
    font-size: 32px;
  }

  .h-problem-description {
    font-size: 15px;
  }

  /* Solution */
  .h-solution-section {
    padding: 60px 0;
  }

  .h-solution-container {
    padding: 0 20px;
  }

  .h-solution-title {
    font-size: 32px;
  }

  .h-partners-logos {
    gap: 30px;
  }

  /* Testimonials */
  .h-testimonials-section {
    padding: 60px 20px;
  }

  .h-testimonials-wrapper {
    padding: 40px 20px;
    border-radius: 4px;
    flex-wrap: wrap;
  }

  .h-testimonials-header {
    margin-bottom: 10px !important;
    max-width: 100% !important;
  }

  .h-testimonials-title {
    font-size: 32px;
  }

  .h-carousel-container {
    height: 350px;
    width: 100%;
  }

  .h-testimonial-slide {
    width: 90%;
    max-width: 320px;
  }

  .h-testimonial-slide.prev,
  .h-testimonial-slide.next {
    opacity: 0;
    transform: translateX(0) scale(0.8);
  }

  .h-testimonial-card {
    min-height: 320px;
    padding: 16px;
    border-radius: 8px;
  }

  .h-testimonial-quote {
    font-size: 18px;
  }

  .h-carousel-btn {
    width: 30px;
    height: 30px;
  }

  /* Case Studies */
  .h-case-studies-section {
    padding: 60px 0;
  }

  .h-case-studies-container {
    padding: 0 20px;
  }

  .h-case-studies-title {
    font-size: 32px;
  }

  /* Features */
  .h-features-section {
    padding: 60px 0;
  }

  .h-features-container {
    padding: 0 20px;
  }

  .h-features-title {
    font-size: 32px;
  }

  .h-feature-box {
    height: 400px !important;
  }

  .h-feature-preview {
    height: 150px;
  }

  /* FAQ */
  .h-faq-section {
    padding: 60px 0;
  }

  .h-faq-container {
    padding: 0 20px;
  }

  .h-faq-title {
    font-size: 32px;
  }

  .h-faq-list .faq-accordion-question {
    padding: 20px;
  }

  .h-faq-list .faq-accordion-question-text {
    font-size: 16px;
  }

  .h-faq-list .faq-accordion-answer-text {
    font-size: 14px;
  }

  /* Final CTA */
  .h-cta-final-section {
    padding: 60px 0;
  }

  .h-cta-final-card {
    padding: 0;
  }

  .h-cta-final-title {
    font-size: 36px;
  }
}

/* ========================================
   ShelfStream Page
   ======================================== */

/* ----------------------------------------
   ShelfStream Hero
   ---------------------------------------- */
.ss-hero {
  position: relative;
  display: block;
  width: 100%;
  padding: 100px 40px 0;
  margin: 0;
  overflow: hidden;
  background: var(--color-dark);
}

.ss-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 650px;
  background: radial-gradient(ellipse, rgba(29,86,247,0.14) 0%, rgba(29,86,247,0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ss-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 70%);
}

.ss-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Badge */
.ss-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin: 0 0 32px 0;
  line-height: 1.4;
  animation: ss-fadeUp 0.6s ease both;
}

.ss-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: ss-pulseDot 2s ease infinite;
}

/* Heading */
.ss-heading {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #f0f0f5;
  margin: 0 0 20px 0;
  text-align: center;
  animation: ss-fadeUp 0.6s ease 0.1s both;
}

.ss-accent {
  color: var(--color-primary);
  -webkit-text-fill-color: var(--color-primary);
  font-weight: 800;
}

/* Subtext */
.ss-subtext {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 400;
  line-height: 1.65;
  color: #8e8eaf;
  max-width: 600px;
  margin: 0 auto 30px auto;
  text-align: center;
  animation: ss-fadeUp 0.6s ease 0.2s both;
}

/* Stats */
.ss-stats {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  animation: ss-fadeUp 0.6s ease 0.3s both;
}

.ss-stat {
  text-align: center;
}

.ss-stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.ss-stat-label {
  font-size: 13px;
  font-weight: 400;
  color: #5a5a80;
  line-height: 1.4;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* CTAs */
.ss-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
  animation: ss-fadeUp 0.6s ease 0.35s both;
}

.ss-btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
  background: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
  text-align: center;
}

.ss-btn:hover {
  box-shadow: 0 0 30px rgba(29,86,247,0.3);
  transform: translateY(-2px);
  color: var(--color-white);
}

.ss-btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.ss-btn-outline:hover {
  background: rgba(29,86,247,0.12);
  color: var(--color-primary);
}

/* Divider */
.ss-divider-wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.ss-divider {
  margin-top: 56px;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(29,86,247,0.3), var(--color-primary), rgba(29,86,247,0.3), transparent);
  border: none;
  animation: ss-fadeIn 0.8s ease 0.5s both;
}

/* ----------------------------------------
   ShelfStream Logo Carousel
   ---------------------------------------- */
.ss-logo-carousel {
  background: var(--color-dark);
  padding: 40px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.ss-logo-carousel::before,
.ss-logo-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.ss-logo-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--color-dark), transparent);
}

.ss-logo-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--color-dark), transparent);
}

.ss-logo-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: ss-logoScroll 35s linear infinite;
}

.ss-logo-track img {
  height: 32px;
  width: auto;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  display: block;
  flex-shrink: 0;
}

/* ----------------------------------------
   ShelfStream Dashboard
   ---------------------------------------- */
.ss-dashboard {
  background: var(--color-dark);
  scroll-margin-top: 20px;
}

.ss-dashboard iframe {
  width: 100%;
  height: 800px;
  max-height: 90vh;
  border: none;
  display: block;
}

/* ----------------------------------------
   ShelfStream Content
   ---------------------------------------- */
.ss-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  background: var(--color-white);
  text-align: left;
  color: var(--color-text);
  line-height: 1.7;
}

/* Intro grid */
.ss-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.ss-intro-grid h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: left;
}

.ss-intro-text p {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  text-align: left;
}

.ss-intro-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f5f6f8;
  border-radius: 12px;
  border: 1px solid #e2e5ec;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ss-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content grid */
.ss-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 64px;
  align-items: start;
}

/* Features column */
.ss-features-col h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.3;
  margin-top: 40px;
  text-align: left;
}

.ss-features-col h2:first-child {
  margin-top: 0;
}

.ss-features-col p {
  font-size: 0.935rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  text-align: left;
}

/* Tools column */
.ss-tools-col h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 8px;
  text-align: left;
}

.ss-tools-col > p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
  text-align: left;
}

.ss-tool-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #111827;
  border-radius: 14px;
  padding: 28px 24px;
  margin-bottom: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ss-tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(10, 17, 40, 0.18);
}

.ss-tool-card-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: #1a2744;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ss-tool-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.ss-tool-card-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
  text-align: left;
}

.ss-tool-card-body p {
  font-size: 0.85rem;
  color: #c4c9d4;
  line-height: 1.65;
  margin-bottom: 12px;
  text-align: left;
}

.ss-tool-card-body a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.ss-tool-card-body a:hover {
  gap: 8px;
  color: var(--color-primary);
}

.ss-tool-card-body a::after {
  content: '\203A';
  font-size: 1.1rem;
  line-height: 1;
}

/* Closing */
.ss-closing {
  margin-top: 64px;
}

.ss-closing p {
  font-size: 0.935rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  text-align: left;
}

/* CTA Banner */
.ss-cta-banner {
  margin-top: 48px;
  background: var(--color-text);
  border-radius: 16px;
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.ss-cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(29,86,247,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.ss-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(29,86,247,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.ss-cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  position: relative;
  z-index: 1;
  text-align: left;
}

.ss-cta-btn {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.ss-cta-btn:hover {
  background: #e8eaef;
  transform: translateY(-1px);
  color: var(--color-text);
}

/* ----------------------------------------
   ShelfStream Animations
   ---------------------------------------- */
@keyframes ss-fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ss-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ss-pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(29,86,247,0.3); }
  50% { opacity: 0.6; box-shadow: 0 0 0 5px rgba(29,86,247,0); }
}

@keyframes ss-logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----------------------------------------
   ShelfStream Responsive
   ---------------------------------------- */
@media (max-width: 968px) {
  .ss-intro-grid,
  .ss-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ss-intro-grid h1 {
    font-size: 1.9rem;
  }

  .ss-cta-banner {
    flex-direction: column;
    gap: 28px;
    padding: 40px 32px;
    text-align: left;
  }

  .ss-cta-banner h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .ss-hero {
    padding: 60px 16px 0;
  }

  .ss-stats {
    gap: 16px;
  }

  .ss-stat-number {
    font-size: 24px;
  }

  .ss-content {
    padding: 48px 20px;
  }

  .ss-intro-grid h1 {
    font-size: 1.6rem;
  }

  .ss-features-col h2 {
    font-size: 1.3rem;
  }

  .ss-cta-banner {
    padding: 32px 20px;
  }

  .ss-cta-banner h2 {
    font-size: 1.4rem;
  }

  .ss-tool-card {
    flex-direction: column;
    gap: 14px;
  }

  .ss-dashboard iframe {
    height: 500px;
  }
}

/* ========================================
   Lumara Page
   ======================================== */

/* --- Root & Variables --- */
.lmr-page {
  --lmr-navy: var(--color-dark);
  --lmr-navy-2: #07074a;
  --lmr-card-dark: #06063a;
  --lmr-blue: var(--color-primary);
  --lmr-blue-hover: var(--color-primary-hover);
  --lmr-white: var(--color-white);
  --lmr-ink: var(--color-text);
  --lmr-muted: var(--color-text-muted);
  --lmr-muted-dark: #d3d6ec;
  --lmr-line: var(--color-line);
  --lmr-bg-soft: var(--color-bg-soft);
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--lmr-white);
  color: var(--lmr-ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* --- Layout --- */
.lmr-wrap {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}

.lmr-sec {
  display: block;
  width: 100%;
  padding: 80px 0;
  text-align: left;
}

.lmr-dark {
  background: var(--lmr-navy);
  color: var(--lmr-white);
}

.lmr-soft {
  background: var(--lmr-bg-soft);
  color: var(--lmr-ink);
}

.lmr-light {
  background: var(--lmr-white);
  color: var(--lmr-ink);
}

.lmr-center {
  text-align: center;
}

/* --- Typography --- */
.lmr-h1 {
  display: block;
  margin: 0 0 16px 0;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--lmr-white);
  text-align: left;
}

.lmr-h2 {
  display: block;
  margin: 0 0 16px 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
  text-align: center;
}

.lmr-h3 {
  display: block;
  margin: 0 0 16px 0;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  color: inherit;
  text-align: left;
}

.lmr-h3-lg {
  max-width: 340px;
  margin: 0 0 28px 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
}

.lmr-p {
  display: block;
  margin: 0 0 18px 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--lmr-muted);
  text-align: left;
}

.lmr-dark .lmr-p,
.lmr-hero .lmr-p {
  color: var(--lmr-muted-dark);
}

.lmr-p-center {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.lmr-p-narrow {
  max-width: 760px;
}

.lmr-eyebrow {
  display: block;
  margin: 0 0 10px 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lmr-muted-dark);
  text-align: center;
}

/* --- Lists --- */
.lmr-list {
  display: block;
  margin: 0 0 24px 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.lmr-list-item {
  display: block;
  position: relative;
  margin: 0 0 6px 0;
  padding: 0 0 0 20px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--lmr-muted);
  text-align: left;
}

.lmr-dark .lmr-list-item,
.lmr-hero .lmr-list-item {
  color: var(--lmr-muted-dark);
}

.lmr-list-item::before {
  content: "";
  display: block;
  position: absolute;
  left: 3px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* --- Buttons --- */
.lmr-btn {
  display: inline-block;
  margin: 0;
  padding: 14px 26px;
  border: 0;
  border-radius: 4px;
  background: var(--lmr-blue);
  color: var(--lmr-white);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lmr-btn:hover,
.lmr-btn:focus {
  background: var(--lmr-blue-hover);
  color: var(--lmr-white);
  text-decoration: none;
}

.lmr-btn-white {
  background: var(--lmr-white);
  color: var(--lmr-blue);
}

.lmr-btn-white:hover,
.lmr-btn-white:focus {
  background: #e8eeff;
  color: var(--lmr-blue);
}

/* --- Image slots --- */
.lmr-slot {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.lmr-slot img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.lmr-slot.lmr-has-img {
  aspect-ratio: auto;
  height: auto;
  overflow: visible;
}

.lmr-slot.lmr-has-img img {
  height: auto;
}

.lmr-ar-16-10 { aspect-ratio: 16/10; }
.lmr-ar-4-3 { aspect-ratio: 4/3; }
.lmr-ar-1-1 { aspect-ratio: 1/1; }
.lmr-ar-wide { aspect-ratio: 3/1; }
.lmr-ar-8-7 { aspect-ratio: 8/7; }
.lmr-ar-5-4 { aspect-ratio: 5/4; }

.lmr-icon {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #2a2e4a;
}

.lmr-icon svg {
  display: block;
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Two-col rows --- */
.lmr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 56px 0 0 0;
  text-align: left;
}

.lmr-row + .lmr-row {
  margin-top: 140px;
}

.lmr-row-flip .lmr-row-media { order: 2; }
.lmr-row-flip .lmr-row-text { order: 1; }

.lmr-row-text {
  display: block;
  max-width: 560px;
  text-align: left;
}

.lmr-row-text .lmr-h3 { max-width: 540px; }
.lmr-row-text .lmr-list { margin: 0 0 24px 0; }

/* --- Hero --- */
.lmr-hero {
  display: block;
  width: 100%;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--lmr-navy) 0%, var(--lmr-navy-2) 100%);
  color: var(--lmr-white);
  text-align: left;
}

.lmr-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.lmr-hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lmr-hero-media .lmr-slot { max-width: 340px; }

.lmr-hero-copy {
  display: block;
  max-width: 600px;
  text-align: left;
}

.lmr-hero-lead { margin: 0 0 16px 0; }

/* --- Diagram --- */
.lmr-diagram {
  display: block;
  margin: 64px 0 0 0;
}

.lmr-diagram + .lmr-row { margin-top: 64px; }

.lmr-loop {
  display: block;
  margin: 130px 0 0 0;
  text-align: left;
}

/* --- Integrations diagram --- */
.lmr-int {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1820/752;
  text-align: center;
}

.lmr-int-lines {
  display: block;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.lmr-int-frame {
  display: block;
  position: absolute;
  left: 1.209%;
  top: 11.702%;
  width: 97.582%;
  height: auto;
  max-width: none;
  pointer-events: none;
  z-index: 0;
}

.lmr-int-mark {
  display: block;
  position: absolute;
  left: 49.451%;
  top: 12.899%;
  width: 15.110%;
  aspect-ratio: 275/95;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.lmr-int-logo {
  display: block;
  position: absolute;
  width: 6.319%;
  height: auto;
  max-height: 15.293%;
  object-fit: contain;
  object-position: center center;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.lmr-int-shopify { left: 11.978%; top: 63.963%; }
.lmr-int-ga { left: 26.703%; top: 70.080%; }
.lmr-int-meta { left: 41.044%; top: 78.856%; }
.lmr-int-hubspot { left: 58.846%; top: 78.856%; }
.lmr-int-salesforce { left: 73.571%; top: 70.080%; }
.lmr-int-triplewhale { left: 87.912%; top: 63.963%; }

/* --- Loop steps --- */
.lmr-steps {
  display: grid;
  position: relative;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  align-items: start;
  margin: 60px 0 0 0;
  text-align: left;
}

.lmr-conn {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.lmr-step {
  display: block;
  position: relative;
  z-index: 1;
  padding: 22px;
  border: 1px solid var(--lmr-blue);
  border-radius: 6px;
  background: var(--lmr-card-dark);
  box-shadow: 0 0 22px rgba(29,86,247,0.45);
  text-align: left;
}

.lmr-step-low { margin-top: 140px; }

.lmr-step-tag {
  display: block;
  margin: 0 0 8px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lmr-muted-dark);
}

.lmr-step-title {
  display: block;
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--lmr-white);
}

.lmr-step-body {
  display: block;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--lmr-muted-dark);
}

/* --- Blue banner --- */
.lmr-banner {
  display: block;
  margin: 76px 0 0 0;
  padding: 48px 24px;
  border-radius: 4px;
  background: var(--lmr-blue);
  color: var(--lmr-white);
  text-align: center;
}

.lmr-banner-title {
  display: block;
  max-width: 900px;
  margin: 0 auto 18px auto;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--lmr-white);
  text-align: center;
}

/* --- Tabs --- */
.lmr-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 40px 0 0 0;
  border-bottom: 1px solid var(--lmr-line);
  text-align: center;
}

.lmr-tab {
  display: block;
  width: 100%;
  margin: 0 0 -1px 0;
  padding: 14px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--lmr-muted);
  text-align: center;
  cursor: pointer;
}

.lmr-tab:hover { color: var(--lmr-ink); }
.lmr-tab.lmr-tab-active {
  color: var(--lmr-ink);
  border-bottom-color: var(--lmr-blue);
}

.lmr-panel {
  display: none;
  margin: 32px 0 0 0;
  padding: 44px;
  border: 1px solid var(--lmr-line);
  border-radius: 8px;
  background: var(--lmr-white);
  box-shadow: 0 8px 30px rgba(1,0,37,0.06);
  text-align: left;
}

.lmr-panel.lmr-panel-active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.lmr-feat {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin: 0 0 24px 0;
  text-align: left;
}

.lmr-feat:last-child { margin-bottom: 0; }

.lmr-feat-text {
  display: block;
  max-width: 400px;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--lmr-muted);
  text-align: left;
}

.lmr-stack-foot {
  display: block;
  margin: 64px 0 0 0;
  text-align: center;
}

.lmr-stack-foot-p {
  display: block;
  margin: 0 0 22px 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--lmr-ink);
  text-align: center;
}

/* --- Proof cards --- */
.lmr-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
  margin: 48px 0 0 0;
  text-align: left;
}

.lmr-card {
  display: block;
  padding: 36px;
  border: 1px solid var(--lmr-line);
  border-radius: 6px;
  background: var(--lmr-white);
  box-shadow: 0 6px 24px rgba(1,0,37,0.06);
  text-align: left;
}

.lmr-card-title {
  display: block;
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--lmr-ink);
}

.lmr-card-body {
  display: block;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--lmr-muted);
}

/* --- Evolve cols --- */
.lmr-h2-narrow {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.lmr-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
  margin: 70px 0 0 0;
  text-align: left;
}

.lmr-col-title {
  display: block;
  max-width: 300px;
  margin: 0 0 14px 0;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--lmr-white);
}

.lmr-col-body {
  display: block;
  max-width: 380px;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--lmr-muted-dark);
}

/* --- FAQ --- */
.lmr-faq-sub {
  display: block;
  margin: 0 0 56px 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--lmr-muted);
  text-align: center;
}

.lmr-faq {
  display: block;
  max-width: 740px;
  margin: 0 auto;
  text-align: left;
}

.lmr-faq .faq-accordion-item {
  display: block;
  padding: 20px 0;
  text-align: left;
}

.lmr-faq .faq-accordion-question {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--lmr-ink);
  text-align: left;
}

.lmr-faq .faq-accordion-question-text {
  display: block;
  flex: 1 1 auto;
  text-align: left;
}

.lmr-faq .faq-accordion-toggle {
  display: block;
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1.3;
  color: var(--lmr-muted);
}

.lmr-faq .faq-accordion-answer {
  display: none;
  margin: 10px 0 0 0;
}

.lmr-faq .faq-accordion-answer-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--lmr-muted);
}

.lmr-faq .faq-accordion-item.active .faq-accordion-answer {
  display: block;
}

/* --- Final CTA --- */
.lmr-cta-p {
  display: block;
  margin: 0 0 28px 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--lmr-muted-dark);
  text-align: center;
}

/* ----------------------------------------
   Lumara Responsive
   ---------------------------------------- */
@media (max-width: 700px) {
  .lmr-int-frame { display: none; }
  .lmr-int {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 28px 36px;
    aspect-ratio: auto;
  }
  .lmr-int-lines { display: none; }
  .lmr-int-mark {
    position: static;
    flex: 0 0 100%;
    width: 180px;
    max-width: 180px;
    margin: 0 auto 8px auto;
    transform: none;
  }
  .lmr-int-logo {
    position: static;
    width: 44px;
    transform: none;
  }
}

@media (max-width: 960px) {
  .lmr-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .lmr-step-low { margin-top: 48px; }
  .lmr-conn { display: none; }
}

@media (max-width: 860px) {
  .lmr-sec { padding: 60px 0; }
  .lmr-hero { padding: 80px 0; }
  .lmr-hero-grid,
  .lmr-row,
  .lmr-panel.lmr-panel-active {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .lmr-hero-copy,
  .lmr-row-text { max-width: none; }
  .lmr-row-flip .lmr-row-media { order: 1; }
  .lmr-row-flip .lmr-row-text { order: 2; }
  .lmr-cards,
  .lmr-cols { grid-template-columns: 1fr; }
  .lmr-panel { padding: 28px; }
  .lmr-h1 { font-size: 32px; }
  .lmr-h2 { font-size: 28px; }
  .lmr-h3 { font-size: 22px; }
  .lmr-h3-lg { font-size: 24px; }
  .lmr-banner-title { font-size: 26px; }
  .lmr-br { display: none; }
  .lmr-row + .lmr-row { margin-top: 72px; }
  .lmr-loop { margin-top: 96px; }
  .lmr-col-title { font-size: 22px; max-width: none; }
  .lmr-faq .faq-accordion-question,
  .lmr-faq .faq-accordion-toggle { font-size: 20px; }
  .lmr-stack-foot-p { font-size: 20px; }
}

@media (max-width: 560px) {
  .lmr-steps { grid-template-columns: 1fr; }
  .lmr-step-low { margin-top: 0; }
  .lmr-tab { font-size: 14px; }
  .lmr-faq .faq-accordion-question { font-size: 17px; }
}

/* ========================================
   About Page
   ======================================== */

/* --- Layout --- */
.ab-page {
  background: var(--color-dark) url('https://cdn.revmatics.ai/8da74a280ef1b2d7b9de632231f3bb47.png') no-repeat top center;
  background-size: 100% auto;
  color: var(--color-white);
}

.ab-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Tab nav --- */
.ab-tab-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 80px 0 0;
}

.ab-tab-link {
  background: #c3c3d5;
  color: #000;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 400;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.ab-tab-link.active {
  background: var(--color-white);
  color: #000;
}

.ab-tab-link:hover {
  background: #f2f2f4;
  color: #000;
}

/* --- Tab content --- */
.ab-tab-content {
  display: none;
  padding: 80px 0;
  text-align: center;
}

.ab-tab-content.active {
  display: block;
}

/* --- Section headers --- */
.ab-section-title {
  font-size: 50px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
  text-align: center;
}

.ab-section-desc {
  font-size: 20px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: #ccc;
  text-align: center;
}

/* --- Team grid --- */
.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 260px);
  gap: 40px;
  justify-content: center;
  margin-top: 60px;
}

.ab-team-card {
  text-align: left;
}

.ab-team-card > img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.ab-team-card-name {
  font-size: 24px;
  font-weight: 600;
  margin: 15px 0 10px;
  color: var(--color-white);
}

.ab-team-card-info {
  display: flex;
  align-items: center;
}

.ab-team-card-role {
  font-size: 16px;
  color: var(--color-white);
  padding-right: 15px;
}

.ab-team-card-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid #ababab;
  padding-left: 15px;
}

.ab-team-card-icons img {
  width: 21px;
  height: 21px;
}

/* --- Partners / Tech section --- */
.ab-partners {
  margin-top: 60px;
}

.ab-partner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  text-align: left;
}

.ab-partner-row:last-child {
  margin-bottom: 0;
}

.ab-partner-row-flip .ab-partner-text { order: 2; }
.ab-partner-row-flip .ab-partner-image { order: 1; }

.ab-partner-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.ab-partner-text h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
}

.ab-partner-text p {
  font-size: 17px;
  color: #ccc;
  line-height: 1.7;
}

.ab-partner-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --- Testimonials --- */
.ab-testimonials {
  background: var(--color-bg-soft);
  padding: 80px 0;
}

.ab-testimonials-title {
  font-size: 42px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 48px;
  text-align: center;
}

.ab-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ab-testimonial-card {
  background: var(--color-white);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ab-testimonial-quote {
  font-size: 17px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 24px;
  flex-grow: 1;
}

.ab-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ab-testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ab-testimonial-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
}

.ab-testimonial-role {
  font-size: 14px;
  color: #808092;
}

/* --- CTA --- */
.ab-cta {
  background: var(--color-bg-soft);
  padding: 60px 0 80px;
  text-align: center;
}

.ab-cta-title {
  font-size: 42px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.ab-cta-desc {
  font-size: 20px;
  color: #333;
  margin-bottom: 24px;
}

.ab-cta-button {
  display: inline-block;
  padding: 14px 28px;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ab-cta-button:hover {
  background: var(--color-primary-hover);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* ----------------------------------------
   About Responsive
   ---------------------------------------- */
@media (max-width: 968px) {
  .ab-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .ab-partner-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ab-partner-row-flip .ab-partner-text { order: 1; }
  .ab-partner-row-flip .ab-partner-image { order: 2; }

  .ab-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ab-tab-nav {
    padding-top: 40px;
  }

  .ab-section-title {
    font-size: 32px;
  }

  .ab-section-desc {
    font-size: 16px;
  }

  .ab-team-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 40px auto 0;
  }

  .ab-testimonials-title,
  .ab-cta-title {
    font-size: 28px;
  }

  .ab-testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .ab-container {
    padding: 0 20px;
  }
}

/* ========================================
   Articles Page
   ======================================== */
.art-listing {
  padding: 60px 0;
}

.art-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.art-heading {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 40px;
  text-align: left;
}

.art-featured {
  display: flex;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 40px;
  transition: box-shadow 0.2s ease;
}

.art-featured:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.18);
}

.art-featured-img {
  width: 60%;
  object-fit: cover;
  display: block;
}

.art-featured-body {
  width: 40%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.art-featured-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-dark);
  margin: 0 0 20px;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.art-card {
  padding: 17px;
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.art-card-img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

.art-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-dark);
  margin: 16px 0 20px;
  flex-grow: 1;
}

.art-card-link {
  display: inline-block;
  padding: 10px 16px;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  width: fit-content;
  transition: background 0.2s ease;
}

.art-card-link:hover {
  background: var(--color-primary-hover);
  color: var(--color-white);
}

/* --- Articles Responsive --- */
@media (max-width: 968px) {
  .art-featured {
    flex-direction: column;
  }

  .art-featured-img {
    width: 100%;
  }

  .art-featured-body {
    width: 100%;
  }

  .art-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .art-listing {
    padding: 40px 0;
  }

  .art-container {
    padding: 0 20px;
  }

  .art-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ----------------------------------------
   Article Detail
   ---------------------------------------- */
.art-detail {
  padding: 70px 40px;
}

.art-detail-container {
  max-width: 850px;
  margin: 0 auto;
  text-align: left;
}

.art-detail-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 24px;
}

.art-detail-banner {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin-bottom: 32px;
}

.art-detail-inline {
  width: 100%;
  display: block;
  margin: 24px 0;
}

.art-detail h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 32px 0 12px;
  line-height: 1.3;
}

.art-detail p {
  font-size: 17px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 16px;
}

.art-detail-list {
  margin: 0 0 24px 20px;
  padding: 0;
  list-style: disc;
}

.art-detail-list li {
  font-size: 17px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 10px;
}

.art-detail-divider {
  width: 100%;
  height: 2px;
  background: #808092;
  margin: 40px 0;
}

.art-detail-share {
  display: flex;
  gap: 20px;
  font-size: 28px;
  margin-bottom: 40px;
}

.art-detail-share i {
  cursor: pointer;
  color: var(--color-dark);
  transition: transform 0.2s ease;
}

.art-detail-share i:hover {
  transform: scale(1.1);
}

.art-detail-footer {
  text-align: center;
  margin-bottom: 40px;
}

.art-detail-footer p {
  font-size: 16px;
  color: #333;
}

.art-detail-footer a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.art-detail-footer a:hover {
  color: var(--color-primary-hover);
}

/* Figure captions */
.art-detail-caption {
  font-size: 11px;
  color: #666;
  margin-top: -16px;
  margin-bottom: 16px;
}

/* Split layout (image left, text right) */
.art-detail-split {
  display: grid;
  grid-template-columns: 47% 1fr;
  gap: 30px;
  align-items: start;
  margin: 24px 0;
}

.art-detail-split-img img {
  width: 100%;
  display: block;
}

.art-detail-split-text h2:first-child {
  margin-top: 0;
}

/* --- Related Posts --- */
.art-related {
  background: var(--color-white);
  padding: 0 40px 40px;
}

.art-related-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 32px;
}

.art-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.art-related-card {
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease;
}

.art-related-card:hover {
  transform: translateY(-3px);
}

.art-related-img {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.art-related-img img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.art-related-card:hover .art-related-img img {
  transform: scale(1.05);
}

.art-related-card h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-dark);
}

/* --- Article Detail Responsive --- */
@media (max-width: 768px) {
  .art-detail {
    padding: 40px 20px;
  }

  .art-detail-title {
    font-size: 28px;
  }

  .art-detail h2 {
    font-size: 20px;
  }

  .art-detail-split {
    grid-template-columns: 1fr;
  }

  .art-related {
    padding: 0 20px 40px;
  }

  .art-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Site Header
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.site-header-inner {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-header-logo-img {
  height: 32px;
  width: auto;
}

.site-header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  margin-right: 32px;
}

.site-header-link {
  color: var(--color-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.site-header-link:hover {
  color: var(--color-primary);
}

.site-header-cta {
  flex-shrink: 0;
}

.site-header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.site-header-hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header-hamburger.open .site-header-hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header-hamburger.open .site-header-hamburger-line:nth-child(2) {
  opacity: 0;
}

.site-header-hamburger.open .site-header-hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Header adds top padding to body-wrapper */
.body-wrapper {
  padding-top: 72px;
}

@media (max-width: 768px) {
  .site-header-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    padding: 16px 24px 24px;
    gap: 0;
  }

  .site-header-nav.open {
    display: flex;
  }

  .site-header-link {
    padding: 12px 0;
    font-size: 17px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
  }

  .site-header-cta {
    display: none;
  }

  .site-header-hamburger {
    display: flex;
  }
}

/* ========================================
   Site Footer
   ======================================== */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 24px 0;
}

.site-footer-inner {
  max-width: var(--container-lg);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.site-footer-logo-img {
  height: 28px;
  width: auto;
}

.site-footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
}

.site-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer-nav-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-white);
  margin-bottom: 8px;
}

.site-footer-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-link:hover {
  color: var(--color-white);
}

.site-footer-social-icons {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.site-footer-social-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
  transition: color 0.2s ease;
  text-decoration: none;
}

.site-footer-social-link:hover {
  color: var(--color-white);
}

.site-footer-bottom {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 24px 0;
  text-align: center;
}

.site-footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

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

/* ========================================
   Contact Page
   ======================================== */
.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px);
  padding: var(--section-lg) 24px;
  background: var(--color-bg-light);
}

.contact-container {
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 64px;
}

.contact-text {
  flex: 1;
  text-align: left;
}

.contact-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-form-card {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.contact-form-wrap {
  text-align: left;
}

@media (max-width: 768px) {
  .contact {
    padding: var(--section-sm) 20px;
  }
  .contact-container {
    flex-direction: column;
    gap: 32px;
  }
  .contact-text {
    text-align: center;
  }
  .contact-title {
    font-size: 32px;
  }
  .contact-desc {
    font-size: 16px;
  }
  .contact-form-card {
    padding: 24px;
    width: 100%;
  }
}

/* ========================================
   Careers Page
   ======================================== */
.careers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px);
  text-align: center;
  padding: var(--section-lg) 24px;
  background: var(--color-bg-light);
}

.careers-container {
  max-width: 640px;
  width: 100%;
}

.careers-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.careers-desc {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 48px;
}

.careers-empty {
  background: var(--color-white);
  border-radius: 12px;
  padding: 48px 32px;
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.08);
}

.careers-empty-icon {
  font-size: 36px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.careers-empty-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.careers-empty-text {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .careers {
    padding: var(--section-sm) 20px;
  }
  .careers-title {
    font-size: 32px;
  }
  .careers-desc {
    font-size: 16px;
    margin-bottom: 32px;
  }
  .careers-empty {
    padding: 32px 20px;
  }
}

/* ========================================
   404 Error Page
   ======================================== */
.error-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px);
  text-align: center;
  padding: 60px 24px;
  background: var(--color-bg-light);
}

.error-404-container {
  max-width: 560px;
}

.error-404-code {
  font-size: 120px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 16px;
}

.error-404-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.error-404-desc {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.error-404-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .error-404-code {
    font-size: 80px;
  }
  .error-404-title {
    font-size: 24px;
  }
  .error-404-desc {
    font-size: 16px;
  }
}

/* ───────────────────────────────────────────────
   Case Study — Lumberjack Plaid
   ─────────────────────────────────────────────── */

/* Hero + Challenge */
.cs-hero-section {
  background: #fff;
  text-align: left;
}

.cs-banner-img {
  width: 100%;
  max-width: 100% !important;
  aspect-ratio: 3.6;
  object-fit: cover;
}

.cs-challenge-card {
  position: relative;
  padding: 25px;
  margin: auto;
  margin-top: -8%;
  margin-bottom: 30px;
  background-color: white;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 800px;
  border-radius: 8px;
}

.cs-brand-logo {
  margin-bottom: 25px;
  width: 50%;
  max-width: 300px;
  object-fit: contain;
  display: block;
}

.cs-challenge-title {
  font-size: 40px;
  line-height: 40px;
  color: black;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 20px;
  padding-top: 0;
}

.cs-challenge-text {
  font-size: 20px;
  color: black;
}

/* Shared content wrapper */
.cs-content-wrap {
  width: 90%;
  max-width: 800px;
  margin: auto;
  text-align: left;
  font-size: 20px;
  color: black;
}

.cs-grey-line {
  width: 100%;
  height: 2px;
  background: #b3b2be;
  margin: 30px 0;
}

.cs-section-heading {
  font-size: 28px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 15px;
}

/* Results section */
.cs-results-section {
  background: linear-gradient(to bottom, #e8eefe, #e8eefe);
  padding: 50px 0;
  padding-top: 0;
}

.cs-stats-row {
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
}

.cs-stat-card {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
  width: 30%;
  border-radius: 8px;
  text-align: center;
  padding: 20px;
  background: white;
}

.cs-stat-number {
  font-size: 28px;
  color: var(--color-primary);
  font-weight: bold;
}

.cs-stat-label {
  line-height: 110%;
  padding-top: 10px;
}

.cs-bullet-list {
  padding-left: 20px;
  margin-bottom: 24px;
}

.cs-bullet-list li {
  margin-bottom: 6px;
}

.cs-cro-intro {
  margin: 30px 0;
}

/* Feature items with icons */
.cs-feature-item {
  display: flex;
  padding: 15px 0;
  align-items: flex-start;
}

.cs-feature-icon {
  color: var(--color-primary);
  font-size: 50px;
  flex-shrink: 0;
  width: 50px;
  text-align: center;
}

.cs-feature-item p {
  padding-left: 30px;
}

.cs-impact-statement {
  font-size: 28px;
  text-align: center;
  margin-bottom: 25px;
  margin-top: 10px;
  font-weight: bold;
}

.cs-cta-btn {
  display: flex;
  width: fit-content;
  font-size: 20px !important;
}

/* Testimonial + Why It Worked */
.cs-testimonial-section {
  background: white;
  padding: 50px 0;
}

.cs-testimonial-card {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
  padding: 20px;
  text-align: center;
  margin: 35px 0;
  border-radius: 8px;
}

.cs-testimonial-img {
  width: 150px;
  border-radius: 50%;
}

.cs-testimonial-author {
  color: var(--color-text-muted);
  margin: 15px 0 20px;
}

.cs-testimonial-quote {
  font-weight: 500;
  font-size: 22px;
}

/* Book a Demo */
.cs-demo-section {
  background: linear-gradient(to bottom, #e8eefe, #e8eefe);
  display: flex;
  justify-content: center;
  padding: 50px 20px;
}

.cs-demo-card {
  display: flex;
  width: 90%;
  max-width: 900px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
}

.cs-demo-content {
  background-color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.cs-demo-title {
  font-size: 28px;
  line-height: 28px;
  color: black;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
}

.cs-demo-text {
  font-size: 20px;
  color: black;
  margin-bottom: 20px;
}

.cs-demo-image {
  flex: 1;
}

.cs-demo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .cs-banner-img {
    aspect-ratio: 2 !important;
  }

  .cs-challenge-card {
    margin-top: -12%;
  }

  .cs-challenge-title {
    font-size: 28px;
    line-height: 32px;
  }

  .cs-stats-row {
    flex-wrap: wrap;
  }

  .cs-stats-row .cs-stat-card {
    width: 100% !important;
    margin-bottom: 15px;
  }

  .cs-impact-statement {
    font-size: 22px;
  }

  .cs-demo-card {
    flex-direction: column;
  }

  .cs-demo-image img {
    border-top-right-radius: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
}

/* ───────────────────────────────────────────────
   Case Study — General Mills (.rev-cs scoped)
   Brand palette: navy #010025 / blue #1D56F7 / white
   ─────────────────────────────────────────────── */

/* Defensive reset: neutralize inherited host styles */
.rev-cs,
.rev-cs *,
.rev-cs *::before,
.rev-cs *::after {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
  text-align: left !important;
  text-transform: none !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  line-height: 1.6 !important;
  font-style: normal !important;
  font-weight: 400;
  list-style: none !important;
  vertical-align: baseline;
  float: none !important;
  box-shadow: none;
  text-shadow: none !important;
  color: inherit;
  max-width: none;
  min-width: 0;
  width: auto;
}

.rev-cs {
  --navy: var(--color-dark);
  --blue: var(--color-primary);
  --white: var(--color-white);
  --off: var(--color-bg-off);
  --tint: var(--color-bg-tint);
  --ink: var(--color-text);
  --muted-light: var(--color-text-secondary);
  --muted-navy: var(--color-text-muted-inv);
  --line-navy: var(--color-line-inv);
  --line-light: var(--color-line);

  display: block !important;
  color: var(--ink) !important;
  background: var(--white) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.rev-cs h1,
.rev-cs h2,
.rev-cs h3,
.rev-cs .display {
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.04 !important;
  color: inherit;
}

.rev-cs section {
  display: block !important;
}

.rev-cs .wrap {
  display: block !important;
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 32px !important;
}

/* Hero */
.rev-cs .hero {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 88px 0 96px !important;
  position: relative !important;
  overflow: hidden !important;
  text-align: center !important;
}

.rev-cs .hero::after {
  content: '' !important;
  position: absolute !important;
  right: -160px;
  top: -160px;
  width: 520px !important;
  height: 520px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(29, 86, 247, 0.35) 0%, rgba(29, 86, 247, 0) 70%) !important;
  pointer-events: none !important;
}

.rev-cs .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--muted-navy) !important;
}

.rev-cs .eyebrow .dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: var(--blue) !important;
}

.rev-cs .client-label {
  font-weight: 800 !important;
  font-size: 15px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  border: 1px solid var(--line-navy) !important;
  border-radius: 8px !important;
  padding: 12px 18px !important;
  display: inline-block !important;
  margin: 28px 0 34px !important;
}

.rev-cs .hero h1 {
  font-size: clamp(38px, 6.2vw, 76px) !important;
  max-width: 28ch !important;
  margin: 0 auto !important;
  text-align: center !important;
  color: var(--white) !important;
}

.rev-cs .hero h1 em {
  font-style: normal !important;
  color: var(--blue) !important;
}

.rev-cs .hero-sub {
  margin: 28px auto 0 !important;
  max-width: 74ch !important;
  font-size: clamp(17px, 2vw, 20px) !important;
  line-height: 1.6 !important;
  color: var(--muted-navy) !important;
  position: relative !important;
  z-index: 1 !important;
  text-align: center !important;
}

/* Results band */
.rev-cs .results {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 8px 0 !important;
}

.rev-cs .results-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
}

.rev-cs .stat {
  padding: 64px 40px !important;
  border-right: 1px solid rgba(255, 255, 255, 0.16) !important;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-align: center !important;
}

.rev-cs .stat:last-child {
  border-right: 0 !important;
}

.rev-cs .stat.in {
  opacity: 1 !important;
  transform: none !important;
}

.rev-cs .stat .num {
  font-weight: 900 !important;
  font-size: clamp(56px, 8vw, 92px) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.03em !important;
  color: var(--white) !important;
  text-align: center !important;
}

.rev-cs .stat .num small {
  font-size: 0.42em !important;
  font-weight: 800 !important;
  vertical-align: super;
  margin-left: 2px !important;
  line-height: 1 !important;
}

.rev-cs .stat .desc {
  margin: 20px auto 0 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 30ch !important;
  text-align: center !important;
}

/* Media */
.rev-cs .video-sec {
  background: var(--navy) !important;
  padding: 96px 0 !important;
}

.rev-cs .video-frame {
  position: relative !important;
  width: 100% !important;
  line-height: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7) !important;
  border: 1px solid var(--line-navy) !important;
}

.rev-cs .video-frame img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border: 0 !important;
}

/* Narrative */
.rev-cs .story {
  background: var(--off) !important;
  padding: 100px 0 !important;
}

.rev-cs .story-head {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--blue) !important;
  margin-bottom: 20px !important;
}

.rev-cs .story h2 {
  font-size: clamp(28px, 4vw, 42px) !important;
  max-width: 20ch !important;
  margin-bottom: 40px !important;
  color: var(--ink) !important;
}

.rev-cs .story-cols {
  display: block !important;
  max-width: 68ch !important;
}

.rev-cs .story-cols p {
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: var(--muted-light) !important;
}

.rev-cs .story-cols p strong {
  color: var(--ink) !important;
  font-weight: 600 !important;
}

.rev-cs .platforms {
  margin-top: 56px !important;
  padding-top: 40px !important;
  border-top: 1px solid var(--line-light) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px 12px !important;
  align-items: center !important;
}

.rev-cs .platforms .lbl {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--muted-light) !important;
  margin-right: 8px !important;
}

.rev-cs .chip {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  background: var(--white) !important;
  border: 1px solid var(--line-light) !important;
  border-radius: 999px !important;
  padding: 8px 18px !important;
}

/* CTA */
.rev-cs .cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 100px 0 !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.rev-cs .cta::before {
  content: '' !important;
  position: absolute !important;
  left: 50% !important;
  top: -220px;
  transform: translateX(-50%) !important;
  width: 700px !important;
  height: 500px !important;
  background: radial-gradient(ellipse, rgba(29, 86, 247, 0.4) 0%, rgba(29, 86, 247, 0) 65%) !important;
  pointer-events: none !important;
}

.rev-cs .cta .wrap {
  text-align: center !important;
}

.rev-cs .cta h2 {
  font-size: clamp(30px, 5vw, 52px) !important;
  max-width: 18ch !important;
  margin: 0 auto 24px !important;
  position: relative !important;
  text-align: center !important;
  color: var(--white) !important;
}

.rev-cs .cta p {
  color: var(--muted-navy) !important;
  max-width: 46ch !important;
  margin: 0 auto 40px !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  position: relative !important;
  text-align: center !important;
}

.rev-cs .btn {
  display: inline-block !important;
  background: var(--blue) !important;
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  font-family: var(--font-body) !important;
  padding: 18px 40px !important;
  border-radius: 999px !important;
  position: relative !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
  box-shadow: 0 16px 40px -12px rgba(29, 86, 247, 0.7) !important;
}

.rev-cs .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 50px -12px rgba(29, 86, 247, 0.85) !important;
}

/* Responsive */
@media (max-width: 860px) {
  .rev-cs .results-grid {
    grid-template-columns: 1fr !important;
  }

  .rev-cs .stat {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
    padding: 48px 28px !important;
  }

  .rev-cs .stat:last-child {
    border-bottom: 0 !important;
  }

  .rev-cs .story-cols {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

@media (max-width: 560px) {
  .rev-cs .wrap {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .rev-cs .hero {
    padding: 60px 0 66px !important;
  }

  .rev-cs .video-sec,
  .rev-cs .story,
  .rev-cs .cta {
    padding: 64px 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rev-cs .stat {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .rev-cs .btn:hover {
    transform: none !important;
  }
}

/* ───────────────────────────────────────────────
   Case Study — Frito-Lay (#rev-case-fl scoped)
   Palette: navy #010025 / blue #1D56F7 / white
   ─────────────────────────────────────────────── */

/* Scoped reset */
#rev-case-fl,
#rev-case-fl *,
#rev-case-fl *::before,
#rev-case-fl *::after {
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border: 0 !important;
  float: none !important;
  text-indent: 0 !important;
  text-decoration: none !important;
  list-style: none !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: optimizeLegibility !important;
}

#rev-case-fl {
  --rev-navy: var(--color-dark);
  --rev-navy-2: #0a0a3a;
  --rev-blue: var(--color-primary);
  --rev-white: var(--color-white);
  --rev-mist: var(--color-bg-off);
  --rev-line: var(--color-line-inv);
  --rev-ink: var(--color-text);
  --rev-slate: var(--color-text-secondary);

  display: block !important;
  width: 100% !important;
  background: var(--rev-white) !important;
  color: var(--rev-ink) !important;
  line-height: 1.5 !important;
  font-size: 16px !important;
  text-align: left !important;
  overflow-x: hidden !important;
}

#rev-case-fl a {
  text-decoration: none !important;
  color: inherit !important;
}

#rev-case-fl img,
#rev-case-fl svg,
#rev-case-fl iframe {
  display: block !important;
  max-width: 100% !important;
}

#rev-case-fl .rev-wrap {
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  text-align: left !important;
}

#rev-case-fl .rev-hero .rev-wrap,
#rev-case-fl .rev-media-sec .rev-wrap,
#rev-case-fl .rev-stats-sec .rev-wrap,
#rev-case-fl .rev-related .rev-wrap {
  text-align: left !important;
}

#rev-case-fl .rev-cta .rev-wrap {
  text-align: center !important;
}

/* Hero (left-aligned) */
#rev-case-fl .rev-hero {
  background:
    radial-gradient(1200px 500px at 78% -10%, rgba(29, 86, 247, 0.28), transparent 60%),
    var(--rev-navy) !important;
  color: var(--rev-white) !important;
  padding: 84px 0 96px !important;
  position: relative !important;
  text-align: left !important;
}

#rev-case-fl .rev-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  color: var(--rev-blue) !important;
  margin-bottom: 22px !important;
}

#rev-case-fl .rev-eyebrow::before {
  content: '' !important;
  display: inline-block !important;
  width: 26px !important;
  height: 2px !important;
  background: var(--rev-blue) !important;
}

#rev-case-fl .rev-h1 {
  font-size: clamp(34px, 5vw, 58px) !important;
  font-weight: 800 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.025em !important;
  text-align: left !important;
  color: var(--rev-white) !important;
  max-width: 16ch !important;
  margin: 0 0 28px 0 !important;
}

#rev-case-fl .rev-lede {
  font-size: clamp(16px, 1.4vw, 19px) !important;
  line-height: 1.7 !important;
  text-align: left !important;
  color: rgba(255, 255, 255, 0.82) !important;
  max-width: 68ch !important;
}

#rev-case-fl .rev-lede strong {
  color: var(--rev-white) !important;
  font-weight: 600 !important;
}

/* Media */
#rev-case-fl .rev-media-sec {
  background: var(--rev-white) !important;
  padding: 0 !important;
}

#rev-case-fl .rev-media {
  margin: -56px 0 0 0 !important;
  position: relative !important;
  z-index: 2 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 30px 70px -30px rgba(1, 0, 37, 0.55) !important;
  aspect-ratio: 16 / 9 !important;
  background:
    radial-gradient(600px 300px at 50% 40%, rgba(29, 86, 247, 0.35), transparent 70%),
    var(--rev-navy-2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#rev-case-fl .rev-media-thumb {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Stats (centered) */
#rev-case-fl .rev-stats-sec {
  background: var(--rev-white) !important;
  padding: 88px 0 !important;
}

#rev-case-fl .rev-stats-head {
  text-align: center !important;
  margin: 0 0 52px 0 !important;
}

#rev-case-fl .rev-stats-head .rev-kicker {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  color: var(--rev-blue) !important;
  margin: 0 0 12px 0 !important;
}

#rev-case-fl .rev-stats-head h2 {
  font-size: clamp(24px, 3vw, 34px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  text-align: center !important;
  color: var(--rev-navy) !important;
}

#rev-case-fl .rev-stats {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
}

#rev-case-fl .rev-stat {
  background: var(--rev-mist) !important;
  border: 1px solid rgba(1, 0, 37, 0.06) !important;
  border-radius: 16px !important;
  padding: 34px 24px !important;
  text-align: center !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#rev-case-fl .rev-stat:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 22px 48px -26px rgba(1, 0, 37, 0.4) !important;
}

#rev-case-fl .rev-stat-num {
  font-size: clamp(40px, 4.4vw, 56px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
  text-align: center !important;
  color: var(--rev-blue) !important;
  margin: 0 0 14px 0 !important;
}

#rev-case-fl .rev-stat-label {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  color: var(--rev-slate) !important;
}

#rev-case-fl .rev-stat-sub {
  display: block !important;
  margin: 8px 0 0 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  color: var(--rev-navy) !important;
}

/* CTA band (centered) */
#rev-case-fl .rev-cta {
  background:
    radial-gradient(900px 400px at 20% 120%, rgba(29, 86, 247, 0.3), transparent 60%),
    var(--rev-navy) !important;
  color: var(--rev-white) !important;
  padding: 76px 0 !important;
  text-align: center !important;
}

#rev-case-fl .rev-cta h2 {
  font-size: clamp(26px, 3.4vw, 40px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  text-align: center !important;
  color: var(--rev-white) !important;
  max-width: 20ch !important;
  margin: 0 auto 14px auto !important;
}

#rev-case-fl .rev-cta p {
  font-size: 17px !important;
  text-align: center !important;
  color: rgba(255, 255, 255, 0.78) !important;
  max-width: 54ch !important;
  margin: 0 auto 30px auto !important;
}

#rev-case-fl .rev-cta-btn {
  display: block !important;
  width: fit-content !important;
  background: var(--rev-blue) !important;
  color: var(--rev-white) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-align: center !important;
  padding: 16px 40px !important;
  margin: 0 auto !important;
  border-radius: 999px !important;
  transition: transform 0.18s ease, filter 0.18s ease !important;
}

#rev-case-fl .rev-cta-btn:hover {
  filter: brightness(1.1) !important;
  transform: translateY(-2px) !important;
}

#rev-case-fl .rev-hero-btn {
  margin: 32px auto 0 0 !important;
  align-self: flex-start !important;
}

/* Related (left-aligned) */
#rev-case-fl .rev-related {
  background: var(--rev-white) !important;
  padding: 76px 0 90px !important;
}

#rev-case-fl .rev-related h3 {
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  color: var(--rev-slate) !important;
  margin: 0 0 26px 0 !important;
}

#rev-case-fl .rev-cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 22px !important;
}

#rev-case-fl .rev-card {
  border: 1px solid rgba(1, 0, 37, 0.08) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#rev-case-fl .rev-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 22px 48px -28px rgba(1, 0, 37, 0.4) !important;
}

#rev-case-fl .rev-card-img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  background: var(--rev-mist) !important;
}

#rev-case-fl .rev-card-body {
  padding: 20px !important;
  background: var(--rev-white) !important;
  text-align: left !important;
}

#rev-case-fl .rev-card-tag {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  color: var(--rev-blue) !important;
  margin: 0 0 8px 0 !important;
}

#rev-case-fl .rev-card-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  color: var(--rev-navy) !important;
}

/* Responsive */
@media (max-width: 900px) {
  #rev-case-fl .rev-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  #rev-case-fl .rev-cards {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  #rev-case-fl .rev-hero {
    padding: 60px 0 72px !important;
  }

  #rev-case-fl .rev-stats {
    grid-template-columns: 1fr !important;
  }

  #rev-case-fl .rev-stats-sec {
    padding: 60px 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #rev-case-fl *,
  #rev-case-fl *::before,
  #rev-case-fl *::after {
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Revmatics × DataFeedWatch Landing Page (#rvm scoped)
   Palette: navy #010025 / blue #1D56F7 / white
   ═══════════════════════════════════════════════════════════════ */

/* --- Variables & reset --- */
#rvm {
  --navy: var(--color-dark);
  --navy-2: #0a0a32;
  --navy-3: #11114a;
  --blue: var(--color-primary);
  --blue-2: #3b63ff;
  --blue-soft: var(--color-bg-tint);
  --blue-line: #d4ddff;
  --ink: var(--color-text);
  --text: var(--color-text);
  --muted: var(--color-text-muted);
  --lav: var(--color-bg-light);
  --paper: var(--color-white);
  --paper-2: #f5f6fd;
  --line: var(--color-line);
  --text-inv: var(--color-text-inv);
  --muted-inv: #a6acce;
  --line-inv: #23264f;
  --ok: #36c98e;
  --maxw: 1180px;
  --fd: var(--font-heading);
  --fb: var(--font-body);
}

#rvm,
#rvm * {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  float: none !important;
}

#rvm {
  font-family: var(--fb) !important;
  background: var(--paper) !important;
  color: var(--text) !important;
  line-height: 1.6 !important;
  -webkit-font-smoothing: antialiased !important;
  text-align: left !important;
}

#rvm a {
  color: inherit !important;
  text-decoration: none !important;
}

#rvm .wrap {
  width: 100% !important;
  max-width: var(--maxw) !important;
  margin: 0 auto !important;
  padding: 0 28px !important;
  box-sizing: border-box !important;
}

/* --- Eyebrow --- */
#rvm .eyebrow {
  font-family: var(--fd) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--blue) !important;
}

#rvm .eyebrow-b2 {
  color: var(--blue-2) !important;
}

#rvm .eyebrow-ink {
  color: var(--ink) !important;
}

/* --- Buttons --- */
#rvm .btns {
  display: flex !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

#rvm .btn {
  font-family: var(--fd) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 14px 26px !important;
  border-radius: 100px !important;
  cursor: pointer !important;
  border: 1.5px solid transparent !important;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease !important;
  display: inline-block !important;
}

#rvm .btn-primary {
  background: var(--blue) !important;
  color: #fff !important;
  box-shadow: 0 10px 30px -10px rgba(29, 86, 247, 0.7) !important;
}

#rvm .btn-primary:hover {
  transform: translateY(-2px) !important;
  background: var(--blue-2) !important;
  box-shadow: 0 16px 38px -10px rgba(29, 86, 247, 0.85) !important;
}

#rvm .btn-ghost-d {
  border-color: var(--line-inv) !important;
  color: var(--text-inv) !important;
}

#rvm .btn-ghost-d:hover {
  border-color: var(--muted-inv) !important;
  transform: translateY(-2px) !important;
}

#rvm .btn-ghost-l {
  border-color: var(--line) !important;
  color: var(--ink) !important;
}

#rvm .btn-ghost-l:hover {
  border-color: var(--muted) !important;
  transform: translateY(-2px) !important;
}

/* --- Reveal animation --- */
#rvm .reveal {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  transition: opacity 0.7s ease, transform 0.7s ease !important;
}

#rvm .reveal.in {
  opacity: 1 !important;
  transform: none !important;
}

#rvm .d1 { transition-delay: 0.06s !important; }
#rvm .d2 { transition-delay: 0.14s !important; }
#rvm .d3 { transition-delay: 0.22s !important; }
#rvm .d4 { transition-delay: 0.3s !important; }
#rvm .d5 { transition-delay: 0.38s !important; }

/* --- Nav --- */
#rvm .nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 50 !important;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease !important;
  border-bottom: 1px solid transparent !important;
}

#rvm .nav.scrolled {
  background: rgba(1, 0, 37, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--line-inv) !important;
}

#rvm .nav-in {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: var(--maxw) !important;
  margin: 0 auto !important;
  padding: 16px 28px !important;
  box-sizing: border-box !important;
}

#rvm .logo-rev {
  height: 26px !important;
  width: auto !important;
  border-radius: 0 !important;
  filter: brightness(0) invert(1) !important;
}

#rvm .nav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-right: auto !important;
}

#rvm .nav-plus {
  font-family: var(--fd) !important;
  font-weight: 600 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  color: var(--muted-inv) !important;
}

#rvm .logo-dfw {
  height: 24px !important;
  width: auto !important;
  border-radius: 0 !important;
  filter: brightness(0) invert(1) !important;
}

#rvm .nav-cta {
  flex: none !important;
  font-family: var(--fd) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #fff !important;
  background: var(--blue) !important;
  padding: 10px 22px !important;
  border-radius: 100px !important;
  transition: transform 0.15s ease, background 0.2s ease !important;
}

#rvm .nav-cta:hover {
  transform: translateY(-1px) !important;
  background: var(--blue-2) !important;
}

/* --- Hero --- */
#rvm .hero {
  position: relative !important;
  background: var(--navy) !important;
  color: var(--text-inv) !important;
  min-height: auto !important;
  display: flex !important;
  align-items: center !important;
  padding: 104px 0 76px !important;
  overflow: hidden !important;
}

#rvm .glow {
  position: absolute !important;
  border-radius: 50% !important;
  filter: blur(20px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

#rvm .glow-a {
  width: 70vw !important;
  height: 70vw !important;
  left: -25vw !important;
  bottom: -30vw !important;
  background: radial-gradient(circle at center, rgba(29, 86, 247, 0.55), rgba(29, 86, 247, 0) 60%) !important;
}

#rvm .glow-b {
  width: 55vw !important;
  height: 55vw !important;
  right: -20vw !important;
  top: -25vw !important;
  background: radial-gradient(circle at center, rgba(59, 99, 255, 0.3), rgba(59, 99, 255, 0) 60%) !important;
}

#rvm .hero-inner {
  position: relative !important;
  z-index: 3 !important;
  width: 100% !important;
}

#rvm .hero-content {
  max-width: 900px !important;
}

#rvm .hero-grid {
  display: block !important;
}

#rvm .hero h1 {
  font-family: var(--fd) !important;
  font-weight: 700 !important;
  font-size: clamp(40px, 6vw, 72px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 22px !important;
}

#rvm .hero h1 .accent {
  color: var(--blue-2) !important;
}

#rvm .hero h1 .h1-a {
  display: block !important;
  font-weight: 500 !important;
}

#rvm .hero h1 .h1-b {
  display: block !important;
  font-weight: 800 !important;
}

#rvm .hero p.sub {
  font-size: clamp(17px, 2vw, 20px) !important;
  color: var(--muted-inv) !important;
  max-width: 720px !important;
  margin-bottom: 34px !important;
}

#rvm .hero .micro {
  margin-top: 20px !important;
  font-size: 13px !important;
  color: var(--muted-inv) !important;
}

/* --- Ticker --- */
#rvm .ticker {
  background: var(--navy-2) !important;
  color: var(--muted-inv) !important;
  border-top: 1px solid var(--line-inv) !important;
  border-bottom: 1px solid var(--line-inv) !important;
  overflow: hidden !important;
  padding: 18px 0 !important;
  display: flex !important;
  align-items: center !important;
}

#rvm .ticker-label {
  flex: none !important;
  font-family: var(--fd) !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--blue-2) !important;
  padding: 0 26px !important;
  white-space: nowrap !important;
}

#rvm .ticker-viewport {
  flex: 1 !important;
  overflow: hidden !important;
}

#rvm .ticker-track {
  display: inline-flex !important;
  align-items: center !important;
  animation: rvm-scroll 38s linear infinite !important;
  white-space: nowrap !important;
}

#rvm .ticker-track img.chan {
  width: auto !important;
  height: 30px !important;
  border-radius: 0 !important;
  margin: 0 26px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

@keyframes rvm-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Stats --- */
#rvm .stats {
  background: var(--navy) !important;
  color: var(--text-inv) !important;
  padding: 52px 0 !important;
}

#rvm .stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 30px !important;
}

#rvm .stat4 .num-x {
  font-family: var(--fd) !important;
  font-weight: 700 !important;
  font-size: clamp(32px, 4.4vw, 50px) !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
}

#rvm .stat4 .num-x .u {
  color: var(--blue-2) !important;
}

#rvm .stat4 .lbl {
  margin-top: 12px !important;
  font-size: 14px !important;
  color: var(--muted-inv) !important;
  line-height: 1.4 !important;
}

/* --- Sections --- */
#rvm .sec {
  padding: 104px 0 !important;
}

#rvm .sec h2 {
  font-family: var(--fd) !important;
  font-weight: 700 !important;
  font-size: clamp(30px, 4.2vw, 48px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  color: var(--ink) !important;
}

#rvm .sec-head {
  max-width: 680px !important;
  margin-bottom: 48px !important;
}

#rvm .sec-head .eyebrow {
  display: block !important;
  margin-bottom: 16px !important;
}

#rvm .sec-head h2 {
  margin-bottom: 18px !important;
}

#rvm .sec-head p.lead {
  font-size: 18px !important;
  color: var(--muted) !important;
}

#rvm .sec.dark {
  background: var(--navy) !important;
  color: var(--text-inv) !important;
}

#rvm .sec.dark h2 {
  color: #fff !important;
}

#rvm .sec.lav {
  background: var(--lav) !important;
}

#rvm .center {
  text-align: center !important;
}

#rvm .center .sec-head {
  margin-left: auto !important;
  margin-right: auto !important;
}

#rvm .sec h2 .h2-a {
  display: block !important;
  font-weight: 500 !important;
}

#rvm .sec h2 .h2-b {
  display: block !important;
  font-weight: 800 !important;
}

#rvm .gradword {
  color: var(--blue) !important;
}

#rvm .lead-inv {
  color: var(--muted-inv) !important;
}

/* --- Add grid (What Revmatics adds) --- */
#rvm .addgrid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 22px !important;
  margin-top: 8px !important;
}

#rvm .addcard {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  padding: 32px 30px 36px !important;
  box-shadow: 0 18px 44px -36px rgba(13, 13, 51, 0.45) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#rvm .addcard:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 28px 56px -34px rgba(13, 13, 51, 0.5) !important;
}

#rvm .addcard h3 {
  font-family: var(--fd) !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  color: var(--ink) !important;
  margin-bottom: 10px !important;
}

#rvm .addcard p {
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

#rvm .addcard-imgtop {
  padding: 0 !important;
  overflow: hidden !important;
}

#rvm .addcard-img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 2 / 1 !important;
  object-fit: contain !important;
  background: #fff !important;
  border-bottom: 1px solid var(--line) !important;
}

#rvm .addcard-body {
  padding: 32px 30px 36px !important;
}

#rvm .add-cta {
  text-align: center !important;
  margin-top: 44px !important;
}

/* --- Feature sections --- */
#rvm .feature {
  padding: 104px 0 !important;
}

#rvm .feature.dark {
  background: var(--navy) !important;
  color: var(--text-inv) !important;
}

#rvm .feature.lav {
  background: var(--lav) !important;
}

#rvm .feature-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 60px !important;
  align-items: center !important;
}

#rvm .feature-grid.flip .ftext {
  order: 2 !important;
}

#rvm .ftext .eyebrow {
  display: block !important;
  margin-bottom: 14px !important;
}

#rvm .feature h2 {
  font-family: var(--fd) !important;
  font-weight: 700 !important;
  font-size: clamp(28px, 3.6vw, 44px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 16px !important;
  color: var(--ink) !important;
}

#rvm .feature.dark h2 {
  color: #fff !important;
}

#rvm .feature p.flead {
  font-size: 17.5px !important;
  margin-bottom: 8px !important;
}

#rvm .feature.dark p.flead {
  color: var(--muted-inv) !important;
}

#rvm .feature.lav p.flead {
  color: var(--muted) !important;
}

#rvm .benefits {
  list-style: none !important;
  margin: 24px 0 32px !important;
  display: grid !important;
  gap: 14px !important;
}

#rvm .benefits li {
  display: flex !important;
  gap: 13px !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

#rvm .benefits .tk {
  flex: none !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 4px !important;
  display: grid !important;
  place-items: center !important;
  font-size: 12px !important;
  margin-top: 2px !important;
  background: var(--lav) !important;
  color: var(--blue) !important;
}

#rvm .feature.dark .benefits li {
  color: var(--text-inv) !important;
}

#rvm .feature.lav .benefits li {
  color: var(--ink) !important;
}

#rvm .shot {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 6px !important;
}

#rvm .shot-cro {
  box-shadow: 0 30px 70px -34px rgba(29, 86, 247, 0.6) !important;
  border: 1px solid var(--line-inv) !important;
}

#rvm .shot-retail {
  box-shadow: 0 30px 70px -34px rgba(13, 13, 51, 0.35) !important;
  border: 1px solid var(--line) !important;
}

/* --- Suite cards --- */
#rvm .cards {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 18px !important;
}

#rvm .card {
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--line-inv) !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)) !important;
  transition: border-color 0.25s ease, transform 0.25s ease !important;
}

#rvm .card-img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  border-bottom: 1px solid var(--line-inv) !important;
}

#rvm .card-body {
  padding: 24px 28px 28px !important;
}

#rvm .card:hover {
  border-color: var(--blue) !important;
  transform: translateY(-3px) !important;
}

#rvm .card h3 {
  font-family: var(--fd) !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  letter-spacing: -0.01em !important;
  color: #fff !important;
}

#rvm .card h3 .idx {
  color: var(--blue-2) !important;
  font-weight: 700 !important;
  margin-right: 10px !important;
}

#rvm .card p {
  color: var(--muted-inv) !important;
  font-size: 14.5px !important;
}

/* --- Case studies --- */
#rvm .case-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 26px !important;
  margin-top: 8px !important;
}

#rvm .case {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  box-shadow: 0 26px 60px -38px rgba(13, 13, 51, 0.4) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#rvm .case:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 34px 70px -34px rgba(13, 13, 51, 0.45) !important;
}

#rvm .case .cimg {
  width: 100% !important;
  aspect-ratio: 16 / 11 !important;
  border: none !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  display: block !important;
}

#rvm .case .cbody {
  padding: 24px 24px 28px !important;
  text-align: left !important;
}

#rvm .cbody,
#rvm .cbody * {
  text-align: left !important;
}

#rvm .case .cq {
  font-family: var(--fb) !important;
  font-weight: 600 !important;
  font-size: 19px !important;
  color: var(--ink) !important;
  line-height: 1.34 !important;
  letter-spacing: -0.005em !important;
}

#rvm .case .cbrand {
  margin-top: 10px !important;
  font-size: 14.5px !important;
  color: var(--muted) !important;
}

#rvm .case .clink {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin-top: 16px !important;
  font-family: var(--fd) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  color: var(--blue) !important;
}

#rvm .case .clink .arr {
  transition: transform 0.2s ease !important;
}

#rvm .case:hover .clink .arr {
  transform: translateX(4px) !important;
}

/* --- Testimonials panel --- */
#rvm .tpanel {
  max-width: var(--maxw) !important;
  margin: 0 auto !important;
  background: #fff !important;
  border-radius: 6px !important;
  padding: 64px 56px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 48px !important;
  align-items: center !important;
}

#rvm .tpanel .eyebrow {
  display: block !important;
  margin-bottom: 16px !important;
}

#rvm .sec.dark .tpanel h2 {
  font-family: var(--fd) !important;
  font-weight: 700 !important;
  font-size: clamp(32px, 4vw, 50px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  color: var(--ink) !important;
  margin-bottom: 18px !important;
}

#rvm .tpanel p.lead {
  font-size: 17px !important;
  color: var(--muted) !important;
}

#rvm .tcarousel {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
}

#rvm .tarrow {
  flex: none !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  background: #4a4f6e !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 22px !important;
  display: grid !important;
  place-items: center !important;
  transition: background 0.2s ease, transform 0.15s ease !important;
}

#rvm .tarrow:hover {
  background: var(--navy) !important;
  transform: scale(1.05) !important;
}

#rvm .tcard {
  flex: 1 !important;
  background: var(--blue) !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 38px 34px !important;
  min-height: 300px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

#rvm .tcard .tq {
  font-family: var(--fd) !important;
  font-weight: 500 !important;
  font-size: 19px !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

#rvm .tcard .tfoot {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-top: 28px !important;
}

#rvm .avatar {
  flex: none !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

#rvm .tcard .tfoot .avatar {
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
}

#rvm .tcard .tname {
  font-family: var(--fd) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
}

#rvm .tcard .trole {
  font-size: 13.5px !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

/* --- Paths (Get started) --- */
#rvm .paths {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  margin-top: 8px !important;
}

#rvm .path {
  display: flex !important;
  flex-direction: column !important;
  padding: 32px 28px !important;
  border-radius: 6px !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-top: 3px solid var(--blue) !important;
  box-shadow: 0 18px 44px -34px rgba(13, 13, 51, 0.4) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#rvm .path:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 28px 56px -32px rgba(13, 13, 51, 0.45) !important;
}

#rvm .path h3 {
  font-family: var(--fd) !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  letter-spacing: -0.01em !important;
  color: var(--ink) !important;
}

#rvm .path p {
  color: var(--muted) !important;
  font-size: 15px !important;
  margin-bottom: 22px !important;
  flex: 1 !important;
}

#rvm .plink {
  font-family: var(--fd) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  color: var(--blue) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}

#rvm .plink .arr {
  transition: transform 0.2s ease !important;
}

#rvm .path:hover .plink .arr {
  transform: translateX(4px) !important;
}

/* --- CTA --- */
#rvm .cta {
  background: var(--lav) !important;
  text-align: center !important;
}

#rvm .cta-box {
  max-width: 840px !important;
  margin: 0 auto !important;
  padding: 64px 40px !important;
  border-radius: 6px !important;
  background: var(--navy) !important;
  color: var(--text-inv) !important;
  position: relative !important;
  overflow: hidden !important;
}

#rvm .cta-box .glow-a {
  width: 60vw !important;
  height: 60vw !important;
  left: -15vw !important;
  bottom: -30vw !important;
  opacity: 0.7 !important;
}

#rvm .cta-box .inner {
  position: relative !important;
  z-index: 3 !important;
}

#rvm .cta-box h2 {
  font-family: var(--fd) !important;
  font-weight: 700 !important;
  font-size: clamp(30px, 3.8vw, 46px) !important;
  letter-spacing: -0.02em !important;
  line-height: 1.08 !important;
  margin-bottom: 16px !important;
  color: #fff !important;
}

#rvm .cta-box p {
  color: var(--muted-inv) !important;
  font-size: 17px !important;
  max-width: 520px !important;
  margin: 0 auto 30px !important;
}

#rvm .cta-box .btns {
  justify-content: center !important;
}

/* Centered text elements */
#rvm .center,
#rvm .center .sec-head,
#rvm .cta,
#rvm .cta-box,
#rvm .cta-box h2,
#rvm .cta-box p,
#rvm .tcard .tq {
  text-align: center !important;
}

/* --- Responsive --- */
@media (max-width: 880px) {
  #rvm .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 34px 24px !important;
  }

  #rvm .cards,
  #rvm .case-grid,
  #rvm .paths,
  #rvm .addgrid {
    grid-template-columns: 1fr !important;
  }

  #rvm .feature-grid,
  #rvm .tpanel {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  #rvm .feature-grid.flip .ftext {
    order: 0 !important;
  }

  #rvm .tpanel {
    padding: 44px 28px !important;
  }

  #rvm .tcarousel {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
  }

  #rvm .tcard {
    order: -1 !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    min-height: auto !important;
    padding: 34px 26px !important;
  }

  #rvm .tarrow {
    order: 0 !important;
    width: 48px !important;
    height: 48px !important;
  }
}

@media (max-width: 768px) {
  #rvm .nav-plus,
  #rvm .logo-dfw {
    display: none !important;
  }

  #rvm .ticker {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  #rvm .ticker-label {
    padding: 0 20px !important;
  }

  #rvm .ticker-viewport {
    width: 100% !important;
  }
}

@media (max-width: 560px) {
  #rvm .hero {
    padding: 88px 0 56px !important;
  }

  #rvm .sec {
    padding: 80px 0 !important;
  }

  #rvm .nav-in {
    padding: 14px 18px !important;
  }

  #rvm .logo-rev {
    height: 24px !important;
  }

  #rvm .nav-cta {
    padding: 9px 18px !important;
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #rvm,
  #rvm * {
    animation: none !important;
    scroll-behavior: auto !important;
  }

  #rvm .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Agency Landing Page (#ag-landing scoped)
   Fonts: Lexend + Inter (via global tokens)
   ═══════════════════════════════════════════════════════════════ */

#ag-landing {
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

#ag-landing *,
#ag-landing *::before,
#ag-landing *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Section inner container --- */
#ag-landing .ag-section-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 40px;
}

/* --- Typography --- */
#ag-landing .ag-heading-lg {
  font-weight: 800;
  font-size: 44px;
  line-height: 1.2;
  color: var(--color-dark);
  margin-top: 0;
  margin-bottom: 20px;
  text-align: left;
}

#ag-landing .ag-heading-card {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-dark);
  text-align: left;
  margin-top: 0;
  margin-bottom: 14px;
}

#ag-landing .ag-text-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-muted);
  text-align: left;
  margin: 0;
}

#ag-landing .ag-text-sm {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-muted);
  text-align: left;
  margin: 0;
}

#ag-landing .ag-text-footer {
  font-size: 17px;
  line-height: 1.7;
  font-style: italic;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

#ag-landing .ag-text-center {
  text-align: center;
}

#ag-landing .ag-mb-40 {
  margin-bottom: 40px;
}

#ag-landing .ag-mb-50 {
  margin-bottom: 50px;
}

/* --- Shared card --- */
#ag-landing .ag-card {
  background-color: var(--color-white);
  border: 1px solid #e2e2ea;
  border-radius: 12px;
  padding: 32px 28px;
  text-align: left;
}

/* --- Split header --- */
#ag-landing .ag-split-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 40px;
}

#ag-landing .ag-split-header .ag-heading-lg {
  max-width: 500px;
  flex-shrink: 0;
  margin: 0;
}

#ag-landing .ag-split-header .ag-text-body {
  max-width: 500px;
  padding-top: 8px;
}

/* --- Buttons --- */
#ag-landing .ag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

#ag-landing .ag-btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

#ag-landing .ag-btn--primary:hover {
  background-color: #1545d4;
  border-color: #1545d4;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 86, 247, 0.4);
}

#ag-landing .ag-btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

#ag-landing .ag-btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* --- Hero --- */
#ag-landing .ag-hero {
  background-color: var(--color-dark);
  text-align: left;
}

#ag-landing .ag-hero .ag-section-inner {
  padding: 80px 40px 60px;
  display: flex;
  align-items: center;
  gap: 60px;
}

#ag-landing .ag-hero-visual {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ag-landing .ag-hero-img {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
}

#ag-landing .ag-hero-content {
  flex: 1;
  text-align: left;
}

#ag-landing .ag-hero-content h1 {
  font-weight: 800;
  font-size: 52px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 0 28px;
  color: var(--color-white);
  text-align: left;
  animation: ag-fadeInUp 0.7s ease forwards;
}

#ag-landing .ag-hero-content p {
  font-size: 17px;
  line-height: 1.7;
  color: #b0b3c5;
  margin: 0 0 40px;
  max-width: 540px;
  text-align: left;
  animation: ag-fadeInUp 0.7s 0.15s ease both;
}

#ag-landing .ag-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: ag-fadeInUp 0.7s 0.3s ease both;
}

@keyframes ag-fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Logo Bar --- */
#ag-landing .ag-logo-bar {
  background-color: var(--color-dark);
}

#ag-landing .ag-logo-bar .ag-section-inner {
  padding: 50px 40px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

#ag-landing .ag-logo-item {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

#ag-landing .ag-logo-item img {
  height: 36px;
  width: auto;
}

#ag-landing .ag-logo-item:hover {
  opacity: 1;
}

/* --- Challenges --- */
#ag-landing .ag-challenges {
  background-color: #f8f8fa;
  text-align: center;
}

#ag-landing .ag-challenges .ag-section-inner {
  padding: 80px 40px;
}

#ag-landing .ag-challenges .ag-heading-lg {
  text-align: center;
}

#ag-landing .ag-challenges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

#ag-landing .ag-challenge-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ag-landing .ag-challenge-icon img {
  width: 48px;
  height: 48px;
}

/* --- Solutions --- */
#ag-landing .ag-solutions {
  background-color: #f8f8fa;
  text-align: left;
}

#ag-landing .ag-solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

#ag-landing .ag-solution-card {
  background-color: var(--color-white);
  border: 1px solid #e2e2ea;
  border-radius: 12px;
  padding: 36px 32px 0;
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#ag-landing .ag-solution-card .ag-heading-card {
  font-size: 22px;
  margin-bottom: 12px;
}

#ag-landing .ag-solution-card .ag-text-sm {
  margin-bottom: 24px;
}

#ag-landing .ag-solution-img {
  width: 100%;
  height: 280px;
  background-color: #eef0f5;
  border-radius: 8px 8px 0 0;
  margin-top: auto;
  overflow: hidden;
}

#ag-landing .ag-solution-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

/* --- CTA Banner --- */
#ag-landing .ag-cta-banner {
  background-color: var(--color-dark);
  text-align: center;
}

#ag-landing .ag-cta-banner .ag-section-inner {
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

#ag-landing .ag-cta-text {
  font-size: 16px;
  font-weight: 400;
  color: #b0b3c5;
  text-align: center;
}

#ag-landing .ag-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  background-color: var(--color-primary);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
}

#ag-landing .ag-cta-btn:hover {
  color: var(--color-white);
  background-color: #1545d4;
}

#ag-landing .ag-cta-link {
  font-size: 16px;
  font-weight: 500;
  color: #7b9aff;
  text-decoration: none;
}

#ag-landing .ag-cta-link:hover {
  color: #7b9aff;
  text-decoration: underline;
}

/* --- Use Cases --- */
#ag-landing .ag-use-cases {
  background-color: #f8f8fa;
  text-align: left;
}

#ag-landing .ag-use-cases-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

/* --- Proof --- */
#ag-landing .ag-proof {
  background-color: #f8f8fa;
  text-align: center;
}

#ag-landing .ag-proof-box {
  background-color: var(--color-dark);
  border-radius: 16px;
  padding: 60px 50px;
}

#ag-landing .ag-proof-box .ag-heading-lg {
  color: var(--color-white);
  text-align: center;
  margin-bottom: 12px;
}

#ag-landing .ag-proof-sub {
  color: var(--color-white);
  text-align: center;
  margin-bottom: 40px;
}

#ag-landing .ag-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

#ag-landing .ag-proof-card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
}

#ag-landing .ag-proof-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background-color: rgba(29, 86, 247, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ag-landing .ag-proof-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#ag-landing .ag-proof-icon img {
  width: 24px;
  height: 24px;
}

#ag-landing .ag-proof-card .ag-text-sm {
  color: #b0b3c5;
  text-align: center;
}

#ag-landing .ag-proof-card .ag-text-sm strong {
  color: var(--color-white);
  font-weight: 700;
}

/* --- Steps --- */
#ag-landing .ag-steps {
  background-color: #f8f8fa;
  text-align: left;
}

#ag-landing .ag-steps-body {
  display: flex;
  gap: 50px;
  align-items: stretch;
}

#ag-landing .ag-steps-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#ag-landing .ag-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e2e2ea;
}

#ag-landing .ag-step:last-child {
  border-bottom: none;
}

#ag-landing .ag-step-number {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background-color: var(--color-dark);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ag-landing .ag-step-content {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

#ag-landing .ag-step-label {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-dark);
  white-space: nowrap;
}

#ag-landing .ag-step-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

#ag-landing .ag-steps-image {
  flex: 1;
  min-height: 400px;
  background-color: #d9d9d9;
  border-radius: 12px;
  overflow: hidden;
}

#ag-landing .ag-steps-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Why Choose --- */
#ag-landing .ag-why-choose {
  background-color: #f8f8fa;
  text-align: center;
}

#ag-landing .ag-why-choose .ag-heading-lg {
  text-align: center;
}

#ag-landing .ag-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

#ag-landing .ag-why-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

#ag-landing .ag-why-card--grad-1 { background: linear-gradient(225deg, #eaeffc 0%, #ffffff 50%); }
#ag-landing .ag-why-card--grad-2 { background: linear-gradient(225deg, #e8edfa 0%, #ffffff 50%); }
#ag-landing .ag-why-card--grad-3 { background: linear-gradient(225deg, #e5eaf8 0%, #ffffff 50%); }
#ag-landing .ag-why-card--grad-4 { background: linear-gradient(225deg, #edf1fd 0%, #ffffff 50%); }

#ag-landing .ag-why-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

#ag-landing .ag-why-card-top .ag-heading-card {
  margin-bottom: 0;
}

#ag-landing .ag-why-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ag-landing .ag-why-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

/* --- Testimonial --- */
#ag-landing .ag-testimonial {
  background-color: var(--color-bg-light);
  text-align: left;
}

#ag-landing .ag-testimonial-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 50px 60px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

#ag-landing .ag-testimonial-quote {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.4;
  color: var(--color-dark);
  text-align: left;
  margin: 0 0 32px;
}

#ag-landing .ag-testimonial-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#ag-landing .ag-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

#ag-landing .ag-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

#ag-landing .ag-testimonial-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0;
}

#ag-landing .ag-testimonial-role {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 2px 0 0;
}

#ag-landing .ag-testimonial-logo {
  height: 40px;
  object-fit: contain;
  display: block;
}

/* --- FAQ --- */
#ag-landing .ag-faq-section {
  background: white;
  padding: 60px 0;
}

#ag-landing .ag-faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: left;
}

#ag-landing .ag-faq-header {
  margin-bottom: 40px;
}

#ag-landing .ag-faq-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-dark);
  margin-bottom: 5px;
}

#ag-landing .ag-faq-title {
  font-size: 42px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.2;
  margin: 0 0 16px;
}

#ag-landing .ag-faq-subtitle {
  font-size: 20px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

#ag-landing .ag-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

#ag-landing .ag-faq-item {
  background: white;
}

#ag-landing .ag-faq-question {
  width: 100%;
  padding: 24px 32px;
  background: white;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

#ag-landing .ag-faq-question:hover {
  background: #f9fafb;
}

#ag-landing .ag-faq-question-text {
  font-size: 28px;
  font-weight: 400;
  color: var(--color-dark);
  text-align: left;
}

#ag-landing .ag-faq-toggle {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 26px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

#ag-landing .ag-faq-item.active .ag-faq-toggle {
  transform: rotate(180deg);
}

#ag-landing .ag-faq-answer {
  padding: 0 32px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

#ag-landing .ag-faq-item.active .ag-faq-answer {
  max-height: 300px;
  padding: 0 32px 24px 32px;
}

#ag-landing .ag-faq-answer-text {
  font-size: 20px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  #ag-landing .ag-hero .ag-section-inner {
    flex-direction: column;
    padding: 60px 24px 40px;
    gap: 40px;
  }

  #ag-landing .ag-hero-visual {
    flex: none;
    width: 100%;
  }

  #ag-landing .ag-hero-content h1 {
    font-size: 40px;
  }

  #ag-landing .ag-challenges-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #ag-landing .ag-heading-lg {
    font-size: 36px;
  }

  #ag-landing .ag-split-header {
    flex-direction: column;
    gap: 20px;
  }

  #ag-landing .ag-use-cases-grid {
    grid-template-columns: 1fr;
  }

  #ag-landing .ag-solutions-grid {
    grid-template-columns: 1fr;
  }

  #ag-landing .ag-proof-grid {
    grid-template-columns: 1fr;
  }

  #ag-landing .ag-proof-box {
    padding: 40px 30px;
  }

  #ag-landing .ag-steps-body {
    flex-direction: column;
  }

  #ag-landing .ag-steps-image {
    min-height: 300px;
    width: 100%;
  }

  #ag-landing .ag-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #ag-landing .ag-faq-section {
    padding: 60px 0;
  }

  #ag-landing .ag-faq-container {
    padding: 0 20px;
  }

  #ag-landing .ag-faq-title {
    font-size: 32px;
  }

  #ag-landing .ag-faq-question {
    padding: 20px;
  }

  #ag-landing .ag-faq-question-text {
    font-size: 16px;
  }

  #ag-landing .ag-faq-answer-text {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  #ag-landing .ag-section-inner {
    padding: 60px 24px;
  }

  #ag-landing .ag-hero-content h1 {
    font-size: 32px;
  }

  #ag-landing .ag-hero-content p {
    font-size: 15px;
  }

  #ag-landing .ag-logo-bar .ag-section-inner {
    gap: 30px;
    padding: 30px 24px 60px;
  }

  #ag-landing .ag-heading-lg {
    font-size: 28px;
  }

  #ag-landing .ag-text-body {
    font-size: 15px;
  }

  #ag-landing .ag-challenges-grid {
    grid-template-columns: 1fr;
  }

  #ag-landing .ag-cta-banner .ag-section-inner {
    padding: 20px 24px;
  }

  #ag-landing .ag-testimonial-card {
    padding: 30px 24px;
  }

  #ag-landing .ag-testimonial-quote {
    font-size: 22px;
  }

  #ag-landing .ag-why-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Data Processing Addendum (.dpa-page)
   ═══════════════════════════════════════════════════════════════ */

.dpa-page {
  text-align: left;
  padding: 60px 0 80px;
}

.dpa-container {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  text-align: left;
}

.dpa-main-title {
  text-decoration: underline;
  font-size: 32px;
  color: var(--color-dark);
  margin: 0 0 24px;
}

.dpa-page h2 {
  font-size: 24px;
  color: var(--color-dark);
  margin: 40px 0 16px;
}

.dpa-page h3 {
  font-size: 20px;
  color: var(--color-dark);
  margin: 8px 0 16px;
}

.dpa-page p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 16px;
  text-align: left;
}

.dpa-page strong {
  color: var(--color-dark);
}

.dpa-page em {
  font-style: italic;
}

.dpa-divider {
  border: none;
  border-top: 1px solid var(--color-line);
  margin: 48px 0;
}

.dpa-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 32px;
}

.dpa-table th,
.dpa-table td {
  border: 1px solid var(--color-line);
  padding: 12px 16px;
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
}

.dpa-table th {
  background-color: var(--color-bg-off);
  font-weight: 600;
  color: var(--color-dark);
}

@media (max-width: 640px) {
  .dpa-main-title {
    font-size: 24px;
  }

  .dpa-page h2 {
    font-size: 20px;
  }

  .dpa-page p {
    font-size: 15px;
  }

  .dpa-table th,
  .dpa-table td {
    padding: 8px 10px;
    font-size: 14px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Legal Pages — Terms & Conditions, Privacy, etc. (.legal-page)
   ═══════════════════════════════════════════════════════════════ */

.legal-page {
  text-align: left;
  padding: 60px 0 80px;
}

.legal-container {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  text-align: left;
}

.legal-main-title {
  font-size: 32px;
  color: var(--color-dark);
  margin: 0 0 24px;
}

.legal-page h2 {
  font-size: 24px;
  color: var(--color-dark);
  margin: 40px 0 16px;
}

.legal-page p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 16px;
  text-align: left;
}

.legal-page a {
  color: var(--color-primary, #1d56f7);
  text-decoration: underline;
}

.legal-page a:hover {
  color: #1545d4;
}

.legal-page strong {
  color: var(--color-dark);
}

.legal-copyright {
  margin-top: 48px;
  color: var(--color-text-muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .legal-main-title {
    font-size: 24px;
  }

  .legal-page h2 {
    font-size: 20px;
  }

  .legal-page p {
    font-size: 15px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Press Release — DFW Acquisition (.rev-pr scoped)
   ═══════════════════════════════════════════════════════════════ */

/* Scoped reset */
.rev-pr,
.rev-pr *,
.rev-pr *::before,
.rev-pr *::after {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-sizing: border-box !important;
  text-align: left !important;
  list-style: none !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  line-height: 1.5 !important;
  color: inherit !important;
  background: transparent !important;
  float: none !important;
  max-width: none !important;
}

.rev-pr {
  --rev-navy: var(--color-dark);
  --rev-blue: var(--color-primary);
  --rev-tint: var(--color-bg-tint);
  --rev-line: var(--color-line);
  --rev-ink: var(--color-text);
  --rev-mut: var(--color-text-secondary);

  display: block !important;
  width: 100% !important;
  background: var(--color-white) !important;
  color: var(--rev-ink) !important;
  -webkit-font-smoothing: antialiased !important;
  overflow-x: hidden !important;
}

.rev-pr__wrap {
  display: block !important;
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

/* Hero */
.rev-pr__hero {
  background: var(--rev-navy) !important;
  color: var(--color-white) !important;
  padding: 72px 0 64px !important;
  width: 100% !important;
}

.rev-pr__hero .rev-pr__wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.rev-pr__eyebrow {
  display: inline-block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--rev-blue) !important;
  padding: 6px 0 !important;
  margin: 0 0 20px !important;
}

.rev-pr__eyebrow span {
  color: rgba(255, 255, 255, 0.55) !important;
  font-weight: 500 !important;
  letter-spacing: 2px !important;
}

.rev-pr__h1 {
  font-size: 42px !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  color: var(--color-white) !important;
  margin: 0 0 22px !important;
  max-width: 820px !important;
}

.rev-pr__h1 b {
  color: var(--rev-blue) !important;
  font-weight: 900 !important;
}

.rev-pr__dek {
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  max-width: 720px !important;
  margin: 0 0 8px !important;
}

.rev-pr__meta {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.5) !important;
  margin: 32px 0 0 !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
}

/* Image drop zones */
.rev-pr__imgdrop {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  background: var(--rev-tint) !important;
  border: 2px dashed #c3ccea !important;
  border-radius: 14px !important;
  color: var(--rev-mut) !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  overflow: hidden !important;
}

.rev-pr__imgdrop--hero {
  aspect-ratio: 16 / 7 !important;
  margin: -40px auto 0 !important;
  max-width: 980px !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  background: #0a0a30 !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

.rev-pr__hero-img {
  height: 100% !important;
  width: auto !important;
  display: block !important;
}

/* Body sections */
.rev-pr__section {
  padding: 56px 0 !important;
  width: 100% !important;
}

.rev-pr__section + .rev-pr__section {
  border-top: 1px solid var(--rev-line) !important;
}

.rev-pr__kicker {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--rev-blue) !important;
  margin: 0 0 14px !important;
}

.rev-pr__h2 {
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
  color: var(--rev-navy) !important;
  margin: 0 0 24px !important;
  max-width: 760px !important;
}

.rev-pr__p {
  font-size: 17px !important;
  line-height: 1.72 !important;
  color: var(--rev-ink) !important;
  margin: 0 0 20px !important;
  max-width: 760px !important;
}

.rev-pr__p:last-child {
  margin-bottom: 0 !important;
}

.rev-pr__p b {
  font-weight: 700 !important;
  color: var(--rev-navy) !important;
}

/* Pull quote */
.rev-pr__quote {
  border-left: 4px solid var(--rev-blue) !important;
  padding: 6px 0 6px 28px !important;
  margin: 32px 0 !important;
  max-width: 760px !important;
}

.rev-pr__quote p {
  font-size: 21px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: var(--rev-navy) !important;
  margin: 0 0 14px !important;
}

.rev-pr__quote cite {
  display: block !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  color: var(--rev-mut) !important;
  letter-spacing: 0.5px !important;
}

/* Stat band */
.rev-pr__stats {
  background: var(--rev-navy) !important;
  width: 100% !important;
  padding: 56px 0 !important;
}

.rev-pr__stats .rev-pr__kicker {
  color: var(--rev-blue) !important;
}

.rev-pr__statintro {
  font-size: 15px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0 0 36px !important;
  max-width: 640px !important;
  line-height: 1.6 !important;
}

.rev-pr__statgrid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 28px !important;
  width: 100% !important;
}

.rev-pr__stat {
  text-align: left !important;
}

.rev-pr__stat .num {
  display: block !important;
  font-size: 34px !important;
  font-weight: 900 !important;
  color: var(--color-white) !important;
  line-height: 1.05 !important;
  margin: 0 0 8px !important;
}

.rev-pr__stat .num em {
  font-style: normal !important;
  font-size: 18px !important;
  color: var(--rev-blue) !important;
  font-weight: 700 !important;
}

.rev-pr__stat .lbl {
  display: block !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  line-height: 1.45 !important;
}

/* About */
.rev-pr__about {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 40px !important;
  width: 100% !important;
}

.rev-pr__aboutcol h3 {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--rev-blue) !important;
  margin: 0 0 14px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--rev-line) !important;
}

.rev-pr__aboutcol p {
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: var(--rev-mut) !important;
  margin: 0 !important;
}

.rev-pr__aboutcol a {
  color: var(--rev-blue) !important;
  font-weight: 700 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .rev-pr__hero {
    padding: 52px 0 56px !important;
  }

  .rev-pr__h1 {
    font-size: 30px !important;
  }

  .rev-pr__dek {
    font-size: 16px !important;
  }

  .rev-pr__h2 {
    font-size: 24px !important;
  }

  .rev-pr__p {
    font-size: 16px !important;
  }

  .rev-pr__quote p {
    font-size: 18px !important;
  }

  .rev-pr__statgrid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }

  .rev-pr__about {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .rev-pr__imgdrop--hero {
    margin-top: -28px !important;
    border-radius: 10px !important;
  }
}

@media (max-width: 440px) {
  .rev-pr__statgrid {
    grid-template-columns: 1fr !important;
  }
}
