/*
 * Homepage — unique UI layer (Lovable Digital Alchemy + Rizve handoff)
 * Typography, hero mock, compare cards, motion. Load after home-polish.css.
 */

/* ─── Display type (single source: --rj-f-display = Space Grotesk) ────────── */
.rj-home .rj-display,
.rj-home .rj-hero__headline,
.rj-home .rj-section-head h2 {
  font-family: var(--rj-f-display, "Space Grotesk", var(--rj-f-body));
  font-weight: 600;
  letter-spacing: -0.035em;
}

/* ─── HERO PREMIUM ───────────────────────────────────────────────────────── */
.rj-hero--premium {
  padding-block: clamp(72px, 9vw, 132px);
}

.rj-hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.rj-hero__ambient .glow-orb-1 {
  width: 420px;
  height: 420px;
  top: -8rem;
  left: -6rem;
}

.rj-hero__ambient .glow-orb-2 {
  width: 520px;
  height: 520px;
  top: -5rem;
  right: -10%;
}

.rj-hero__ambient .glow-orb-3 {
  width: 360px;
  height: 360px;
  bottom: -10%;
  left: 33%;
}

.rj-hero__ambient .grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.55;
}

.rj-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 18% 55%, rgba(157, 255, 87, 0.07), transparent 70%),
    radial-gradient(ellipse 50% 40% at 82% 35%, rgba(139, 92, 246, 0.1), transparent 72%);
  mix-blend-mode: screen;
}

.rj-hero__micro {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--rj-text-dim);
  max-width: 32rem;
  line-height: 1.5;
}

.rj-hero__micro--audit {
  font-size: clamp(0.88rem, 1.1vw, 0.95rem);
  color: var(--rj-text-muted);
  line-height: 1.55;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(157, 255, 87, 0.45);
  max-width: 36rem;
}

.rj-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rj-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--rj-text-muted);
}

.rj-hero__trust svg {
  color: var(--rj-lime);
  flex-shrink: 0;
}

/* Hero mock — Lovable dashboard */
.rj-hero-mock {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

.rj-hero-mock__main {
  padding: 1.15rem 1.25rem 1.35rem;
  border-radius: var(--rj-r-xl);
}

.rj-hero-mock__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.rj-hero-metric {
  padding: 0.75rem 0.85rem;
  border-radius: var(--rj-r-md);
  border: 1px solid var(--rj-border);
  background: rgba(8, 22, 38, 0.55);
  transition: border-color var(--rj-ease), transform var(--rj-ease);
}

.rj-hero-metric:hover {
  transform: translateY(-2px);
  border-color: rgba(157, 255, 87, 0.28);
}

.rj-hero-metric__label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  color: var(--rj-text-muted);
}

.rj-hero-metric__row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.rj-hero-metric__value {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--rj-text);
}

.rj-hero-metric__trend {
  font-size: 0.65rem;
  font-family: var(--rj-f-mono);
  color: var(--rj-lime);
}

.rj-hero-metric--cyan .rj-hero-metric__trend { color: var(--rj-cyan); }
.rj-hero-metric--violet .rj-hero-metric__trend { color: var(--rj-violet); }

.rj-hero-mock__ai {
  margin-top: 0.85rem;
  padding: 0.85rem;
  border-radius: var(--rj-r-md);
  border: 1px solid var(--rj-border);
  background: rgba(6, 17, 31, 0.65);
}

.rj-hero-mock__ai-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  color: var(--rj-text-muted);
  margin-bottom: 0.55rem;
}

.rj-hero-mock__ai-live {
  color: var(--rj-lime);
  font-family: var(--rj-f-mono);
}

.rj-hero-float {
  position: absolute;
  padding: 0.85rem 1rem;
  border-radius: var(--rj-r-lg);
  min-width: 9rem;
  z-index: 4;
  animation: rj-float-badge 5s ease-in-out infinite alternate;
}

.rj-hero-float--speed {
  bottom: -1.25rem;
  left: -1.5rem;
}

.rj-hero-float--leads {
  top: -0.75rem;
  right: -1rem;
  animation-delay: 1.2s;
}

.rj-hero-float__label {
  margin: 0;
  font-size: 0.65rem;
  color: var(--rj-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--rj-f-mono);
}

.rj-hero-float__value {
  margin: 0.2rem 0 0;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.rj-hero-float__value span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--rj-text-muted);
}

@keyframes rj-float-badge {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -8px, 0); }
}

@keyframes img-float {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -12px, 0); }
}

.img-float {
  animation: img-float 4.5s ease-in-out infinite alternate;
}

/* ─── STATS BAND ─────────────────────────────────────────────────────────── */
.rj-stat-strip--band {
  padding: 0;
  background: rgba(8, 22, 38, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.rj-stat-strip--band .rj-stat-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.rj-stat-strip--band .rj-stat-card {
  padding: clamp(2rem, 4vw, 3rem) 1rem;
  text-align: center;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
}

.rj-stat-strip--band .rj-stat-card:last-child {
  border-right: none;
}

.rj-stat-strip--band .rj-stat-card__value {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.rj-stat-strip--band .rj-stat-card__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rj-text-muted);
  font-family: var(--rj-f-mono);
}

/* ─── MEET RIZVE ─────────────────────────────────────────────────────────── */
.rj-meet-frame {
  position: relative;
  margin-inline: auto;
  max-width: 420px;
  padding: 2.5rem 1.5rem 2rem;
}

.rj-meet-badge {
  position: absolute;
  padding: 0.75rem 1rem;
  border-radius: var(--rj-r-lg);
  z-index: 5;
  display: none;
}

.rj-meet-badge__label {
  margin: 0;
  font-size: 0.68rem;
  color: var(--rj-text-muted);
}

.rj-meet-badge__value {
  margin: 0.15rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.rj-meet-badge--since {
  bottom: -0.75rem;
  right: -0.75rem;
}

.rj-meet-badge--projects {
  top: -0.75rem;
  left: -0.75rem;
}

.rj-meet-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.rj-meet-stat {
  padding: 1rem;
  border-radius: var(--rj-r-lg);
  text-align: center;
  transition: transform var(--rj-ease), border-color var(--rj-ease);
}

.rj-meet-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(157, 255, 87, 0.25);
}

.rj-meet-stat__value {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.rj-meet-stat__label {
  margin: 0.25rem 0 0;
  font-size: 0.7rem;
  color: var(--rj-text-muted);
}

.rj-about-preview__lead {
  margin-top: 1.25rem;
  color: var(--rj-text-muted);
  line-height: 1.65;
}

/* ─── PROBLEM COMPARE ────────────────────────────────────────────────────── */
.rj-section-head--center {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

.rj-section-head--center .rj-section-head__sub {
  margin-inline: auto;
}

.rj-problem-compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 2.5rem;
}

.rj-problem-compare__card {
  padding: 0;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
  display: flex;
  flex-direction: column;
}

.rj-problem-compare__topic {
  margin: 0 0 0.35rem;
  padding: 1rem 1.25rem 0.85rem;
  font-family: var(--rj-f-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rj-cyan);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  line-height: 1.45;
}

.rj-problem-compare__body {
  display: contents;
}

@media (min-width: 768px) {
  .rj-problem-compare__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.rj-problem-compare__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(157, 255, 87, 0.09), transparent 42%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.rj-problem-compare__card:hover::before {
  opacity: 1;
}

.rj-problem-compare__col {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.5rem;
}

.rj-problem-compare__col--bad {
  border-bottom: 1px solid var(--rj-border);
}

.rj-problem-compare__col--good {
  background: rgba(157, 255, 87, 0.03);
}

.rj-problem-compare__eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--rj-f-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rj-problem-compare__eyebrow--bad { color: var(--rj-rose); }
.rj-problem-compare__eyebrow--good { color: var(--rj-lime); }

.rj-problem-compare__col p:last-child {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--rj-text-muted);
}

.rj-problem-compare__col--good p:last-child {
  color: var(--rj-text);
  font-size: 0.93rem;
}

@media (min-width: 768px) {
  .rj-problem-compare__col--bad {
    border-bottom: none;
    border-right: 1px solid var(--rj-border);
  }
}

@media (max-width: 767px) {
  .rj-problem-compare__body {
    display: block;
  }
}

/* ─── SOLUTION GRID ──────────────────────────────────────────────────────── */
.rj-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 2.5rem;
}

.rj-solution-card {
  padding: 1.75rem 1.65rem;
  position: relative;
  --mx: 50%;
  --my: 50%;
}

.rj-solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(34, 211, 238, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.rj-solution-card:hover::before {
  opacity: 1;
}

.rj-solution-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--rj-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(157, 255, 87, 0.1);
  border: 1px solid rgba(157, 255, 87, 0.28);
  color: var(--rj-lime);
  margin-bottom: 1rem;
}

.rj-solution-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.rj-solution-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--rj-text-muted);
}

/* Spotlight cards (shared) */
.rj-spotlight {
  position: relative;
  overflow: hidden;
}

.chip--sm {
  font-size: 0.65rem;
  padding: 0.2rem 0.55rem;
}

/* ─── SERVICES PREMIUM ───────────────────────────────────────────────────── */
.rj-services-grid--premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.rj-services-grid--six {
  grid-template-columns: repeat(3, 1fr);
}

.rj-service-card.has-cover-image.card-premium {
  padding-top: 0;
}

.rj-service-card__visual.has-cover-image {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  margin: 0 0 1rem;
  border-radius: var(--rj-r-2xl) var(--rj-r-2xl) 0 0;
  overflow: hidden;
}

.rj-service-card__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9) contrast(1.04) brightness(0.88);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.rj-service-card.has-cover-image:hover .rj-service-card__visual-img {
  transform: scale(1.05);
}

.rj-service-card__visual.has-cover-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(6, 10, 18, 0.78) 100%);
  pointer-events: none;
}

.rj-service-card__visual.has-cover-image .rj-service-card__viz-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
}

.rj-service-card__icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--rj-r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(157, 255, 87, 0.28);
  background: rgba(157, 255, 87, 0.08);
  color: var(--rj-lime);
  transition: transform 0.3s ease;
}

.rj-service-card:hover .rj-service-card__icon-box {
  transform: scale(1.08) rotate(3deg);
}

.rj-service-card__icon-box--cyan {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
  color: var(--rj-cyan);
}

.rj-service-card__icon-box--violet {
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.1);
  color: var(--rj-violet);
}

.rj-service-card__cta-text {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--rj-lime);
  font-size: 0.85rem;
  transition: gap 0.25s ease;
}

.rj-service-card:hover .rj-service-card__cta-text {
  gap: 0.6rem;
}

.rj-service-card__quote-link {
  font-family: var(--rj-f-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rj-lime);
  text-decoration: none;
}

.rj-service-card__quote-link:hover {
  text-decoration: underline;
}

/* ─── AI DEMO ────────────────────────────────────────────────────────────── */
.rj-ai-demo--premium .rj-ai-demo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.rj-ai-chat {
  padding: 1.25rem 1.35rem;
  border-radius: var(--rj-r-xl);
}

.rj-ai-chat__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--rj-border);
}

.rj-ai-chat__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(157, 255, 87, 0.12);
  color: var(--rj-lime);
}

.rj-ai-chat__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.rj-ai-chat__status {
  margin: 0;
  font-size: 0.72rem;
  color: var(--rj-lime);
}

.rj-ai-chat__thread {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rj-ai-chat__composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rj-border);
  font-size: 0.8rem;
  color: var(--rj-text-dim);
}

.rj-ai-chat__send {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--rj-lime);
  color: #08120b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rj-ai-demo__lead {
  margin-top: 1rem;
  color: var(--rj-text-muted);
  line-height: 1.65;
}

.rj-ai-demo__list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rj-ai-demo__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--rj-text-muted);
}

.rj-ai-demo__list svg {
  color: var(--rj-lime);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.rj-ai-demo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.rj-ai-demo__tip {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--rj-text-dim);
}

