.cf-original-growth-hidden {
  display: none !important;
}

.cf-billing-cadence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(4, 2, 10, 0.42);
}

.cf-billing-cadence button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #cfc7d9;
  background: transparent;
  font: 800 13px/1.2 inherit;
  cursor: pointer;
}

.cf-billing-cadence button strong {
  display: block;
  margin-top: 3px;
  color: #b7ff45;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cf-billing-cadence button.is-active {
  color: #fff;
  border-color: #ff2fd1;
  background: linear-gradient(135deg, rgba(255, 47, 209, 0.2), rgba(137, 70, 255, 0.22));
  box-shadow: 0 0 24px rgba(255, 47, 209, 0.14);
}

.cf-billing-note,
.cf-tax-note {
  margin: 12px 0 0;
  color: #bdb4c9;
  font-size: 12px;
  line-height: 1.55;
}

.cf-tax-note {
  color: #8f879a;
}

.cf-ribbon-stack {
  width: 100%;
  padding: 24px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #09080c;
}

.cf-ribbon-section {
  --cf-pad: clamp(20px, 4vw, 72px);
  position: relative;
  padding: 34px 0 18px;
  overflow: hidden;
}

.cf-ribbon-section + .cf-ribbon-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cf-ribbon-section > header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  gap: 28px;
  align-items: end;
  padding: 0 var(--cf-pad) 18px;
}

.cf-ribbon-section > header span {
  color: #b7ff45;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.cf-ribbon-section > header h2 {
  margin: 7px 0 0;
  color: #fff;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 0.98;
}

.cf-ribbon-section > header p,
.cf-ribbon-disclosure {
  color: #a99faf;
  font-size: 13px;
  line-height: 1.55;
}

.cf-ribbon-shell {
  position: relative;
}

.cf-ribbon-shell::before,
.cf-ribbon-shell::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 10px;
  width: min(68px, 8vw);
  pointer-events: none;
}

.cf-ribbon-shell::before {
  left: 0;
  background: linear-gradient(90deg, #09080c, transparent);
}

.cf-ribbon-shell::after {
  right: 0;
  background: linear-gradient(-90deg, #09080c, transparent);
}

.cf-ribbon-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 30vw, 420px);
  gap: 12px;
  overflow-x: auto;
  padding: 4px var(--cf-pad) 14px;
  scroll-padding-inline: var(--cf-pad);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #7c3cff #17121e;
  cursor: grab;
}

.cf-ribbon-rail:focus-visible {
  outline: 2px solid #55ebcf;
  outline-offset: -2px;
}

.cf-ribbon-rail.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.cf-ribbon-card {
  --cf-card-image: linear-gradient(135deg, rgba(255, 47, 209, 0.28), rgba(83, 221, 255, 0.2));
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 24px;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cf-accent) 58%, transparent);
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, #15101b, #0b0910);
  text-decoration: none;
  scroll-snap-align: start;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 12px 34px rgba(0, 0, 0, 0.24);
}

.cf-ribbon-card:hover,
.cf-ribbon-card:focus-visible {
  border-color: var(--cf-accent);
  box-shadow: 0 0 25px color-mix(in srgb, var(--cf-accent) 20%, transparent);
  transform: translateY(-2px);
}

.cf-ribbon-card:focus-visible {
  outline: 2px solid var(--cf-accent);
  outline-offset: 2px;
}

.cf-ribbon-card.is-placeholder {
  opacity: 0.72;
  cursor: default;
}

.cf-ribbon-art {
  min-height: 100%;
  background-image: linear-gradient(180deg, transparent 45%, rgba(7, 5, 11, 0.76)), var(--cf-card-image);
  background-position: center;
  background-size: cover;
}

.cf-ribbon-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 18px 14px;
}

.cf-ribbon-copy small {
  color: var(--cf-accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.cf-ribbon-copy strong {
  font-size: 18px;
  line-height: 1.05;
}

.cf-ribbon-copy em {
  color: #b9afc2;
  font-size: 11px;
  font-style: normal;
  line-height: 1.45;
}

.cf-ribbon-arrow {
  align-self: center;
  color: var(--cf-accent);
  font-size: 21px;
  font-weight: 900;
}

.cf-ribbon-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 38px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #fff;
  background: rgba(9, 8, 12, 0.88);
  backdrop-filter: blur(14px);
  transform: translateY(-50%);
  cursor: pointer;
}

.cf-ribbon-control:hover,
.cf-ribbon-control:focus-visible {
  border-color: #55ebcf;
  color: #55ebcf;
}

.cf-ribbon-prev {
  left: 10px;
}

.cf-ribbon-next {
  right: 10px;
}

.cf-ribbon-disclosure {
  display: block;
  padding: 2px var(--cf-pad) 0;
  font-size: 10px;
}

@media (max-width: 760px) {
  .cf-billing-cadence,
  .cf-ribbon-section > header {
    grid-template-columns: 1fr;
  }

  .cf-billing-cadence button {
    min-height: 44px;
    font-size: 11px;
  }

  .cf-ribbon-section {
    --cf-pad: 16px;
  }

  .cf-ribbon-section > header {
    gap: 10px;
  }

  .cf-ribbon-rail {
    grid-auto-columns: min(84vw, 340px);
  }

  .cf-ribbon-card {
    grid-template-columns: 92px minmax(0, 1fr) 18px;
    min-height: 136px;
  }

  .cf-ribbon-control {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .cf-ribbon-card {
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  }
}
