
/* ── TOKENS ── */
:root {
  --bg-dark:       hsl(140, 22%, 5%);
  --bg-mid:        hsl(140, 18%, 8%);
  --bg-card:       hsl(140, 16%, 10%);
  --bg-card-hover: hsl(140, 16%, 13%);

  --cream:         #f8f4ed;
  --cream-dark:    #f0ebe0;
  --cream-card:    #ffffff;
  --cream-border:  #e4ddd0;

  --sage-dark:    hsl(145, 28%, 22%);
  --sage:         hsl(145, 32%, 32%);
  --sage-light:   hsl(145, 42%, 38%);
  --sage-glow:    hsl(145, 60%, 45%);

  --gold-dark:    hsl(40, 48%, 36%);
  --gold:         hsl(40, 54%, 46%);
  --gold-light:   hsl(40, 62%, 56%);

  --text-white:   hsl(60, 20%, 95%);
  --text-dark:    hsl(140, 18%, 14%);
  --text-mid:     hsl(140, 10%, 30%);
  --text-soft:    hsl(140, 6%, 48%);

  --border:       hsla(145, 30%, 30%, 0.18);
  --border-cream: #ddd6c8;
  --border-gold:  hsla(40, 54%, 46%, 0.35);

  --radius:    14px;
  --radius-sm: 8px;
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

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

.return-page {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.75;
  min-height: 100vh;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.rp-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage-dark) 0%, #1d3d2a 100%);
  padding: 90px 24px 80px;
  text-align: center;
  border-bottom: 3px solid var(--sage-dark);
}
.rp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, hsla(145,60%,30%,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 80%, hsla(40,54%,52%,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.rp-hero-leaf {
  position: absolute;
  font-size: 2.4rem;
  opacity: 0.13;
  pointer-events: none;
  animation: leafFloat 8s ease-in-out infinite;
}
.rp-hero-leaf:nth-child(1) { top: 14%; left: 6%;    animation-delay: 0s;   font-size: 1.8rem; }
.rp-hero-leaf:nth-child(2) { top: 25%; right: 8%;   animation-delay: 2.3s; font-size: 3rem; }
.rp-hero-leaf:nth-child(3) { bottom: 18%; left: 12%; animation-delay: 4s;  font-size: 2rem; }
.rp-hero-leaf:nth-child(4) { bottom: 20%; right: 5%; animation-delay: 1.5s;font-size: 1.6rem; }

@keyframes leafFloat {
  0%,100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-14px) rotate(6deg); }
}

.rp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: hsla(145,40%,20%,0.55);
  border: 1px solid hsla(145,40%,40%,0.35);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(145,55%,68%);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.rp-pill-dot {
  width: 7px; height: 7px;
  background: hsl(145,60%,55%);
  border-radius: 50%;
  box-shadow: 0 0 8px hsl(145,60%,55%);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.7); }
}

.rp-hero h1 {
  font-family: 'Georgia', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--text-white);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.rp-hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.rp-hero-meta {
  font-size: 0.82rem;
  color: hsla(60,10%,80%,0.65);
  letter-spacing: 0.05em;
}
.rp-hero-meta span {
  color: hsl(145,50%,55%);
  margin: 0 8px;
}

/* ── Quick Promise Strip ── */
.rp-promise-strip {
  background: var(--sage-dark);
  border-bottom: 1px solid hsla(145,30%,30%,0.4);
  padding: 18px 24px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.rp-promise-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  color: hsl(145,45%,68%);
  letter-spacing: 0.04em;
}
.rp-promise-item span:first-child { font-size: 1.1rem; }

/* ═══════════════════════════════════════════
   BODY
═══════════════════════════════════════════ */
.rp-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

/* ── Last Updated ── */
.rp-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: hsla(40,54%,46%,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.78rem;
  color: var(--gold-dark);
  margin-bottom: 40px;
}
.rp-updated svg {
  width: 14px; height: 14px;
  fill: var(--gold-dark);
  opacity: 0.8;
}

/* ── Table of Contents ── */
.rp-toc {
  background: var(--cream-card);
  border: 1px solid var(--border-cream);
  border-left: 4px solid var(--sage-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 44px;
  box-shadow: 0 2px 12px hsla(140,20%,10%,0.07);
}
.rp-toc-title {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-light);
  font-family: 'Georgia', serif;
  margin-bottom: 14px;
  font-weight: 700;
}
.rp-toc ol {
  padding-left: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}
@media (max-width: 540px) {
  .rp-toc ol { grid-template-columns: 1fr; }
}
.rp-toc ol li { font-size: 0.88rem; }
.rp-toc ol li a {
  color: var(--text-mid);
  text-decoration: none;
  transition: color var(--transition);
}
.rp-toc ol li a:hover { color: var(--sage-light); }

/* ── Callout ── */
.rp-callout {
  background: linear-gradient(135deg, hsla(145,30%,20%,0.06) 0%, hsla(40,54%,46%,0.05) 100%);
  border: 1px solid var(--border-cream);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin: 32px 0;
  font-style: italic;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.72;
}

