/* Refund Policy page — ProxyGrove brand tokens (white + blue) */

.rp-page {
  background: #ffffff;
  color: #111827;
}

.rp-breadcrumb {
  padding: 1.25rem 0 0;
}

.rp-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: #64748b;
}

.rp-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: #94a3b8;
}

.rp-breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.rp-breadcrumb a:hover,
.rp-breadcrumb a:focus-visible {
  text-decoration: underline;
}

.rp-hero {
  padding: 2.25rem 0 2.75rem;
  background:
    radial-gradient(ellipse 80% 60% at 12% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 78%);
}

.rp-hero-inner {
  max-width: 44rem;
}

.rp-hero-inner h1 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111827;
}

.rp-hero-inner .lede {
  margin: 0 0 1rem;
  color: #475569;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.rp-updated {
  margin: 0 0 1.35rem;
  font-size: 0.9375rem;
  color: #64748b;
}

.rp-body {
  padding: 0 0 4.5rem;
}

.rp-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.rp-toc {
  position: sticky;
  top: 5.5rem;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.rp-toc-title {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2563eb;
}

.rp-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.rp-toc-list a {
  display: block;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  color: #334155;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.rp-toc-list a:hover,
.rp-toc-list a:focus-visible {
  background: #eff6ff;
  color: #1d4ed8;
}

.rp-content {
  min-width: 0;
  padding: 0.25rem 0 0;
}

.rp-section {
  margin: 0 0 2.25rem;
  padding: 1.75rem 1.75rem 1.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.035);
  scroll-margin-top: 5.75rem;
}

.rp-section h2 {
  margin: 0 0 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid #dbeafe;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  letter-spacing: -0.015em;
  color: #111827;
}

.rp-section p,
.rp-section li {
  color: #475569;
  line-height: 1.7;
}

.rp-section p {
  margin: 0 0 0.9rem;
}

.rp-section p:last-child {
  margin-bottom: 0;
}

.rp-section ul,
.rp-section ol {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
}

.rp-section li + li {
  margin-top: 0.45rem;
}

.rp-section a:not(.btn) {
  color: #2563eb;
  text-decoration: none;
}

.rp-section a:not(.btn):hover,
.rp-section a:not(.btn):focus-visible {
  text-decoration: underline;
}

/* Keep CTA button labels readable (do not inherit link-blue onto .btn-primary). */
.rp-section a.btn {
  text-decoration: none;
}

.rp-section a.btn:hover,
.rp-section a.btn:focus-visible {
  text-decoration: none;
}

.rp-section a.btn-primary {
  color: #fff;
}

.rp-cta-card .cta-row {
  margin-top: 0;
}

.rp-steps {
  list-style: none;
  padding-left: 0;
  counter-reset: rp-step;
}

.rp-steps li {
  position: relative;
  padding-left: 2.6rem;
  counter-increment: rp-step;
}

.rp-steps li::before {
  content: counter(rp-step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}

.rp-contact-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.55rem;
}

.rp-contact-list li {
  padding: 0.7rem 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fbff;
}

.rp-cta-card {
  margin-top: 0.35rem;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 70%);
}

.rp-cta-card__title {
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: #111827;
}

.rp-cta-card__text {
  margin: 0 0 1rem;
  color: #64748b;
}

.rp-disclaimer {
  margin: 0.5rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid #93c5fd;
  background: #f8fbff;
  border-radius: 0 12px 12px 0;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .rp-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .rp-toc {
    position: static;
  }

  .rp-toc-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rp-hero {
    padding: 1.75rem 0 2rem;
  }

  .rp-section {
    padding: 1.35rem 1.15rem 1.4rem;
    border-radius: 14px;
  }

  .rp-toc-list {
    grid-template-columns: 1fr;
  }

  .rp-cta-card .cta-row {
    flex-direction: column;
  }

  .rp-cta-card .cta-row .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rp-toc-list a {
    transition: none;
  }
}
