/* Public Refund Policy — matches contact / site navy system */

.rp-page {
  background: #f5f7fa;
  color: var(--navy, #0f1b2d);
}

.rp-hero {
  padding: 40px 20px 32px;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(15, 27, 45, 0.06), transparent 55%),
    #fff;
  border-bottom: 1px solid #e6ebf2;
}

.rp-hero__inner {
  max-width: 860px;
  margin: 0 auto;
}

.rp-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 13px;
  color: #64748b;
}

.rp-crumbs a {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
}

.rp-crumbs a:hover {
  color: var(--navy, #0f1b2d);
  text-decoration: underline;
}

.rp-crumbs a:focus-visible,
.rp-toc__nav a:focus-visible,
.rp-btn:focus-visible,
.rp-card a:focus-visible {
  outline: 2px solid #94a3b8;
  outline-offset: 2px;
}

.rp-crumbs__sep {
  color: #94a3b8;
}

.rp-hero__badge {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy, #0f1b2d);
  background: #eef2f7;
  border: 1px solid #dfe6ef;
}

.rp-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rp-hero__lead {
  margin: 0 0 12px;
  max-width: 640px;
  color: #5b6b7f;
  font-size: 15px;
  line-height: 1.55;
}

.rp-hero__meta {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.rp-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 48px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.rp-toc {
  position: sticky;
  top: 88px;
}

.rp-toc__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.rp-toc__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.rp-toc__nav a {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.rp-toc__nav a:hover {
  background: #eef2f7;
  color: var(--navy, #0f1b2d);
}

.rp-toc__mobile {
  display: none;
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 12px;
  padding: 10px 12px;
}

.rp-toc__mobile summary {
  cursor: pointer;
  font-weight: 750;
  font-size: 14px;
  list-style: none;
}

.rp-toc__mobile summary::-webkit-details-marker {
  display: none;
}

.rp-toc__mobile[open] .rp-toc__nav {
  margin-top: 10px;
}

.rp-main {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.rp-summary,
.rp-card,
.rp-guide,
.rp-faq,
.rp-cta {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.03);
}

.rp-summary {
  border-color: #d7e0ec;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.rp-summary__title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 800;
}

.rp-summary__list {
  margin: 0;
  padding-left: 1.15rem;
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
  display: grid;
  gap: 8px;
}

.rp-card h2,
.rp-guide h2,
.rp-faq h2,
.rp-cta h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  scroll-margin-top: 96px;
}

.rp-card p,
.rp-guide__intro,
.rp-cta p,
.rp-faq__header p {
  margin: 0 0 12px;
  color: #5b6b7f;
  font-size: 14.5px;
  line-height: 1.6;
}

.rp-card p:last-child,
.rp-card ul:last-child,
.rp-card ol:last-child {
  margin-bottom: 0;
}

.rp-card ul,
.rp-card ol {
  margin: 0 0 12px;
  padding-left: 1.2rem;
  color: #334155;
  font-size: 14.5px;
  line-height: 1.55;
  display: grid;
  gap: 8px;
}

.rp-card a {
  color: var(--navy, #0f1b2d);
  font-weight: 700;
}

.rp-steps {
  counter-reset: rp-step;
  list-style: none;
  padding-left: 0;
}

.rp-steps li {
  position: relative;
  padding-left: 36px;
}

.rp-steps li::before {
  counter-increment: rp-step;
  content: counter(rp-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #eef2f7;
  color: var(--navy, #0f1b2d);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rp-guide__intro {
  margin-bottom: 16px;
}

.rp-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
}

.rp-guide-cards {
  display: none;
  gap: 10px;
}

.rp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 13.5px;
}

.rp-table th,
.rp-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #eef2f7;
}

.rp-table th {
  background: #f8fafc;
  font-weight: 750;
  color: var(--navy, #0f1b2d);
}

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

.rp-guide-card {
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 14px;
  background: #f8fafc;
}

.rp-guide-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
}

.rp-guide-card p {
  margin: 0 0 6px;
  font-size: 13px;
  color: #5b6b7f;
  line-height: 1.45;
}

.rp-guide-card p:last-child {
  margin-bottom: 0;
}

.rp-faq__header {
  margin-bottom: 8px;
}

.rp-faq__list {
  display: grid;
  gap: 10px;
}

.rp-faq .faq-item {
  margin: 0;
  background: #f8fafc;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  overflow: hidden;
}

.rp-faq .faq-item__trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.rp-faq .faq-item__question {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
}

.rp-faq .faq-item__content {
  padding: 0 14px 14px;
}

.rp-faq .faq-item__content p {
  margin: 0;
  color: #5b6b7f;
  font-size: 14px;
  line-height: 1.55;
}

.rp-cta {
  text-align: center;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(15, 27, 45, 0.05), transparent 60%),
    #fff;
}

.rp-cta p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.rp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.rp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid transparent;
}

.rp-btn--primary {
  background: var(--navy, #0f1b2d);
  color: #fff;
}

.rp-btn--primary:hover {
  background: var(--navy-deep, #0a1422);
}

.rp-btn--ghost {
  background: #fff;
  color: var(--navy, #0f1b2d);
  border-color: #d7dee8;
}

.rp-btn--ghost:hover {
  background: #f8fafc;
}

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

.rp-highlight {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.03);
}

.rp-highlight__label {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--navy, #0f1b2d);
  background: #eef2f7;
  border: 1px solid #dfe6ef;
}

.rp-highlight p {
  margin: 0;
  color: #5b6b7f;
  font-size: 13.5px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .rp-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rp-toc {
    position: static;
  }

  .rp-toc__desktop {
    display: none;
  }

  .rp-toc__mobile {
    display: block;
  }

  .rp-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .rp-hero {
    padding: 28px 16px 24px;
  }

  .rp-shell {
    padding: 20px 16px 40px;
  }

  .rp-summary,
  .rp-card,
  .rp-guide,
  .rp-faq,
  .rp-cta {
    padding: 16px;
  }

  .rp-table-wrap {
    display: none;
  }

  .rp-guide-cards {
    display: grid;
  }

  .rp-cta__actions {
    flex-direction: column;
  }

  .rp-btn {
    width: 100%;
  }
}
