/* ════════════════════════════════════════
   RankPlus Marketing Site — Native CSS
   Dark-first, matches dashboard design tokens
   Heebo font, RTL layout
   ════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800&display=swap');

/* ── Design tokens (mirror dashboard rankplus-v2.css) ── */
:root {
  --rp-bg:       #0d0d0d;
  --rp-bg-2:     #101015;
  --rp-surf:     #161619;
  --rp-raise:    #1c1c20;
  --rp-lift:     #222227;

  --rp-line:     rgba(255,255,255,0.06);
  --rp-line2:    rgba(255,255,255,0.035);
  --rp-line3:    rgba(255,255,255,0.12);

  --rp-t1:       #f1eee5;
  --rp-t2:       #9d9db0;
  --rp-t3:       #5a5a70;

  --rp-sky:      #965215;
  --rp-sky-d:    #7a4310;
  --rp-sky-l:    #c89066;
  --rp-sky-bg:   rgba(150,82,21,0.10);
  --rp-sky-bg-2: rgba(150,82,21,0.18);
  --rp-sky-glow: rgba(150,82,21,0.25);

  --rp-green:    #34d399;
  --rp-green-bg: rgba(52,211,153,0.1);
  --rp-red:      #f87171;
  --rp-red-bg:   rgba(248,113,113,0.1);
  --rp-amber:    #fbbf24;
  --rp-amber-bg: rgba(251,191,36,0.1);
  --rp-purple:   #a78bfa;
  --rp-purple-bg:rgba(167,139,250,0.1);

  --rp-r:        8px;
  --rp-r2:       12px;
  --rp-r3:       16px;
  --rp-r-pill:   999px;

  --rp-nav-h:    64px;
  --rp-maxw:     1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', ui-sans-serif, system-ui, sans-serif;
  background: var(--rp-bg);
  color: var(--rp-t1);
  direction: rtl;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; font-weight: 600; line-height: 1.25; color: var(--rp-t1); }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.5em; }
hr { border: none; border-top: 1px solid var(--rp-line); margin: 2em 0; }

/* Focus */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--rp-sky);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  right: 50%;
  transform: translateX(50%);
  background: var(--rp-sky);
  color: #f1eee5;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 100000;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Layout containers ── */
.rp-container {
  width: 100%;
  max-width: var(--rp-maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.rp-container-narrow {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.rp-section {
  padding: 96px 0;
  position: relative;
}
.rp-section-tight { padding: 64px 0; }
.rp-section-hero  { padding: 120px 0 96px; }

@media (max-width: 768px) {
  .rp-container, .rp-container-narrow { padding: 0 20px; }
  .rp-section      { padding: 64px 0; }
  .rp-section-tight{ padding: 48px 0; }
  .rp-section-hero { padding: 80px 0 64px; }
}

/* Subtle background shift for alternating sections — no gradients, just a tint. */
.rp-section-accent {
  background: var(--rp-bg-2);
}

/* ── Typography helpers ── */
.rp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0b890;
  padding: 6px 12px;
  background: rgba(200, 144, 102, 0.14);
  border: 1px solid rgba(200, 144, 102, 0.32);
  border-radius: var(--rp-r-pill);
  margin: 0 0 20px;
}
.rp-h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--rp-t1);
}
.rp-h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.rp-h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
}
.rp-h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}
.rp-lead {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--rp-t2);
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 640px;
}
.rp-lead-center { margin-inline: auto; }
.rp-plan-amount-custom { font-size: 26px !important; }
.rp-plan-footnote { font-size: 13.5px; }
.rp-cta-center { justify-content: center; }
.rp-card-empty { padding: 48px 24px; }
.rp-link { color: var(--rp-sky); text-decoration: underline; }
.rp-link:hover { color: var(--rp-sky-l); }
.rp-muted { color: var(--rp-t2); }
.rp-subtle { color: var(--rp-t3); }
.rp-accent { color: var(--rp-sky); }
.rp-text-center { text-align: center; }
.rp-text-balance { text-wrap: balance; }

/* Kept as a class name for backwards compatibility with existing templates —
   now just renders in the normal primary text color. */
.rp-gradient-text { color: var(--rp-t1); }

/* Section header (centered eyebrow + title + lead) */
.rp-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.rp-section-head .rp-lead {
  margin-inline: auto;
}