/* ── Divider ── */
.rp-divider {
  text-align: center;
  margin: 40px 0;
  position: relative;
}
.rp-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--border-cream);
}
.rp-divider span {
  position: relative;
  background: var(--cream);
  padding: 0 16px;
  font-size: 1.1rem;
}

/* ── Section ── */
.rp-section {
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--border-cream);
}
.rp-section:last-of-type { border-bottom: none; }

.rp-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.rp-section-num {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--sage-light);
  font-weight: 700;
  text-transform: uppercase;
  min-width: 28px;
}
.rp-section h2 {
  font-family: 'Georgia', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  flex: 1;
}
.rp-section h2 em {
  font-style: italic;
  color: var(--sage-light);
}
.rp-section-icon {
  font-size: 1.5rem;
  opacity: 0.7;
}
.rp-section p {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* ── List ── */
.rp-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rp-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-mid);
  font-size: 0.95rem;
}
.rp-list li::before {
  content: '🌿';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.75rem;
}
.rp-list li strong { color: var(--text-dark); }

/* ── Timeline (Steps) ── */
.rp-timeline {
  position: relative;
  padding-left: 36px;
  margin: 28px 0;
}
.rp-timeline::before {
  content: '';
  position: absolute;
  left: 13px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--sage-light), var(--gold));
  border-radius: 2px;
}
.rp-timeline-step {
  position: relative;
  margin-bottom: 28px;
}
.rp-timeline-step:last-child { margin-bottom: 0; }
.rp-timeline-step::before {
  content: attr(data-step);
  position: absolute;
  left: -36px;
  top: 2px;
  width: 26px; height: 26px;
  background: var(--sage-light);
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Georgia', serif;
}
.rp-timeline-step-title {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.92rem;
  margin-bottom: 5px;
}
.rp-timeline-step p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0;
}

/* ── Info grid ── */
.rp-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.rp-info-box {
  background: var(--cream-card);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 2px 10px hsla(140,20%,10%,0.06);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.rp-info-box:hover {
  box-shadow: 0 6px 22px hsla(140,20%,10%,0.11);
  border-color: hsla(145,40%,35%,0.3);
  transform: translateY(-2px);
}
.rp-info-box-icon { font-size: 1.6rem; margin-bottom: 10px; }
.rp-info-box-title {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-bottom: 7px;
}
.rp-info-box p {
  font-size: 0.83rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.6;
}

/* ── Alert box ── */
.rp-alert {
  background: hsla(0, 60%, 50%, 0.06);
  border: 1px solid hsla(0, 60%, 50%, 0.2);
  border-left: 4px solid hsl(0, 60%, 55%);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 22px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: hsl(0, 40%, 38%);
}
.rp-alert-icon { font-size: 1.2rem; }

/* ── Table ── */
.rp-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px hsla(140,20%,10%,0.07);
}
.rp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cream-card);
  font-size: 0.88rem;
}
.rp-table thead tr {
  background: var(--sage-dark);
  color: hsl(145,50%,75%);
}
.rp-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  text-transform: uppercase;
  border: none;
}
.rp-table tbody tr {
  border-bottom: 1px solid var(--border-cream);
  transition: background var(--transition);
}
.rp-table tbody tr:last-child { border-bottom: none; }
.rp-table tbody tr:hover { background: var(--cream-dark); }
.rp-table tbody td {
  padding: 12px 18px;
  color: var(--text-mid);
  vertical-align: top;
}
.rp-table tbody td:first-child { color: var(--text-dark); font-weight: 600; }
.rp-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.rp-badge-green { background: hsla(145,40%,35%,0.14); color: var(--sage); }
.rp-badge-gold  { background: hsla(40,54%,46%,0.14); color: var(--gold-dark); }
.rp-badge-red   { background: hsla(0,60%,50%,0.1); color: hsl(0,48%,42%); }

/* ── Contact block ── */
.rp-contact-block {
  background: linear-gradient(135deg, var(--sage-dark) 0%, #1d3d2a 100%);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}
.rp-contact-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, hsla(145,60%,30%,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.rp-contact-block h3 {
  font-family: 'Georgia', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--text-white);
  margin-bottom: 14px;
  position: relative;
}
.rp-contact-block h3 em {
  font-style: italic;
  color: var(--gold-light);
}
.rp-contact-block p {
  color: hsla(60,10%,85%,0.72);
  font-size: 0.92rem;
  max-width: 460px;
  margin: 0 auto 28px;
  position: relative;
}
.rp-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--sage-dark), var(--sage));
  color: var(--text-white);
  text-decoration: none;
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  border: 1px solid hsla(145,40%,45%,0.45);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.rp-contact-btn:hover {
  background: linear-gradient(135deg, var(--sage), var(--sage-light));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px hsla(145,50%,15%,0.55);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .rp-hero { padding: 64px 18px 56px; }
  .rp-promise-strip { gap: 20px; }
  .rp-body { padding: 36px 16px 64px; }
  .rp-toc { padding: 20px 18px; }
  .rp-section-header { flex-wrap: wrap; }
  .rp-contact-block { padding: 36px 20px; }
  .rp-table tbody td, .rp-table thead th { padding: 10px 12px; }
}