:root {
  --navy: #0a1628;
  --navy-2: #10233d;
  --ink: #1a2b4a;
  --body: #33415c;
  --muted: #64748b;
  --header-bg: #eef1f6;
  --light: #ffffff;
  --tint: #f2f5fa;
  --teal: #3aa89f;
  --teal-dark: #2b8a83;
  --brand: #2b8a83;
  --blue: #1e3a8a;
  --footer-bg: #0a1128;
  --footer-green: #5ec8c0;
  --footer-muted: #b8c4d4;
  --pink-bg: #fdeef0;
  --red: #dc2626;
  --green: #16a34a;
  --line: #e2e8f0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--light);
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

a { color: var(--teal-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.25; }
h2 { font-size: 34px; margin: 10px 0 14px; }
h3 { font-size: 20px; }
.rr-teal { color: var(--teal); }

/* ============ HEADER (matches riverrun.digital) ============ */
.rrd-header { background: var(--header-bg); border-bottom: 1px solid #dde3ec; position: sticky; top: 0; z-index: 100; }
.rrd-header-inner { display: flex; align-items: center; gap: 28px; padding-top: 10px; padding-bottom: 10px; }
.rrd-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.rrd-brand-mark { width: 46px; height: 46px; border-radius: 50%; }
.rrd-brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.rrd-brand-name { font-size: 19px; color: var(--ink); }
.rrd-brand-name strong { font-weight: 800; }
.rrd-brand-name-light { color: #fff; }
.rrd-brand-tag { font-size: 10.5px; color: #7a8799; letter-spacing: 0.3px; }
.rrd-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.rrd-nav > a, .rrd-dropbtn { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; background: none; border: none; cursor: pointer; font-family: inherit; padding: 0; }
.rrd-nav > a:hover, .rrd-dropbtn:hover { color: var(--teal-dark); }
.rrd-dropdown { position: relative; }
.rrd-dropbtn i { font-size: 11px; margin-left: 3px; }
.rrd-dropmenu { display: none; position: absolute; top: 100%; left: 0; padding-top: 10px; min-width: 190px; }
.rrd-dropdown:hover .rrd-dropmenu { display: block; }
.rrd-dropmenu a { display: block; background: #fff; color: var(--ink); text-decoration: none; font-size: 14px; padding: 10px 16px; border: 1px solid #dde3ec; border-bottom: none; }
.rrd-dropmenu a:first-child { border-radius: 10px 10px 0 0; }
.rrd-dropmenu a:last-child { border-bottom: 1px solid #dde3ec; border-radius: 0 0 10px 10px; }
.rrd-dropmenu a:hover { background: var(--header-bg); color: var(--teal-dark); }
.rrd-phone { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #dde3ec; color: var(--ink); font-weight: 600; font-size: 14px; padding: 9px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.rrd-phone:hover { border-color: var(--teal-dark); color: var(--teal-dark); }

/* ============ BUTTONS ============ */
.btn { display: inline-block; padding: 13px 28px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 16px; }
.btn-primary { background: var(--teal); color: #06231f; }
.btn-primary:hover { background: #4cb5ac; color: #06231f; }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.btn-white:hover { background: #eef1f6; color: var(--blue); }
.btn-outline { border: 2px solid rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { border-color: #fff; color: #fff; }

/* ============ SECTIONS ============ */
.rr-section { padding: 72px 0; }
.rr-light { background: var(--light); }
.rr-tint { background: var(--tint); }
.rr-eyebrow { text-transform: uppercase; letter-spacing: 2.5px; font-size: 12.5px; font-weight: 800; color: var(--teal-dark); margin: 0 0 8px; }
.rr-section-sub { max-width: 720px; color: var(--muted); font-size: 18px; }
.rr-center { text-align: center; margin-top: 32px; }
.rr-note { color: var(--muted); }
.rr-micro { font-size: 14px; color: rgba(255,255,255,0.75); margin-top: 16px; }

/* ============ 1. HERO ============ */
.rr-hero { position: relative; color: #fff; padding: 96px 0 110px; overflow: hidden; background: var(--navy); }
.rr-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rr-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,18,40,0.88) 0%, rgba(10,26,63,0.62) 48%, rgba(14,125,116,0.30) 100%);
}
.rr-hero-copy { position: relative; z-index: 2; max-width: 640px; }
.rr-badge {
  display: inline-block; border: 1px solid rgba(255,255,255,0.35); border-radius: 999px;
  padding: 7px 18px; font-size: 13px; color: #e8f4f8; margin: 0 0 20px;
}
.rr-badge i { color: var(--teal); margin-right: 6px; }
.rr-hero h1 { color: #fff; font-size: 46px; margin: 0 0 16px; }
.rr-hero-sub { color: #d7e3f4; font-size: 18px; max-width: 560px; }
.rr-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ============ 2. STATS ============ */
.rr-stats { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08); padding: 34px 0; }
.rr-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.rr-stat-num { display: block; font-size: 38px; font-weight: 800; color: var(--teal); }
.rr-stat-label { font-size: 14px; color: #c9d6ea; }

/* ============ 3. PAIN CARDS ============ */
.rr-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.rr-pain-card { background: var(--pink-bg); border-radius: 14px; padding: 24px; display: flex; gap: 14px; align-items: flex-start; }
.rr-pain-card i { color: var(--red); font-size: 20px; margin-top: 3px; }
.rr-pain-card p { margin: 0; color: var(--ink); font-weight: 500; font-size: 16px; }

/* ============ 4. COMPARISON ============ */
.rr-compare { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 32px; box-shadow: 0 12px 32px rgba(15,35,61,0.08); }
.rr-compare table { width: 100%; border-collapse: collapse; }
.rr-compare th, .rr-compare td { padding: 15px 22px; text-align: left; font-size: 15.5px; border-bottom: 1px solid var(--line); }
.rr-compare thead th { background: var(--tint); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; }
.rr-compare tbody tr:last-child td { border-bottom: none; }
.rr-compare tbody td:first-child { font-weight: 700; color: var(--ink); }
.rr-red { color: var(--red); margin-right: 8px; }
.rr-green { color: var(--green); margin-right: 8px; }

/* ============ 5. SERVICES ============ */
.rr-pill { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; margin: 36px 0 4px; }
.rr-pill-blue { background: #dbeafe; color: #1d4ed8; }
.rr-pill-teal { background: #ccfbf1; color: #0f766e; }
.rr-pill-green { background: #dcfce7; color: #15803d; }
.rr-svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 16px; }
.rr-svc-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: 0 6px 18px rgba(15,35,61,0.05); }
.rr-icon-chip { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #dbeafe, #ccfbf1); align-items: center; justify-content: center; margin-bottom: 14px; }
.rr-icon-chip i { color: var(--teal-dark); font-size: 19px; }
.rr-svc-card h3 { margin: 0 0 8px; font-size: 18px; }
.rr-svc-card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ============ 6. STEPS ============ */
.rr-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.rr-step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: 0 6px 18px rgba(15,35,61,0.05); }
.rr-step-num { display: inline-block; font-size: 15px; font-weight: 800; color: #fff; background: var(--blue); border-radius: 10px; padding: 4px 12px; margin-bottom: 14px; }
.rr-step:nth-child(2) .rr-step-num { background: var(--teal-dark); }
.rr-step:nth-child(3) .rr-step-num { background: var(--navy-2); }
.rr-step h3 { margin: 0 0 10px; }
.rr-step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ============ 7. INDUSTRIES ============ */
.rr-industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.rr-ind-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: 0 6px 18px rgba(15,35,61,0.05); }
.rr-emoji { font-size: 30px; }
.rr-ind-card h3 { font-size: 16.5px; margin: 12px 0 8px; }
.rr-ind-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ============ 8. WORK ============ */
.rr-work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.rr-work-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; display: block; box-shadow: 0 6px 18px rgba(15,35,61,0.05); }
.rr-work-card img { width: 100%; height: 190px; object-fit: cover; object-position: top; display: block; }
.rr-work-card h3 { margin: 0; padding: 18px 22px 2px; font-size: 18px; }
.rr-work-card p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }
a.rr-work-card:hover h3 { color: var(--teal-dark); }
.rr-work-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 44px; }
.rr-work-split h3 { margin-top: 0; }
.rr-work-split ul { padding-left: 20px; color: var(--body); }
.rr-work-split li { margin-bottom: 6px; }
.rr-podcast-row { display: flex; gap: 18px; align-items: center; margin: 20px 0; }
.rr-podcast-row img { width: 110px; height: 110px; border-radius: 14px; box-shadow: 0 8px 24px rgba(15,35,61,0.18); }
.rr-podcast-row p { margin: 0 0 8px; }

/* ============ 9. PRICING ============ */
.rr-pricing-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.rr-checklist { list-style: none; padding: 0; margin-top: 20px; }
.rr-checklist li { margin-bottom: 12px; font-size: 16px; color: var(--ink); }
.rr-checklist i { color: var(--blue); margin-right: 10px; }
.rr-pricing-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: 0 12px 32px rgba(15,35,61,0.08); }

/* ============ 10. FAQ ============ */
.rr-faq { max-width: 800px; }
.rr-faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 0; }
.rr-faq summary { padding: 18px 22px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; font-size: 16.5px; }
.rr-faq summary::-webkit-details-marker { display: none; }
.rr-faq summary::after { content: "+"; float: right; color: var(--teal-dark); font-size: 20px; font-weight: 400; }
.rr-faq details[open] summary::after { content: "–"; }
.rr-faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); font-size: 15.5px; }

/* ============ 11. REASONS ============ */
.rr-reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }
.rr-reason { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: 0 6px 18px rgba(15,35,61,0.05); }
.rr-reason > i { color: var(--green); font-size: 22px; margin-top: 4px; }
.rr-reason h3 { margin: 0 0 6px; font-size: 17px; }
.rr-reason p { margin: 0; color: var(--muted); font-size: 15px; }

/* ============ CTA BAND + FOOTER (matches riverrun.digital) ============ */
.rrd-cta-band { background: linear-gradient(120deg, #1e3a8a 0%, #0e7490 60%, #0d9488 100%); text-align: center; padding: 64px 0; }
.rrd-cta-text { max-width: 640px; margin: 0 auto 28px; font-size: 19px; color: #e8f4f8; }
.rrd-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.rrd-cta-contact { margin-top: 22px; color: rgba(255,255,255,0.75); font-size: 14px; }
.rrd-footer { background: var(--footer-bg); padding: 56px 0 0; color: var(--footer-muted); }
.rrd-footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.rrd-fbrand p { color: var(--footer-muted); font-size: 14px; }
.rrd-footer h4 { margin: 0 0 14px; font-size: 15px; color: var(--footer-green); }
.rrd-footer ul { list-style: none; padding: 0; margin: 0; }
.rrd-footer ul li { margin-bottom: 10px; }
.rrd-footer ul a, .rrd-fbrand a { color: var(--footer-muted); text-decoration: none; font-size: 14px; }
.rrd-footer ul a:hover { color: #fff; }
.rrd-fbrand .rrd-brand { margin-bottom: 16px; }
.rrd-socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.rrd-socials a { width: 38px; height: 38px; border-radius: 50%; background: #1a2340; border: 1px solid #2a3658; display: inline-flex; align-items: center; justify-content: center; color: #cfd8e6; font-size: 15px; text-decoration: none; font-weight: 700; }
.rrd-socials a:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.rrd-badges { display: flex; gap: 12px; margin-top: 8px; }
.rrd-badges img { width: 84px; border-radius: 6px; }
.rrd-bottombar { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding: 20px 0; border-top: 1px solid #1c2745; font-size: 13px; color: #8b98ad; }
.rrd-bottombar a { color: #aeb9cc; }
.rrd-tagline { white-space: nowrap; }

@media (max-width: 960px) {
  .rrd-nav { display: none; }
  .rr-hero-grid, .rr-pricing-grid, .rr-work-split { grid-template-columns: 1fr; }
  .rr-pain-grid, .rr-steps { grid-template-columns: 1fr 1fr; }
  .rr-industries { grid-template-columns: 1fr 1fr; }
  .rr-work-grid { grid-template-columns: 1fr; }
  .rrd-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .rr-hero h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .rr-pain-grid, .rr-steps, .rr-industries, .rr-reasons, .rr-svc-grid { grid-template-columns: 1fr; }
  .rrd-footer-cols { grid-template-columns: 1fr; }
  .rrd-bottombar { flex-direction: column; }
  .rrd-phone { display: none; }
  .rr-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============ QUIZ ============ */
.rr-quiz-wrap { max-width: 760px; }
.rr-quiz { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; margin-top: 28px; box-shadow: 0 12px 32px rgba(15,35,61,0.08); }
.rr-quiz-progress { height: 8px; background: var(--tint); border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.rr-quiz-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--blue)); border-radius: 999px; transition: width 0.4s ease; }
.rr-quiz-count { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin: 0 0 8px; }
.rr-quiz-body h3 { font-size: 22px; margin: 0 0 20px; }
.rr-quiz-answers { display: grid; gap: 10px; }
.rr-quiz-answer { text-align: left; background: var(--tint); border: 2px solid transparent; border-radius: 12px; padding: 14px 18px; font-size: 16px; color: var(--ink); cursor: pointer; font-family: inherit; }
.rr-quiz-answer:hover { border-color: var(--teal); background: #fff; }
.rr-quiz-gaps { list-style: none; padding: 0; }
.rr-quiz-gaps li { background: var(--tint); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; font-size: 15.5px; }
.rr-quiz-gaps li strong { color: var(--ink); }
.rr-quiz-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.rr-quiz-restart { margin-top: 18px; font-size: 14px; }
.btn-outline-dark { border: 2px solid var(--line); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--teal-dark); color: var(--teal-dark); }

/* ============ IMAGE BREAK ============ */
.rr-image-break { position: relative; height: 420px; overflow: hidden; }
.rr-image-break img { width: 100%; height: 100%; object-fit: cover; }
.rr-image-break-caption { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(8,18,40,0.75)); padding: 80px 0 32px; }
.rr-image-break-caption p { color: #fff; font-size: 26px; font-weight: 700; margin: 0; }

/* ============ WHY GRID ============ */
.rr-why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: center; margin-bottom: 36px; }
.rr-why-img img { width: 100%; border-radius: 18px; box-shadow: 0 16px 40px rgba(15,35,61,0.15); }

/* ============ ROI CALCULATOR ============ */
.rr-roi-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.rr-roi-hero-img img { width: 100%; border-radius: 18px; box-shadow: 0 16px 40px rgba(15,35,61,0.15); }
.rr-roi-note { font-size: 14.5px; color: var(--muted); }
.rr-roi-inputs { display: grid; gap: 22px; max-width: 720px; margin-top: 28px; }
.rr-roi-input label { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: 16px; }
.rr-roi-val { color: var(--teal-dark); font-weight: 800; }
.rr-roi-input input[type="range"] { width: 100%; accent-color: var(--teal-dark); height: 32px; }
.rr-roi-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.rr-roi-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; text-align: center; box-shadow: 0 6px 18px rgba(15,35,61,0.05); }
.rr-roi-num { display: block; font-size: 40px; font-weight: 800; color: var(--teal-dark); }
.rr-roi-label { font-size: 14px; color: var(--muted); }
.rr-roi-plan { max-width: 720px; }
.rr-roi-teaser { margin-top: 14px; font-size: 15px; }
.rr-micro-dark { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* ============ BLOG / EPISODE ============ */
.rr-ep-card { display: grid; grid-template-columns: 280px 1fr; gap: 36px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: 0 12px 32px rgba(15,35,61,0.08); }
.rr-ep-card > img { width: 100%; border-radius: 14px; }
.rr-ep-body h2 { margin-top: 6px; }
.rr-ep-body ul { padding-left: 20px; }

@media (max-width: 960px) {
  .rr-roi-grid, .rr-why-grid, .rr-ep-card { grid-template-columns: 1fr; }
  .rr-roi-cards { grid-template-columns: 1fr; }
  .rr-image-break { height: 300px; }
  .rr-image-break-caption p { font-size: 20px; }
}

/* ============ CHAT WIDGET ============ */
#rrd-chat-toggle { position: fixed; bottom: 24px; right: 24px; z-index: 200; width: 60px; height: 60px; border-radius: 50%; background: #1d4595; color: #fff; border: none; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,0.25); display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease; }
#rrd-chat-toggle:hover { transform: scale(1.08); }
#rrd-chat-panel { position: fixed; bottom: 96px; right: 24px; z-index: 200; width: 384px; max-width: calc(100vw - 48px); height: 420px; background: #fff; border-radius: 12px; box-shadow: 0 24px 64px rgba(0,0,0,0.3); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e5e7eb; }
#rrd-chat-panel[hidden] { display: none; }
.rrd-chat-header { background: #1d4595; color: #fff; padding: 14px 18px; }
.rrd-chat-header h3 { margin: 0; font-size: 17px; color: #fff; }
.rrd-chat-header p { margin: 2px 0 0; font-size: 13px; color: #bfdbfe; }
.rrd-chat-messages { flex: 1; overflow-y: auto; padding: 16px; background: #f9fafb; display: flex; flex-direction: column; gap: 12px; }
.rrd-chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.rrd-chat-user { align-self: flex-end; background: #1d4595; color: #fff; border-bottom-right-radius: 4px; }
.rrd-chat-assistant { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid #e5e7eb; border-bottom-left-radius: 4px; }
.rrd-chat-typing span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #9ca3af; margin-right: 4px; animation: rrd-bounce 1.2s infinite; }
.rrd-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.rrd-chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes rrd-bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
.rrd-chat-inputrow { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #e5e7eb; background: #fff; }
.rrd-chat-inputrow input { flex: 1; padding: 9px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; font-family: inherit; }
.rrd-chat-inputrow input:focus { outline: none; border-color: #1d4595; box-shadow: 0 0 0 2px rgba(29,69,149,0.15); }
.rrd-chat-inputrow button { padding: 9px 12px; background: #1d4595; color: #fff; border: none; border-radius: 8px; cursor: pointer; display: flex; align-items: center; }
.rrd-chat-inputrow button:hover { background: #153a6f; }

/* ============ INNER PAGES ============ */
.rr-hero-inner { padding: 72px 0; }
.rr-hero-inner-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.rr-hero-inner h1 { color: #fff; font-size: 40px; margin: 0 0 16px; }
.rr-hero-inner-img img { width: 100%; border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.rr-about-hero { padding: 110px 0; }
.rr-quote { border-left: 4px solid var(--teal); padding: 6px 0 6px 20px; font-size: 20px; font-style: italic; color: var(--ink); margin: 36px 0 0; }
.rr-quote-dark { color: #e8f4f8; border-color: var(--teal); margin-top: 28px; }

/* ============ MEDIA DARK ============ */
.rr-media-hero { background: linear-gradient(115deg, #0a1a3f 0%, #123a7d 55%, #0e7d74 130%); color: #fff; padding: 72px 0; }
.rr-media-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.rr-media-hero h1 { color: #fff; font-size: 42px; margin: 0 0 16px; }
.rr-media-dark { background: #0b1526; color: #c9d6ea; }
.rr-media-dark h2, .rr-media-dark h3 { color: #fff; }
.rr-media-dark .rr-section-sub { color: #9fb0c9; }
.rr-card-dark { background: #14213a; border-color: #24344f; }
.rr-card-dark h3 { color: #fff; }
.rr-card-dark p { color: #9fb0c9; }
.rr-media-h3 { margin: 44px 0 18px; font-size: 22px; }
.rr-embed-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.rr-video-embed iframe { border-radius: 12px; }

/* ============ CONTACT ============ */
.rr-contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.rr-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; margin-top: 24px; box-shadow: 0 12px 32px rgba(15,35,61,0.08); }
.rr-form-row { margin-bottom: 18px; }
.rr-form-row label { display: block; font-weight: 600; color: var(--ink); font-size: 15px; }
.rr-form-row input, .rr-form-row select, .rr-form-row textarea { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 10px; font-size: 15px; font-family: inherit; }
.rr-form-row input:focus, .rr-form-row select:focus, .rr-form-row textarea:focus { outline: none; border-color: var(--teal-dark); box-shadow: 0 0 0 3px rgba(58,168,159,0.15); }
.rr-side-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 16px; }
.rr-side-card h3 { margin: 0 0 8px; font-size: 16px; }
.rr-side-card h3 i { color: var(--teal-dark); margin-right: 8px; }
.rr-side-card p { margin: 0; color: var(--muted); font-size: 15px; }
.rr-side-highlight { background: linear-gradient(135deg, #dbeafe, #ccfbf1); border: none; }

/* ============ COMMUNITY ============ */
.rr-community { text-align: center; margin-top: 44px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }

@media (max-width: 960px) {
  .rr-hero-inner-grid, .rr-media-hero-grid, .rr-contact-grid { grid-template-columns: 1fr; }
  .rr-embed-row { grid-template-columns: 1fr; }
}

/* ============ PORTRAIT ============ */
.rr-portrait img { width: 100%; border-radius: 18px; box-shadow: 0 16px 40px rgba(15,35,61,0.18); }
.rr-portrait-video { width: 100%; border-radius: 18px; box-shadow: 0 16px 40px rgba(15,35,61,0.18); background: #0e1c2e; }
.rr-portrait-caption { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.rr-portrait-caption strong { color: var(--ink); font-size: 16px; }

/* ============ CAPABILITY PAGES ============ */
.rr-hero-inner { min-height: 52vh; }
.rr-svc-link { text-decoration: none; color: inherit; display: block; transition: transform .18s ease, box-shadow .18s ease; }
a.rr-svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15,35,61,0.14); }
.rr-svc-link h3 { color: var(--brand); }
.rr-svc-link h3::after { content: "  \f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 14px; opacity: 0.6; }
.rr-checklist { list-style: none; padding: 0; display: grid; gap: 12px; margin: 24px 0; }
.rr-checklist li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.rr-checklist li i { color: #1d9e6c; margin-top: 3px; }

/* ============ CARD + CAPABILITY VISUALS ============ */
.rr-svc-img { margin: -24px -24px 18px; border-radius: 14px 14px 0 0; overflow: hidden; aspect-ratio: 16/10; background: var(--tint); }
.rr-svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
a.rr-svc-card:hover .rr-svc-img img { transform: scale(1.06); }
.rr-cap-visual { padding: 0 0 8px; background: var(--brand); }
.rr-cap-visual .wrap { max-width: 1080px; }
.rr-cap-visual img { width: 100%; aspect-ratio: 21/9; object-fit: cover; display: block; border-radius: 0 0 20px 20px; box-shadow: 0 18px 44px rgba(15,35,61,0.22); }

/* ============ PAIN SPLIT SECTION ============ */
.rr-pain-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; margin-top: 36px; }
.rr-pain-video { position: sticky; top: 24px; }
.rr-pain-video video { width: 100%; border-radius: 18px; box-shadow: 0 18px 44px rgba(15,35,61,0.20); display: block; aspect-ratio: 16/10; object-fit: cover; }
.rr-pain-video-cap { text-align: center; color: var(--muted); font-size: 14px; margin-top: 10px; font-style: italic; }
.rr-pain-list { display: grid; gap: 12px; }
.rr-pain-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .18s ease; }
.rr-pain-item.open { box-shadow: 0 10px 26px rgba(15,35,61,0.10); border-color: var(--brand); }
.rr-pain-q { width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: none; border: none; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--ink); text-align: left; font-family: inherit; }
.rr-pain-q .fa-xmark { color: #d64545; font-size: 18px; flex-shrink: 0; }
.rr-pain-q span { flex: 1; }
.rr-pain-chev { color: var(--muted); font-size: 14px; transition: transform .2s ease; flex-shrink: 0; }
.rr-pain-item.open .rr-pain-chev { transform: rotate(180deg); }
.rr-pain-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.rr-pain-a p { margin: 0; padding: 0 18px 10px 48px; color: var(--muted); font-size: 15.5px; }
.rr-pain-a p strong { color: #1d9e6c; }
.rr-pain-a a { display: inline-block; margin: 0 18px 18px 48px; color: var(--brand); font-weight: 600; font-size: 15px; text-decoration: none; }
.rr-pain-a a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .rr-pain-split { grid-template-columns: 1fr; }
  .rr-pain-video { position: static; }
}

/* ============ FLIP SWITCH SECTION ============ */
.rr-flip { background: linear-gradient(180deg, #f4f7fb 0%, #eef3f9 100%); }
.rr-switch-wrap { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 28px 0 32px; }
.rr-switch-label { font-weight: 700; font-size: 17px; color: var(--muted); transition: color .2s ease; }
.rr-switch-label.is-active { color: var(--ink); }
#rr-label-with.is-active { color: #1d9e6c; }
.rr-switch { width: 76px; height: 40px; border-radius: 999px; border: none; cursor: pointer; background: #d64545; position: relative; transition: background .25s ease; padding: 0; }
.rr-switch[aria-pressed="true"] { background: #1d9e6c; }
.rr-switch-thumb { position: absolute; top: 4px; left: 4px; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.25); transition: left .25s ease; }
.rr-switch[aria-pressed="true"] .rr-switch-thumb { left: 40px; }
.rr-flip-stage { position: relative; max-width: 880px; margin: 0 auto; min-height: 560px; }
.rr-flip-pane { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 44px rgba(15,35,61,0.12); border: 1px solid var(--line); opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; position: absolute; inset: 0; }
.rr-flip-pane.is-visible { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.rr-flip-img { aspect-ratio: 21/9; overflow: hidden; }
.rr-flip-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rr-flip-without .rr-flip-img { border-bottom: 4px solid #d64545; }
.rr-flip-with .rr-flip-img { border-bottom: 4px solid #1d9e6c; }
.rr-flip-list { list-style: none; margin: 0; padding: 8px 28px 28px; display: grid; gap: 2px; }
.rr-flip-list li { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; font-weight: 600; }
.rr-flip-list li:last-child { border-bottom: none; }
.rr-flip-list li span { font-weight: 400; color: var(--muted); }
.rr-red { color: #d64545; }
.rr-green { color: #1d9e6c; }
@media (max-width: 700px) {
  .rr-flip-stage { min-height: 0; }
  .rr-flip-pane { position: relative; }
  .rr-flip-pane:not(.is-visible) { display: none; }
}

/* ============ VISUAL STEPS ============ */
.rr-steps-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 36px 0; position: relative; }
.rr-steps-visual::before { content: ""; position: absolute; top: 88px; left: 8%; right: 8%; height: 3px; background: linear-gradient(90deg, var(--brand), #1d9e6c); border-radius: 3px; opacity: 0.35; z-index: 0; }
.rr-step-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 28px rgba(15,35,61,0.08); position: relative; z-index: 1; }
.rr-step-img { position: relative; aspect-ratio: 16/10; overflow: visible; }
.rr-step-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 18px 18px 0 0; }
.rr-step-badge { position: absolute; bottom: -22px; left: 22px; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 19px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(15,35,61,0.25); border: 3px solid #fff; }
.rr-step-card:nth-child(2) .rr-step-badge { background: #1d7fb8; }
.rr-step-card:nth-child(3) .rr-step-badge { background: #1d9e6c; }
.rr-step-card h3 { margin: 34px 22px 8px; font-size: 19px; }
.rr-step-card p { margin: 0 22px 24px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) {
  .rr-steps-visual { grid-template-columns: 1fr; }
  .rr-steps-visual::before { display: none; }
}

/* ============ HERO TAGLINE + STATS PYRAMID ============ */
.rr-hero-tag { color: #fff; font-size: 30px; font-weight: 800; margin: 18px 0 0; letter-spacing: -0.5px; }
.rr-stats-pyramid { display: grid; gap: 30px; }
.rr-pyramid-row { display: flex; justify-content: center; gap: 72px; flex-wrap: wrap; }
.rr-stat { text-align: center; max-width: 260px; }
.rr-stat-label { display: block; font-size: 15px; color: #e6eefb; font-weight: 600; margin-top: 4px; }
.rr-stat-sub { display: block; font-size: 14px; color: #9fb2d0; margin-top: 2px; }

.rr-stats-foot { text-align: center; color: #c9d6ea; font-size: 15px; font-weight: 600; margin: 4px 0 0; }
.rr-stats-foot i { color: var(--teal); margin-right: 8px; }

/* ============ CARD VIDEOS ============ */
.rr-svc-vid { width: 100%; height: 100%; object-fit: cover; display: block; }

.rr-svc-more { display: inline-block; margin-top: 12px; color: var(--brand); font-weight: 700; font-size: 15px; }
.rr-card-dark .rr-svc-more { color: var(--teal); }
a.rr-svc-card:hover .rr-svc-more { text-decoration: underline; }

/* ============ AI BENCH + USE CASES ============ */
.rr-ai-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.rr-ai-head img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.rr-ai-head h3 { margin: 0 !important; }
.rr-use-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); margin: 16px 0 8px; }
.rr-use-list { list-style: disc; margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.rr-use-list li::marker { color: var(--brand); }
button.rr-use-card { text-align: left; font: inherit; color: inherit; cursor: pointer; }
.rr-use-card h3 { margin: 0 0 8px; }
.rr-use-card p { margin: 0 0 12px; color: var(--muted); font-size: 15.5px; }
.rr-use-open { font-weight: 700; color: var(--brand); font-size: 15px; }
.rr-dialog { border: 1px solid var(--line); border-radius: 18px; padding: 0; max-width: 640px; width: calc(100% - 48px); box-shadow: 0 24px 60px rgba(15,35,61,.28); }
.rr-dialog::backdrop { background: rgba(15,35,61,.55); }
.rr-dialog-body { padding: 32px; }
.rr-dialog-body h3 { margin: 0 0 16px; font-size: 22px; }
.rr-dialog-body p { color: var(--muted); font-size: 16px; margin: 0 0 14px; }
.rr-dialog-body p strong { color: #0f233d; }
.rr-dialog-close { display: inline-block; margin-top: 8px; padding: 10px 24px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.rr-dialog-close:hover { background: var(--tint); }