/* ── Buttons ── */
.rp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.4;
  border-radius: var(--rp-r);
  border: 1px solid transparent;
  background: transparent;
  color: var(--rp-t1);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.rp-btn:hover { text-decoration: none; }
.rp-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.rp-btn-primary {
  background: var(--rp-sky-d);
  color: #f1eee5;
  border-color: var(--rp-sky-d);
}
.rp-btn-primary:hover {
  background: var(--rp-sky);
  border-color: var(--rp-sky);
  color: #f1eee5;
}

.rp-btn-outline {
  background: transparent;
  color: var(--rp-t1);
  border-color: var(--rp-line3);
}
.rp-btn-outline:hover {
  background: var(--rp-lift);
  border-color: var(--rp-line3);
}

.rp-btn-ghost {
  background: transparent;
  color: var(--rp-t2);
}
.rp-btn-ghost:hover {
  background: var(--rp-lift);
  color: var(--rp-t1);
}

.rp-btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}
.rp-btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}
.rp-btn-block {
  display: flex;
  width: 100%;
}

/* CTA row */
.rp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.rp-section-head .rp-cta-row { justify-content: center; }

/* ── Topbar navigation ── */
.rp-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(13,13,16,0.75);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--rp-line);
}
.rp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--rp-nav-h);
  gap: 24px;
}
.rp-topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rp-t1);
  font-weight: 700;
  font-size: 16px;
}
.rp-topbar-brand img {
  height: 26px;
  width: auto;
  object-fit: contain;
}
.rp-topbar-brand img.rp-logo-native { filter: none; }
.rp-topbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.rp-topbar-nav a {
  padding: 8px 14px;
  border-radius: var(--rp-r);
  color: var(--rp-t2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}
.rp-topbar-nav a:hover {
  color: var(--rp-t1);
  background: var(--rp-lift);
}
.rp-topbar-nav a.rp-active {
  color: var(--rp-t1);
  background: var(--rp-sky-bg);
}
.rp-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rp-topbar-login {
  color: var(--rp-t2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--rp-r);
  transition: color 0.15s, background 0.15s;
}
.rp-topbar-login:hover {
  color: var(--rp-t1);
  background: var(--rp-lift);
}

/* Mobile nav toggle */
.rp-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--rp-line3);
  border-radius: var(--rp-r);
  color: var(--rp-t1);
}
.rp-nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .rp-topbar-nav,
  .rp-topbar-login { display: none; }
  .rp-nav-toggle { display: inline-flex; }
}
/* ── Mobile off-canvas drawer ── */
.rp-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.rp-drawer-backdrop.is-open { opacity: 1; }
.rp-drawer-backdrop[hidden] { display: none; }

.rp-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 88vw);
  z-index: 100;
  background: var(--rp-surf);
  border-inline-start: 1px solid var(--rp-line);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-overflow-scrolling: touch;
}
.rp-drawer.is-open { transform: translateX(0); }
.rp-drawer[hidden] { display: none; }

.rp-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px;
  height: var(--rp-nav-h);
  border-bottom: 1px solid var(--rp-line);
  flex-shrink: 0;
}
.rp-drawer-head .rp-topbar-brand img { height: 24px; }

.rp-drawer-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-r);
  color: var(--rp-t2);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.rp-drawer-close:hover { color: var(--rp-t1); background: var(--rp-lift); border-color: var(--rp-line3); }
.rp-drawer-close svg { width: 20px; height: 20px; }

.rp-drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
}
.rp-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px;
  font-size: 22px;
  font-weight: 500;
  color: var(--rp-t1);
  border-radius: var(--rp-r2);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.rp-drawer-link svg {
  width: 18px;
  height: 18px;
  color: var(--rp-t3);
  transition: color 0.15s, transform 0.15s;
}
.rp-drawer-link:hover { background: var(--rp-lift); }
.rp-drawer-link:hover svg { color: var(--rp-sky); transform: translateX(-2px); }
.rp-drawer-link.rp-active {
  background: var(--rp-sky-bg);
  color: var(--rp-sky);
}
.rp-drawer-link.rp-active svg { color: var(--rp-sky); }

