/* =============================================================
   RISE IN RANK — PREMIUM DESIGN LAYER v1.0
   Aurora glows, noise textures, scroll animations, glassmorphism
   Sits on top of base design system (style.css)
   ============================================================= */

/* ===== ENHANCED COLOR DEPTH ===== */
:root {
  --rir-dark-deep: #0D0D1A;
  --rir-dark-surface: #141428;
  --rir-glow-green: rgba(34, 197, 94, 0.15);
  --rir-glow-blue: rgba(59, 130, 246, 0.08);
  --rir-glass-bg: rgba(255, 255, 255, 0.03);
  --rir-glass-border: rgba(255, 255, 255, 0.08);
  --rir-section-pad: 80px;
  --rir-section-pad-mob: 56px;
}

/* ===== NOISE TEXTURE OVERLAY ===== */
/* Inline SVG noise — no external file needed */
.rir-noise::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}
.rir-noise { position: relative; }
.rir-noise > * { position: relative; z-index: 2; }

/* ===== AURORA GLOW EFFECTS ===== */
.rir-aurora {
  position: relative;
  overflow: hidden;
}
.rir-aurora::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rir-glow-green) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: rir-aurora-drift 12s ease-in-out infinite alternate;
}
.rir-aurora::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rir-glow-blue) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: rir-aurora-drift 15s ease-in-out infinite alternate-reverse;
}
.rir-aurora > * { position: relative; z-index: 2; }

@keyframes rir-aurora-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
  100% { transform: translate(-20px, 30px) scale(0.95); }
}

/* ===== DEEPER DARK SECTIONS ===== */
/* Homepage hero stays white (Kennedy approach) — dark only for inner pages */
.rir-book-hero,
.rir-about-hero,
.rir-cohort-hero,
.rir-services-hero,
.rir-course-hero {
  background: var(--rir-dark-deep);
}

/* ===== INNER-PAGE HERO CENTERING =====
   Course + Cohort + Services + About heroes were rendering left-aligned with
   empty right halves. Force-center everything for consistency with the rest
   of the site (homepage, challenge, get-found are all centered). */
.rir-course-hero,
.rir-cohort-hero,
.rir-services-hero,
.rir-about-hero {
  text-align: center;
  padding: 80px 24px 90px;
}
.rir-course-hero > *,
.rir-cohort-hero > *,
.rir-services-hero > *,
.rir-about-hero > *,
.rir-course-hero-inner,
.rir-cohort-hero-inner,
.rir-services-hero-inner,
.rir-about-hero-inner {
  text-align: center !important;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.rir-course-hero h1,
.rir-cohort-hero h1,
.rir-services-hero h1,
.rir-about-hero h1 {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 900px;
  text-align: center !important;
}
.rir-course-hero p,
.rir-cohort-hero p,
.rir-services-hero p,
.rir-about-hero p {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 640px;
  text-align: center !important;
}
/* CTA buttons + meta blocks inside these heroes */
.rir-course-hero .rir-btn-green,
.rir-cohort-hero .rir-btn-green,
.rir-services-hero .rir-btn-green,
.rir-course-hero > div,
.rir-cohort-hero > div,
.rir-services-hero > div,
.rir-course-hero-stats,
.rir-cohort-hero-stats {
  text-align: center;
  justify-content: center;
}
/* The "CTA + secondary link" button row */
.rir-course-hero .rir-cta-row,
.rir-cohort-hero .rir-cta-row,
.rir-course-hero > div > .rir-btn-green,
.rir-course-hero > div > a {
  display: inline-flex;
  gap: 14px;
  justify-content: center;
}

.rir-proof-strip {
  background: var(--rir-dark-surface);
}

/* ===== ENHANCED SECTION PADDING ===== */
body[class*="page-template-template-rir-"] .rir-section {
  padding: var(--rir-section-pad) 0;
}
@media (max-width: 768px) {
  body[class*="page-template-template-rir-"] .rir-section {
    padding: var(--rir-section-pad-mob) 0;
  }
}

/* ===== GRADIENT LINE SECTION DIVIDERS ===== */
.rir-section + .rir-section {
  border-top: none;
}
.rir-gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rir-green), transparent);
  border: none;
  margin: 0;
}

/* ===== SCROLL FADE-IN ANIMATIONS =====
   Content is ALWAYS visible by default. Animations run via CSS keyframes
   so they don't depend on IntersectionObserver firing — if JS fails,
   the page is still fully readable. */
.rir-reveal {
  animation: rirRevealIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes rirRevealIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Staggered children — first 6 get incrementing delays */
.rir-reveal-stagger > * {
  animation: rirRevealIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.rir-reveal-stagger > *:nth-child(1) { animation-delay: 0s; }
.rir-reveal-stagger > *:nth-child(2) { animation-delay: 0.06s; }
.rir-reveal-stagger > *:nth-child(3) { animation-delay: 0.12s; }
.rir-reveal-stagger > *:nth-child(4) { animation-delay: 0.18s; }
.rir-reveal-stagger > *:nth-child(5) { animation-delay: 0.24s; }
.rir-reveal-stagger > *:nth-child(6) { animation-delay: 0.30s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .rir-reveal,
  .rir-reveal-stagger > * {
    animation: none !important;
  }
}

/* ===== ENHANCED CTA BUTTONS ===== */
/* Explicit brand-green base — overrides FluentForm/Woodmart defaults that
   were producing light-gray bg with white text (unreadable). */
.rir-btn-green,
button.rir-btn-green,
input.rir-btn-green,
.rir-hero-form button[type="submit"],
.rir-hero-form input[type="submit"],
.rir-toolkit-form button[type="submit"],
form .rir-btn-green {
  position: relative;
  overflow: hidden;
  display: inline-block;
  background: #22c55e !important;
  background-image: linear-gradient(180deg, #2ed366 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 16px 28px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.25s ease !important;
  text-decoration: none !important;
  text-align: center;
  line-height: 1.2 !important;
}
.rir-btn-green:hover,
button.rir-btn-green:hover,
.rir-hero-form button[type="submit"]:hover {
  background-image: linear-gradient(180deg, #3ddc73 0%, #1eb155 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.45), 0 1px 3px rgba(0, 0, 0, 0.12) !important;
}
.rir-btn-green::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.rir-btn-green:hover::before {
  opacity: 1;
}
.rir-btn-green:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.35), 0 0 60px rgba(34, 197, 94, 0.15);
}
.rir-btn-green:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}

/* ===== GLASSMORPHISM CARDS ===== */
.rir-glass {
  background: var(--rir-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--rir-glass-border);
  border-radius: 12px;
}

/* Testimonial cards upgrade */
.rir-testimonial {
  background: var(--rir-white);
  border: 1px solid var(--rir-border);
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.rir-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Service cards upgrade */
.rir-service-card {
  border-radius: 12px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s, box-shadow 0.3s ease;
}
.rir-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* Ladder cards upgrade */
.rir-ladder-card {
  border-radius: 12px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.rir-ladder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

/* ===== FLOATING STICKY CTA BAR ===== */
.rir-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(13, 13, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(34, 197, 94, 0.2);
  padding: 12px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.rir-sticky-cta.rir-sticky-visible {
  transform: translateY(0);
}
.rir-sticky-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rir-sticky-cta-text {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}
.rir-sticky-cta .rir-btn-green {
  font-size: 14px;
  padding: 12px 28px;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .rir-sticky-cta-text { display: none; }
  .rir-sticky-cta .rir-btn-green { width: 100%; text-align: center; }
}

/* ===== PROOF STRIP GLOW ===== */
.rir-proof-num {
  text-shadow: 0 0 40px rgba(34, 197, 94, 0.3);
}

/* ===== ENHANCED GREEN RULE ===== */
.rir-rule {
  background: linear-gradient(90deg, var(--rir-green), var(--rir-green-dark));
  border-radius: 2px;
}
.rir-rule-center {
  background: linear-gradient(90deg, var(--rir-green), var(--rir-green-dark));
  border-radius: 2px;
}

/* ===== ENHANCED HERO (white Kennedy) ===== */
.rir-hero {
  position: relative;
  overflow: hidden;
  border-bottom: none;
  padding: 72px 24px 88px;
  background: var(--rir-white);
  text-align: center;
}
/* Force centering of all hero content explicitly */
.rir-hero,
.rir-hero-inner,
.rir-hero h1,
.rir-hero-headline,
.rir-hero p,
.rir-hero-sub,
.rir-hero-form,
.rir-hero-form .ff-el-group {
  text-align: center !important;
}
.rir-hero-inner {
  max-width: 880px;
  margin: 0 auto;
}
.rir-hero h1,
.rir-hero-headline {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 880px;
}
.rir-hero p,
.rir-hero-sub {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 620px;
}
.rir-hero-form,
.rir-hero form,
.rir-hero .ff-form-wrapper,
.rir-hero .frm-fluent-form {
  max-width: 480px;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Subtle green glow on white hero */
.rir-hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}
.rir-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--rir-green) 50%, transparent 95%);
  z-index: 3;
}
.rir-hero > * { position: relative; z-index: 2; }

/* ===== BOOK HERO AURORA ===== */
.rir-book-hero {
  position: relative;
  overflow: hidden;
}
.rir-book-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  filter: blur(100px);
  pointer-events: none;
}
.rir-book-hero > * { position: relative; z-index: 2; }

