/* =====================================================================
   root.md — new design layer.
   Loaded AFTER style.min.css (which stays for the user cabinet, popups, etc.).
   All new components use the `rm-` prefix so they never collide with old classes.
   Brand: pink #C6007D, blue #06038A, purple #4C038A, navy #0B0A2E, white. Font: Mulish.
   ===================================================================== */

:root {
  --rm-pink: #c6007d;
  --rm-pink-600: #a80069;
  --rm-pink-50: #fdf0f7;
  --rm-pink-100: #f9d9ec;
  --rm-blue: #06038a;
  --rm-purple: #4c038a;
  --rm-ink: #0b0a2e;
  --rm-ink-2: #15134a;
  --rm-text: #17162c;
  --rm-muted: #5d5f76;
  --rm-faint: #9496ab;
  --rm-line: #e6e6ef;
  --rm-bg: #ffffff;
  --rm-tint: #f5f5fa;
  --rm-zebra: #f0f0f6;
  --rm-green: #12b76a;
  --rm-radius: 16px;
  --rm-radius-sm: 10px;
  --rm-shadow: 0 1px 2px rgba(11, 10, 46, .05), 0 10px 30px -14px rgba(11, 10, 46, .18);
  --rm-shadow-lg: 0 30px 70px -30px rgba(11, 10, 46, .45);
  --rm-grad: linear-gradient(100deg, #ff4fb7 0%, #c6007d 45%, #7a3cff 100%);
  --rm-font: Mulish, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rm-mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

/* ---------- Base (complements the reset in style.min.css) ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--rm-bg); color: var(--rm-text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* footer always at the bottom of the viewport, even on short pages / zoomed out */
.wrapper { min-height: 100vh; min-height: 100dvh; }
.wrapper > .page, .wrapper > main { flex: 1 0 auto; }
.wrapper > .rm-footer { margin-top: auto; flex-shrink: 0; }

.rm-page, .rm-header, .rm-footer { font-family: var(--rm-font); font-size: 16px; line-height: 1.6; color: var(--rm-text); }
.rm-page *, .rm-header *, .rm-footer * { box-sizing: border-box; }
.rm-page a, .rm-header a, .rm-footer a { color: inherit; }
.rm-page a:hover, .rm-header a:hover, .rm-footer a:hover { text-decoration: none; }
.rm-page img, .rm-footer img { max-width: 100%; height: auto; }
.rm-page h1, .rm-page h2, .rm-page h3, .rm-page .rm-h { font-weight: 900; line-height: 1.12; letter-spacing: -.02em; padding: 0; margin: 0 0 .5em; }
.rm-page h1 { font-size: clamp(32px, 4.4vw, 54px); }
.rm-page h2 { font-size: clamp(26px, 3.2vw, 40px); }
.rm-page h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.rm-page p { margin: 0 0 1em; }
.rm-page ul, .rm-page ol { list-style: none; }
.rm-page del, .rm-page s { opacity: .55; font-weight: 500; }
.rm-page strong, .rm-page b { font-weight: 800; }
.rm-page :focus-visible, .rm-header :focus-visible, .rm-footer :focus-visible { outline: 3px solid rgba(198, 0, 125, .45); outline-offset: 2px; border-radius: 6px; }

.rm-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .rm-container { padding: 0 32px; } }

/* ---------- Buttons ---------- */
.rm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 800 15px/1 var(--rm-font); letter-spacing: 0;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; text-decoration: none !important; text-transform: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.rm-btn:active { transform: translateY(1px); }
.rm-btn--sm { padding: 10px 16px; font-size: 14px; }
.rm-btn--lg { padding: 16px 28px; font-size: 16px; }
.rm-btn--block { width: 100%; }
.rm-btn--pink { background: var(--rm-pink); color: #fff !important; box-shadow: 0 8px 22px -10px rgba(198, 0, 125, .7); }
.rm-btn--pink:hover { background: var(--rm-pink-600); }
.rm-btn--outline { background: #fff; color: var(--rm-text) !important; border-color: var(--rm-line); }
.rm-btn--outline:hover { border-color: var(--rm-pink); color: var(--rm-pink) !important; }
.rm-btn--ghost { color: #fff !important; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05); }
.rm-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.rm-btn--white { background: #fff; color: var(--rm-pink) !important; }
.rm-btn--white:hover { background: var(--rm-pink-50); }
.rm-btn--muted { background: var(--rm-tint); color: var(--rm-faint) !important; cursor: default; box-shadow: none; }
.rm-btn--tg { background: #229ed9; color: #fff !important; }
.rm-btn--tg:hover { background: #1b8bc0; }

.rm-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--rm-pink) !important; white-space: nowrap; }
.rm-link::after { content: "→"; transition: transform .2s; }
.rm-link:hover::after { transform: translateX(4px); }
.rm-link--light { color: #ff6fc4 !important; }

.rm-kicker { display: block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rm-pink); margin: 0 0 10px; }
.rm-kicker--light { color: #ff6fc4; }
.rm-muted { color: var(--rm-muted); max-width: 64ch; }
.rm-tiny { font-size: 13px; color: var(--rm-muted); }
.rm-grad { background: var(--rm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rm-nowrap { white-space: nowrap; }

/* =====================================================================
   HEADER (menu.html / menu-conf.html)
   Hooks for app.min.js kept: .icon-menu, .menu__body, .header__button, ._popup-link
   ===================================================================== */
.rm-header {
  position: sticky; top: 0; z-index: 2000;
  background: rgba(11, 10, 46, .9);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.rm-header__row { display: flex; align-items: center; gap: 20px; height: 70px; }
.rm-header__logo { flex: none; display: block; line-height: 0; }
.rm-header__logo img { width: 140px; height: auto; }
.rm-header .menu__body { display: flex; align-items: center; gap: 2px; margin-left: 8px; position: static; opacity: 1; padding: 0; width: auto; height: auto; max-width: none; min-width: 0; background: none; top: auto; overflow: visible; }
.rm-header .menu__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.rm-header .menu__body::before, .rm-header .menu__body._active::before { content: none !important; display: none !important; }
.rm-header .menu__item { list-style: none; margin: 0; }
.rm-header .menu__link { display: block; margin: 0; color: rgba(255, 255, 255, .78) !important; font-weight: 700; font-size: 15px; line-height: 1.3; padding: 8px 14px; border-radius: 999px; background: none; transition: color .2s, background-color .2s; }
.rm-header .menu__link:hover { color: #fff !important; background: rgba(255, 255, 255, .08); }
.rm-header .menu__link.active { color: #fff !important; background: rgba(198, 0, 125, .3); }
.rm-header .menu__link::before, .rm-header .menu__link::after { display: none !important; }
.rm-header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.rm-lang { display: flex; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 3px; }
.rm-lang a, .rm-lang span { font-size: 13px; font-weight: 800; color: rgba(255, 255, 255, .62) !important; padding: 5px 11px; border-radius: 999px; line-height: 1.2; }
.rm-lang .is-active { background: #fff; color: var(--rm-ink) !important; }
.rm-lang a:hover { color: #fff !important; }
.rm-header .header__button { flex: none; display: block; }
.rm-header .header__button .rm-btn { gap: 8px; color: #fff !important; }
.rm-header .header__button--green .rm-btn { background: var(--rm-green); box-shadow: none; }
.rm-header .header__button--exit .rm-btn { background: rgba(255, 255, 255, .1); box-shadow: none; }
.rm-header .icon-menu { display: none; position: relative; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); cursor: pointer; z-index: 5; }
.rm-header .icon-menu span { position: absolute; left: 13px; right: 13px; height: 2px; top: auto; bottom: auto; width: auto; background: #fff; border-radius: 2px; transform: none; transition: transform .25s, top .25s, opacity .2s; }
.rm-header .icon-menu span:nth-child(1) { top: 15px; }
.rm-header .icon-menu span:nth-child(2) { top: 21px; }
.rm-header .icon-menu span:nth-child(3) { top: 27px; }
.rm-header .icon-menu._active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.rm-header .icon-menu._active span:nth-child(2) { opacity: 0; }
.rm-header .icon-menu._active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.rm-alert { padding: 12px 20px; text-align: center; font-size: 14px; color: #fff; background: var(--rm-blue); }
.rm-alert--pink { background: var(--rm-pink); }
.rm-alert a { color: #fff !important; text-decoration: underline; font-weight: 800; }

@media (max-width: 991.98px) {
  .rm-header .icon-menu { display: block; }
  .rm-header .menu__body {
    position: fixed; top: 70px; left: 0; right: 0; bottom: auto; margin: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 14px;
    width: 100%; max-width: none; height: auto; max-height: calc(100vh - 70px); overflow: auto;
    padding: 12px 20px 24px; background: var(--rm-ink); border-bottom: 1px solid rgba(255, 255, 255, .08);
    opacity: 1; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  }
  .rm-header .menu__body._active { display: flex; }
  .rm-header .menu__list { flex-direction: column; align-items: stretch; gap: 0; }
  .rm-header .menu__link { padding: 14px 8px; border-radius: 10px; font-size: 17px; }
  .rm-header .rm-header__actions > .header__button { display: none; }
  .rm-header .menu__body .header__button, .rm-header .menu__body .header__button._active { display: block; margin: 6px 0 0; width: auto; flex: none; }
  .rm-header .menu__body .rm-lang { align-self: flex-start; }
  .rm-header .menu__body .header__button .rm-btn { width: 100%; padding: 15px 20px; }
}
@media (max-width: 480px) {
  .rm-header__row { gap: 10px; }
  .rm-header__logo img { width: 112px; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.rm-footer { background: var(--rm-ink); color: rgba(255, 255, 255, .66); font-size: 14px; }
.rm-footer__top { padding: 56px 0 40px; }
.rm-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.rm-footer__brand > a:first-child { display: inline-block; margin-bottom: 16px; }
.rm-footer__brand > a:first-child img { width: 150px; height: auto; }
.rm-footer__brand p { margin: 0 0 10px; }
.rm-footer__brand a { color: #fff; font-weight: 800; }
.rm-footer__mim { display: block; margin-top: 18px; width: 170px; height: auto; opacity: .9; }
.rm-footer__h { display: block; width: 100%; text-align: left; color: #fff; font: 800 15px/1.3 var(--rm-font); margin: 0 0 14px; background: none; cursor: default; }
.rm-footer__list { list-style: none; margin: 0; padding: 0; }
.rm-footer__list a { display: block; padding: 4px 0; color: rgba(255, 255, 255, .66); transition: color .2s; }
.rm-footer__list a:hover { color: #ff6fc4; }
.rm-footer__pay { border-top: 1px solid rgba(255, 255, 255, .08); padding: 26px 0; }
.rm-footer__pay-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rm-footer__pay-title { color: #fff; font-weight: 800; margin-right: 6px; white-space: nowrap; }
.rm-footer__icons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rm-footer__icons .icon_container { width: 64px; height: 40px; padding: 7px 9px; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; }
/* logos drawn with white text (BPAY, MIA) need a dark plate */
.rm-footer__icons .icon_container:has(image), .rm-footer__icons .icon_container:has(.st1) { background: #1f1d55; }
.rm-footer__icons .icon_container svg, .rm-footer__icons .icon_container img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.rm-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 13px; }
.rm-footer__bottom-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rm-footer__bottom a { color: rgba(255, 255, 255, .66); }
.rm-footer__bottom a:hover { color: #fff; }
@media (max-width: 900px) { .rm-footer__grid { grid-template-columns: 1fr 1fr; } .rm-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .rm-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Login popup (markup from footer.html, logic in app.min.js) ---------- */
.popup.popup_popup::before { background: rgba(11, 10, 46, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.popup.popup_popup .popup__body { width: min(440px, calc(100vw - 32px)); border-radius: 22px; padding: 34px 32px 28px; box-shadow: var(--rm-shadow-lg); }
.popup.popup_popup .popup__title .h1 { font: 900 28px/1.2 var(--rm-font); color: var(--rm-text); letter-spacing: -.02em; margin-bottom: 18px; text-transform: none; }
.popup.popup_popup .popup__input { width: 100%; height: auto; font: 500 15px/1.4 var(--rm-font); color: var(--rm-text); padding: 13px 15px; margin: 0 0 12px; border: 1.5px solid var(--rm-line); border-radius: 12px; background: #fff; }
.popup.popup_popup .popup__input:focus { outline: none; border-color: var(--rm-pink); box-shadow: 0 0 0 4px rgba(198, 0, 125, .12); }
.popup.popup_popup .popup__buttons { display: grid; gap: 10px; margin-top: 6px; }
.popup.popup_popup .popup__buttons .global__button button,
.popup.popup_popup .popup__buttons .global__button a {
  display: flex; align-items: center; justify-content: center; width: 100%; height: auto; min-height: 0;
  font: 800 15px/1 var(--rm-font); padding: 15px 20px; border-radius: 999px; text-transform: none; letter-spacing: 0;
}
.popup.popup_popup .popup__button1 .global__button button { background: var(--rm-pink); color: #fff; }
.popup.popup_popup .popup__button1 .global__button button:hover { background: var(--rm-pink-600); }
.popup.popup_popup .popup__button2 .global__button a { background: #fff; color: var(--rm-text); border: 1.5px solid var(--rm-line); }
.popup.popup_popup .popup__button2 .global__button a:hover { border-color: var(--rm-pink); color: var(--rm-pink); text-decoration: none; }
.popup.popup_popup .popup__span { margin-top: 16px; text-align: center; font-size: 14px; }
.popup.popup_popup .popup__span a { color: var(--rm-pink); font-weight: 800; }
.popup.popup_popup .popup__close { top: 14px; right: 14px; }
.popup.popup_popup2::before { background: rgba(11, 10, 46, .6); }
.popup.popup_popup2 .popup__body2 { border-radius: 22px; padding: 34px 32px 26px; box-shadow: var(--rm-shadow-lg); font-family: var(--rm-font); color: var(--rm-text); }
.popup.popup_popup2 .popup__title2 { font: 900 24px/1.25 var(--rm-font); letter-spacing: -.02em; text-transform: none; color: var(--rm-text); }
.popup.popup_popup2 .popup__body2 .p { color: #3f4057; font-size: 15px; line-height: 1.6; }
.popup.popup_popup2 .popup__body2 .h2 { font-size: 15px; line-height: 1.5; color: var(--rm-pink); font-weight: 800; }

/* =====================================================================
   HERO (home) & PAGE HERO (inner pages)
   ===================================================================== */
.rm-hero, .rm-phero { position: relative; overflow: hidden; background: var(--rm-ink); color: #fff; }
.rm-hero { padding: 76px 0 44px; }
.rm-phero { padding: 52px 0 64px; }
.rm-phero--simple { padding: 46px 0 52px; }
.rm-hero::before, .rm-phero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 40% 20%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 80% at 40% 20%, #000 25%, transparent 75%);
}
.rm-glow { position: absolute; inset: 0; pointer-events: none; }
.rm-glow::before, .rm-glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); }
.rm-glow::before { width: 520px; height: 520px; right: -140px; top: -180px; background: rgba(198, 0, 125, .42); }
.rm-glow::after { width: 480px; height: 480px; left: -180px; bottom: -240px; background: rgba(6, 3, 138, .78); }
.rm-hero__grid, .rm-phero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.rm-phero--simple .rm-phero__grid { grid-template-columns: minmax(0, 1fr); }
.rm-hero h1, .rm-phero h1 { color: #fff; margin-bottom: 18px; }
.rm-hero h1 { font-size: clamp(36px, 5.4vw, 64px); }
.rm-lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .76); max-width: 38em; margin: 0 0 28px; }
.rm-lead:last-child { margin-bottom: 0; }
.rm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .82); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.rm-dot { width: 8px; height: 8px; border-radius: 50%; background: #2ee07a; box-shadow: 0 0 0 4px rgba(46, 224, 122, .2); }
.rm-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.rm-checks-inline { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.rm-checks-inline li::before { content: "✓"; color: #ff6fc4; font-weight: 900; margin-right: 8px; }
.rm-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .5); margin: 0 0 18px; }
.rm-crumbs a { color: rgba(255, 255, 255, .72) !important; }
.rm-crumbs a:hover { color: #fff !important; }
.rm-crumbs span::before { content: "/"; margin-right: 8px; opacity: .6; }
.rm-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rm-facts li { font-size: 13px; font-weight: 700; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .86); }
.rm-phero__img { border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.rm-phero__img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rm-phero__img--free { border: 0; box-shadow: none; border-radius: 0; text-align: center; }
.rm-phero__img--free img { aspect-ratio: auto; object-fit: contain; max-height: 300px; width: auto; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }

.rm-term { background: rgba(21, 19, 74, .75); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--rm-radius); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08); overflow: hidden; transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); }
.rm-term__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.rm-term__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.rm-term__bar i:first-child { background: var(--rm-pink); }
.rm-term__bar span { margin-left: 10px; font: 12px var(--rm-mono); color: rgba(255, 255, 255, .5); }
.rm-term__body { margin: 0; padding: 20px 22px 24px; font: 14px/1.9 var(--rm-mono); color: #fff; white-space: pre; overflow-x: auto; }
.rm-term__body .p { color: #ff6fc4; }
.rm-term__body .k { color: rgba(255, 255, 255, .45); display: inline-block; width: 7ch; }
.rm-cursor { display: inline-block; width: 9px; height: 17px; background: #ff6fc4; vertical-align: -3px; animation: rm-blink 1s steps(1) infinite; }
@keyframes rm-blink { 50% { opacity: 0; } }

.rm-stats { position: relative; margin: 52px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--rm-radius); overflow: hidden; }
.rm-stats > div { background: var(--rm-ink); padding: 20px 22px; }
.rm-stats b { display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; letter-spacing: -.02em; color: #fff; line-height: 1.2; }
.rm-stats span { font-size: 13px; color: rgba(255, 255, 255, .56); font-weight: 600; }
@media (max-width: 900px) {
  .rm-hero { padding-top: 48px; }
  .rm-phero { padding: 40px 0 52px; }
  .rm-hero__grid, .rm-phero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rm-term { transform: none; }
  .rm-phero__img { max-width: 520px; }
  .rm-phero__img--free img { max-height: 200px; }
  .rm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-stats > div:last-child { grid-column: span 2; }
}
@media (max-width: 520px) { .rm-hero__cta .rm-btn { width: 100%; } .rm-term__body { font-size: 12.5px; padding: 16px; } }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.rm-section { padding: 88px 0; }
.rm-section--tint { background: var(--rm-tint); }
.rm-section--dark { background: var(--rm-ink); color: #fff; }
.rm-section--dark h2 { color: #fff; }
.rm-section--dark .rm-muted { color: rgba(255, 255, 255, .62); }
.rm-section--tight { padding: 56px 0; }
.rm-section--table { padding-top: 28px; }
.rm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.rm-head .rm-muted { margin: 0; }
.rm-head h2 { margin-bottom: 10px; }
@media (max-width: 720px) { .rm-section { padding: 60px 0; } .rm-head { flex-direction: column; align-items: flex-start; margin-bottom: 26px; } }

/* ---------- Trust bar (payment logos + guarantees) ---------- */
.rm-trust { background: #fff; border-bottom: 1px solid var(--rm-line); }
.rm-trust__row { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.rm-trust__items { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 700; color: var(--rm-muted); }
.rm-trust__items li { display: flex; align-items: center; gap: 8px; }
.rm-trust__items svg { flex: none; color: var(--rm-pink); }
.rm-paylogos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rm-paylogos img { display: block; width: 40px; height: 40px; border-radius: 9px; object-fit: cover; box-shadow: 0 1px 2px rgba(11, 10, 46, .12); }
.rm-paylogos--lg { gap: 12px; }
.rm-paylogos--lg img { width: 64px; height: 64px; border-radius: 14px; }

/* ---------- VPS plan cards (home) ---------- */
.rm-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rm-plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius); padding: 28px 24px 24px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.rm-plan:hover { transform: translateY(-4px); box-shadow: var(--rm-shadow); }
.rm-plan--hot { border: 2px solid var(--rm-pink); box-shadow: 0 20px 50px -26px rgba(198, 0, 125, .55); }
.rm-plan__badge { position: absolute; top: -13px; left: 24px; background: var(--rm-pink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; }
.rm-plan__name { font-size: 15px; font-weight: 800; color: var(--rm-muted); margin: 0 0 6px; }
.rm-plan__price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 20px; }
.rm-plan__price del { font-size: 15px; }
.rm-plan__price b { font-size: 36px; font-weight: 900; letter-spacing: -.03em; color: var(--rm-text); }
.rm-plan__price span { color: var(--rm-muted); font-size: 14px; font-weight: 600; }
.rm-plan__specs { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; font-size: 15px; color: var(--rm-muted); }
.rm-plan__specs li { display: flex; gap: 10px; align-items: baseline; }
.rm-plan__specs li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--rm-pink); transform: translateY(-2px); }
.rm-plan__specs b { color: var(--rm-text); }
.rm-plan__mark { font-size: 12px; font-weight: 700; color: var(--rm-muted); margin: auto 0 18px; padding-top: 14px; border-top: 1px dashed var(--rm-line); }
@media (max-width: 1024px) { .rm-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rm-plans { grid-template-columns: minmax(0, 1fr); } }

.rm-strip { margin-top: 22px; display: flex; align-items: center; gap: 18px; padding: 18px 24px; border-radius: var(--rm-radius); background: linear-gradient(100deg, var(--rm-pink-50), #f1efff); border: 1px solid #f2dcea; transition: box-shadow .25s; }
.rm-strip:hover { box-shadow: var(--rm-shadow); }
.rm-strip__tag { flex: none; font-weight: 900; font-size: 13px; color: #fff; background: var(--rm-purple); padding: 6px 12px; border-radius: 10px; }
.rm-strip__text { flex: 1; color: var(--rm-muted); }
.rm-strip__text b { color: var(--rm-text); }
@media (max-width: 560px) { .rm-strip { flex-direction: column; align-items: flex-start; gap: 10px; } }

/* =====================================================================
   PRICING TABLE (zebra rows like the original site)
   ===================================================================== */
.rm-ptable { background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius); overflow: hidden; }
.rm-ptable__row { display: grid; grid-template-columns: var(--cols); gap: 16px; align-items: center; padding: 16px 24px; border-top: 1px solid var(--rm-line); transition: background-color .2s; }
.rm-ptable__row:first-child { border-top: 0; }
.rm-ptable__row--head { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rm-muted); background: #ececf4; padding-top: 13px; padding-bottom: 13px; }
.rm-ptable__row:nth-child(odd):not(.rm-ptable__row--head) { background: var(--rm-zebra); }
.rm-ptable__row:not(.rm-ptable__row--head):hover { background: var(--rm-pink-50); }
.rm-ptable__row > span, .rm-ptable__row > div { font-weight: 700; min-width: 0; }
.rm-ptable__row small { display: block; font-size: 12px; font-weight: 600; color: var(--rm-muted); line-height: 1.4; }
.rm-ptable__cpu { display: flex; align-items: center; gap: 14px; }
.rm-ptable__cpu img { flex: none; width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--rm-line); padding: 5px; }
.rm-ptable__cpu b { display: block; font-weight: 800; line-height: 1.3; }
.rm-ptable__price { font-size: 19px; font-weight: 900 !important; letter-spacing: -.02em; white-space: nowrap; }
.rm-ptable__price del { font-size: 13px; margin-right: 4px; letter-spacing: 0; }
.rm-ptable__row .rm-btn { width: 100%; }
.rm-ptable__row.is-out > span:not(.rm-ptable__cpu) { color: var(--rm-muted); }
.rm-note { font-size: 13px; color: var(--rm-muted); margin-top: 14px; }
@media (max-width: 900px) {
  .rm-ptable__row--head { display: none; }
  .rm-ptable__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; padding: 20px; align-items: start; }
  .rm-ptable__cpu { grid-column: 1 / -1; }
  .rm-ptable__row > [data-l]::before { content: attr(data-l); display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--rm-faint); }
  .rm-ptable__row > .rm-ptable__price { grid-column: 1 / 3; align-self: center; }
  .rm-ptable__row > .rm-ptable__go { grid-column: 3; align-self: center; }
}
@media (max-width: 480px) {
  .rm-ptable__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-ptable__row > .rm-ptable__price, .rm-ptable__row > .rm-ptable__go { grid-column: 1 / -1; }
}

/* Dark variant (homepage dedicated block) */
.rm-ptable--dark { background: transparent; border-color: rgba(255, 255, 255, .1); }
.rm-ptable--dark .rm-ptable__row { border-top-color: rgba(255, 255, 255, .08); }
.rm-ptable--dark .rm-ptable__row--head { background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .5); }
.rm-ptable--dark .rm-ptable__row:nth-child(odd):not(.rm-ptable__row--head) { background: rgba(255, 255, 255, .035); }
.rm-ptable--dark .rm-ptable__row:not(.rm-ptable__row--head):hover { background: rgba(255, 255, 255, .07); }
.rm-ptable--dark .rm-ptable__row > span, .rm-ptable--dark .rm-ptable__row > div { color: rgba(255, 255, 255, .88); }
.rm-ptable--dark .rm-ptable__cpu img { background: #fff; border-color: transparent; }
.rm-ptable--dark .rm-ptable__cpu b, .rm-ptable--dark .rm-ptable__price { color: #fff !important; }
.rm-ptable--dark small { color: rgba(255, 255, 255, .5); }
.rm-ptable--dark .rm-btn--muted { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .55) !important; }

/* =====================================================================
   VPS CONFIGURATOR
   ===================================================================== */
.rm-cfg { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.rm-cfg__main { background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius); padding: 10px 32px 28px; min-width: 0; }
.rm-slider { padding: 22px 0; border-bottom: 1px solid var(--rm-line); }
.rm-slider__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.rm-slider label { display: block; font-weight: 800; font-size: 16px; line-height: 1.3; color: var(--rm-text); }
.rm-slider label small, .rm-slider__hint { display: block; font-weight: 500; font-size: 13px; color: var(--rm-muted); margin-top: 2px; }
.rm-slider__val { flex: none; font-weight: 900; font-size: 22px; letter-spacing: -.02em; color: var(--rm-pink); white-space: nowrap; }
.rm-slider__val span { font: inherit; }
.rm-slider__scale { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--rm-faint); margin-top: 6px; }
.rm-slider__more { font-size: 13px; font-weight: 700; color: var(--rm-pink) !important; margin-left: 8px; }

/* native range inputs (vps-config.css hides .data-server-input — undone here) */
.rm-cfg input[type="range"], .rm-mini input[type="range"] {
  --p: 0%;
  position: static !important; z-index: auto !important; opacity: 1 !important;
  -webkit-appearance: none; appearance: none; display: block;
  width: 100%; height: 28px; margin: 0; padding: 0; background: transparent; cursor: pointer;
}
.rm-cfg input[type="range"]::-webkit-slider-runnable-track, .rm-mini input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--rm-pink) 0 var(--p), #e9e9f2 var(--p) 100%); }
.rm-cfg input[type="range"]::-moz-range-track, .rm-mini input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: #e9e9f2; }
.rm-cfg input[type="range"]::-moz-range-progress, .rm-mini input[type="range"]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--rm-pink); }
.rm-cfg input[type="range"]::-webkit-slider-thumb, .rm-mini input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--rm-pink); box-shadow: 0 4px 12px rgba(198, 0, 125, .35); transition: transform .15s; }
.rm-cfg input[type="range"]::-moz-range-thumb, .rm-mini input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--rm-pink); box-shadow: 0 4px 12px rgba(198, 0, 125, .35); }
.rm-cfg input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }

.rm-choice { border: 0; margin: 0; padding: 24px 0 0; min-width: 0; }
.rm-choice + .rm-choice { margin-top: 6px; }
.rm-choice__title { display: block; font-weight: 800; font-size: 16px; margin: 0 0 12px; }
.rm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rm-chip { position: relative; display: inline-block; cursor: pointer; }
.rm-chip > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rm-chip > label, .rm-chip > span {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 14px; border-radius: 12px; border: 1.5px solid var(--rm-line); background: #fff;
  font: 700 14px/1.3 var(--rm-font); color: var(--rm-text); transition: border-color .2s, background-color .2s, color .2s;
}
.rm-chip > label img, .rm-chip > span img { width: 18px; height: 18px; flex: none; }
.rm-chip > label b, .rm-chip > label em { font-style: normal; font-weight: 600; color: var(--rm-muted); }
.rm-chip:hover > label { border-color: #d3d3e2; }
.rm-chip > input:checked + label, .rm-chip > input:checked + span { border-color: var(--rm-pink); background: var(--rm-pink-50); color: var(--rm-pink); }
.rm-chip > input:checked + label b, .rm-chip > input:checked + label em { color: var(--rm-pink); }
.rm-chip > input:focus-visible + label { outline: 3px solid rgba(198, 0, 125, .35); outline-offset: 2px; }
.rm-chip > input:disabled + label { opacity: .45; cursor: not-allowed; }

.rm-cfg__sum { position: sticky; top: 92px; background: var(--rm-ink); color: #fff; border-radius: var(--rm-radius); padding: 28px; box-shadow: var(--rm-shadow-lg); }
.rm-cfg__sum-title { display: block; font-weight: 900; font-size: 20px; margin: 0 0 14px; color: #fff; }
.rm-cfg__from { margin: -6px 0 14px; color: rgba(255, 255, 255, .62); font-size: 14px; }
.rm-cfg__from span, .rm-cfg__from b { color: #fff; font-weight: 800; }
.rm-sum { margin: 0 0 20px; display: grid; }
.rm-sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14px; line-height: 1.4; }
.rm-sum dt { color: rgba(255, 255, 255, .56); flex: none; max-width: 48%; }
.rm-sum dd { margin: 0; font-weight: 800; text-align: right; color: #fff; }
.rm-sum dd p { margin: 0; }
.rm-sum--fixed { padding-bottom: 6px; margin-bottom: 8px; border-bottom: 1px dashed rgba(255, 255, 255, .16); }
.rm-sum--fixed > div { border-bottom: 0; padding: 5px 0; }
.rm-period { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.rm-period__title { display: block; font-size: 14px; color: rgba(255, 255, 255, .72); font-weight: 700; margin-bottom: 10px; }
.rm-period__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rm-period__opt { position: relative; }
.rm-period__opt > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rm-period__opt > label { display: block; text-align: center; cursor: pointer; padding: 10px 6px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .16); font: 800 14px/1.3 var(--rm-font); color: #fff; transition: border-color .2s, background-color .2s; }
.rm-period__opt > label b, .rm-period__opt > label em { font-style: normal; color: #2ee07a; font-size: 12px; font-weight: 800; }
.rm-period__opt > input:checked + label { border-color: var(--rm-pink); background: rgba(198, 0, 125, .24); }
.rm-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 18px; }
.rm-total__label { color: rgba(255, 255, 255, .62); font-weight: 700; }
.rm-total__value, #total-price.rm-total__value { font-size: 38px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.rm-total__value span { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .55); margin-left: 4px; }
.rm-totals { display: grid; gap: 4px; margin: 0 0 18px; }
.rm-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rm-totals__label { color: rgba(255, 255, 255, .62); font-weight: 700; }
.rm-totals__value { font-size: 22px; font-weight: 900; color: #fff; white-space: nowrap; }
.rm-totals > div:first-child .rm-totals__value { font-size: 36px; letter-spacing: -.03em; }
.rm-totals__value span { font: inherit; color: inherit; padding: 0 !important; }
.rm-totals__value small { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .55); letter-spacing: 0; }
.rm-cfg__sum .rm-tiny { color: rgba(255, 255, 255, .52); text-align: center; margin: 12px 0 0; }
.rm-cfg.is-flash .rm-cfg__sum { animation: rm-flash .8s; }
@keyframes rm-flash { 0% { box-shadow: 0 0 0 0 rgba(198, 0, 125, .7); } 100% { box-shadow: 0 0 0 18px rgba(198, 0, 125, 0); } }
@media (max-width: 960px) { .rm-cfg { grid-template-columns: minmax(0, 1fr); } .rm-cfg__sum { position: static; } }
@media (max-width: 520px) { .rm-cfg__main { padding: 4px 18px 22px; } .rm-cfg__sum { padding: 22px; } }

/* order pages: option groups */
.rm-ogroup { border: 0; margin: 0; padding: 22px 0; border-bottom: 1px solid var(--rm-line); min-width: 0; }
.rm-ogroup:last-child { border-bottom: 0; }
.rm-ogroup__title { display: block; font-weight: 800; font-size: 16px; margin: 0 0 12px; color: var(--rm-text); }
.rm-order-intro { padding: 22px 0; border-bottom: 1px solid var(--rm-line); color: var(--rm-muted); }
.rm-order-intro h2 { font-size: 22px; color: var(--rm-text); }
.rm-order-intro ul { list-style: none; display: grid; gap: 8px; margin: 12px 0; }
.rm-order-intro li { position: relative; padding-left: 18px; }
.rm-order-intro li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--rm-pink); }
.rm-order-intro strong { color: var(--rm-text); }

/* Homepage mini configurator */
.rm-mini { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.rm-mini__main { background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius); padding: 8px 30px 22px; }
.rm-mini__main .rm-slider:last-child { border-bottom: 0; }
.rm-mini__sum { position: sticky; top: 92px; background: var(--rm-ink); color: #fff; border-radius: var(--rm-radius); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--rm-shadow-lg); }
.rm-mini__sum .rm-tiny { color: rgba(255, 255, 255, .52); text-align: center; margin: 12px 0 0; }
.rm-mini__sum .rm-sum { margin-bottom: 4px; }
.rm-mini__sum .rm-total { margin-top: 18px; }
@media (max-width: 960px) { .rm-mini { grid-template-columns: minmax(0, 1fr); } .rm-mini__sum { position: static; } }
@media (max-width: 520px) { .rm-mini__main { padding: 4px 18px 16px; } }

/* =====================================================================
   CONTENT BLOCKS
   ===================================================================== */
.rm-band { display: flex; align-items: center; gap: 20px; margin-top: 24px; padding: 22px 26px; border-radius: var(--rm-radius); background: linear-gradient(100deg, var(--rm-pink-50), #f1efff); border: 1px solid #f2dcea; }
.rm-band__ico { flex: none; width: 56px; height: 56px; padding: 9px; border-radius: 16px; background: var(--rm-pink); box-shadow: 0 8px 20px -8px rgba(198, 0, 125, .6); }
.rm-band__ico img { display: block; width: 100%; height: 100%; }
.rm-band__text { flex: 1; min-width: 0; }
.rm-band__text b { display: block; font-size: 17px; color: var(--rm-text); line-height: 1.35; }
.rm-band__text span { color: var(--rm-muted); font-size: 15px; }
.rm-band form { margin: 0; }
@media (max-width: 640px) { .rm-band { flex-direction: column; align-items: flex-start; } .rm-band .rm-btn { width: 100%; } .rm-band form { width: 100%; } }

.rm-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.rm-split--rev .rm-split__media { order: -1; }
.rm-split--form { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.rm-split__media img { display: block; width: 100%; border-radius: 24px; box-shadow: var(--rm-shadow); }
@media (max-width: 900px) { .rm-split { grid-template-columns: minmax(0, 1fr); gap: 32px; } .rm-split--rev .rm-split__media { order: 0; } }

.rm-prose { color: #34354c; font-size: 16px; line-height: 1.75; }
.rm-prose > * { max-width: 74ch; }
.rm-prose h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 0 0 16px; color: var(--rm-text); }
.rm-prose h2:not(:first-child) { margin-top: 40px; }
.rm-prose h3 { font-size: 19px; margin: 28px 0 10px; color: var(--rm-text); }
.rm-prose p { margin: 0 0 14px; }
.rm-prose p:empty { display: none; }
.rm-prose ul, .rm-prose ol { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.rm-prose ol { list-style: decimal; }
.rm-prose li { margin-bottom: 6px; }
.rm-prose li::marker { color: var(--rm-pink); }
.rm-prose a { color: var(--rm-pink) !important; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rm-prose strong { color: var(--rm-text); }
.rm-prose .red-alert { color: var(--rm-pink); font-weight: 700; }
.rm-prose .p { margin: 0; }
.rm-prose .p + .p { margin-top: 36px; }
.rm-prose h1 { font-size: clamp(24px, 2.8vw, 32px); color: var(--rm-text); }

.rm-checks { list-style: none !important; padding: 0 !important; margin: 0; display: grid; gap: 14px; }
.rm-checks li { position: relative; padding-left: 34px; color: var(--rm-muted); }
.rm-checks li b, .rm-checks li strong { color: var(--rm-text); }
.rm-checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--rm-pink-50); color: var(--rm-pink); font-weight: 900; font-size: 13px; line-height: 22px; text-align: center; }

.rm-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rm-svc__item { background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius); padding: 26px; transition: box-shadow .25s, transform .25s; }
.rm-svc__item:hover { box-shadow: var(--rm-shadow); transform: translateY(-3px); }
.rm-svc__item > img { display: block; width: 76px; height: 76px; margin: 0 0 14px; border-radius: 18px; background: var(--rm-tint); }
.rm-svc__item h3 { margin-bottom: 6px; }
.rm-svc__item p { color: var(--rm-muted); font-size: 15px; margin: 0; }
.rm-svc__item p a { color: var(--rm-pink) !important; font-weight: 700; }
@media (max-width: 900px) { .rm-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rm-svc { grid-template-columns: minmax(0, 1fr); } }

.rm-os { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.rm-os > div { background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius-sm); padding: 20px 10px; text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--rm-muted); }
.rm-os img { display: block; height: 40px; width: auto; margin: 0 auto 10px; }
@media (max-width: 900px) { .rm-os { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.rm-features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rm-features li { display: grid; gap: 4px; padding-left: 18px; border-left: 3px solid var(--rm-pink); }
.rm-features b { font-size: 17px; line-height: 1.35; }
.rm-features span { font-size: 14px; color: var(--rm-muted); }
.rm-features a { color: var(--rm-pink) !important; font-weight: 700; }
@media (max-width: 520px) { .rm-features { grid-template-columns: 1fr; } }

.rm-why { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.rm-why__map { background: var(--rm-tint); border-radius: 28px; padding: 32px; }
.rm-why__map img { display: block; margin: 0 auto; max-height: 420px; width: auto; mix-blend-mode: multiply; }
@media (max-width: 900px) { .rm-why { grid-template-columns: minmax(0, 1fr); gap: 32px; } .rm-why__map { order: 2; } }

.rm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rm-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rm-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius); padding: 26px; }
.rm-card__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--rm-pink-50); color: var(--rm-pink); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.rm-card h3 { margin-bottom: 8px; }
.rm-card p { color: var(--rm-muted); margin: 0 0 16px; font-size: 15px; }
.rm-card p:last-child { margin-bottom: 0; }
.rm-card .rm-btn, .rm-card .rm-link { margin-top: auto; align-self: flex-start; }
.rm-card .rm-link { white-space: normal; }
.rm-card--muted { background: var(--rm-tint); }
.rm-card--muted .rm-card__ico { background: #ebebf3; color: var(--rm-muted); }
.rm-pill { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #fff3d6; color: #8a5a00; margin-bottom: 12px; }
@media (max-width: 1024px) { .rm-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .rm-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .rm-cards--4 { grid-template-columns: minmax(0, 1fr); } }

.rm-compare { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius); overflow: hidden; }
.rm-compare li { display: grid; grid-template-columns: 200px minmax(0, 1fr) 150px; gap: 24px; align-items: center; padding: 18px 24px; border-top: 1px solid var(--rm-line); }
.rm-compare li:first-child { border-top: 0; background: var(--rm-pink-50); }
.rm-compare__brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.rm-compare__brand img { width: 36px; height: 36px; object-fit: contain; }
.rm-compare__bar { height: 10px; border-radius: 999px; background: #ebebf3; overflow: hidden; }
.rm-compare__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: #b9bacb; }
.rm-compare li:first-child .rm-compare__bar i { background: var(--rm-pink); }
.rm-compare__plan { font-size: 13px; color: var(--rm-muted); margin-top: 6px; }
.rm-compare__price { text-align: right; font-size: 15px; color: var(--rm-muted); }
.rm-compare__price strong { font-size: 18px; font-weight: 900; color: var(--rm-text); }
@media (max-width: 720px) { .rm-compare li { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; } .rm-compare li > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; } }

.rm-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.rm-review { margin: 0; background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.rm-review blockquote { margin: 0; color: #34354c; font-size: 15px; line-height: 1.7; }
.rm-review blockquote::before { content: "\201C"; display: block; font-size: 48px; line-height: .6; color: var(--rm-pink); font-weight: 900; margin-bottom: 6px; }
.rm-review figcaption { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font-size: 14px; }
.rm-review figcaption b { display: block; }
.rm-review figcaption span { color: var(--rm-muted); }
.rm-review time { color: var(--rm-muted); font-size: 13px; white-space: nowrap; }
.rm-review .rm-link { font-size: 13px; }

/* CTA band */
.rm-cta { padding: 0 0 88px; }
.rm-cta--top { padding-top: 88px; }
.rm-cta__box { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: linear-gradient(120deg, var(--rm-pink) 0%, var(--rm-purple) 60%, var(--rm-blue) 100%); color: #fff; border-radius: 28px; padding: 48px 56px; }
.rm-cta__box h2 { color: #fff; margin-bottom: 8px; }
.rm-cta__box p { color: rgba(255, 255, 255, .86); margin: 0; max-width: 46ch; }
.rm-cta__box p a { color: #fff !important; text-decoration: underline; font-weight: 800; }
.rm-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
@media (max-width: 860px) { .rm-cta { padding-bottom: 60px; } .rm-cta--top { padding-top: 60px; } .rm-cta__box { flex-direction: column; align-items: flex-start; padding: 34px 24px; border-radius: 22px; } .rm-cta__btns, .rm-cta__btns .rm-btn { width: 100%; } }

/* Forms (contact, custom request) */
.rm-form { background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius); padding: 30px; box-shadow: var(--rm-shadow); display: grid; gap: 16px; }
.rm-form h2 { font-size: 24px; margin: 0; }
.rm-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rm-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rm-field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.rm-field > span { font-size: 13px; font-weight: 800; color: var(--rm-muted); }
.rm-field input, .rm-field select, .rm-field textarea, .rm-form .select-css {
  width: 100%; height: auto; font: 500 15px/1.4 var(--rm-font); color: var(--rm-text);
  padding: 12px 14px; border-radius: var(--rm-radius-sm); border: 1.5px solid var(--rm-line); background: #fff; margin: 0;
  transition: border-color .2s, box-shadow .2s;
}
.rm-field select, .rm-form .select-css {
  -webkit-appearance: none; appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c6007d' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
.rm-field textarea { resize: vertical; min-height: 110px; }
.rm-field input:focus, .rm-field select:focus, .rm-field textarea:focus { outline: none; border-color: var(--rm-pink); box-shadow: 0 0 0 4px rgba(198, 0, 125, .12); }
.rm-form > .rm-btn { justify-self: start; }
@media (max-width: 720px) { .rm-grid3 { grid-template-columns: minmax(0, 1fr); } .rm-grid2 { grid-template-columns: minmax(0, 1fr); } .rm-form { padding: 22px; } .rm-form > .rm-btn { width: 100%; justify-self: stretch; } }

.rm-contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: start; }
.rm-info { background: var(--rm-ink); color: #fff; border-radius: var(--rm-radius); padding: 30px; }
.rm-info__title { display: block; font-size: 22px; font-weight: 900; margin: 0 0 18px; color: #fff; }
.rm-info__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.rm-info__list li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.45; }
.rm-info__list svg { flex: none; margin-top: 2px; color: #ff6fc4; }
.rm-info__list small { display: block; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .5); text-transform: uppercase; letter-spacing: .08em; }
.rm-info__list a, .rm-info__list b { color: #fff !important; font-weight: 800; }
.rm-info dl { margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; font-size: 14px; line-height: 1.45; }
.rm-info dt { color: rgba(255, 255, 255, .52); }
.rm-info dd { margin: 0; font-weight: 700; }
.rm-map { margin-top: 28px; border-radius: var(--rm-radius); overflow: hidden; }
.rm-map img { display: block; width: 100%; height: 260px; object-fit: cover; }
.rm-captcha:empty { display: none; }
@media (max-width: 900px) { .rm-contact { grid-template-columns: minmax(0, 1fr); } }

/* Legal */
.rm-doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.rm-doc__nav { position: sticky; top: 96px; display: grid; gap: 4px; }
.rm-doc__nav-title { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rm-muted); margin: 0 0 8px; }
.rm-doc__nav a { padding: 10px 14px; border-radius: 10px; font-weight: 700; font-size: 14px; line-height: 1.35; color: var(--rm-muted) !important; transition: background-color .2s, color .2s; }
.rm-doc__nav a:hover { background: #fff; color: var(--rm-text) !important; }
.rm-doc__nav a.is-active { background: var(--rm-pink-50); color: var(--rm-pink) !important; }
.rm-doc__body { background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius); padding: 44px 48px; }
@media (max-width: 900px) {
  .rm-doc { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .rm-doc__nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .rm-doc__nav-title { width: 100%; }
  .rm-doc__nav a { background: #fff; border: 1px solid var(--rm-line); padding: 8px 12px; font-size: 13px; }
  .rm-doc__body { padding: 26px 20px; }
}
.rm-doc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.rm-doc-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--rm-line); border-radius: var(--rm-radius); padding: 20px; transition: border-color .2s, box-shadow .2s; }
.rm-doc-card:hover { border-color: var(--rm-pink); box-shadow: var(--rm-shadow); }
.rm-doc-card__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--rm-pink-50); color: var(--rm-pink); display: flex; align-items: center; justify-content: center; }
.rm-doc-card b { display: block; font-weight: 800; line-height: 1.35; }
@media (max-width: 640px) { .rm-doc-cards { grid-template-columns: minmax(0, 1fr); } }

/* FAQ: accordion markup is the original one (app.min.js [data-spollers]) */
.rm-faq { max-width: 880px; }
.rm-faq__cat { font-size: 13px !important; font-weight: 800 !important; letter-spacing: .12em; text-transform: uppercase; color: var(--rm-pink); margin: 44px 0 14px !important; }
.rm-faq__cat:first-child { margin-top: 0 !important; }
.rm-faq .faq__accordeon { display: grid; gap: 10px; }
.rm-faq .block_item { background: #fff; border: 1px solid var(--rm-line); border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; margin: 0; }
.rm-faq .block_item:hover { border-color: #e0cfe0; }
.rm-faq .block__tittle {
  position: relative; display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 18px 60px 18px 22px; font: 800 16px/1.4 var(--rm-font); color: var(--rm-text); background: #fff; border: 0; text-transform: none; letter-spacing: 0;
}
.rm-faq .block__tittle::before { display: none !important; }
.rm-faq .block__tittle::after {
  content: "+"; position: absolute; right: 18px; top: 50%; margin-top: -14px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--rm-pink-50); color: var(--rm-pink); font: 700 20px/28px var(--rm-font); text-align: center; transition: transform .25s;
  border: 0; transform: none;
}
.rm-faq .block__tittle._active::after { transform: rotate(45deg); }
.rm-faq .block_text { padding: 0 22px 20px; color: #3f4057; font-size: 15px; line-height: 1.7; }
.rm-faq .block_text a { color: var(--rm-pink) !important; font-weight: 700; }
.rm-faq .block_text ul { list-style: disc; padding-left: 20px; margin: 8px 0; }

/* Simple message pages (sent, 404, errors) */
.rm-msg { max-width: 640px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--rm-line); border-radius: 24px; padding: 48px 36px; box-shadow: var(--rm-shadow); }
.rm-msg__ico { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--rm-pink-50); color: var(--rm-pink); display: flex; align-items: center; justify-content: center; font-size: 34px; }
.rm-msg p { color: var(--rm-muted); font-size: 17px; line-height: 1.6; }
.rm-msg a:not(.rm-btn) { color: var(--rm-pink) !important; font-weight: 800; }
.rm-msg .rm-btn { margin-top: 10px; }

/* =====================================================================
   LEGACY SKIN — cabinet, payments, login/registration.
   Markup of these pages is NOT changed. Only colours, borders, radii, fonts —
   no display/position/size changes, so the layout from style.min.css is kept.
   ===================================================================== */
.server_contact, .server_contact.server_contact--newBG, .server_chavo, .server_rent_2 {
  background: var(--rm-ink) radial-gradient(ellipse 60% 120% at 85% -20%, rgba(198, 0, 125, .45), transparent 60%) !important;
}
.server_contact__tittle h1, .server_contact__tittle .h1, .server_chavo__tittle h1, .server_chavo__tittle .h1, .server_rent_2__tittle h1 { font-family: var(--rm-font); font-weight: 900; letter-spacing: -.02em; color: #fff; text-transform: none; }
.btn1 { font-family: var(--rm-font); font-weight: 800; letter-spacing: 0; border-radius: 999px; background-color: var(--rm-pink); transition: background-color .2s, color .2s, border-color .2s; }
.btn1:hover { background-color: var(--rm-pink-600); }
.btn1--green { background-color: var(--rm-blue); }
.btn1--green:hover { background-color: var(--rm-purple); }
.btn1--grey { background-color: #fff; color: var(--rm-text); border: 1.5px solid var(--rm-line); }
.btn1--grey:hover, .btn1--grey.active { background-color: var(--rm-pink-50); color: var(--rm-pink); border-color: var(--rm-pink); }
.btn1--grey.active svg path[stroke], .btn1--grey:hover svg path[stroke] { stroke: var(--rm-pink); }
.btn1--grey.active svg path[fill], .btn1--grey:hover svg path[fill] { fill: var(--rm-pink); }
.btn2 { font-family: var(--rm-font); font-weight: 800; border-radius: 999px; }
.control_button { border-radius: 999px; font-weight: 800; letter-spacing: .02em; }
.control-panel_header { border-radius: var(--rm-radius); }
.authorization-box, .new_form__body, .new-ticket_block, .open-ticket_item, .server-info, .services-server, .tabs_content--form {
  border-radius: var(--rm-radius);
}
.authorization { background: var(--rm-tint); }
.authorization-box { box-shadow: var(--rm-shadow); border: 1px solid var(--rm-line); background: #fff; padding: 36px 40px 40px; }
.authorization-box_title__title, .new_form__title { font-family: var(--rm-font); font-weight: 900; letter-spacing: -.02em; color: var(--rm-text); }
.input input, .input select, .input textarea, .authorization-form_input input, .select-css, .open-ticket_item__input, .open-ticket_item__textarea, .new-ticket textarea, .new-ticket input[type="text"], .pure-form input[type="text"], .pure-form input[type="email"], .pure-form input[type="password"], .pure-form select {
  font-family: var(--rm-font); border-radius: var(--rm-radius-sm); border-color: var(--rm-line);
  transition: border-color .2s, box-shadow .2s;
}
.input input:focus, .input select:focus, .input textarea:focus, .select-css:focus, .open-ticket_item__input:focus, .open-ticket_item__textarea:focus {
  outline: none; border-color: var(--rm-pink); box-shadow: 0 0 0 4px rgba(198, 0, 125, .12);
}
.orange_link, a.orange_link, a.orange_link:visited { color: var(--rm-pink); font-weight: 700; }
a.orange_link:hover { color: var(--rm-blue); }
.table-1 { border-radius: var(--rm-radius-sm); overflow: hidden; }
.table-1 tbody tr:nth-child(even), .tabs-content_list--table .tabs-content_list-item:nth-child(even), .server-info_list__item:nth-child(even) { background-color: var(--rm-zebra); }
.status_ip, .status-btn { border-radius: 999px; }
.alert, .alert2 { font-family: var(--rm-font); }

/* old table pages (if any old .table-3 remains in country includes) */
.table-3 tbody tr:nth-child(even) { background-color: var(--rm-zebra); }

/* ---------- Motion ---------- */
.rm-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease, box-shadow .25s, border-color .25s; }
.rm-reveal.is-in { opacity: 1; transform: none; }
.rm-plan.rm-reveal.is-in:hover { transform: translateY(-4px); }
.rm-svc__item.rm-reveal.is-in:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rm-page *, .rm-header *, .rm-footer * { animation: none !important; transition: none !important; }
  .rm-reveal { opacity: 1; transform: none; }
}
