.rgxyz-pbe {
  --rgxyz-brown: #823f0d;
  --rgxyz-brown-dark: #522606;
  --rgxyz-ink: #17202c;
  --rgxyz-muted: #4d5968;
  --rgxyz-mint: #11f5a0;
  --rgxyz-cream: #fff7e9;
  --rgxyz-line: #eadbcb;
  background:
    radial-gradient(circle at top left, rgba(17, 245, 160, 0.16), transparent 34rem),
    linear-gradient(135deg, #fffaf1 0%, #f8fbf7 100%);
  color: var(--rgxyz-ink);
  min-height: 70vh;
}

.rgxyz-pbe-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.rgxyz-pbe-hero,
.rgxyz-pbe-section {
  padding: 64px 0;
}

.rgxyz-pbe-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: center;
}

.rgxyz-pbe-kicker,
.rgxyz-pbe-card-number {
  color: #0b9667;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rgxyz-pbe h1 {
  max-width: 920px;
  margin: 0;
  color: #101820;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.95;
}

.rgxyz-pbe h2 {
  margin: 0 0 24px;
  color: #101820;
  font-size: clamp(2rem, 3vw, 3rem);
}

.rgxyz-pbe h3 {
  margin: 0 0 12px;
  color: var(--rgxyz-brown-dark);
  font-size: 1.35rem;
  line-height: 1.15;
}