/* ===== FAQ ENHANCEMENT ===== */
.rir-faq-item {
  border-bottom-color: var(--rir-border);
  transition: background 0.2s;
}
.rir-faq-item:hover {
  background: rgba(34, 197, 94, 0.02);
}
.rir-faq-question {
  transition: color 0.2s;
}
.rir-faq-item:hover .rir-faq-question {
  color: var(--rir-green-dark);
}

/* ===== KENNEDY BOX UPGRADE ===== */
.rir-kennedy-box {
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFFDF5 0%, var(--rir-white) 100%);
}
.rir-kennedy-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(184, 146, 58, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* ===== GUARANTEE BOX UPGRADE ===== */
.rir-guarantee-box {
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.rir-guarantee-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rir-green), var(--rir-green-dark), var(--rir-green));
}

/* ===== ENHANCED STORY QUOTE ===== */
.rir-story-quote {
  border-left-color: var(--rir-green);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.04) 0%, var(--rir-light) 100%);
}

/* ===== ENHANCED PROOF STRIP ===== */
.rir-proof-strip {
  position: relative;
  overflow: hidden;
}
.rir-proof-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.3), transparent);
}
.rir-proof-strip::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.3), transparent);
}

/* ===== SMOOTH SCROLL ===== */
html {
  scroll-behavior: smooth;
}

/* ===== ENHANCED DARK CTA SECTIONS ===== */
section[style*="background: var(--rir-dark)"] {
  position: relative;
  overflow: hidden;
}

/* ===== FOUNDER PHOTO UPGRADE ===== */
.rir-founder-photo-col img {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.1);
  transition: box-shadow 0.3s;
}
.rir-founder-photo-col img:hover {
  box-shadow: 0 0 60px rgba(34, 197, 94, 0.2);
}

/* ===== ENHANCED FORM INPUTS ===== */
.rir-hero-form input[type="email"],
.rir-toolkit-form input[type="text"],
.rir-toolkit-form input[type="email"] {
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.rir-hero-form input[type="email"]:focus {
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

/* ===== ENHANCED BORDER RADIUS ===== */
.rir-callout-green,
.rir-ps-block,
.rir-investment-block,
.rir-application-form {
  border-radius: 12px;
}

/* ===== LINK UNDERLINE ANIMATION ===== */
.rir-founder-copy a,
.rir-about-body a {
  text-decoration: none;
  background-image: linear-gradient(var(--rir-green-dark), var(--rir-green-dark));
  background-size: 0% 2px;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease;
  padding-bottom: 2px;
}
.rir-founder-copy a:hover,
.rir-about-body a:hover {
  background-size: 100% 2px;
}

/* ===== OS LAYER CARD UPGRADE ===== */
.rir-os-layer {
  padding: 28px;
  margin-bottom: 4px;
  border-bottom: none;
  border-radius: 12px;
  transition: background 0.2s;
}
.rir-os-layer:hover {
  background: var(--rir-light);
}

/* ===== NUMBER COUNTER ANIMATION (for proof strip) ===== */
@keyframes rir-count-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.rir-proof-strip.rir-visible .rir-proof-num {
  animation: rir-count-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.rir-proof-strip.rir-visible .rir-proof-stat:nth-child(2) .rir-proof-num { animation-delay: 0.15s; }
.rir-proof-strip.rir-visible .rir-proof-stat:nth-child(3) .rir-proof-num { animation-delay: 0.3s; }

/* ===== SERVICES HERO AURORA ===== */
.rir-services-hero {
  position: relative;
  overflow: hidden;
}

/* ===== BOOK CHAPTER LISTINGS ===== */
.rir-ch {
  padding: 20px 24px;
  margin-bottom: 2px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  border-left: 3px solid transparent;
}
.rir-ch:hover {
  background: var(--rir-light);
  border-left-color: var(--rir-green);
  transform: translateX(4px);
}
.rir-ch span {
  transition: color 0.2s;
}
.rir-ch:hover span {
  color: var(--rir-green-dark);
}

/* =============================================================
   THE VISIBLE EVERYWHERE CHALLENGE — sales page styles
   Brunson-style long-form sales page
   ============================================================= */

/* Hero — dark, urgent, Schwartz-Stage-5 framed */
.rir-challenge-hero {
  background: var(--rir-dark-deep);
  color: rgba(255,255,255,0.92);
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.rir-challenge-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -150px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.13) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.rir-challenge-hero-inner {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto; text-align: center;
}
.rir-label-warning {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  color: #fbbf24; text-transform: uppercase;
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.25);
  padding: 8px 18px; border-radius: 999px;
  margin-bottom: 32px;
}
.rir-challenge-hero .rir-h1-challenge,
h1.rir-h1-challenge {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(32px, 4.6vw, 60px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  color: #ffffff !important;
  margin: 0 0 28px !important;
  letter-spacing: -0.02em !important;
}
.rir-green-highlight { color: var(--rir-green); }
.rir-h1-sub {
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55; color: rgba(255,255,255,0.78);
  max-width: 760px; margin: 0 auto 28px;
}
.rir-h1-stake {
  font-size: 15px; color: rgba(255,255,255,0.55);
  font-style: italic; margin-bottom: 40px;
}
.rir-challenge-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.rir-challenge-meta span {
  font-size: 14px; color: rgba(255,255,255,0.7);
}
.rir-challenge-meta strong { color: var(--rir-green); margin-right: 6px; }

/* Story block — empathy/epiphany section */
.rir-story {
  max-width: var(--rir-max-body); margin: 0 auto;
  font-size: 18px; line-height: 1.75; color: var(--rir-text);
}
.rir-story p { margin: 0 0 1.25em; }
.rir-story-punch {
  background: linear-gradient(135deg, rgba(34,197,94,0.06), var(--rir-light));
  border-left: 4px solid var(--rir-green);
  padding: 20px 26px; margin: 1.8em 0;
  border-radius: 0 12px 12px 0;
  font-size: 18px;
}
.rir-reframe-punch {
  font-size: 20px; font-weight: 600;
  color: var(--rir-text); line-height: 1.55;
  border-left: 3px solid var(--rir-green);
  padding-left: 20px; margin: 1.8em 0;
}
.rir-mechanism-domino {
  background: var(--rir-dark);
  color: rgba(255,255,255,0.92);
  padding: 32px 36px; margin-top: 40px;
  border-radius: 12px;
  font-size: 17px; line-height: 1.6;
}
.rir-mechanism-domino strong { color: var(--rir-green); }
.rir-mechanism-domino em { color: rgba(255,255,255,0.95); font-style: italic; }

/* OS layer numbers (used inside .rir-os-layer in challenge page) */
.rir-os-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--rir-green);
  color: #fff; font-weight: 800; font-size: 15px;
  border-radius: 12px;
  flex-shrink: 0;
}

/* Deliverables list */
.rir-deliverables {
  max-width: var(--rir-max-body); margin: 32px auto 0;
  list-style: none; padding: 0;
  counter-reset: deliv;
}
.rir-deliverables li {
  counter-increment: deliv;
  position: relative;
  padding: 24px 24px 24px 84px;
  margin-bottom: 14px;
  background: var(--rir-white);
  border: 1px solid var(--rir-border);
  border-radius: 12px;
  font-size: 17px; line-height: 1.6;
}
.rir-deliverables li::before {
  content: counter(deliv, decimal-leading-zero);
  position: absolute; left: 24px; top: 22px;
  font-family: 'Inter', sans-serif;
  font-size: 28px; font-weight: 800;
  color: var(--rir-green);
}
.rir-deliverables strong { color: var(--rir-dark); }

/* Curriculum weeks */
.rir-curriculum {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 32px;
}
.rir-curriculum-week {
  background: var(--rir-white);
  border: 1px solid var(--rir-border);
  border-radius: 12px;
  padding: 28px;
}
.rir-curriculum-week-label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--rir-green-dark); text-transform: uppercase;
  margin-bottom: 12px;
}
.rir-curriculum-week p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--rir-text-mid); }
.rir-curriculum-detail {
  max-width: var(--rir-max-body); margin: 32px auto 0;
  font-size: 16px; line-height: 1.65; color: var(--rir-text-mid);
  text-align: center; font-style: italic;
}