/* ─── INDUSTRIES ─────────────────────────────────────────────────────────── */
.rj-industries-grid--premium {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.rj-industry-tile {
  padding: 1rem;
  border-radius: var(--rj-r-md);
  text-align: center;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--rj-text-muted);
  transition: transform var(--rj-ease), color var(--rj-ease);
}

.rj-industry-tile svg {
  color: var(--rj-lime);
}

.rj-industry-tile:hover {
  transform: translateY(-2px);
  color: var(--rj-text);
}

/* ─── PROCESS TRACK ──────────────────────────────────────────────────────── */
.rj-process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.rj-process-card {
  padding: 1.5rem 1.35rem;
}

.rj-process-card__num {
  margin: 0 0 0.75rem;
  font-family: var(--rj-f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--rj-lime);
}

.rj-process-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.rj-process-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--rj-text-muted);
}

/* ─── CASE STUDIES ───────────────────────────────────────────────────────── */
.rj-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.rj-case-card-premium {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  transition: transform var(--rj-ease), border-color var(--rj-ease);
}

.rj-case-card-premium:hover {
  transform: translateY(-4px);
}

.rj-case-card-premium h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.rj-case-card-premium p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--rj-text-muted);
}

/* ─── TESTIMONIALS ───────────────────────────────────────────────────────── */
.rj-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 2rem;
}

.rj-testimonial-card--premium {
  padding: 1.35rem 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rj-testimonial-card__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rj-testimonial-card__avatar img,
.rj-testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--rj-border-mid);
}

.rj-testimonial-card__avatar img {
  object-fit: cover;
}

.rj-testimonial-card__name {
  display: block;
  font-size: 0.9rem;
}

.rj-testimonial-card__company,
.rj-testimonial-card__loc {
  display: block;
  font-size: 0.72rem;
  color: var(--rj-text-muted);
}

.rj-testimonial-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.rj-testimonial-card__service-pill {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 99px;
  border: 1px solid var(--rj-border);
  color: var(--rj-text-dim);
}

.rj-testimonial-card__quote {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--rj-text);
  flex: 1;
}

.rj-testimonials-fiverr {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.rj-testimonials-fiverr__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--rj-f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rj-lime);
}

.rj-testimonials-fiverr h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.rj-industry-tile--link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.rj-industry-tile--link:hover {
  border-color: rgba(184, 255, 59, 0.3);
  transform: translateY(-2px);
}

.rj-industry-tile__arrow {
  margin-left: auto;
  color: var(--rj-lime-soft);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.rj-industry-tile--link:hover .rj-industry-tile__arrow {
  opacity: 1;
}

.rj-testimonials-fiverr p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--rj-text-muted);
  max-width: 36rem;
}

/* ─── FREE AUDIT BANNER ──────────────────────────────────────────────────── */
.rj-free-audit-banner--premium .rj-free-audit-banner__inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--rj-r-2xl);
}

.rj-free-audit-banner--premium h2 {
  margin-top: 1rem;
}

.rj-free-audit-banner--premium p {
  margin-top: 0.85rem;
  color: var(--rj-text-muted);
  line-height: 1.6;
  max-width: 36rem;
}

/* ─── FAQ PREMIUM (layout refined in home-ui-fixes.css) ─────────────────── */
.rj-faq-grid--premium .rj-faq-item {
  border-radius: var(--rj-r-lg);
  transition: border-color var(--rj-ease), background 0.25s ease;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (min-width: 900px) {
  .rj-meet-badge {
    display: block;
  }

  .rj-hero-float {
    display: block;
  }
}

@media (max-width: 1024px) {
  .rj-hero__inner {
    grid-template-columns: 1fr;
  }

  .rj-hero__visual {
    order: -1;
    max-width: 400px;
    margin-inline: auto;
  }

  .rj-hero-float--speed,
  .rj-hero-float--leads {
    display: none;
  }
}

@media (max-width: 768px) {
  .rj-stat-strip--band .rj-stat-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .rj-stat-strip--band .rj-stat-card:nth-child(2) {
    border-right: none;
  }

  .rj-stat-strip--band .rj-stat-card {
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  .rj-problem-compare,
  .rj-solution-grid {
    grid-template-columns: 1fr;
  }

  .rj-meet-stats {
    grid-template-columns: 1fr;
  }

  .rj-services-grid--premium,
  .rj-testimonials-grid,
  .rj-cases-grid,
  .rj-process-track {
    grid-template-columns: 1fr;
  }

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

  .rj-ai-demo--premium .rj-ai-demo__inner {
    grid-template-columns: 1fr;
  }

  .rj-ai-demo--premium .rj-ai-demo__chat {
    order: -1;
  }

  .rj-free-audit-banner--premium .rj-free-audit-banner__inner {
    grid-template-columns: 1fr;
  }
}

/* ─── Homepage vertical rhythm (tighter hero top + footer) ───────────────── */
body.home {
  --rj-header-height: 70px;
}

@media (max-width: 768px) {
  body.home {
    --rj-header-height: 60px;
  }
}

/* Homepage header — glass background, menu only */
body.home .rj-header--on-hero.rj-header--transparent:not(.rj-header--scrolled) {
  background: rgba(6, 8, 15, 0.28);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
  box-shadow: none;
}

body.home .rj-header--on-hero.rj-header--transparent:not(.rj-header--scrolled)::before {
  opacity: 0.35;
}

/* Site H1 + chip — once at top of hero stack */
body.home .rj-home > .rj-hero-site-head {
  margin-top: calc(-1 * var(--rj-header-height));
  padding-top: calc(var(--rj-header-height) + clamp(28px, 4vw, 48px));
  padding-bottom: clamp(12px, 2vw, 20px);
  position: relative;
  z-index: 2;
}

.rj-hero-site-head__inner {
  max-width: 38rem;
}

.rj-hero-site-head .rj-hero__headline {
  margin-bottom: 0;
  max-width: 14em;
  text-wrap: balance;
}

/* WOW opener — first block when site headline is merged in */
body.home .rj-home > .rj-wow-hero:first-child {
  margin-top: calc(-1 * var(--rj-header-height));
  padding-top: calc(var(--rj-header-height) + clamp(20px, 3vw, 36px));
}

body.home .rj-home > .rj-hero-site-head + .rj-wow-hero {
  margin-top: 0;
  padding-top: clamp(8px, 1.5vw, 16px);
}

/* First content section after hero stack */
body.home .rj-home > .rj-wow-hero + .rj-stat-strip,
body.home .rj-home > .rj-hero-site-head + .rj-stat-strip {
  margin-top: 0;
  padding-top: clamp(32px, 4vw, 56px);
}



.rj-hero--ide .rj-hero__top-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(120px, 16vw, 200px);
  background: linear-gradient(180deg, var(--rj-bg, #06080f) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

body.home .rj-home .rj-hero__inner {
  gap: clamp(28px, 4vw, 56px);
}

body.home .rj-home .rj-final-cta.rj-section {
  padding-block: clamp(40px, 5vw, 64px);
}

body.home .rj-footer.rj-footer--premium {
  margin-top: clamp(20px, 3vw, 32px);
  padding-top: clamp(40px, 5vw, 52px);
  padding-bottom: clamp(48px, 5vw, 64px);
}

@media (prefers-reduced-motion: reduce) {
  .img-float,
  .rj-hero-float,
  .rj-hero-mock,
  .rj-hero-showcase__portrait,
  .rj-hero-showcase__ring,
  .rj-hero-showcase__orbit-shape,
  .rj-hero-showcase__glow,
  .rj-hero-showcase__shine::after,
  .rj-hero__eyebrow-dot,
  .rj-stat-rail__beam,
  .rj-stat-dev__live-dot,
  .rj-stat-dev__caret,
  .rj-stat-dev--story .rj-code-line,
  .rj-stat-dev--story .rj-stat-dev__run-line {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── ROI BY INDUSTRY — CSS-only tabbed proof box (Lovable RoiCallout) ─────── */
.rj-roi {
  max-width: 920px;
  margin: clamp(32px, 4vw, 48px) auto 0;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 28px;
}

/* Hidden radios drive the tabs (no JS). */
.rj-roi__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.rj-roi__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.rj-roi__tab {
  cursor: pointer;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(8, 22, 38, 0.45);
  color: var(--rj-text-muted);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  user-select: none;
}

.rj-roi__tab:hover {
  color: var(--rj-text);
  border-color: rgba(157, 255, 87, 0.4);
  transform: translateY(-1px);
}

.rj-roi__tab:focus-visible {
  outline: 2px solid var(--rj-lime, #c8ff3d);
  outline-offset: 2px;
}

/* Panels: all hidden, the <style> emitted per-instance reveals the checked one. */
.rj-roi__panel {
  display: none;
}

.rj-roi__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 24px;
}

.rj-roi__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--rj-text);
  font-size: 0.96rem;
  line-height: 1.5;
}

.rj-roi__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  margin-top: 1px;
  color: var(--rj-lime, #c8ff3d);
  background: rgba(200, 255, 61, 0.12);
}

.rj-roi__cta {
  margin-top: clamp(22px, 3vw, 30px);
  text-align: center;
}

@media (max-width: 540px) {
  .rj-roi__tabs {
    gap: 6px;
  }
  .rj-roi__tab {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}

/* ─── USA HERO — portrait + live proof (US agency quality) ───────────────── */
.rj-hero--usa {
  position: relative;
}

.rj-hero__inner--usa {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(40px, 5.5vw, 80px);
}

.rj-hero--ide .rj-hero__inner--usa {
  align-items: start;
}

.rj-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem 0.4rem 0.65rem;
  border-radius: 99px;
  font-family: var(--rj-f-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rj-lime);
  background: rgba(157, 255, 87, 0.08);
  border: 1px solid rgba(157, 255, 87, 0.22);
}

.rj-hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rj-lime);
  box-shadow: 0 0 10px var(--rj-lime);
  animation: rj-hero-usa-pulse 2.2s ease-in-out infinite;
}

@keyframes rj-hero-usa-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.rj-hero--usa .rj-hero__headline {
  font-size: clamp(2.1rem, 4.8vw, 3.65rem);
  line-height: 1.05;
  margin-bottom: 1.15rem;
}

.rj-hero--usa .rj-hero__subtext {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  max-width: 34rem;
  margin-bottom: 1.65rem;
}

/* Hero proof — bento cards (no duplicate chip row) */
.rj-hero__proof-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.rj-hero__proof-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.1rem 0.55rem;
  padding: 0.85rem 0.9rem;
  border-radius: var(--rj-r-lg);
  background: rgba(8, 22, 38, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  overflow: hidden;
  transition: border-color var(--rj-ease), transform var(--rj-ease);
}

.rj-hero__proof-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.rj-hero__proof-card--lime::before {
  background: radial-gradient(ellipse at 0% 0%, rgba(157, 255, 87, 0.12), transparent 65%);
}

.rj-hero__proof-card--cyan::before {
  background: radial-gradient(ellipse at 0% 0%, rgba(46, 230, 224, 0.1), transparent 65%);
}

.rj-hero__proof-card--violet::before {
  background: radial-gradient(ellipse at 0% 0%, rgba(167, 139, 250, 0.12), transparent 65%);
}

.rj-hero__proof-card:hover {
  transform: translateY(-3px);
  border-color: rgba(157, 255, 87, 0.25);
}

.rj-hero__proof-card:hover::before {
  opacity: 1;
}

.rj-hero__proof-icon {
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--rj-lime);
}

.rj-hero__proof-card--cyan .rj-hero__proof-icon { color: var(--rj-cyan); }
.rj-hero__proof-card--violet .rj-hero__proof-icon { color: var(--rj-violet); }

.rj-hero__proof-value {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--rj-text);
  line-height: 1.1;
}

.rj-hero__proof-label {
  font-size: 0.62rem;
  font-family: var(--rj-f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rj-text-dim);
  line-height: 1.3;
}

