/* ══════════════════════════════════════════════════════════════════════════
   Reputation Hub v1.2 — page layer on top of the shared V4/Revenue system.
   styles.css (tokens, grounds, type, buttons, FAQ, final) and the generated
   header.css/footer.css stay byte-identical to Revenue OS. experience.css is
   no longer loaded: this file owns every Reputation-specific component.

   COLOUR LAW (inherited): coral marks a human decision, an open exception or
   the primary action; sage (#6f9c8a / #c4ddc7) marks a controlled state.
   Coral never sits as text on a light ground (#ad3b28 does instead).
   MOTION: one introductory pass through the demo, then visitor-driven.
   ══════════════════════════════════════════════════════════════════════════ */

.rh-page .ros-sec { padding-block: clamp(56px, 7vw, 104px); }
.rh-page .v4-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.rh-page :where(h1, h2, h3, h4) { overflow-wrap: break-word; }
.rh-h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 800; line-height: 1.35; margin: clamp(40px, 5vw, 64px) 0 18px; }
.rh-textlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #f4ede1; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.rh-textlink:hover { text-decoration-thickness: 2px; }
.rh-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rh-tag { display: inline-block; font-size: 12px; font-weight: 700; line-height: 1.5; border-radius: 999px; padding: 3px 12px; border: 1px dashed #3a475c; color: #aeb9c9; }
.rh-tag--real { border-style: solid; border-color: #6f9c8a; color: #c4ddc7; }

/* ── 01 hero ───────────────────────────────────────────────────────────── */
.rh-hero { padding-top: clamp(24px, 3.5vw, 52px) !important; }
.rh-hero__grid { display: grid; gap: 36px; }
@media (min-width: 1024px) { .rh-hero__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; } }
.rc-breadcrumb { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #aeb9c9; }
.rc-breadcrumb a { color: #aeb9c9; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.rc-breadcrumb span[aria-current] { color: #f4ede1; }
.rh-eyebrow { margin: 6px 0 16px; font: 600 13px/1.6 var(--v4-system); color: #aeb9c9; max-width: 46ch; }
.rh-intro h1 { margin: 0 0 22px; font-size: clamp(38px, 4.8vw, 64px); line-height: 1.06; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
html[lang="ar"] .rh-intro h1 { line-height: 1.24; letter-spacing: 0; font-weight: 800; }
.rh-lead { margin: 0 0 12px; max-width: 46ch; font-size: clamp(17px, 1.55vw, 20px); line-height: 1.7; color: var(--v4-on-ink); }
.rh-sub { margin: 0; max-width: 50ch; font-size: 15px; line-height: 1.7; color: #aeb9c9; }
.rh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin: 26px 0 10px; }
.rh-actions .ros-btn { min-height: 52px; padding: 14px 24px; border-radius: 10px; box-shadow: none; }
.rh-note { margin: 0; max-width: 54ch; font-size: 13px; line-height: 1.7; color: #9aa2b1; }

/* ── the demo: customer view and team view of the same review ─────────── */
.rh-demo { min-width: 0; padding: 16px; border-radius: 20px; border: 1px solid #2f3b50; background: linear-gradient(160deg, #18243a 0%, #101829 72%); box-shadow: var(--ros-shadow-deep); }
.rh-demo__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-bottom: 14px; }
.rh-demo__label { margin: 0; padding: 4px 12px; border: 1px dashed #3a475c; border-radius: 999px; font-size: 12px; line-height: 1.5; color: #aeb9c9; }
.rh-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid #2f3b50; background: #0b1120; }
.rh-seg button { appearance: none; min-height: 44px; padding: 6px 16px; border: 0; border-radius: 999px; background: transparent; color: #c2cedc; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background-color .2s var(--v4-ease), color .2s var(--v4-ease); }
.rh-seg button:hover { color: #fdf6f2; }
.rh-seg button[aria-pressed="true"] { background: #f4ede1; color: #0a0e1a; }

.rh-steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.rh-steps > li { display: flex; }
.rh-steps > li > button { height: 100%; }
.rh-steps button { position: relative; overflow: hidden; width: 100%; min-height: 54px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 8px 10px; border: 1px solid #2f3b50; border-radius: 10px; background: transparent; color: #c2cedc; font: inherit; text-align: start; cursor: pointer; transition: background-color .2s var(--v4-ease), border-color .2s var(--v4-ease), color .2s var(--v4-ease); }
.rh-steps button:hover { border-color: #56657c; }
.rh-steps__n { font: 700 11px/1 var(--v4-system); letter-spacing: .08em; color: #7d8aa0; }
.rh-steps__t { font-size: 13px; font-weight: 600; line-height: 1.3; }
.rh-steps button[aria-pressed="true"] { background: #c4ddc7; border-color: #c4ddc7; color: #14291f; }
.rh-steps button[aria-pressed="true"] .rh-steps__n { color: #35584a; }
.rh-steps__bar { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: #35584a; transform: scaleX(0); transform-origin: left center; }
html[dir="rtl"] .rh-steps__bar { transform-origin: right center; }
.rh-demo[data-playing] .rh-steps button[aria-pressed="true"] .rh-steps__bar { animation: rh-fill 3200ms linear forwards; }
@keyframes rh-fill { to { transform: scaleX(1); } }

.rh-stage { display: grid; gap: 18px; }
.rh-live .rh-stage { gap: 0; }
.rh-live .rh-frame { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .26s var(--v4-ease), transform .26s var(--v4-ease), visibility 0s linear .26s; }
.rh-live .rh-frame[data-on] { visibility: visible; opacity: 1; transform: none; transition: opacity .34s var(--v4-ease), transform .34s var(--v4-ease), visibility 0s; }
.rh-frame { display: grid; gap: 10px; min-width: 0; }
@media (min-width: 560px) { .rh-frame { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.rh-pane { min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; }
.rh-pane--customer { background: #f4ede1; color: #1a1a22; }
.rh-pane--team { background: #0b1120; border: 1px solid #2a3548; color: #e6ebf2; }
.rh-pane__label { margin: 0; font: 700 11px/1.4 var(--v4-system); letter-spacing: .08em; text-transform: uppercase; color: #5c5c66; }
.rh-pane--team .rh-pane__label { color: #8f9bb0; }
html[lang="ar"] .rh-pane__label { letter-spacing: 0; font-size: 12px; }

.rh-msg, .rh-review, .rh-gcard { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 0 0 1px rgba(26, 26, 34, .05), 0 10px 24px -18px rgba(20, 22, 29, .5); }
.rh-msg__from { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 12px; font-weight: 700; color: #35584a; }
.rh-msg__dot { width: 8px; height: 8px; border-radius: 50%; background: #6f9c8a; flex: none; }
.rh-msg__text { margin: 0 0 10px; font-size: 14px; line-height: 1.65; }
.rh-msg__btn { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #1a1a22; color: #fbf6ee; font-size: 13px; font-weight: 700; }
.rh-cmeta { margin: 0; font-size: 12px; line-height: 1.5; color: #5c5c66; }
.rh-stars { margin: 0 0 4px; font-size: 15px; line-height: 1.2; letter-spacing: 2px; color: #a86b12; }
.rh-review__text { margin: 0; font-size: 14px; line-height: 1.65; }
.rh-waiting { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; color: #5c5c66; }
.rh-waiting::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px dashed #8c8577; flex: none; }
.rh-gcard__src { margin: 0 0 6px; font: 700 11px/1.4 var(--v4-system); color: #5c5c66; }
.rh-owner { margin-top: 10px; padding: 9px 12px; border-inline-start: 3px solid #6f9c8a; border-radius: 8px; background: #f1f5f1; }
.rh-owner__label { margin: 0 0 3px; font-size: 12px; font-weight: 700; color: #35584a; }
.rh-owner p:last-child { margin: 0; font-size: 13.5px; line-height: 1.65; }

.rh-ticket, .rh-draft { padding: 12px 14px; border: 1px solid #2a3548; border-radius: 12px; background: #131b2c; }
.rh-ticket--hot, .rh-draft--hot { border-inline-start: 3px solid #ff5a45; }
.rh-ticket--open { border-inline-start: 3px solid #ff927a; }
.rh-ticket__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: #9aa6b8; }
.rh-ticket__title { margin: 8px 0; font-size: 15px; font-weight: 700; line-height: 1.4; color: #f4ede1; }
.rh-kv { margin: 0; display: grid; gap: 6px; }
.rh-kv > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: baseline; }
.rh-kv dt { font-size: 12px; color: #8f9bb0; }
.rh-kv dd { margin: 0; font-size: 13px; line-height: 1.5; color: #dfe6ef; }
.rh-chip { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.rh-chip--ok { background: #1d3a31; color: #c4ddc7; }
.rh-chip--hot { background: #ff5a45; color: #1a0704; }
.rh-chip--open { border: 1px solid #ff927a; color: #ffad99; }
.rh-draft__label { margin: 0 0 6px; font-size: 12px; font-weight: 600; color: #9aa6b8; }
.rh-draft__text { margin: 0 0 10px; padding: 10px 12px; border: 1px dashed #33405a; border-radius: 8px; background: #0b1120; font-size: 14px; line-height: 1.7; color: #f4ede1; }
.rh-draft__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 12px; color: #9aa6b8; }
.rh-tnote { margin: 0; font-size: 12.5px; line-height: 1.6; color: #c2cedc; }

.rh-demo__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #2a3548; }
.rh-replay, .rh-motion { appearance: none; min-height: 44px; padding: 8px 16px; border: 1px solid #3a475c; border-radius: 999px; background: transparent; color: #e6ebf2; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.rh-replay:hover, .rh-motion:hover { border-color: #7d8aa0; }
.rh-motion:disabled { opacity: .7; cursor: default; }
@media (max-width: 420px) { .rh-demo { padding: 12px; margin-inline: -4px; } .rh-steps button { padding: 7px 7px; } .rh-steps__t { font-size: 12px; } .rh-seg button { padding-inline: 12px; } }

/* ── 02 proof (cream) ─────────────────────────────────────────────────── */
.rh-proof__grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .rh-proof__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; } }
.rh-proof .ros-lede { margin-bottom: 0; }
.rh-bignum { display: grid; gap: 4px; margin: 26px 0 0; }
.rh-bignum b { font: 800 clamp(64px, 8vw, 104px)/1 var(--v4-system); letter-spacing: -.04em; color: #1a1a22; justify-self: start; }
.rh-bignum > span { font-size: 15px; color: #5c5c66; }
.rh-record { margin: 0; padding: clamp(20px, 3vw, 32px); border-radius: 16px; background: var(--v4-paper); box-shadow: var(--ros-shadow-paper); }
.rh-record__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.rh-record__head strong { font-size: 20px; }
.rh-record__head span { padding: 3px 12px; border-radius: 999px; background: #d9ebdd; color: #1f4a3a; font-size: 12.5px; font-weight: 600; }
.rh-record__ctx { margin: 10px 0 16px; font-size: 14px; color: #5c5c66; }
.rh-record__rows { margin: 0; }
.rh-record__rows > div { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid #e3d9c9; }
@media (min-width: 640px) { .rh-record__rows > div { grid-template-columns: 150px minmax(0, 1fr); gap: 20px; } }
.rh-record__rows dt { font-size: 13px; font-weight: 700; color: #5c5c66; }
.rh-record__rows dd { margin: 0; font-size: 15.5px; line-height: 1.7; }
.rh-record figcaption { margin-top: 12px; padding: 14px 16px; border-radius: 10px; background: #f0e8da; font-size: 14px; line-height: 1.75; color: #45434a; }
.rh-record figcaption strong { color: #1a1a22; }

/* ── 03 receive (ink) ─────────────────────────────────────────────────── */
.rh-compare { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.rh-compare thead td { width: 18%; }
.rh-compare caption { caption-side: top; text-align: start; padding: 0 0 12px; font-size: 15px; font-weight: 700; color: #aeb9c9; }
.rh-compare thead th { padding: 10px 16px; text-align: start; font-size: 13px; font-weight: 700; color: #9aa2b1; }
.rh-compare thead th:last-child { color: #c4ddc7; }
.rh-compare tbody th { padding: 16px; border-top: 1px solid #232a3a; text-align: start; vertical-align: top; font-size: 15px; font-weight: 700; color: #f4ede1; }
.rh-compare tbody td { padding: 16px; border-top: 1px solid #232a3a; vertical-align: top; font-size: 15px; line-height: 1.65; color: #9aa2b1; }
.rh-compare tbody td:last-child { background: rgba(111, 156, 138, .09); color: #f4ede1; }
@media (max-width: 719px) {
  .rh-compare, .rh-compare tbody, .rh-compare tr, .rh-compare th, .rh-compare td { display: block; width: auto; }
  .rh-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rh-compare tr { padding: 12px 0; border-top: 1px solid #232a3a; }
  .rh-compare tbody th, .rh-compare tbody td { border: 0; padding: 0; }
  .rh-compare tbody th { margin-bottom: 4px; font-size: 15px; }
  .rh-compare tbody td:first-of-type { font-size: 13.5px; line-height: 1.6; color: #8f97a6; }
  .rh-compare tbody td:first-of-type::before { content: attr(data-col) " · "; font-weight: 700; color: #7d8494; }
  .rh-compare tbody td:last-child { margin-top: 8px; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; }
  .rh-compare tbody td:last-child::before { content: attr(data-col); display: block; font-size: 12px; font-weight: 700; color: #c4ddc7; }
}

.rh-shot { display: grid; gap: 20px; align-items: center; margin: clamp(40px, 5vw, 64px) 0 0; }
@media (min-width: 960px) { .rh-shot { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 40px; } }
.rh-shot__cap .rh-h3 { margin: 0 0 10px; }
.rh-shot__cap p { margin: 12px 0 0; font-size: 15px; line-height: 1.75; color: #c2cedc; }
.rh-shot__cap .rh-shot__bound { font-size: 14px; color: #9aa2b1; }
.rh-shot__img { overflow: hidden; border: 1px solid #2f3b50; border-radius: 14px; background: #fff; box-shadow: var(--ros-shadow-deep); }
.rh-shot__img img { display: block; width: 100%; height: auto; }

.rh-billing-note { max-width: 78ch; margin: 18px 0 28px; font-size: 15px; line-height: 1.7; color: #5c5c66; }

.rh-plans { display: grid; gap: 18px; }
@media (min-width: 960px) { .rh-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.rh-plan { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px; border-radius: 16px; background: var(--v4-paper); color: var(--v4-on-light); box-shadow: var(--ros-shadow-paper); }
.rh-plan--featured { border: 2px solid #1a1a22; box-shadow: var(--ros-shadow-paper-hover); }
.rh-plan__kicker { display: flex; justify-content: space-between; gap: 12px; margin: 0; font: 700 12px/1.2 var(--v4-system); letter-spacing: .1em; text-transform: uppercase; color: #5c5c66; }
html[lang="ar"] .rh-plan__kicker { letter-spacing: 0; font-size: 13px; }
.rh-plan__kicker b { color: #1a1a22; letter-spacing: .06em; }
.rh-plan__kicker i { font-style: normal; }
.rh-plan h3 { margin: 0; font-size: clamp(21px, 2vw, 25px); font-weight: 800; line-height: 1.25; }
.rh-plan__who { margin: 0; font-size: 15px; line-height: 1.6; color: #5c5c66; }
.rh-plan__price { display: grid; gap: 2px; margin: 2px 0 0; }
.rh-plan__price strong { font-size: clamp(28px, 2.6vw, 32px); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.rh-plan__price span { font-size: 14px; line-height: 1.6; color: #5c5c66; }
.rh-plan__list { list-style: none; display: grid; gap: 9px; margin: 2px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(26, 26, 34, .1); font-size: 14.5px; line-height: 1.55; }
.rh-plan__list li { position: relative; padding-inline-start: 18px; }
.rh-plan__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--v4-calm); }
.rh-plan__list li.rh-plan__none::before { background: rgba(26, 26, 34, .2); }
.rh-plan__fees { margin: 0; padding-top: 12px; border-top: 1px dashed #d9cdb9; font-size: 13px; line-height: 1.6; color: #5c5c66; }
.rh-plan__actions { display: grid; gap: 8px; margin-top: auto; padding-top: 8px; }
.rh-plan__actions .ros-btn { justify-content: center; min-height: 50px; border-radius: 10px; text-align: center; }
.rh-plan__ask { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 14px; color: #45434a; text-decoration: underline; text-underline-offset: 3px; }
.rh-plan__ask:hover { color: #1a1a22; }
.rh-plan__annual { margin: 0; font-size: 13px; color: #5c5c66; text-align: center; }

/* billing toggle: the section's data-bill decides which prices, checkouts and footers show; annual by default.
   Without JavaScript the toggle hides and the annual view stays. */
.rh-billbar { margin: -8px 0 22px; }
.rh-billtoggle button { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.25; padding: 6px 18px; }
.rh-billtoggle small { font-size: 11.5px; font-weight: 600; opacity: .82; }
.rh-seg--cream { border-color: #d9cfbf; background: #fbf6ee; }
.rh-seg--cream button { color: #45434a; }
.rh-seg--cream button:hover { color: #1a1a22; }
.rh-seg--cream button[aria-pressed="true"] { background: var(--v4-ink); color: #f4ede1; }
html:not(.ros-js) .rh-billtoggle, html:not(.ros-js) .rh-calc__field--bill { display: none; }
.rh-plansec[data-bill="year"] [data-bill-only="month"], .rh-plansec[data-bill="month"] [data-bill-only="year"] { display: none; }
.rh-calc { margin-top: 28px; padding: clamp(20px, 3vw, 32px); border-radius: 16px; background: var(--v4-ink); color: var(--v4-on-ink); box-shadow: var(--ros-shadow-card); }
.rh-calc .rh-h3 { margin: 0 0 18px; color: #f4ede1; }
.rh-calc__controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 32px; }
.rh-calc__label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #aeb9c9; }
.rh-seg--light { flex-wrap: wrap; border-radius: 16px; }
.rh-seg--light button { border-radius: 12px; }
.rh-stepper { display: inline-flex; align-items: center; padding: 3px; border: 1px solid #2f3b50; border-radius: 999px; background: #0b1120; }
.rh-stepper button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #f4ede1; font-size: 22px; line-height: 1; cursor: pointer; }
.rh-stepper button:hover { background: #1b2436; }
.rh-stepper input { width: 64px; height: 44px; border: 0; background: transparent; color: #f4ede1; text-align: center; font: 700 18px var(--v4-system); -moz-appearance: textfield; appearance: textfield; }
.rh-stepper input::-webkit-inner-spin-button, .rh-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.rh-calc__out { display: grid; gap: 4px; margin: 22px 0 0; }
.rh-calc__total { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; color: #f4ede1; }
.rh-calc__total b { font-weight: 800; }
.rh-calc__detail { font-size: 15px; color: #aeb9c9; }
.rh-calc__note { max-width: 82ch; margin: 14px 0 0; font-size: 13.5px; line-height: 1.7; color: #9aa2b1; }

.ros-sec--cream .ros-more { border-color: #dccfbb; }
.ros-sec--cream .ros-more > summary::after { color: #5c5c66; }
.rh-terms ul { display: grid; gap: 8px; margin: 0; padding-inline-start: 20px; font-size: 14.5px; line-height: 1.65; color: #45434a; }
.rh-fitlink { margin: 22px 0 0; font-size: 15px; color: #45434a; }
.rh-fitlink a { display: inline-flex; align-items: center; min-height: 44px; color: #1a1a22; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ── 06 FAQ (cream) · 07 final ────────────────────────────────────────── */
.rh-faq .ros-faq { border-top-color: #dccfbb; }
.rh-faq .ros-faq__item { border-bottom-color: #dccfbb; }
.rh-faq .ros-faq__item summary { color: #1a1a22; }
.rh-faq .ros-faq__item summary::after { color: #5c5c66; }
.rh-faq .ros-faq__body { padding: 0 4px 20px; }
.rh-faq .ros-faq__item p { margin: 0; padding: 0; max-width: 78ch; line-height: 1.8; color: #45434a; }

/* ── motion preferences ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .rh-live .rh-frame, .rh-live .rh-frame[data-on] { transition: none; transform: none; }
  .rh-steps__bar { animation: none !important; }
  .rh-seg button, .rh-steps button { transition: none; }
}
html[data-motion="off"] .rh-frame, html[data-motion="off"] .rh-frame[data-on] { transition: none !important; transform: none !important; }
html[data-motion="off"] .rh-steps__bar { animation: none !important; }

/* ── phone density: fewer screens without shrinking body copy below 13px ── */
@media (max-width: 639px) {

  .rh-record__rows > div { padding: 11px 0; }
  .rh-record__rows dd { font-size: 15px; }
  .rh-plan { gap: 11px; padding: 20px 18px; }
  .rh-hero__grid { gap: 28px; }
}

/* ── illustrations: purpose-drawn for Reputation (wide ≥960px, tall below) ── */
.rh-flow { margin: clamp(28px, 4vw, 44px) 0 clamp(8px, 2vw, 20px); }
.rh-art { display: block; width: 100%; height: auto; overflow: visible; }
.rh-art text { font-family: var(--v4-system); }

.rh-flow figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 12px; font-size: 14px; font-weight: 600; color: #aeb9c9; }

@keyframes rh-draw { to { stroke-dashoffset: 0; } }
.rh-map { margin: 22px 0 0; }
.rh-art--map { max-width: 440px; }
.rh-map figcaption { margin-top: 6px; font-size: 12.5px; color: #5c5c66; }
.rh-phase__icon { display: block; width: 44px; height: 44px; margin: 0 0 10px; }
.rh-pane--customer { position: relative; padding-top: 24px; }
.rh-pane--customer::before { content: ""; position: absolute; top: 9px; left: 50%; width: 48px; height: 5px; margin-left: -24px; border-radius: 3px; background: #d9cdb9; }

/* ── review sources: what the platform supports vs what is connected by default ── */
.rh-sources { margin: 18px 0 0; padding: 18px 20px; border: 1px solid #232a3a; border-radius: 14px; background: rgba(19, 27, 44, .6); }
.rh-sources h4 { margin: 0 0 12px; font-size: 15px; font-weight: 800; color: #c4ddc7; }
.rh-srcchips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; }
.rh-srcchips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px dashed #3a475c; border-radius: 999px; font-size: 14px; color: #aeb9c9; }
.rh-srcchips li.is-on { border-style: solid; border-color: #56657c; color: #f4ede1; font-weight: 600; }
.rh-srcchips li span:not(.v4-sr) { font-size: 11px; font-weight: 700; color: #c4ddc7; background: #1d3a31; border-radius: 999px; padding: 2px 8px; }
.rh-sources p { margin: 0; max-width: 82ch; font-size: 14.5px; line-height: 1.7; color: #aeb9c9; }
@media (max-width: 639px) { .rh-sources { padding: 16px; } .rh-srcchips li { font-size: 13.5px; padding: 6px 12px; } }

/* ── feature explorer: what the software does, in four tabs ─────────────── */
.rh-fx__intro { max-width: 82ch; margin: -6px 0 18px; font-size: 15.5px; line-height: 1.7; color: #aeb9c9; }
.rh-fx__ai { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 16px; padding: 16px 18px; border: 1px solid #2f3b50; border-radius: 14px; background: linear-gradient(120deg, #17283d, #101a2b); }
.rh-fx__ai strong { font-size: 16px; color: #f4ede1; }
.rh-fx__ai ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.rh-fx__ai li { display: inline-flex; align-items: center; gap: 8px; padding-block: 6px; padding-inline: 10px 14px; border: 1px solid #3a475c; border-radius: 999px; background: #0b1120; color: #c4ddc7; font-size: 13.5px; font-weight: 700; }
.rh-fx__aiicon { width: 20px; height: 20px; }
.rh-fx__ai p { flex-basis: 100%; margin: 0; font-size: 13.5px; line-height: 1.6; color: #aeb9c9; }
.rh-fx__tabs { display: none; }
.rh-fx--live .rh-fx__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
@media (max-width: 719px) { .rh-fx--live .rh-fx__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rh-fx__tabs button { appearance: none; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 12px; border: 1px solid #2f3b50; border-radius: 12px; background: transparent; color: #c2cedc; font: inherit; text-align: start; cursor: pointer; transition: background-color .2s var(--v4-ease), border-color .2s var(--v4-ease), color .2s var(--v4-ease); }
.rh-fx__tabs button:hover { border-color: #56657c; }
.rh-fx__tabs button .rh-fx__icon { width: 28px; height: 28px; flex: none; }
.rh-fx__tabs button span { display: grid; gap: 1px; min-width: 0; }
.rh-fx__tabs button b { font-size: 14.5px; line-height: 1.3; }
.rh-fx__tabs button small { font-size: 12px; color: #8f9bb0; }
.rh-fx__tabs button[aria-selected="true"] { background: #f4ede1; border-color: #f4ede1; color: #0a0e1a; }
.rh-fx__tabs button[aria-selected="true"] small { color: #5c5c66; }
.rh-fx__panel + .rh-fx__panel { margin-top: 28px; }
.rh-fx--live .rh-fx__panel + .rh-fx__panel { margin-top: 0; }
.rh-fx__title { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: #f4ede1; }
.rh-fx--live .rh-fx__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rh-fx__lede { margin: 0 0 14px; font-size: 16px; font-weight: 600; color: #dfe6ef; }
.rh-fx__grid { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
/* Count-aware grid: four cards stay 2x2, three columns only from five cards, and a last card that would sit alone spans the row. */
@media (min-width: 640px) { .rh-fx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rh-fx__grid > .rh-fx__card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .rh-fx__grid:has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rh-fx__grid:has(> :nth-child(5)) > .rh-fx__card:last-child:nth-child(odd) { grid-column: auto; } .rh-fx__grid:has(> :nth-child(5)) > .rh-fx__card:last-child:nth-child(3n+1) { grid-column: 1 / -1; } }
.rh-fx__card p { max-width: 72ch; }
.rh-fx__card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid #232a3a; border-radius: 12px; background: var(--v4-ink-lift); }
.rh-fx__card .rh-fx__icon { width: 36px; height: 36px; color: #c4ddc7; }
.rh-fx__card h4 { margin: 2px 0 4px; font-size: 15.5px; font-weight: 800; color: #f4ede1; }
.rh-fx__card p { margin: 0; font-size: 14px; line-height: 1.6; color: #aeb9c9; }
.rh-fx__tag { display: inline-block; margin-top: 8px; padding: 1px 10px; border: 1px solid #3a475c; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #aeb9c9; }
.rh-fx__tag--plan { border-color: #6f9c8a; color: #c4ddc7; }
.rh-fx__panel .rh-sources { margin-top: 12px; }
.rh-blog { display: grid; gap: 18px; align-items: center; margin: 0 0 12px; padding: 20px; border: 1px solid #3a475c; border-radius: 16px; background: linear-gradient(135deg, #1b2a3f, #121c2b); }
@media (min-width: 900px) { .rh-blog { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; padding: 26px; } }
.rh-blog__kicker { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 13px/1.4 var(--v4-system); color: #c4ddc7; }
.rh-blog__icon { width: 22px; height: 22px; }
.rh-blog h4 { margin: 8px 0 10px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; line-height: 1.3; color: #f4ede1; }
.rh-blog__text > p:not(.rh-blog__kicker) { margin: 0 0 12px; font-size: 15px; line-height: 1.75; color: #c2cedc; }
.rh-blog ul { list-style: none; display: grid; gap: 6px; margin: 0 0 12px; padding: 0; }
.rh-blog li { position: relative; padding-inline-start: 16px; font-size: 14px; line-height: 1.55; color: #dfe6ef; }
.rh-blog li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: #6f9c8a; }
.rh-blog__text > p.rh-blog__note { margin: 0; font-size: 13px; color: #9aa2b1; }

@media (max-width: 639px) { .rh-fx__card { padding: 12px 14px; } .rh-blog { padding: 16px; } }

/* ── v1.3 conversion revision: platform row, demo-account screenshots, repeated ask, plan badge ── */
.rh-intro h1 { font-size: clamp(36px, 4.2vw, 56px); }
.rh-plat { margin: 18px 0 16px; }
.rh-plat p { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #aeb9c9; }
.rh-plat ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.rh-plat li { padding: 4px 11px; border: 1px solid #33405a; border-radius: 999px; background: #0f1728; font: 700 13px/1.5 var(--v4-system); color: #f4ede1; }
.rh-plat .rh-plat__more { border-style: dashed; background: transparent; font-weight: 600; color: #aeb9c9; }
html[lang="ar"] .rh-plat .rh-plat__more { font-family: inherit; }

.rh-appshot { min-width: 0; margin: 0; }
.rh-appshot__frame { overflow: hidden; border: 1px solid #2f3b50; border-radius: 14px; background: #eef0f3; box-shadow: var(--ros-shadow-deep); }
.rh-appshot__bar { display: flex; gap: 6px; padding: 9px 12px; border-bottom: 1px solid #2a3548; background: #0b1120; }
.rh-appshot__bar i { width: 9px; height: 9px; border-radius: 50%; background: #33405a; }
.rh-appshot img { display: block; width: 100%; height: auto; }
.rh-appshot figcaption { margin-top: 10px; font-size: 13px; line-height: 1.6; color: #9aa2b1; text-align: center; }

.rh-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: clamp(32px, 4vw, 48px); padding: 18px 22px; border-radius: 14px; }
.rh-band p { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.5; }
.rh-band .ros-btn { min-height: 52px; padding: 14px 22px; border-radius: 10px; box-shadow: none; }
.rh-proof .rh-band { background: #f0e8da; color: #1a1a22; }
.rh-receive .rh-band { border: 1px solid #2a3548; background: #131b2c; color: #f4ede1; }
@media (max-width: 559px) { .rh-band { padding: 16px; } .rh-band .ros-btn { width: 100%; justify-content: center; padding: 14px 14px; text-align: center; } .rh-ask { gap: 8px; } }

.rh-demowrap { margin-top: clamp(40px, 5vw, 64px); }
.rh-demowrap > .rh-h3 { margin: 0 0 14px; }
@media (min-width: 960px) { .rh-demowrap .rh-demo { max-width: 900px; } }

.rh-fxshot { margin: 0 0 16px; }
.rh-fxshot img { display: block; width: 100%; height: auto; border: 1px solid #2a3548; border-radius: 12px; background: #eef0f3; }
.rh-fxshot figcaption { margin-top: 8px; font-size: 13px; line-height: 1.6; color: #9aa2b1; }
@media (min-width: 960px) { .rh-fx__panel > .rh-fxshot { max-width: 760px; } }
.rh-fxshot--blog { margin: 0; }

.rh-plan__badge { align-self: flex-start; margin: -4px 0 0; padding: 4px 12px; border-radius: 999px; background: #1a1a22; color: #fbf6ee; font-size: 12.5px; font-weight: 700; }
.rh-start { margin-top: 20px; padding: clamp(18px, 3vw, 28px); border-radius: 16px; background: var(--v4-ink); color: var(--v4-on-ink); box-shadow: var(--ros-shadow-card); }
.rh-start .rh-h3 { margin: 0 0 14px; color: #f4ede1; }
.rh-start__list { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; }
@media (min-width: 900px) { .rh-start__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.rh-start__list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.rh-start__list .rh-phase__icon { width: 34px; height: 34px; margin: 0; }
.rh-start__list h4 { margin: 2px 0 4px; font-size: 16px; font-weight: 800; line-height: 1.35; color: #f4ede1; }
.rh-start__list p { margin: 0; font-size: 14px; line-height: 1.65; color: #aeb9c9; }
.ros-cta--final { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.ros-cta--final .ros-cta__note { flex-basis: 100%; }

/* v1.3 phone density: same content, less vertical travel */
@media (max-width: 559px) {
  .rh-map { display: none; }
  .rh-record__rows > div { padding: 10px 0; }
  .rh-record__rows dd { font-size: 15px; line-height: 1.6; }
  .rh-record figcaption { margin-top: 4px; padding: 0; background: none; font-size: 13px; }
  .rh-compare tr { padding: 10px 0; }
  .rh-compare tbody td:last-child { margin-top: 4px; padding: 0; background: none; font-size: 14.5px; }
  .rh-compare tbody td:last-child::before { display: inline; content: attr(data-col) " · "; }
  .rh-fx__ai { gap: 8px; padding: 12px 14px; }
  .rh-fx__ai strong { flex-basis: 100%; font-size: 15px; }
  .rh-fx__ai li { padding-block: 4px; font-size: 13px; }
  .rh-fx__grid { gap: 8px; }
  .rh-fx__card { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 11px 12px; }
  .rh-fx__card .rh-fx__icon { width: 24px; height: 24px; }
  .rh-fx__card h4 { margin: 0 0 2px; font-size: 15px; }
  .rh-fx__card p { font-size: 13.5px; line-height: 1.55; }
  .rh-sources { margin-top: 12px; padding: 14px; }
  .rh-srcchips { gap: 6px; margin-bottom: 8px; }
  .rh-srcchips li { padding: 4px 10px; font-size: 13px; }
  .rh-plan__list { gap: 6px; padding-top: 10px; font-size: 14px; }
  .rh-plan__who { font-size: 14px; line-height: 1.55; }
  .rh-calc { margin-top: 20px; padding: 18px; }
  .rh-calc .rh-h3 { margin-bottom: 12px; }
  .rh-calc__out { margin-top: 14px; }
  .rh-plat { margin: 14px 0 12px; }
  .rh-plat li { padding: 3px 9px; font-size: 12.5px; }
  .ros-cta--final .ros-btn { width: 100%; justify-content: center; padding: 16px 20px; text-align: center; }
}

/* v1.3 desktop: wider copy column in the hero; each tool panel shows its screen beside the cards */
@media (min-width: 1024px) { .rh-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; } }
@media (min-width: 1100px) {
  .rh-fx__panel:not([hidden]) { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); column-gap: 28px; align-items: start; }
  .rh-fx__panel > .rh-fx__title, .rh-fx__panel > .rh-fx__lede { grid-column: 1 / -1; }
  .rh-fx__panel > .rh-fxshot { grid-column: 1; grid-row: 3; max-width: none; margin: 0; }
  .rh-fx__panel > .rh-fx__grid, .rh-fx__panel > .rh-fx__grid:has(> :nth-child(5)) { grid-column: 2; grid-row: 3; grid-template-columns: minmax(0, 1fr); }
  .rh-fx__panel > .rh-blog, .rh-fx__panel > .rh-sources { grid-column: 1 / -1; grid-row: 4; margin-top: 16px; }
}

/* == v1.3 cooler layer (Omar 2026-09-16) ==================================
   Marketing page: polish first (enter = opacity + translateY + blur, V4 ease),
   one expressive moment per section, nothing loops. Every motion here has a
   reduced-motion path and obeys the page's motion switch (html[data-motion=off]). */

/* the ask carries the channel it opens */
.rh-ask { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.rh-waicon { width: 20px; height: 20px; flex: none; }

/* hero: dashboard on a soft sage glow, tilted toward the copy; three journey cards float in once */
.rh-herostage { position: relative; isolation: isolate; }
.rh-hero { overflow-x: clip; }
.rh-herostage::before { content: ""; position: absolute; inset: -10% 0; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(111, 156, 138, .26), rgba(111, 156, 138, .08) 55%, transparent 75%); }
.rh-float { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rh-float__chip { display: flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid rgba(196, 221, 199, .2); border-radius: 12px; background: rgba(15, 23, 40, .88); color: #f4ede1; box-shadow: var(--ros-shadow-card); }
.rh-float__icon { width: 18px; height: 18px; flex: none; color: #c4ddc7; }
.rh-float__chip b { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.35; }
.rh-float__chip small { display: none; font-size: 12px; line-height: 1.4; color: #aeb9c9; }
@media (min-width: 1024px) {
  .rh-herostage { perspective: 1600px; }
  .rh-appshot--hero .rh-appshot__frame { transform: rotateY(-8deg) rotateX(3deg); transform-origin: 50% 50%; transition: transform 800ms var(--v4-ease); }
  html[dir="rtl"] .rh-appshot--hero .rh-appshot__frame { transform: rotateY(8deg) rotateX(3deg); }
  .rh-float { position: absolute; inset: 0; margin: 0; display: block; pointer-events: none; }
  .rh-float__chip { position: absolute; max-width: 260px; padding: 10px 14px; gap: 10px; border-radius: 14px; background: rgba(15, 23, 40, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .rh-float__chip small { display: block; }
  .rh-float__icon { width: 22px; height: 22px; }
  .rh-float__chip--0 { top: 14%; inset-inline-start: -22px; }
  .rh-float__chip--1 { top: 46%; inset-inline-end: -10px; }
  .rh-float__chip--2 { bottom: 9%; inset-inline-start: 4%; max-width: 300px; }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .rh-herostage:hover .rh-appshot__frame, html[dir="rtl"] .rh-herostage:hover .rh-appshot__frame { transform: none; }
}
@keyframes rh-in { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
.ros-js:not(.ros-ready) .rh-float__chip { opacity: 0; }
.ros-ready .rh-float__chip { animation: rh-in 560ms var(--v4-ease) both; animation-delay: calc(450ms + var(--i, 0) * 420ms); }

/* proof figure: fixed-width digits so the count never jitters */
.rh-bignum b { font-variant-numeric: tabular-nums; }

/* plans: cards lift under the pointer; Managed gets a sage-to-ink ring instead of a flat border */
.rh-plan--featured { border: 2px solid transparent; background: linear-gradient(var(--v4-paper), var(--v4-paper)) padding-box, linear-gradient(145deg, #1a1a22 10%, #6f9c8a 55%, #1a1a22 95%) border-box; }
@media (hover: hover) and (pointer: fine) {
  .rh-plan { transition: transform 320ms var(--v4-ease), box-shadow 320ms var(--v4-ease); }
  .rh-plan:hover { transform: translateY(-4px); box-shadow: var(--ros-shadow-paper-hover); }
  .rh-fxshot img { transition: transform 320ms var(--v4-ease), box-shadow 320ms var(--v4-ease); }
  .rh-fxshot:hover img { transform: translateY(-3px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); }
}

/* tool tabs: a clicked panel eases in (keyboard switches stay instant) */
@keyframes rh-panel-in { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } to { opacity: 1; transform: none; filter: blur(0); } }
.rh-fx--live .rh-fx__panel[data-enter] { animation: rh-panel-in 280ms var(--v4-ease) both; }
.rh-fx__tabs button[aria-selected="true"] { box-shadow: inset 0 -3px 0 #6f9c8a; }

/* final section: copy beside a WhatsApp-style conversation that plays once */
.rh-final { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .rh-final { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; } }
.rh-chat { width: 100%; max-width: 440px; margin: 0; justify-self: center; overflow: hidden; border: 1px solid #2a3548; border-radius: 22px; background: #0b1120; box-shadow: var(--ros-shadow-deep); }
.rh-chat__bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #1f2838; background: #101829; }
.rh-chat__bar img { width: 32px; height: 32px; border-radius: 50%; background: #0a0e1a; }
.rh-chat__bar p { display: grid; margin: 0; line-height: 1.3; }
.rh-chat__bar b { font-size: 14px; color: #f4ede1; }
.rh-chat__bar small { font-size: 12px; color: #8f9bb0; }
.rh-chat__tag { margin-inline-start: auto; padding: 2px 10px; border: 1px dashed #3a475c; border-radius: 999px; font-size: 11.5px; color: #aeb9c9; white-space: nowrap; }
.rh-chat__body { display: grid; gap: 10px; padding: 16px 14px 18px; background: radial-gradient(120% 80% at 50% 0%, #121c30 0%, #0b1120 70%); }
.rh-chat__msg { max-width: 88%; margin: 0; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.65; }
.rh-chat__msg--out { justify-self: end; border-end-end-radius: 4px; background: #1d3a31; color: #e6f1e8; }
.rh-chat__chip { display: inline-block; padding: 0 8px; border-radius: 6px; background: rgba(196, 221, 199, .16); color: #c4ddc7; font-weight: 700; }
.rh-chat__slot { position: relative; display: grid; }
.rh-chat__msg--in { justify-self: start; border: 1px solid #2a3548; border-end-start-radius: 4px; background: #131b2c; color: #dfe6ef; }
.rh-chat__msg--in p { margin: 0; }
.rh-chat__msg--in ul { list-style: none; display: grid; gap: 5px; margin: 8px 0; padding: 0; }
.rh-chat__msg--in li { position: relative; padding-inline-start: 22px; font-weight: 600; color: #f4ede1; }
.rh-chat__msg--in li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .42em; width: 10px; height: 6px; border-inline-start: 2px solid #c4ddc7; border-bottom: 2px solid #c4ddc7; transform: rotate(-45deg); }
html[dir="rtl"] .rh-chat__msg--in li::before { transform: rotate(45deg); }
.rh-chat__msg--in p:last-child { font-size: 13px; color: #aeb9c9; }
.rh-chat__typing { position: absolute; top: 0; inset-inline-start: 0; display: none; gap: 4px; margin: 0; padding: 12px 14px; border: 1px solid #2a3548; border-radius: 16px; border-end-start-radius: 4px; background: #131b2c; }
.rh-chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: #8f9bb0; }
@keyframes rh-typing-life { 0% { opacity: 0; } 10%, 90% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes rh-dot { 0%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-3px); opacity: 1; } }
.rh-chat[data-armed] .rh-chat__msg { opacity: 0; }
.rh-chat[data-play] .rh-chat__msg--out { animation: rh-in 460ms var(--v4-ease) both; }
.rh-chat[data-play] .rh-chat__typing { display: flex; animation: rh-typing-life 1400ms linear 550ms both; }
.rh-chat[data-play] .rh-chat__typing i { animation: rh-dot 700ms var(--v4-ease-io) 2 both; }
.rh-chat[data-play] .rh-chat__typing i:nth-child(2) { animation-delay: 120ms; }
.rh-chat[data-play] .rh-chat__typing i:nth-child(3) { animation-delay: 240ms; }
.rh-chat[data-play] .rh-chat__msg--in { animation: rh-in 560ms var(--v4-ease) 1950ms both; }
@media (max-width: 559px) { .rh-chat__msg { max-width: 94%; font-size: 13.5px; } .rh-chat__bar { flex-wrap: wrap; } }

/* reveals follow the shared recipe; these make every motion finish instantly when it is unwanted */
@media (prefers-reduced-motion: reduce) {
  .ros-js [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .rh-appshot--hero .rh-appshot__frame, .rh-plan, .rh-fxshot img { transition: none !important; }
  .rh-float__chip, .rh-fx__panel[data-enter], .rh-chat__msg, .rh-chat__typing i { animation: none !important; }
  .rh-chat__typing { display: none !important; }
  .rh-plan:hover, .rh-fxshot:hover img { transform: none !important; }
}
html[data-motion="off"].ros-js [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
html[data-motion="off"] .rh-float__chip, html[data-motion="off"] .rh-fx__panel[data-enter],
html[data-motion="off"] .rh-chat__msg, html[data-motion="off"] .rh-chat__typing i { animation: none !important; }
html[data-motion="off"] .rh-chat__typing { display: none !important; }
html[data-motion="off"] .rh-plan, html[data-motion="off"] .rh-fxshot img, html[data-motion="off"] .rh-appshot--hero .rh-appshot__frame { transition: none !important; }
html[data-motion="off"] .rh-plan:hover, html[data-motion="off"] .rh-fxshot:hover img { transform: none !important; }
html[data-motion="off"] .rh-appshot--hero .rh-appshot__frame { transform: none !important; }
@media (prefers-reduced-motion: reduce) { .rh-appshot--hero .rh-appshot__frame { transform: none !important; } }
@media (prefers-reduced-motion: reduce) { .rh-chat[data-armed] .rh-chat__msg { opacity: 1; } }
html[data-motion="off"] .rh-chat[data-armed] .rh-chat__msg { opacity: 1; }

/* Calculator next step (CRO round 2026-09-17): checkout for one location, a WhatsApp estimate for more. */
.rh-calc__act { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }
.rh-calc__act [hidden] { display: none !important; }
html:not(.ros-js) .rh-calc__act { display: none; }

/* ARABIC READABILITY FLOOR (2026-09-17) — CRO round 2. What a buyer reads before paying (plan fees and billing
   notes, the calculator, the comparison table, captions, the savings badge) reaches 13-14px in Arabic; the
   mock phone and dashboard screens keep their scale, with nothing under 12px. English is unchanged. */
html[lang="ar"] .rh-note,
html[lang="ar"] .rh-tnote,
html[lang="ar"] .rh-plan__fees,
html[lang="ar"] .rh-plan__annual,
html[lang="ar"] .rh-calc__label,
html[lang="ar"] .rh-calc__note,
html[lang="ar"] .rh-blog__text > p.rh-blog__note,
html[lang="ar"] .rh-plat p,
html[lang="ar"] .rh-compare thead th,
html[lang="ar"] .rh-compare tbody td:first-of-type,
html[lang="ar"] .rh-record__rows dt,
html[lang="ar"] .rh-record figcaption,
html[lang="ar"] .rh-map figcaption,
html[lang="ar"] .rh-appshot figcaption,
html[lang="ar"] .rh-fxshot figcaption,
html[lang="ar"] .rh-fx__ai p,
html[lang="ar"] .rh-fx__ai li,
html[lang="ar"] .rh-fx__card p,
html[lang="ar"] .rh-srcchips li,
html[lang="ar"] .rh-seg button,
html[lang="ar"] .rh-replay,
html[lang="ar"] .rh-motion,
html[lang="ar"] .rc-breadcrumb { font-size: 14px; }
html[lang="ar"] .rh-plan__kicker,
html[lang="ar"] .rh-plan__badge,
html[lang="ar"] .rh-billtoggle small,
html[lang="ar"] .rh-steps__t,
html[lang="ar"] .rh-record__head span,
html[lang="ar"] .rh-compare tbody td:last-child::before,
html[lang="ar"] .rh-plat li,
html[lang="ar"] .rh-tag,
html[lang="ar"] .rh-demo__label { font-size: 13px; }
html[lang="ar"] .rh-fx__tag,
html[lang="ar"] .rh-fx__tabs button small,
html[lang="ar"] .rh-srcchips li span:not(.v4-sr),
html[lang="ar"] .rh-chip,
html[lang="ar"] .rh-gcard__src,
html[lang="ar"] .rh-chat__tag { font-size: 12px; }
@media (max-width: 420px) {
  html[lang="ar"] .rh-steps__t { font-size: 12.5px; }
}