/* THE STACK — the centerpiece offer block */
.rir-stack-section { background: var(--rir-light); }
.rir-h2-center { text-align: center; }
.rir-stack-box {
  max-width: 760px; margin: 40px auto 32px;
  background: var(--rir-white);
  border: 2px solid var(--rir-green);
  border-radius: 16px;
  padding: 36px 36px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06), 0 0 80px rgba(34,197,94,0.05);
}
.rir-stack-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--rir-border);
  font-size: 16px; line-height: 1.55;
}
.rir-stack-item:last-of-type { border-bottom: none; }
.rir-stack-check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: var(--rir-green); color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  margin-top: 2px;
}
.rir-stack-item strong { color: var(--rir-dark); }
.rir-stack-value {
  display: inline-block;
  font-size: 13px; color: var(--rir-green-dark);
  font-weight: 600; font-style: normal;
  margin-left: 8px;
}
.rir-stack-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px; padding-top: 18px;
  border-top: 2px dashed var(--rir-border);
  font-size: 15px; color: var(--rir-text-mid);
}
.rir-stack-total strong { font-size: 20px; color: var(--rir-text); text-decoration: line-through; opacity: 0.55; }
.rir-stack-price {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; padding-top: 8px;
  font-size: 16px;
}
.rir-stack-price strong { font-size: 16px; }
.rir-stack-price-num {
  font-family: 'Inter', sans-serif;
  font-size: 48px !important;
  font-weight: 800 !important;
  color: var(--rir-green) !important;
  text-decoration: none !important;
  opacity: 1 !important;
  line-height: 1;
}
.rir-stack-cta-sub {
  font-size: 13px; color: var(--rir-text-mid);
  margin-top: 18px; max-width: 580px; margin-left: auto; margin-right: auto;
  text-align: center;
}

/* Extra-large CTA */
.rir-btn-xl {
  display: inline-block;
  padding: 22px 56px;
  font-size: 19px; font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 14px;
  margin-top: 24px;
}

/* Guarantee label + sig */
.rir-guarantee-label {
  display: block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--rir-green-dark); text-transform: uppercase;
  margin-bottom: 18px;
}
.rir-guarantee-sig {
  font-size: 14px; color: var(--rir-text-mid);
  margin-top: 24px;
}

/* P.S. block — generic card variant (used inside dark sections) */
.rir-ps {
  max-width: 640px; margin: 60px auto 0;
  padding: 32px 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  text-align: left;
}
/* Direct-child paragraphs only (card variant inside dark section).
   Excludes .rir-ps-block descendants which have their own styling below. */
.rir-ps > p {
  font-size: 16px; line-height: 1.65;
  color: rgba(255,255,255,0.78);
  margin: 0 0 14px;
}
.rir-ps > p:last-child { margin-bottom: 0; }
/* Strong is INSIDE the paragraphs, not a direct child of .rir-ps */
.rir-ps > p strong,
.rir-ps strong {
  color: var(--rir-green);
}

/* P.S. SECTION — homepage variant (used as full-width <section class="rir-section rir-ps">) */
/* Reset the card styling when .rir-ps is used as a section wrapper */
section.rir-section.rir-ps {
  max-width: none;
  margin: 0 auto !important;
  padding: 20px 0 60px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  text-align: center;
}
/* PS block — base styling only (max-width, padding, border-radius).
   Color theme is context-dependent (light bg vs dark bg) and is set by
   the two variants below. */
.rir-ps-block {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 12px;
  padding: 32px 36px;
  text-align: left;
}
.rir-ps-block p {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 14px;
}
.rir-ps-block p:last-child { margin-bottom: 0; }
.rir-ps-block strong { font-weight: 800; }
.rir-ps-block a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* LIGHT VARIANT — when .rir-ps-block sits inside the homepage's
   <section class="rir-section rir-ps"> wrapper (light page footer area). */