.rj-hero__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rj-hero__stack li {
  font-size: 0.72rem;
  font-family: var(--rj-f-mono);
  letter-spacing: 0.06em;
  padding: 0.35rem 0.7rem;
  border-radius: 99px;
  color: var(--rj-text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

/* Showcase: portrait stage + proof card (stacked, no overlap) */
.rj-hero-showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  padding-bottom: 0.5rem;
}

.rj-hero-showcase__stage {
  position: relative;
  isolation: isolate;
  min-height: 0;
}

.rj-hero-showcase__orbit {
  position: absolute;
  inset: -20px -16px -8px;
  z-index: 0;
  pointer-events: none;
}

.rj-hero-showcase__orbit-shape {
  position: absolute;
  border: 1px solid rgba(46, 230, 224, 0.2);
  border-radius: 4px;
  opacity: 0.5;
}

.rj-hero-showcase__orbit-shape--a {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  transform: rotate(45deg);
  border-color: rgba(157, 255, 87, 0.18);
  animation: rj-hero-orbit-a 18s linear infinite;
}

.rj-hero-showcase__orbit-shape--b {
  width: 86%;
  height: 86%;
  top: 7%;
  left: 7%;
  transform: rotate(45deg);
  border-color: rgba(167, 139, 250, 0.16);
  animation: rj-hero-orbit-b 22s linear infinite reverse;
}

@keyframes rj-hero-orbit-a {
  to { transform: rotate(405deg); }
}

@keyframes rj-hero-orbit-b {
  to { transform: rotate(-405deg); }
}

.rj-hero-showcase__glow {
  position: absolute;
  inset: 0 5% 0;
  z-index: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(157, 255, 87, 0.16), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  animation: rj-hero-glow-pulse 4.5s ease-in-out infinite;
}

@keyframes rj-hero-glow-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.rj-hero-showcase__ring {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(92%, 320px);
  aspect-ratio: 3 / 4;
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 28px;
  padding: 3px;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    rgba(157, 255, 87, 0.65),
    rgba(46, 230, 224, 0.4),
    rgba(167, 139, 250, 0.3),
    rgba(157, 255, 87, 0.12),
    rgba(157, 255, 87, 0.65)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: rj-hero-ring-spin 10s linear infinite;
  opacity: 0.8;
}

@keyframes rj-hero-ring-spin {
  to { transform: translateX(-50%) rotate(360deg); }
}

.rj-hero-showcase__shine {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(92%, 320px);
  aspect-ratio: 3 / 4;
  transform: translateX(-50%);
  z-index: 2;
  border-radius: 28px;
  overflow: hidden;
  pointer-events: none;
}

.rj-hero-showcase__shine::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -120%;
  width: 55%;
  height: 120%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(157, 255, 87, 0.1) 45%,
    rgba(46, 230, 224, 0.14) 55%,
    transparent 100%
  );
  animation: rj-hero-shine-sweep 6s ease-in-out infinite;
}

@keyframes rj-hero-shine-sweep {
  0%, 100% { left: -120%; opacity: 0; }
  15% { opacity: 1; }
  50% { left: 130%; opacity: 1; }
  65% { opacity: 0; }
}

.rj-hero-showcase__portrait {
  position: relative;
  z-index: 3;
  width: min(92%, 320px);
  margin: 0 auto;
  animation: rj-hero-portrait-float 7s ease-in-out infinite;
}

@keyframes rj-hero-portrait-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.rj-hero-showcase__stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  font-family: var(--rj-f-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--rj-lime);
  background: rgba(6, 8, 15, 0.72);
  border: 1px solid rgba(157, 255, 87, 0.28);
  padding: 0.35rem 0.55rem;
  border-radius: 99px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.rj-hero-showcase__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  overflow: hidden;
  background: #070d18;
  border: 1px solid rgba(157, 255, 87, 0.2);
  box-shadow:
    0 0 0 1px rgba(157, 255, 87, 0.06),
    0 40px 80px -24px rgba(0, 0, 0, 0.7),
    0 0 60px -20px rgba(157, 255, 87, 0.12);
}

.rj-hero-showcase__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

.rj-hero-showcase__media img + img,
.rj-hero-showcase__media picture + picture {
  display: none !important;
}

.rj-hero-showcase__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 800;
  color: var(--rj-lime);
  background: radial-gradient(ellipse at 50% 30%, #1d2c50, #06080f);
}

.rj-hero-showcase__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(6, 8, 15, 0.92));
}

.rj-hero-showcase__caption strong {
  display: block;
  font-size: 0.95rem;
  color: var(--rj-text);
}

.rj-hero-showcase__caption span {
  display: block;
  font-size: 0.72rem;
  color: var(--rj-text-muted);
  margin-top: 0.15rem;
}

.rj-hero-proof-wrap {
  position: relative;
  z-index: 4;
  width: 100%;
}

.rj-hero-proof {
  position: relative;
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: var(--rj-r-xl);
}

.rj-hero-proof__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.rj-hero-proof__kpi {
  padding: 0.65rem 0.75rem;
  border-radius: var(--rj-r-md);
  background: rgba(6, 17, 31, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.rj-hero-proof__kpi-label {
  display: block;
  font-family: var(--rj-f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rj-text-dim);
  margin-bottom: 0.25rem;
}

.rj-hero-proof__kpi strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.rj-hero-proof__kpi strong span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rj-text-muted);
}

.rj-hero-proof__kpi--leads strong {
  color: var(--rj-cyan);
}

.rj-hero-proof__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.rj-hero-proof__url {
  flex: 1;
  min-width: 0;
  font-family: var(--rj-f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rj-text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rj-hero-proof__live {
  font-family: var(--rj-f-mono);
  font-size: 0.62rem;
  color: var(--rj-lime);
  white-space: nowrap;
}

.rj-hero-proof__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.rj-hero-proof__chat {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.rj-hero-proof__chat .rj-hcomp-bubble {
  font-size: 0.68rem;
  padding: 0.45rem 0.6rem;
  margin-bottom: 0.35rem;
}

/* Float badges removed — KPIs live inside proof card */

/* ─── HERO IDE — open HUD (portrait + terminal + registers, like metrics) ─── */
.rj-hero--ide .rj-hero__inner--usa {
  align-items: center;
}

.rj-hero--ide .rj-hero__showcase {
  max-width: none;
  width: 100%;
  padding-top: clamp(8px, 1.5vw, 20px);
}

.rj-hero-ide {
  position: relative;
  width: 100%;
  max-width: min(680px, 100%);
  margin-inline: auto;
  padding: clamp(0.5rem, 1.5vw, 1rem);
}

.rj-hero-ide__bg {
  position: absolute;
  inset: -12% -10%;
  pointer-events: none;
  z-index: 0;
}

.rj-hero-ide__gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(157, 255, 87, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 255, 87, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 85% 75% at 55% 45%, #000 15%, transparent 72%);
  opacity: 0.55;
}

.rj-hero-ide__glyph {
  position: absolute;
  font-family: var(--rj-f-mono);
  font-weight: 700;
  color: rgba(157, 255, 87, 0.07);
  user-select: none;
  line-height: 1;
}

.rj-hero-ide__glyph--1 {
  top: 4%;
  right: 2%;
  font-size: clamp(2.5rem, 6vw, 4rem);
  transform: rotate(-8deg);
}

.rj-hero-ide__glyph--2 {
  bottom: 18%;
  left: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: rgba(46, 230, 224, 0.06);
}

.rj-hero-ide__glyph--3 {
  top: 38%;
  left: 28%;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: rgba(167, 139, 250, 0.08);
}

.rj-hero-ide__shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(128px, 0.38fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(0.85rem, 1.8vw, 1.25rem);
  align-items: start;
}

.rj-hero-ide--terminal-only .rj-hero-ide__shell {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
}

.rj-hero-ide--terminal-only .rj-hero-ide__terminal {
  grid-column: 1;
  grid-row: 1;
}

.rj-hero-ide--terminal-only .rj-hero-ide__registers {
  grid-column: 1;
  grid-row: 2;
}

.rj-hero-ide__profile {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.35rem;
}

.rj-hero-ide__portrait-wrap {
  position: relative;
  isolation: isolate;
}

.rj-hero-ide__portrait-ring {
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  padding: 2px;
  background: conic-gradient(
    from 0deg,
    rgba(157, 255, 87, 0.7),
    rgba(46, 230, 224, 0.45),
    rgba(167, 139, 250, 0.35),
    rgba(157, 255, 87, 0.15),
    rgba(157, 255, 87, 0.7)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: rj-hero-ring-spin 12s linear infinite;
  opacity: 0.85;
  pointer-events: none;
}

@keyframes rj-hero-ring-spin {
  to { transform: rotate(360deg); }
}

.rj-hero-ide__portrait {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 3.85;
  background: #070d18;
  box-shadow:
    0 24px 48px -20px rgba(0, 0, 0, 0.65),
    0 0 48px -16px rgba(157, 255, 87, 0.12);
}

.rj-hero-ide__portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

.rj-hero-ide__portrait-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--rj-lime);
}

.rj-hero-ide__portrait-badge {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--rj-f-mono);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--rj-lime);
  background: rgba(6, 8, 15, 0.82);
  padding: 0.3rem 0.55rem;
  border-radius: 99px;
  border: 1px solid rgba(157, 255, 87, 0.28);
  white-space: nowrap;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.rj-hero-ide__profile-meta {
  font-size: 0.72rem;
  line-height: 1.45;
}

.rj-hero-ide__profile-label {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--rj-f-mono);
  font-size: 0.58rem;
  color: var(--rj-lime);
  letter-spacing: 0.06em;
}

.rj-hero-ide__profile-meta strong {
  display: block;
  color: var(--rj-text);
  font-size: 0.88rem;
}

.rj-hero-ide__profile-meta span {
  display: block;
  color: var(--rj-text-muted);
  font-size: 0.68rem;
}

.rj-hero-ide__profile-route {
  margin-top: 0.2rem;
  font-family: var(--rj-f-mono);
  font-size: 0.58rem;
  color: var(--rj-cyan);
}

.rj-hero-ide__terminal {
  grid-column: 2;
  grid-row: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(157, 255, 87, 0.18);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 28px 64px -28px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(157, 255, 87, 0.08);
  display: flex;
  flex-direction: column;
}

.rj-hero-ide__titlebar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  padding: 0.5rem 0.75rem;
  background: rgba(6, 10, 18, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  font-family: var(--rj-f-mono);
  font-size: 0.65rem;
}

.rj-hero-ide__dots {
  display: inline-flex;
  gap: 5px;
}

.rj-hero-ide__dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  font-style: normal;
}