.rp-drawer-foot {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--rp-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* Lock body scroll while drawer is open */
body.rp-scroll-lock { overflow: hidden; }
.rp-drawer-nav { -webkit-overflow-scrolling: touch; }

/* ── Hero ── */
.rp-hero { position: relative; }
.rp-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .rp-hero-inner { grid-template-columns: 1.15fr 1fr; gap: 64px; }
}
.rp-hero-visual {
  position: relative;
  border-radius: var(--rp-r3);
  background: var(--rp-surf);
  border: 1px solid var(--rp-line);
  overflow: hidden;
  aspect-ratio: 5 / 4;
}

/* Hero mock dashboard (decorative, not interactive) */
.rp-hero-mock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 14px;
}
.rp-hero-mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 20px;
}
.rp-hero-mock-bar span {
  width: 10px; height: 10px; border-radius: 50%; background: var(--rp-lift);
}
.rp-hero-mock-bar span:first-child { background: #f87171; }
.rp-hero-mock-bar span:nth-child(2) { background: #fbbf24; }
.rp-hero-mock-bar span:nth-child(3) { background: #34d399; }
.rp-hero-mock-body {
  flex: 1;
  background: var(--rp-raise);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--rp-line2);
}
.rp-hero-mock-chip {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 10px;
  background: var(--rp-sky-bg);
  color: var(--rp-sky);
  border-radius: var(--rp-r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.rp-hero-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--rp-line2);
  font-size: 13px;
  color: var(--rp-t2);
}
.rp-hero-mock-row strong { color: var(--rp-t1); font-weight: 600; }
.rp-chip-amber-text { color: var(--rp-amber) !important; }
.rp-hero-mock-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
  margin-top: 4px;
}
.rp-hero-mock-bar-item {
  flex: 1;
  background: var(--rp-sky-d);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}
.rp-bar-40 { height: 40%; }
.rp-bar-55 { height: 55%; }
.rp-bar-65 { height: 65%; }
.rp-bar-70 { height: 70%; }
.rp-bar-85 { height: 85%; }
.rp-bar-95 { height: 95%; }
.rp-home-hero-fineprint { font-size: 13px; }
.rp-blog-placeholder { background: var(--rp-raise); }

/* ── Cards & grids ── */
.rp-card {
  background: var(--rp-surf);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-r2);
  padding: 24px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.rp-card-hover:hover {
  border-color: var(--rp-line3);
}

.rp-grid {
  display: grid;
  gap: 20px;
}
.rp-grid-2 { grid-template-columns: repeat(1, 1fr); }
.rp-grid-3 { grid-template-columns: repeat(1, 1fr); }
.rp-grid-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) {
  .rp-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .rp-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .rp-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .rp-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Feature card */
.rp-feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rp-feature-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--rp-r);
  background: var(--rp-sky-bg);
  color: var(--rp-sky);
  border: 1px solid var(--rp-sky-bg-2);
}
.rp-feature-icon svg { width: 22px; height: 22px; }
.rp-feature-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--rp-t1);
  margin: 0;
}
.rp-feature-desc {
  color: var(--rp-t2);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}
/* Variant icon colors */
.rp-icon-green  { background: var(--rp-green-bg);  color: var(--rp-green);  border-color: rgba(52,211,153,0.18); }
.rp-icon-amber  { background: var(--rp-amber-bg);  color: var(--rp-amber);  border-color: rgba(251,191,36,0.18); }
.rp-icon-purple { background: var(--rp-purple-bg); color: var(--rp-purple); border-color: rgba(167,139,250,0.18); }
.rp-icon-red    { background: var(--rp-red-bg);    color: var(--rp-red);    border-color: rgba(248,113,113,0.18); }

/* Step card */
.rp-step { position: relative; }
.rp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--rp-sky-bg);
  color: var(--rp-sky);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid var(--rp-sky-bg-2);
  margin-bottom: 14px;
}