section.rir-section.rir-ps .rir-ps-block {
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  color: #2d3142;
}
section.rir-section.rir-ps .rir-ps-block p { color: #2d3142; }
section.rir-section.rir-ps .rir-ps-block strong { color: #1a8064; }
section.rir-section.rir-ps .rir-ps-block a {
  color: #1a8064;
  text-decoration-color: rgba(67, 217, 173, 0.5);
}
section.rir-section.rir-ps .rir-ps-block a:hover { text-decoration-color: #43d9ad; }

/* DARK VARIANT — when .rir-ps-block stands alone in a dark-themed page
   (/course/, /cohort/, etc.) the default tone is white-on-dark.
   Use a SOLID dark background so it's readable even when the surrounding
   page section happens to be light. */
section.rir-ps-block,
.rir-ps-block:not(section.rir-section.rir-ps .rir-ps-block) {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(67, 217, 173, 0.18);
  box-shadow: 0 8px 32px rgba(15, 23, 41, 0.08);
}
section.rir-ps-block p,
.rir-ps-block:not(section.rir-section.rir-ps .rir-ps-block) p {
  color: rgba(255, 255, 255, 0.85);
}
section.rir-ps-block strong,
.rir-ps-block:not(section.rir-section.rir-ps .rir-ps-block) strong {
  color: #43d9ad;
}
section.rir-ps-block a,
.rir-ps-block:not(section.rir-section.rir-ps .rir-ps-block) a {
  color: #43d9ad;
  text-decoration-color: rgba(67, 217, 173, 0.5);
}

/* Footer logo — 3x bigger */
.rir-footer-brand img,
.rir-footer .rir-footer-brand img,
footer .rir-footer-brand img {
  width: 168px !important;
  max-width: 168px !important;
  height: auto !important;
  margin-bottom: 14px;
}

/* =====================================================================
   QUIET PHONE — Kennedy/Carlton long-form salesletter homepage
   Single-column reading layout, no decorative noise, max readability.
   ===================================================================== */

.rir-qp-hook,
.rir-qp-body {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.rir-qp-hook {
  background: linear-gradient(180deg, #0f1729 0%, #16213e 100%);
  color: #fff;
  padding: 70px 24px 50px;
  text-align: center;
}
.rir-qp-body {
  background: #fafaf7;
  padding: 60px 24px 80px;
}
.rir-qp-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.rir-qp-letter {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  color: #1a1a2e;
}
.rir-qp-warning {
  display: inline-block;
  background: rgba(217, 119, 6, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 7px 16px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.rir-qp-h1 {
  font-family: 'Inter', sans-serif !important;
  color: #fff !important;
  font-size: clamp(28px, 4vw, 44px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin: 0 0 22px !important;
  letter-spacing: -0.01em;
}
.rir-qp-h1-sub {
  display: block;
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 12px;
}
.rir-qp-deck {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-style: italic;
  font-family: Georgia, serif;
  margin: 24px 0 0;
}
.rir-qp-rule {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 36px auto 0;
  max-width: 200px;
}
.rir-qp-from {
  font-family: Georgia, serif;
  font-style: italic;
  color: #6b7280;
  font-size: 15px;
  margin: 0 0 30px;
  line-height: 1.5;
}
.rir-qp-dear {
  font-family: Georgia, serif;
  font-size: 19px;
  margin: 0 0 22px;
}
.rir-qp-letter p {
  margin: 0 0 22px;
}
.rir-qp-letter strong { font-weight: 700; }
.rir-qp-letter em { font-style: italic; }
.rir-qp-lead-callout {
  background: #fff;
  border-left: 4px solid #43d9ad;
  padding: 18px 24px;
  margin: 30px 0 !important;
  font-size: 19px;
  line-height: 1.55;
}
.rir-qp-h2 {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 800 !important;
  color: #0f1729 !important;
  margin: 50px 0 22px !important;
  line-height: 1.2;
}
.rir-qp-tm {
  color: #1a8064;
  font-style: italic;
}
.rir-qp-ol {
  margin: 0 0 22px 22px;
  padding: 0;
  font-size: 17px;
  line-height: 1.7;
}
.rir-qp-ol li {
  margin-bottom: 6px;
}

/* Mechanism box */
.rir-qp-mechanism {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 36px 32px;
  margin: 30px 0;
}
.rir-qp-step {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #f0f0eb;
}
.rir-qp-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.rir-qp-step-num {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #43d9ad;
  margin-bottom: 8px;
}
.rir-qp-step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #0f1729;
  margin: 0 0 12px;
}
.rir-qp-step p {
  font-size: 16.5px;
  margin: 0 0 12px;
  color: #2d3142;
}
.rir-qp-mech-close {
  font-size: 19px !important;
  line-height: 1.6;
  text-align: center;
  margin: 30px auto !important;
  max-width: 620px;
}

/* Promise list */
.rir-qp-promises {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.rir-qp-promises li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.55;
}
.rir-qp-promises li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: #43d9ad;
  font-weight: 800;
  font-size: 20px;
}

/* Proof grid (3 case study cards) */
.rir-qp-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 30px 0;
}
.rir-qp-proof-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 22px 22px 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.rir-qp-proof-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 41, 0.08);
  border-color: #43d9ad;
}
.rir-qp-proof-tag {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 8px;
}
.rir-qp-proof-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #0f1729;
  margin: 0 0 14px;
}
.rir-qp-proof-stat {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 6px !important;
  color: #2d3142;
}
.rir-qp-proof-link {
  display: block;
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1a8064;
}
.rir-qp-proof-foot {
  font-size: 16px;
  font-style: italic;
  color: #4b5563;
  text-align: center;
}

/* Fit / not fit */
.rir-qp-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
}
@media (max-width: 720px) {
  .rir-qp-fit { grid-template-columns: 1fr; }
}
.rir-qp-fit-yes,
.rir-qp-fit-no {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 22px 22px 18px;
}
.rir-qp-fit-yes { border-top: 4px solid #43d9ad; }
.rir-qp-fit-no { border-top: 4px solid #d14b4b; }
.rir-qp-fit h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 14px;
  color: #0f1729;
}
.rir-qp-fit ul {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.55;
  color: #2d3142;
}
.rir-qp-fit li { margin-bottom: 10px; }

/* CTA block */
.rir-qp-cta-block {
  text-align: center;
  margin: 40px 0;
  padding: 36px 28px;
  background: #fff;
  border: 2px solid #43d9ad;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(67, 217, 173, 0.15);
}
.rir-qp-cta {
  display: inline-block;
  background: linear-gradient(180deg, #4ee0b6 0%, #36c79c 100%);
  color: #0f1729;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 18px 36px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid #36c79c;
  box-shadow: 0 6px 18px rgba(67, 217, 173, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.rir-qp-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(67, 217, 173, 0.5);
  color: #0f1729;
}
.rir-qp-cta-sub {
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6b7280;
}

.rir-qp-diag-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.rir-qp-diag-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  font-size: 17px;
  line-height: 1.55;
}
.rir-qp-diag-list li::before {
  content: '\25B8';
  position: absolute;
  left: 0;
  color: #43d9ad;
  font-weight: 800;
}

.rir-qp-signoff {
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
  margin: 50px 0 30px;
}
.rir-qp-ps {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 26px 28px;
  margin-top: 20px;
}
.rir-qp-ps p {
  font-size: 16px !important;
  margin: 0 0 14px !important;
}
.rir-qp-ps strong { color: #1a8064; }

/* Sticky CTA at bottom */
.rir-qp-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f1729;
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.2);
}
.rir-qp-sticky-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.rir-qp-sticky-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.rir-qp-sticky-cta {
  background: #43d9ad;
  color: #0f1729;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}

/* Form embedding */
.rir-qp-form-wrap {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 30px 28px;
  margin: 20px 0 30px;
}
.rir-qp-form-foot {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6b7280;
  margin-top: 14px !important;
  text-align: center;
}

/* CASE STUDY pages */
.rir-cs-hero {
  background: linear-gradient(135deg, #0f1729 0%, #16213e 100%);
  color: #fff;
  padding: 70px 24px 50px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.rir-cs-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #43d9ad;
  margin: 0 0 14px;
}
.rir-cs-h1 {
  font-family: 'Inter', sans-serif !important;
  color: #fff !important;
  font-size: clamp(36px, 5vw, 56px) !important;
  font-weight: 800 !important;
  margin: 0 0 14px !important;
}
.rir-cs-deck {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  margin: 0;
}
.rir-cs-results {
  background: #fff;
  padding: 30px 24px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-bottom: 1px solid #e5e7eb;
}
.rir-cs-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.rir-cs-stat {
  padding: 16px;
}
.rir-cs-stat-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #1a8064;
  line-height: 1;
}
.rir-cs-stat-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0f1729;
  margin-top: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rir-cs-stat-detail {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}
.rir-cs-quote {
  margin: 40px 0;
  padding: 28px 32px;
  background: #fff;
  border-left: 4px solid #43d9ad;
  border-radius: 8px;
}
.rir-cs-quote p {
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.5;
  font-style: italic;
  color: #1a1a2e;
  margin: 0 0 16px !important;
}
.rir-cs-quote footer {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #6b7280;
}

/* =====================================================================
   BRUNSON-STYLE VISUAL COMPONENTS (reusable across QP funnel pages)
   Studied from Funnel Builder Secrets Module 6: Copy Design, Brunson
   Boxes, Funnel Design. Goal: break text blobs, add visual rhythm,
   icons-with-copy, layering/shadows — without sacrificing conversion.
   ===================================================================== */

/* ---- Split hero: image left, copy right (or stacked on mobile) ---- */
.rir-qp-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.rir-qp-hero-split .rir-qp-hero-copy { text-align: left; }
.rir-qp-hero-split .rir-qp-hero-img img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  display: block;
}
@media (max-width: 820px) {
  .rir-qp-hero-split { grid-template-columns: 1fr; gap: 28px; }
  .rir-qp-hero-split .rir-qp-hero-copy { text-align: center; }
}

/* ---- Centered colored callout (Brunson "Copy Design" pattern) ---- */
.rir-callout-center {
  text-align: center;
  max-width: 680px;
  margin: 36px auto;
  padding: 0 16px;
}
.rir-callout-center .rir-cc-lead {
  font-family: 'Inter', sans-serif;
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 800;
  line-height: 1.3;
  color: #0f1729;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.rir-callout-center .rir-cc-lead .hl { color: #1a8064; }
.rir-callout-center .rir-cc-sub {
  font-family: Georgia, serif;
  font-size: 17px;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

/* ---- Icon bullet list (» Benefit: ...) replaces paragraph blobs ---- */
.rir-iconlist {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  max-width: 640px;
}
.rir-iconlist li {
  position: relative;
  padding: 0 0 0 42px;
  margin-bottom: 18px;
  font-size: 16.5px;
  line-height: 1.55;
  color: #2d3142;
}
.rir-iconlist li::before {
  content: '';
  position: absolute;
  left: 0; top: 1px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(67,217,173,0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231a8064' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.rir-iconlist li strong { color: #0f1729; }

/* ---- Brunson Box: the 4-step mechanism, dark container + white headline + icon grid ---- */
.rir-bbox {
  background: linear-gradient(135deg, #0f1729 0%, #16213e 100%);
  border-radius: 16px;
  padding: 14px;
  margin: 36px 0;
  box-shadow: 0 20px 50px rgba(15,23,41,0.18);
}
.rir-bbox-head {
  background: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 18px 24px;
  margin-bottom: 14px;
}
.rir-bbox-head h3 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  color: #0f1729;
  margin: 0;
}
.rir-bbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 640px) { .rir-bbox-grid { grid-template-columns: 1fr; } }
.rir-bbox-cell {
  background: rgba(67,217,173,0.08);
  border: 1px solid rgba(67,217,173,0.18);
  border-radius: 10px;
  padding: 22px 22px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.rir-bbox-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #43d9ad;
  display: flex; align-items: center; justify-content: center;
  color: #0f1729;
}
.rir-bbox-icon svg { width: 26px; height: 26px; }
.rir-bbox-cell h4 {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #43d9ad;
  margin: 0 0 6px;
}
.rir-bbox-cell p {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  margin: 0;
}
.rir-bbox-step {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-bottom: 2px;
}

/* ---- AI Answer Mockup: shows the problem visually (the "3 names" reality) ---- */
.rir-aimock {
  max-width: 560px;
  margin: 30px auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(15,23,41,0.12);
  overflow: hidden;
}
.rir-aimock-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #f4f5f7;
  border-bottom: 1px solid #e5e7eb;
}
.rir-aimock-dot { width: 11px; height: 11px; border-radius: 50%; }
.rir-aimock-dot.r { background:#ff5f57; } .rir-aimock-dot.y { background:#febc2e; } .rir-aimock-dot.g { background:#28c840; }
.rir-aimock-url {
  margin-left: 8px; font-family:'Inter',sans-serif; font-size:12px; color:#6b7280;
  background:#fff; border:1px solid #e5e7eb; border-radius:999px; padding:4px 12px;
}
.rir-aimock-body { padding: 20px 22px 24px; }
.rir-aimock-q {
  font-family:'Inter',sans-serif; font-size:15px; font-weight:600; color:#0f1729;
  background:#f0f2f7; border-radius:10px; padding:12px 16px; margin-bottom:16px;
}
.rir-aimock-a-label {
  display:flex; align-items:center; gap:8px; font-family:'Inter',sans-serif;
  font-size:12px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
  color:#1a8064; margin-bottom:12px;
}
.rir-aimock-a-label::before {
  content:''; width:18px; height:18px; border-radius:50%;
  background:#43d9ad;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%230f1729' stroke-width='3'%3E%3Cpath d='M12 2v4M12 18v4M2 12h4M18 12h4'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:center;
}
.rir-aimock-item {
  display:flex; align-items:center; gap:12px; padding:12px 14px; margin-bottom:8px;
  border:1px solid #e5e7eb; border-radius:10px;
}
.rir-aimock-item .num {
  flex-shrink:0; width:26px; height:26px; border-radius:50%; background:#f0f2f7;
  display:flex; align-items:center; justify-content:center;
  font-family:'Inter',sans-serif; font-weight:800; font-size:13px; color:#6b7280;
}
.rir-aimock-item .nm { font-family:'Inter',sans-serif; font-weight:600; font-size:15px; color:#2d3142; }
.rir-aimock-item.you {
  border-color:#43d9ad; background:linear-gradient(90deg,#f0fbf6,#fff);
  box-shadow:0 4px 14px rgba(67,217,173,0.18);
}
.rir-aimock-item.you .num { background:#43d9ad; color:#0f1729; }
.rir-aimock-item.you .nm { color:#0f1729; font-weight:800; }
.rir-aimock-item.you .tag {
  margin-left:auto; font-family:'Inter',sans-serif; font-size:10px; font-weight:800;
  letter-spacing:0.06em; text-transform:uppercase; color:#0f1729; background:#43d9ad;
  padding:3px 8px; border-radius:999px;
}
.rir-aimock-item.absent { opacity:0.55; }
.rir-aimock-cap {
  text-align:center; font-family:'Inter',sans-serif; font-size:13px; color:#6b7280;
  margin-top:14px; font-style:italic;
}

/* ---- Visibility Score meter (before -> after gauge) ---- */
.rir-vscore {
  max-width: 560px; margin: 30px auto;
  background:#fff; border:1px solid #e5e7eb; border-radius:14px; padding:26px 28px;
  box-shadow:0 12px 30px rgba(15,23,41,0.08);
}
.rir-vscore-row { display:flex; align-items:center; gap:16px; margin-bottom:18px; }
.rir-vscore-row:last-child { margin-bottom:0; }
.rir-vscore-lbl {
  flex-shrink:0; width:64px; font-family:'Inter',sans-serif; font-size:12px;
  font-weight:700; text-transform:uppercase; letter-spacing:0.04em; color:#6b7280;
}
.rir-vscore-track { flex:1; height:26px; background:#f0f2f7; border-radius:999px; overflow:hidden; position:relative; }
.rir-vscore-fill { height:100%; border-radius:999px; display:flex; align-items:center; justify-content:flex-end; padding-right:10px;
  font-family:'Inter',sans-serif; font-weight:800; font-size:13px; color:#fff; }
.rir-vscore-fill.before { background:#c14b4b; }
.rir-vscore-fill.after  { background:linear-gradient(90deg,#43d9ad,#1a8064); }

/* ---- Section background images / faded textures ---- */
.rir-qp-imgband {
  width: 100vw; margin-left: calc(50% - 50vw);
  min-height: 320px;
  background-size: cover; background-position: center;
  position: relative;
}
.rir-qp-imgband::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(15,23,41,0.55), rgba(15,23,41,0.78));
}

/* Book hero — radial glow behind the transparent book PNG so the dark
   navy cover stands out against the dark hero section. */
.rir-book-hero-cover {
  position: relative;
  isolation: isolate;
}
.rir-book-hero-cover::before {
  content: '';
  position: absolute;
  inset: 8% 8% 8% 8%;
  background: radial-gradient(ellipse at center,
    rgba(67, 217, 173, 0.18) 0%,
    rgba(67, 217, 173, 0.08) 35%,
    rgba(255, 255, 255, 0.04) 60%,
    transparent 80%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.rir-book-hero-cover img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5))
          drop-shadow(0 0 30px rgba(67, 217, 173, 0.15));
}

/* Same treatment for the smaller homepage book section, but lighter
   since the homepage book section sits on a light background. */
.rir-book-cover {
  position: relative;
}
.rir-book-cover img {
  filter: drop-shadow(0 12px 28px rgba(15, 23, 41, 0.18));
}

/* Footer base — centered by default. Templates that need left-align can
   override per-element. This catches /cohort/ which lacked the wrapper. */
footer.rir-footer,
.rir-footer {
  text-align: center;
}
footer.rir-footer .rir-footer-brand,
footer.rir-footer .rir-footer-main {
  text-align: center;
}
footer.rir-footer .rir-footer-brand p,
footer.rir-footer .rir-footer-tagline,
footer.rir-footer .rir-footer-brand-text {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}
footer.rir-footer .rir-footer-links,
footer.rir-footer .rir-footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* ===== BOOK CHAPTER PART DIVIDERS ===== */
.rir-ch-part {
  padding: 28px 24px 12px;
  margin-top: 16px;
  border-bottom: 2px solid var(--rir-green);
}
.rir-ch-part:first-child {
  margin-top: 0;
}
.rir-ch-part-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--rir-green-dark);
  margin-bottom: 6px;
}
.rir-ch-part strong {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  color: var(--rir-dark);
}

/* ===== BOOK OUTCOMES LIST ===== */
.rir-section [style*="display: flex"][style*="border-bottom"]:hover {
  background: rgba(34, 197, 94, 0.03);
  border-radius: 8px;
}

/* ===== SERVICES PROCESS STEPS ===== */
.rir-section [style*="display: flex"][style*="border-bottom: 1px"] {
  transition: background 0.2s;
  border-radius: 8px;
}

/* ===== MOBILE ENHANCEMENTS ===== */
@media (max-width: 768px) {
  /* Tighter hero padding on mobile */
  .rir-services-hero,
  .rir-book-hero,
  .rir-about-hero,
  .rir-cohort-hero {
    padding: 64px 0 56px !important;
  }

  /* Stack for-grid on mobile */
  .rir-for-grid {
    grid-template-columns: 1fr;
  }

  /* Smaller proof numbers on mobile */
  .rir-proof-num {
    font-size: clamp(28px, 8vw, 40px);
  }

  /* Adjust sticky CTA padding */
  .rir-sticky-cta {
    padding: 10px 16px;
  }

  /* Chapter listings tighter on mobile */
  .rir-ch {
    padding: 16px 12px;
  }

  /* Book hero content stacking */
  .rir-book-hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .rir-book-hero-cta {
    justify-content: center;
  }
  .rir-book-hero-cover img {
    max-width: 280px;
    margin: 0 auto;
  }

  /* Services grid single column on small screens */
  .rir-services-grid {
    grid-template-columns: 1fr;
  }

  /* Reduce aurora blob sizes on mobile */
  .rir-aurora::before {
    width: 300px;
    height: 300px;
  }
  .rir-aurora::after {
    width: 250px;
    height: 250px;
  }
}

/* ===== TABLET BREAKPOINT ===== */
@media (max-width: 1024px) and (min-width: 769px) {
  .rir-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== ENHANCED NAV ACTIVE STATE ===== */
.rir-nav a[style*="color: var(--rir-green)"],
.whb-col a[aria-current="page"] {
  position: relative;
}

/* ===== DARK SECTION GRADIENT TRANSITION ===== */
.rir-proof-strip + .rir-section {
  position: relative;
}
.rir-proof-strip + .rir-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(20, 20, 40, 0.04) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* =====================================================================
   GET FOUND EVERYWHERE — entrepreneur front-door page
   Template: template-rir-getfound.php
   URL: /get-found/
   ===================================================================== */

/* ----- Hero ----- */
.rir-getfound-hero {
  background: linear-gradient(135deg, #0f1729 0%, #1a1a2e 50%, #16213e 100%);
  color: #fff;
  padding: 90px 24px 70px;
  position: relative;
  overflow: hidden;
}
.rir-getfound-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(67, 217, 173, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.rir-getfound-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.rir-label-attention {
  display: inline-block;
  background: rgba(67, 217, 173, 0.18);
  color: #43d9ad;
  border: 1px solid rgba(67, 217, 173, 0.4);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.rir-getfound-hero .rir-h1-getfound,
h1.rir-h1-getfound {
  font-family: 'Inter', sans-serif !important;
  color: #ffffff !important;
  font-size: clamp(32px, 5vw, 56px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 28px !important;
  text-align: center !important;
}
.rir-getfound-hero .rir-h1-sub {
  font-size: clamp(17px, 1.8vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto 24px;
}
.rir-getfound-hero .rir-h1-stake {
  font-size: clamp(15px, 1.5vw, 18px);
  color: #43d9ad;
  font-weight: 600;
  margin: 0 auto 36px;
  max-width: 720px;
}
.rir-getfound-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.rir-getfound-meta span {
  white-space: nowrap;
}

/* ----- Section backgrounds & helpers ----- */
.rir-bg-soft {
  background: #f7f8fb;
}
.rir-bg-dark {
  background: linear-gradient(135deg, #0f1729 0%, #1a1a2e 60%, #16213e 100%);
  color: #fff;
}
.rir-wrap-narrow {
  max-width: 880px;
  margin: 0 auto;
}
.rir-text-center {
  text-align: center;
}
.rir-rule-light {
  background: rgba(67, 217, 173, 0.5) !important;
}
.rir-h2-light {
  color: #fff !important;
}
.rir-lede-light {
  color: rgba(255, 255, 255, 0.85) !important;
}
.rir-lede-after {
  font-size: 17px;
  line-height: 1.65;
  margin-top: 28px;
  color: #2d3142;
}
.rir-bg-dark .rir-lede-after {
  color: rgba(255, 255, 255, 0.85);
}

/* ----- The 7 Surfaces grid ----- */
.rir-surfaces {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 40px 0 30px;
}
.rir-surface-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 26px 24px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.rir-surface-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 23, 41, 0.08);
  border-color: rgba(67, 217, 173, 0.6);
}
.rir-surface-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(67, 217, 173, 0.15);
  color: #1a8064;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}
.rir-surface-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #0f1729;
}
.rir-surface-card p {
  font-size: 15px;
  line-height: 1.55;
  color: #4b5563;
  margin: 0;
}

/* ----- Old vs New comparison ----- */
.rir-old-vs-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0 20px;
}
@media (max-width: 780px) {
  .rir-old-vs-new {
    grid-template-columns: 1fr;
  }
}
.rir-old-col,
.rir-new-col {
  padding: 28px 26px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
}
.rir-old-col {
  border-left: 4px solid #e5e7eb;
  opacity: 0.92;
}
.rir-new-col {
  border-left: 4px solid #43d9ad;
  background: linear-gradient(180deg, #fff 0%, #f0fbf6 100%);
}
.rir-old-h {
  color: #6b7280;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rir-new-h {
  color: #0f1729;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rir-x-list,
.rir-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rir-x-list li,
.rir-check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.55;
  font-size: 15.5px;
  color: #2d3142;
}
.rir-x-list li::before {
  content: '\00d7';
  position: absolute;
  left: 6px;
  top: -2px;
  color: #d14b4b;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}
.rir-check-list li::before {
  content: '\2713';
  position: absolute;
  left: 4px;
  top: 0;
  color: #43d9ad;
  font-size: 16px;
  font-weight: 700;
}

/* ----- Mechanism (Listen / Create / Place / Measure) ----- */
.rir-mechanism-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin: 40px 0 20px;
}
.rir-mech-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 26px 22px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.rir-mech-card:hover {
  background: rgba(67, 217, 173, 0.08);
  border-color: rgba(67, 217, 173, 0.4);
}
.rir-mech-num {
  display: block;
  color: #43d9ad;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.rir-mech-card h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}
.rir-mech-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ----- Three paths cards ----- */
.rir-paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0 10px;
  align-items: stretch;
}
.rir-path-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  padding: 32px 26px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rir-path-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 41, 0.1);
}
.rir-path-featured {
  border-color: #43d9ad;
  box-shadow: 0 10px 30px rgba(67, 217, 173, 0.15);
  transform: scale(1.02);
}
.rir-path-featured:hover {
  transform: scale(1.02) translateY(-3px);
}
.rir-path-tag {
  display: inline-block;
  background: #f0f2f7;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.rir-path-tag-hot {
  background: #43d9ad;
  color: #0f1729;
}
.rir-path-h {
  font-size: 24px;
  font-weight: 800;
  color: #0f1729;
  margin: 0 0 14px;
}
.rir-path-price {
  margin: 0 0 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.rir-price-num {
  font-size: 34px;
  font-weight: 800;
  color: #0f1729;
}
.rir-price-sub {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}
.rir-path-promise {
  font-size: 15.5px;
  line-height: 1.55;
  color: #2d3142;
  margin: 0 0 18px;
  font-weight: 500;
}
.rir-path-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}
.rir-path-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 14.5px;
  color: #4b5563;
}
.rir-path-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: #43d9ad;
  font-weight: 700;
}
.rir-path-card .rir-btn {
  margin-top: auto;
  text-align: center;
}

/* ----- Fit/Not-fit ----- */
.rir-fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0 10px;
}
@media (max-width: 780px) {
  .rir-fit-grid {
    grid-template-columns: 1fr;
  }
}
.rir-fit-yes,
.rir-fit-no {
  padding: 28px 26px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
}
.rir-fit-yes {
  border-top: 4px solid #43d9ad;
}
.rir-fit-no {
  border-top: 4px solid #d14b4b;
}
.rir-fit-yes h3,
.rir-fit-no h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 18px;
  color: #0f1729;
}

/* ----- FAQ ----- */
.rir-faq {
  margin-top: 30px;
}
.rir-faq-item {
  padding: 22px 0;
  border-bottom: 1px solid #e5e7eb;
}
.rir-faq-item:last-child {
  border-bottom: none;
}
.rir-faq-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f1729;
  margin: 0 0 10px;
}
.rir-faq-item p {
  font-size: 15.5px;
  line-height: 1.65;
  color: #4b5563;
  margin: 0;
}

/* ----- Final CTA ----- */
.rir-final-cta-lede {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin: 24px auto 32px;
  max-width: 680px;
}
.rir-final-cta-alt {
  margin-top: 24px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
}
.rir-link-light {
  color: #43d9ad !important;
  text-decoration: underline;
  text-decoration-color: rgba(67, 217, 173, 0.4);
  text-underline-offset: 3px;
}
.rir-link-light:hover {
  text-decoration-color: #43d9ad;
}
.rir-final-ps {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.rir-final-ps strong {
  color: #43d9ad;
}

/* ----- Mobile tuning ----- */
@media (max-width: 640px) {
  .rir-getfound-hero {
    padding: 60px 20px 50px;
  }
  .rir-getfound-meta {
    gap: 10px 20px;
    font-size: 13px;
  }
  .rir-path-featured {
    transform: none;
  }
  .rir-path-featured:hover {
    transform: translateY(-3px);
  }
}

/* =====================================================================
   CHALLENGE DAY PAGE — /challenge-day/N/
   Template: template-rir-challenge-day.php
   ===================================================================== */

/* ----- Hero ----- */
.rir-challenge-day-hero {
  background: linear-gradient(135deg, #0f1729 0%, #1a1a2e 50%, #16213e 100%);
  color: #fff;
  padding: 48px 24px 36px;
}
.rir-cd-breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.rir-cd-breadcrumb a {
  color: #43d9ad;
  text-decoration: none;
}
.rir-cd-h1 {
  font-family: 'Inter', sans-serif !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rir-cd-h1-day {
  color: #43d9ad;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rir-cd-h1-title {
  color: #fff;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ----- Section heading inside body ----- */
.rir-cd-section-h {
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 16px !important;
}

/* ----- Video block ----- */
.rir-cd-video-block {
  margin-top: 30px;
}
.rir-cd-video {
  width: 100%;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 10px 30px rgba(15, 23, 41, 0.12);
}
.rir-cd-video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rir-cd-video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(67, 217, 173, 0.08) 0%, transparent 70%);
}
.rir-cd-video-placeholder-inner {
  position: relative;
  text-align: center;
  padding: 0 32px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 520px;
}
.rir-cd-video-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(67, 217, 173, 0.16);
  color: #43d9ad;
  border: 2px solid rgba(67, 217, 173, 0.4);
  border-radius: 50%;
  font-size: 22px;
  margin: 0 auto 18px;
  padding-left: 4px;
}
.rir-cd-video-placeholder h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
}
.rir-cd-video-placeholder p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px;
}
.rir-cd-video-note {
  color: #43d9ad !important;
  font-size: 13px !important;
  font-weight: 600;
}

/* ----- Workbook block ----- */
.rir-cd-workbook-block {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}
.rir-cd-workbook-pending {
  background: #fff7e6;
  border: 1px solid #f6d99a;
  color: #5a4416;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.rir-cd-workbook-pending strong {
  color: #9a6a00;
}

/* ----- Live call banner ----- */
.rir-cd-live-banner {
  margin: 30px 0;
  text-align: center;
  background: linear-gradient(135deg, #0f1729 0%, #16213e 100%);
  color: #fff;
  border-radius: 14px;
  padding: 44px 28px;
}
.rir-cd-live-banner h2 {
  color: #fff !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  margin: 0 0 10px !important;
}
.rir-cd-live-banner > p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  margin: 0 0 26px;
}
.rir-cd-live-sub {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 13px !important;
  margin-top: 18px !important;
}

/* ----- Day-to-day navigation ----- */
.rir-cd-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}
.rir-cd-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0f1729;
  text-decoration: none;
  background: #f7f8fb;
  border: 1px solid #e5e7eb;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.rir-cd-nav a:hover {
  background: #e8fbf3;
  border-color: #43d9ad;
}
.rir-cd-nav-prev {
  justify-self: start;
}
.rir-cd-nav-all {
  justify-self: center;
  font-weight: 700;
}
.rir-cd-nav-next {
  justify-self: end;
}

/* ----- Index grid (all 30 days) ----- */
.rir-challenge-day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.rir-challenge-day-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.rir-challenge-day-tile:hover {
  transform: translateY(-2px);
  border-color: #43d9ad;
  box-shadow: 0 8px 24px rgba(15, 23, 41, 0.08);
}
.rir-cd-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #43d9ad;
}
.rir-cd-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f1729;
  line-height: 1.4;
}
.rir-cd-theme {
  font-size: 12px;
  color: #6b7280;
}
.rir-cd-live .rir-cd-num {
  color: #d14b4b;
}
.rir-cd-live {
  background: linear-gradient(180deg, #fff 0%, #fff5f5 100%);
}

@media (max-width: 540px) {
  .rir-cd-nav {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .rir-cd-nav-prev,
  .rir-cd-nav-next,
  .rir-cd-nav-all {
    justify-self: stretch;
  }
}

/* =====================================================================
   CHALLENGE LIVE CALL PAGE — /challenge-call-1/
   ===================================================================== */
.rir-call-hero {
  background: linear-gradient(135deg, #0f1729 0%, #1a1a2e 50%, #16213e 100%);
  color: #fff;
  padding: 70px 24px 60px;
  text-align: center;
}
.rir-call-h1 {
  font-family: 'Inter', sans-serif !important;
  color: #fff !important;
  font-size: clamp(28px, 4vw, 44px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin: 20px 0 22px !important;
}
.rir-call-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 32px;
}
.rir-call-sub-link {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  word-break: break-all;
}
.rir-call-pending {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(67, 217, 173, 0.4);
  color: rgba(255, 255, 255, 0.9);
  padding: 16px 22px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
  max-width: 520px;
}
.rir-call-pending strong {
  color: #43d9ad;
  display: block;
  margin-bottom: 4px;
}

.rir-call-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.rir-call-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px 22px 20px;
}
.rir-call-card-next {
  border-color: #43d9ad;
  box-shadow: 0 8px 24px rgba(67, 217, 173, 0.15);
  background: linear-gradient(180deg, #fff 0%, #f0fbf6 100%);
}
.rir-call-card-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.rir-call-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
}
.rir-call-badge-next {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f1729;
  background: #43d9ad;
  padding: 3px 9px;
  border-radius: 999px;
}
.rir-call-badge-replay {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a2e;
  background: #e7e9f0;
  padding: 3px 9px;
  border-radius: 999px;
}
.rir-call-title {
  font-size: 19px;
  font-weight: 700;
  color: #0f1729;
  margin: 4px 0 6px;
}
.rir-call-theme {
  font-size: 14px;
  color: #4b5563;
  margin: 0 0 14px;
}
.rir-call-date {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 14px;
  font-style: italic;
}
.rir-call-replay {
  margin: 30px 0 0;
}
.rir-call-replay h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: #0f1729;
}
.rir-call-tips {
  font-size: 15.5px;
  line-height: 1.7;
  color: #2d3142;
  padding-left: 22px;
}
.rir-call-tips li {
  margin-bottom: 10px;
}

/* ----- Visibility Audit form wrap (on /get-found/) ----- */
.rir-audit-form-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 28px 24px;
  margin: 28px auto 0;
  max-width: 580px;
  text-align: left;
}
.rir-audit-form-wrap .frm-fluent-form label,
.rir-audit-form-wrap .ff-el-input--label label,
.rir-audit-form-wrap label {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.rir-audit-form-wrap input[type="text"],
.rir-audit-form-wrap input[type="email"],
.rir-audit-form-wrap input[type="url"] {
  background: #fff !important;
  color: #0f1729 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
}
.rir-audit-form-wrap button[type="submit"],
.rir-audit-form-wrap input[type="submit"],
.rir-audit-form-wrap .ff-btn-submit {
  background: #43d9ad !important;
  color: #0f1729 !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 14px 24px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  cursor: pointer;
  margin-top: 8px;
}
.rir-audit-form-wrap button[type="submit"]:hover {
  background: #36c79c !important;
}

/* =====================================================================
   HEADER CTA BUTTON OVERRIDE
   Woodmart's default purple "Get The Toolkit" button in the header
   is replaced with brand-green Kennedy-style direct-response styling.
   ===================================================================== */
.whb-header .btn,
.whb-header a.btn,
.wd-header .btn,
.wd-header a.btn,
header .whb-row .btn,
.whb-row a.btn.btn-color-primary {
  background: #43d9ad !important;
  background-image: linear-gradient(180deg, #4ee0b6 0%, #36c79c 100%) !important;
  color: #0f1729 !important;
  border: 2px solid #36c79c !important;
  border-radius: 6px !important;
  padding: 10px 22px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 12px rgba(67, 217, 173, 0.25), 0 1px 2px rgba(15, 23, 41, 0.08) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-image 0.15s ease !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}
.whb-header .btn:hover,
.whb-header a.btn:hover,
.wd-header .btn:hover,
.wd-header a.btn:hover,
header .whb-row .btn:hover,
.whb-row a.btn.btn-color-primary:hover {
  background-image: linear-gradient(180deg, #58e6c0 0%, #43d9ad 100%) !important;
  color: #0f1729 !important;
  box-shadow: 0 6px 18px rgba(67, 217, 173, 0.4), 0 1px 3px rgba(15, 23, 41, 0.12) !important;
  transform: translateY(-1px);
}
.whb-header .btn:active,
header .whb-row .btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(67, 217, 173, 0.25) !important;
}

/* Append an arrow if not already present in the link text — Kennedy style "do the thing" feel */
.whb-header a.btn::after,
.wd-header a.btn::after,
header .whb-row a.btn::after {
  content: ' →';
  font-weight: 800;
  margin-left: 4px;
  display: inline-block;
  transition: transform 0.15s ease;
}
.whb-header a.btn:hover::after,
.wd-header a.btn:hover::after,
header .whb-row a.btn:hover::after {
  transform: translateX(3px);
}

/* =====================================================================
   /business-plan/ — internal dashboard view
   ===================================================================== */

/* ---------- Subtle entry animations — never hide content ---------- */
/* Content is ALWAYS visible. Animations are bonus polish only — they run on
   initial load via CSS animation-delay, no JS or IntersectionObserver required.
   If JS or animations fail entirely, the page is still fully readable. */
[data-anim] {
  animation: rirPlanFadeIn 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
@keyframes rirPlanFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Stagger via nth-child for siblings — purely CSS, no JS needed */
[data-anim]:nth-child(2) { animation-delay: 0.08s; }
[data-anim]:nth-child(3) { animation-delay: 0.16s; }
[data-anim]:nth-child(4) { animation-delay: 0.24s; }
[data-anim]:nth-child(5) { animation-delay: 0.32s; }
[data-anim]:nth-child(6) { animation-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  [data-anim] { animation: none !important; }
}

/* ---------- Layout ---------- */
/* Escape the Woodmart .container constraint so sections go edge-to-edge.
   .rir-plan-wrap re-centers content with a sensible max-width inside. */
.rir-plan-section,
.rir-plan-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  left: 0;
  right: 0;
}
.rir-plan-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.rir-plan-section {
  padding: 80px 0;
  background: #fff;
}
.rir-plan-bg-soft { background: #f7f8fb; }
.rir-plan-bg-dark {
  background: linear-gradient(135deg, #0f1729 0%, #1a1a2e 50%, #16213e 100%);
  color: #fff;
}

/* ---------- Hero ---------- */
.rir-plan-hero {
  background: linear-gradient(135deg, #0f1729 0%, #1a1a2e 50%, #16213e 100%);
  color: #fff;
  padding: 90px 24px 70px;
  position: relative;
  overflow: hidden;
}
.rir-plan-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 70%;
  height: 180%;
  background: radial-gradient(ellipse at center, rgba(67, 217, 173, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.rir-plan-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #43d9ad;
  background: rgba(67, 217, 173, 0.12);
  border: 1px solid rgba(67, 217, 173, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.rir-plan-h1 {
  font-family: 'Inter', sans-serif !important;
  color: #fff !important;
  font-size: clamp(34px, 5vw, 56px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  margin: 0 0 22px !important;
  letter-spacing: -0.02em;
}
.rir-plan-h1-accent { color: #43d9ad; }
.rir-plan-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 0 44px;
}

/* ---------- Stat cards ---------- */
.rir-plan-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.rir-plan-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 22px 20px;
  text-align: center;
  position: relative;
}
.rir-plan-stat-num {
  display: block;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: #43d9ad;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.rir-plan-stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ---------- Section heading common ---------- */
.rir-plan-section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #43d9ad;
  background: rgba(67, 217, 173, 0.1);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.rir-plan-section-tag-urgent {
  color: #fff;
  background: #d14b4b;
}
.rir-plan-section-tag-warning {
  color: #92400e;
  background: #fef3c7;
}
.rir-plan-section-tag-light {
  color: #43d9ad;
  background: rgba(67, 217, 173, 0.15);
}
.rir-plan-section-h {
  font-family: 'Inter', sans-serif !important;
  color: #0f1729 !important;
  font-size: clamp(26px, 3.5vw, 38px) !important;
  font-weight: 800 !important;
  margin: 0 0 14px !important;
  letter-spacing: -0.01em;
}
.rir-plan-section-h-light { color: #fff !important; }
.rir-plan-section-sub {
  color: #4b5563;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 36px;
  max-width: 720px;
}
.rir-plan-section-sub-light { color: rgba(255, 255, 255, 0.72); }

/* ---------- Launch checklist section ---------- */
.rir-plan-launch {
  border-top: 4px solid #d14b4b;
}
.rir-plan-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 0;
}
.rir-plan-check {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.rir-plan-bg-soft .rir-plan-check { background: #fff; }
.rir-plan-check:hover {
  border-color: #43d9ad;
  box-shadow: 0 6px 22px rgba(67, 217, 173, 0.1);
}
.rir-plan-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.rir-plan-check-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  transition: all 0.15s ease;
  margin-top: 2px;
  flex-shrink: 0;
}
.rir-plan-check-box::after {
  content: '';
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  margin-top: -3px;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.rir-plan-check input:checked ~ .rir-plan-check-box {
  background: #43d9ad;
  border-color: #43d9ad;
}
.rir-plan-check input:checked ~ .rir-plan-check-box::after {
  transform: rotate(45deg) scale(1);
}
.rir-plan-check input:checked ~ .rir-plan-check-content strong {
  text-decoration: line-through;
  color: #9ca3af;
}
.rir-plan-check input:checked ~ .rir-plan-check-content p,
.rir-plan-check input:checked ~ .rir-plan-check-content ul {
  opacity: 0.55;
}
.rir-plan-check-content {
  display: block;
}
.rir-plan-check-content strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #0f1729;
  margin-bottom: 4px;
  transition: all 0.15s ease;
}
.rir-plan-check-content em {
  display: inline-block;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #43d9ad;
  background: rgba(67, 217, 173, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.rir-plan-check-content p {
  margin: 0 0 8px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.55;
}
.rir-plan-check-content ul {
  margin: 4px 0 0;
  padding-left: 18px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.7;
}
.rir-plan-check-content code {
  background: #f0f2f7;
  color: #0f1729;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}

.rir-plan-checklist-h {
  font-size: 15px !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 36px 0 12px !important;
}

/* ---------- Progress bar ---------- */
.rir-plan-progress {
  margin-top: 22px;
  padding: 16px 20px;
  background: #f0f2f7;
  border-radius: 10px;
}
.rir-plan-progress-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 8px;
}
.rir-plan-progress-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}
.rir-plan-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #43d9ad 0%, #36c79c 100%);
  width: 0%;
  transition: width 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
  border-radius: 999px;
}

/* ---------- Product ladder ---------- */
.rir-plan-ladder {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}
.rir-plan-ladder-row {
  display: grid;
  grid-template-columns: 80px 100px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rir-plan-ladder-row:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 28px rgba(15, 23, 41, 0.08);
}
.rir-plan-ladder-featured {
  border-color: #43d9ad;
  background: linear-gradient(180deg, #fff 0%, #f0fbf6 100%);
}
.rir-plan-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
}
.rir-plan-price {
  font-size: 22px;
  font-weight: 800;
  color: #0f1729;
}
.rir-plan-ladder-row h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #0f1729;
}
.rir-plan-ladder-row p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}
.rir-plan-status {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.rir-status-live .rir-plan-status {
  background: rgba(67, 217, 173, 0.16);
  color: #1a8064;
}
.rir-status-partial .rir-plan-status {
  background: rgba(217, 119, 6, 0.14);
  color: #92400e;
}
@media (max-width: 720px) {
  .rir-plan-ladder-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ---------- Two doors ---------- */
.rir-plan-doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}
@media (max-width: 720px) {
  .rir-plan-doors { grid-template-columns: 1fr; }
}
.rir-plan-door {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  position: relative;
}
.rir-plan-door-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #43d9ad;
  margin-bottom: 12px;
}
.rir-plan-door h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #0f1729;
}
.rir-plan-door-tone {
  font-size: 14px;
  color: #6b7280;
  font-style: italic;
  margin: 0 0 18px;
}
.rir-plan-door-flow {
  margin: 0 0 18px;
  padding-left: 20px;
  line-height: 1.8;
  color: #2d3142;
}
.rir-plan-door-flow a {
  color: #1a8064;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted #43d9ad;
}
.rir-plan-door-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}
.rir-plan-door-status.rir-status-live {
  background: rgba(67, 217, 173, 0.16);
  color: #1a8064;
}

/* ---------- Built cards grid ---------- */
.rir-plan-built-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.rir-plan-built-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.rir-plan-built-card:hover {
  transform: translateY(-3px);
  border-color: #43d9ad;
  box-shadow: 0 10px 28px rgba(15, 23, 41, 0.08);
}
.rir-plan-built-icon {
  display: block;
  font-size: 28px;
  margin-bottom: 12px;
}
.rir-plan-built-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #0f1729;
}
.rir-plan-built-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}

/* ---------- Timeline ---------- */
.rir-plan-timeline {
  margin-top: 30px;
  position: relative;
}
.rir-plan-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: rgba(67, 217, 173, 0.3);
}
.rir-plan-timeline-row {
  position: relative;
  padding: 22px 24px 22px 72px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}
.rir-plan-timeline-row::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 28px;
  width: 14px;
  height: 14px;
  background: #43d9ad;
  border-radius: 50%;
  border: 3px solid #0f1729;
  box-shadow: 0 0 0 2px #43d9ad;
}
.rir-plan-timeline-week {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #43d9ad;
  margin-bottom: 8px;
}
.rir-plan-timeline-row h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 12px;
}
.rir-plan-timeline-row ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  line-height: 1.7;
}
.rir-plan-timeline-target {
  font-size: 13px;
  color: #43d9ad;
  font-weight: 600;
  margin: 0;
}