.rj-hero-ide__dots i:nth-child(1) { background: #ff5f57; }
.rj-hero-ide__dots i:nth-child(2) { background: #febc2e; }
.rj-hero-ide__dots i:nth-child(3) { background: #28c840; }

.rj-hero-ide__tabs {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
}

.rj-hero-ide__tab {
  color: var(--rj-text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 6px 6px 0 0;
  background: rgba(157, 255, 87, 0.06);
  border: 1px solid rgba(157, 255, 87, 0.12);
  border-bottom-color: transparent;
  white-space: nowrap;
}

.rj-hero-ide__tab--active {
  color: var(--rj-lime);
  background: rgba(157, 255, 87, 0.12);
  border-color: rgba(157, 255, 87, 0.28);
}

.rj-hero-ide__tab--ghost {
  opacity: 0.45;
  background: transparent;
  border-color: rgba(148, 163, 184, 0.12);
}

.rj-hero-ide__path {
  max-width: min(180px, 22vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(148, 163, 184, 0.45);
  font-size: 0.58rem;
}

.rj-hero-ide__branch {
  padding: 0.12rem 0.45rem;
  border-radius: 99px;
  color: var(--rj-cyan);
  background: rgba(46, 230, 224, 0.08);
  border: 1px solid rgba(46, 230, 224, 0.2);
  font-size: 0.58rem;
}

.rj-hero-ide__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--rj-lime);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.rj-hero-ide__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rj-lime);
  box-shadow: 0 0 8px var(--rj-lime);
  animation: rj-stat-live-pulse 1.8s ease-in-out infinite;
}

.rj-hero-ide__code-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  max-height: min(240px, 38vh);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(157, 255, 87, 0.25) transparent;
}

.rj-hero-ide__gutter {
  padding: 0.65rem 0.45rem 0.65rem 0.55rem;
  font-family: var(--rj-f-mono);
  font-size: 0.6rem;
  line-height: 1.65;
  color: rgba(148, 163, 184, 0.32);
  text-align: right;
  border-right: 1px solid rgba(148, 163, 184, 0.06);
}

.rj-hero-ide__gutter span {
  display: block;
}

.rj-hero-ide__code {
  margin: 0;
  padding: 0.65rem 0.55rem 0.75rem 0.45rem;
  font-family: var(--rj-f-mono);
  font-size: clamp(0.62rem, 0.95vw, 0.72rem);
  line-height: 1.65;
  color: var(--rj-text-muted);
}

.rj-hero-ide__code--story {
  padding-bottom: 0.5rem;
}

.rj-hero-ide__code code {
  font: inherit;
}

.rj-hero-ide__run {
  padding: 0.55rem 0.65rem 0.65rem;
  border-top: 1px solid rgba(157, 255, 87, 0.1);
  background: rgba(0, 0, 0, 0.28);
  font-family: var(--rj-f-mono);
  font-size: 0.62rem;
}

.rj-hero-ide__run-line {
  margin: 0;
  color: var(--rj-lime);
  opacity: 0;
}

.rj-hero-ide__registers {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rj-hero-ide__reg {
  position: relative;
  padding: 0.75rem 0.55rem 0.65rem;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.rj-hero-ide__reg::before,
.rj-hero-ide__reg::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  transition: width 0.35s ease, height 0.35s ease;
}

.rj-hero-ide__reg::before {
  top: 0;
  left: 0;
  border-top: 2px solid rgba(157, 255, 87, 0.45);
  border-left: 2px solid rgba(157, 255, 87, 0.45);
}

.rj-hero-ide__reg::after {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid rgba(46, 230, 224, 0.4);
  border-right: 2px solid rgba(46, 230, 224, 0.4);
}

.rj-hero-ide__reg--cyan::before {
  border-top-color: rgba(46, 230, 224, 0.5);
  border-left-color: rgba(46, 230, 224, 0.5);
}

.rj-hero-ide__reg--violet::before {
  border-top-color: rgba(167, 139, 250, 0.55);
  border-left-color: rgba(167, 139, 250, 0.55);
}

.rj-hero-ide__reg:hover {
  transform: translateY(-2px);
}

.rj-hero-ide__reg-addr {
  font-family: var(--rj-f-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: rgba(148, 163, 184, 0.42);
  margin-bottom: 0.2rem;
}

.rj-hero-ide__reg-val {
  font-family: var(--rj-f-mono);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--rj-lime);
  text-shadow: 0 0 20px rgba(157, 255, 87, 0.2);
}

.rj-hero-ide__reg--cyan .rj-hero-ide__reg-val {
  color: var(--rj-cyan);
  text-shadow: 0 0 20px rgba(46, 230, 224, 0.18);
}

.rj-hero-ide__reg--violet .rj-hero-ide__reg-val {
  color: #c4b5fd;
}

.rj-hero-ide__reg-key {
  margin-top: 0.3rem;
  font-family: var(--rj-f-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rj-text-dim);
  line-height: 1.25;
}

.rj-hero-ide__reg-trend {
  position: absolute;
  top: 0.45rem;
  right: 0.4rem;
  font-family: var(--rj-f-mono);
  font-size: 0.5rem;
  color: var(--rj-lime);
}

.rj-hero-ide__reg-pulse {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: radial-gradient(circle at 50% 50%, rgba(157, 255, 87, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.rj-hero-ide__reg:hover .rj-hero-ide__reg-pulse {
  opacity: 1;
}

.rj-hero-ide__statusbar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
  padding: 0.5rem 0.65rem;
  font-family: var(--rj-f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: var(--rj-text-dim);
  border-top: 1px dashed rgba(148, 163, 184, 0.12);
}

.rj-hero-ide__status-item em {
  font-style: normal;
  color: rgba(148, 163, 184, 0.45);
  margin-right: 0.3rem;
}

.rj-hero-ide__status-item--ok {
  margin-left: auto;
  color: var(--rj-lime);
}

.reveal.is-visible .rj-hero-ide--story .rj-hero-ide__run-line,
.rj-hero-ide--story.is-visible .rj-hero-ide__run-line {
  animation: rj-run-line-in 0.4s ease forwards;
  animation-delay: calc(0.7s + 0.1s * var(--line-i, 0));
}

.reveal.is-visible .rj-hero-ide--story .rj-code-line,
.rj-hero-ide--story.is-visible .rj-code-line {
  animation: rj-code-line-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}

.reveal.is-visible .rj-hero-ide--story .rj-code-line:nth-child(1),
.rj-hero-ide--story.is-visible .rj-code-line:nth-child(1) { animation-delay: 0.04s; }
.reveal.is-visible .rj-hero-ide--story .rj-code-line:nth-child(2),
.rj-hero-ide--story.is-visible .rj-code-line:nth-child(2) { animation-delay: 0.07s; }
.reveal.is-visible .rj-hero-ide--story .rj-code-line:nth-child(3),
.rj-hero-ide--story.is-visible .rj-code-line:nth-child(3) { animation-delay: 0.1s; }
.reveal.is-visible .rj-hero-ide--story .rj-code-line:nth-child(4),
.rj-hero-ide--story.is-visible .rj-code-line:nth-child(4) { animation-delay: 0.13s; }
.reveal.is-visible .rj-hero-ide--story .rj-code-line:nth-child(5),
.rj-hero-ide--story.is-visible .rj-code-line:nth-child(5) { animation-delay: 0.16s; }
.reveal.is-visible .rj-hero-ide--story .rj-code-line:nth-child(6),
.rj-hero-ide--story.is-visible .rj-code-line:nth-child(6) { animation-delay: 0.19s; }
.reveal.is-visible .rj-hero-ide--story .rj-code-line:nth-child(7),
.rj-hero-ide--story.is-visible .rj-code-line:nth-child(7) { animation-delay: 0.22s; }
.reveal.is-visible .rj-hero-ide--story .rj-code-line:nth-child(8),
.rj-hero-ide--story.is-visible .rj-code-line:nth-child(8) { animation-delay: 0.25s; }
.reveal.is-visible .rj-hero-ide--story .rj-code-line:nth-child(9),
.rj-hero-ide--story.is-visible .rj-code-line:nth-child(9) { animation-delay: 0.28s; }
.reveal.is-visible .rj-hero-ide--story .rj-code-line:nth-child(10),
.rj-hero-ide--story.is-visible .rj-code-line:nth-child(10) { animation-delay: 0.31s; }
.reveal.is-visible .rj-hero-ide--story .rj-code-line:nth-child(11),
.rj-hero-ide--story.is-visible .rj-code-line:nth-child(11) { animation-delay: 0.34s; }
.reveal.is-visible .rj-hero-ide--story .rj-code-line:nth-child(n+12),
.rj-hero-ide--story.is-visible .rj-code-line:nth-child(n+12) { animation-delay: 0.38s; }

.rj-hero-ide--story .rj-code-line {
  opacity: 0;
}

/* Trust rail — below career registers (metrics HUD) */
.rj-stat-dev__metrics-col {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.8vw, 1.15rem);
  justify-content: center;
  align-self: stretch;
}

.rj-trust-rail {
  padding: 0.85rem 0.9rem 0.8rem;
  font-family: var(--rj-f-mono);
  font-size: 0.8rem;
  line-height: 1.55;
  background: rgba(4, 8, 16, 0.45);
  border: 1px dashed rgba(157, 255, 87, 0.18);
  border-radius: 12px;
}

.rj-trust-rail__line {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.rj-trust-rail__label {
  color: var(--rj-cyan);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.rj-trust-rail__eq,
.rj-trust-rail__brace {
  color: rgba(148, 163, 184, 0.55);
  font-weight: 600;
}

.rj-trust-rail__brace--close {
  display: block;
  margin-top: 0.25rem;
}

.rj-trust-rail__items {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  padding-left: 0.55rem;
}

.rj-trust-rail__item {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.4rem;
}

.rj-trust-rail__key {
  color: var(--rj-text);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.rj-trust-rail__item strong {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.rj-trust-rail__item--lime strong { color: var(--rj-lime); }
.rj-trust-rail__item--cyan strong { color: var(--rj-cyan); }
.rj-trust-rail__item--violet strong { color: #c4b5fd; }

.rj-trust-rail__sep {
  color: rgba(148, 163, 184, 0.4);
  font-weight: 700;
}

.rj-hero--ide .rj-hero__proof-bento {
  display: none;
}

@media (max-width: 1024px) {
  .rj-meet__col {
    grid-template-columns: minmax(130px, 0.34fr) minmax(0, 1fr);
  }

  .rj-hero-ide__registers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .rj-hero-ide {
    max-width: 100%;
    padding-inline: 0;
  }

  .rj-hero-ide__registers {
    grid-template-columns: 1fr 1fr;
  }

  .rj-hero-ide__status-item--ok {
    margin-left: 0;
    width: 100%;
  }

  .rj-trust-rail {
    font-size: 0.74rem;
    padding: 0.75rem 0.8rem;
  }

  .rj-trust-rail__key {
    font-size: 0.72rem;
  }

  .rj-trust-rail__item strong {
    font-size: 0.88rem;
  }

  .rj-meet__col {
    grid-template-columns: 1fr;
  }

  .rj-meet__visual {
    position: static;
    max-width: 280px;
    margin: 0 auto 0.5rem;
  }

  .rj-dev-portrait__frame {
    max-width: 220px;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rj-hero-ide__portrait-ring,
  .rj-dev-portrait__ring {
    animation: none;
  }

  .rj-dev-portrait__glow {
    animation: none;
  }

  .reveal.is-visible .rj-hero-ide--story .rj-code-line,
  .rj-hero-ide--story.is-visible .rj-code-line,
  .reveal.is-visible .rj-hero-ide--story .rj-hero-ide__run-line,
  .rj-hero-ide--story.is-visible .rj-hero-ide__run-line {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* ─── MEET RIZVE — USA trust (credentials, no hero duplicate) ─────────────── */
.rj-meet--usa {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 88px);
}

.rj-meet__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 0% 50%, rgba(157, 255, 87, 0.05), transparent 65%),
    radial-gradient(ellipse 45% 35% at 100% 20%, rgba(167, 139, 250, 0.07), transparent 70%);
}

.rj-meet__layout {
  position: relative;
  z-index: 1;
}

.rj-meet__header {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 42rem;
}

.rj-meet__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
}

.rj-meet__col {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: start;
}

.rj-meet__visual {
  position: sticky;
  top: calc(var(--rj-header-height, 70px) + 16px);
}

.rj-meet__content {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  min-width: 0;
}

.rj-meet__title {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  line-height: 1.12;
  margin: 0;
}

.rj-meet__quotes {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rj-meet__quotes li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--rj-text-muted);
  line-height: 1.45;
}

.rj-meet__quotes svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--rj-lime);
}

/* Animated portrait — Meet Rizve (moved from hero) */
.rj-dev-portrait {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rj-dev-portrait__glow {
  position: absolute;
  inset: 5% 0 30%;
  z-index: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 35%, rgba(157, 255, 87, 0.18), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
  animation: rj-hero-glow-pulse 4.5s ease-in-out infinite;
}

.rj-dev-portrait__wrap {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.rj-dev-portrait__ring {
  position: absolute;
  inset: -7px;
  border-radius: 22px;
  padding: 2px;
  background: conic-gradient(
    from 0deg,
    rgba(157, 255, 87, 0.7),
    rgba(46, 230, 224, 0.45),
    rgba(167, 139, 250, 0.35),
    rgba(157, 255, 87, 0.15),
    rgba(157, 255, 87, 0.7)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: rj-hero-ring-spin 12s linear infinite;
  opacity: 0.88;
  pointer-events: none;
}

.rj-dev-portrait__frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 3.9;
  background: #070d18;
  box-shadow:
    0 24px 48px -20px rgba(0, 0, 0, 0.65),
    0 0 48px -16px rgba(157, 255, 87, 0.14);
}

.rj-dev-portrait__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

.rj-dev-portrait__badge {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--rj-f-mono);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--rj-lime);
  background: rgba(6, 8, 15, 0.85);
  padding: 0.3rem 0.55rem;
  border-radius: 99px;
  border: 1px solid rgba(157, 255, 87, 0.28);
  white-space: nowrap;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.rj-dev-portrait__meta {
  position: relative;
  z-index: 1;
  font-size: 0.74rem;
  line-height: 1.45;
}

.rj-dev-portrait__file {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--rj-f-mono);
  font-size: 0.6rem;
  color: var(--rj-lime);
  letter-spacing: 0.05em;
}

.rj-dev-portrait__meta strong {
  display: block;
  color: var(--rj-text);
  font-size: 0.92rem;
}

.rj-dev-portrait__meta span {
  display: block;
  color: var(--rj-text-muted);
  font-size: 0.7rem;
}

.rj-dev-portrait__route {
  margin-top: 0.2rem;
  font-family: var(--rj-f-mono);
  font-size: 0.58rem;
  color: var(--rj-cyan);
}

.rj-dev-portrait__fiverr {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.55rem 0.8rem;
  border-radius: var(--rj-r-md);
  text-decoration: none;
  transition: border-color var(--rj-ease), transform var(--rj-ease);
}

.rj-dev-portrait__fiverr:hover {
  transform: translateY(-2px);
  border-color: rgba(157, 255, 87, 0.35);
}

.rj-dev-portrait__fiverr-stars {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rj-lime);
}

.rj-dev-portrait__fiverr span:last-child {
  font-size: 0.62rem;
  font-family: var(--rj-f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rj-text-muted);
}

.rj-meet--usa .rj-about-preview__lead {
  margin-top: 0;
  max-width: 36rem;
}

.rj-meet__col .rj-about-preview__lead {
  margin-top: 0;
}

.rj-meet__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.15rem 0 1.35rem;
}

.rj-meet__content .rj-about-preview__actions {
  margin-top: auto;
  padding-top: 0.5rem;
}

.rj-meet__tag {
  font-size: 0.75rem;
  font-family: var(--rj-f-mono);
  letter-spacing: 0.06em;
  padding: 0.4rem 0.75rem;
  border-radius: 99px;
  color: var(--rj-text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.rj-meet__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  height: 100%;
  align-content: stretch;
}

.rj-meet-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: var(--rj-r-xl);
  background: rgba(8, 22, 38, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.14);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.rj-meet-pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.rj-meet-pillar--lime::before {
  background: radial-gradient(ellipse at 0% 0%, rgba(157, 255, 87, 0.08), transparent 55%);
}

.rj-meet-pillar--cyan::before {
  background: radial-gradient(ellipse at 0% 0%, rgba(46, 230, 224, 0.08), transparent 55%);
}

.rj-meet-pillar--violet::before {
  background: radial-gradient(ellipse at 0% 0%, rgba(167, 139, 250, 0.1), transparent 55%);
}

.rj-meet-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(157, 255, 87, 0.22);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.5);
}

.rj-meet-pillar:hover::before {
  opacity: 1;
}

.rj-meet-pillar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.rj-meet-pillar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--rj-lime);
}

