﻿:root {
  --rp-ink: #0C134F;
  --rp-muted: #4E556F;
  --rp-accent: #5C469C;
  --rp-accent-2: #1D267D;
  --rp-accent-3: #D4ADFC;
  --rp-bg: #F5F1FB;
  --rp-surface: #FFFFFF;
  --rp-line: #E2D8F3;
  --rp-shadow: 0 12px 28px rgba(12, 19, 79, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--rp-ink);
  background:
    radial-gradient(900px 360px at -8% -12%, rgba(92, 70, 156, 0.14), transparent 63%),
    radial-gradient(700px 320px at 108% -20%, rgba(29, 38, 125, 0.1), transparent 64%),
    var(--rp-bg);
}

h1, h2, h3 {
  font-family: "Times New Roman", Georgia, serif;
}

.rp-page {
  max-width: 1180px;
  margin: 18px auto 80px;
  padding: 0 16px;
  display: grid;
  gap: 36px;
}

.rp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  background: var(--rp-surface);
  border-radius: 18px;
  padding: 32px;
  border: 1px solid var(--rp-line);
  box-shadow: var(--rp-shadow);
  position: relative;
  overflow: hidden;
}

.rp-hero::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 173, 252, 0.6), transparent 65%);
  z-index: 0;
}

.rp-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  left: -70px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 70, 156, 0.25), transparent 65%);
  z-index: 0;
}

.rp-hero-copy,
.rp-hero-panel {
  position: relative;
  z-index: 1;
}

.rp-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--rp-accent-2);
}

.rp-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
}

.rp-hero p {
  margin: 12px 0 0;
  color: var(--rp-muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 520px;
}

.rp-hero-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.rp-btn.primary {
  background: linear-gradient(90deg, var(--rp-accent-2), var(--rp-accent));
  color: #fff;
  box-shadow: 0 10px 18px rgba(29, 38, 125, 0.2);
}

.rp-btn.ghost {
  border: 1px solid #CDBBEF;
  color: var(--rp-accent-2);
  background: #F8F4FF;
}

.rp-btn:hover {
  transform: translateY(-2px);
}

.rp-hero-meta {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rp-meta-card {
  border: 1px solid #E2D8F3;
  border-radius: 14px;
  padding: 12px 14px;
  background: #F8F4FF;
  box-shadow: 0 8px 16px rgba(12, 19, 79, 0.08);
}

.rp-meta-card strong {
  display: block;
  font-size: 14px;
}

.rp-meta-card span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--rp-muted);
}

.rp-hero-panel {
  background: #F1EEFF;
  border-radius: 18px;
  padding: 18px;
  color: var(--rp-ink);
  display: grid;
  gap: 18px;
  align-content: start;
  border: 1px solid #E6DFF4;
  box-shadow: 0 20px 34px rgba(12, 19, 79, 0.12);
  position: relative;
  overflow: hidden;
}

.rp-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(148deg, rgba(212, 173, 252, 0.2), rgba(29, 38, 125, 0.08));
  pointer-events: none;
}

.rp-panel-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rp-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #F8F4FF;
  border: 1px solid #D8C8F4;
  color: var(--rp-ink);
}

.rp-panel-art {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 16px;
  display: grid;
  place-items: center;
}

.rp-panel-art img {
  width: min(90%, 320px);
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(12, 19, 79, 0.2));
}

.rp-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #E2D8F3;
  padding-top: 12px;
  font-size: 13px;
}

.rp-panel-label {
  margin: 0;
  font-weight: 700;
}

.rp-panel-value {
  margin: 6px 0 0;
  color: #4E556F;
}

.rp-link {
  color: var(--rp-accent-2);
  text-decoration: none;
  font-weight: 600;
}

.rp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.rp-section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 3.5vw, 44px);
}

.rp-section-head p {
  margin: 0;
  max-width: 320px;
  color: var(--rp-muted);
  line-height: 1.6;
}

.rp-flow {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

.rp-flow-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  position: relative;
}

.rp-flow-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  position: relative;
  padding-left: 10px;
}

.rp-flow-item::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 40px;
  bottom: -14px;
  width: 2px;
  background: linear-gradient(180deg, rgba(92, 70, 156, 0.4), rgba(92, 70, 156, 0));
}

.rp-flow-item:last-child::before {
  display: none;
}

.rp-flow-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F1EEFF;
  border: 1px solid #D8C8F4;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--rp-accent-2);
  box-shadow: 0 6px 12px rgba(12, 19, 79, 0.08);
}

.rp-flow-item h3 {
  margin: 0;
  font-size: 18px;
  color: #141B2D;
}

.rp-flow-item p {
  margin: 6px 0 0;
  color: var(--rp-muted);
  line-height: 1.65;
  font-size: 14px;
}

.rp-cta {
  background: transparent;
}

.rp-cta-panel {
  border-radius: 18px;
  padding: 28px 30px;
  background: linear-gradient(140deg, rgba(212, 173, 252, 0.2), rgba(92, 70, 156, 0.08));
  border: 1px solid #E2D8F3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.rp-cta-panel h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3vw, 40px);
}

.rp-cta-panel p {
  margin: 10px 0 0;
  color: var(--rp-muted);
}

.rp-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.anim-top {
  transform: translateY(-20px);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .rp-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .rp-section-head p {
    max-width: none;
  }

  .rp-cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .rp-page {
    gap: 22px;
  }

  .rp-hero {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .rp-btn {
    transition: none;
  }
}