/* ---------- Channels ---------- */
.rir-plan-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.rir-plan-channel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 26px 24px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rir-plan-channel:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 23, 41, 0.08);
}
.rir-plan-channel-priority-1 {
  border-color: #43d9ad;
  background: linear-gradient(180deg, #fff 0%, #f0fbf6 100%);
}
.rir-plan-channel-rank {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  background: #43d9ad;
  color: #0f1729;
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rir-plan-channel h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  padding-right: 44px;
  color: #0f1729;
}
.rir-plan-channel p {
  font-size: 14.5px;
  color: #4b5563;
  line-height: 1.55;
  margin: 0 0 16px;
}
.rir-plan-channel-stats {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: #1a8064;
}
.rir-plan-channel-stats strong { color: #1a8064; }

.rir-plan-callout {
  margin-top: 26px;
  padding: 20px 24px;
  background: #f0fbf6;
  border-left: 4px solid #43d9ad;
  border-radius: 8px;
  font-size: 15px;
  color: #0f1729;
}

/* ---------- Risks ---------- */
.rir-plan-risks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}
.rir-plan-risk {
  padding: 22px 26px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  border-left-width: 4px;
}
.rir-plan-risk h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 8px 0 6px;
  color: #0f1729;
}
.rir-plan-risk p {
  font-size: 14.5px;
  color: #4b5563;
  line-height: 1.55;
  margin: 0;
}
.rir-plan-risk-sev {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}
.rir-plan-risk-sev-high {
  background: #fef2f2; color: #b91c1c;
}
.rir-plan-risk-sev-high + h3 ~ * { }
.rir-plan-risk:has(.rir-plan-risk-sev-high) { border-left-color: #d14b4b; }
.rir-plan-risk-sev-med {
  background: #fef3c7; color: #92400e;
}
.rir-plan-risk:has(.rir-plan-risk-sev-med) { border-left-color: #f59e0b; }
.rir-plan-risk-sev-low {
  background: #ecfdf5; color: #047857;
}
.rir-plan-risk:has(.rir-plan-risk-sev-low) { border-left-color: #43d9ad; }

/* ---------- Final CTA ---------- */
.rir-plan-final {
  background: linear-gradient(135deg, #0f1729 0%, #16213e 100%);
  color: #fff;
  text-align: center;
}
.rir-plan-final-inner {
  max-width: 720px;
  margin: 0 auto;
}
.rir-plan-final-h {
  font-family: 'Inter', sans-serif !important;
  color: #fff !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 800 !important;
  margin: 0 0 18px !important;
}
.rir-plan-final-p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 14px;
}
.rir-plan-final-emphasis {
  color: #43d9ad !important;
  font-weight: 700;
  margin-top: 22px !important;
  font-size: 19px !important;
}
.rir-plan-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}
.rir-plan-final-actions .rir-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
}