.rj-meet-pillar--cyan .rj-meet-pillar__icon { color: var(--rj-cyan); }
.rj-meet-pillar--violet .rj-meet-pillar__icon { color: var(--rj-violet); }

.rj-meet-pillar__n {
  font-family: var(--rj-f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--rj-text-dim);
}

.rj-meet-pillar--lime .rj-meet-pillar__n { color: rgba(157, 255, 87, 0.75); }
.rj-meet-pillar--cyan .rj-meet-pillar__n { color: rgba(46, 230, 224, 0.75); }
.rj-meet-pillar--violet .rj-meet-pillar__n { color: rgba(167, 139, 250, 0.8); }

.rj-meet-pillar__title {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--rj-text);
}

.rj-meet-pillar__desc {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--rj-text-muted);
}

/* ─── STAT STRIP — developer HUD (IDE + memory registers) ─────────────────── */
.rj-stat-strip--dev {
  padding-block: clamp(36px, 5vw, 56px);
  margin-top: clamp(12px, 2vw, 24px);
  background: transparent;
  overflow: hidden;
}

.rj-stat-dev {
  position: relative;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.rj-stat-dev__bg {
  position: absolute;
  inset: -20% -8%;
  pointer-events: none;
  z-index: 0;
}

.rj-stat-dev__gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(157, 255, 87, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 255, 87, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
  opacity: 0.65;
}

.rj-stat-dev__glyph {
  position: absolute;
  font-family: var(--rj-f-mono);
  font-weight: 700;
  color: rgba(157, 255, 87, 0.07);
  user-select: none;
  line-height: 1;
}

.rj-stat-dev__glyph--1 {
  top: 8%;
  left: 4%;
  font-size: clamp(3rem, 8vw, 5.5rem);
  transform: rotate(-12deg);
}

.rj-stat-dev__glyph--2 {
  top: 42%;
  right: 6%;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: rgba(46, 230, 224, 0.06);
}

.rj-stat-dev__glyph--3 {
  bottom: 12%;
  left: 18%;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: rgba(167, 139, 250, 0.08);
}

.rj-stat-dev__shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: stretch;
}

/* ── IDE terminal ── */
.rj-stat-dev__terminal {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(157, 255, 87, 0.18);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 28px 64px -28px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(157, 255, 87, 0.08);
}

.rj-stat-dev__titlebar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding: 0.55rem 0.85rem;
  background: rgba(6, 10, 18, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  font-family: var(--rj-f-mono);
  font-size: 0.68rem;
}

.rj-stat-dev__dots {
  display: inline-flex;
  gap: 5px;
}

.rj-stat-dev__dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.25);
  font-style: normal;
}