/* ── Pricing cards ── */
.rp-pricing-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 800px) {
  .rp-pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
.rp-plan {
  display: flex;
  flex-direction: column;
  background: var(--rp-surf);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-r3);
  padding: 28px;
  position: relative;
  transition: border-color 0.15s, transform 0.15s;
}
.rp-plan:hover { border-color: var(--rp-line3); }
.rp-plan-highlighted {
  border-color: var(--rp-sky);
  background: var(--rp-surf);
}
.rp-plan-highlighted:hover { border-color: var(--rp-sky); }
.rp-plan-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--rp-sky);
  color: #0d0d0d;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--rp-r-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rp-plan-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--rp-t1);
  margin: 0 0 6px;
}
.rp-plan-subtitle {
  color: var(--rp-t2);
  font-size: 14px;
  margin: 0 0 20px;
  min-height: 40px;
}
.rp-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 4px;
}
.rp-plan-amount {
  font-size: 40px;
  font-weight: 700;
  color: var(--rp-t1);
  line-height: 1;
  letter-spacing: -0.02em;
}
.rp-plan-currency { font-size: 22px; color: var(--rp-t2); font-weight: 500; }
.rp-plan-cycle { color: var(--rp-t2); font-size: 14px; margin: 0 0 20px; }
.rp-plan-desc { color: var(--rp-t2); font-size: 14px; margin: 0 0 20px; line-height: 1.6; }
.rp-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.rp-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--rp-t1);
  line-height: 1.5;
}
.rp-plan-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--rp-green-bg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2334d399'><path fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-7 7a1 1 0 01-1.4 0l-3-3a1 1 0 111.4-1.4L9 11.6l6.3-6.3a1 1 0 011.4 0z' clip-rule='evenodd'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
.rp-plan-cta {
  margin-top: auto;
}

/* ── FAQ accordion (native details/summary) ── */
.rp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rp-faq-group-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--rp-sky);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 24px 0 12px;
}
.rp-faq-group-title:first-child { margin-top: 0; }
.rp-faq-item {
  background: var(--rp-surf);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-r2);
  overflow: hidden;
  transition: border-color 0.15s;
}
.rp-faq-item[open] { border-color: var(--rp-sky-bg-2); }
.rp-faq-item:hover { border-color: var(--rp-line3); }
.rp-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 500;
  color: var(--rp-t1);
  cursor: pointer;
  list-style: none;
}
.rp-faq-q::-webkit-details-marker { display: none; }
.rp-faq-q::after {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239d9db0' stroke-width='2'><path stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s;
}
.rp-faq-item[open] .rp-faq-q::after { transform: rotate(180deg); }
.rp-faq-a {
  padding: 0 22px 20px;
  color: var(--rp-t2);
  font-size: 14.5px;
  line-height: 1.7;
}
.rp-faq-a p:last-child { margin-bottom: 0; }

/* ── CTA block ── */
.rp-cta-block {
  background: var(--rp-surf);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-r3);
  padding: 56px 40px;
  text-align: center;
}

/* ── Footer ── */
.rp-footer {
  background: var(--rp-bg-2);
  border-top: 1px solid var(--rp-line);
  padding: 72px 0 32px;
  color: var(--rp-t2);
  font-size: 14px;
}
.rp-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rp-line);
  margin-bottom: 28px;
}
@media (min-width: 720px) {
  .rp-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.rp-footer-brand-img {
  height: 28px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}
.rp-footer-brand-img.rp-logo-native { filter: none; }
.rp-footer-tagline {
  color: var(--rp-t2);
  line-height: 1.6;
  max-width: 280px;
  margin: 0;
}
.rp-footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--rp-t1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}
.rp-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rp-footer-list a,
.rp-footer-list span {
  color: var(--rp-t2);
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rp-footer-list a:hover { color: var(--rp-t1); }
.rp-footer-list svg { width: 14px; height: 14px; color: var(--rp-t3); }
.rp-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  color: var(--rp-t3);
  font-size: 13px;
}
.rp-footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.rp-footer-legal a:hover { color: var(--rp-t1); }

/* ── Forms ── */
.rp-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rp-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--rp-t2);
}
.rp-field .rp-required { color: var(--rp-sky); margin-inline-start: 2px; }
.rp-input, .rp-textarea, .rp-select {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--rp-t1);
  background: var(--rp-raise);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-r);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.rp-input::placeholder, .rp-textarea::placeholder { color: var(--rp-t3); }