.rgxyz-pbe-lead,
.rgxyz-pbe-lesson-head p,
.rgxyz-pbe-card p,
.rgxyz-pbe-note {
  color: var(--rgxyz-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.rgxyz-pbe-actions,
.rgxyz-pbe-lesson-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.rgxyz-pbe-button,
.rgxyz-pbe-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 2px solid var(--rgxyz-brown);
  border-radius: 999px;
  background: var(--rgxyz-brown);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.rgxyz-pbe-button:hover,
.rgxyz-pbe-card a:hover {
  background: var(--rgxyz-brown-dark);
  border-color: var(--rgxyz-brown-dark);
  color: #fff;
}

.rgxyz-pbe-button-secondary {
  background: transparent;
  color: var(--rgxyz-brown);
}

.rgxyz-pbe-button-secondary:hover {
  background: var(--rgxyz-cream);
  color: var(--rgxyz-brown-dark);
}

.rgxyz-pbe-summary,
.rgxyz-pbe-card {
  border: 1px solid var(--rgxyz-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 60px rgba(75, 42, 15, 0.08);
}

.rgxyz-pbe-summary {
  padding: 28px;
}

.rgxyz-pbe-summary strong,
.rgxyz-pbe-summary span {
  display: block;
}

.rgxyz-pbe-summary strong {
  margin-bottom: 14px;
  color: var(--rgxyz-brown-dark);
  font-size: 1.25rem;
}

.rgxyz-pbe-summary span {
  padding: 10px 0;
  border-top: 1px solid var(--rgxyz-line);
  color: var(--rgxyz-muted);
}

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

.rgxyz-pbe-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.rgxyz-pbe-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 26px;
}

.rgxyz-pbe-card p:not(.rgxyz-pbe-card-number) {
  flex: 1;
}

.rgxyz-pbe-card a {
  align-self: flex-start;
  min-height: 42px;
  margin-top: 12px;
  padding: 10px 18px;
}

.rgxyz-pbe-price-card {
  min-height: 340px;
}

.rgxyz-pbe-price-card-featured {
  border-color: rgba(17, 245, 160, 0.55);
  background:
    radial-gradient(circle at top right, rgba(17, 245, 160, 0.16), transparent 16rem),
    rgba(255, 255, 255, 0.94);
}

.rgxyz-pbe-price {
  margin: 8px 0 14px;
  color: var(--rgxyz-brown);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.rgxyz-pbe-disabled-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 42px;
  margin-top: 12px;
  padding: 10px 18px;
  border: 2px solid var(--rgxyz-line);
  border-radius: 999px;
  background: var(--rgxyz-cream);
  color: var(--rgxyz-muted);
  font-weight: 900;
}

.rgxyz-pbe-dashboard-card {
  --rgxyz-brown: #823f0d;
  --rgxyz-brown-dark: #522606;
  --rgxyz-ink: #17202c;
  --rgxyz-muted: #4d5968;
  --rgxyz-cream: #fff7e9;
  --rgxyz-line: #eadbcb;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin: 0 0 24px;
  padding: 26px;
  border: 1px solid rgba(117, 59, 14, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(17, 245, 160, 0.15), transparent 18rem),
    #fffaf1;
  box-shadow: 0 16px 42px rgba(75, 42, 15, 0.08);
}

.rgxyz-pbe-dashboard-card h2 {
  margin: 0 0 10px;
  color: var(--rgxyz-ink);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.rgxyz-pbe-dashboard-card p:not(.rgxyz-pbe-kicker) {
  max-width: 720px;
  margin: 0;
  color: var(--rgxyz-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.rgxyz-pbe-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.rgxyz-pbe-alert {
  margin: 0 0 26px;
  padding: 18px 22px;
  border-radius: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.rgxyz-pbe-alert-success {
  border: 1px solid rgba(17, 245, 160, 0.5);
  background: rgba(17, 245, 160, 0.14);
  color: #07563d;
}

.rgxyz-pbe-alert-error {
  border: 1px solid #efb7a7;
  background: #fff1ea;
  color: #7a260d;
}

.rgxyz-pbe-submission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.rgxyz-pbe-submission-card {
  min-height: 0;
}

.rgxyz-pbe-status {
  align-self: flex-start;
  margin: 0 0 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--rgxyz-cream);
  color: var(--rgxyz-brown-dark);
  font-size: 0.92rem;
  font-weight: 900;
}

.rgxyz-pbe-feedback-form {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.rgxyz-pbe-feedback-form label {
  display: grid;
  gap: 8px;
  color: var(--rgxyz-brown-dark);
  font-weight: 900;
}

.rgxyz-pbe-feedback-form input[type="file"],
.rgxyz-pbe-feedback-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--rgxyz-line);
  border-radius: 16px;
  background: #fff;
  color: var(--rgxyz-ink);
  font: inherit;
}

.rgxyz-pbe-feedback-form input[type="file"] {
  padding: 12px;
}

.rgxyz-pbe-feedback-form textarea {
  min-height: 110px;
  padding: 14px;
  resize: vertical;
}

.rgxyz-pbe-feedback-form button {
  justify-self: start;
  min-height: 46px;
  padding: 12px 20px;
  border: 2px solid var(--rgxyz-brown);
  border-radius: 999px;
  background: var(--rgxyz-brown);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.rgxyz-pbe-feedback-form button:hover {
  background: var(--rgxyz-brown-dark);
  border-color: var(--rgxyz-brown-dark);
}

.rgxyz-pbe-download-group {
  margin-top: 34px;
}

.rgxyz-pbe-download-group h2 {
  margin-bottom: 10px;
}

.rgxyz-pbe-download-note {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--rgxyz-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.rgxyz-pbe-feature-card {
  max-width: 620px;
  min-height: 0;
  border-color: rgba(17, 245, 160, 0.42);
  background:
    radial-gradient(circle at top right, rgba(17, 245, 160, 0.14), transparent 18rem),
    rgba(255, 255, 255, 0.92);
}

.rgxyz-pbe-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--rgxyz-muted);
  font-weight: 800;
}

.rgxyz-pbe-breadcrumb a {
  color: var(--rgxyz-brown);
}

.rgxyz-pbe-lesson-head {
  max-width: 880px;
  margin-bottom: 28px;
}

.rgxyz-pbe-video-shell {
  overflow: hidden;
  border: 1px solid var(--rgxyz-line);
  border-radius: 28px;
  background: #15110d;
  box-shadow: 0 28px 70px rgba(40, 20, 8, 0.22);
}

.rgxyz-pbe-video-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.rgxyz-pbe-locked {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.rgxyz-pbe-section-soft {
  background: rgba(255, 247, 233, 0.56);
}

.rgxyz-pbe-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: center;
}

@media (max-width: 920px) {
  .rgxyz-pbe-hero-grid,
  .rgxyz-pbe-grid,
  .rgxyz-pbe-pricing-grid,
  .rgxyz-pbe-dashboard-card,
  .rgxyz-pbe-submission-grid,
  .rgxyz-pbe-split {
    grid-template-columns: 1fr;
  }

  .rgxyz-pbe-dashboard-actions {
    justify-content: flex-start;
  }

  .rgxyz-pbe-hero,
  .rgxyz-pbe-section {
    padding: 44px 0;
  }
}

@media (max-width: 600px) {
  .rgxyz-pbe-wrap {
    padding: 0 16px;
  }

  .rgxyz-pbe h1 {
    font-size: 2.5rem;
  }

  .rgxyz-pbe-card,
  .rgxyz-pbe-summary {
    border-radius: 22px;
    padding: 22px;
  }

  .rgxyz-pbe-actions,
  .rgxyz-pbe-lesson-tools {
    flex-direction: column;
  }
}