.rj-stat-dev__dots i:nth-child(1) { background: #ff5f57; }
.rj-stat-dev__dots i:nth-child(2) { background: #febc2e; }
.rj-stat-dev__dots i:nth-child(3) { background: #28c840; }

.rj-stat-dev__tabs {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
}

.rj-stat-dev__tab {
  color: var(--rj-text-muted);
  padding: 0.2rem 0.55rem;
  border-radius: 6px 6px 0 0;
  background: rgba(157, 255, 87, 0.08);
  border: 1px solid rgba(157, 255, 87, 0.15);
  border-bottom-color: transparent;
  white-space: nowrap;
}

.rj-stat-dev__tab--active {
  color: var(--rj-lime);
  background: rgba(157, 255, 87, 0.12);
  border-color: rgba(157, 255, 87, 0.28);
}

.rj-stat-dev__tab--ghost {
  opacity: 0.45;
  background: transparent;
  border-color: rgba(148, 163, 184, 0.12);
  border-bottom-color: transparent;
}

.rj-stat-dev__path {
  max-width: min(220px, 28vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(148, 163, 184, 0.45);
  font-size: 0.6rem;
}

.tok-type { color: #ffcb6b; }
.tok-fn { color: #82aaff; }
.tok-str { color: #c3e88d; }
.tok-str--pain { color: #ff9cac; }

/* ── Story mode: pain → fix narrative + typing lines ── */
.rj-stat-strip--story .rj-stat-dev__terminal {
  display: flex;
  flex-direction: column;
}

.rj-stat-strip--story .rj-stat-dev__code-wrap {
  max-height: min(340px, 52vh);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(157, 255, 87, 0.25) transparent;
}

.rj-stat-strip--story .rj-stat-dev__code--story {
  padding-bottom: 0.75rem;
}

.rj-code-line {
  display: block;
  min-height: 1.65em;
}

.rj-stat-dev--story .rj-code-line {
  opacity: 0;
  transform: translateX(-6px);
}

.rj-stat-dev--story.is-visible .rj-code-line {
  animation: rj-code-line-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.028s * var(--line-i, 0));
}

/* Stagger via sibling index — set on parent with counter */
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(1) { animation-delay: 0.02s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(2) { animation-delay: 0.05s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(3) { animation-delay: 0.08s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(4) { animation-delay: 0.11s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(5) { animation-delay: 0.14s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(6) { animation-delay: 0.17s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(7) { animation-delay: 0.2s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(8) { animation-delay: 0.23s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(9) { animation-delay: 0.26s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(10) { animation-delay: 0.29s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(11) { animation-delay: 0.32s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(12) { animation-delay: 0.35s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(13) { animation-delay: 0.38s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(14) { animation-delay: 0.41s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(15) { animation-delay: 0.44s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(16) { animation-delay: 0.47s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(17) { animation-delay: 0.5s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(18) { animation-delay: 0.53s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(19) { animation-delay: 0.56s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(20) { animation-delay: 0.59s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(21) { animation-delay: 0.62s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(22) { animation-delay: 0.65s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(23) { animation-delay: 0.68s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(24) { animation-delay: 0.71s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(25) { animation-delay: 0.74s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(26) { animation-delay: 0.77s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(27) { animation-delay: 0.8s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(28) { animation-delay: 0.83s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(29) { animation-delay: 0.86s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(30) { animation-delay: 0.89s; }
.rj-stat-dev--story.is-visible .rj-code-line:nth-child(n+31) { animation-delay: 0.92s; }

@keyframes rj-code-line-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.rj-stat-dev__run {
  padding: 0.65rem 0.85rem 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(157, 255, 87, 0.12);
  font-family: var(--rj-f-mono);
  font-size: 0.68rem;
  line-height: 1.55;
}

.rj-stat-dev__run-line {
  margin: 0;
  color: var(--rj-lime);
  opacity: 0;
  transform: translateY(4px);
}

.rj-stat-dev--story.is-visible .rj-stat-dev__run-line {
  animation: rj-run-line-in 0.4s ease forwards;
  animation-delay: calc(0.95s + 0.12s * var(--line-i, 0));
}

@keyframes rj-run-line-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rj-stat-dev__run-line:first-child {
  color: var(--rj-cyan);
}

.rj-stat-dev__caret--run {
  display: inline-block;
  width: 7px;
  height: 0.95em;
  margin-top: 0.25rem;
  vertical-align: text-bottom;
  background: var(--rj-lime);
  animation: rj-stat-caret-blink 1.05s step-end infinite;
}

.rj-stat-dev__code .rj-stat-dev__caret {
  display: none;
}

.rj-stat-dev__branch {
  color: var(--rj-violet);
  opacity: 0.85;
}

.rj-stat-dev__branch::before {
  content: "⎇ ";
  opacity: 0.7;
}

.rj-stat-dev__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--rj-lime);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.rj-stat-dev__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rj-lime);
  box-shadow: 0 0 10px var(--rj-lime);
  animation: rj-stat-live-pulse 1.8s ease-in-out infinite;
}

@keyframes rj-stat-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.rj-stat-dev__code-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  background: rgba(4, 8, 16, 0.88);
  min-height: 200px;
}

.rj-stat-dev__gutter {
  display: flex;
  flex-direction: column;
  padding: 1rem 0.55rem 1rem 0.75rem;
  text-align: right;
  font-family: var(--rj-f-mono);
  font-size: 0.68rem;
  line-height: 1.65;
  color: rgba(148, 163, 184, 0.35);
  border-right: 1px solid rgba(148, 163, 184, 0.08);
  user-select: none;
}

.rj-stat-dev__gutter span {
  display: block;
}

.rj-stat-dev__code {
  margin: 0;
  padding: 1rem 1rem 1.25rem 0.85rem;
  font-family: var(--rj-f-mono);
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  line-height: 1.65;
  color: var(--rj-text-muted);
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}

.rj-stat-dev__code code {
  font: inherit;
}

.tok-keyword { color: #c792ea; }
.tok-name { color: #82aaff; }
.tok-key { color: #7fdbca; }
.tok-punct { color: rgba(148, 163, 184, 0.55); }
.tok-comment { color: rgba(148, 163, 184, 0.42); font-style: italic; }
.tok-num { font-weight: 700; }
.tok-num--lime { color: var(--rj-lime); text-shadow: 0 0 20px rgba(157, 255, 87, 0.35); }
.tok-num--cyan { color: var(--rj-cyan); text-shadow: 0 0 20px rgba(46, 230, 224, 0.3); }
.tok-num--violet { color: #c4b5fd; text-shadow: 0 0 20px rgba(167, 139, 250, 0.35); }

.rj-stat-dev__caret {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--rj-lime);
  animation: rj-stat-caret-blink 1.05s step-end infinite;
}

@keyframes rj-stat-caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Memory registers (open brackets, not boxes) ── */
.rj-stat-dev__registers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  align-content: center;
}

.rj-stat-dev__reg {
  position: relative;
  padding: 1.1rem 1rem 1rem;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* L-shaped corner brackets only */
.rj-stat-dev__reg::before,
.rj-stat-dev__reg::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  transition: width 0.35s ease, height 0.35s ease, opacity 0.35s ease;
}

.rj-stat-dev__reg::before {
  top: 0;
  left: 0;
  border-top: 2px solid rgba(157, 255, 87, 0.45);
  border-left: 2px solid rgba(157, 255, 87, 0.45);
}

.rj-stat-dev__reg::after {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid rgba(46, 230, 224, 0.4);
  border-right: 2px solid rgba(46, 230, 224, 0.4);
}

.rj-stat-dev__reg--cyan::before {
  border-top-color: rgba(46, 230, 224, 0.5);
  border-left-color: rgba(46, 230, 224, 0.5);
}

.rj-stat-dev__reg--violet::before {
  border-top-color: rgba(167, 139, 250, 0.55);
  border-left-color: rgba(167, 139, 250, 0.55);
}

.rj-stat-dev__reg:hover {
  transform: translateY(-3px);
}

.rj-stat-dev__reg:hover::before,
.rj-stat-dev__reg:hover::after {
  width: 26px;
  height: 26px;
  opacity: 1;
}

.rj-stat-dev__reg-addr {
  font-family: var(--rj-f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: rgba(148, 163, 184, 0.45);
  margin-bottom: 0.35rem;
}

.rj-stat-dev__reg-val {
  font-family: var(--rj-f-mono);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--rj-lime);
  text-shadow: 0 0 28px rgba(157, 255, 87, 0.25);
}

.rj-stat-dev__reg--cyan .rj-stat-dev__reg-val {
  color: var(--rj-cyan);
  text-shadow: 0 0 28px rgba(46, 230, 224, 0.22);
}

.rj-stat-dev__reg--violet .rj-stat-dev__reg-val {
  color: #c4b5fd;
  text-shadow: 0 0 28px rgba(167, 139, 250, 0.25);
}

.rj-stat-dev__reg-key {
  margin-top: 0.45rem;
  font-family: var(--rj-f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rj-text-dim);
}

.rj-stat-dev__reg-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 255, 87, 0.06), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.rj-stat-dev__reg:hover .rj-stat-dev__reg-pulse {
  opacity: 1;
}

.rj-stat-dev__statusbar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 0.85rem;
  padding: 0.55rem 0.75rem;
  font-family: var(--rj-f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--rj-text-dim);
  border-top: 1px dashed rgba(148, 163, 184, 0.15);
}

.rj-stat-dev__status-item em {
  font-style: normal;
  color: rgba(148, 163, 184, 0.5);
  margin-right: 0.35rem;
}

.rj-stat-dev__status-item--ok {
  margin-left: auto;
  color: var(--rj-lime);
}

@media (max-width: 1024px) {
  .rj-hero__inner--usa {
    grid-template-columns: 1fr;
  }

  .rj-hero-ide {
    max-width: 100%;
  }

  .rj-hero-ide__registers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rj-meet__inner {
    grid-template-columns: 1fr;
  }

  .rj-meet__col {
    grid-template-columns: minmax(130px, 0.38fr) 1fr;
  }

  .rj-stat-dev__shell {
    grid-template-columns: 1fr;
  }

  .rj-stat-dev__registers {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .rj-hero__proof-bento {
    grid-template-columns: 1fr;
  }

  .rj-meet__grid {
    grid-template-columns: 1fr;
  }

  .rj-meet-pillar {
    min-height: 0;
  }

  .rj-meet-founder {
    flex-direction: column;
    align-items: flex-start;
  }

  .rj-stat-dev__registers {
    grid-template-columns: 1fr 1fr;
  }

  .rj-stat-dev__status-item--ok {
    margin-left: 0;
  }
}

@media (max-width: 540px) {
  .rj-hero__proof-bento {
    grid-template-columns: 1fr;
  }

  .rj-stat-dev__registers {
    grid-template-columns: 1fr;
  }

  .rj-stat-dev__code {
    font-size: 0.68rem;
  }

  .rj-stat-dev__glyph {
    display: none;
  }

  .rj-hero--usa .rj-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rj-hero--usa .rj-hero__actions .rj-btn {
    justify-content: center;
  }
}

/* ─── WOW HERO — cinematic US after-hours opener ─────────────────────────── */
.rj-wow-hero {
  position: relative;
  overflow: hidden;
  min-height: min(100svh, 920px);
  padding-bottom: clamp(32px, 4vw, 48px);
  isolation: isolate;
}

.rj-wow-hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.rj-wow-hero__radar {
  position: absolute;
  top: 50%;
  right: clamp(-80px, -4vw, 40px);
  width: min(680px, 72vw);
  height: min(680px, 72vw);
  transform: translateY(-48%);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 38%, rgba(34, 211, 238, 0.04) 39%, transparent 40%),
    radial-gradient(circle, transparent 58%, rgba(157, 255, 87, 0.03) 59%, transparent 60%),
    radial-gradient(circle, transparent 78%, rgba(139, 92, 246, 0.025) 79%, transparent 80%);
  opacity: 0.85;
}

.rj-wow-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.rj-wow-hero__glow--1 {
  top: 8%;
  left: -6%;
  width: 340px;
  height: 340px;
  background: rgba(34, 211, 238, 0.14);
}

.rj-wow-hero__glow--2 {
  bottom: 12%;
  right: 8%;
  width: 280px;
  height: 280px;
  background: rgba(157, 255, 87, 0.1);
}

.rj-wow-hero__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.rj-wow-hero__map-dot {
  fill: var(--rj-cyan);
  opacity: 0;
  animation: rj-wow-dot-pulse 3.6s ease-in-out infinite;
  animation-delay: calc(var(--dot-i, 0) * 0.22s);
}

@keyframes rj-wow-dot-pulse {
  0%, 100% { opacity: 0.15; r: 1.2; }
  45% { opacity: 0.95; r: 2; }
  70% { opacity: 0.35; r: 1.4; }
}

.rj-wow-hero__scan {
  position: absolute;
  top: 50%;
  right: 18%;
  width: min(520px, 55vw);
  height: min(520px, 55vw);
  transform: translateY(-50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(157, 255, 87, 0.12) 28deg, transparent 56deg);
  animation: rj-wow-scan 6s linear infinite;
  opacity: 0.5;
}

@keyframes rj-wow-scan {
  to { transform: translateY(-50%) rotate(360deg); }
}

.rj-wow-hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vw, 40px);
  min-height: calc(min(100svh, 920px) - var(--rj-header-height) - clamp(32px, 4vw, 48px));
}

.rj-wow-hero__tz {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.rj-wow-hero__tz-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(8, 14, 28, 0.55);
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.rj-wow-hero__tz-label {
  color: var(--rj-cyan);
  font-weight: 600;
}

.rj-wow-hero__tz-time {
  color: var(--rj-text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.rj-wow-hero__tz-city {
  color: var(--rj-text-muted);
  font-size: 0.68rem;
}

.rj-wow-hero__tz-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0 auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(157, 255, 87, 0.06);
  border: 1px solid rgba(157, 255, 87, 0.18);
  color: var(--rj-lime-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.rj-wow-hero__tz-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rj-lime);
  box-shadow: 0 0 12px var(--rj-lime-glow);
  animation: rj-hero-usa-pulse 2s ease-in-out infinite;
}

.rj-wow-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  flex: 1;
}

.rj-wow-hero__kicker {
  margin-bottom: clamp(14px, 2vw, 20px);
}

.rj-wow-hero__kicker-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rj-cyan);
  box-shadow: 0 0 10px var(--rj-cyan-glow);
  animation: rj-hero-usa-pulse 2.4s ease-in-out infinite;
}

.rj-wow-hero__headline {
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(16px, 2vw, 22px);
  max-width: 14ch;
}

.rj-wow-hero__headline .rj-gradient-text {
  display: block;
  margin-top: 0.12em;
}

.rj-wow-hero__sub {
  margin: 0 0 clamp(18px, 2.5vw, 26px);
  max-width: 52ch;
  color: var(--rj-text-muted);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.65;
}

.rj-wow-hero__stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  margin-bottom: clamp(22px, 3vw, 30px);
  color: var(--rj-text);
  font-size: 0.88rem;
  font-weight: 600;
}

.rj-wow-hero__stat svg {
  color: var(--rj-lime);
  flex-shrink: 0;
}

.rj-wow-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rj-wow-hero__scroll-cta svg {
  transition: transform 0.2s ease;
}

.rj-wow-hero__scroll-cta:hover svg {
  transform: translateY(2px);
}

.rj-wow-hero__stage {
  position: relative;
}

.rj-wow-hero__phone {
  position: relative;
  padding: clamp(18px, 2.5vw, 24px);
  border-radius: 28px;
  max-width: 380px;
  margin-left: auto;
}

.rj-wow-hero__phone-notch {
  width: 72px;
  height: 5px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.25);
  margin: 0 auto 14px;
}

.rj-wow-hero__phone-status {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.82rem;
  color: var(--rj-text-muted);
  margin-bottom: 6px;
}

.rj-wow-hero__phone-status span:first-child {
  color: var(--rj-text);
  font-size: 1.05rem;
  font-weight: 600;
}

.rj-wow-hero__phone-label {
  margin: 0 0 14px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rj-text-muted);
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
}

.rj-wow-hero__signals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rj-wow-hero__signal {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(6, 10, 20, 0.65);
  opacity: 0;
  transform: translateX(18px) scale(0.98);
}

.rj-wow-hero.is-live .rj-wow-hero__signal {
  animation: rj-wow-signal-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.35s + var(--sig-delay, 0) * 0.45s);
}

@keyframes rj-wow-signal-in {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.rj-wow-hero__signal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.08);
}

.rj-wow-hero__signal--cyan .rj-wow-hero__signal-icon { color: var(--rj-cyan); background: rgba(34, 211, 238, 0.1); }
.rj-wow-hero__signal--rose .rj-wow-hero__signal-icon { color: #fb7185; background: rgba(251, 113, 133, 0.1); }
.rj-wow-hero__signal--violet .rj-wow-hero__signal-icon { color: var(--rj-violet); background: rgba(139, 92, 246, 0.1); }
.rj-wow-hero__signal--lime .rj-wow-hero__signal-icon { color: var(--rj-lime); background: rgba(157, 255, 87, 0.12); }

.rj-wow-hero__signal-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rj-wow-hero__signal-body strong {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rj-text);
}

.rj-wow-hero__signal-body span {
  font-size: 0.76rem;
  color: var(--rj-text-muted);
  line-height: 1.4;
}

.rj-wow-hero__signal-time {
  font-size: 0.68rem;
  color: var(--rj-text-muted);
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  white-space: nowrap;
}

.rj-wow-hero__signal--win {
  border-color: rgba(157, 255, 87, 0.28);
  background: rgba(157, 255, 87, 0.06);
}

.rj-wow-hero__signal--win .rj-wow-hero__signal-body span {
  color: var(--rj-lime-soft);
}

.rj-wow-hero__phone-footer {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.rj-wow-hero__phone-pill {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rj-text-muted);
}

.rj-wow-hero__phone-pill strong {
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.rj-wow-hero__phone-pill--loss {
  background: rgba(251, 113, 133, 0.08);
  border: 1px solid rgba(251, 113, 133, 0.2);
}

.rj-wow-hero__phone-pill--loss strong {
  color: #fb7185;
}

.rj-wow-hero__phone-pill--loss em {
  font-style: normal;
  font-size: 0.62rem;
  color: rgba(251, 113, 133, 0.75);
}

.rj-wow-hero__phone-pill--gain {
  background: rgba(157, 255, 87, 0.08);
  border: 1px solid rgba(157, 255, 87, 0.22);
}

.rj-wow-hero__phone-pill--gain strong {
  color: var(--rj-lime);
}

.rj-wow-hero__orbit-card {
  position: absolute;
  left: -12px;
  bottom: 18%;
  padding: 12px 16px;
  border-radius: 16px;
  text-align: center;
  animation: rj-wow-orbit-float 5s ease-in-out infinite;
}

@keyframes rj-wow-orbit-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.rj-wow-hero__orbit-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--rj-text-muted);
  margin-bottom: 4px;
}

.rj-wow-hero__orbit-val {
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--rj-cyan);
}

.rj-wow-hero__ticker {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.rj-wow-hero__ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: rj-wow-ticker 42s linear infinite;
}

@keyframes rj-wow-ticker {
  to { transform: translateX(-50%); }
}

.rj-wow-hero__ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rj-text-muted);
  white-space: nowrap;
}

.rj-wow-hero__ticker-item i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rj-cyan);
  box-shadow: 0 0 8px var(--rj-cyan-glow);
}

.rj-wow-hero__bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--rj-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.2s ease;
  margin-top: auto;
  padding-top: 8px;
}

.rj-wow-hero__bridge:hover {
  color: var(--rj-lime);
}

.rj-wow-hero__bridge-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(157, 255, 87, 0.5), transparent);
}

.rj-wow-hero__bridge-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rj-wow-hero__bridge-text svg {
  animation: rj-wow-bridge-bob 2s ease-in-out infinite;
}

@keyframes rj-wow-bridge-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

@media (max-width: 960px) {
  .rj-wow-hero__grid {
    grid-template-columns: 1fr;
  }

  .rj-wow-hero__headline {
    max-width: none;
  }

  .rj-wow-hero__phone {
    margin: 0 auto;
    max-width: 100%;
  }

  .rj-wow-hero__orbit-card {
    left: auto;
    right: 8px;
    bottom: auto;
    top: -8px;
  }

  .rj-wow-hero__tz-live {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .rj-wow-hero {
    min-height: auto;
  }

  .rj-wow-hero__container {
    min-height: auto;
  }

  .rj-wow-hero__tz-pill .rj-wow-hero__tz-city {
    display: none;
  }

  .rj-wow-hero__actions {
    flex-direction: column;
  }

  .rj-wow-hero__actions .rj-btn {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rj-wow-hero__map-dot,
  .rj-wow-hero__scan,
  .rj-wow-hero__ticker-track,
  .rj-wow-hero__orbit-card,
  .rj-wow-hero__bridge-text svg,
  .rj-wow-hero__kicker-pulse,
  .rj-wow-hero__tz-live-dot,
  .rj-wow-scan__progress-fill,
  .rj-wow-scan__beam,
  .rj-wow-scan__log-line,
  .rj-wow-board__spotlight {
    animation: none !important;
  }

  .rj-wow-hero__signal,
  .rj-wow-scan__finding,
  .rj-wow-board__state--before .rj-wow-board__row {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ─── WOW SCAN variant ───────────────────────────────────────────────────── */
.rj-wow-hero--scan .rj-wow-hero__headline {
  max-width: 16ch;
}

.rj-wow-scan__ambient {
  overflow: hidden;
}

.rj-wow-scan__gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}

.rj-wow-scan__beam {
  position: absolute;
  top: 0;
  left: -20%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.08), transparent);
  animation: rj-wow-scan-beam 5s ease-in-out infinite;
}

@keyframes rj-wow-scan-beam {
  0%, 100% { transform: translateX(0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(280%); }
}

.rj-wow-scan__stage {
  position: relative;
}

.rj-wow-scan {
  padding: clamp(16px, 2vw, 22px);
  border-radius: 24px;
}

.rj-wow-scan__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.rj-wow-scan__dots {
  display: inline-flex;
  gap: 5px;
}

.rj-wow-scan__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}

.rj-wow-scan__dots i:nth-child(1) { background: #ff5f57; }
.rj-wow-scan__dots i:nth-child(2) { background: #febc2e; }
.rj-wow-scan__dots i:nth-child(3) { background: #28c840; }

.rj-wow-scan__url {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(6, 10, 20, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.14);
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.74rem;
  color: var(--rj-text-muted);
}

.rj-wow-scan__url svg {
  color: var(--rj-lime);
  flex-shrink: 0;
}

.rj-wow-scan__url strong {
  color: var(--rj-cyan);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rj-wow-scan__badge {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--rj-lime);
  background: rgba(157, 255, 87, 0.1);
  border: 1px solid rgba(157, 255, 87, 0.25);
}

.rj-wow-scan__progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.rj-wow-scan__progress-bar {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.rj-wow-scan__progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rj-cyan), var(--rj-lime));
}

.rj-wow-hero--scan.is-live .rj-wow-scan__progress-fill {
  animation: rj-wow-scan-progress 4.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes rj-wow-scan-progress {
  to { width: 100%; }
}

.rj-wow-scan__progress-label {
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  color: var(--rj-text-muted);
  white-space: nowrap;
}

.rj-wow-scan__terminal {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(4, 8, 16, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.1);
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.7rem;
  color: var(--rj-text-muted);
}

.rj-wow-scan__log-line {
  margin: 0;
  opacity: 0;
  transform: translateY(4px);
}

.rj-wow-hero--scan.is-live .rj-wow-scan__log-line {
  animation: rj-wow-scan-log 0.4s ease forwards;
  animation-delay: calc(0.2s + var(--log-i, 0) * 0.35s);
}

@keyframes rj-wow-scan-log {
  to { opacity: 1; transform: translateY(0); }
}

.rj-wow-scan__findings {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rj-wow-scan__finding {
  display: grid;
  grid-template-columns: 36px 32px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(6, 10, 20, 0.6);
  opacity: 0;
  transform: translateY(10px);
}

.rj-wow-hero--scan.is-live .rj-wow-scan__finding {
  animation: rj-wow-scan-finding 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(1.1s + var(--finding-delay, 0) * 0.55s);
}

@keyframes rj-wow-scan-finding {
  to { opacity: 1; transform: translateY(0); }
}

.rj-wow-scan__finding-sev {
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

.rj-wow-scan__finding--critical .rj-wow-scan__finding-sev { color: #fb7185; }
.rj-wow-scan__finding--warn .rj-wow-scan__finding-sev { color: #fbbf24; }
.rj-wow-scan__finding--fixed .rj-wow-scan__finding-sev { color: var(--rj-lime); }

.rj-wow-scan__finding-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.08);
}

.rj-wow-scan__finding--critical .rj-wow-scan__finding-icon { color: #fb7185; }
.rj-wow-scan__finding--warn .rj-wow-scan__finding-icon { color: #fbbf24; }
.rj-wow-scan__finding--fixed {
  border-color: rgba(157, 255, 87, 0.28);
  background: rgba(157, 255, 87, 0.06);
}
.rj-wow-scan__finding--fixed .rj-wow-scan__finding-icon { color: var(--rj-lime); }

.rj-wow-scan__finding-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rj-wow-scan__finding-body strong {
  font-size: 0.78rem;
  color: var(--rj-text);
}

.rj-wow-scan__finding-body span {
  font-size: 0.72rem;
  color: var(--rj-text-muted);
  line-height: 1.35;
}

.rj-wow-scan__finding-loss {
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.rj-wow-scan__finding--critical .rj-wow-scan__finding-loss,
.rj-wow-scan__finding--warn .rj-wow-scan__finding-loss {
  color: #fb7185;
}

.rj-wow-scan__finding--fixed .rj-wow-scan__finding-loss {
  color: var(--rj-lime);
}

.rj-wow-scan__total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
}

.rj-wow-scan__total span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--rj-text-muted);
}

.rj-wow-scan__total strong {
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 1.25rem;
  color: #fb7185;
}

.rj-wow-scan__total em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--rj-text-muted);
}

.rj-wow-scan__float {
  position: absolute;
  left: -8px;
  top: 12%;
  padding: 12px 14px;
  border-radius: 14px;
  text-align: center;
  animation: rj-wow-orbit-float 5s ease-in-out infinite;
}

.rj-wow-scan__float span {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--rj-text-muted);
  margin-bottom: 4px;
}

.rj-wow-scan__float strong {
  font-size: 1.1rem;
  color: var(--rj-cyan);
}

/* ─── WOW SCOREBOARD variant ─────────────────────────────────────────────── */
.rj-wow-hero--scoreboard .rj-wow-hero__headline {
  max-width: none;
}

.rj-wow-board__ambient {
  overflow: hidden;
}

.rj-wow-board__spotlight {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 255, 87, 0.1) 0%, transparent 68%);
  animation: rj-hero-glow-pulse 5s ease-in-out infinite;
}

.rj-wow-board__lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 80px,
    rgba(148, 163, 184, 0.02) 80px,
    rgba(148, 163, 184, 0.02) 81px
  );
}

.rj-wow-board {
  position: relative;
}

.rj-wow-board__panel {
  padding: clamp(16px, 2.5vw, 22px);
  border-radius: 24px;
}

.rj-wow-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.rj-wow-board__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--rj-lime);
}

.rj-wow-board__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rj-lime);
  box-shadow: 0 0 10px var(--rj-lime-glow);
  animation: rj-hero-usa-pulse 2s ease-in-out infinite;
}

.rj-wow-board__flip {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  background: rgba(6, 10, 20, 0.65);
  cursor: pointer;
  font: inherit;
}

.rj-wow-board__flip span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rj-text-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.rj-wow-board__flip:not(.is-after) .rj-wow-board__flip-before,
.rj-wow-board__flip.is-after .rj-wow-board__flip-after {
  background: rgba(157, 255, 87, 0.14);
  color: var(--rj-lime);
}

.rj-wow-board__cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 8px;
  padding: 0 10px 8px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rj-text-muted);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.rj-wow-board__col-you { text-align: center; color: #fb7185; }
.rj-wow-board__col-top { text-align: center; color: var(--rj-cyan); }

.rj-wow-board__state {
  display: none;
  padding-top: 8px;
}

.rj-wow-board__state.is-active {
  display: block;
}

.rj-wow-board__row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 8px;
  align-items: center;
  padding: 11px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
  background: rgba(6, 10, 20, 0.45);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateX(-12px);
}

.rj-wow-hero--scoreboard.is-live .rj-wow-board__state--before.is-active .rj-wow-board__row {
  animation: rj-wow-board-row 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.25s + var(--row-delay, 0) * 0.4s);
}

.rj-wow-board__state--after.is-active .rj-wow-board__row {
  opacity: 1;
  transform: none;
}

@keyframes rj-wow-board-row {
  to { opacity: 1; transform: translateX(0); }
}

.rj-wow-board__label {
  font-size: 0.8rem;
  color: var(--rj-text-muted);
}

.rj-wow-board__val {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rj-text);
  padding: 4px 6px;
  border-radius: 8px;
}

.rj-wow-board__val.is-winner {
  background: rgba(34, 211, 238, 0.1);
  color: var(--rj-cyan);
  border: 1px solid rgba(34, 211, 238, 0.22);
}

.rj-wow-board__state--after .rj-wow-board__val--you.is-winner {
  background: rgba(157, 255, 87, 0.1);
  color: var(--rj-lime);
  border-color: rgba(157, 255, 87, 0.25);
}

.rj-wow-board__verdict {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.86rem;
  text-align: center;
}

.rj-wow-board__verdict--lose {
  background: rgba(251, 113, 133, 0.08);
  border: 1px solid rgba(251, 113, 133, 0.2);
  color: var(--rj-text-muted);
}

.rj-wow-board__verdict--lose strong {
  color: #fb7185;
}

.rj-wow-board__verdict--win {
  background: rgba(157, 255, 87, 0.08);
  border: 1px solid rgba(157, 255, 87, 0.22);
  color: var(--rj-text-muted);
}

.rj-wow-board__verdict--win strong {
  color: var(--rj-lime);
}

.rj-wow-board__trophy {
  position: absolute;
  right: -6px;
  bottom: 10%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rj-text-muted);
  animation: rj-wow-orbit-float 6s ease-in-out infinite;
}

.rj-wow-board__trophy svg {
  color: var(--rj-lime);
}

@media (max-width: 960px) {
  .rj-wow-scan__float,
  .rj-wow-board__trophy {
    position: static;
    margin-top: 12px;
    display: inline-flex;
  }

  .rj-wow-scan__finding {
    grid-template-columns: 32px 28px 1fr;
  }

  .rj-wow-scan__finding-loss {
    grid-column: 2 / -1;
    justify-self: start;
    padding-left: 40px;
  }
}

@media (max-width: 540px) {
  .rj-wow-board__cols,
  .rj-wow-board__row {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .rj-wow-board__val {
    text-align: left;
  }

  .rj-wow-board__head {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ─── WOW INVOICE variant — weekly revenue leak statement ─────────────────── */
.rj-wow-hero--invoice {
  min-height: auto;
  padding-bottom: clamp(20px, 3vw, 36px);
}

.rj-wow-hero--invoice .rj-wow-hero__container {
  min-height: auto;
  gap: clamp(12px, 1.8vw, 18px);
}

.rj-wow-hero--invoice .rj-wow-hero__grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 400px);
  align-items: center;
  gap: clamp(16px, 2.2vw, 28px);
  width: 100%;
}

.rj-wow-inv__copy {
  max-width: none;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rj-wow-inv__chip-rail {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: stretch;
  align-self: flex-start;
  gap: 0;
  margin: 0 0 clamp(14px, 1.8vw, 18px);
  padding: 3px;
  border-radius: 999px;
  background: rgba(6, 10, 20, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.rj-wow-inv__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--rj-lime);
  white-space: nowrap;
}

.rj-wow-inv__chip--accent {
  color: var(--rj-cyan);
}

.rj-wow-inv__chip-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rj-lime);
  box-shadow: 0 0 10px var(--rj-lime-glow, rgba(157, 255, 87, 0.5));
  animation: rj-hero-usa-pulse 2.2s ease-in-out infinite;
}

.rj-wow-inv__chip-dot--cyan {
  background: var(--rj-cyan);
  box-shadow: 0 0 10px var(--rj-cyan-glow, rgba(34, 211, 238, 0.45));
}

.rj-wow-inv__chip-sep {
  align-self: center;
  width: 1px;
  height: 16px;
  margin: 0 2px;
  background: rgba(148, 163, 184, 0.22);
}

.rj-wow-inv__founder {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(16px, 2vw, 20px);
  padding: 10px 12px 10px 10px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rj-wow-inv__founder:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28), 0 0 24px rgba(157, 255, 87, 0.08);
}

.rj-wow-inv__founder > svg {
  flex-shrink: 0;
  margin-left: auto;
  color: var(--rj-text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.rj-wow-inv__founder:hover > svg {
  color: var(--rj-lime);
  transform: translateX(3px);
}

.rj-wow-inv__founder-avatar {
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(157, 255, 87, 0.35);
  background: #0a1220;
}

.rj-wow-inv__founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

.rj-wow-inv__founder-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--rj-lime);
}

.rj-wow-inv__founder-live {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rj-lime);
  border: 2px solid #0a1220;
  box-shadow: 0 0 8px var(--rj-lime-glow, rgba(157, 255, 87, 0.5));
  animation: rj-hero-usa-pulse 2s ease-in-out infinite;
}

.rj-wow-inv__founder-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rj-wow-inv__founder-copy em {
  font-style: normal;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--rj-cyan);
}

.rj-wow-inv__founder-copy strong {
  font-size: 0.95rem;
  color: var(--rj-text);
  letter-spacing: -0.02em;
}

.rj-wow-inv__founder-copy > span:last-child {
  font-size: 0.72rem;
  color: var(--rj-text-muted);
  line-height: 1.35;
}

.rj-wow-inv__panel {
  position: relative;
  isolation: isolate;
}

.rj-wow-inv__panel::before {
  content: "";
  position: absolute;
  inset: -8% -6% -8% -6%;
  z-index: -1;
  border-radius: 24px;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(251, 113, 133, 0.12), transparent 72%);
  pointer-events: none;
}

.rj-wow-inv__auditor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(157, 255, 87, 0.05);
  border: 1px solid rgba(157, 255, 87, 0.14);
}