.rp-input:focus, .rp-textarea:focus, .rp-select:focus {
  outline: none;
  border-color: var(--rp-sky);
  box-shadow: 0 0 0 3px var(--rp-sky-bg);
}
.rp-textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.rp-field-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .rp-field-row-2 { grid-template-columns: 1fr 1fr; }
}
.rp-form-error {
  padding: 12px 14px;
  background: var(--rp-red-bg);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: var(--rp-r);
  color: var(--rp-red);
  font-size: 14px;
}
.rp-form-success {
  padding: 12px 14px;
  background: var(--rp-green-bg);
  border: 1px solid rgba(52,211,153,0.2);
  border-radius: var(--rp-r);
  color: var(--rp-green);
  font-size: 14px;
}

/* ── Chips / pills ── */
.rp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--rp-r-pill);
  font-size: 12px;
  font-weight: 500;
  background: var(--rp-sky-bg);
  color: var(--rp-sky);
  border: 1px solid var(--rp-sky-bg-2);
}
.rp-chip-green { background: var(--rp-green-bg); color: var(--rp-green); border-color: rgba(52,211,153,0.18); }
.rp-chip-amber { background: var(--rp-amber-bg); color: var(--rp-amber); border-color: rgba(251,191,36,0.18); }

/* ── Contact page layout ── */
.rp-contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .rp-contact-grid { grid-template-columns: 1.3fr 1fr; }
}
.rp-contact-card {
  background: var(--rp-surf);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-r2);
  padding: 32px;
}
.rp-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rp-line2);
}
.rp-contact-item:last-child { border-bottom: none; }
.rp-contact-item-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--rp-r);
  background: var(--rp-sky-bg);
  color: var(--rp-sky);
}
.rp-contact-item-icon svg { width: 18px; height: 18px; }
.rp-contact-item-label {
  font-size: 12px;
  color: var(--rp-t3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 4px;
}
.rp-contact-item-value {
  font-size: 15px;
  color: var(--rp-t1);
  font-weight: 500;
  margin: 0;
}
.rp-contact-item-value a:hover { color: var(--rp-sky); }

/* ── Blog ── */
.rp-blog-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .rp-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .rp-blog-grid { grid-template-columns: repeat(3, 1fr); }
}
.rp-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--rp-surf);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-r2);
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
  text-decoration: none;
  color: inherit;
}
.rp-blog-card:hover {
  border-color: var(--rp-line3);
  transform: translateY(-2px);
}
.rp-blog-card-img {
  aspect-ratio: 16 / 9;
  background: var(--rp-raise);
  object-fit: cover;
  width: 100%;
  height: auto !important;
  max-height: 300px;
  display: block;
}
.rp-blog-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rp-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--rp-t3);
}
.rp-blog-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--rp-t1);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rp-blog-card-excerpt {
  color: var(--rp-t2);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rp-blog-card-more { color: var(--rp-sky); font-size: 13px; font-weight: 500; margin-top: auto; }

/* Blog featured (top card) */
.rp-blog-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
  background: var(--rp-surf);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-r3);
  overflow: hidden;
}
@media (min-width: 800px) {
  .rp-blog-featured { grid-template-columns: 1.1fr 1fr; gap: 0; }
}
.rp-blog-featured-img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  height: auto !important;
  max-height: 400px;
}
.rp-blog-featured-body { padding: 36px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.rp-blog-featured-title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.2; margin: 0; }

