.rql-public-page {
  --rp-navy: #092b4c;
  --rp-navy-dark: #051d34;
  --rp-navy-soft: #153c60;
  --rp-teal: #087f82;
  --rp-teal-dark: #066467;
  --rp-teal-light: #e5f6f5;
  --rp-gold: #c99a3e;
  --rp-gold-light: #fbf5e8;
  --rp-green: #26744d;
  --rp-red: #9a3d3d;
  --rp-blue-light: #edf5fa;
  --rp-ink: #173047;
  --rp-muted: #5d7182;
  --rp-border: #d9e5ec;
  --rp-background: #f4f8fb;
  --rp-white: #ffffff;
  --rp-shadow: 0 18px 46px rgba(5, 29, 52, 0.10);

  background:
    radial-gradient(
      circle at 3% 7%,
      rgba(8, 127, 130, 0.08),
      transparent 25%
    ),
    radial-gradient(
      circle at 97% 22%,
      rgba(201, 154, 62, 0.10),
      transparent 24%
    ),
    var(--rp-background);

  color: var(--rp-ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.65;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  width: 100vw;
}

.rql-public-page * {
  box-sizing: border-box;
}

.rp-container {
  margin: 0 auto;
  max-width: 1220px;
  padding-left: 24px;
  padding-right: 24px;
}

.rp-section {
  padding-bottom: 78px;
  padding-top: 78px;
}

.rp-section-white {
  background: rgba(255, 255, 255, 0.94);
}

.rp-section-dark {
  background:
    radial-gradient(
      circle at 86% 17%,
      rgba(8, 127, 130, 0.36),
      transparent 29%
    ),
    linear-gradient(
      135deg,
      var(--rp-navy-dark),
      var(--rp-navy)
    );

  color: #ffffff;
}

.rp-eyebrow {
  color: var(--rp-teal);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.rp-section-dark .rp-eyebrow {
  color: #79e2df;
}

.rp-heading {
  color: var(--rp-navy);
  font-size: clamp(2rem, 4vw, 3.45rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
}

.rp-heading-small {
  color: var(--rp-navy);
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  letter-spacing: -0.025em;
  line-height: 1.17;
  margin: 0;
}

.rp-section-dark .rp-heading,
.rp-section-dark .rp-heading-small {
  color: #ffffff;
}

.rp-intro {
  color: var(--rp-muted);
  font-size: 1.08rem;
  margin: 18px 0 0;
  max-width: 830px;
}

.rp-section-dark .rp-intro {
  color: rgba(255, 255, 255, 0.78);
}

.rp-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.rp-grid-2 {
  display: grid;
  gap: 27px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rp-grid-3 {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rp-grid-4 {
  display: grid;
  gap: 21px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rp-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.rp-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 760;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  text-decoration: none;
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.rp-button:hover {
  box-shadow: 0 13px 28px rgba(5, 29, 52, 0.16);
  transform: translateY(-2px);
}

.rp-button-primary {
  background: var(--rp-teal);
  color: #ffffff;
}

.rp-button-primary:hover {
  background: var(--rp-teal-dark);
  color: #ffffff;
}

.rp-button-white {
  background: #ffffff;
  color: var(--rp-navy);
}

.rp-button-outline {
  background: #ffffff;
  border-color: var(--rp-border);
  color: var(--rp-navy);
}

.rp-button-ghost-light {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.rp-button-gold {
  background: var(--rp-gold);
  color: var(--rp-navy-dark);
}

/* HERO */

.rp-hero {
  background:
    linear-gradient(
      112deg,
      rgba(5, 29, 52, 0.99) 0%,
      rgba(9, 43, 76, 0.96) 55%,
      rgba(8, 127, 130, 0.84) 100%
    );

  color: #ffffff;
  min-height: 640px;
  position: relative;
}

.rp-hero::before {
  background-image: var(--rp-hero-image);
  background-position: center;
  background-size: cover;
  content: "";
  inset: 0;
  opacity: 0.19;
  position: absolute;
}

.rp-hero::after {
  background:
    radial-gradient(
      circle at 76% 26%,
      rgba(255, 255, 255, 0.14),
      transparent 28%
    );

  content: "";
  inset: 0;
  position: absolute;
}

.rp-hero-inner {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns:
    minmax(0, 1.32fr)
    minmax(310px, 0.68fr);

  min-height: 640px;
  padding-bottom: 82px;
  padding-top: 82px;
  position: relative;
  z-index: 2;
}

.rp-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 23px;
}

.rp-hero-badge {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.055em;
  padding: 7px 11px;
  text-transform: uppercase;
}

.rp-hero h1 {
  color: #ffffff;
  font-size: clamp(2.75rem, 6.1vw, 5.25rem);
  letter-spacing: -0.057em;
  line-height: 0.99;
  margin: 0;
  max-width: 920px;
}

.rp-hero h1 span {
  color: #79e2df;
  display: block;
}

.rp-hero-summary {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.8vw, 1.23rem);
  margin: 27px 0 0;
  max-width: 820px;
}

.rp-hero-note {
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.9rem;
  margin: 20px 0 0;
  max-width: 770px;
}

.rp-hero-panel {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.105);
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 19px;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.20);
  padding: 28px;
}

.rp-hero-panel h2 {
  color: #ffffff;
  font-size: 1.12rem;
  margin: 0 0 18px;
}

.rp-hero-item {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.rp-hero-number {
  align-items: center;
  background: #ffffff;
  border-radius: 50%;
  color: var(--rp-navy);
  display: inline-flex;
  flex: 0 0 31px;
  font-size: 0.8rem;
  font-weight: 900;
  height: 31px;
  justify-content: center;
}

.rp-hero-item strong {
  color: #ffffff;
  display: block;
  font-size: 0.91rem;
}

.rp-hero-item span {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  font-size: 0.78rem;
  line-height: 1.43;
  margin-top: 3px;
}

/* CARDS */

.rp-card {
  background: #ffffff;
  border: 1px solid var(--rp-border);
  border-radius: 17px;
  box-shadow: 0 11px 30px rgba(9, 43, 76, 0.065);
  padding: 28px;
}

.rp-card h3 {
  color: var(--rp-navy);
  font-size: 1.26rem;
  line-height: 1.25;
  margin: 0;
}

.rp-card p {
  color: var(--rp-muted);
  margin: 12px 0 0;
}

.rp-card-icon {
  align-items: center;
  background: var(--rp-teal-light);
  border-radius: 12px;
  color: var(--rp-teal);
  display: flex;
  font-size: 0.95rem;
  font-weight: 850;
  height: 48px;
  justify-content: center;
  margin-bottom: 17px;
  width: 48px;
}

.rp-check-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.rp-check-list li {
  color: var(--rp-ink);
  margin: 10px 0;
  padding-left: 24px;
  position: relative;
}

.rp-check-list li::before {
  color: var(--rp-teal);
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.rp-dark-card {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 15px;
  padding: 24px;
}

.rp-dark-card h3,
.rp-dark-card strong {
  color: #ffffff;
}

.rp-dark-card p,
.rp-dark-card span {
  color: rgba(255, 255, 255, 0.70);
}

/* IMAGES */

.rp-image-panel {
  background:
    linear-gradient(
      135deg,
      var(--rp-blue-light),
      var(--rp-teal-light)
    );

  border: 1px solid var(--rp-border);
  border-radius: 19px;
  box-shadow: var(--rp-shadow);
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.rp-image-panel img {
  display: block;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  position: relative;
  width: 100%;
  z-index: 2;
}

.rp-image-placeholder {
  align-items: center;
  color: var(--rp-muted);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 30px;
  position: absolute;
  text-align: center;
}

/* WORKFLOW */

.rp-workflow {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 38px;
}

.rp-workflow-step {
  background: #ffffff;
  border: 1px solid var(--rp-border);
  border-radius: 14px;
  min-height: 170px;
  padding: 22px;
  position: relative;
}

.rp-workflow-step::after {
  color: var(--rp-teal);
  content: "→";
  font-size: 1.45rem;
  font-weight: 900;
  position: absolute;
  right: -17px;
  top: 61px;
  z-index: 3;
}

.rp-workflow-step:last-child::after {
  display: none;
}

.rp-step-number {
  color: var(--rp-teal);
  display: block;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rp-workflow-step strong {
  color: var(--rp-navy);
  display: block;
  line-height: 1.35;
  margin-top: 9px;
}

.rp-workflow-step p {
  color: var(--rp-muted);
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 10px 0 0;
}

/* NOTICES */

.rp-notice {
  background: var(--rp-gold-light);
  border: 1px solid #ead6a8;
  border-left: 5px solid var(--rp-gold);
  border-radius: 11px;
  color: #664c1c;
  margin-top: 25px;
  padding: 17px 19px;
}

.rp-safe-notice {
  background: #eaf6ef;
  border: 1px solid #c7e7d3;
  border-left: 5px solid var(--rp-green);
  border-radius: 11px;
  color: #245d3f;
  margin-top: 25px;
  padding: 17px 19px;
}

/* PRICING */

.rp-price-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.rp-price-nav a {
  background: #ffffff;
  border: 1px solid var(--rp-border);
  border-radius: 999px;
  color: var(--rp-navy);
  font-size: 0.82rem;
  font-weight: 760;
  padding: 8px 13px;
  text-decoration: none;
}

.rp-price-nav a:hover {
  border-color: var(--rp-teal);
  color: var(--rp-teal-dark);
}

.rp-price-grid {
  display: grid;
  gap: 23px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 35px;
}

.rp-price-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rp-price-card {
  background: #ffffff;
  border: 1px solid var(--rp-border);
  border-radius: 17px;
  box-shadow: 0 11px 30px rgba(9, 43, 76, 0.065);
  display: flex;
  flex-direction: column;
  padding: 27px;
  position: relative;
}

.rp-price-card.recommended {
  border: 2px solid var(--rp-teal);
  transform: translateY(-5px);
}

.rp-price-card h3 {
  color: var(--rp-navy);
  font-size: 1.22rem;
  margin: 0;
}

.rp-price-subtitle {
  color: var(--rp-muted);
  font-size: 0.88rem;
  margin: 8px 0 0;
  min-height: 42px;
}

.rp-price {
  color: var(--rp-navy);
  font-size: 1.78rem;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-top: 20px;
}

.rp-price small {
  color: var(--rp-muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0;
}

.rp-price-card .rp-button-row {
  margin-top: auto;
  padding-top: 23px;
}

.rp-recommended {
  background: var(--rp-teal);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  padding: 5px 9px;
  position: absolute;
  right: 18px;
  text-transform: uppercase;
  top: 17px;
}

.rp-price-note {
  color: var(--rp-muted);
  font-size: 0.84rem;
  margin-top: 12px;
}

.rp-table-wrap {
  background: #ffffff;
  border: 1px solid var(--rp-border);
  border-radius: 16px;
  margin-top: 34px;
  overflow-x: auto;
}

.rp-table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.rp-table th,
.rp-table td {
  border-bottom: 1px solid var(--rp-border);
  padding: 15px 17px;
  text-align: left;
  vertical-align: top;
}

.rp-table th {
  background: var(--rp-blue-light);
  color: var(--rp-navy);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rp-table td {
  color: var(--rp-ink);
  font-size: 0.9rem;
}

.rp-table tr:last-child td {
  border-bottom: 0;
}

/* CTA */

.rp-final-cta {
  background:
    linear-gradient(
      130deg,
      var(--rp-navy-dark),
      var(--rp-teal)
    );

  border-radius: 22px;
  color: #ffffff;
  padding: 48px;
  text-align: center;
}

.rp-final-cta h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4.3vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
}

.rp-final-cta p {
  color: rgba(255, 255, 255, 0.78);
  margin: 17px auto 0;
  max-width: 780px;
}

@media (max-width: 1050px) {
  .rp-grid-4,
  .rp-price-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rp-workflow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rp-workflow-step:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 920px) {
  .rp-hero-inner,
  .rp-grid-2 {
    grid-template-columns: 1fr;
  }

  .rp-grid-3,
  .rp-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rp-hero-panel {
    max-width: 680px;
  }
}

@media (max-width: 690px) {
  .rp-container {
    padding-left: 17px;
    padding-right: 17px;
  }

  .rp-section {
    padding-bottom: 55px;
    padding-top: 55px;
  }

  .rp-hero-inner {
    gap: 37px;
    min-height: auto;
    padding-bottom: 62px;
    padding-top: 62px;
  }

  .rp-hero h1 {
    font-size: 2.65rem;
  }

  .rp-grid-3,
  .rp-grid-4,
  .rp-price-grid,
  .rp-price-grid.four,
  .rp-workflow {
    grid-template-columns: 1fr;
  }

  .rp-button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .rp-button {
    width: 100%;
  }

  .rp-workflow-step::after {
    bottom: -21px;
    content: "↓";
    display: block !important;
    left: 50%;
    right: auto;
    top: auto;
  }

  .rp-workflow-step:last-child::after {
    display: none !important;
  }

  .rp-price-card.recommended {
    transform: none;
  }

  .rp-final-cta {
    padding: 33px 21px;
  }
}

/* DARK CARD LIST VISIBILITY FIX */

.rp-dark-card .rp-check-list li {
  color: rgba(255, 255, 255, 0.90);
}

.rp-dark-card .rp-check-list li::before {
  color: #79e2df;
}

.rp-dark-card .rp-check-list strong {
  color: #ffffff;
}

.rp-dark-card .rp-check-list a {
  color: #9cf0ed;
}

.rp-dark-card .rp-price-note {
  color: rgba(255, 255, 255, 0.74);
}