.rj-wow-inv__auditor-avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(157, 255, 87, 0.3);
  background: #0a1220;
}

.rj-wow-inv__auditor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

.rj-wow-inv__auditor-copy {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--rj-text-muted);
}

.rj-wow-inv__auditor-copy strong {
  color: var(--rj-lime);
  font-weight: 700;
}

.rj-wow-hero--invoice .rj-wow-hero__headline {
  max-width: 13em;
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: clamp(10px, 1.4vw, 14px);
}

.rj-wow-hero--invoice .rj-wow-hero__headline .rj-gradient-text {
  display: block;
  margin-top: 0.06em;
}

.rj-wow-hero--invoice .rj-wow-hero__lede {
  margin: 0 0 clamp(10px, 1.4vw, 14px);
  max-width: 26em;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--rj-text-muted);
  text-wrap: balance;
}

.rj-wow-hero--invoice .rj-wow-hero__lede .rj-gradient-text {
  display: inline;
  color: var(--rj-lime);
  font-weight: 700;
}

.rj-wow-hero--invoice .rj-wow-hero__sub {
  max-width: 48ch;
  margin-bottom: clamp(12px, 1.6vw, 18px);
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  line-height: 1.6;
  color: var(--rj-text-muted);
}

.rj-wow-inv__ambient {
  overflow: hidden;
}