/* Blog single post */
.rp-post-header {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}
.rp-post-meta {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  color: var(--rp-t3);
  font-size: 13px;
  margin-bottom: 16px;
}
.rp-post-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.rp-post-cover {
  max-width: 960px;
  margin: 0 auto 48px;
  border-radius: var(--rp-r3);
  overflow: hidden;
  border: 1px solid var(--rp-line);
}
.rp-post-cover img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; max-height: 500px; }
.rp-post-body {
  max-width: 780px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: var(--rp-t1);
}
.rp-post-body p { margin: 0 0 1.2em; color: #c9c9d4; }
.rp-post-body h2 { font-size: 26px; margin: 1.8em 0 0.6em; }
.rp-post-body h3 { font-size: 21px; margin: 1.6em 0 0.5em; }
.rp-post-body a { color: var(--rp-sky); text-decoration: underline; }
.rp-post-body img {
  border-radius: var(--rp-r2);
  margin: 1.5em 0;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  max-height: 500px;
  object-fit: contain;
  display: block;
}
.rp-post-body figure {
  margin: 1.5em 0;
  max-width: 100%;
}
.rp-post-body figure img {
  margin: 0;
}
.rp-post-body ul, .rp-post-body ol { color: #c9c9d4; padding-inline-start: 1.5em; }
.rp-post-body blockquote {
  margin: 1.5em 0;
  padding: 12px 20px;
  border-inline-start: 3px solid var(--rp-sky);
  background: var(--rp-surf);
  border-radius: 0 var(--rp-r) var(--rp-r) 0;
  color: var(--rp-t2);
  font-style: italic;
}
.rp-post-body code {
  background: var(--rp-lift);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--rp-sky-l);
}
.rp-post-body pre {
  background: var(--rp-raise);
  border: 1px solid var(--rp-line);
  padding: 16px;
  border-radius: var(--rp-r);
  overflow-x: auto;
}
.rp-post-body pre code { background: transparent; padding: 0; color: var(--rp-t1); }

/* Pagination */
.rp-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.rp-pagination a, .rp-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-r);
  color: var(--rp-t2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.rp-pagination a:hover { color: var(--rp-t1); background: var(--rp-lift); border-color: var(--rp-line3); }
.rp-pagination .rp-page-current {
  background: var(--rp-sky-bg);
  border-color: var(--rp-sky-bg-2);
  color: var(--rp-sky);
}

/* ── Legal / prose page ── */
.rp-prose {
  max-width: 820px;
  margin: 0 auto;
  font-size: 15.5px;
  line-height: 1.8;
  color: #c9c9d4;
}
.rp-prose h1 { font-size: clamp(28px, 4vw, 40px); color: var(--rp-t1); margin-bottom: 16px; }
.rp-prose h2 { font-size: 22px; margin: 2em 0 0.6em; color: var(--rp-t1); }
.rp-prose h3 { font-size: 18px; margin: 1.6em 0 0.5em; color: var(--rp-t1); }
.rp-prose p, .rp-prose li { color: #c9c9d4; }
.rp-prose a { color: var(--rp-sky); text-decoration: underline; }
.rp-prose strong { color: var(--rp-t1); }
.rp-prose ul, .rp-prose ol { margin: 0.8em 0 1.2em; padding-inline-start: 1.5em; }
.rp-prose ul li { margin-bottom: 0.5em; }
.rp-prose .rp-prose-meta { color: var(--rp-t3); font-size: 13px; margin-bottom: 32px; }

/* ── 404 / error ── */
.rp-error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.rp-error-code {
  font-size: clamp(80px, 14vw, 160px);
  font-weight: 700;
  line-height: 1;
  color: var(--rp-t3);
  margin: 0 0 16px;
  letter-spacing: -0.04em;
}

/* ── Utilities ── */
.rp-mt-0 { margin-top: 0; }
.rp-mt-8 { margin-top: 8px; }
.rp-mt-16 { margin-top: 16px; }
.rp-mt-24 { margin-top: 24px; }
.rp-mt-32 { margin-top: 32px; }
.rp-mt-48 { margin-top: 48px; }
.rp-mb-0 { margin-bottom: 0; }
.rp-mb-8 { margin-bottom: 8px; }
.rp-mb-16 { margin-bottom: 16px; }
.rp-mb-24 { margin-bottom: 24px; }
.rp-mb-32 { margin-bottom: 32px; }
.rp-mb-48 { margin-bottom: 48px; }
.rp-hidden { display: none !important; }
.hidden { display: none !important; } /* compatibility for signup.php (not touched) */
@media (max-width: 640px) { .rp-hide-sm { display: none !important; } }
@media (min-width: 641px) { .rp-hide-md { display: none !important; } }

/* ── Honeypot (invisible to users, caught by bots) ── */
.rp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Topbar icon button (accessibility, etc.) ── */
.rp-topbar-icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-r);
  color: var(--rp-t2);
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.rp-topbar-icon-btn:hover,
.rp-topbar-icon-btn[aria-expanded="true"] {
  color: var(--rp-t1);
  background: var(--rp-lift);
  border-color: var(--rp-line3);
}
.rp-topbar-icon-btn svg { width: 18px; height: 18px; }

/* ── Accessibility panel ── */
.rp-acc-root { direction: rtl; }
.rp-acc-panel {
  /* Top/left are computed at open time from the trigger's position — see accessibility-widget.php. */
  position: fixed;
  top: calc(var(--rp-nav-h) + 8px);
  left: 16px;
  z-index: 9998;
  width: min(360px, calc(100vw - 24px));
  max-height: calc(100vh - var(--rp-nav-h) - 24px);
  overflow-y: auto;
  background: var(--rp-surf);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-r2);
  font-family: inherit;
  color: var(--rp-t1);
}
.rp-acc-panel[hidden] { display: none; }

