.rrm-subscription {
  margin: -8px -4px 16px;
  color: #45346f;
}
.rrm-checkout {
  display: grid;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.rrm-checkout__step {
  min-width: 0;
  margin: 0;
  padding: 22px;
  border: 1px solid #e3ddef;
  border-radius: 18px;
  background: #fff;
}
.rrm-checkout__step[hidden], .rrm-checkout__step [hidden] { display: none; }
.rrm-checkout__step legend { padding: 0 8px; font-size: 18px; font-weight: 700; }
.rrm-checkout__option { display: flex; align-items: center; gap: 10px; margin: 10px 0; padding: 14px; border: 1px solid #e3ddef; border-radius: 12px; cursor: pointer; }
.rrm-checkout__option:has(input:checked) { border-color: #6d4bb2; background: #f7f3ff; }
.rrm-checkout__option:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.rrm-checkout__option input { width: 18px; height: 18px; flex: none; }
.rrm-checkout__step h3 { margin: 0 0 12px; }
@media (max-width: 480px) { .rrm-checkout__step { padding: 16px; } .rrm-checkout__option { padding: 12px; } }
.rrm-subscription__hero {
  text-align: center;
  padding: 18px 12px 38px;
}
.rrm-subscription__eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: #6d4bb2;
  font:
    700 12px/1.3 var(--rr-font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rrm-subscription__hero h2 {
  font-size: clamp(38px, 6vw, 64px);
}
.rrm-subscription__hero p {
  max-width: 650px;
  margin: 18px auto 0;
  color: #716887;
  font-size: 18px;
}
.rrm-subscription__plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.rrm-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 650px;
  padding: 34px;
  border: 1px solid #e3ddef;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(69, 52, 111, 0.1);
}
.rrm-plan--featured {
  border: 2px solid #6d4bb2;
  background: linear-gradient(180deg, #faf7ff 0, #fff 42%);
}
.rrm-plan__flag {
  position: absolute;
  top: -14px;
  right: 24px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f28f52;
  color: #fff;
  font:
    700 12px/1 var(--rr-font);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.rrm-plan h3 {
  font-size: 32px;
}
.rrm-plan__period {
  margin: 7px 0 24px;
  color: #716887;
}
.rrm-plan__price {
  display: flex;
  min-height: 105px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 20px;
}
.rrm-plan__price del {
  color: #8d849b;
  font:
    700 18px/1.3 var(--rr-font);
}
.rrm-plan__price strong {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}
.rrm-plan__price span {
  margin-top: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff1b9;
  color: #744b00;
  font:
    700 13px/1.2 var(--rr-font);
}
.rrm-plan ul {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: #5f5577;
}
.rrm-plan li {
  position: relative;
  padding-left: 25px;
}
.rrm-plan li:before {
  position: absolute;
  left: 0;
  content: "✓";
  color: #6d4bb2;
  font-weight: 700;
}
.rrm-plan__form {
  margin-top: 0;
}
.rrm-plan__form--recurring {
  margin-top: auto;
}
.rrm-plan__consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 12px;
  color: #5f5577;
  font: 600 12px/1.45 var(--rr-font);
  cursor: pointer;
}
.rrm-plan__consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  border-radius: 6px;
}
.rrm-plan__recurring-unavailable {
  margin: auto 0 12px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #f5f2f9;
  color: #716887;
  font: 600 12px/1.45 var(--rr-font);
}
.rrm-plan__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: auto;
  padding: 14px 20px;
  border: 0;
  border-radius: 15px;
  background: #6d4bb2;
  color: #fff;
  font:
    700 15px/1.2 var(--rr-font);
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(109, 75, 178, 0.24);
}
.rrm-plan__button:hover {
  background: #5b3c9e;
  color: #fff;
}
.rrm-plan__button--secondary {
  margin-top: 10px;
  border: 1px solid #cfc4e5;
  background: #fff;
  color: #5b3c9e;
  box-shadow: none;
}
.rrm-plan__button--secondary:hover {
  border-color: #6d4bb2;
  background: #f7f3ff;
  color: #45346f;
}
.rrm-plan__button--disabled {
  background: #eeebf3;
  color: #837a91;
  box-shadow: none;
  cursor: not-allowed;
}
.rrm-plan__register {
  display: block;
  margin-top: 12px;
  text-align: center;
  color: #6d4bb2;
  font-weight: 700;
  text-decoration: underline;
}
.rrm-subscription__fineprint {
  margin: 24px 0 0;
  text-align: center;
  color: #716887;
  font-size: 14px;
}
.rrm-subscription__notice,
.rrm-subscription__status {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 0 24px;
  padding: 16px 20px;
  border-radius: 16px;
}
.rrm-subscription__notice--success,
.rrm-subscription__status {
  border: 1px solid #b7ddc0;
  background: #edf9ef;
  color: #275f35;
}
.rrm-subscription__notice--error {
  border: 1px solid #efc3bd;
  background: #fff2ef;
  color: #8d3326;
}
.rrm-subscription__status--expired {
  border: 1px solid #e9d3a9;
  background: #fff8e8;
  color: #755221;
}
.rrm-subscription__cancel {
  margin-top: 9px;
}
.rrm-subscription__cancel summary {
  width: fit-content;
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
}
.rrm-subscription__cancel summary:focus-visible,
.rrm-subscription__cancel button:focus-visible,
.rrm-account a:focus-visible {
  outline: 3px solid #6d4bb2;
  outline-offset: 3px;
}
.rrm-subscription__cancel p {
  margin: 10px 0;
}
.rrm-subscription__cancel button {
  padding: 8px 13px;
  border: 1px solid currentColor;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: 700 12px/1.2 var(--rr-font);
  cursor: pointer;
}
.rrm-subscription__cancel button:hover {
  background: rgba(255, 255, 255, 0.58);
}
.rrm-account {
  max-width: 720px;
  margin: 0 auto 28px;
  color: #45346f;
}
.rrm-account__identity {
  overflow-wrap: anywhere;
  color: #716887;
}
.rrm-account h2 {
  margin: 20px 0;
}
.rrm-account__action {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 12px;
  background: #6d4bb2;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.rrm-account__action:hover {
  background: #5b3c9e;
  color: #fff;
}
@media (max-width: 720px) {
  .rrm-subscription, .rrm-checkout { scroll-margin-top: 12px; }
  .rrm-subscription__hero {
    padding: 8px 0 16px;
  }
  .rrm-subscription__hero h2 { font-size: 28px; }
  .rrm-subscription__eyebrow { margin-bottom: 6px; }
  .rrm-checkout { gap: 10px; }
  .rrm-checkout__step { padding: 10px 12px; border-radius: 12px; }
  .rrm-checkout__step legend { font-size: 16px; }
  .rrm-checkout fieldset.rrm-checkout__step { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rrm-checkout__option { margin: 6px 0; padding: 10px; font-size: 16px; }
  .rrm-checkout fieldset .rrm-checkout__option { margin: 0; padding: 9px 6px; gap: 6px; font-size: 14px; }
  .rrm-checkout__step h3 { font-size: 18px; margin-bottom: 6px; }
  .rrm-checkout__step [data-rrm-summary] { margin: 0 0 10px; font-size: 14px; }
  .rrm-checkout__step .rrm-plan__button { min-height: 46px; padding: 12px; font-size: 17px; }
  .rrm-subscription__hero p {
    font-size: 16px;
  }
  .rrm-subscription__plans {
    grid-template-columns: 1fr;
  }
  .rrm-plan {
    min-height: 0;
    padding: 28px 22px;
    border-radius: 22px;
  }
}