.rj-wow-inv__ledger {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(251, 113, 133, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 113, 133, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 65% 45%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 65% 45%, #000 10%, transparent 72%);
}

.rj-wow-inv__proof {
  list-style: none;
  margin: 0 0 clamp(16px, 2.2vw, 22px);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rj-wow-inv__proof li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--rj-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.rj-wow-inv__proof svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--rj-lime);
}

.rj-wow-inv {
  position: relative;
  min-width: 0;
  width: 100%;
}

.rj-wow-inv__doc {
  position: relative;
  overflow: hidden;
  padding: clamp(14px, 1.8vw, 18px);
  border-radius: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
  background:
    linear-gradient(165deg, rgba(18, 22, 34, 0.92) 0%, rgba(10, 12, 20, 0.96) 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 23px,
      rgba(148, 163, 184, 0.03) 23px,
      rgba(148, 163, 184, 0.03) 24px
    );
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rj-wow-inv__scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.7), transparent);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.rj-wow-hero--invoice.is-live .rj-wow-inv__scanline {
  animation: rj-wow-inv-scan 2.8s ease-in-out 0.2s forwards;
}

@keyframes rj-wow-inv-scan {
  0% { top: 0; opacity: 0; }
  10% { opacity: 0.85; }
  90% { opacity: 0.85; }
  100% { top: 100%; opacity: 0; }
}

.rj-wow-inv__doc::-webkit-scrollbar {
  width: 4px;
}

.rj-wow-inv__doc::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 99px;
}

.rj-wow-inv__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.rj-wow-inv__doc-type {
  margin: 0 0 4px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rj-text-muted);
  font-weight: 700;
}

.rj-wow-inv__doc-id {
  margin: 0;
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rj-text);
}

.rj-wow-inv__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid rgba(251, 113, 133, 0.35);
  background: rgba(251, 113, 133, 0.1);
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fb7185;
  white-space: nowrap;
}

.rj-wow-inv__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.rj-wow-inv__meta em {
  display: block;
  font-style: normal;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rj-text-muted);
  margin-bottom: 3px;
}

.rj-wow-inv__meta-item {
  min-width: 0;
}

.rj-wow-inv__meta strong {
  display: block;
  font-size: 0.78rem;
  color: var(--rj-text);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.rj-wow-inv__meta strong[data-wow-inv-from] {
  color: var(--rj-cyan);
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.74rem;
}

.rj-wow-inv__cols {
  display: grid;
  grid-template-columns: 56px 1fr 76px;
  gap: 6px;
  padding: 0 4px 6px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rj-text-muted);
}

.rj-wow-inv__cols span:last-child {
  text-align: right;
}

.rj-wow-inv__lines {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rj-wow-inv__line {
  display: grid;
  grid-template-columns: 56px 1fr 76px;
  gap: 6px;
  align-items: start;
  padding: 7px 2px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  opacity: 0;
  transform: translateX(-14px);
}

.rj-wow-hero--invoice.is-live .rj-wow-inv__line {
  animation: rj-wow-inv-line 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.45s + var(--line-delay, 0) * 0.52s);
}

@keyframes rj-wow-inv-line {
  to { opacity: 1; transform: translateX(0); }
}

.rj-wow-inv__code {
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--rj-violet);
  padding-top: 2px;
}

.rj-wow-inv__line-body {
  position: relative;
  min-width: 0;
}

.rj-wow-inv__line-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 6px;
  margin-bottom: 2px;
}

.rj-wow-inv__line-body strong {
  font-size: 0.78rem;
  color: var(--rj-text);
  line-height: 1.3;
}

.rj-wow-inv__line-body span {
  display: block;
  font-size: 0.7rem;
  color: var(--rj-text-muted);
  line-height: 1.35;
}

.rj-wow-inv__mark {
  display: inline-block;
  margin: 0;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.28);
  color: #fb7185;
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rj-wow-inv__amt {
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fb7185;
  text-align: right;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rj-wow-inv__subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
}

.rj-wow-inv__subtotal-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.rj-wow-inv__subtotal-copy em {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--rj-text-muted);
  line-height: 1.35;
}

.rj-wow-inv__subtotal span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rj-text-muted);
  font-weight: 600;
}

.rj-wow-inv__subtotal strong {
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-variant-numeric: tabular-nums;
}

.rj-wow-inv__subtotal--debit {
  background: rgba(251, 113, 133, 0.08);
  border: 1px solid rgba(251, 113, 133, 0.22);
}

.rj-wow-inv__subtotal--debit strong {
  color: #fb7185;
}

.rj-wow-inv__recovery {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(157, 255, 87, 0.06);
  border: 1px solid rgba(157, 255, 87, 0.18);
}

.rj-wow-inv__recovery-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--rj-lime);
}

.rj-wow-inv__recovery-label svg {
  color: var(--rj-lime);
  flex-shrink: 0;
}

.rj-wow-inv__recovery-val {
  font-family: var(--rj-font-mono, 'JetBrains Mono', monospace);
  font-size: 1rem;
  font-weight: 700;
  color: var(--rj-lime);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rj-wow-inv__fine {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.64rem;
  line-height: 1.45;
  color: var(--rj-text-muted);
}

@media (max-width: 960px) {
  .rj-wow-hero--invoice .rj-wow-hero__grid {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: clamp(20px, 4vw, 28px);
  }

  .rj-wow-hero--invoice .rj-wow-hero__headline,
  .rj-wow-hero--invoice .rj-wow-hero__lede {
    max-width: none;
  }

  .rj-wow-inv__chip-rail {
    max-width: 100%;
  }

  .rj-wow-inv__chip {
    white-space: normal;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .rj-wow-inv__chip-rail {
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px;
    padding: 4px;
  }

  .rj-wow-inv__chip-sep {
    width: auto;
    height: 1px;
    margin: 0 10px;
  }

  .rj-wow-inv__chip {
    justify-content: flex-start;
    white-space: normal;
  }
}

@media (max-width: 540px) {
  .rj-wow-inv__cols,
  .rj-wow-inv__line,
  .rj-wow-inv__credit-line {
    grid-template-columns: 58px 1fr;
  }

  .rj-wow-inv__amt {
    grid-column: 2;
    text-align: left;
    padding-left: 0;
    margin-top: 4px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .rj-wow-inv__scanline {
    animation: none !important;
  }

  .rj-wow-hero--invoice.is-live .rj-wow-inv__line {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}