.rp-acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rp-line);
}
.rp-acc-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--rp-t1);
}
.rp-acc-close {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--rp-r);
  color: var(--rp-t2);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.rp-acc-close:hover { color: var(--rp-t1); background: var(--rp-lift); }
.rp-acc-close svg { width: 16px; height: 16px; }

.rp-acc-body {
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rp-acc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}
.rp-acc-label {
  font-size: 13px;
  color: var(--rp-t2);
  font-weight: 500;
}
.rp-acc-step {
  display: flex;
  gap: 6px;
}
.rp-acc-step-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-r);
  background: var(--rp-raise);
  color: var(--rp-t1);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.rp-acc-step-btn:hover { background: var(--rp-lift); border-color: var(--rp-line3); }

.rp-acc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.rp-acc-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  background: var(--rp-raise);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-r);
  color: var(--rp-t2);
  font-family: inherit;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.rp-acc-toggle:hover { color: var(--rp-t1); border-color: var(--rp-line3); }
.rp-acc-toggle svg { width: 20px; height: 20px; }
.rp-acc-toggle span { font-size: 12px; font-weight: 500; text-align: center; line-height: 1.3; }
.rp-acc-toggle[aria-pressed="true"] {
  background: var(--rp-sky-bg);
  border-color: var(--rp-sky);
  color: var(--rp-sky);
}

.rp-acc-reset { width: 100%; justify-content: center; }

.rp-acc-statement-link {
  display: block;
  text-align: center;
  font-size: 12.5px;
  color: var(--rp-t3);
  text-decoration: none;
  padding-top: 4px;
}
.rp-acc-statement-link:hover { color: var(--rp-sky); text-decoration: underline; }

/* ── Accessibility feature classes ── */
body.acc-high-contrast { filter: contrast(1.4); }
body.acc-high-contrast * { border-color: currentColor !important; }

body.acc-highlight-links a {
  outline: 2px solid #ff0 !important;
  outline-offset: 2px !important;
  text-decoration: underline !important;
}

body.acc-readable-font,
body.acc-readable-font * {
  font-family: Arial, Helvetica, sans-serif !important;
}

body.acc-stop-animations,
body.acc-stop-animations *,
body.acc-stop-animations *::before,
body.acc-stop-animations *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

body.acc-line-height,
body.acc-line-height * { line-height: 2 !important; }

body.acc-letter-spacing,
body.acc-letter-spacing * {
  letter-spacing: 0.12em !important;
  word-spacing: 0.16em !important;
}

body.acc-large-cursor,
body.acc-large-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='white' stroke='black' stroke-width='1'%3E%3Cpath d='M4 4l7.07 17 2.51-7.39L21 11.07z'/%3E%3C/svg%3E") 0 0, auto !important;
}

body.acc-focus-highlight :focus,
body.acc-focus-highlight :focus-visible {
  outline: 3px solid var(--rp-sky) !important;
  outline-offset: 3px !important;
}

html.acc-font-size-1 { font-size: 112.5%; }
html.acc-font-size-2 { font-size: 125%; }
html.acc-font-size-3 { font-size: 137.5%; }
html.acc-font-size-4 { font-size: 150%; }
html.acc-font-size-5 { font-size: 175%; }

/* ── Privacy consent banner ── */
.rp-privacy-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9998;
  background: rgba(22,22,25,0.95);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--rp-line);
  padding: 14px 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.rp-privacy-banner.is-visible { transform: translateY(0); }
.rp-privacy-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.rp-privacy-banner-text { flex: 1; min-width: 260px; }
.rp-privacy-banner-text p { margin: 0; color: var(--rp-t1); font-size: 14px; }
.rp-privacy-banner-text a { color: var(--rp-sky); text-decoration: underline; }
.rp-privacy-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
